View Single Post
Old 01-04-2005, 11:48 PM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849

Once you have created an on-the-fly object you can change each vertex color individually using the <node3d>.vertexcolor command. So to change the color of the every vertex you could do something similar to the following:
object = viz.endlayer()
for v in range(NumberOfVertices):
The next update to Vizard should allow you to use the <node3d>.color command to change the color of the entire on-the-fly object
Reply With Quote