![]() |
#1
|
|||
|
|||
Draw line with a triangle at the end
Hi,
I want to draw a line and at the end of this line I want to draw an arrow. I've made: Code:
viz.startlayer(viz.LINES) viz.linewidth(5) viz.vertexcolor(0,0.6,0) viz.vertex(punkt1) viz.vertex(punkt2) viz.startlayer(viz.TRIANGLES) viz.vertex(1,0,0) viz.vertex(-1,0,0) viz.vertex(0,1,0) name = viz.endlayer(scene=szene) I looked at the tutorial "Hierarchical Models", but this does not help. I want to draw a line and at the end of this line there should be an arrow. And it should be possible to rotate the line along with the arrow. Can anybody help me - please? Thanks a lot! |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
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 |