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>&lt;RenderEnvironmentSettings&gt;</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&lt;RenderEnvironmentSettings&gt;<br>
67  &lt;RenderEnvironmentSetting Name=&quot;RenderEnvironmentSetting&quot;&gt;<br>
68    &lt;Cameras&gt;<br>
69      &lt;SceneObjectReferenceSlot Index=&quot;0&quot;&gt;<br>
70        &lt;SceneObjectReference&gt;Cameras[&quot;Camera&quot;]&lt;/SceneObjectReference&gt;<br>
71      &lt;/SceneObjectReferenceSlot&gt;<br>
72    &lt;/Cameras&gt;<br>
73    &lt;LightSets&gt;<br>
74      &lt;LightSetSlot Index=&quot;0&quot;&gt;<br>
75        &lt;LightSet&gt;<br>
76          &lt;Lights&gt;<br>
77            &lt;SceneObjectReference&gt;Lights[&quot;FragmentLight&quot;]@file:FragmentLight.cenv&lt;/SceneObjectReference&gt;<br>
78            &lt;SceneObjectReference&gt;Lights[&quot;HemiSphereLight&quot;]@file:HemisphereLight.cenv&lt;/SceneObjectReference&gt;<br>
79            &lt;SceneObjectReference&gt;Lights[&quot;VertexLight&quot;]@file:VertexLight.cenv&lt;/SceneObjectReference&gt;<br>
80            &lt;SceneObjectReference&gt;Lights[&quot;PointLight&quot;]@file:PointLight.cenv&lt;/SceneObjectReference&gt;<br>
81            &lt;SceneObjectReference&gt;Lights[&quot;SpotLight&quot;]@file:SpotLight.cenv&lt;/SceneObjectReference&gt;<br>
82            &lt;SceneObjectReference&gt;Lights[&quot;AmbientLight&quot;]@file:AmbientLight.cenv&lt;/SceneObjectReference&gt;<br>
83          &lt;/Lights&gt;<br>
84        &lt;/LightSet&gt;<br>
85      &lt;/LightSetSlot&gt;<br>
86    &lt;/LightSets&gt;<br>
87    &lt;Fogs&gt;<br>
88      &lt;SceneObjectReferenceSlot Index=&quot;0&quot;&gt;<br>
89        &lt;SceneObjectReference&gt;Fogs[&quot;Fog&quot;]&lt;/SceneObjectReference&gt;<br>
90      &lt;/SceneObjectReferenceSlot&gt;<br>
91    &lt;/Fogs&gt;<br>
92  &lt;/RenderEnvironmentSetting&gt;<br>
93&lt;/RenderEnvironmentSettings&gt;<br>
94		</pre></td>
95		</tr></table>
96
97	<hr><p>CONFIDENTIAL</p></body>
98</html>