Hi Christian, On Mon, Sep 26, 2011 at 9:10 AM, Christian Buchner <[email protected]> wrote: > I was just puzzled because the documentation to osgconv states (if the > compressed switch is used) that the image data gets converted to a > texture, then read back and saved. This would usually imply that also > the the texture size is determined by OpenGL, which often is a power > of 2 (depending on the capabilities of the hardware). It seemed > unexpected that the saved textures still retained their original > sizes, even though osgconv had printed to the console that they were > resized (for upload to OpenGL).
OpenGL is used to do the compression. If the textures are resized and compressed they won't have the original image size. Perhaps you are seeing a bug, perhaps you are mis-interpreting things. From your posts I can't work out exactly what is happening. > Fortunately hacking osgconv was rather easy, as my code snipped shows. > So case closed. I couldn't work out what you snippet did. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

