<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi Scott,<div><br></div><div>  I made a ChimeraX recipe web page to show this transparency and shadows trick.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">   </span><a href="https://rbvi.github.io/chimerax-recipes/shadows/shadows.html">https://rbvi.github.io/chimerax-recipes/shadows/shadows.html</a></div><div><br></div><div>  That's amazing Esther refound it in that long fitting video.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">    </span>Tom</div><div><br><div><br><blockquote type="cite"><div>On Feb 10, 2023, at 12:23 PM, Scott Stagg <sstagg@fsu.edu> wrote:</div><br class="Apple-interchange-newline"><div>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Thanks, Tom. That’s exactly what I was looking for! Esther Bullit found the video. It’s this one
<div style="display: block;">
<div style="-webkit-user-select: all; -webkit-user-drag: element; display: inline-block;" class="apple-rich-link" draggable="true" role="link" data-url="https://www.youtube.com/watch?v=v3jI43YJQMg">
<a style="border-radius:10px;font-family:-apple-system, Helvetica, Arial, sans-serif;display:block;-webkit-user-select:none;width:300px;user-select:none;-webkit-user-modify:read-only;user-modify:read-only;overflow:hidden;text-decoration:none;" class="lp-rich-link" rel="nofollow" href="https://www.youtube.com/watch?v=v3jI43YJQMg" dir="ltr" role="button" draggable="false" width="300">
<table style="table-layout:fixed;border-collapse:collapse;width:300px;background-color:#E5E6E9;font-family:-apple-system, Helvetica, Arial, sans-serif;" class="lp-rich-link-emailBaseTable" cellpadding="0" cellspacing="0" border="0" width="300">
<tbody>
<tr>
<td vertical-align="center" align="center"><img alt="maxresdefault.jpg" src="cid:96EDAC1A-F6CA-4E6F-B159-022EE005452F"></td>
</tr>
<tr>
<td vertical-align="center">
<table bgcolor="#E5E6E9" cellpadding="0" cellspacing="0" width="300" style="font-family:-apple-system, Helvetica, Arial, sans-serif;table-layout:fixed;background-color:rgba(229, 230, 233, 1);" class="lp-rich-link-captionBar">
<tbody>
<tr>
<td style="padding:8px 0px 8px 0px;" class="lp-rich-link-captionBar-textStackItem">
<div style="max-width:100%;margin:0px 16px 0px 16px;overflow:hidden;" class="lp-rich-link-captionBar-textStack">
<div style="word-wrap:break-word;font-weight:500;font-size:12px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-topCaption-leading">
<a rel="nofollow" href="https://www.youtube.com/watch?v=v3jI43YJQMg" style="text-decoration: none" draggable="false"><font color="#272727" style="">Fitting an atomic model in an electron microscopy map with ChimeraX</font></a></div>
<div style="word-wrap:break-word;font-weight:400;font-size:11px;overflow:hidden;text-overflow:ellipsis;text-align:left;" class="lp-rich-link-captionBar-textStack-bottomCaption-leading">
<a rel="nofollow" href="https://www.youtube.com/watch?v=v3jI43YJQMg" style="text-decoration: none" draggable="false"><font color="#808080" style="">youtube.com</font></a></div>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</a></div>
</div>
<div></div>
<div>Scott</div>
<div><br>
<div>
<div><br>
<blockquote type="cite">
<div>On Feb 10, 2023, at 3:09 PM, Tom Goddard <goddard@sonic.net> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Hi Scott,
<div><br>
</div>
<div>  I'm not sure what video that is in.  But there is some obscure ChimeraX magic involved.  If you use the "soft" lighting (shadows cast from all directions) with a transparent surface it looks horrible because transparent surfaces by default don't cast
 shadows in ChimeraX.  The reason for that default is often you are showing a molecule inside a transparent surface and then the molecule is dark (black actually) and hard to see.  Because the transparent surface doesn't cast shadows it does not shadow itself
 so you don't get any of the darkened cavities that help 3D appearance.  To make transparent surface cast shadows use ChimeraX command</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>material transparentCastShadows true</div>
