1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
---|
3 | <title>GameTools Illumination Module: DistanceCubeMapRenderTechnique Class Reference</title> |
---|
4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
5 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
6 | </head><body> |
---|
7 | <!-- Generated by Doxygen 1.4.6-NO --> |
---|
8 | <div class="tabs"> |
---|
9 | <ul> |
---|
10 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
11 | <li><a href="namespaces.html"><span>Namespaces</span></a></li> |
---|
12 | <li id="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
13 | </ul></div> |
---|
14 | <div class="tabs"> |
---|
15 | <ul> |
---|
16 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
17 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
18 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
19 | </ul></div> |
---|
20 | <h1>DistanceCubeMapRenderTechnique Class Reference</h1><!-- doxytag: class="DistanceCubeMapRenderTechnique" --><!-- doxytag: inherits="RenderTechnique" -->Base abstract class of rendering a distance cube map. |
---|
21 | <a href="#_details">More...</a> |
---|
22 | <p> |
---|
23 | <p>Inheritance diagram for DistanceCubeMapRenderTechnique: |
---|
24 | <p><center><img src="class_distance_cube_map_render_technique.png" usemap="#DistanceCubeMapRenderTechnique_map" border="0" alt=""></center> |
---|
25 | <map name="DistanceCubeMapRenderTechnique_map"> |
---|
26 | <area href="class_render_technique.html" alt="RenderTechnique" shape="rect" coords="0,0,244,24"> |
---|
27 | <area href="class_ogre_distance_cube_map_render_technique.html" alt="OgreDistanceCubeMapRenderTechnique" shape="rect" coords="0,112,244,136"> |
---|
28 | </map> |
---|
29 | <a href="class_distance_cube_map_render_technique-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
30 | <tr><td></td></tr> |
---|
31 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
32 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_distance_cube_map_render_technique.html#1b5faef2876ace8f07b96e4359be76af">DistanceCubeMapRenderTechnique</a> (unsigned long <a class="el" href="class_distance_cube_map_render_technique.html#876bc314690e57ae900198ff45a547fd">startFrame</a>, unsigned long <a class="el" href="class_distance_cube_map_render_technique.html#151794555cd05164b81cf6ee46ce1243">cubeMapUpdateInterval</a>, unsigned int <a class="el" href="class_distance_cube_map_render_technique.html#a29ca438eec28a942fb60bc8cc79daa4">cubeMapResolution</a>, bool <a class="el" href="class_distance_cube_map_render_technique.html#2566dc3bbb88815a8a2f6e336e512979">useDistCalc</a>, bool <a class="el" href="class_distance_cube_map_render_technique.html#937d780206004df4bd454331b34ca0ab">useFaceAngleCalc</a>, float <a class="el" href="class_distance_cube_map_render_technique.html#b55090c2446594a78a36f1122beb9c33">distTolerance</a>, float <a class="el" href="class_distance_cube_map_render_technique.html#4b9ebb9ec5cf246fb93fc0e1cf42f3c2">angleTolerance</a>, bool <a class="el" href="class_distance_cube_map_render_technique.html#7c9b2f1e77107ac88a4e1e1abc2472dc">updateAllFace</a>, <a class="el" href="class_elementary_renderable.html">ElementaryRenderable</a> *<a class="el" href="class_render_technique.html#888980e685779fa6801cda413e8c3637">parentRenderable</a>, <a class="el" href="class_technique_group.html">TechniqueGroup</a> *<a class="el" href="class_render_technique.html#f1246cf759d7b81eb25195834a7ad349">parentTechniqueGroup</a>)</td></tr> |
---|
33 | |
---|
34 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#1b5faef2876ace8f07b96e4359be76af"></a><br></td></tr> |
---|
35 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_distance_cube_map_render_technique.html#cd3ee50d23e6fa29f12aa07f7b54a6ed">update</a> (unsigned long frameNum)</td></tr> |
---|
36 | |
---|
37 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Updates the resources in the given frame. <a href="#cd3ee50d23e6fa29f12aa07f7b54a6ed"></a><br></td></tr> |
---|
38 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_distance_cube_map_render_technique.html#2d0ce8178f4ae42571dc8d94929a63f6">runUpdated</a> (RenderingRunType runType, <a class="el" href="class_rendering_run.html">RenderingRun</a> *run)</td></tr> |
---|
39 | |
---|
40 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Called after one of he shared runs updates. <a href="#2d0ce8178f4ae42571dc8d94929a63f6"></a><br></td></tr> |
---|
41 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_distance_cube_map_render_technique.html#4c551b6d72c3ffa1d92948c6b31f6a96">runChanged</a> (RenderingRunType runType, <a class="el" href="class_rendering_run.html">RenderingRun</a> *run)</td></tr> |
---|
42 | |
---|
43 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Called after one of he shared runs changes. <a href="#4c551b6d72c3ffa1d92948c6b31f6a96"></a><br></td></tr> |
---|
44 | <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> |
---|
45 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_distance_cube_map_render_technique.html#6c21fd486f7bea8baf44640e8e400592">distanceCubeMapRunChanged</a> (<a class="el" href="class_rendering_run.html">RenderingRun</a> *run)=0</td></tr> |
---|
46 | |
---|
47 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Called if the changed run is a <a class="el" href="class_color_cube_map_rendering_run.html">ColorCubeMapRenderingRun</a>. <a href="#6c21fd486f7bea8baf44640e8e400592"></a><br></td></tr> |
---|
48 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_distance_cube_map_render_technique.html#5bcbd6c44375a91a20f9a9e00af2bd3c">distanceCubeMapRunUpdated</a> (<a class="el" href="class_rendering_run.html">RenderingRun</a> *run)=0</td></tr> |
---|
49 | |
---|
50 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Called if the changed run is a <a class="el" href="class_color_cube_map_rendering_run.html">ColorCubeMapRenderingRun</a>. <a href="#5bcbd6c44375a91a20f9a9e00af2bd3c"></a><br></td></tr> |
---|
51 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="class_rendering_run.html">RenderingRun</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_distance_cube_map_render_technique.html#b6e465de84149d0f3ec5d3e2ca0df7d6">createDistanceCubeMapRun</a> ()=0</td></tr> |
---|
52 | |
---|
53 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="class_color_cube_map_rendering_run.html">ColorCubeMapRenderingRun</a>. <a href="#b6e465de84149d0f3ec5d3e2ca0df7d6"></a><br></td></tr> |
---|
54 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
55 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_distance_cube_map_render_technique.html#2566dc3bbb88815a8a2f6e336e512979">useDistCalc</a></td></tr> |
---|
56 | |
---|
57 | <tr><td class="mdescLeft"> </td><td class="mdescRight">a flag to skip cube face update if object is far away or too small. <a href="#2566dc3bbb88815a8a2f6e336e512979"></a><br></td></tr> |
---|
58 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_distance_cube_map_render_technique.html#937d780206004df4bd454331b34ca0ab">useFaceAngleCalc</a></td></tr> |
---|
59 | |
---|
60 | <tr><td class="mdescLeft"> </td><td class="mdescRight">a flag to skip cube face update the face is neglible. <a href="#937d780206004df4bd454331b34ca0ab"></a><br></td></tr> |
---|
61 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_distance_cube_map_render_technique.html#b55090c2446594a78a36f1122beb9c33">distTolerance</a></td></tr> |
---|
62 | |
---|
63 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A value used in face skip test. <a href="#b55090c2446594a78a36f1122beb9c33"></a><br></td></tr> |
---|
64 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_distance_cube_map_render_technique.html#4b9ebb9ec5cf246fb93fc0e1cf42f3c2">angleTolerance</a></td></tr> |
---|
65 | |
---|
66 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A value used in face skip test. <a href="#4b9ebb9ec5cf246fb93fc0e1cf42f3c2"></a><br></td></tr> |
---|
67 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c9b2f1e77107ac88a4e1e1abc2472dc"></a><!-- doxytag: member="DistanceCubeMapRenderTechnique::updateAllFace" ref="7c9b2f1e77107ac88a4e1e1abc2472dc" args="" --> |
---|
68 | bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_distance_cube_map_render_technique.html#7c9b2f1e77107ac88a4e1e1abc2472dc">updateAllFace</a></td></tr> |
---|
69 | |
---|
70 | <tr><td class="mdescLeft"> </td><td class="mdescRight">defines if all cubemap faces should be updated in a frame or only one face per frame <br></td></tr> |
---|
71 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="151794555cd05164b81cf6ee46ce1243"></a><!-- doxytag: member="DistanceCubeMapRenderTechnique::cubeMapUpdateInterval" ref="151794555cd05164b81cf6ee46ce1243" args="" --> |
---|
72 | unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="class_distance_cube_map_render_technique.html#151794555cd05164b81cf6ee46ce1243">cubeMapUpdateInterval</a></td></tr> |
---|
73 | |
---|
74 | <tr><td class="mdescLeft"> </td><td class="mdescRight">color-cubemap update frequency <br></td></tr> |
---|
75 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a29ca438eec28a942fb60bc8cc79daa4"></a><!-- doxytag: member="DistanceCubeMapRenderTechnique::cubeMapResolution" ref="a29ca438eec28a942fb60bc8cc79daa4" args="" --> |
---|
76 | unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_distance_cube_map_render_technique.html#a29ca438eec28a942fb60bc8cc79daa4">cubeMapResolution</a></td></tr> |
---|
77 | |
---|
78 | <tr><td class="mdescLeft"> </td><td class="mdescRight">color-cubemap resolution <br></td></tr> |
---|
79 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="876bc314690e57ae900198ff45a547fd"></a><!-- doxytag: member="DistanceCubeMapRenderTechnique::startFrame" ref="876bc314690e57ae900198ff45a547fd" args="" --> |
---|
80 | unsigned long </td><td class="memItemRight" valign="bottom"><a class="el" href="class_distance_cube_map_render_technique.html#876bc314690e57ae900198ff45a547fd">startFrame</a></td></tr> |
---|
81 | |
---|
82 | <tr><td class="mdescLeft"> </td><td class="mdescRight">offset in frame number used during update <br></td></tr> |
---|
83 | </table> |
---|
84 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
85 | Base abstract class of rendering a distance cube map. |
---|
86 | <p> |
---|
87 | This technique defines that the final rendering of an object needs a cubmap of the distance of the surrounding environment from the cubemap center. |
---|
88 | <p> |
---|
89 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
90 | <a class="anchor" name="1b5faef2876ace8f07b96e4359be76af"></a><!-- doxytag: member="DistanceCubeMapRenderTechnique::DistanceCubeMapRenderTechnique" ref="1b5faef2876ace8f07b96e4359be76af" args="(unsigned long startFrame, unsigned long cubeMapUpdateInterval, unsigned int cubeMapResolution, bool useDistCalc, bool useFaceAngleCalc, float distTolerance, float angleTolerance, bool updateAllFace, ElementaryRenderable *parentRenderable, TechniqueGroup *parentTechniqueGroup)" --><p> |
---|
91 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
92 | <tr> |
---|
93 | <td class="mdRow"> |
---|
94 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
95 | <tr> |
---|
96 | <td class="md" nowrap valign="top">DistanceCubeMapRenderTechnique::DistanceCubeMapRenderTechnique </td> |
---|
97 | <td class="md" valign="top">( </td> |
---|
98 | <td class="md" nowrap valign="top">unsigned long </td> |
---|
99 | <td class="mdname" nowrap> <em>startFrame</em>, </td> |
---|
100 | </tr> |
---|
101 | <tr> |
---|
102 | <td class="md" nowrap align="right"></td> |
---|
103 | <td class="md"></td> |
---|
104 | <td class="md" nowrap>unsigned long </td> |
---|
105 | <td class="mdname" nowrap> <em>cubeMapUpdateInterval</em>, </td> |
---|
106 | </tr> |
---|
107 | <tr> |
---|
108 | <td class="md" nowrap align="right"></td> |
---|
109 | <td class="md"></td> |
---|
110 | <td class="md" nowrap>unsigned int </td> |
---|
111 | <td class="mdname" nowrap> <em>cubeMapResolution</em>, </td> |
---|
112 | </tr> |
---|
113 | <tr> |
---|
114 | <td class="md" nowrap align="right"></td> |
---|
115 | <td class="md"></td> |
---|
116 | <td class="md" nowrap>bool </td> |
---|
117 | <td class="mdname" nowrap> <em>useDistCalc</em>, </td> |
---|
118 | </tr> |
---|
119 | <tr> |
---|
120 | <td class="md" nowrap align="right"></td> |
---|
121 | <td class="md"></td> |
---|
122 | <td class="md" nowrap>bool </td> |
---|
123 | <td class="mdname" nowrap> <em>useFaceAngleCalc</em>, </td> |
---|
124 | </tr> |
---|
125 | <tr> |
---|
126 | <td class="md" nowrap align="right"></td> |
---|
127 | <td class="md"></td> |
---|
128 | <td class="md" nowrap>float </td> |
---|
129 | <td class="mdname" nowrap> <em>distTolerance</em>, </td> |
---|
130 | </tr> |
---|
131 | <tr> |
---|
132 | <td class="md" nowrap align="right"></td> |
---|
133 | <td class="md"></td> |
---|
134 | <td class="md" nowrap>float </td> |
---|
135 | <td class="mdname" nowrap> <em>angleTolerance</em>, </td> |
---|
136 | </tr> |
---|
137 | <tr> |
---|
138 | <td class="md" nowrap align="right"></td> |
---|
139 | <td class="md"></td> |
---|
140 | <td class="md" nowrap>bool </td> |
---|
141 | <td class="mdname" nowrap> <em>updateAllFace</em>, </td> |
---|
142 | </tr> |
---|
143 | <tr> |
---|
144 | <td class="md" nowrap align="right"></td> |
---|
145 | <td class="md"></td> |
---|
146 | <td class="md" nowrap><a class="el" href="class_elementary_renderable.html">ElementaryRenderable</a> * </td> |
---|
147 | <td class="mdname" nowrap> <em>parentRenderable</em>, </td> |
---|
148 | </tr> |
---|
149 | <tr> |
---|
150 | <td class="md" nowrap align="right"></td> |
---|
151 | <td class="md"></td> |
---|
152 | <td class="md" nowrap><a class="el" href="class_technique_group.html">TechniqueGroup</a> * </td> |
---|
153 | <td class="mdname" nowrap> <em>parentTechniqueGroup</em></td> |
---|
154 | </tr> |
---|
155 | <tr> |
---|
156 | <td class="md"></td> |
---|
157 | <td class="md">) </td> |
---|
158 | <td class="md" colspan="2"></td> |
---|
159 | </tr> |
---|
160 | </table> |
---|
161 | </td> |
---|
162 | </tr> |
---|
163 | </table> |
---|
164 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
165 | <tr> |
---|
166 | <td> |
---|
167 | |
---|
168 | </td> |
---|
169 | <td> |
---|
170 | |
---|
171 | <p> |
---|
172 | Constructor. |
---|
173 | <p> |
---|
174 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
175 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
176 | <tr><td valign="top"></td><td valign="top"><em>startFrame</em> </td><td>adds an offset to the current frame number to help evenly distribute updates between frames </td></tr> |
---|
177 | <tr><td valign="top"></td><td valign="top"><em>cubeMapUpdateInterval</em> </td><td>update frequency </td></tr> |
---|
178 | <tr><td valign="top"></td><td valign="top"><em>cubeMapResolution</em> </td><td>distance cubemap resolution </td></tr> |
---|
179 | <tr><td valign="top"></td><td valign="top"><em>useDistCalc</em> </td><td>flag to skip cube face update if object is far away </td></tr> |
---|
180 | <tr><td valign="top"></td><td valign="top"><em>useFaceAngleCalc</em> </td><td>flag to skip cube face update if face is neglible </td></tr> |
---|
181 | <tr><td valign="top"></td><td valign="top"><em>distTolerance</em> </td><td>distance tolerance used in face skip </td></tr> |
---|
182 | <tr><td valign="top"></td><td valign="top"><em>angleTolerance</em> </td><td>angle tolerance used in face skip </td></tr> |
---|
183 | <tr><td valign="top"></td><td valign="top"><em>updateAllFace</em> </td><td>defines if all cubemap faces should be updated in a frame or only one face per frame </td></tr> |
---|
184 | <tr><td valign="top"></td><td valign="top"><em>parentRenderable</em> </td><td>the object to operate on </td></tr> |
---|
185 | <tr><td valign="top"></td><td valign="top"><em>parentTechniqueGroup</em> </td><td>the <a class="el" href="class_technique_group.html">TechniqueGroup</a> this RenderedTechnique is attached to </td></tr> |
---|
186 | </table> |
---|
187 | </dl> |
---|
188 | </td> |
---|
189 | </tr> |
---|
190 | </table> |
---|
191 | <hr><h2>Member Function Documentation</h2> |
---|
192 | <a class="anchor" name="b6e465de84149d0f3ec5d3e2ca0df7d6"></a><!-- doxytag: member="DistanceCubeMapRenderTechnique::createDistanceCubeMapRun" ref="b6e465de84149d0f3ec5d3e2ca0df7d6" args="()=0" --><p> |
---|
193 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
194 | <tr> |
---|
195 | <td class="mdRow"> |
---|
196 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
197 | <tr> |
---|
198 | <td class="md" nowrap valign="top">virtual <a class="el" href="class_rendering_run.html">RenderingRun</a>* DistanceCubeMapRenderTechnique::createDistanceCubeMapRun </td> |
---|
199 | <td class="md" valign="top">( </td> |
---|
200 | <td class="mdname1" valign="top" nowrap> </td> |
---|
201 | <td class="md" valign="top"> ) </td> |
---|
202 | <td class="md" nowrap><code> [protected, pure virtual]</code></td> |
---|
203 | </tr> |
---|
204 | </table> |
---|
205 | </td> |
---|
206 | </tr> |
---|
207 | </table> |
---|
208 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
209 | <tr> |
---|
210 | <td> |
---|
211 | |
---|
212 | </td> |
---|
213 | <td> |
---|
214 | |
---|
215 | <p> |
---|
216 | Creates a <a class="el" href="class_color_cube_map_rendering_run.html">ColorCubeMapRenderingRun</a>. |
---|
217 | <p> |
---|
218 | <dl compact><dt><b>Returns:</b></dt><dd>the new <a class="el" href="class_color_cube_map_rendering_run.html">ColorCubeMapRenderingRun</a> instance. </dd></dl> |
---|
219 | |
---|
220 | <p> |
---|
221 | Implemented in <a class="el" href="class_ogre_distance_cube_map_render_technique.html#27372dfb3385f71e97ff34263142613d">OgreDistanceCubeMapRenderTechnique</a>. </td> |
---|
222 | </tr> |
---|
223 | </table> |
---|
224 | <a class="anchor" name="6c21fd486f7bea8baf44640e8e400592"></a><!-- doxytag: member="DistanceCubeMapRenderTechnique::distanceCubeMapRunChanged" ref="6c21fd486f7bea8baf44640e8e400592" args="(RenderingRun *run)=0" --><p> |
---|
225 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
226 | <tr> |
---|
227 | <td class="mdRow"> |
---|
228 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
229 | <tr> |
---|
230 | <td class="md" nowrap valign="top">virtual void DistanceCubeMapRenderTechnique::distanceCubeMapRunChanged </td> |
---|
231 | <td class="md" valign="top">( </td> |
---|
232 | <td class="md" nowrap valign="top"><a class="el" href="class_rendering_run.html">RenderingRun</a> * </td> |
---|
233 | <td class="mdname1" valign="top" nowrap> <em>run</em> </td> |
---|
234 | <td class="md" valign="top"> ) </td> |
---|
235 | <td class="md" nowrap><code> [protected, pure virtual]</code></td> |
---|
236 | </tr> |
---|
237 | </table> |
---|
238 | </td> |
---|
239 | </tr> |
---|
240 | </table> |
---|
241 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
242 | <tr> |
---|
243 | <td> |
---|
244 | |
---|
245 | </td> |
---|
246 | <td> |
---|
247 | |
---|
248 | <p> |
---|
249 | Called if the changed run is a <a class="el" href="class_color_cube_map_rendering_run.html">ColorCubeMapRenderingRun</a>. |
---|
250 | <p> |
---|
251 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
252 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
253 | <tr><td valign="top"></td><td valign="top"><em>run</em> </td><td>pointer to the changed <a class="el" href="class_color_cube_map_rendering_run.html">ColorCubeMapRenderingRun</a> </td></tr> |
---|
254 | </table> |
---|
255 | </dl> |
---|
256 | |
---|
257 | <p> |
---|
258 | Implemented in <a class="el" href="class_ogre_distance_cube_map_render_technique.html#b555e5164ea394455fd5add3a087f7e7">OgreDistanceCubeMapRenderTechnique</a>. </td> |
---|
259 | </tr> |
---|
260 | </table> |
---|
261 | <a class="anchor" name="5bcbd6c44375a91a20f9a9e00af2bd3c"></a><!-- doxytag: member="DistanceCubeMapRenderTechnique::distanceCubeMapRunUpdated" ref="5bcbd6c44375a91a20f9a9e00af2bd3c" args="(RenderingRun *run)=0" --><p> |
---|
262 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
263 | <tr> |
---|
264 | <td class="mdRow"> |
---|
265 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
266 | <tr> |
---|
267 | <td class="md" nowrap valign="top">virtual void DistanceCubeMapRenderTechnique::distanceCubeMapRunUpdated </td> |
---|
268 | <td class="md" valign="top">( </td> |
---|
269 | <td class="md" nowrap valign="top"><a class="el" href="class_rendering_run.html">RenderingRun</a> * </td> |
---|
270 | <td class="mdname1" valign="top" nowrap> <em>run</em> </td> |
---|
271 | <td class="md" valign="top"> ) </td> |
---|
272 | <td class="md" nowrap><code> [protected, pure virtual]</code></td> |
---|
273 | </tr> |
---|
274 | </table> |
---|
275 | </td> |
---|
276 | </tr> |
---|
277 | </table> |
---|
278 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
279 | <tr> |
---|
280 | <td> |
---|
281 | |
---|
282 | </td> |
---|
283 | <td> |
---|
284 | |
---|
285 | <p> |
---|
286 | Called if the changed run is a <a class="el" href="class_color_cube_map_rendering_run.html">ColorCubeMapRenderingRun</a>. |
---|
287 | <p> |
---|
288 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
289 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
290 | <tr><td valign="top"></td><td valign="top"><em>run</em> </td><td>pointer to the changed <a class="el" href="class_color_cube_map_rendering_run.html">ColorCubeMapRenderingRun</a> </td></tr> |
---|
291 | </table> |
---|
292 | </dl> |
---|
293 | |
---|
294 | <p> |
---|
295 | Implemented in <a class="el" href="class_ogre_distance_cube_map_render_technique.html#1af356a0aa335a591d79cf5c6e290fef">OgreDistanceCubeMapRenderTechnique</a>. </td> |
---|
296 | </tr> |
---|
297 | </table> |
---|
298 | <a class="anchor" name="4c551b6d72c3ffa1d92948c6b31f6a96"></a><!-- doxytag: member="DistanceCubeMapRenderTechnique::runChanged" ref="4c551b6d72c3ffa1d92948c6b31f6a96" args="(RenderingRunType runType, RenderingRun *run)" --><p> |
---|
299 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
300 | <tr> |
---|
301 | <td class="mdRow"> |
---|
302 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
303 | <tr> |
---|
304 | <td class="md" nowrap valign="top">void DistanceCubeMapRenderTechnique::runChanged </td> |
---|
305 | <td class="md" valign="top">( </td> |
---|
306 | <td class="md" nowrap valign="top">RenderingRunType </td> |
---|
307 | <td class="mdname" nowrap> <em>runType</em>, </td> |
---|
308 | </tr> |
---|
309 | <tr> |
---|
310 | <td class="md" nowrap align="right"></td> |
---|
311 | <td class="md"></td> |
---|
312 | <td class="md" nowrap><a class="el" href="class_rendering_run.html">RenderingRun</a> * </td> |
---|
313 | <td class="mdname" nowrap> <em>run</em></td> |
---|
314 | </tr> |
---|
315 | <tr> |
---|
316 | <td class="md"></td> |
---|
317 | <td class="md">) </td> |
---|
318 | <td class="md" colspan="2"><code> [virtual]</code></td> |
---|
319 | </tr> |
---|
320 | </table> |
---|
321 | </td> |
---|
322 | </tr> |
---|
323 | </table> |
---|
324 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
325 | <tr> |
---|
326 | <td> |
---|
327 | |
---|
328 | </td> |
---|
329 | <td> |
---|
330 | |
---|
331 | <p> |
---|
332 | Called after one of he shared runs changes. |
---|
333 | <p> |
---|
334 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
335 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
336 | <tr><td valign="top"></td><td valign="top"><em>runType</em> </td><td>enum describing the type of the changed run </td></tr> |
---|
337 | <tr><td valign="top"></td><td valign="top"><em>run</em> </td><td>pointer to the changed <a class="el" href="class_rendering_run.html">RenderingRun</a> </td></tr> |
---|
338 | </table> |
---|
339 | </dl> |
---|
340 | |
---|
341 | <p> |
---|
342 | Reimplemented from <a class="el" href="class_render_technique.html#ea8dc4069cabac91699c81d2ed9f8fe5">RenderTechnique</a>. </td> |
---|
343 | </tr> |
---|
344 | </table> |
---|
345 | <a class="anchor" name="2d0ce8178f4ae42571dc8d94929a63f6"></a><!-- doxytag: member="DistanceCubeMapRenderTechnique::runUpdated" ref="2d0ce8178f4ae42571dc8d94929a63f6" args="(RenderingRunType runType, RenderingRun *run)" --><p> |
---|
346 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
347 | <tr> |
---|
348 | <td class="mdRow"> |
---|
349 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
350 | <tr> |
---|
351 | <td class="md" nowrap valign="top">void DistanceCubeMapRenderTechnique::runUpdated </td> |
---|
352 | <td class="md" valign="top">( </td> |
---|
353 | <td class="md" nowrap valign="top">RenderingRunType </td> |
---|
354 | <td class="mdname" nowrap> <em>runType</em>, </td> |
---|
355 | </tr> |
---|
356 | <tr> |
---|
357 | <td class="md" nowrap align="right"></td> |
---|
358 | <td class="md"></td> |
---|
359 | <td class="md" nowrap><a class="el" href="class_rendering_run.html">RenderingRun</a> * </td> |
---|
360 | <td class="mdname" nowrap> <em>run</em></td> |
---|
361 | </tr> |
---|
362 | <tr> |
---|
363 | <td class="md"></td> |
---|
364 | <td class="md">) </td> |
---|
365 | <td class="md" colspan="2"><code> [virtual]</code></td> |
---|
366 | </tr> |
---|
367 | </table> |
---|
368 | </td> |
---|
369 | </tr> |
---|
370 | </table> |
---|
371 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
372 | <tr> |
---|
373 | <td> |
---|
374 | |
---|
375 | </td> |
---|
376 | <td> |
---|
377 | |
---|
378 | <p> |
---|
379 | Called after one of he shared runs updates. |
---|
380 | <p> |
---|
381 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
382 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
383 | <tr><td valign="top"></td><td valign="top"><em>runType</em> </td><td>enum describing the type of the updated run </td></tr> |
---|
384 | <tr><td valign="top"></td><td valign="top"><em>run</em> </td><td>pointer to the updated <a class="el" href="class_rendering_run.html">RenderingRun</a> </td></tr> |
---|
385 | </table> |
---|
386 | </dl> |
---|
387 | |
---|
388 | <p> |
---|
389 | Reimplemented from <a class="el" href="class_render_technique.html#e65ed49b6d73917cfa8adcbc4c4b2d54">RenderTechnique</a>. </td> |
---|
390 | </tr> |
---|
391 | </table> |
---|
392 | <a class="anchor" name="cd3ee50d23e6fa29f12aa07f7b54a6ed"></a><!-- doxytag: member="DistanceCubeMapRenderTechnique::update" ref="cd3ee50d23e6fa29f12aa07f7b54a6ed" args="(unsigned long frameNum)" --><p> |
---|
393 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
394 | <tr> |
---|
395 | <td class="mdRow"> |
---|
396 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
397 | <tr> |
---|
398 | <td class="md" nowrap valign="top">void DistanceCubeMapRenderTechnique::update </td> |
---|
399 | <td class="md" valign="top">( </td> |
---|
400 | <td class="md" nowrap valign="top">unsigned long </td> |
---|
401 | <td class="mdname1" valign="top" nowrap> <em>frameNum</em> </td> |
---|
402 | <td class="md" valign="top"> ) </td> |
---|
403 | <td class="md" nowrap><code> [virtual]</code></td> |
---|
404 | </tr> |
---|
405 | </table> |
---|
406 | </td> |
---|
407 | </tr> |
---|
408 | </table> |
---|
409 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
410 | <tr> |
---|
411 | <td> |
---|
412 | |
---|
413 | </td> |
---|
414 | <td> |
---|
415 | |
---|
416 | <p> |
---|
417 | Updates the resources in the given frame. |
---|
418 | <p> |
---|
419 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
420 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
421 | <tr><td valign="top"></td><td valign="top"><em>frameNum</em> </td><td>the actual framenumber </td></tr> |
---|
422 | </table> |
---|
423 | </dl> |
---|
424 | |
---|
425 | <p> |
---|
426 | Reimplemented from <a class="el" href="class_render_technique.html#1599dc6e287d7c87a71c8b5bfbd871f8">RenderTechnique</a>. |
---|
427 | <p> |
---|
428 | Reimplemented in <a class="el" href="class_ogre_distance_cube_map_render_technique.html#2dac178431b973cf7420c7bd7e87666a">OgreDistanceCubeMapRenderTechnique</a>. </td> |
---|
429 | </tr> |
---|
430 | </table> |
---|
431 | <hr><h2>Member Data Documentation</h2> |
---|
432 | <a class="anchor" name="4b9ebb9ec5cf246fb93fc0e1cf42f3c2"></a><!-- doxytag: member="DistanceCubeMapRenderTechnique::angleTolerance" ref="4b9ebb9ec5cf246fb93fc0e1cf42f3c2" args="" --><p> |
---|
433 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
434 | <tr> |
---|
435 | <td class="mdRow"> |
---|
436 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
437 | <tr> |
---|
438 | <td class="md" nowrap valign="top">float <a class="el" href="class_distance_cube_map_render_technique.html#4b9ebb9ec5cf246fb93fc0e1cf42f3c2">DistanceCubeMapRenderTechnique::angleTolerance</a><code> [protected]</code> </td> |
---|
439 | </tr> |
---|
440 | </table> |
---|
441 | </td> |
---|
442 | </tr> |
---|
443 | </table> |
---|
444 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
445 | <tr> |
---|
446 | <td> |
---|
447 | |
---|
448 | </td> |
---|
449 | <td> |
---|
450 | |
---|
451 | <p> |
---|
452 | A value used in face skip test. |
---|
453 | <p> |
---|
454 | The higher this value gets the more precise, but slower the method will be. </td> |
---|
455 | </tr> |
---|
456 | </table> |
---|
457 | <a class="anchor" name="b55090c2446594a78a36f1122beb9c33"></a><!-- doxytag: member="DistanceCubeMapRenderTechnique::distTolerance" ref="b55090c2446594a78a36f1122beb9c33" args="" --><p> |
---|
458 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
459 | <tr> |
---|
460 | <td class="mdRow"> |
---|
461 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
462 | <tr> |
---|
463 | <td class="md" nowrap valign="top">float <a class="el" href="class_distance_cube_map_render_technique.html#b55090c2446594a78a36f1122beb9c33">DistanceCubeMapRenderTechnique::distTolerance</a><code> [protected]</code> </td> |
---|
464 | </tr> |
---|
465 | </table> |
---|
466 | </td> |
---|
467 | </tr> |
---|
468 | </table> |
---|
469 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
470 | <tr> |
---|
471 | <td> |
---|
472 | |
---|
473 | </td> |
---|
474 | <td> |
---|
475 | |
---|
476 | <p> |
---|
477 | A value used in face skip test. |
---|
478 | <p> |
---|
479 | The higher this value gets the more precise, but slower the method will be. </td> |
---|
480 | </tr> |
---|
481 | </table> |
---|
482 | <a class="anchor" name="2566dc3bbb88815a8a2f6e336e512979"></a><!-- doxytag: member="DistanceCubeMapRenderTechnique::useDistCalc" ref="2566dc3bbb88815a8a2f6e336e512979" args="" --><p> |
---|
483 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
484 | <tr> |
---|
485 | <td class="mdRow"> |
---|
486 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
487 | <tr> |
---|
488 | <td class="md" nowrap valign="top">bool <a class="el" href="class_distance_cube_map_render_technique.html#2566dc3bbb88815a8a2f6e336e512979">DistanceCubeMapRenderTechnique::useDistCalc</a><code> [protected]</code> </td> |
---|
489 | </tr> |
---|
490 | </table> |
---|
491 | </td> |
---|
492 | </tr> |
---|
493 | </table> |
---|
494 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
495 | <tr> |
---|
496 | <td> |
---|
497 | |
---|
498 | </td> |
---|
499 | <td> |
---|
500 | |
---|
501 | <p> |
---|
502 | a flag to skip cube face update if object is far away or too small. |
---|
503 | <p> |
---|
504 | <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_distance_cube_map_render_technique.html#b55090c2446594a78a36f1122beb9c33">distTolerance</a> </dd></dl> |
---|
505 | </td> |
---|
506 | </tr> |
---|
507 | </table> |
---|
508 | <a class="anchor" name="937d780206004df4bd454331b34ca0ab"></a><!-- doxytag: member="DistanceCubeMapRenderTechnique::useFaceAngleCalc" ref="937d780206004df4bd454331b34ca0ab" args="" --><p> |
---|
509 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
510 | <tr> |
---|
511 | <td class="mdRow"> |
---|
512 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
513 | <tr> |
---|
514 | <td class="md" nowrap valign="top">bool <a class="el" href="class_distance_cube_map_render_technique.html#937d780206004df4bd454331b34ca0ab">DistanceCubeMapRenderTechnique::useFaceAngleCalc</a><code> [protected]</code> </td> |
---|
515 | </tr> |
---|
516 | </table> |
---|
517 | </td> |
---|
518 | </tr> |
---|
519 | </table> |
---|
520 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
521 | <tr> |
---|
522 | <td> |
---|
523 | |
---|
524 | </td> |
---|
525 | <td> |
---|
526 | |
---|
527 | <p> |
---|
528 | a flag to skip cube face update the face is neglible. |
---|
529 | <p> |
---|
530 | <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_distance_cube_map_render_technique.html#4b9ebb9ec5cf246fb93fc0e1cf42f3c2">angleTolerance</a> </dd></dl> |
---|
531 | </td> |
---|
532 | </tr> |
---|
533 | </table> |
---|
534 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
535 | <li>DistanceCubeMapRenderTechnique.h<li>DistanceCubeMapRenderTechnique.cpp</ul> |
---|
536 | <hr size="1"><address style="align: right;"><small>Generated on Thu Apr 27 17:29:37 2006 for GameTools Illumination Module by |
---|
537 | <a href="http://www.doxygen.org/index.html"> |
---|
538 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address> |
---|
539 | </body> |
---|
540 | </html> |
---|