View Single Post
  #1  
Old 07-21-2009, 08:49 AM
Chrissy2009 Chrissy2009 is offline
Member
 
Join Date: May 2009
Posts: 33
Draw a triangle instead of a point

Hi,

how can I draw a traingle at the end of my line, instead of points?

I've done this:

Code:
	        viz.startlayer(viz.LINES)
		viz.linewidth(5)
		viz.vertexcolor(viz.RED)
		viz.vertex(punkt1)
		viz.vertex(punkt2)
		viz.startlayer(viz.POINTS)
		viz.pointsize(10)
		viz.vertex(punkt2)
		
		vec = viz.endlayer()
Is there a possibility to draw triangles instead of points?
Reply With Quote