Hello,

I want to creating power of two textures using nonPow2 images for backwards 
comptability ( I dont want to use TextureRectangle).

It seems that Texture2D does this for you using the standard settings by 
operations by scaling the image. (Am i right?) Which seem to be a costly 
operation.

Before using OSG, i created a texture using a pow2 size larger then the image 
size, then using glTexSubImage2D and scaling the texcoords i got the correct 
texture and mapping using pow2 texture.

Is this what the GlyphTexture is for? Or how would you do this?

Thanks!

Erlend


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to