Hi Geoff,I don't believe that OSG enforces any type of image size limit. I suspect that your computer is simply running out of memory trying to allocate that much contiguous memory (over 5 GB for that image).
The good news is that OSG does have a framework in place that can help you handle and display large images. I don't know much about how it works, but I believe that osg::PagedLOD is involved somehow.
Rob On 12/21/2010 11:30 AM, Geoff Rhodes wrote:
Hi, I am currently working on creating a poster image from several images and the file size is pretty large. Currently the one I am trying to create is 65250 wide x 22500 pixels in height (Image needs to be large) Currently I am doing the following: Code: posterImage = new osg::Image; posterImage->allocateImage( (mHeight), (mWidth), 1, GL_RGBA, GL_UNSIGNED_BYTE ); Right now it is giving me an exception when trying to allocate that image. Is there a size limit on it, or am I doing something wrong? ... Thank you! Cheers, Geoff ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35036#35036 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org