-
gluCylinder - joining
I have several gluCylinders in a row basically one after another to create a tube effect that turns, etc.
everything looks and works fine.
However there are spaces between the cylinders. How do i join all the cylinders togeter to make just one solid cylinder?
The cylinders twist and turn which is part of the reason there are spaces.
Is there a simple way to connect them all or do i need to re-write a cylinder script to do this?
GLUquadric* thA;
thA = gluNewQuadric();
gluQuadricNormals(thA, GLU_SMOOTH);
gluQuadricDrawStyle(thA, GLU_FILL );
for(------)
{
///do some translate and rotates
glucylinder(thA, radius, radius, distance, slices, stacks);
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules