OpenGL Library for Delphi,
maintained by Eric Grange,
based on Mike Lischke's GLScene.

 

Reference Manual - TGLSkyBox

image

Provides a backdrop for a scene. The skybox is a cube (camera invariant cube) that surrounds a scene where a texture for each of the 6 faces of the skybox can be specified. For example it is possible to specify the texture for the clouds plane that is directly above the camera. As well as the 6 faces of the skybox cube there is an extra cloud plane. The cloud planes height and size can be set. Note that even though TGLSkyBox has a position and direction property these properties arent used.

image

Important TGLSkyBox properties include:
cloudsplaneoffset: Relative height of cloud plane above the ground.
cloudsplanesize: Relative size of the cloud plane
matnameback : Texture for the back face of the skybox cube
matnamebottom: Texture for the bottom face of the skybox cube
matnameclouds: Texture for the cloud plane.
matnamefront: Texture for the front face of the skybox cube
matnameleft: Texture for the left face of the skybox cube
matnameright: Texture for the right face of the skybox cube
matnametop: Texture for the top face of the skybox cube

Demo: CVS/Demos/rendering/SkyBox

Unit: GLSkyBox

Descends from TGLImmaterialSceneObject.


  Attachment Size Date Added
    
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.2
Page was generated in 0.0425 seconds