PDA

View Full Version : help -> adding texture on gluSphere



miroslav_karpis
03-16-2009, 11:23 PM
Hi all,
please can you help me with this?
I have created a gluSphere and I would like to add a texture to it. Problem is that I could not find almost anything about it.

With gluQuadricTexture() - I enable and generate texture coordinates, but how can I attach the texture to my gluSphere?

many thanks in advance...

miroslav_karpis
03-17-2009, 12:09 AM
figured out,...

classic way: loadTexture + bind it,...