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
_arts
2
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();
ugluk
3
lol, my advice is do some online tuts, then go ask again if you’re not coming forward and better in the basics forum.