Hi Guy,
Because of the complexity of the scene I wanted to gain a little
performance by using multiple draw threads, but I guess I will have
to choose between performance gain (i.e multi-threaded) and memory
consumption (i.e single-threaded).
Having a thread for each cull traversal increases the performance.
However, if you have a single graphics card, having a thread per camera
(each one with a graphics context) doesn't necessarily improve the
performance, what is more, it can degrade it. The reason is that each
thread will be competing for the graphics card, which is an exclusive
resource, and the driver is forced to perform many context switchs.
Regards,
Juan
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org