Did you step into the code and see why is failing ? I don't have access to OSG right now to look at the source myself but your probably limited to the max size support by Openly and your graphics card and driver.
Which is likely to be 4096x4096 and on many newer cards that’s 8192x8192 Or if a limit is not set its then likely you simply cannot get a contiguous piece of memory at the size you're asking for from your OS, you're asking for around 5gb Either way you're going to struggle get a contiguous piece of memory at the size ____________________________________________________________________________ __ Gordon Tomlinson www.photographybyGordon.com www.gordontomlinson.com www.vis-sim.com "Self defence is not a function of learning tricks but is a function of how quickly and intensely one can arouse one's instinct for survival" -Master Tambo Tetsura -----Original Message----- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Geoff Rhodes Sent: Tuesday, December 21, 2010 7:31 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] File Size Limit on OSG::Image? 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 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org