Where is the VisibleStarSet Class?

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Ali Reynolds

Where is the VisibleStarSet Class?

Post #1by Ali Reynolds » 23.07.2003, 11:47

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?

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Post #2by chris » 23.07.2003, 17:48

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


Return to “Development”