I'm currently working on a 3D solar system project that involves a rocket orbiting around a planet. I attempted to follow this tutorial (https://www.youtube.com/watch?v=7fJgVyq0OYo) to create a skybox for my planets to exist within. Although no errors are displayed, and the skybox is being created, it is not positioned close to where my planets and rocket are located. I'm unsure of how to adjust my camera's starting position to be at the center of the scene. Here is the code snippet,
The Code snippet above will not display as "SceneUtils.js" seems to be incompatible. My project may have been developed using an older version of Three.js since it was created in a default project template (required for an assignment). When running the project locally on my machine, it works fine. Is there a way I can properly link the script so others can view the project?
---------------------EDIT-----------------------------------
Upon further investigation, I suspect the issue might lie with how I am rendering the scene. It appears that the skybox I generated was too large, causing parts of it to vanish when viewed from certain angles. Adjusting the size helped partially, but some sections still seem to disappear during rendering.
You can see an example of this issue in the screenshot here: https://i.sstatic.net/MH36C.jpg