- Timestamp:
- 06/26/06 09:52:08 (19 years ago)
- Location:
- GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreCausticCasterRenderTechnique.h
r949 r1055 43 43 bool updateAllFace, 44 44 bool useDistance, 45 float attenuation, 45 46 Pass* pass, 46 47 OgreRenderable* parentRenderable, … … 57 58 */ 58 59 String& getCausticCubeMapName(); 60 float getAttenuation(){return attenuation;} 59 61 60 62 protected: 61 63 62 64 /** 63 65 @brief name of the created photon hit map texture … … 72 74 */ 73 75 unsigned char photonMapTexID; 76 float attenuation; 74 77 75 78 //inherited 76 v irtual void photonMapRunChanged(RenderingRun* run);79 void photonMapRunChanged(RenderingRun* run); 77 80 //inherited 78 v irtual void causticCubeMapRunChanged(RenderingRun* run);81 void causticCubeMapRunChanged(RenderingRun* run); 79 82 //inherited 80 v irtual void distanceCubeMapRunChanged(RenderingRun* run);83 void distanceCubeMapRunChanged(RenderingRun* run); 81 84 //inherited 82 85 void distanceCubeMapRunUpdated(RenderingRun* run); 83 86 //inherited 84 virtualRenderingRun* createPhotonMapRun();87 RenderingRun* createPhotonMapRun(); 85 88 //inherited 86 virtualRenderingRun* createCausticCubeMapRun();89 RenderingRun* createCausticCubeMapRun(); 87 90 //inherited 88 virtualRenderingRun* createDistanceCubeMapRun();91 RenderingRun* createDistanceCubeMapRun(); 89 92 }; 90 93 … … 102 105 103 106 107 float attenuation; 104 108 unsigned long startFrame; 105 109 unsigned long photonMapUpdateInterval; -
GTP/trunk/Lib/Illum/IllumModule/OgreIllumModule/include/RenderTechniques/OgreSBBRenderTechnique.h
r836 r1055 18 18 */ 19 19 class OgreSBBRenderTechnique : public OgreRenderTechnique, 20 public SBBRenderTechnique 20 public SBBRenderTechnique, 21 public RenderTargetListener, 22 public FrameListener, 23 public UpdateListener 21 24 { 22 25 public: … … 39 42 //inherited 40 43 virtual void update(unsigned long frameNum); 44 45 void preRenderTargetUpdate (const RenderTargetEvent &evt); 46 void postRenderTargetUpdate (const RenderTargetEvent &evt); 47 bool frameEnded (const FrameEvent &evt); 48 void preAllUpdates(); 49 void postAllUpdates(); 41 50 42 51 protected: … … 45 54 */ 46 55 unsigned char depthTexID; 56 57 bool lastVisibility; 47 58 48 59 };
Note: See TracChangeset
for help on using the changeset viewer.