   applying textures to certain objects only...
  hi. i''m currently having a problem regarding selective texture mapping.basically, what i''m trying to do is apply a red "rug" texture to a floor polygon (just a simple quad). unfortunately, all my other objects turn red as well, even if i don''t apply the textures to them directly. since my floor construction is in a function drawFloor(), i tried to remedy this by enabling GL_TEXTURE_2D within that function then disabling it before the drawFloor() function terminates. however, this seems to slow the program down significantly. any other ways to do something like this? 
  Ehrm... sorry that this isn''t better advice, but enabling/disabling GL_TEXTURE_2D a couple times per frame... or a couple dozen times... shouldn''t really have a noticable impact on your framerate. Are you using hardware acceleration?   "Last time, I asked: ''What does mathematics mean to you?'' And some people answered: ''The manipulation of numbers, the manipulation of structures.'' And if I had asked what music means to you, would you have answered: ''The manipulation of notes?''" - S. Lang