Sign in to follow this  
Daniel Lee

cube with textures and colors

Recommended Posts

allo, with the Cube of six faces, its to have 4 sides colors and 2 side textured. but i could not get it correct. please advise. an extract of the rendering is as follows:- glBegin(GL_QUADS); glColor3f(GREEN); glVertex3f(...); ... glEnd(); glBindTextures(...); glBegin(GL_QUADS); glTexCoord2f(...): glVertex3f(...); ... glEnd(); But for that all FACES (even the Textures)became GREENISH. another word, the rendering should be isolated. the face that should be color is GREEN, and those with Textures remain as the original texture. But how ??? ciao.

Share this post


Link to post
Share on other sites

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