On 6/21/06, Nicolas REMIA <[EMAIL PROTECTED]> wrote:
so,
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!
No, I hope you see the problem... its you are trying to use too large
texture for you machine, I pointed this out once before and now its up
to you to use sensible texture sizes.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/