LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: strange on January 28, 2004, 14:45:14

Title: How to calculate a tube
Post by: strange on January 28, 2004, 14:45:14
Hi,

I would like to have a tunnel or tube in my scene. How does the mathematics work if I would like to store the vertices in an array and have to calculate them without using the OpenGL library.

Actually I would prefer to set a path and the algorithm is calculating the tube around it.

I just can't figure out how to do this and haven't found any tutorial.

thanx
Title: How to calculate a tube
Post by: vilm on January 28, 2004, 16:53:31
some examples in c of creating torus and cylinder objects..

http://math.ucsd.edu/~sbuss/MathCG/OpenGLsoft/

not tried them myself btw..

cheers

- vilm