[1488] | 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>Indirect Environment Mapping: EnvMap Class Reference</title> |
---|
| 4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
| 5 | </head><body> |
---|
| 6 | <!-- Generated by Doxygen 1.4.2 --> |
---|
| 7 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> |
---|
| 8 | <h1>EnvMap Class Reference</h1>Most of application-specific logic is here. |
---|
| 9 | <a href="#_details">More...</a> |
---|
| 10 | <p> |
---|
| 11 | <code>#include <EnvMap.h></code> |
---|
| 12 | <p> |
---|
| 13 | <a href="class_env_map-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
| 14 | <tr><td></td></tr> |
---|
| 15 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
| 16 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a0">EnvMap</a> ()</td></tr> |
---|
| 17 | |
---|
| 18 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a1">SetCamera</a> (CModelViewerCamera *<a class="el" href="class_env_map.html#r2">camera</a>)</td></tr> |
---|
| 19 | |
---|
| 20 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a2">InvalidateCubeMap</a> ()</td></tr> |
---|
| 21 | |
---|
| 22 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a3">InvalidateShininess</a> ()</td></tr> |
---|
| 23 | |
---|
| 24 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a4">InvalidateResolution</a> ()</td></tr> |
---|
| 25 | |
---|
| 26 | <tr><td class="memItemLeft" nowrap align="right" valign="top">D3DXVECTOR3 & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a5">GetReferencePos</a> ()</td></tr> |
---|
| 27 | |
---|
| 28 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a6">ChooseMesh</a> (int whichMesh)</td></tr> |
---|
| 29 | |
---|
| 30 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Loads the specified mesh. <a href="#a6"></a><br></td></tr> |
---|
| 31 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a7">SetMeshSize</a> (float d)</td></tr> |
---|
| 32 | |
---|
| 33 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a8">SetMeshPosition</a> (D3DXVECTOR3 pos)</td></tr> |
---|
| 34 | |
---|
| 35 | <tr><td class="memItemLeft" nowrap align="right" valign="top">D3DXVECTOR3 </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a9">GetMeshPosition</a> ()</td></tr> |
---|
| 36 | |
---|
| 37 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a10">KeyboardProc</a> (UINT nChar, bool bKeyDown, bool bAltDown)</td></tr> |
---|
| 38 | |
---|
| 39 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Handles keystroke messages. <a href="#a10"></a><br></td></tr> |
---|
| 40 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a11">DoRendering</a> (D3DXMATRIXA16 &mView, D3DXMATRIXA16 &mProj)</td></tr> |
---|
| 41 | |
---|
| 42 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Render the scene. <a href="#a11"></a><br></td></tr> |
---|
| 43 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a12">DrawCenterObjects</a> (D3DXMATRIXA16 &mView, D3DXMATRIXA16 &mProj)</td></tr> |
---|
| 44 | |
---|
| 45 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw the central diffuse/glossy object. <a href="#a12"></a><br></td></tr> |
---|
| 46 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a13">DrawEnvObjects</a> (D3DXMATRIXA16 &mView, D3DXMATRIXA16 &mProj)</td></tr> |
---|
| 47 | |
---|
| 48 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Draw environment objects. <a href="#a13"></a><br></td></tr> |
---|
| 49 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a14">SetWorldViewProj</a> (D3DXMATRIXA16 &mWorld, D3DXMATRIXA16 &mView, D3DXMATRIXA16 &mProj)</td></tr> |
---|
| 50 | |
---|
| 51 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Uploads the specified world/view/projection transformation matrices to the GPU. <a href="#a14"></a><br></td></tr> |
---|
| 52 | <tr><td class="memItemLeft" nowrap align="right" valign="top">D3DXMATRIXA16 </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a15">ScaleAndOffset</a> (float fScale, D3DXVECTOR3 vOffset)</td></tr> |
---|
| 53 | |
---|
| 54 | <tr><td class="memItemLeft" nowrap align="right" valign="top">D3DXMATRIXA16 </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a16">ScaleAndOffset</a> (D3DXVECTOR3 vScale, D3DXVECTOR3 vOffset)</td></tr> |
---|
| 55 | |
---|
| 56 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a17">RenderCubeMap</a> (IDirect3DCubeTexture9 *<a class="el" href="class_env_map.html#r4">pCubeTexture</a>)</td></tr> |
---|
| 57 | |
---|
| 58 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Renders the environment into the specified cubemap. <a href="#a17"></a><br></td></tr> |
---|
| 59 | <tr><td class="memItemLeft" nowrap align="right" valign="top">IDirect3DTexture9 * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a18">GenerateCosTexture</a> (<a class="el" href="class_env_map.html#y0">eval_fn</a> evaluator)</td></tr> |
---|
| 60 | |
---|
| 61 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Generates precomputed texture to store values for the reflectivity integral. Uses the <a class="el" href="_env_map_8cpp.html#a19">eval()</a> function. <a href="#a18"></a><br></td></tr> |
---|
| 62 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a19">GenerateCosTextureIfNotFound</a> (wchar_t *fileName, <a class="el" href="class_env_map.html#y0">eval_fn</a> evaluator)</td></tr> |
---|
| 63 | |
---|
| 64 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Calls <a class="el" href="class_env_map.html#a18">GenerateCosTexture()</a> if the specified texture is not yet calculated and stored as a texture in the <b>cos</b> subdirectory. <a href="#a19"></a><br></td></tr> |
---|
| 65 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a20">OnFrameRender</a> (IDirect3DDevice9 *<a class="el" href="class_env_map.html#r0">pd3dDevice</a>, D3DXMATRIXA16 &mView, D3DXMATRIXA16 &mProj)</td></tr> |
---|
| 66 | |
---|
| 67 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Performs prepocessing steps if necessary and then renders the scene. <a href="#a20"></a><br></td></tr> |
---|
| 68 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a21">OnCreateDevice</a> (IDirect3DDevice9 *<a class="el" href="class_env_map.html#r0">pd3dDevice</a>, ID3DXEffect *<a class="el" href="class_env_map.html#r1">g_pEffect</a>)</td></tr> |
---|
| 69 | |
---|
| 70 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Called by <a class="el" href="_main_8cpp.html#a20">OnCreateDevice()</a> (<a class="el" href="_main_8cpp.html">Main.cpp</a>) to perform app-specific tasks. <a href="#a21"></a><br></td></tr> |
---|
| 71 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a22">OnDestroyDevice</a> ()</td></tr> |
---|
| 72 | |
---|
| 73 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Called by <a class="el" href="_main_8cpp.html#a28">OnDestroyDevice()</a> (<a class="el" href="_main_8cpp.html">Main.cpp</a>) to perform app-specific tasks. <a href="#a22"></a><br></td></tr> |
---|
| 74 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a23">OnResetDevice</a> ()</td></tr> |
---|
| 75 | |
---|
| 76 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Called by <a class="el" href="_main_8cpp.html#a21">OnResetDevice()</a> (<a class="el" href="_main_8cpp.html">Main.cpp</a>) to perform app-specific tasks. <a href="#a23"></a><br></td></tr> |
---|
| 77 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a24">OnLostDevice</a> ()</td></tr> |
---|
| 78 | |
---|
| 79 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Called by <a class="el" href="_main_8cpp.html#a27">OnLostDevice()</a> (<a class="el" href="_main_8cpp.html">Main.cpp</a>) to perform app-specific tasks. <a href="#a24"></a><br></td></tr> |
---|
| 80 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a25">InitFullScreenQuad</a> ()</td></tr> |
---|
| 81 | |
---|
| 82 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a26">DrawFullScreenQuad</a> ()</td></tr> |
---|
| 83 | |
---|
| 84 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a27">ReduceCubeMapSize</a> (IDirect3DCubeTexture9 *pSourceCube, IDirect3DCubeTexture9 *pDestCube)</td></tr> |
---|
| 85 | |
---|
| 86 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Downsample a cube map to resolution LR_CUBEMAP_SIZE. <a href="#a27"></a><br></td></tr> |
---|
| 87 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a28">PreConvolve</a> (IDirect3DCubeTexture9 *pSourceCube, IDirect3DCubeTexture9 *pDestCube)</td></tr> |
---|
| 88 | |
---|
| 89 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Calculates the irradiance map by convolution. <a href="#a28"></a><br></td></tr> |
---|
| 90 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a29">SaveCubeMap</a> (IDirect3DCubeTexture9 *<a class="el" href="class_env_map.html#r4">pCubeTexture</a>, char *FileNamePrefix, char *FileNameSuffix="")</td></tr> |
---|
| 91 | |
---|
| 92 | <tr><td class="memItemLeft" nowrap align="right" valign="top">IDirect3DCubeTexture9 * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#a30">CreateCubeTexture</a> (int size, D3DFORMAT Format)</td></tr> |
---|
| 93 | |
---|
| 94 | <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> |
---|
| 95 | <tr><td class="memItemLeft" nowrap align="right" valign="top">IDirect3DVertexBuffer9 * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#o0">pVertexBuffer</a></td></tr> |
---|
| 96 | |
---|
| 97 | <tr><td colspan="2"><br><h2>Private Types</h2></td></tr> |
---|
| 98 | <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef float(* </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#y0">eval_fn</a> )(float, float)</td></tr> |
---|
| 99 | |
---|
| 100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Callback function to evaluate reflectivity integral. See <a class="el" href="class_env_map.html#a18">GenerateCosTexture()</a> and <a class="el" href="_env_map_8cpp.html#a19">eval()</a>. <a href="#y0"></a><br></td></tr> |
---|
| 101 | <tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> |
---|
| 102 | <tr><td class="memItemLeft" nowrap align="right" valign="top">IDirect3DDevice9 * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r0">pd3dDevice</a></td></tr> |
---|
| 103 | |
---|
| 104 | <tr><td class="mdescLeft"> </td><td class="mdescRight">THE D3D DEVICE. <a href="#r0"></a><br></td></tr> |
---|
| 105 | <tr><td class="memItemLeft" nowrap align="right" valign="top">ID3DXEffect * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r1">g_pEffect</a></td></tr> |
---|
| 106 | |
---|
| 107 | <tr><td class="mdescLeft"> </td><td class="mdescRight">THE EFFECT FILE. <a href="#r1"></a><br></td></tr> |
---|
| 108 | <tr><td class="memItemLeft" nowrap align="right" valign="top">CModelViewerCamera * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r2">camera</a></td></tr> |
---|
| 109 | |
---|
| 110 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Rotate/zoom camera, always looking to the origin. <a href="#r2"></a><br></td></tr> |
---|
| 111 | <tr><td class="memItemLeft" nowrap align="right" valign="top">HRESULT </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r3">hr</a></td></tr> |
---|
| 112 | |
---|
| 113 | <tr><td class="memItemLeft" nowrap align="right" valign="top">IDirect3DCubeTexture9 * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r4">pCubeTexture</a></td></tr> |
---|
| 114 | |
---|
| 115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Cubemap that stores the environment as seen from the reference point. See method <a class="el" href="class_env_map.html#a17">RenderCubeMap()</a>. <a href="#r4"></a><br></td></tr> |
---|
| 116 | <tr><td class="memItemLeft" nowrap align="right" valign="top">IDirect3DCubeTexture9 * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r5">pCubeTextureSmall</a></td></tr> |
---|
| 117 | |
---|
| 118 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Low-resolution (downsampled) cubemap, derived from <a class="el" href="class_env_map.html#r4">pCubeTexture</a>. See <a class="el" href="class_env_map.html#a27">ReduceCubeMapSize()</a>. <a href="#r5"></a><br></td></tr> |
---|
| 119 | <tr><td class="memItemLeft" nowrap align="right" valign="top">IDirect3DCubeTexture9 * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r6">pCubeTexturePreConvolved</a></td></tr> |
---|
| 120 | |
---|
| 121 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Low-resolution cubemap that stores preconvolved data for diffuse/specular environment mapping. See method <a class="el" href="class_env_map.html#a28">PreConvolve()</a>. <a href="#r6"></a><br></td></tr> |
---|
| 122 | <tr><td class="memItemLeft" nowrap align="right" valign="top">IDirect3DTexture9 * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r7">pCosValuesTexture</a></td></tr> |
---|
| 123 | |
---|
| 124 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Helper texture with precomputed geometric factor values. <a href="#r7"></a><br></td></tr> |
---|
| 125 | <tr><td class="memItemLeft" nowrap align="right" valign="top">IDirect3DTexture9 * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r8">pRoomTexture</a></td></tr> |
---|
| 126 | |
---|
| 127 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Texture to be displayed on the walls of the cubic room. <a href="#r8"></a><br></td></tr> |
---|
| 128 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r9">bCubeMapIsValid</a></td></tr> |
---|
| 129 | |
---|
| 130 | <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r10">bShininessIsValid</a></td></tr> |
---|
| 131 | |
---|
| 132 | <tr><td class="mdescLeft"> </td><td class="mdescRight">indicates that the cube map has to be re-generated <a href="#r10"></a><br></td></tr> |
---|
| 133 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_cube.html">Cube</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r11">cube</a></td></tr> |
---|
| 134 | |
---|
| 135 | <tr><td class="mdescLeft"> </td><td class="mdescRight">indicates that the reflectivity integral has to be re-calculated <a href="#r11"></a><br></td></tr> |
---|
| 136 | <tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r12">roomSize</a></td></tr> |
---|
| 137 | |
---|
| 138 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Simple cube centralMesh for the room. See <a class="el" href="class_env_map.html#a13">EnvMap::DrawEnvObjects()</a>. <a href="#r12"></a><br></td></tr> |
---|
| 139 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_mesh.html">Mesh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r13">centralMesh</a></td></tr> |
---|
| 140 | |
---|
| 141 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Size of the cubic room. <a href="#r13"></a><br></td></tr> |
---|
| 142 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_mesh.html">Mesh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r14">meshes</a> [10]</td></tr> |
---|
| 143 | |
---|
| 144 | <tr><td class="mdescLeft"> </td><td class="mdescRight">The diffuse/glossy object to be shaded. <a href="#r14"></a><br></td></tr> |
---|
| 145 | <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r15">meshCount</a></td></tr> |
---|
| 146 | |
---|
| 147 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Objects of the environment (fireballs, etc.). <a href="#r15"></a><br></td></tr> |
---|
| 148 | <tr><td class="memItemLeft" nowrap align="right" valign="top">D3DXVECTOR3 </td><td class="memItemRight" valign="bottom"><a class="el" href="class_env_map.html#r16">reference_pos</a></td></tr> |
---|
| 149 | |
---|
| 150 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of objects in the environment. <a href="#r16"></a><br></td></tr> |
---|
| 151 | </table> |
---|
| 152 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 153 | Most of application-specific logic is here. |
---|
| 154 | <p> |
---|
| 155 | <hr><h2>Member Typedef Documentation</h2> |
---|
| 156 | <a class="anchor" name="y0" doxytag="EnvMap::eval_fn"></a><p> |
---|
| 157 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 158 | <tr> |
---|
| 159 | <td class="mdRow"> |
---|
| 160 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 161 | <tr> |
---|
| 162 | <td class="md" nowrap valign="top">typedef float(* <a class="el" href="class_env_map.html#y0">EnvMap::eval_fn</a>)(float, float)<code> [private]</code> </td> |
---|
| 163 | </tr> |
---|
| 164 | </table> |
---|
| 165 | </td> |
---|
| 166 | </tr> |
---|
| 167 | </table> |
---|
| 168 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 169 | <tr> |
---|
| 170 | <td> |
---|
| 171 | |
---|
| 172 | </td> |
---|
| 173 | <td> |
---|
| 174 | |
---|
| 175 | <p> |
---|
| 176 | Callback function to evaluate reflectivity integral. See <a class="el" href="class_env_map.html#a18">GenerateCosTexture()</a> and <a class="el" href="_env_map_8cpp.html#a19">eval()</a>. |
---|
| 177 | <p> |
---|
| 178 | </td> |
---|
| 179 | </tr> |
---|
| 180 | </table> |
---|
| 181 | <hr><h2>Constructor & Destructor Documentation</h2> |
---|
| 182 | <a class="anchor" name="a0" doxytag="EnvMap::EnvMap"></a><p> |
---|
| 183 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 184 | <tr> |
---|
| 185 | <td class="mdRow"> |
---|
| 186 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 187 | <tr> |
---|
| 188 | <td class="md" nowrap valign="top">EnvMap::EnvMap </td> |
---|
| 189 | <td class="md" valign="top">( </td> |
---|
| 190 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 191 | <td class="md" valign="top"> ) </td> |
---|
| 192 | <td class="md" nowrap><code> [inline]</code></td> |
---|
| 193 | </tr> |
---|
| 194 | </table> |
---|
| 195 | </td> |
---|
| 196 | </tr> |
---|
| 197 | </table> |
---|
| 198 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 199 | <tr> |
---|
| 200 | <td> |
---|
| 201 | |
---|
| 202 | </td> |
---|
| 203 | <td> |
---|
| 204 | |
---|
| 205 | <p> |
---|
| 206 | </td> |
---|
| 207 | </tr> |
---|
| 208 | </table> |
---|
| 209 | <hr><h2>Member Function Documentation</h2> |
---|
| 210 | <a class="anchor" name="a6" doxytag="EnvMap::ChooseMesh"></a><p> |
---|
| 211 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 212 | <tr> |
---|
| 213 | <td class="mdRow"> |
---|
| 214 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 215 | <tr> |
---|
| 216 | <td class="md" nowrap valign="top">void EnvMap::ChooseMesh </td> |
---|
| 217 | <td class="md" valign="top">( </td> |
---|
| 218 | <td class="md" nowrap valign="top">int </td> |
---|
| 219 | <td class="mdname1" valign="top" nowrap> <em>whichMesh</em> </td> |
---|
| 220 | <td class="md" valign="top"> ) </td> |
---|
| 221 | <td class="md" nowrap></td> |
---|
| 222 | </tr> |
---|
| 223 | </table> |
---|
| 224 | </td> |
---|
| 225 | </tr> |
---|
| 226 | </table> |
---|
| 227 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 228 | <tr> |
---|
| 229 | <td> |
---|
| 230 | |
---|
| 231 | </td> |
---|
| 232 | <td> |
---|
| 233 | |
---|
| 234 | <p> |
---|
| 235 | Loads the specified mesh. |
---|
| 236 | <p> |
---|
| 237 | </td> |
---|
| 238 | </tr> |
---|
| 239 | </table> |
---|
| 240 | <a class="anchor" name="a30" doxytag="EnvMap::CreateCubeTexture"></a><p> |
---|
| 241 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 242 | <tr> |
---|
| 243 | <td class="mdRow"> |
---|
| 244 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 245 | <tr> |
---|
| 246 | <td class="md" nowrap valign="top">IDirect3DCubeTexture9* EnvMap::CreateCubeTexture </td> |
---|
| 247 | <td class="md" valign="top">( </td> |
---|
| 248 | <td class="md" nowrap valign="top">int </td> |
---|
| 249 | <td class="mdname" nowrap> <em>size</em>, </td> |
---|
| 250 | </tr> |
---|
| 251 | <tr> |
---|
| 252 | <td class="md" nowrap align="right"></td> |
---|
| 253 | <td class="md"></td> |
---|
| 254 | <td class="md" nowrap>D3DFORMAT </td> |
---|
| 255 | <td class="mdname" nowrap> <em>Format</em></td> |
---|
| 256 | </tr> |
---|
| 257 | <tr> |
---|
| 258 | <td class="md"></td> |
---|
| 259 | <td class="md">) </td> |
---|
| 260 | <td class="md" colspan="2"><code> [inline]</code></td> |
---|
| 261 | </tr> |
---|
| 262 | </table> |
---|
| 263 | </td> |
---|
| 264 | </tr> |
---|
| 265 | </table> |
---|
| 266 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 267 | <tr> |
---|
| 268 | <td> |
---|
| 269 | |
---|
| 270 | </td> |
---|
| 271 | <td> |
---|
| 272 | |
---|
| 273 | <p> |
---|
| 274 | </td> |
---|
| 275 | </tr> |
---|
| 276 | </table> |
---|
| 277 | <a class="anchor" name="a11" doxytag="EnvMap::DoRendering"></a><p> |
---|
| 278 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 279 | <tr> |
---|
| 280 | <td class="mdRow"> |
---|
| 281 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 282 | <tr> |
---|
| 283 | <td class="md" nowrap valign="top">void EnvMap::DoRendering </td> |
---|
| 284 | <td class="md" valign="top">( </td> |
---|
| 285 | <td class="md" nowrap valign="top">D3DXMATRIXA16 & </td> |
---|
| 286 | <td class="mdname" nowrap> <em>mView</em>, </td> |
---|
| 287 | </tr> |
---|
| 288 | <tr> |
---|
| 289 | <td class="md" nowrap align="right"></td> |
---|
| 290 | <td class="md"></td> |
---|
| 291 | <td class="md" nowrap>D3DXMATRIXA16 & </td> |
---|
| 292 | <td class="mdname" nowrap> <em>mProj</em></td> |
---|
| 293 | </tr> |
---|
| 294 | <tr> |
---|
| 295 | <td class="md"></td> |
---|
| 296 | <td class="md">) </td> |
---|
| 297 | <td class="md" colspan="2"></td> |
---|
| 298 | </tr> |
---|
| 299 | </table> |
---|
| 300 | </td> |
---|
| 301 | </tr> |
---|
| 302 | </table> |
---|
| 303 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 304 | <tr> |
---|
| 305 | <td> |
---|
| 306 | |
---|
| 307 | </td> |
---|
| 308 | <td> |
---|
| 309 | |
---|
| 310 | <p> |
---|
| 311 | Render the scene. |
---|
| 312 | <p> |
---|
| 313 | </td> |
---|
| 314 | </tr> |
---|
| 315 | </table> |
---|
| 316 | <a class="anchor" name="a12" doxytag="EnvMap::DrawCenterObjects"></a><p> |
---|
| 317 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 318 | <tr> |
---|
| 319 | <td class="mdRow"> |
---|
| 320 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 321 | <tr> |
---|
| 322 | <td class="md" nowrap valign="top">void EnvMap::DrawCenterObjects </td> |
---|
| 323 | <td class="md" valign="top">( </td> |
---|
| 324 | <td class="md" nowrap valign="top">D3DXMATRIXA16 & </td> |
---|
| 325 | <td class="mdname" nowrap> <em>mView</em>, </td> |
---|
| 326 | </tr> |
---|
| 327 | <tr> |
---|
| 328 | <td class="md" nowrap align="right"></td> |
---|
| 329 | <td class="md"></td> |
---|
| 330 | <td class="md" nowrap>D3DXMATRIXA16 & </td> |
---|
| 331 | <td class="mdname" nowrap> <em>mProj</em></td> |
---|
| 332 | </tr> |
---|
| 333 | <tr> |
---|
| 334 | <td class="md"></td> |
---|
| 335 | <td class="md">) </td> |
---|
| 336 | <td class="md" colspan="2"></td> |
---|
| 337 | </tr> |
---|
| 338 | </table> |
---|
| 339 | </td> |
---|
| 340 | </tr> |
---|
| 341 | </table> |
---|
| 342 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 343 | <tr> |
---|
| 344 | <td> |
---|
| 345 | |
---|
| 346 | </td> |
---|
| 347 | <td> |
---|
| 348 | |
---|
| 349 | <p> |
---|
| 350 | Draw the central diffuse/glossy object. |
---|
| 351 | <p> |
---|
| 352 | </td> |
---|
| 353 | </tr> |
---|
| 354 | </table> |
---|
| 355 | <a class="anchor" name="a13" doxytag="EnvMap::DrawEnvObjects"></a><p> |
---|
| 356 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 357 | <tr> |
---|
| 358 | <td class="mdRow"> |
---|
| 359 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 360 | <tr> |
---|
| 361 | <td class="md" nowrap valign="top">void EnvMap::DrawEnvObjects </td> |
---|
| 362 | <td class="md" valign="top">( </td> |
---|
| 363 | <td class="md" nowrap valign="top">D3DXMATRIXA16 & </td> |
---|
| 364 | <td class="mdname" nowrap> <em>mView</em>, </td> |
---|
| 365 | </tr> |
---|
| 366 | <tr> |
---|
| 367 | <td class="md" nowrap align="right"></td> |
---|
| 368 | <td class="md"></td> |
---|
| 369 | <td class="md" nowrap>D3DXMATRIXA16 & </td> |
---|
| 370 | <td class="mdname" nowrap> <em>mProj</em></td> |
---|
| 371 | </tr> |
---|
| 372 | <tr> |
---|
| 373 | <td class="md"></td> |
---|
| 374 | <td class="md">) </td> |
---|
| 375 | <td class="md" colspan="2"></td> |
---|
| 376 | </tr> |
---|
| 377 | </table> |
---|
| 378 | </td> |
---|
| 379 | </tr> |
---|
| 380 | </table> |
---|
| 381 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 382 | <tr> |
---|
| 383 | <td> |
---|
| 384 | |
---|
| 385 | </td> |
---|
| 386 | <td> |
---|
| 387 | |
---|
| 388 | <p> |
---|
| 389 | Draw environment objects. |
---|
| 390 | <p> |
---|
| 391 | </td> |
---|
| 392 | </tr> |
---|
| 393 | </table> |
---|
| 394 | <a class="anchor" name="a26" doxytag="EnvMap::DrawFullScreenQuad"></a><p> |
---|
| 395 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 396 | <tr> |
---|
| 397 | <td class="mdRow"> |
---|
| 398 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 399 | <tr> |
---|
| 400 | <td class="md" nowrap valign="top">void EnvMap::DrawFullScreenQuad </td> |
---|
| 401 | <td class="md" valign="top">( </td> |
---|
| 402 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 403 | <td class="md" valign="top"> ) </td> |
---|
| 404 | <td class="md" nowrap><code> [inline]</code></td> |
---|
| 405 | </tr> |
---|
| 406 | </table> |
---|
| 407 | </td> |
---|
| 408 | </tr> |
---|
| 409 | </table> |
---|
| 410 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 411 | <tr> |
---|
| 412 | <td> |
---|
| 413 | |
---|
| 414 | </td> |
---|
| 415 | <td> |
---|
| 416 | |
---|
| 417 | <p> |
---|
| 418 | </td> |
---|
| 419 | </tr> |
---|
| 420 | </table> |
---|
| 421 | <a class="anchor" name="a18" doxytag="EnvMap::GenerateCosTexture"></a><p> |
---|
| 422 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 423 | <tr> |
---|
| 424 | <td class="mdRow"> |
---|
| 425 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 426 | <tr> |
---|
| 427 | <td class="md" nowrap valign="top">IDirect3DTexture9 * EnvMap::GenerateCosTexture </td> |
---|
| 428 | <td class="md" valign="top">( </td> |
---|
| 429 | <td class="md" nowrap valign="top"><a class="el" href="class_env_map.html#y0">eval_fn</a> </td> |
---|
| 430 | <td class="mdname1" valign="top" nowrap> <em>evaluator</em> </td> |
---|
| 431 | <td class="md" valign="top"> ) </td> |
---|
| 432 | <td class="md" nowrap></td> |
---|
| 433 | </tr> |
---|
| 434 | </table> |
---|
| 435 | </td> |
---|
| 436 | </tr> |
---|
| 437 | </table> |
---|
| 438 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 439 | <tr> |
---|
| 440 | <td> |
---|
| 441 | |
---|
| 442 | </td> |
---|
| 443 | <td> |
---|
| 444 | |
---|
| 445 | <p> |
---|
| 446 | Generates precomputed texture to store values for the reflectivity integral. Uses the <a class="el" href="_env_map_8cpp.html#a19">eval()</a> function. |
---|
| 447 | <p> |
---|
| 448 | </td> |
---|
| 449 | </tr> |
---|
| 450 | </table> |
---|
| 451 | <a class="anchor" name="a19" doxytag="EnvMap::GenerateCosTextureIfNotFound"></a><p> |
---|
| 452 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 453 | <tr> |
---|
| 454 | <td class="mdRow"> |
---|
| 455 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 456 | <tr> |
---|
| 457 | <td class="md" nowrap valign="top">void EnvMap::GenerateCosTextureIfNotFound </td> |
---|
| 458 | <td class="md" valign="top">( </td> |
---|
| 459 | <td class="md" nowrap valign="top">wchar_t * </td> |
---|
| 460 | <td class="mdname" nowrap> <em>fileName</em>, </td> |
---|
| 461 | </tr> |
---|
| 462 | <tr> |
---|
| 463 | <td class="md" nowrap align="right"></td> |
---|
| 464 | <td class="md"></td> |
---|
| 465 | <td class="md" nowrap><a class="el" href="class_env_map.html#y0">eval_fn</a> </td> |
---|
| 466 | <td class="mdname" nowrap> <em>evaluator</em></td> |
---|
| 467 | </tr> |
---|
| 468 | <tr> |
---|
| 469 | <td class="md"></td> |
---|
| 470 | <td class="md">) </td> |
---|
| 471 | <td class="md" colspan="2"></td> |
---|
| 472 | </tr> |
---|
| 473 | </table> |
---|
| 474 | </td> |
---|
| 475 | </tr> |
---|
| 476 | </table> |
---|
| 477 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 478 | <tr> |
---|
| 479 | <td> |
---|
| 480 | |
---|
| 481 | </td> |
---|
| 482 | <td> |
---|
| 483 | |
---|
| 484 | <p> |
---|
| 485 | Calls <a class="el" href="class_env_map.html#a18">GenerateCosTexture()</a> if the specified texture is not yet calculated and stored as a texture in the <b>cos</b> subdirectory. |
---|
| 486 | <p> |
---|
| 487 | </td> |
---|
| 488 | </tr> |
---|
| 489 | </table> |
---|
| 490 | <a class="anchor" name="a9" doxytag="EnvMap::GetMeshPosition"></a><p> |
---|
| 491 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 492 | <tr> |
---|
| 493 | <td class="mdRow"> |
---|
| 494 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 495 | <tr> |
---|
| 496 | <td class="md" nowrap valign="top">D3DXVECTOR3 EnvMap::GetMeshPosition </td> |
---|
| 497 | <td class="md" valign="top">( </td> |
---|
| 498 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 499 | <td class="md" valign="top"> ) </td> |
---|
| 500 | <td class="md" nowrap><code> [inline]</code></td> |
---|
| 501 | </tr> |
---|
| 502 | </table> |
---|
| 503 | </td> |
---|
| 504 | </tr> |
---|
| 505 | </table> |
---|
| 506 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 507 | <tr> |
---|
| 508 | <td> |
---|
| 509 | |
---|
| 510 | </td> |
---|
| 511 | <td> |
---|
| 512 | |
---|
| 513 | <p> |
---|
| 514 | </td> |
---|
| 515 | </tr> |
---|
| 516 | </table> |
---|
| 517 | <a class="anchor" name="a5" doxytag="EnvMap::GetReferencePos"></a><p> |
---|
| 518 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 519 | <tr> |
---|
| 520 | <td class="mdRow"> |
---|
| 521 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 522 | <tr> |
---|
| 523 | <td class="md" nowrap valign="top">D3DXVECTOR3& EnvMap::GetReferencePos </td> |
---|
| 524 | <td class="md" valign="top">( </td> |
---|
| 525 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 526 | <td class="md" valign="top"> ) </td> |
---|
| 527 | <td class="md" nowrap><code> [inline]</code></td> |
---|
| 528 | </tr> |
---|
| 529 | </table> |
---|
| 530 | </td> |
---|
| 531 | </tr> |
---|
| 532 | </table> |
---|
| 533 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 534 | <tr> |
---|
| 535 | <td> |
---|
| 536 | |
---|
| 537 | </td> |
---|
| 538 | <td> |
---|
| 539 | |
---|
| 540 | <p> |
---|
| 541 | </td> |
---|
| 542 | </tr> |
---|
| 543 | </table> |
---|
| 544 | <a class="anchor" name="a25" doxytag="EnvMap::InitFullScreenQuad"></a><p> |
---|
| 545 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 546 | <tr> |
---|
| 547 | <td class="mdRow"> |
---|
| 548 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 549 | <tr> |
---|
| 550 | <td class="md" nowrap valign="top">void EnvMap::InitFullScreenQuad </td> |
---|
| 551 | <td class="md" valign="top">( </td> |
---|
| 552 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 553 | <td class="md" valign="top"> ) </td> |
---|
| 554 | <td class="md" nowrap><code> [inline]</code></td> |
---|
| 555 | </tr> |
---|
| 556 | </table> |
---|
| 557 | </td> |
---|
| 558 | </tr> |
---|
| 559 | </table> |
---|
| 560 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 561 | <tr> |
---|
| 562 | <td> |
---|
| 563 | |
---|
| 564 | </td> |
---|
| 565 | <td> |
---|
| 566 | |
---|
| 567 | <p> |
---|
| 568 | </td> |
---|
| 569 | </tr> |
---|
| 570 | </table> |
---|
| 571 | <a class="anchor" name="a2" doxytag="EnvMap::InvalidateCubeMap"></a><p> |
---|
| 572 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 573 | <tr> |
---|
| 574 | <td class="mdRow"> |
---|
| 575 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 576 | <tr> |
---|
| 577 | <td class="md" nowrap valign="top">void EnvMap::InvalidateCubeMap </td> |
---|
| 578 | <td class="md" valign="top">( </td> |
---|
| 579 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 580 | <td class="md" valign="top"> ) </td> |
---|
| 581 | <td class="md" nowrap><code> [inline]</code></td> |
---|
| 582 | </tr> |
---|
| 583 | </table> |
---|
| 584 | </td> |
---|
| 585 | </tr> |
---|
| 586 | </table> |
---|
| 587 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 588 | <tr> |
---|
| 589 | <td> |
---|
| 590 | |
---|
| 591 | </td> |
---|
| 592 | <td> |
---|
| 593 | |
---|
| 594 | <p> |
---|
| 595 | </td> |
---|
| 596 | </tr> |
---|
| 597 | </table> |
---|
| 598 | <a class="anchor" name="a4" doxytag="EnvMap::InvalidateResolution"></a><p> |
---|
| 599 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 600 | <tr> |
---|
| 601 | <td class="mdRow"> |
---|
| 602 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 603 | <tr> |
---|
| 604 | <td class="md" nowrap valign="top">void EnvMap::InvalidateResolution </td> |
---|
| 605 | <td class="md" valign="top">( </td> |
---|
| 606 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 607 | <td class="md" valign="top"> ) </td> |
---|
| 608 | <td class="md" nowrap></td> |
---|
| 609 | </tr> |
---|
| 610 | </table> |
---|
| 611 | </td> |
---|
| 612 | </tr> |
---|
| 613 | </table> |
---|
| 614 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 615 | <tr> |
---|
| 616 | <td> |
---|
| 617 | |
---|
| 618 | </td> |
---|
| 619 | <td> |
---|
| 620 | |
---|
| 621 | <p> |
---|
| 622 | Called when the resolution of the cube maps is to change. To re-generate all resources, the DirectX device is simply reseted. </td> |
---|
| 623 | </tr> |
---|
| 624 | </table> |
---|
| 625 | <a class="anchor" name="a3" doxytag="EnvMap::InvalidateShininess"></a><p> |
---|
| 626 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 627 | <tr> |
---|
| 628 | <td class="mdRow"> |
---|
| 629 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 630 | <tr> |
---|
| 631 | <td class="md" nowrap valign="top">void EnvMap::InvalidateShininess </td> |
---|
| 632 | <td class="md" valign="top">( </td> |
---|
| 633 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 634 | <td class="md" valign="top"> ) </td> |
---|
| 635 | <td class="md" nowrap><code> [inline]</code></td> |
---|
| 636 | </tr> |
---|
| 637 | </table> |
---|
| 638 | </td> |
---|
| 639 | </tr> |
---|
| 640 | </table> |
---|
| 641 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 642 | <tr> |
---|
| 643 | <td> |
---|
| 644 | |
---|
| 645 | </td> |
---|
| 646 | <td> |
---|
| 647 | |
---|
| 648 | <p> |
---|
| 649 | </td> |
---|
| 650 | </tr> |
---|
| 651 | </table> |
---|
| 652 | <a class="anchor" name="a10" doxytag="EnvMap::KeyboardProc"></a><p> |
---|
| 653 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 654 | <tr> |
---|
| 655 | <td class="mdRow"> |
---|
| 656 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 657 | <tr> |
---|
| 658 | <td class="md" nowrap valign="top">void EnvMap::KeyboardProc </td> |
---|
| 659 | <td class="md" valign="top">( </td> |
---|
| 660 | <td class="md" nowrap valign="top">UINT </td> |
---|
| 661 | <td class="mdname" nowrap> <em>nChar</em>, </td> |
---|
| 662 | </tr> |
---|
| 663 | <tr> |
---|
| 664 | <td class="md" nowrap align="right"></td> |
---|
| 665 | <td class="md"></td> |
---|
| 666 | <td class="md" nowrap>bool </td> |
---|
| 667 | <td class="mdname" nowrap> <em>bKeyDown</em>, </td> |
---|
| 668 | </tr> |
---|
| 669 | <tr> |
---|
| 670 | <td class="md" nowrap align="right"></td> |
---|
| 671 | <td class="md"></td> |
---|
| 672 | <td class="md" nowrap>bool </td> |
---|
| 673 | <td class="mdname" nowrap> <em>bAltDown</em></td> |
---|
| 674 | </tr> |
---|
| 675 | <tr> |
---|
| 676 | <td class="md"></td> |
---|
| 677 | <td class="md">) </td> |
---|
| 678 | <td class="md" colspan="2"></td> |
---|
| 679 | </tr> |
---|
| 680 | </table> |
---|
| 681 | </td> |
---|
| 682 | </tr> |
---|
| 683 | </table> |
---|
| 684 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 685 | <tr> |
---|
| 686 | <td> |
---|
| 687 | |
---|
| 688 | </td> |
---|
| 689 | <td> |
---|
| 690 | |
---|
| 691 | <p> |
---|
| 692 | Handles keystroke messages. |
---|
| 693 | <p> |
---|
| 694 | </td> |
---|
| 695 | </tr> |
---|
| 696 | </table> |
---|
| 697 | <a class="anchor" name="a21" doxytag="EnvMap::OnCreateDevice"></a><p> |
---|
| 698 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 699 | <tr> |
---|
| 700 | <td class="mdRow"> |
---|
| 701 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 702 | <tr> |
---|
| 703 | <td class="md" nowrap valign="top">void EnvMap::OnCreateDevice </td> |
---|
| 704 | <td class="md" valign="top">( </td> |
---|
| 705 | <td class="md" nowrap valign="top">IDirect3DDevice9 * </td> |
---|
| 706 | <td class="mdname" nowrap> <em>pd3dDevice</em>, </td> |
---|
| 707 | </tr> |
---|
| 708 | <tr> |
---|
| 709 | <td class="md" nowrap align="right"></td> |
---|
| 710 | <td class="md"></td> |
---|
| 711 | <td class="md" nowrap>ID3DXEffect * </td> |
---|
| 712 | <td class="mdname" nowrap> <em>g_pEffect</em></td> |
---|
| 713 | </tr> |
---|
| 714 | <tr> |
---|
| 715 | <td class="md"></td> |
---|
| 716 | <td class="md">) </td> |
---|
| 717 | <td class="md" colspan="2"></td> |
---|
| 718 | </tr> |
---|
| 719 | </table> |
---|
| 720 | </td> |
---|
| 721 | </tr> |
---|
| 722 | </table> |
---|
| 723 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 724 | <tr> |
---|
| 725 | <td> |
---|
| 726 | |
---|
| 727 | </td> |
---|
| 728 | <td> |
---|
| 729 | |
---|
| 730 | <p> |
---|
| 731 | Called by <a class="el" href="_main_8cpp.html#a20">OnCreateDevice()</a> (<a class="el" href="_main_8cpp.html">Main.cpp</a>) to perform app-specific tasks. |
---|
| 732 | <p> |
---|
| 733 | </td> |
---|
| 734 | </tr> |
---|
| 735 | </table> |
---|
| 736 | <a class="anchor" name="a22" doxytag="EnvMap::OnDestroyDevice"></a><p> |
---|
| 737 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 738 | <tr> |
---|
| 739 | <td class="mdRow"> |
---|
| 740 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 741 | <tr> |
---|
| 742 | <td class="md" nowrap valign="top">void EnvMap::OnDestroyDevice </td> |
---|
| 743 | <td class="md" valign="top">( </td> |
---|
| 744 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 745 | <td class="md" valign="top"> ) </td> |
---|
| 746 | <td class="md" nowrap></td> |
---|
| 747 | </tr> |
---|
| 748 | </table> |
---|
| 749 | </td> |
---|
| 750 | </tr> |
---|
| 751 | </table> |
---|
| 752 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 753 | <tr> |
---|
| 754 | <td> |
---|
| 755 | |
---|
| 756 | </td> |
---|
| 757 | <td> |
---|
| 758 | |
---|
| 759 | <p> |
---|
| 760 | Called by <a class="el" href="_main_8cpp.html#a28">OnDestroyDevice()</a> (<a class="el" href="_main_8cpp.html">Main.cpp</a>) to perform app-specific tasks. |
---|
| 761 | <p> |
---|
| 762 | </td> |
---|
| 763 | </tr> |
---|
| 764 | </table> |
---|
| 765 | <a class="anchor" name="a20" doxytag="EnvMap::OnFrameRender"></a><p> |
---|
| 766 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 767 | <tr> |
---|
| 768 | <td class="mdRow"> |
---|
| 769 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 770 | <tr> |
---|
| 771 | <td class="md" nowrap valign="top">void EnvMap::OnFrameRender </td> |
---|
| 772 | <td class="md" valign="top">( </td> |
---|
| 773 | <td class="md" nowrap valign="top">IDirect3DDevice9 * </td> |
---|
| 774 | <td class="mdname" nowrap> <em>pd3dDevice</em>, </td> |
---|
| 775 | </tr> |
---|
| 776 | <tr> |
---|
| 777 | <td class="md" nowrap align="right"></td> |
---|
| 778 | <td class="md"></td> |
---|
| 779 | <td class="md" nowrap>D3DXMATRIXA16 & </td> |
---|
| 780 | <td class="mdname" nowrap> <em>mView</em>, </td> |
---|
| 781 | </tr> |
---|
| 782 | <tr> |
---|
| 783 | <td class="md" nowrap align="right"></td> |
---|
| 784 | <td class="md"></td> |
---|
| 785 | <td class="md" nowrap>D3DXMATRIXA16 & </td> |
---|
| 786 | <td class="mdname" nowrap> <em>mProj</em></td> |
---|
| 787 | </tr> |
---|
| 788 | <tr> |
---|
| 789 | <td class="md"></td> |
---|
| 790 | <td class="md">) </td> |
---|
| 791 | <td class="md" colspan="2"></td> |
---|
| 792 | </tr> |
---|
| 793 | </table> |
---|
| 794 | </td> |
---|
| 795 | </tr> |
---|
| 796 | </table> |
---|
| 797 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 798 | <tr> |
---|
| 799 | <td> |
---|
| 800 | |
---|
| 801 | </td> |
---|
| 802 | <td> |
---|
| 803 | |
---|
| 804 | <p> |
---|
| 805 | Performs prepocessing steps if necessary and then renders the scene. |
---|
| 806 | <p> |
---|
| 807 | </td> |
---|
| 808 | </tr> |
---|
| 809 | </table> |
---|
| 810 | <a class="anchor" name="a24" doxytag="EnvMap::OnLostDevice"></a><p> |
---|
| 811 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 812 | <tr> |
---|
| 813 | <td class="mdRow"> |
---|
| 814 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 815 | <tr> |
---|
| 816 | <td class="md" nowrap valign="top">void EnvMap::OnLostDevice </td> |
---|
| 817 | <td class="md" valign="top">( </td> |
---|
| 818 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 819 | <td class="md" valign="top"> ) </td> |
---|
| 820 | <td class="md" nowrap></td> |
---|
| 821 | </tr> |
---|
| 822 | </table> |
---|
| 823 | </td> |
---|
| 824 | </tr> |
---|
| 825 | </table> |
---|
| 826 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 827 | <tr> |
---|
| 828 | <td> |
---|
| 829 | |
---|
| 830 | </td> |
---|
| 831 | <td> |
---|
| 832 | |
---|
| 833 | <p> |
---|
| 834 | Called by <a class="el" href="_main_8cpp.html#a27">OnLostDevice()</a> (<a class="el" href="_main_8cpp.html">Main.cpp</a>) to perform app-specific tasks. |
---|
| 835 | <p> |
---|
| 836 | </td> |
---|
| 837 | </tr> |
---|
| 838 | </table> |
---|
| 839 | <a class="anchor" name="a23" doxytag="EnvMap::OnResetDevice"></a><p> |
---|
| 840 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 841 | <tr> |
---|
| 842 | <td class="mdRow"> |
---|
| 843 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 844 | <tr> |
---|
| 845 | <td class="md" nowrap valign="top">void EnvMap::OnResetDevice </td> |
---|
| 846 | <td class="md" valign="top">( </td> |
---|
| 847 | <td class="mdname1" valign="top" nowrap> </td> |
---|
| 848 | <td class="md" valign="top"> ) </td> |
---|
| 849 | <td class="md" nowrap></td> |
---|
| 850 | </tr> |
---|
| 851 | </table> |
---|
| 852 | </td> |
---|
| 853 | </tr> |
---|
| 854 | </table> |
---|
| 855 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 856 | <tr> |
---|
| 857 | <td> |
---|
| 858 | |
---|
| 859 | </td> |
---|
| 860 | <td> |
---|
| 861 | |
---|
| 862 | <p> |
---|
| 863 | Called by <a class="el" href="_main_8cpp.html#a21">OnResetDevice()</a> (<a class="el" href="_main_8cpp.html">Main.cpp</a>) to perform app-specific tasks. |
---|
| 864 | <p> |
---|
| 865 | </td> |
---|
| 866 | </tr> |
---|
| 867 | </table> |
---|
| 868 | <a class="anchor" name="a28" doxytag="EnvMap::PreConvolve"></a><p> |
---|
| 869 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 870 | <tr> |
---|
| 871 | <td class="mdRow"> |
---|
| 872 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 873 | <tr> |
---|
| 874 | <td class="md" nowrap valign="top">void EnvMap::PreConvolve </td> |
---|
| 875 | <td class="md" valign="top">( </td> |
---|
| 876 | <td class="md" nowrap valign="top">IDirect3DCubeTexture9 * </td> |
---|
| 877 | <td class="mdname" nowrap> <em>pSourceCube</em>, </td> |
---|
| 878 | </tr> |
---|
| 879 | <tr> |
---|
| 880 | <td class="md" nowrap align="right"></td> |
---|
| 881 | <td class="md"></td> |
---|
| 882 | <td class="md" nowrap>IDirect3DCubeTexture9 * </td> |
---|
| 883 | <td class="mdname" nowrap> <em>pDestCube</em></td> |
---|
| 884 | </tr> |
---|
| 885 | <tr> |
---|
| 886 | <td class="md"></td> |
---|
| 887 | <td class="md">) </td> |
---|
| 888 | <td class="md" colspan="2"></td> |
---|
| 889 | </tr> |
---|
| 890 | </table> |
---|
| 891 | </td> |
---|
| 892 | </tr> |
---|
| 893 | </table> |
---|
| 894 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 895 | <tr> |
---|
| 896 | <td> |
---|
| 897 | |
---|
| 898 | </td> |
---|
| 899 | <td> |
---|
| 900 | |
---|
| 901 | <p> |
---|
| 902 | Calculates the irradiance map by convolution. |
---|
| 903 | <p> |
---|
| 904 | Convolves data from the source cubemap and stores the result in the target cubemap. Uses ConvolutionPS(). </td> |
---|
| 905 | </tr> |
---|
| 906 | </table> |
---|
| 907 | <a class="anchor" name="a27" doxytag="EnvMap::ReduceCubeMapSize"></a><p> |
---|
| 908 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 909 | <tr> |
---|
| 910 | <td class="mdRow"> |
---|
| 911 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 912 | <tr> |
---|
| 913 | <td class="md" nowrap valign="top">void EnvMap::ReduceCubeMapSize </td> |
---|
| 914 | <td class="md" valign="top">( </td> |
---|
| 915 | <td class="md" nowrap valign="top">IDirect3DCubeTexture9 * </td> |
---|
| 916 | <td class="mdname" nowrap> <em>pSourceCube</em>, </td> |
---|
| 917 | </tr> |
---|
| 918 | <tr> |
---|
| 919 | <td class="md" nowrap align="right"></td> |
---|
| 920 | <td class="md"></td> |
---|
| 921 | <td class="md" nowrap>IDirect3DCubeTexture9 * </td> |
---|
| 922 | <td class="mdname" nowrap> <em>pDestCube</em></td> |
---|
| 923 | </tr> |
---|
| 924 | <tr> |
---|
| 925 | <td class="md"></td> |
---|
| 926 | <td class="md">) </td> |
---|
| 927 | <td class="md" colspan="2"></td> |
---|
| 928 | </tr> |
---|
| 929 | </table> |
---|
| 930 | </td> |
---|
| 931 | </tr> |
---|
| 932 | </table> |
---|
| 933 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 934 | <tr> |
---|
| 935 | <td> |
---|
| 936 | |
---|
| 937 | </td> |
---|
| 938 | <td> |
---|
| 939 | |
---|
| 940 | <p> |
---|
| 941 | Downsample a cube map to resolution LR_CUBEMAP_SIZE. |
---|
| 942 | <p> |
---|
| 943 | </td> |
---|
| 944 | </tr> |
---|
| 945 | </table> |
---|
| 946 | <a class="anchor" name="a17" doxytag="EnvMap::RenderCubeMap"></a><p> |
---|
| 947 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 948 | <tr> |
---|
| 949 | <td class="mdRow"> |
---|
| 950 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 951 | <tr> |
---|
| 952 | <td class="md" nowrap valign="top">void EnvMap::RenderCubeMap </td> |
---|
| 953 | <td class="md" valign="top">( </td> |
---|
| 954 | <td class="md" nowrap valign="top">IDirect3DCubeTexture9 * </td> |
---|
| 955 | <td class="mdname1" valign="top" nowrap> <em>pCubeTexture</em> </td> |
---|
| 956 | <td class="md" valign="top"> ) </td> |
---|
| 957 | <td class="md" nowrap></td> |
---|
| 958 | </tr> |
---|
| 959 | </table> |
---|
| 960 | </td> |
---|
| 961 | </tr> |
---|
| 962 | </table> |
---|
| 963 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 964 | <tr> |
---|
| 965 | <td> |
---|
| 966 | |
---|
| 967 | </td> |
---|
| 968 | <td> |
---|
| 969 | |
---|
| 970 | <p> |
---|
| 971 | Renders the environment into the specified cubemap. |
---|
| 972 | <p> |
---|
| 973 | The camera is placed into <a class="el" href="class_env_map.html#r16">reference_pos</a>. Uses technique <a class="el" href="_env_map_8fx.html#a51">IlluminatedScenePS()</a> for rendering. </td> |
---|
| 974 | </tr> |
---|
| 975 | </table> |
---|
| 976 | <a class="anchor" name="a29" doxytag="EnvMap::SaveCubeMap"></a><p> |
---|
| 977 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 978 | <tr> |
---|
| 979 | <td class="mdRow"> |
---|
| 980 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 981 | <tr> |
---|
| 982 | <td class="md" nowrap valign="top">void EnvMap::SaveCubeMap </td> |
---|
| 983 | <td class="md" valign="top">( </td> |
---|
| 984 | <td class="md" nowrap valign="top">IDirect3DCubeTexture9 * </td> |
---|
| 985 | <td class="mdname" nowrap> <em>pCubeTexture</em>, </td> |
---|
| 986 | </tr> |
---|
| 987 | <tr> |
---|
| 988 | <td class="md" nowrap align="right"></td> |
---|
| 989 | <td class="md"></td> |
---|
| 990 | <td class="md" nowrap>char * </td> |
---|
| 991 | <td class="mdname" nowrap> <em>FileNamePrefix</em>, </td> |
---|
| 992 | </tr> |
---|
| 993 | <tr> |
---|
| 994 | <td class="md" nowrap align="right"></td> |
---|
| 995 | <td class="md"></td> |
---|
| 996 | <td class="md" nowrap>char * </td> |
---|
| 997 | <td class="mdname" nowrap> <em>FileNameSuffix</em> = <code>""</code></td> |
---|
| 998 | </tr> |
---|
| 999 | <tr> |
---|
| 1000 | <td class="md"></td> |
---|
| 1001 | <td class="md">) </td> |
---|
| 1002 | <td class="md" colspan="2"></td> |
---|
| 1003 | </tr> |
---|
| 1004 | </table> |
---|
| 1005 | </td> |
---|
| 1006 | </tr> |
---|
| 1007 | </table> |
---|
| 1008 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1009 | <tr> |
---|
| 1010 | <td> |
---|
| 1011 | |
---|
| 1012 | </td> |
---|
| 1013 | <td> |
---|
| 1014 | |
---|
| 1015 | <p> |
---|
| 1016 | </td> |
---|
| 1017 | </tr> |
---|
| 1018 | </table> |
---|
| 1019 | <a class="anchor" name="a16" doxytag="EnvMap::ScaleAndOffset"></a><p> |
---|
| 1020 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1021 | <tr> |
---|
| 1022 | <td class="mdRow"> |
---|
| 1023 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1024 | <tr> |
---|
| 1025 | <td class="md" nowrap valign="top">D3DXMATRIXA16 EnvMap::ScaleAndOffset </td> |
---|
| 1026 | <td class="md" valign="top">( </td> |
---|
| 1027 | <td class="md" nowrap valign="top">D3DXVECTOR3 </td> |
---|
| 1028 | <td class="mdname" nowrap> <em>vScale</em>, </td> |
---|
| 1029 | </tr> |
---|
| 1030 | <tr> |
---|
| 1031 | <td class="md" nowrap align="right"></td> |
---|
| 1032 | <td class="md"></td> |
---|
| 1033 | <td class="md" nowrap>D3DXVECTOR3 </td> |
---|
| 1034 | <td class="mdname" nowrap> <em>vOffset</em></td> |
---|
| 1035 | </tr> |
---|
| 1036 | <tr> |
---|
| 1037 | <td class="md"></td> |
---|
| 1038 | <td class="md">) </td> |
---|
| 1039 | <td class="md" colspan="2"></td> |
---|
| 1040 | </tr> |
---|
| 1041 | </table> |
---|
| 1042 | </td> |
---|
| 1043 | </tr> |
---|
| 1044 | </table> |
---|
| 1045 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1046 | <tr> |
---|
| 1047 | <td> |
---|
| 1048 | |
---|
| 1049 | </td> |
---|
| 1050 | <td> |
---|
| 1051 | |
---|
| 1052 | <p> |
---|
| 1053 | Sets the given scaling and offset. <dl compact><dt><b>Returns:</b></dt><dd>The resulting world transformation matrix. </dd></dl> |
---|
| 1054 | </td> |
---|
| 1055 | </tr> |
---|
| 1056 | </table> |
---|
| 1057 | <a class="anchor" name="a15" doxytag="EnvMap::ScaleAndOffset"></a><p> |
---|
| 1058 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1059 | <tr> |
---|
| 1060 | <td class="mdRow"> |
---|
| 1061 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1062 | <tr> |
---|
| 1063 | <td class="md" nowrap valign="top">D3DXMATRIXA16 EnvMap::ScaleAndOffset </td> |
---|
| 1064 | <td class="md" valign="top">( </td> |
---|
| 1065 | <td class="md" nowrap valign="top">float </td> |
---|
| 1066 | <td class="mdname" nowrap> <em>fScale</em>, </td> |
---|
| 1067 | </tr> |
---|
| 1068 | <tr> |
---|
| 1069 | <td class="md" nowrap align="right"></td> |
---|
| 1070 | <td class="md"></td> |
---|
| 1071 | <td class="md" nowrap>D3DXVECTOR3 </td> |
---|
| 1072 | <td class="mdname" nowrap> <em>vOffset</em></td> |
---|
| 1073 | </tr> |
---|
| 1074 | <tr> |
---|
| 1075 | <td class="md"></td> |
---|
| 1076 | <td class="md">) </td> |
---|
| 1077 | <td class="md" colspan="2"></td> |
---|
| 1078 | </tr> |
---|
| 1079 | </table> |
---|
| 1080 | </td> |
---|
| 1081 | </tr> |
---|
| 1082 | </table> |
---|
| 1083 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1084 | <tr> |
---|
| 1085 | <td> |
---|
| 1086 | |
---|
| 1087 | </td> |
---|
| 1088 | <td> |
---|
| 1089 | |
---|
| 1090 | <p> |
---|
| 1091 | Sets the given uniform scaling and an offset. <dl compact><dt><b>Returns:</b></dt><dd>The resulting world transformation matrix. </dd></dl> |
---|
| 1092 | </td> |
---|
| 1093 | </tr> |
---|
| 1094 | </table> |
---|
| 1095 | <a class="anchor" name="a1" doxytag="EnvMap::SetCamera"></a><p> |
---|
| 1096 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1097 | <tr> |
---|
| 1098 | <td class="mdRow"> |
---|
| 1099 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1100 | <tr> |
---|
| 1101 | <td class="md" nowrap valign="top">void EnvMap::SetCamera </td> |
---|
| 1102 | <td class="md" valign="top">( </td> |
---|
| 1103 | <td class="md" nowrap valign="top">CModelViewerCamera * </td> |
---|
| 1104 | <td class="mdname1" valign="top" nowrap> <em>camera</em> </td> |
---|
| 1105 | <td class="md" valign="top"> ) </td> |
---|
| 1106 | <td class="md" nowrap><code> [inline]</code></td> |
---|
| 1107 | </tr> |
---|
| 1108 | </table> |
---|
| 1109 | </td> |
---|
| 1110 | </tr> |
---|
| 1111 | </table> |
---|
| 1112 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1113 | <tr> |
---|
| 1114 | <td> |
---|
| 1115 | |
---|
| 1116 | </td> |
---|
| 1117 | <td> |
---|
| 1118 | |
---|
| 1119 | <p> |
---|
| 1120 | </td> |
---|
| 1121 | </tr> |
---|
| 1122 | </table> |
---|
| 1123 | <a class="anchor" name="a8" doxytag="EnvMap::SetMeshPosition"></a><p> |
---|
| 1124 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1125 | <tr> |
---|
| 1126 | <td class="mdRow"> |
---|
| 1127 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1128 | <tr> |
---|
| 1129 | <td class="md" nowrap valign="top">void EnvMap::SetMeshPosition </td> |
---|
| 1130 | <td class="md" valign="top">( </td> |
---|
| 1131 | <td class="md" nowrap valign="top">D3DXVECTOR3 </td> |
---|
| 1132 | <td class="mdname1" valign="top" nowrap> <em>pos</em> </td> |
---|
| 1133 | <td class="md" valign="top"> ) </td> |
---|
| 1134 | <td class="md" nowrap><code> [inline]</code></td> |
---|
| 1135 | </tr> |
---|
| 1136 | </table> |
---|
| 1137 | </td> |
---|
| 1138 | </tr> |
---|
| 1139 | </table> |
---|
| 1140 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1141 | <tr> |
---|
| 1142 | <td> |
---|
| 1143 | |
---|
| 1144 | </td> |
---|
| 1145 | <td> |
---|
| 1146 | |
---|
| 1147 | <p> |
---|
| 1148 | </td> |
---|
| 1149 | </tr> |
---|
| 1150 | </table> |
---|
| 1151 | <a class="anchor" name="a7" doxytag="EnvMap::SetMeshSize"></a><p> |
---|
| 1152 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1153 | <tr> |
---|
| 1154 | <td class="mdRow"> |
---|
| 1155 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1156 | <tr> |
---|
| 1157 | <td class="md" nowrap valign="top">void EnvMap::SetMeshSize </td> |
---|
| 1158 | <td class="md" valign="top">( </td> |
---|
| 1159 | <td class="md" nowrap valign="top">float </td> |
---|
| 1160 | <td class="mdname1" valign="top" nowrap> <em>d</em> </td> |
---|
| 1161 | <td class="md" valign="top"> ) </td> |
---|
| 1162 | <td class="md" nowrap><code> [inline]</code></td> |
---|
| 1163 | </tr> |
---|
| 1164 | </table> |
---|
| 1165 | </td> |
---|
| 1166 | </tr> |
---|
| 1167 | </table> |
---|
| 1168 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1169 | <tr> |
---|
| 1170 | <td> |
---|
| 1171 | |
---|
| 1172 | </td> |
---|
| 1173 | <td> |
---|
| 1174 | |
---|
| 1175 | <p> |
---|
| 1176 | </td> |
---|
| 1177 | </tr> |
---|
| 1178 | </table> |
---|
| 1179 | <a class="anchor" name="a14" doxytag="EnvMap::SetWorldViewProj"></a><p> |
---|
| 1180 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1181 | <tr> |
---|
| 1182 | <td class="mdRow"> |
---|
| 1183 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1184 | <tr> |
---|
| 1185 | <td class="md" nowrap valign="top">void EnvMap::SetWorldViewProj </td> |
---|
| 1186 | <td class="md" valign="top">( </td> |
---|
| 1187 | <td class="md" nowrap valign="top">D3DXMATRIXA16 & </td> |
---|
| 1188 | <td class="mdname" nowrap> <em>mWorld</em>, </td> |
---|
| 1189 | </tr> |
---|
| 1190 | <tr> |
---|
| 1191 | <td class="md" nowrap align="right"></td> |
---|
| 1192 | <td class="md"></td> |
---|
| 1193 | <td class="md" nowrap>D3DXMATRIXA16 & </td> |
---|
| 1194 | <td class="mdname" nowrap> <em>mView</em>, </td> |
---|
| 1195 | </tr> |
---|
| 1196 | <tr> |
---|
| 1197 | <td class="md" nowrap align="right"></td> |
---|
| 1198 | <td class="md"></td> |
---|
| 1199 | <td class="md" nowrap>D3DXMATRIXA16 & </td> |
---|
| 1200 | <td class="mdname" nowrap> <em>mProj</em></td> |
---|
| 1201 | </tr> |
---|
| 1202 | <tr> |
---|
| 1203 | <td class="md"></td> |
---|
| 1204 | <td class="md">) </td> |
---|
| 1205 | <td class="md" colspan="2"></td> |
---|
| 1206 | </tr> |
---|
| 1207 | </table> |
---|
| 1208 | </td> |
---|
| 1209 | </tr> |
---|
| 1210 | </table> |
---|
| 1211 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1212 | <tr> |
---|
| 1213 | <td> |
---|
| 1214 | |
---|
| 1215 | </td> |
---|
| 1216 | <td> |
---|
| 1217 | |
---|
| 1218 | <p> |
---|
| 1219 | Uploads the specified world/view/projection transformation matrices to the GPU. |
---|
| 1220 | <p> |
---|
| 1221 | </td> |
---|
| 1222 | </tr> |
---|
| 1223 | </table> |
---|
| 1224 | <hr><h2>Member Data Documentation</h2> |
---|
| 1225 | <a class="anchor" name="r9" doxytag="EnvMap::bCubeMapIsValid"></a><p> |
---|
| 1226 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1227 | <tr> |
---|
| 1228 | <td class="mdRow"> |
---|
| 1229 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1230 | <tr> |
---|
| 1231 | <td class="md" nowrap valign="top">bool <a class="el" href="class_env_map.html#r9">EnvMap::bCubeMapIsValid</a><code> [private]</code> </td> |
---|
| 1232 | </tr> |
---|
| 1233 | </table> |
---|
| 1234 | </td> |
---|
| 1235 | </tr> |
---|
| 1236 | </table> |
---|
| 1237 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1238 | <tr> |
---|
| 1239 | <td> |
---|
| 1240 | |
---|
| 1241 | </td> |
---|
| 1242 | <td> |
---|
| 1243 | |
---|
| 1244 | <p> |
---|
| 1245 | </td> |
---|
| 1246 | </tr> |
---|
| 1247 | </table> |
---|
| 1248 | <a class="anchor" name="r10" doxytag="EnvMap::bShininessIsValid"></a><p> |
---|
| 1249 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1250 | <tr> |
---|
| 1251 | <td class="mdRow"> |
---|
| 1252 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1253 | <tr> |
---|
| 1254 | <td class="md" nowrap valign="top">bool <a class="el" href="class_env_map.html#r10">EnvMap::bShininessIsValid</a><code> [private]</code> </td> |
---|
| 1255 | </tr> |
---|
| 1256 | </table> |
---|
| 1257 | </td> |
---|
| 1258 | </tr> |
---|
| 1259 | </table> |
---|
| 1260 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1261 | <tr> |
---|
| 1262 | <td> |
---|
| 1263 | |
---|
| 1264 | </td> |
---|
| 1265 | <td> |
---|
| 1266 | |
---|
| 1267 | <p> |
---|
| 1268 | indicates that the cube map has to be re-generated |
---|
| 1269 | <p> |
---|
| 1270 | </td> |
---|
| 1271 | </tr> |
---|
| 1272 | </table> |
---|
| 1273 | <a class="anchor" name="r2" doxytag="EnvMap::camera"></a><p> |
---|
| 1274 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1275 | <tr> |
---|
| 1276 | <td class="mdRow"> |
---|
| 1277 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1278 | <tr> |
---|
| 1279 | <td class="md" nowrap valign="top">CModelViewerCamera* <a class="el" href="class_env_map.html#r2">EnvMap::camera</a><code> [private]</code> </td> |
---|
| 1280 | </tr> |
---|
| 1281 | </table> |
---|
| 1282 | </td> |
---|
| 1283 | </tr> |
---|
| 1284 | </table> |
---|
| 1285 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1286 | <tr> |
---|
| 1287 | <td> |
---|
| 1288 | |
---|
| 1289 | </td> |
---|
| 1290 | <td> |
---|
| 1291 | |
---|
| 1292 | <p> |
---|
| 1293 | Rotate/zoom camera, always looking to the origin. |
---|
| 1294 | <p> |
---|
| 1295 | </td> |
---|
| 1296 | </tr> |
---|
| 1297 | </table> |
---|
| 1298 | <a class="anchor" name="r13" doxytag="EnvMap::centralMesh"></a><p> |
---|
| 1299 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1300 | <tr> |
---|
| 1301 | <td class="mdRow"> |
---|
| 1302 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1303 | <tr> |
---|
| 1304 | <td class="md" nowrap valign="top"><a class="el" href="class_mesh.html">Mesh</a>* <a class="el" href="class_env_map.html#r13">EnvMap::centralMesh</a><code> [private]</code> </td> |
---|
| 1305 | </tr> |
---|
| 1306 | </table> |
---|
| 1307 | </td> |
---|
| 1308 | </tr> |
---|
| 1309 | </table> |
---|
| 1310 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1311 | <tr> |
---|
| 1312 | <td> |
---|
| 1313 | |
---|
| 1314 | </td> |
---|
| 1315 | <td> |
---|
| 1316 | |
---|
| 1317 | <p> |
---|
| 1318 | Size of the cubic room. |
---|
| 1319 | <p> |
---|
| 1320 | </td> |
---|
| 1321 | </tr> |
---|
| 1322 | </table> |
---|
| 1323 | <a class="anchor" name="r11" doxytag="EnvMap::cube"></a><p> |
---|
| 1324 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1325 | <tr> |
---|
| 1326 | <td class="mdRow"> |
---|
| 1327 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1328 | <tr> |
---|
| 1329 | <td class="md" nowrap valign="top"><a class="el" href="class_cube.html">Cube</a>* <a class="el" href="class_env_map.html#r11">EnvMap::cube</a><code> [private]</code> </td> |
---|
| 1330 | </tr> |
---|
| 1331 | </table> |
---|
| 1332 | </td> |
---|
| 1333 | </tr> |
---|
| 1334 | </table> |
---|
| 1335 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1336 | <tr> |
---|
| 1337 | <td> |
---|
| 1338 | |
---|
| 1339 | </td> |
---|
| 1340 | <td> |
---|
| 1341 | |
---|
| 1342 | <p> |
---|
| 1343 | indicates that the reflectivity integral has to be re-calculated |
---|
| 1344 | <p> |
---|
| 1345 | </td> |
---|
| 1346 | </tr> |
---|
| 1347 | </table> |
---|
| 1348 | <a class="anchor" name="r1" doxytag="EnvMap::g_pEffect"></a><p> |
---|
| 1349 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1350 | <tr> |
---|
| 1351 | <td class="mdRow"> |
---|
| 1352 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1353 | <tr> |
---|
| 1354 | <td class="md" nowrap valign="top">ID3DXEffect* <a class="el" href="class_env_map.html#r1">EnvMap::g_pEffect</a><code> [private]</code> </td> |
---|
| 1355 | </tr> |
---|
| 1356 | </table> |
---|
| 1357 | </td> |
---|
| 1358 | </tr> |
---|
| 1359 | </table> |
---|
| 1360 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1361 | <tr> |
---|
| 1362 | <td> |
---|
| 1363 | |
---|
| 1364 | </td> |
---|
| 1365 | <td> |
---|
| 1366 | |
---|
| 1367 | <p> |
---|
| 1368 | THE EFFECT FILE. |
---|
| 1369 | <p> |
---|
| 1370 | </td> |
---|
| 1371 | </tr> |
---|
| 1372 | </table> |
---|
| 1373 | <a class="anchor" name="r3" doxytag="EnvMap::hr"></a><p> |
---|
| 1374 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1375 | <tr> |
---|
| 1376 | <td class="mdRow"> |
---|
| 1377 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1378 | <tr> |
---|
| 1379 | <td class="md" nowrap valign="top">HRESULT <a class="el" href="class_env_map.html#r3">EnvMap::hr</a><code> [private]</code> </td> |
---|
| 1380 | </tr> |
---|
| 1381 | </table> |
---|
| 1382 | </td> |
---|
| 1383 | </tr> |
---|
| 1384 | </table> |
---|
| 1385 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1386 | <tr> |
---|
| 1387 | <td> |
---|
| 1388 | |
---|
| 1389 | </td> |
---|
| 1390 | <td> |
---|
| 1391 | |
---|
| 1392 | <p> |
---|
| 1393 | </td> |
---|
| 1394 | </tr> |
---|
| 1395 | </table> |
---|
| 1396 | <a class="anchor" name="r15" doxytag="EnvMap::meshCount"></a><p> |
---|
| 1397 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1398 | <tr> |
---|
| 1399 | <td class="mdRow"> |
---|
| 1400 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1401 | <tr> |
---|
| 1402 | <td class="md" nowrap valign="top">int <a class="el" href="class_env_map.html#r15">EnvMap::meshCount</a><code> [private]</code> </td> |
---|
| 1403 | </tr> |
---|
| 1404 | </table> |
---|
| 1405 | </td> |
---|
| 1406 | </tr> |
---|
| 1407 | </table> |
---|
| 1408 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1409 | <tr> |
---|
| 1410 | <td> |
---|
| 1411 | |
---|
| 1412 | </td> |
---|
| 1413 | <td> |
---|
| 1414 | |
---|
| 1415 | <p> |
---|
| 1416 | Objects of the environment (fireballs, etc.). |
---|
| 1417 | <p> |
---|
| 1418 | </td> |
---|
| 1419 | </tr> |
---|
| 1420 | </table> |
---|
| 1421 | <a class="anchor" name="r14" doxytag="EnvMap::meshes"></a><p> |
---|
| 1422 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1423 | <tr> |
---|
| 1424 | <td class="mdRow"> |
---|
| 1425 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1426 | <tr> |
---|
| 1427 | <td class="md" nowrap valign="top"><a class="el" href="class_mesh.html">Mesh</a>* <a class="el" href="class_env_map.html#r14">EnvMap::meshes</a>[10]<code> [private]</code> </td> |
---|
| 1428 | </tr> |
---|
| 1429 | </table> |
---|
| 1430 | </td> |
---|
| 1431 | </tr> |
---|
| 1432 | </table> |
---|
| 1433 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1434 | <tr> |
---|
| 1435 | <td> |
---|
| 1436 | |
---|
| 1437 | </td> |
---|
| 1438 | <td> |
---|
| 1439 | |
---|
| 1440 | <p> |
---|
| 1441 | The diffuse/glossy object to be shaded. |
---|
| 1442 | <p> |
---|
| 1443 | </td> |
---|
| 1444 | </tr> |
---|
| 1445 | </table> |
---|
| 1446 | <a class="anchor" name="r7" doxytag="EnvMap::pCosValuesTexture"></a><p> |
---|
| 1447 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1448 | <tr> |
---|
| 1449 | <td class="mdRow"> |
---|
| 1450 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1451 | <tr> |
---|
| 1452 | <td class="md" nowrap valign="top">IDirect3DTexture9* <a class="el" href="class_env_map.html#r7">EnvMap::pCosValuesTexture</a><code> [private]</code> </td> |
---|
| 1453 | </tr> |
---|
| 1454 | </table> |
---|
| 1455 | </td> |
---|
| 1456 | </tr> |
---|
| 1457 | </table> |
---|
| 1458 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1459 | <tr> |
---|
| 1460 | <td> |
---|
| 1461 | |
---|
| 1462 | </td> |
---|
| 1463 | <td> |
---|
| 1464 | |
---|
| 1465 | <p> |
---|
| 1466 | Helper texture with precomputed geometric factor values. |
---|
| 1467 | <p> |
---|
| 1468 | </td> |
---|
| 1469 | </tr> |
---|
| 1470 | </table> |
---|
| 1471 | <a class="anchor" name="r4" doxytag="EnvMap::pCubeTexture"></a><p> |
---|
| 1472 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1473 | <tr> |
---|
| 1474 | <td class="mdRow"> |
---|
| 1475 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1476 | <tr> |
---|
| 1477 | <td class="md" nowrap valign="top">IDirect3DCubeTexture9* <a class="el" href="class_env_map.html#r4">EnvMap::pCubeTexture</a><code> [private]</code> </td> |
---|
| 1478 | </tr> |
---|
| 1479 | </table> |
---|
| 1480 | </td> |
---|
| 1481 | </tr> |
---|
| 1482 | </table> |
---|
| 1483 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1484 | <tr> |
---|
| 1485 | <td> |
---|
| 1486 | |
---|
| 1487 | </td> |
---|
| 1488 | <td> |
---|
| 1489 | |
---|
| 1490 | <p> |
---|
| 1491 | Cubemap that stores the environment as seen from the reference point. See method <a class="el" href="class_env_map.html#a17">RenderCubeMap()</a>. |
---|
| 1492 | <p> |
---|
| 1493 | </td> |
---|
| 1494 | </tr> |
---|
| 1495 | </table> |
---|
| 1496 | <a class="anchor" name="r6" doxytag="EnvMap::pCubeTexturePreConvolved"></a><p> |
---|
| 1497 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1498 | <tr> |
---|
| 1499 | <td class="mdRow"> |
---|
| 1500 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1501 | <tr> |
---|
| 1502 | <td class="md" nowrap valign="top">IDirect3DCubeTexture9* <a class="el" href="class_env_map.html#r6">EnvMap::pCubeTexturePreConvolved</a><code> [private]</code> </td> |
---|
| 1503 | </tr> |
---|
| 1504 | </table> |
---|
| 1505 | </td> |
---|
| 1506 | </tr> |
---|
| 1507 | </table> |
---|
| 1508 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1509 | <tr> |
---|
| 1510 | <td> |
---|
| 1511 | |
---|
| 1512 | </td> |
---|
| 1513 | <td> |
---|
| 1514 | |
---|
| 1515 | <p> |
---|
| 1516 | Low-resolution cubemap that stores preconvolved data for diffuse/specular environment mapping. See method <a class="el" href="class_env_map.html#a28">PreConvolve()</a>. |
---|
| 1517 | <p> |
---|
| 1518 | </td> |
---|
| 1519 | </tr> |
---|
| 1520 | </table> |
---|
| 1521 | <a class="anchor" name="r5" doxytag="EnvMap::pCubeTextureSmall"></a><p> |
---|
| 1522 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1523 | <tr> |
---|
| 1524 | <td class="mdRow"> |
---|
| 1525 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1526 | <tr> |
---|
| 1527 | <td class="md" nowrap valign="top">IDirect3DCubeTexture9* <a class="el" href="class_env_map.html#r5">EnvMap::pCubeTextureSmall</a><code> [private]</code> </td> |
---|
| 1528 | </tr> |
---|
| 1529 | </table> |
---|
| 1530 | </td> |
---|
| 1531 | </tr> |
---|
| 1532 | </table> |
---|
| 1533 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1534 | <tr> |
---|
| 1535 | <td> |
---|
| 1536 | |
---|
| 1537 | </td> |
---|
| 1538 | <td> |
---|
| 1539 | |
---|
| 1540 | <p> |
---|
| 1541 | Low-resolution (downsampled) cubemap, derived from <a class="el" href="class_env_map.html#r4">pCubeTexture</a>. See <a class="el" href="class_env_map.html#a27">ReduceCubeMapSize()</a>. |
---|
| 1542 | <p> |
---|
| 1543 | </td> |
---|
| 1544 | </tr> |
---|
| 1545 | </table> |
---|
| 1546 | <a class="anchor" name="r0" doxytag="EnvMap::pd3dDevice"></a><p> |
---|
| 1547 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1548 | <tr> |
---|
| 1549 | <td class="mdRow"> |
---|
| 1550 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1551 | <tr> |
---|
| 1552 | <td class="md" nowrap valign="top">IDirect3DDevice9* <a class="el" href="class_env_map.html#r0">EnvMap::pd3dDevice</a><code> [private]</code> </td> |
---|
| 1553 | </tr> |
---|
| 1554 | </table> |
---|
| 1555 | </td> |
---|
| 1556 | </tr> |
---|
| 1557 | </table> |
---|
| 1558 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1559 | <tr> |
---|
| 1560 | <td> |
---|
| 1561 | |
---|
| 1562 | </td> |
---|
| 1563 | <td> |
---|
| 1564 | |
---|
| 1565 | <p> |
---|
| 1566 | THE D3D DEVICE. |
---|
| 1567 | <p> |
---|
| 1568 | </td> |
---|
| 1569 | </tr> |
---|
| 1570 | </table> |
---|
| 1571 | <a class="anchor" name="r8" doxytag="EnvMap::pRoomTexture"></a><p> |
---|
| 1572 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1573 | <tr> |
---|
| 1574 | <td class="mdRow"> |
---|
| 1575 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1576 | <tr> |
---|
| 1577 | <td class="md" nowrap valign="top">IDirect3DTexture9* <a class="el" href="class_env_map.html#r8">EnvMap::pRoomTexture</a><code> [private]</code> </td> |
---|
| 1578 | </tr> |
---|
| 1579 | </table> |
---|
| 1580 | </td> |
---|
| 1581 | </tr> |
---|
| 1582 | </table> |
---|
| 1583 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1584 | <tr> |
---|
| 1585 | <td> |
---|
| 1586 | |
---|
| 1587 | </td> |
---|
| 1588 | <td> |
---|
| 1589 | |
---|
| 1590 | <p> |
---|
| 1591 | Texture to be displayed on the walls of the cubic room. |
---|
| 1592 | <p> |
---|
| 1593 | </td> |
---|
| 1594 | </tr> |
---|
| 1595 | </table> |
---|
| 1596 | <a class="anchor" name="o0" doxytag="EnvMap::pVertexBuffer"></a><p> |
---|
| 1597 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1598 | <tr> |
---|
| 1599 | <td class="mdRow"> |
---|
| 1600 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1601 | <tr> |
---|
| 1602 | <td class="md" nowrap valign="top">IDirect3DVertexBuffer9* <a class="el" href="class_env_map.html#o0">EnvMap::pVertexBuffer</a> </td> |
---|
| 1603 | </tr> |
---|
| 1604 | </table> |
---|
| 1605 | </td> |
---|
| 1606 | </tr> |
---|
| 1607 | </table> |
---|
| 1608 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1609 | <tr> |
---|
| 1610 | <td> |
---|
| 1611 | |
---|
| 1612 | </td> |
---|
| 1613 | <td> |
---|
| 1614 | |
---|
| 1615 | <p> |
---|
| 1616 | </td> |
---|
| 1617 | </tr> |
---|
| 1618 | </table> |
---|
| 1619 | <a class="anchor" name="r16" doxytag="EnvMap::reference_pos"></a><p> |
---|
| 1620 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1621 | <tr> |
---|
| 1622 | <td class="mdRow"> |
---|
| 1623 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1624 | <tr> |
---|
| 1625 | <td class="md" nowrap valign="top">D3DXVECTOR3 <a class="el" href="class_env_map.html#r16">EnvMap::reference_pos</a><code> [private]</code> </td> |
---|
| 1626 | </tr> |
---|
| 1627 | </table> |
---|
| 1628 | </td> |
---|
| 1629 | </tr> |
---|
| 1630 | </table> |
---|
| 1631 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1632 | <tr> |
---|
| 1633 | <td> |
---|
| 1634 | |
---|
| 1635 | </td> |
---|
| 1636 | <td> |
---|
| 1637 | |
---|
| 1638 | <p> |
---|
| 1639 | Number of objects in the environment. |
---|
| 1640 | <p> |
---|
| 1641 | </td> |
---|
| 1642 | </tr> |
---|
| 1643 | </table> |
---|
| 1644 | <a class="anchor" name="r12" doxytag="EnvMap::roomSize"></a><p> |
---|
| 1645 | <table class="mdTable" cellpadding="2" cellspacing="0"> |
---|
| 1646 | <tr> |
---|
| 1647 | <td class="mdRow"> |
---|
| 1648 | <table cellpadding="0" cellspacing="0" border="0"> |
---|
| 1649 | <tr> |
---|
| 1650 | <td class="md" nowrap valign="top">float <a class="el" href="class_env_map.html#r12">EnvMap::roomSize</a><code> [private]</code> </td> |
---|
| 1651 | </tr> |
---|
| 1652 | </table> |
---|
| 1653 | </td> |
---|
| 1654 | </tr> |
---|
| 1655 | </table> |
---|
| 1656 | <table cellspacing="5" cellpadding="0" border="0"> |
---|
| 1657 | <tr> |
---|
| 1658 | <td> |
---|
| 1659 | |
---|
| 1660 | </td> |
---|
| 1661 | <td> |
---|
| 1662 | |
---|
| 1663 | <p> |
---|
| 1664 | Simple cube centralMesh for the room. See <a class="el" href="class_env_map.html#a13">EnvMap::DrawEnvObjects()</a>. |
---|
| 1665 | <p> |
---|
| 1666 | </td> |
---|
| 1667 | </tr> |
---|
| 1668 | </table> |
---|
| 1669 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
| 1670 | <li><a class="el" href="_env_map_8h.html">EnvMap.h</a><li><a class="el" href="_env_map_8cpp.html">EnvMap.cpp</a></ul> |
---|
| 1671 | <hr size="1"><address style="align: right;"><small>Generated on Wed Aug 23 00:00:39 2006 for Indirect Environment Mapping by |
---|
| 1672 | <a href="http://www.doxygen.org/index.html"> |
---|
| 1673 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address> |
---|
| 1674 | </body> |
---|
| 1675 | </html> |
---|