|
From: Christopher K. S. J. <ck...@di...> - 2002-04-04 04:23:21
|
Damian McGuckin wrote: > > I was interested in knowing who is the author of this > I wrote the recalcBSphere method, and the comment, but was not the original author of the VrmlNodeLOD class. Well, I definitely wrote the code, and I think I wrote that comment. It's been a while, but it sure reads like something I would write. Abject apologies if it was somebody else. > because I wish to > have an optional method of load whereby the load is delayed > until that level of the LOD is required to be rendered. > That would be good. > I have having trouble figuring out what structure I need > to manipulate to get this effect and any associated code > I need to write to get it fully implemented. > Yes, I had the same problem. Thus the current code :-) At the time I wrote it, I'm pretty sure I was thinking that you'd need a pre-render-traversal step that updated each LOD based on the current viewer position. You can't really do it during the render-traversal, because you might accidently cull something that was about to become visible because of an LOD change. I think. It was a while back. Does that sound right? Double checking, yeah, I think that's about right. Hey, didn't all the Nodes used to be in their own file? That sure made it a lot easier to find things. -- Christopher St. John ck...@di... DistribuTopia http://www.distributopia.com |