Nonstandard Texture Sizes?
GL_TEXTURE_RECTANGLE_NV extension
Though that only works on GeForce and above nVidia cards
-----------------------
chain=chain->chain;
Though that only works on GeForce and above nVidia cards
-----------------------
chain=chain->chain;
I believe you can use all kinds of bitmap sizes for texture generating if you enable mipmapping
You can NOT use nonstandard texture sizes as mipmaps, not even with the NV_texture_rectange extension. NV_texture_rectangle does not support mipmaps. And gluBuild2DMipmaps will rescale the image to standard sizes before it''s uploaded as a texture, that''s why some people think they can use non-power of two texture dimensions.
quote:Original post by Brother Bob
You can NOT use nonstandard texture sizes as mipmaps, not even with the NV_texture_rectange extension. NV_texture_rectangle does not support mipmaps. And gluBuild2DMipmaps will rescale the image to standard sizes before it''s uploaded as a texture, that''s why some people think they can use non-power of two texture dimensions.
I saw nothing in his question to do with mipmapping
-----------------------
chain=chain->chain;
Neither did I. But Subotron mentioned mipmaps and non standard dimensions. I just said you can''t use non-power of two dimensions with mipmaps. And since we''re also talking about the texture rectangle extensions, I added that not even with that extensions, you can get mipmaps with non power of two dimensions.
When you load the image, stretch it to fit a square.
Then just draw it again as a rectangle (ie not a square).
Simple.
Beer - the love catalyst
good ol'' homepage
Then just draw it again as a rectangle (ie not a square).
Simple.
Beer - the love catalyst
good ol'' homepage
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement