Re: [Plib-devel] Nested LOD selectors almost works...
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-04-28 19:49:13
|
"Vallevand, Mark K" wrote: > > That's it! > > Yes, all of my tiles share the same origin. > However, the bounding sphere for each tile is in the > correct location. > > The solution is what? Insert a transform branch above the > LOD Selector? Above the LOD selector - yes. > A transform branch in place of the regular branch? No. It's a hard call. Some API's use the center of the bounding sphere as the point to measure LOD from - but the problem with that is that SSG auto-computes your bsphere's for you (sometimes on-the-fly) - and you have no control of where it ends up. I *could* (and perhaps in retrospect *should*) have added a user-specified origin for the LOD - but that would add an additional transform to the CULL - and if you are going to do that, you might as well add an ssgTransform...it's the same amount of math - and in many cases, the user wants a transform there anyway. So - well - it's a hard call...and it is the way it is. You can always spin off a derived class of your own of course. -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |