Re: [osg-users] Problem with 3D image for scientific visualization

2014-01-21 Thread Josiah Jideani
when I change the dimension to 127x4096x63. Regards, Josiah On 21 January 2014 12:21, Ulrich Hertlein wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Hi Josiah, > > On 21/01/2014 9:56, Josiah Jideani wrote: > > ... > > > The code has been working fin

Re: [osg-users] Problem with 3D image for scientific visualization

2014-01-21 Thread Josiah Jideani
Hi Sebastian, I checked the KInfocenter on OpenSUSE and it says the Max. 3D texture size is 2048. The OpenGL wiki says "For 3D textures, no dimension can be greater than GL_MAX_3D_TEXTURE_SIZE in size." So I guess I'm violating this criteria and hence the wierd result. This leads me to my next q

Re: [osg-users] Problem with 3D image for scientific visualization

2014-01-22 Thread Josiah Jideani
join these > back together during the visualization phase? > > > > > 2014/1/21 Josiah Jideani > >> Hi Sebastian, >> >> I checked the KInfocenter on OpenSUSE and it says the Max. 3D texture >> size is 2048. The OpenGL wiki says "For 3D textures, no di

[osg-users] 3D osg::Image allocation size problem

2016-07-22 Thread Josiah Jideani
Hi, I am developing a scientific visualization application using Qt and Openscenegraph. I am trying to create a 3D osg::Image to add to an osgVolume. I am having problems allocating the image data when I call the allocateImage member function (see the code snippet below). The allocation work

Re: [osg-users] 3D osg::Image allocation size problem

2016-07-25 Thread Josiah Jideani
Hi SMesserschmidt I think you are right about the size issue. With sizes less than 640, the getTotalImageSizeIncludingMipmap() function returns the correct size that is 640 x 640 x 640 x 4 x 4. With sizes between 640 and 1024 it returns the wrong size that is even less than the maximum size of