i tried on my computer (with an ATI radeon 9700).
i load 2048*2048 images for my TextureCubeMap and it works but bad. I mean that images are loaded, and the textures are rendered correctly on the skybox. But it s very slow, like 1 frame every 5 secondes. But with 1024*1024 images, i have a perfect framerate (+800fps).
so to resume:
--------------------
- 1024*1024 image works perfectly with the osg::TextureCubeMap on my 2 computers
- a 2048*2048 texture loaded in a osg::Texture, and applied to a simple geometry works perfectly
- 2048*2048 images in a osg::TextureCubeMap work bad or dont work at all
-> bad: textures are rendered but it's very slow
-> doesnt work: textures cant be created, and there is a error message "before Font::Glyph::subload(): detected OpenGL error 'invalid value" (looks like a memory leak)
VoilĂ ! I hope you see where could be my problem, anyway thank you!
On 6/20/06, Nicolas REMIA <[EMAIL PROTECTED]> wrote:
i ll try with an other computer,
thank you Robert!On 6/20/06, Robert Osfield < [EMAIL PROTECTED]> wrote:I'd suspect you are running out of texture memory. Trying an
experment of just using smaller sizes for you textures.
On 6/20/06, Nicolas REMIA < [EMAIL PROTECTED] > wrote:
> Hi, thank to answer :)
>
> the problem is i already loaded bigger textures (4096 * 4096), but they are
> automatically resized (there is a message in the commandline). For my skybox
> when i try with more than 1024 * 1024, there is:
>
> before Font::Glyph::subload(): detected OpenGL error 'invalid value
>
> and no texture on the skybox faces.
>
>
> On 6/20/06, Robert Osfield < [EMAIL PROTECTED]> wrote:
> > Hi Nicolas,
> >
> > Its sounds like your hardware doesn't support that size or that you
> > are out of memory. Are there any errors reported to the comandline?
> > Also check up on what your hardware is capable of.
> >
> > Don't bother playing with setTextureSize, this is something you should
> > only ever need to touch if your implementing your own custom texture
> > downloads.
> >
> > Robert.
> >
> > On 6/20/06, Nicolas REMIA < [EMAIL PROTECTED]> wrote:
> > > Hi all,
> > >
> > > Im using a osg::TextureCubeMap to make a skybox, but i have problems
> with
> > > textures size: if my texture size is more than 1024*1024, there is no
> > > textures on the skybox. I tried to play with functions like
> > > osg::TextureCubeMap::setTextureSize(), but still doesn
> t
> > > work.
> > >
> > > Anyone has an issue?
> > >
> > > Thank you in advance!
> > > --
> > > nicolas remia [[EMAIL PROTECTED]]
> > >
> > > _______________________________________________
> > > osg-users mailing list
> > > [email protected]
> > > http://openscenegraph.net/mailman/listinfo/osg-users
> > > http://www.openscenegraph.org/
> > >
> > >
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> > http://openscenegraph.net/mailman/listinfo/osg-users
> > http://www.openscenegraph.org/
> >
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
