On Nov 17, 7:05 am, Ryan <[email protected]> wrote: > pyglet.image.ImageException: Cannot retrieve mipmapped texture for > <Texture 512x512> This is because the Texture class does not provide the get_mipmapped_texture method, and the AbstractImage template for it raises that exception.
The ImageData object would support this operation. You can get the ImageData object to a Texture with mytexture.get_image_data(). But looking at the implementation of get_mipmapped_texture, it would expect you to set a collection of mipmap_images. gluBuild2DMipmaps is not yet supported, but even if it was, I don't think it'd work for the atlas, because you wouldn't want to bleed one texture atlas region into another when it gets downsized, which is what gluBuild2DMipmaps would do. Afaik You could fill the mipmap_images list with Images that you calculated yourself. -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
