Skip to content
Prev 135297 / 398498 Next

drawing arrows with rgl

On 1/29/2008 6:23 PM, Kasper Peeters wrote:
The shapes3d demo in rgl draws cones.  You could use the same ideas to 
draw cylinders.

Once you have instructions to draw one prototypical arrow, you can use 
the scale3d, translate3d and rotate3d functions to reshape it and move it.

I've never found such arrows very visually pleasing, but if you do find 
a way to draw nice ones, please post the code here.

Duncan Murdoch