Greetings,

My understanding is that most OpenGL implementations will not load a texture 
into VRAM until the time that it is first used. I was wondering, will a call to 
glBindTexture suffice for "using" a texture? If so, could I write a node 
visitor that just visits every StateSet in my graph, pulls out the texture 
objects, and calls Texture::TextureObject::bind()?

I'm trying to think of a way to preload all of my textures into VRAM so that I 
don't get a frame rate stutter the first time one object or another comes into 
view.

Thank you!

Cheers,
Frank

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=41678#41678





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to