Added a set of test runs to the makefiles and demos. The demos now have

titles relevenat to their function.
This commit is contained in:
Robert Osfield
2002-02-12 23:49:24 +00:00
parent 3ef8e4b0dd
commit bba95040d6
31 changed files with 65 additions and 5 deletions

View File

@@ -75,6 +75,8 @@ void DepthSortedBin::sort_local()
void DepthSortedBin::draw_local(osg::State& state,RenderLeaf*& previous)
{
sort_local();
if (_drawOrder==BACK_TO_FRONT)
{
// render the bin from back to front.

View File

@@ -149,6 +149,8 @@ void RenderBin::draw(osg::State& state,RenderLeaf*& previous)
void RenderBin::draw_local(osg::State& state,RenderLeaf*& previous)
{
sort_local();
// draw local bin.
for(RenderGraphList::iterator oitr=_renderGraphList.begin();
oitr!=_renderGraphList.end();

View File

@@ -223,10 +223,6 @@ void SceneView::cull()
_cullVisitor->popCullViewState();
// do any state sorting required.
_renderStage->sort();
const osg::EarthSky* earthSky = _cullVisitor->getEarthSky();
if (earthSky)
{