Where is the VisibleStarSet Class?
-
Topic authorAli Reynolds
Where is the VisibleStarSet Class?
This class is mentioned in the developers guide as the method for only processing a portion of the stardb during each frame? For the life of me I can't find it and can't see how Celestia does this. It just seems to process the whole database each frame which can't be right? Renderer->renderstars->starDB.findvisiblestars->octree.findvisiblestars which has a for next loop that just goes processing through the whole lot?
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 9 months
- Location: Seattle, Washington, USA
The VisibleStarSet class was replaced by the star octree . . . The octree is faster, is more scalable, works for picking as well as rendering, and doesn't produce any of the annoying popping artifacts seen with the old VisibleStarSet method of culling. The developers' guide is woefully out of date.
--Chris
--Chris