(w != h != d) should be no problem. If they are all powers of two, it
should definitely work fine. If they are not powers of two, then of
course you need to have support for the NPOT extension (or OpenGL
version >= 2.0).
-Paul
Thomas Canipel wrote:
Hi,
I have try to create some 3d image using osg::image, and it seems that when you
create an image with width=height=depth the volume created is good, but when I
try to create an image with width!=hieght!= depth , when I fill the image with
unsigned char* data, the pixel is not at the right place !
Is there a trick to crate a rectangular image 3d or is it impossible ?
I try to rescale the image3d but it does nothing either...
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org