![]()  | 
	
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
				
				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()  | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
		
		 
			
			Instead of using viz.POINTS you can use viz.TRIANGLES and specify the position of each vertex. Example: 
		
		
		
		
		
		
		
		
	
	Code: 
	viz.startlayer(viz.TRIANGLES) viz.vertex(p1) viz.vertex(p2) viz.vertex(p3) . . .  | 
![]()  | 
	
	
		
  | 
	
		
  | 
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Draw Vector in viewpoint lookat direction | Chrissy2009 | Vizard | 2 | 05-30-2009 01:50 AM | 
| Draw Line between Points | Chrissy2009 | Vizard | 2 | 05-13-2009 05:42 AM | 
| Incoming floating point values | Rachel | Vizard | 1 | 02-12-2008 04:09 PM | 
| data glove navigation | arielasso | Vizard | 6 | 10-24-2007 03:15 PM | 
| looking at a point | vadrian | Vizard | 5 | 06-07-2005 06:43 PM |