Sign in to follow this  

how place partitial textures on quadric objects?

This topic is 4097 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, does someone know how to place a texture on a SINGLE segment of a quadric object e.g. gluDisk()? First I thought, I could access vertexes of the quadric object to place a special texture manually, but it seems I can't... =( GLUquadricObj *quadric; quadric=newGluQuadric(); // if I bind a texture here it's just valid for the hole object. // So I need access to vertexes of quadric's segments ... or // I have to calculate my own disk, but I hope it's not nescessary. gluDisk(quadric, 1.0f, 2.0f, 20, 20); // my 20 segments! Thanks in advance! Sergio

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
forget glu, learn some additional math,and create your own objects. I always see people look to glu for spheres, balls en disks, but they are so easy to do yourself. this way they can be faster, and you'll be able to do whatever you want with the vertices and textures.

Share this post


Link to post
Share on other sites

This topic is 4097 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this