Background Tutorial

NOTE: THIS TUTORIAL APPLIES TO VASTPARK PLAYER VERSION 1.5 BUILD 50+

Create a skybox (cubemap) texture

  • A background asset is basically a really big box that always surrounds the viewer
  • This box can be unwrapped and mapped to a rectangular texture. This texture is really just 6 panels, each mapping to a side of the skybox.
  • Create your own texture (where its width is 6 times its height). Here is a skybox texture example from Horde3D in JPEG or DDS format.

Add the texture to the background asset

  • Unzip sky.background (you may need to rename the file extension to '.zip')
  • Replace the textures/skybox.dss texture with your own cubemap texture
  • Open the material/skybox.material.xml file, and replace the path textures/skybox.dds with your own texture file name
  • Re-zip the geomtry, materials, and textures directories along with the skybox.scene.xml into one file
  • Rename the zipped file's extension to .background, and your background asset is done!

background_example.zip - v1.5 background example asset and park (621.3 kB) Alexander Tulloh, 12/06/2010 05:38 am

box.png (7.5 kB) Alexander Tulloh, 12/06/2010 06:32 am

box_mapped.png (29.1 kB) Alexander Tulloh, 12/06/2010 06:32 am

skybox.dds - skybox as DDS (1 MB) Alexander Tulloh, 12/06/2010 06:32 am

skybox.jpg - skybox as JPEG (872.1 kB) Alexander Tulloh, 12/06/2010 06:32 am