PDA

View Full Version : Question on Texture



doggle
03-20-2004, 12:46 AM
I render a 3D model with texture. The rendering color is not smooth! it looks like an image of 256 color.

I replaced the rendering code with glDrawPixels(...) to draw the picture image. The result is very good.

I'm deeply confused with that problem.

Would someone of you help me?

Thank you!

Doggle

03-20-2004, 03:44 AM
Please post your texture definition code (glTexImage2D et al)

Also, please post a screenshot if possible.

mithun_daa
03-22-2004, 11:53 AM
try using a different format viz RGB(A)10, 12 or 16 when defining the texture.