[osg-users] question about osg::image

2008-06-18 Thread David _
Hi i´ve created an osg::image and i want to call the method allocateImage to allocate memory for the image data void allocateImage (int s, int t, int r, GLenum pixelFormat, GLenum type, int packing=1) my problem is that i can´t find a list of valid GLenum pixelFormat values and the same for

Re: [osg-users] question about osg::image

2008-06-18 Thread Raymond de Vries
Hi David, You could take a look at an OpenGL manual page/examples since the same parameters need to be used for osg. regards Raymond David _ wrote: Hi i´ve created an osg::image and i want to call the method allocateImage to allocate memory for the image data void allocateImage

Re: [osg-users] question about osg::image

2008-06-18 Thread Paul Melis
David _ wrote: Hi i´ve created an osg::image and i want to call the method allocateImage to allocate memory for the image data void allocateImage http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01233.html#a12 (int s, int t, int r, GLenum pixelFormat, GLenum type,

Re: [osg-users] question about osg::image

2008-06-18 Thread David _
problem solved thanks Date: Wed, 18 Jun 2008 14:25:58 +0200 From: [EMAIL PROTECTED] To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] question about osg::image Hi David, You could take a look at an OpenGL manual page/examples since the same parameters need to be used

Re: [osg-users] question about osg::image

2008-06-18 Thread Gordon Tomlinson
@lists.openscenegraph.org Subject: [osg-users] question about osg::image Hi i´ve created an osg::image and i want to call the method allocateImage to allocate memory for the image data void allocateImage http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01 233.html#a12 (int s, int t