1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <title>RenderEnvironmentSettings</title> 7 <link rel="stylesheet" href="../css/mainpage.css" type="text/css" /> 8 </head> 9 <body> 10 <h1><RenderEnvironmentSettings></h1> 11 <h2>Description</h2> 12 <p> 13 These are the render environment settings.<br> The render environment has settings for cameras, lights and fogs. <br> The only information recorded in the render environment settings is binding information for referencing the settings from materials that will be used in rendering.<br> For example, it does not store the actual color information for lights, but just the reference paths.<br> 14 </p> 15 16 <h3>Camera Settings</h3> 17 <p> 18 These are settings for the referenced camera that serves as the viewpoint for environmental mapping. The material information specifies the camera being used as a number in a camera array. 19 </p> 20 <h3>Light Settings</h3> 21 <p> 22 Multiple lights are managed as group (as a light set). The light settings manage an array of light sets. The material information specifies the light being used as a number in the light set array. 23 24 </p> 25 <h3>Restrictions on light sets </h3> 26 <p> 27 The following restrictions apply to the number of lights can be specified at the same time inside light sets. 28 </p> 29 <center> 30 <table class="arguments"> 31 <thead> 32 <tr> 33 <th>Light Types</th> 34 <th>Maximum number</th> 35 </tr> 36 </thead> 37 <tbody> 38 <tr> 39 <th>Ambient light</th> 40 <th>1</th> 41 </tr> 42 <tr> 43 <th>Hemispherical Lights</th> 44 <th>1</th> 45 </tr> 46 <tr> 47 <th>Fragment light</th> 48 <th>8</th> 49 </tr> 50 <tr> 51 <th>Vertex lights</th> 52 <th>4</th> 53 </tr> 54 </tbody> 55 </table> 56 </center> 57 <h3>Fog Settings</h3> 58 <p> 59 Sets the fog. The fog settings manage an array of fogs. The material information specifies the fog being used as a number in a fog array. 60 </p> 61 62 <h2>Example Output</h2> 63 <table> 64 <tr> 65 <td><pre> 66<RenderEnvironmentSettings><br> 67 <RenderEnvironmentSetting Name="RenderEnvironmentSetting"><br> 68 <Cameras><br> 69 <SceneObjectReferenceSlot Index="0"><br> 70 <SceneObjectReference>Cameras["Camera"]</SceneObjectReference><br> 71 </SceneObjectReferenceSlot><br> 72 </Cameras><br> 73 <LightSets><br> 74 <LightSetSlot Index="0"><br> 75 <LightSet><br> 76 <Lights><br> 77 <SceneObjectReference>Lights["FragmentLight"]@file:FragmentLight.cenv</SceneObjectReference><br> 78 <SceneObjectReference>Lights["HemiSphereLight"]@file:HemisphereLight.cenv</SceneObjectReference><br> 79 <SceneObjectReference>Lights["VertexLight"]@file:VertexLight.cenv</SceneObjectReference><br> 80 <SceneObjectReference>Lights["PointLight"]@file:PointLight.cenv</SceneObjectReference><br> 81 <SceneObjectReference>Lights["SpotLight"]@file:SpotLight.cenv</SceneObjectReference><br> 82 <SceneObjectReference>Lights["AmbientLight"]@file:AmbientLight.cenv</SceneObjectReference><br> 83 </Lights><br> 84 </LightSet><br> 85 </LightSetSlot><br> 86 </LightSets><br> 87 <Fogs><br> 88 <SceneObjectReferenceSlot Index="0"><br> 89 <SceneObjectReference>Fogs["Fog"]</SceneObjectReference><br> 90 </SceneObjectReferenceSlot><br> 91 </Fogs><br> 92 </RenderEnvironmentSetting><br> 93</RenderEnvironmentSettings><br> 94 </pre></td> 95 </tr></table> 96 97 <hr><p>CONFIDENTIAL</p></body> 98</html>