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:
@@ -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.
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -223,10 +223,6 @@ void SceneView::cull()
|
||||
_cullVisitor->popCullViewState();
|
||||
|
||||
|
||||
// do any state sorting required.
|
||||
_renderStage->sort();
|
||||
|
||||
|
||||
const osg::EarthSky* earthSky = _cullVisitor->getEarthSky();
|
||||
if (earthSky)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user