[chimerax-users] Handling gltf file
Suzanne Duce (Staff)
S.Duce at dundee.ac.uk
Thu Dec 10 10:56:55 PST 2020
Thank you, that is really helpful, Suzanne
From: Tom Goddard <goddard at sonic.net>
Date: Thursday, 10 December 2020 at 18:15
To: Suzanne Duce (Staff) <S.Duce at dundee.ac.uk>
Cc: chimerax-users at cgl.ucsf.edu <chimerax-users at cgl.ucsf.edu>
Subject: Re: [chimerax-users] Handling gltf file
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
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
Tom
On Dec 10, 2020, at 5:36 AM, Suzanne Duce (Staff) <S.Duce at dundee.ac.uk<mailto: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
The University of Dundee is a registered Scottish Charity, No: SC015096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20201210/db049894/attachment.html>
More information about the ChimeraX-users
mailing list