- Timestamp:
- 06/26/06 09:52:08 (19 years ago)
- Location:
- GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderingRuns
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderingRuns/OgreCausticCubeMapRenderingRun.h
r790 r1055 40 40 String materialName, 41 41 unsigned char photonMapTexId, 42 bool updateAllFace 42 bool updateAllFace, 43 float attenuation 43 44 ); 44 45 /** … … 49 50 //inherited 50 51 void photonMapChanged(RenderingRun* run); 52 float getAttenuation(){return attenuation;} 51 53 54 bool canJoin(OgreRenderingRun* run) 55 { 56 OgreCausticCubeMapRenderingRun* r = (OgreCausticCubeMapRenderingRun*) run; 57 if(r->materialName == materialName) 58 return true; 59 return false; 60 } 61 52 62 protected: 53 63 /** … … 71 81 */ 72 82 String materialName; 83 float attenuation; 73 84 74 85 //inherited -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderingRuns/OgreDepthShadowMapRenderingRun.h
r790 r1055 41 41 @brief returns the depth shadow map texture created by this run 42 42 */ 43 String getDepthMapTextureName( ){return name;}43 String getDepthMapTextureName(int i){return names[i];} 44 44 /** 45 45 @brief Refreshes light camera matrices, called in each update. … … 49 49 @brief retuns the view matrix of the camera from which the depth shadow map was created 50 50 */ 51 Matrix4 getLightViewMatrix( );51 Matrix4 getLightViewMatrix(int i); 52 52 /** 53 53 @brief retuns the concatenation of the view and projection matrices of the camera from which the depth shadow map was created 54 54 */ 55 Matrix4 getLightViewProjMatrix( );55 Matrix4 getLightViewProjMatrix(int i); 56 56 57 57 protected: … … 63 63 @brief pointer to the camera of the lightsource 64 64 */ 65 Camera* depthMapCamera ;65 Camera* depthMapCameras[2]; 66 66 /** 67 67 @brief the name of the material to be used when rendering the depth shadow map … … 75 75 @brief the name of the depth shadow map texture that was created by this run 76 76 */ 77 String name ;77 String names[2]; 78 78 /** 79 79 @brief a pointer to the depth shadow texture that was created by this run 80 80 */ 81 Texture* depthMapTexture ;81 Texture* depthMapTextures[2]; 82 82 83 83 //inherited -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderingRuns/OgrePhotonMapRenderingRun.h
r949 r1055 48 48 void refreshLight(); 49 49 50 50 bool canJoin(OgreRenderingRun* run) 51 { 52 OgrePhotonMapRenderingRun* r = (OgrePhotonMapRenderingRun*) run; 53 if(r->materialName == materialName) 54 return true; 55 return false; 56 } 51 57 void distanceCubeMapChanged(RenderingRun* run); 52 58
Note: See TracChangeset
for help on using the changeset viewer.