PDA

View Full Version : Texture Doubt



iris_raj
09-17-2003, 01:09 AM
Dear All,

Is it possible to create different textures for different faces of a
cube.I tried, but the result is all faces getting same texture Image.Is there any specific rules for assiging different textures to different faces in the same application. Can you suggest any sites or programs which does different texture for different faces.


With regards
RAJESH.R

PanzerSchreck
09-17-2003, 01:17 AM
I'm almost shure you made the big mistake and tried to assign the textures to your faces betwenn a call to glBegin and glEnd.This isn't allowed, you'll have to assign your texture and after this you'll have to create your face via glBegin...glEnd.This must be done for every single face in your cube.