Next: , Previous: , Up: Graphics   [Contents][Index]


5.3.10 Skyboxes

Skyboxes are used as backgrounds in 3D environments, as well as a source of ambient lighting data when rendering 3D objects. The (chickadee graphics skybox) module provides an API for making skyboxes.

Procedure: make-skybox cube-map

Return a new skybox that uses cube-map for a texture.

Procedure: skybox? obj

Return #t if obj is a skybox.

Procedure: skybox-cube-map sky-box

Return the cube map of skybox.

Procedure: draw-skybox skybox view

Render skybox to the screen using the view matrix view.