On 1/4/07, Antoine Hue <[EMAIL PROTECTED]> wrote:
I agree that adding this functionality to the osgtext::Text would be simpler and more efficient. Still having no time to make a concrete proposal I got mute.
It would certainly not be more efficient, having to mutex access is one sure way to add performance bottlenecks, there is also the issue of data coherency - with one camera capturing one version of the text, and the adjoining camera capturing the updated version. The OSG is designed around single threaded update, multi-threaded cull-draw, if you break this usage style then you are one your own - you have to mutex (and even then its not perfect as above) or multi-buffer again which is not ideal. Just updating in the update phase and you get no problems. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
