Tilt three.js background or tilt HDRI image?

依然范特西╮ 提交于 2021-01-29 14:53:12

问题


I'm doing a space sim with three.js, and I need to tilt the star map by ~23.44 degrees (earth's axial tilt) to orient it to the ecliptic. The source files are HDRI oriented to the celestial equator. Do I need Blender, and would that work? Or is there a procedural way in three.js to tilt the background? I have tried using a sphere geometry in three.js, and I have seen the other SO answer "solved" using a box geometry, but neither of these are suitable because I'm already working with astronomical distances and don't want any perspective distortion or processing overhead. Also, I would rather tilt 1 skybox rather than tweak data for hundreds if not thousands of astronomical objects. The ecliptic plane is de facto.

来源:https://stackoverflow.com/questions/60518346/tilt-three-js-background-or-tilt-hdri-image

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!