<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.apple-tab-span
{mso-style-name:apple-tab-span;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.Shkpostityyli20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 2.0cm 70.85pt 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FI" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">I sent gltf file from PyMol via Chimera’s bug menu. I remembered it wrong and it was not perfect. Colours are washed out, but not so badly? Model had much deeper colours in PyMol than
in Chimera.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US">Mikael<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b>Lähettäjä:</b> Tom Goddard <goddard@sonic.net> <br>
<b>Lähetetty:</b> keskiviikko 7. lokakuuta 2020 0.21<br>
<b>Vastaanottaja:</b> Karjalainen, Mikael <mikael.p.karjalainen@jyu.fi><br>
<b>Kopio:</b> ChimeraX Users Help <chimerax-users@cgl.ucsf.edu><br>
<b>Aihe:</b> Re: [chimerax-users] Exporting 3D models from ChimeraX?<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Mikael,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> Probably the washed out colors is something easy to fix in ChimeraX. Could you use ChimeraX menu Help / Report a Bug and attach the gltf from PyMol that has nice colors and I can look at that file and see what extra stuff it is putting
in, probably some material setting is needed.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> The ChimeraX residue or atom labels that always face you as you rotate the model are not supported in the glTF format as far as I can see.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span class="apple-tab-span"> </span>
Tom<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On Oct 6, 2020, at 12:40 PM, Karjalainen, Mikael <<a href="mailto:mikael.p.karjalainen@jyu.fi">mikael.p.karjalainen@jyu.fi</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">Hi!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">I found this one:<span class="apple-converted-space"> </span></span><a href="https://answers.microsoft.com/en-us/msoffice/forum/all/3d-model-lighting-inside-powerpoint/d0c0c316-8019-4c25-b0f6-86500e512f91"><span lang="EN-GB">https://answers.microsoft.com/en-us/msoffice/forum/all/3d-model-lighting-inside-powerpoint/d0c0c316-8019-4c25-b0f6-86500e512f91</span></a><span lang="EN-GB"><br>
<br>
Problem can be lighting in powerpoint and you can remove it by editing .pptx file. I tried and I got first black 3D model and then slightly better (I didn’t remove "am3d:ambientLight"). For me this didn’t fix the colors. I tried with PyMol and it’s glTF file
works. Maybe there is something which could be changed in ChimeraX.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Mikael<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<div>
<p class="MsoNormal"><b>Lähettäjä:</b><span class="apple-converted-space"> </span>ChimeraX-users <<a href="mailto:chimerax-users-bounces@cgl.ucsf.edu">chimerax-users-bounces@cgl.ucsf.edu</a>><span class="apple-converted-space"> </span><b>Puolesta<span class="apple-converted-space"> </span></b>Karjalainen,
Mikael<br>
<b>Lähetetty:</b><span class="apple-converted-space"> </span>tiistai 6. lokakuuta 2020 21.25<br>
<b>Vastaanottaja:</b><span class="apple-converted-space"> </span>Tom Goddard <<a href="mailto:goddard@sonic.net">goddard@sonic.net</a>>; Oliver Clarke <<a href="mailto:olibclarke@gmail.com">olibclarke@gmail.com</a>><br>
<b>Kopio:</b><span class="apple-converted-space"> </span>ChimeraX Users Help <<a href="mailto:chimerax-users@cgl.ucsf.edu">chimerax-users@cgl.ucsf.edu</a>><br>
<b>Aihe:</b><span class="apple-converted-space"> </span>Re: [chimerax-users] Exporting 3D models from ChimeraX?<o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Hi!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Thank you! It was too easy to save to glb format that I didn’t realize how to do it.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Colors are washed out and I didn’t find any fix to it. I tried some 3d software which come with Windows 10 and tried to save glb file with dimmer colors. Also, I noticed that labels are just flat sheets, if I have them
in structure (Can I get floating 2D text which would always face to the viewer?). If someone has easy solution for this colors issue, I would be happy to hear it.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Regards,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB">Mikael</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-GB"> </span><o:p></o:p></p>
</div>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<div>
<p class="MsoNormal"><b>Lähettäjä:</b><span class="apple-converted-space"> </span>ChimeraX-users <<a href="mailto:chimerax-users-bounces@cgl.ucsf.edu">chimerax-users-bounces@cgl.ucsf.edu</a>><span class="apple-converted-space"> </span><b>Puolesta<span class="apple-converted-space"> </span></b>Tom
Goddard<br>
<b>Lähetetty:</b><span class="apple-converted-space"> </span>tiistai 6. lokakuuta 2020 20.29<br>
<b>Vastaanottaja:</b><span class="apple-converted-space"> </span>Oliver Clarke <<a href="mailto:olibclarke@gmail.com">olibclarke@gmail.com</a>><br>
<b>Kopio:</b><span class="apple-converted-space"> </span>ChimeraX Users Help <<a href="mailto:chimerax-users@cgl.ucsf.edu">chimerax-users@cgl.ucsf.edu</a>><br>
<b>Aihe:</b><span class="apple-converted-space"> </span>Re: [chimerax-users] Exporting 3D models from ChimeraX?<o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Hi Oli,<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> The core glTF format does not support lighting. It also does not specify a background color as far as I can tell, here is the specification<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><a href="https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md">https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md</a><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">For the washed out colors, one problem we have seen before is that macOS uses a special Apple color profile which is not sRGB and if that is not preserved the colors are faded it. glTF does not appear to have support for color profiles.
Another possibility is that the default material in glTF fades the colors. ChimeraX does not export material information into the glTF file. Also glTF can handle camera positions but ChimeraX does not include that.<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> ChimeraX exports the shapes and vertex colors. It is primarily used to get models into general 3D packages like Blender, Cinema4D, Maya, where the materials, camera angles, lighting model can all be set as needed for the end application.<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> Despite the many limitations of the glTF format and what ChimeraX puts into it, other formats like OBJ and STL are much more severely limited, neither supports vertex colors that ChimeraX uses. STL does not support any colors, just a
list of triangles.<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span class="apple-tab-span"> </span><span class="apple-converted-space"> </span>Tom<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal">On Oct 6, 2020, at 8:02 AM, Oliver Clarke <<a href="mailto:olibclarke@gmail.com">olibclarke@gmail.com</a>> wrote:<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Elaine - I just tried this and it saves as glb, but importing into powerpoint gives washed out colors - it doesn't seem to preserve any lighting options - and the background color is not preserved. I guess
this is an issue on Microsoft's end though?<br>
<br>
Oli<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">On Oct 6, 2020, at 10:52 AM, Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu">meng@cgl.ucsf.edu</a>> wrote:<br>
<br>
Hi Mikael,<br>
ChimeraX can save glb, stl, obj, etc. The save formats are listed in the User Guide help page for "save":<br>
<br>
<<a href="http://rbvi.ucsf.edu/chimerax/docs/user/commands/save.html#formats">http://rbvi.ucsf.edu/chimerax/docs/user/commands/save.html#formats</a>><br>
<br>
... or you can list them in the Log with command "save formats." <br>
I hope this helps,<br>
Elaine<br>
-----<br>
Elaine C. Meng, Ph.D. <br>
UCSF Chimera(X) team<br>
Department of Pharmaceutical Chemistry<br>
University of California, San Francisco<br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">On Oct 6, 2020, at 2:14 AM, Karjalainen, Mikael <<a href="mailto:mikael.p.karjalainen@jyu.fi">mikael.p.karjalainen@jyu.fi</a>> wrote:<br>
<br>
Hi!<span class="apple-converted-space"> </span><br>
Is it possible to export 3D models from ChimeraX? Preferably in formats GLB (best for powerpoint), FBX, OBJ or 3MF? You can in old Chimera, but for powerpoint presentations it can only give STL files which do not have textures.<br>
<br>
Here are supported file formats for Office products:<span class="apple-converted-space"> </span><a href="https://support.microsoft.com/en-us/office/3d-content-guidelines-for-microsoft-03a7b493-d549-4f1a-9735-f2457adf6261">https://support.microsoft.com/en-us/office/3d-content-guidelines-for-microsoft-03a7b493-d549-4f1a-9735-f2457adf6261</a><br>
<br>
Regards,<br>
Mikael<o:p></o:p></p>
</div>
</blockquote>
<div>
<p class="MsoNormal"><br>
<br>
_______________________________________________<br>
ChimeraX-users mailing list<br>
<a href="mailto:ChimeraX-users@cgl.ucsf.edu">ChimeraX-users@cgl.ucsf.edu</a><br>
Manage subscription:<br>
<a href="https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users</a><o:p></o:p></p>
</div>
</blockquote>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
_______________________________________________<br>
ChimeraX-users mailing list<br>
<a href="mailto:ChimeraX-users@cgl.ucsf.edu">ChimeraX-users@cgl.ucsf.edu</a><br>
Manage subscription:<br>
<a href="https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users</a><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>