On Fri, Aug 10, 2012 at 12:50 PM, James Turner <zakal...@mac.com> wrote: > > On 9 Aug 2012, at 21:49, Stuart Buchanan wrote: > >>>> Do we have any ideas addressing these issues? > > Random thought, hopefully someone with more OSG knowledge can confirm or deny: > > Can we create the geometry (and unload it) in the cull-callback? I.e set an > appropriate bounding volume for the LOD node, and only build the geometry > when the node actually passes culling. And obviously after some number of > frames of being culled, unload the geometry again. > This is what osg::PagedLOD does, though we often forget that the paging of the higher LODs is triggered in the cull phase. > I can't recall what scene modifications are / are not permitted inside a > cull-callbacl, however. You would want to let the OSG loader mechanism and the database pager do their thing. Geometry doesn't have to be loaded from files...
Tim ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel