On Jun 26, 2007, at 10:27 AM, Brian wrote:

I think that I am running into a texture memory issue, but I would like to verify if that is the case or not. Is there a way built into OSG (still using 1.2) to query this information?

hi brian,

the real trick isn't whether or not osg can tell you, but whether the graphics driver will. you can go through and measure the overall texture data in-use in an osg scene, and even, through clever cull- callbacks, in-frame. however, this will only tell you how much raw memory is potentially required for the textures. what you don't learn is how those textures are actually paged in/out by the graphics hardware, and how much graphics memory is really available to use as texture memory on the card in the first place.

so to tell if you're running into a texture bottleneck in particular, you've got to do some profiling, and watch how much time is spent in texture downloads, per-frame. this can be aided with tools like those from nvidia:

 http://developer.nvidia.com/object/nvperfhud_home.html

and there are also some great tools on the mac as well, specifically DriverMonitor.

bob

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to