This repository aims to create skyboxes from the cubemaps and images procedurally generated from noise using python and panda3D.
The noise images, cubemaps and cloud cover images were created using programs from NoiseTexture and its submodule texture_generator.
- Panda3D 1.10.15
- Python 3.12
- Windows11
git clone --recursive https://github.com/taKana671/skybox.git
Skybox image files bcreated with texture_generator must be renamed in advance.
before | after |
---|---|
img_front.png | img_2.png |
img_right.png | img_0.png |
img_back.png | img_3.png |
img_left.png | img_1.png |
img_top.png | img_4.png |
img_bottom.png | img_5.png |
# skybox using a cubemap
>>>python skybox_demo_cubemap.py
# skybox using a cubemap converted from sphere map
>>>python skybox_demo_spheremap.py
>>>python skybox_demo_displayregion.py
>>>python spheresky_demo_spheremap.py
- Press [Esc] to quit.
- Press [up arrow] key to go foward.
- Press [left arrow] key to turn left.
- Press [right arrow] key to turn right.
- Press [down arrow] key to go back.