Hi Robert,

thanks for the short replay. This would solve for me all the mentioned
"hidden" object issues i have at the moment.

/adegli

2007/6/19, Robert Osfield <[EMAIL PROTECTED]>:

Hi Adrian,

On 6/19/07, Adrian Egli <[EMAIL PROTECTED]> wrote:
> thanks, i have to use my own databasepager implementation for our
> application. So i need to insure that the may databasepager will be used
for
> each scene.  May i need just a possiblity to set the database pager
object and
> management with a factory object.
>
> i need just to use my own databasepager at the moment.

I believe a factory method would be a good way to solve this issue,
have the app developer set the prototype that osgViewer clones when it
needs a DatabasePager.  This would ensure that any new scene will get
the right type of pager.

The same approach could possible by used for constructing CullVisitor
and other similar components.

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

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

Reply via email to