you can also control the LOD scale by viewer->getCamera()->setLODScale(value). Higher the value lower LODs will be closer -Nick
On Fri, Mar 26, 2010 at 3:57 PM, Ufuk Gun <[email protected]> wrote: > if you are going to render whole scene again, i did not understand where > culling is? > and also i dont believe culling far plane is a good idea if you are > rendering large area, the increment of performance will not be dramatic. > > i suggest you to draw terrain in different levels of details. i render > 100km x 100km terrain by LOD instead of culling them. > > > On Fri, Mar 26, 2010 at 3:15 PM, Joseba Rodriguez < > [email protected]> wrote: > >> Hi, >> >> I have a large terrain with other geometries on it, and im trying to do >> some culling on this scene. One of the things i´ve been trying is to keep a >> minimun far plane distance, but mountains on terrain are cut due to the far >> plane. >> For solving this i tried to render terrain and the geometry over it on >> different cameras with different fal planes, but i just get a black screen >> when i change the camera projection matrix. >> The idea is something like this: >> >> - Viewer -> MainCamera >> |-> Camera1 -> (terrain in render bin -5, big far) >> |-> Camera2 -> all the other things in scene, small >> far. >> >> Any idea of how can i make this? >> >> >> Thank you! >> >> Cheers, >> J >> >> ------------------ >> Read this topic online here: >> http://forum.openscenegraph.org/viewtopic.php?p=26191#26191 >> >> >> >> >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > > > > -- > Ufuk Gün > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

