[chimera-dev] Creating graphics objects from Python code

Eric Pettersen pett at cgl.ucsf.edu
Mon Jan 10 10:31:53 PST 2011


On Jan 7, 2011, at 10:12 AM, Tom Goddard wrote:

>   The BILD format produces a VRML model in Chimera and VRML models are
> horribly inflexible.  For instance you cannot change the color of an
> object in a VRML model without destroying the model and building a new
> one.  Basically the VRML is immutable after it is created.

	This is not 100% true anymore.  If your BILD object doesn't have any  
".color" directives in it, then the resulting object will be shown  
using the model-level color attribute, which can be changed in all the  
normal ways you can change model-level colors.  It may be true that  
parts of the model created before the first ".color" directive will  
use the model-level color (I'd have to find/read code I didn't write  
to verify that -- ugh!).

--Eric

                         Eric Pettersen
                         UCSF Computer Graphics Lab
                         http://www.cgl.ucsf.edu


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-dev/attachments/20110110/9ddc05e3/attachment.html>


More information about the Chimera-dev mailing list