<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Hi Thibault,</div><div class=""><br class=""></div> I guess what you want is that each sphere have a single uniform color, but buried spheres are darker. The example image you provide mostly achieves that but I can still see darkness variation over a single sphere, especially on the buried spheres.<div class=""><br class=""></div><div class=""> ChimeraX cannot cast ambient occlusion shadows and at the same time color each atom sphere a single color. The shadowing varies across the surface of each sphere and that is what makes it look 3-dimensional. That said some tricks can at least make the shadowed lighting flatter. These commands combined </div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>light flat</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>light multishadow 128 msDepth .1 ambientIntensity 3</div><div class=""><br class=""></div><div class="">produce a relatively flat look as in the attached image. It uses two tricks. First "msDepth .1" means don't have close spheres occlude each other (closer than 10% of molecule size). Then the "ambientIntensity 3" makes the colors very bright so they are saturated at maximum brightness on the surface of the molecule. That trick will only work nicely for colors red, green, blue, cyan, magenta, white because with those colors the red,green,blue color components saturate (achieve maximum brightness) at the same illumination level. Other colors will show color variation as they saturate.</div><div class=""><br class=""></div><div class=""> If you really wanted to work hard you could get a flat ambient occlusion by figuring out somehow the brightness for every atom and assigning it a suitably bright color, instead of using the builtin lighting. This is sometimes called "baked-in" lighting since it really is just setting the color of each atom to a suitable darkness. Figuring out which atoms are buried and should be dark is the hard part. The ChimeraX graphics code can't do that in any easy way because it is being done at a per-pixel level, not a per-sphere level.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tom</div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="1E6F0253-401F-45A8-A377-01C75DD6B058" width="503" height="476" src="cid:22BD4E00-F79E-4DAD-BB01-1F1F22D2B509" class=""><br class=""><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On May 26, 2022, at 1:43 PM, Elaine Meng via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.edu" class="">chimerax-users@cgl.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Thibault,<div class="">I haven't been able to come up with a combination of ChimeraX settings to make an image like that. </div><div class=""><br class=""></div><div class="">Starting from flat (first image attached), as soon as I turn on multishadows (light multishadow 128), it looks 3D, not flat (second image attached). </div><div class=""><br class=""></div><div class="">So I also tried instead using depth-cueing (light depthcuestart 0.1 depthcueend .75 depthcuecolor black depthcue true -> third image attached), but that doesn't achieve a similar appearance either. </div><div class=""><br class=""></div><div class="">Maybe someone else can come up with how to make an image similar to yours, but as far as I can tell, it may not be possible.</div><div class="">Best,</div><div class="">Elaine<br class=""><div class="">-----<br class="">Elaine C. Meng, Ph.D.<br class="">UCSF Chimera(X) team<br class="">Department of Pharmaceutical Chemistry<br class="">University of California, San Francisco<br class=""></div><br class=""><blockquote type="cite" class="">On May 26, 2022, at 10:44 AM, Thibault TUBIANA via ChimeraX-users <<a href="mailto:chimerax-users@cgl.ucsf.edu" class="">chimerax-users@cgl.ucsf.edu</a>> wrote:<br class=""><br class="">Dear Chimera X community and developpers :) <br class=""><br class="">I would like to create a flat representation for a protein but with ambiant occlusion, a little bit like on the example joined (made with <a href="https://3dproteinimaging.com/" class="">https://3dproteinimaging.com</a>).<br class="">Is it something that it is possible with ChimeraX ? I've been playing with the shaddows but the "flat effect" is disappearing then :/ <br class=""><br class="">Thank you :) <br class="">Thibault.<br class=""></blockquote><span id="cid:BC29392C-6049-4F36-9A73-633E5E38898D@cgl.ucsf.edu"><flat.png></span><span id="cid:98CA2C56-10A6-4598-85EF-2D741EDD1A4F@cgl.ucsf.edu"><multishadow128.png></span><span id="cid:FC04C985-0D13-4A15-B804-5CF9132196A2@cgl.ucsf.edu"><depthcue.png></span></div></div>_______________________________________________<br class="">ChimeraX-users mailing list<br class=""><a href="mailto:ChimeraX-users@cgl.ucsf.edu" class="">ChimeraX-users@cgl.ucsf.edu</a><br class="">Manage subscription:<br class="">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users<br class=""></div></blockquote></div><br class=""></div></div></body></html>