It won't replace DatabasePager, DatabasePager might utilise it though.

On 6/28/07, Smeenk, R.J.M. (Roland) <[EMAIL PROTECTED]> wrote:
Hi Robert,

I need to implement model management where part of the models can be
preloaded and precompiled and others can be loaded and compiled on
demand. I was thinking of (re)using the databasepager for this, but I am
not sure if this collides with the paging management. Are you planning
to replace the databasepager internal load compilation with you new
framework?

Kind regards,

Roland Smeenk

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Robert Osfield
> Sent: donderdag 28 juni 2007 11:14
> To: osg users
> Subject: Re: [osg-users] loading during rendering
>
> Hi Andreas,
>
> The way to minimize the delay is to precompile the subgraph
> before its merged.  The osgDB::DatasePager manages this when
> handling paged database, but in your case you are rolling you
> own data loading.
>
> It just so happens that this week I've been doing work on
> compiling OpenGL objects in a background thread, via a shared
> graphics context.
> I don't yet have a framework checked in for this, but this is
> the direction I'm going, you might still have to do a few
> things by hand, but it should be easier that at present.  One
> possibility is to extend ProxyNode to do load compilation in
> a background thread.
>
> Robert.
>
> On 6/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Hello everybody!
> >
> > I want to load and add new files during the rendering loop. The
> > ive-files are so big that the readNodeFile-function needs
> about 0.03
> > seconds to load the file and in worst case I have to load
> five of them.
> > I add the new nodes to a second scene graph that isn't rendered. Is
> > everything done, I switch the current rendered scene graph with the
> > second one but nevertheless the viewer stops for some milliseconds.
> >
> > Now I would like to know if there is a way to flip between the to
> > scene graphs without any delay. Or maybe there is another way of
> > adding new big files during rendering without delay (or
> even without
> > crashing the application ;)?
> > I hope somebody can help me.
> >
> > With kind regards,
> > --
> > Andreas Richter
> > _______________________________________________
> > 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/
>

This e-mail and its contents are subject to the DISCLAIMER at 
http://www.tno.nl/disclaimer/email.html
_______________________________________________
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