View Single Post
  #9  
Old 10-08-2004, 03:55 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

In the following code:
Code:
for x in range(trailSize): 
	viz.vertex(x,0.3,0)
How is the variable trailSize initialized?

Also, for the vertex color try doing the following:
Code:
trail.vertexcolor((cur_vertex+1)%TRAIL_SIZE, viz.YELLOW+[0])
Reply With Quote