[chimerax-users] Handling gltf file

Tom Goddard goddard at sonic.net
Thu Dec 10 10:15:00 PST 2020


Hi Suzanne,

  That is most likely a limitation of the Blender GLTF file reader.  ChimeraX puts vertex colors into the gltf file bur probably Blender only handles texture colors.  You can see the colors are in the file if you open the GLTF in ChimeraX it will show you the colors.

  You can reduce the GLTF file size in ChimeraX by reducing the quality of the graphics using the "graphics quality" command.

	https://www.cgl.ucsf.edu/chimerax/docs/user/commands/graphics.html#quality <https://www.cgl.ucsf.edu/chimerax/docs/user/commands/graphics.html#quality>

That can reduce the number of triangles used for atoms, bonds and ribbons.  For surfaces the standard molecular surface (solvent excluded) is very detailed.  You can make a coarser surface using the "resolution" option (value in Angstroms) of the surface command, for example "surface #1 resolution 10".

	https://www.cgl.ucsf.edu/chimerax/docs/user/commands/surface.html#parameters <https://www.cgl.ucsf.edu/chimerax/docs/user/commands/surface.html#parameters>

  Tom


> On Dec 10, 2020, at 5:36 AM, Suzanne Duce (Staff) <S.Duce at dundee.ac.uk> wrote:
> 
> Hi,
> When I import a .glb gltf file that I generated in ChimeraX into Blender to reduce its file size. The colouring seems to be lost.
>  
> Is there a way to reduce the .glb file size in ChimeraX (or using another program)?
> Or not to lose the colours when importing it into Blender?
>  
> Regards, Suzanne
>  
> 
> The University of Dundee is a registered Scottish Charity, No: SC015096_______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu <mailto:ChimeraX-users at cgl.ucsf.edu>
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users <https://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/20201210/578c733a/attachment.html>


More information about the ChimeraX-users mailing list