<div><br>
</div>
<div>If you have an atomic structure (#2) inside the surface it will look black (shadowed), but you can tell it not to accept shadows</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>lighting model #2 multishadow false</div>
<div><br>
</div>
<div>The model inside can look pretty horrible and flat with soft lighting and you might try full lighting that adds a spot light, and also use silhouette edges.</div>
<div><br>
</div>
<div>  Here is an example of all these tricks.</div>
<div><br>
</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>open 1080 from emdb</div>
<div><span class="Apple-tab-span" style="white-space: pre;"></span>light soft</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>volume level 0.6</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>open 1grl</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>preset cylinders</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>fitmap #2 in #1</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>transparency #1 80</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>material transparentCastShadows true</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>lighting model #2 multishadow false</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>graphics silhouettes true</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>set bgColor white</div>
<div><span class="Apple-tab-span" style="white-space:pre"></span>light full</div>
<div><br>
</div>
<div>Thanks for asking!</div>
<div><br>
</div>
<div>  Tom</div>
<div><br>
</div>
<div>Opaque map, and transparent map, and transparent map with shadows with soft lighting.</div>
<div><br>
</div>
<div><span id="cid:03F0600D-604B-4FCD-9DC4-C1A855DE8470"><image1.png></span><span id="cid:211A538E-1081-4F6C-AC42-174A535C750E"><image2.png></span><span id="cid:1BADE9DC-D976-44E1-8B67-C03E46E9AEFF"><image3.png></span></div>
<div>Atomic model is dark inside transparent map casting shadows.  Can make atomic model not accept shadows.  "Full" lighting instead of soft can make the atomic look less flat.</div>
<div><br>
</div>
<div><span id="cid:BC709370-B70A-423A-A33E-700881B9A42D"><image4.png></span><span id="cid:56BA8407-FED4-4E26-89E6-94DCE286C0CD"><image5.png></span><span id="cid:AC57A818-9EAE-4C23-82CF-977EF0903110"><image6.png></span></div>
<div><br>
<div><br>
<blockquote type="cite">
<div>On Feb 10, 2023, at 6:48 AM, Scott Stagg via ChimeraX-users <chimerax-users@cgl.ucsf.edu> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Hi everybody,
<div><br>
</div>
<div>I’m writing because I saw in a YouTube video that you used “soft” lighting with transparency for an EM density map. It looked great. I can’t find the video again or the right documentation on how to do it. There was some command with the lighting that
 you typed in the command line. Do you know what I’m talking about?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Scott</div>
<div><br>
</div>
<div>
<div dir="auto" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
<div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Scott Stagg<br>
Professor<span class="Apple-tab-span" style="caret-color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: pre; word-spacing: 0px; text-decoration: none; -webkit-text-stroke-width: 0px;">
</span><br>
Institute of Molecular Biophysics<br>
Department of Biological Sciences</div>
<div style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
Florida State University<br>
Tallahassee, FL 32306-4380<br>
w: 850-645-7872<br>
f: 850-644-7244<br>
sstagg@fsu.edu<br>
<a href="https://urldefense.com/v3/__https://www.stagglab.com__;!!PhOWcWs!3QUvw8SGqegLJoakIfeoM6AZSatBMaxwcNpYGFzCZ7wXUmbtN3OGm2u32CfEjVIiJztCukLRppvEVg$">https://www.stagglab.com</a><br>
<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
_______________________________________________<br>
ChimeraX-users mailing list<br>
ChimeraX-users@cgl.ucsf.edu<br>
Manage subscription:<br>
<a href="https://urldefense.com/v3/__https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users__;!!PhOWcWs!3QUvw8SGqegLJoakIfeoM6AZSatBMaxwcNpYGFzCZ7wXUmbtN3OGm2u32CfEjVIiJztCukJm2iJ58w$">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>

</div></blockquote></div><br></div></body></html>