This is a very small change to the Torus class, I just included a
length parameter in the parametric equations.

You can download the code from

http://flex3cookbook2.googlecode.com/files/Away3DTorusTube.zip

and see an example at

http://www.professionalpapervision.com/demos/web/primexamples/WireTube.html

I created 17 additional primitives for Papervision3D

http://professionalpapervision.wordpress.com/2009/02/11/23-papervision3d-primitives-17-new-ones/

Examining Away3D was really helpful and this small contribution is my
way of saying thanks.

Best,
Mike

Reply via email to