星表和天体坐标的可视化
有没有人有建议的方法来可视化星表(例如亮星表)中的数据。
我认为会有一个概念球体和一个视点,即在该球体的中心,有两个向量代表视图方向和视图地平线。
然后我会以某种方式从星表天体坐标中投影 坐标(作为球体上的点)到视口上,并根据该星星的色温绘制彩色像素。
任何人都可以提供任何提示或建议吗?
可以使用 OpenGL 中的广告牌来完成吗?
或者可能是 GL_POINTS
列表
Does anyone have a suggested methodology for visualising the data in a star catalogue such as the Bright Star Catalogue.
I'm thinking that there would be a notional sphere and a viewpoint i.e. at the center of that sphere with two vectors representing the view direction and view horizons.
I would then somehow project from the star catalog Celestial coordinates
coordinates (as point on the sphere) onto the viewport and draw a coloured pixel based on the color temperature of that star.
Can anyone provide any hints or suggestions?
Could it be done using billboards in OpenGL ?
or maybe a list of GL_POINTS
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您正在尝试将球体上的点投影到平面上 - 这就是地图投影的作用。是的,有很多资源可以做到这一点。如果找不到,请评论,我会为您挖掘一些。
对于天球,您是从内部向球体的“表面”看,而不是当您查看地图时,从地球表面上方的一个概念点向下看。但数学是一样的。对于天球,如果你只是想拍出漂亮的照片,你可以坚持球面数学,而不是所有必须应对像地球这样有凹凸的扁球体的丑陋的东西。
You are trying to project points on a sphere onto a plane -- which is what map projections do. So yes, there are lots of resources for doing just that. If you can't find any, comment and I'll dig some out for you.
For the celestial sphere you are looking out towards the 'surface' of the sphere from inside, rather than, when you look at a map, from a notional point above the surface of the Earth looking down. But the maths is the same. And for the celestial sphere if you are just making nice pictures, you can stick to spherical maths, not all the ugly stuff that has to cope with an oblate spheroid with bumps like the Earth.