The following FastScript3D command is used to refer to
a particular object and dynamically change its color
REFER foo / COLOR green
The source code is provided in vvscene/VVstyle.java.
See:
http://fastscript3d.jpl.nasa.gov
Also, see the following online java3D applet to play
with that and other commands
http://fastscript3d.jpl.nasa.gov/commands.html
Patti Koenig
> Hi,
>
> Could someone point me to where I could find some sample code showing
> how to dynamically change a primitive's property (such as a cube's
> color) during runtime? Thanks much!