Skip to content

taKana671/skybox

Repository files navigation

skybox

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.

Requirements

  • Panda3D 1.10.15

Environment

  • Python 3.12
  • Windows11

Skybox Demo

Image

Clone this repository with submodule.

git clone --recursive https://github.com/taKana671/skybox.git

Skybox from cubemap

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

Skybox from display region

>>>python skybox_demo_displayregion.py

Sphere sky from sphere map

>>>python spheresky_demo_spheremap.py

Controls:

  • 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.

Releases

No releases published

Packages

No packages published