PDA

View Full Version : how can i texturing the GLUquadricObject



prabhakaran
01-24-2008, 11:03 PM
hai friends
i need help to how i can texturing the the GLUquadricObj
please help me to create the texture object from GLUquadricObj.

GLUquadricObj *obj;
obj=gluNewQuadric();
gluCylinder(obj,1,1,5,20,20);

this is my quadric object how i can texture this cylinder

i need help to this

Zengar
01-25-2008, 12:10 AM
http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/glu/quadrictexture.html

prabhakaran
01-25-2008, 03:23 AM
hai Zengar
thank you very much but i need sample program.
how to apply the texture for GLUquadricObj .

-NiCo-
01-25-2008, 06:15 AM
example code (http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=18)

N.

Zengar
01-25-2008, 06:30 AM
Well, you posted in the advanced forum so I assumed that you at least know how to use google... Sorry for being wrong

prabhakaran
01-28-2008, 02:48 AM
sorry Zengar i dont know how to read google so only i am asking you. i thought this is advance topic. ok now i realised where i was . thank you friend i will post in beginer level. i couldnt understand texturing to gluCylinder(). please guide me.

prabhakaran
01-28-2008, 02:50 AM
thank you Nico