From: Josh <axl...@gm...> - 2009-08-18 10:30:25
|
No this is wrong. Auto excluding from cull is also wrong. Right now nothing is culled. The nonchanging VBO batches tells you this. cn...@us... wrote: > Revision: 488 > http://hgengine.svn.sourceforge.net/hgengine/?rev=488&view=rev > Author: cnlohr > Date: 2009-08-18 05:39:50 +0000 (Tue, 18 Aug 2009) > > Log Message: > ----------- > fix dissappearing textures and assets. The problem is that we're > ignoring if we're actually culled or not, and just letting whatever > happen. > > Modified Paths: > -------------- > Mercury2/src/MercuryNode.cpp > > Modified: Mercury2/src/MercuryNode.cpp > =================================================================== > --- Mercury2/src/MercuryNode.cpp 2009-08-18 05:24:42 UTC (rev 487) > +++ Mercury2/src/MercuryNode.cpp 2009-08-18 05:39:50 UTC (rev 488) > @@ -277,7 +277,11 @@ > MercuryAsset& a = mai.Asset(); > if ( !a.ExcludeFromCull() ) > culled = culled && mai.Culled( a.DoCullingTests( mai.GetOcclusionResult(), matrix ) ); > - if ( !mai.Culled() ) a.PreRender(this); > + if ( !mai.Culled() ) > + { > + culled = false; > + a.PreRender(this); > + } > } > SetCulled( culled ); > } > > > This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Hgengine-cvs mailing list > Hge...@li... > https://lists.sourceforge.net/lists/listinfo/hgengine-cvs > |