![]() |
#5
|
|||
|
|||
I don't know if it would work, but could you make the triangle vertices a function of the line vertex? Something like this:
Code:
viz.startlayer(viz.TRIANGLES) v1 = line.getVertex(1) viz.vertex(v1[0]+1,v1[1],v1[2]) viz.vertex(v1[0]-1,v1[1],v1[2]) viz.vertex(v1[0],v1[1]+1,v1[2]) triangle = viz.endlayer(parent=line)
__________________
Virtual Environments and Multimodal Interaction (VEMI) Lab This time, it should work... |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Draw a triangle instead of a point | Chrissy2009 | Vizard | 1 | 07-21-2009 09:46 AM |
Create line and vertex | Chrissy2009 | Vizard | 2 | 07-20-2009 10:53 AM |
Draw Vector in viewpoint lookat direction | Chrissy2009 | Vizard | 2 | 05-30-2009 12:50 AM |
Draw Line between Points | Chrissy2009 | Vizard | 2 | 05-13-2009 04:42 AM |
Draw Line between Points selected by mouse | Johannes | Vizard | 7 | 01-07-2005 02:50 PM |