Advertisement

odd problem

Started by May 23, 2002 08:09 AM
0 comments, last by leggyguy 22 years, 9 months ago
My current code loads in a quake 3 model, and a 3ds model. And then renders them to the screen. Now when I comment out the section which renders the 3ds model, the quake 3 model renders (and animates) perfectly. But when I add in the 3ds rendering code, the quake 3 model is rendered (apparently) without textures. It is simply a black shape, although it still animates perfectly well. The 3ds model is rendered perfectly well, however, only the quake 3 model is affected in this adverse way. FYI the 3ds model does not use textures, while the quake 3 model does. Anybody any ideas what may cause this? [edited by - Leggyguy on May 23, 2002 9:10:00 AM]
I might be wrong, but try using glEnable(GL_TEXTURE_2D); right before you render the quake 3 model. It sounds like the 3ds draw routine might be disabling it. Just a guess.

This topic is closed to new replies.

Advertisement