<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Byrne,<div class=""><br class=""></div><div class=""> I agree, OBJ and STL are very limited compared to Collada and GLTF. OBJ is supported by almost every 3D model program and STL is commonly used for 3D printing (single color) which is why they are in ChimeraX. GLTF is definitely the best option in ChimeraX for your case.</div><div class=""><br class=""></div><div class=""> There appear to be lots of programs that convert GLTF to Collada and the other direction too. But I have not tried any of them so don't have any recommendation. Let us know if you find one that works well -- other ChimeraX users may have the same need.</div><div class=""><br class=""></div><div class=""> A major stumbling block exporting 3D models from ChimeraX (or Chimera) is that they use vertex colors, while most of the non-biology 3D model world uses texture colors, and will simply ignore vertex colors losing all your color information. That example I linked to in the last email describes a relatively new ChimeraX feature to export texture colors (for limited cases, e.g. discrete colors only).</div><div class=""><br class=""></div><div class=""> Another common problem exporting molecular models for use in other software is that the file size and number of triangles is too large for the application that you want to use them in, often tens of millions of triangles or hundreds of Mbytes to Gbytes in size. The example also shows how to tell ChimeraX to limit the number of triangles.</div><div class=""><br class=""></div><div class=""> <a href="https://www.rbvi.ucsf.edu/chimerax/data/texture-may2021/export_3d.html" class="">https://www.rbvi.ucsf.edu/chimerax/data/texture-may2021/export_3d.html</a></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="">Model from gltf export from linked ChimeraX example</div><div class=""><br class=""><div><img style="-webkit-user-select: none; display: block; margin: auto; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); cursor: zoom-in;" apple-inline="yes" id="BD5F99A0-511B-4E30-8F6C-1B5422358AA1" width="625" height="908" src="cid:025C4A3B-FB65-4A13-8EF0-EDDE6627ED8D" class=""></div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">On Dec 2, 2021, at 2:04 PM, Byrne Pedit <<a href="mailto:bpedit@comcast.net" class="">bpedit@comcast.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello Tom,<div class=""><br class=""></div><div class="">Thanks for the response. I tried the GLTF export, not recognizable by Xcode (the development platform for iOS and Mac OS). The only ChimeraX file options I’ve found to be openable are OBJ and STL. These are, however, problematic and unusable.</div><div class=""><br class=""></div><div class="">But your hint of using GLTF as an intermediary offers an avenue for exploration, it’s not a format I’ve used. I see it supports scene graph hierarchy, absent with OBJ and STL( exported from ChimeraX anyway) so this is promising. Now to find a converter.</div><div class=""><br class=""></div><div class="">The GLTF export link is informative, it may help further refine my approach. Interestingly, the molecule you’ve chosen for demo purposes appears to be the one, or a variant thereof, I’ve been testing with! </div><div class=""><br class=""></div><div class="">Thanks again,</div><div class=""><br class=""></div><div class="">Byrne</div><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Dec 2, 2021, at 12:30 PM, Tom Goddard <<a href="mailto:goddard@sonic.net" class="">goddard@sonic.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Byrne,<div class=""><br class=""></div><div class=""> We have long been interested in adding Collada format export of scenes from ChimeraX. Here is the feature request for that</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/485" class="">https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/485</a></div><div class=""><br class=""></div><div class="">But our scene export in ChimeraX has focused on GLTF format, as that has been the most requested. Here is an example showing GLTF export from ChimeraX (including texture colors).</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://www.rbvi.ucsf.edu/chimerax/data/texture-may2021/export_3d.html" class="">https://www.rbvi.ucsf.edu/chimerax/data/texture-may2021/export_3d.html</a></div><div class=""><br class=""></div><div class=""> ChimeraX also exports OBJ, STL, X3D, VTK as shown in the save command docs</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://rbvi.ucsf.edu/chimerax/docs/user/commands/save.html#formats" class="">https://rbvi.ucsf.edu/chimerax/docs/user/commands/save.html#formats</a><br class=""><div class=""><br class=""></div><div class="">Can you make use of GLTF files? If not, a quick solution might be to convert ChimeraX GLTF files to Collada with third-party software.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tom</div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Dec 2, 2021, at 10:41 AM, Byrne Pedit via Chimera-users <<a href="mailto:chimera-users@cgl.ucsf.edu" class="">chimera-users@cgl.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">ChimeraX is awesome and definitely superior to the original but for the inability to export as .dae (Collada). Is that possibly on the to-do list? This is important for those of us (just me?) writing interactive molecular apps for devices. It is the only satisfactory path I’ve found between a PDB file and SCNNodes/Scenes in iOS. (See the iOS app ‘BioMole’, free, if interested in an application.)<br class="">_______________________________________________<br class="">Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">Manage subscription: <a href="https://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" class="">https://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br class=""><br class=""></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>