SchemeDT:Environment-map
From DocR23
Revision as of 22:07, 10 May 2010 by Adminwikispa (Talk | contribs)
Action
An environment-map is an entity used for rendering of reflections.
It consists conceptually of a six-sided cube of image data that is wrapped around reflective objects during rendering. It is created from image data files, from rendering the model, or from a procedure that generates image data. Environment-mapped reflections are not visible in the Basic Rendering Component, but are supported for compatibility with the Advanced Rendering Component. environment-map objects are saved and restored as part of the model.
Derivation
environment-map : entity : scheme-object
C++
External Rep
#[entity %d %d]
where the first integer is the entity ID, and the second integer is the part ID.
Example
; environment-map (data type) ; Create and inquire an environment-map object. (define map1 (environment-map:stripe 5 20 30)) ;; map1 (environment-map? map1) ;; #t