Hi Robert,

I understand well what you are thinking, but if we will have a pagedLOD
scene, ... then the code wouldn't work be just setting the root node
(set(*NODE)). May we would be
apply the "redundant" code in a callback method of the pager (page in / out)
callback, the we are more correct. but the code works, isn't as efficent as
i could be

/adrian

2008/11/6 Robert Osfield <[EMAIL PROTECTED]>

> Hi Adrian,
>
> I'm reviewing your changes and find the following inclusion a addition
> to MovieEventHandler::handle(..) perplexing:
>
>    osgViewer::View* view = dynamic_cast<osgViewer::View*>(&aa);
>    if (view)
>    {
>        _imageStreamList.clear();
>        FindImageStreamsVisitor fisv(_imageStreamList);
>        view->getSceneData()->accept(fisv);
>    }
>
> Code already exists for finding the imagestreams in the set(Node*)
> method, so the _imageStreamList should be already populated, and
> should change during the life of the application, so the above code
> looks redundant.
>
> Robert.
>
>
> On Thu, Nov 6, 2008 at 9:14 AM, Adrian Egli OpenSceneGraph (3D)
> <[EMAIL PROTECTED]> wrote:
> > Hi Robert,
> >
> > I just change the osgMovie example to support also 3D models with movie
> > textures....
> >
> > /adrian
> >
> > --
> > ********************************************
> > Adrian Egli
> >
> > _______________________________________________
> > osg-submissions mailing list
> > [email protected]
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
> >
> >
> _______________________________________________
> osg-submissions mailing list
> [email protected]
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>



-- 
********************************************
Adrian Egli
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to