Re: [Plib-devel] Can LOD selector branches be nested?
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-04-21 05:41:09
|
"Vallevand, Mark K" wrote: > > Can LOD selector branches be nested? Yep - certainly. You can nest arbitary glBranch derivitives to arbitary depth in any old order. If you put a LOD within a LOD then the node nearest the root of the scene graph will be evaluated - and one of it's kids selected for rendering depending on range. If that child node (or one of it's descendents) is a LOD node then it will then be evaluated and so on down the tree. Obviously it doesn't make much sense to have the first of those nodes having a transition range of (say) 0 to 100meters and the child LOD node having a 'wider' range (say) 0 to 150meters since the latter will always pass (unless there's a transform node inbetween or something). Generally, the child nodes would always have transition ranges that lie *within* the transition range of the parent LOD node. But there is nothing to stop you ignoring that advice if you have good reason. -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |