I dont disable texture

Hey guys

I textured a cube with textures (1D and 2D), next I want to graphics at scene a single triangle, but I can’t apply color3f to triangle.

I disabled a texture 1d and 2d, again continue without applying a color to cone.

What can I do?

Thank, very much

mmmm, not sure to understand what you want…

maybe something like this:


glEnable (GL_TEXTURE1D);
// draw objects needing 1D textures
glDisable (GL_TEXTURE1D);

glEnable (GL_TEXTURE2D);
// draw objects needing 2D textures
glDisable (GL_TEXTURE2D);

// draw objects needing no textures
glColor3f (...);
drawTriangle();
glColor3f (...);
drawCone();

lol, my advice is do some online tuts, then go ask again if you’re not coming forward and better in the basics forum.