PDA

View Full Version : Mipmappin in Opengl ES 1.0 ?



gautam
10-30-2004, 07:38 AM
Hi,

I am trying to do mipmapping and trying to play around with filters but it doesn't seem to work. I have the following code :

[


Only texture[0] seems to have a texture. The others seem to have no texture at all. Is this not supported ?

Thanks
Gautam

hmwill
10-30-2004, 08:01 AM
Mipmapping is not used (e.g. effectively turned off for you) if your mipmap is not "complete". Among other things, completeness requires all levels of the mipmap to be present, down to a map of size 1*1. If your code snippet above is complete, you are missing definintions for 8*8, 4*4, 2*2, and 1*1.

Hope that helps,
HM

[ October 30, 2004: Message edited by: Hans-Martin Will ]

gautam
10-30-2004, 08:23 AM
It works now, Thanks