[osg-users] Camera::setPreDrawCallback -> add?
Anders Backman
andersb at cs.umu.se
Fri Aug 31 06:33:42 PDT 2007
Hi.
In osgProducer there was the concept of a list of pre/post drawcallbacks.
In osgViewer there can be only one.
Is purposely done for a specific reason (performance, complexity, ..)?
It is not very uncommon to have several pre/post draw callbacks for a
viewer, and if you are developing an API where you internally to the API add
drawcallbacks, and the user of the api accesses the camera later on and do
camera->setPreDrawCallback(myCallback), well then you are fried.
So could it be possible to refactor that into a list of callbacks?
/Anders
--
________________________________________________________________
Anders Backman Email: andersb at cs.umu.se
HPC2N/VRlab Phone: +46 (0)90-786 9936
Umea university Cellular: +46 (0)70-392 64 67
S-901 87 UMEA SWEDEN Fax: +46 90-786 6126
http://www.cs.umu.se/~andersb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070831/3078a1ec/attachment-0001.htm
More information about the osg-users
mailing list