Re: [osg-users] Render to large float textures

2008-02-25 Thread Poirier, Guillaume

FYI

I googled it up quickly and did not find anything. I tried however to use 
GL_RGB16F_ARB
instead of GL_RGB32F_ARB and it worked. I don't need the extra precision so 
that solves
my problem...

-bill


-Original Message-
From: [EMAIL PROTECTED] on behalf of Robert Osfield
Sent: Sat 2/23/2008 4:41 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Render to large float textures
 
Hi Bill,

I have never tried to allocate such a large FBO or associate
osg::Image so can't really say too much.  osg::Image itself doesn't
really care how big dimensions you choose, it should in theory be able
to allocate as big as you need.  The OpenGL side is governed by how
much the OpenGL driver  hardware can support, up till the 8 series
NVidia were limited to 4096x4096 but in theory the new 8+ series
should be able to cope with 8192x8192 for textures, but I'm not sure
about FBO's you'll need to look this up.

Robert.

On Fri, Feb 22, 2008 at 9:41 PM, Poirier, Guillaume
[EMAIL PROTECTED] wrote:




 Hello OSGers !

  I am trying to render to a large float image of dimension 4368 X 2912.

  I allocate an osg::Image of that size, GL_RGB, GL_FLOAT, and GL_RGB32F_ARB.

  I attach that image to my camera COLOR_BUFFER.

  Interestingly when I read back the image pixels  4096 in x wrap around.
  Everything  4096 is fine. If I don't render to a float image but rather
  an unsigned byte image I can render correctly my image  4096 in x...

  I work under linux with a GeForce 8800 GTX, openGL 2.1.1, and driver
 100.14.11.

  Does anyone ever encountered such issue ?

  Many thanks in advance,


  - bill
 ___
  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

winmail.dat___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Render to large float textures

2008-02-23 Thread Robert Osfield
Hi Bill,

I have never tried to allocate such a large FBO or associate
osg::Image so can't really say too much.  osg::Image itself doesn't
really care how big dimensions you choose, it should in theory be able
to allocate as big as you need.  The OpenGL side is governed by how
much the OpenGL driver  hardware can support, up till the 8 series
NVidia were limited to 4096x4096 but in theory the new 8+ series
should be able to cope with 8192x8192 for textures, but I'm not sure
about FBO's you'll need to look this up.

Robert.

On Fri, Feb 22, 2008 at 9:41 PM, Poirier, Guillaume
[EMAIL PROTECTED] wrote:




 Hello OSGers !

  I am trying to render to a large float image of dimension 4368 X 2912.

  I allocate an osg::Image of that size, GL_RGB, GL_FLOAT, and GL_RGB32F_ARB.

  I attach that image to my camera COLOR_BUFFER.

  Interestingly when I read back the image pixels  4096 in x wrap around.
  Everything  4096 is fine. If I don't render to a float image but rather
  an unsigned byte image I can render correctly my image  4096 in x...

  I work under linux with a GeForce 8800 GTX, openGL 2.1.1, and driver
 100.14.11.

  Does anyone ever encountered such issue ?

  Many thanks in advance,


  - bill
 ___
  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