Finding stars in a narrow section of sky
Posted: 11.02.2013, 00:58
Does anyone know of any celX method(s) that would enable the efficient identification of all stars in a narrow section of sky (let's say a 1 deg FOV) out to a specified distance?
Imagine pointing the hubble space telescope at an empty section of sky... how can we find out which stars (perhaps too faint or distant to be rendered) are in that cone of space out to thousands or even millions of parsecs.
By "efficient", I mean fast enough to execute within a render cycle. ie, without iterating through celestia:stars()
I believe that internally Celestia must have efficient "location aware" data-structures / methods which would allow this, but I don't believe they are exposed to CELX.
For example, when moving or rotating the observer, Celestia clearly knows which stars are in the FOV and is able to re-calculate and re-display their positions in real time, without processing the entire stars database on each render-cycle.
Imagine pointing the hubble space telescope at an empty section of sky... how can we find out which stars (perhaps too faint or distant to be rendered) are in that cone of space out to thousands or even millions of parsecs.
By "efficient", I mean fast enough to execute within a render cycle. ie, without iterating through celestia:stars()
I believe that internally Celestia must have efficient "location aware" data-structures / methods which would allow this, but I don't believe they are exposed to CELX.
For example, when moving or rotating the observer, Celestia clearly knows which stars are in the FOV and is able to re-calculate and re-display their positions in real time, without processing the entire stars database on each render-cycle.