Hi,

Here is the code of frame()


Code:
void ViewerBase::frame(double simulationTime)
{
    if (_done) return;

    if (_firstFrame)
    {
        viewerInit();
        
        if (!isRealized())
        {
            realize();
        }
        
        _firstFrame = false;
    }
    advance(simulationTime);
    
    eventTraversal();
    updateTraversal();
    renderingTraversals();
}



It calls viewerInit() on the first frame. 
Don't I need to do that myself if I expand the code?
By looking at the viewerInit() code. I think I might be able to expand the code 
and init all the view I created.

Thank you!

Cheers,
Jimmy

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=16447#16447





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to