Thread: Draw Line
View Single Post
  #1  
Old 03-26-2010, 09:35 AM
Moh200jo Moh200jo is offline
Member
 
Join Date: Feb 2009
Posts: 99
Draw Line

I am trying to create lines between points moving through x to y. I created the line but these lines appear in different positions (according to the points). Is there any way to draw just a solid line between 2 points and moved with them?
Code:
viz.startlayer(viz.LINE_STRIP)

	viz.vertexcolor(0, .6, 0)
	viz.vertex(point1)
	viz.vertex(point2)
	line1-2 = viz.endlayer()
How can I present the real time value of the point on the Vizard?
Any suggestions?
Thanks
Reply With Quote