PDA

View Full Version : gluSphere_gluCube???



chign
06-12-2010, 05:24 AM
i came across that function..
void gluSphere
( GLUquadric* quad
, GLdouble radius
, GLint slices
, GLint stacks
);

what i am looking for is if there is any similar function for drawing cubes..(not with glutsolidcube).. cause i want to "attach" it to an object created with gluNewQuadratic..

thanks..

edit:i found this one:
gluQuadricDrawStyle(sun,GLU_FILL);
isn't it suposed to draw me the object as i have load it?

chign
06-13-2010, 12:57 AM
noone..??

in other words, i want to attach an image to a cube... it works perfectly for a sphere, so there is nothing wrong with the textures.. what i want is with what command i can attach it to a cube..

V-man
06-13-2010, 05:43 AM
Look inside glu.h
Do you see gluCube.....it doesn't exist. Drawing a cube is a very complex operation and we are still working on. There are 50 scientists working on it.