[chimerax-users] Soft lighting changes when additional model is displayed
Gabor PAPAI
papai at igbmc.fr
Mon Oct 14 01:18:04 PDT 2019
Dear Tom,
The second model was a very long DNA (around 1000 Å). I guess the scene size changed how the shadows are cast. Cropping the DNA helps, but I try to set up a large scene. I tried to increase the msMapSize this does not help. However when I lowered the msDepthBias from the default 0.01 to 0.001, the shadowing became close to the appearance of the first model alone.
Best regards,
Gabor
---
Gabor Papai
IGBMC
Integrated Structural Biology
1, rue Laurent Fries, Bp 10142
67404 Illkirch, France
Tel: +33-3-69485288
On 11 Oct 2019, at 19:12 , Tom Goddard <goddard at sonic.net<mailto:goddard at sonic.net>> wrote:
Hi Gabor,
The soft lighting is supposed to look as if shadows are cast from all directions, so you would not expect it to change when a second model is opened (except to the extent that the second model shadows the first). But that is the ideal situation and approximations have to be made to compute the lighting fast enough and I am pretty sure those approximations are causing your problem. Take a look at the lighting command and try increasing the msMapSize (multi-shadow depth map size) from 1024 to a larger value like 2048 and see if that makes shadows darker. This parameter will effect shadow appearance as the size of the scene changes. Basically it effects the granularity of the shadows -- how large a crevice in your molecule needs to be before it appears darker due to shadows. Other multi-shadow lighting parameters "multiShadow" (number of directions to cast shadows from (default 64) and msDepthBias (avoids self-shadowing, default 0.01 times scene size).
I have a meeting now so I cannot experiment with this. Tell us if you find something that works.
Tom
On Oct 11, 2019, at 1:57 AM, Gabor PAPAI <papai at igbmc.fr<mailto:papai at igbmc.fr>> wrote:
Dear ChimeraX team,
If I open a second model in ChimeraX (0.91) the ambient occlusion in soft lighting mode on the first model disappears or becomes diminished. How can I revert this effect? I attach an image to illustrate this phenomenon. The only change between the two displays that I opened a model of DNA and placed close to the first model.
Best regards,
Gabor
<lighting_change.png>
---
Gabor Papai
IGBMC
Integrated Structural Biology
1, rue Laurent Fries, Bp 10142
67404 Illkirch, France
Tel: +33-3-69485288
_______________________________________________
ChimeraX-users mailing list
ChimeraX-users at cgl.ucsf.edu<mailto:ChimeraX-users at cgl.ucsf.edu>
Manage subscription:
http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20191014/9731222a/attachment.html>
More information about the ChimeraX-users
mailing list