Skybox

General

Skybox is a cube, where you can map 6 images specifically created.

Creating the skybox

There are a lot of tutorials on the internet how to create a skybox.

Using skybox in Dage

Skybox = TSkybox.Create();
Skybox.LoadTextures('Room01/skybox/atmosphere.jpg');

Skybox only has one procedure LoadTextures.

We want to use skybox named “atmosphere”. So we place inside folder data\Room01\skybox\ files:

  • atmosphere_UP.jpg –UP
  • atmosphere_DN.jpg –DOWN
  • atmosphere_BK.jpg –BACK
  • atmosphere_RT.jpg –RIGHT
  • atmosphere_LF.jpg –LEFT
  • atmosphere_FR.jpg –FRONT

Dage takes it from there.

Download demo

Download Data folder: Skybox Demo

Note: Use CTRL-Left mouse button to rotate around scene.

Back to top
skybox/advanced.txt · Last modified: 2009/06/27 19:16 by rahakasvi