20 #include <matrix/vlVector.h>
25 #include <osg/Texture>
26 #include <osg/Uniform>
27 #include <osg/ref_ptr>
31 class GraphicsContext;
36 class DtOsgWeatherEffectsObject;
37 class DtIndirectTextureProcessor;
75 virtual void initializeEffect(
const std::vector<osg::StateSet*>& statesets,
82 virtual void updateTextureUniforms(
const osg::GraphicsContext* graphicsContext);
85 virtual void setCameraLocation(
const DtVector& location);
89 virtual void setWindSpeed(
float speed);
93 virtual void setWindDirection(
float direction);
96 virtual void setEffectDirty(
bool dirty);
99 virtual bool effectDirty();
102 virtual void updateImGui() = 0;
105 virtual void updateUniforms() = 0;
108 virtual void releaseGLObjects(osg::State* state);
113 virtual int loadShaderEffectTexture(
const std::string&
filename,
const std::string& uniformName);
116 virtual int addShaderEffectTexture(
osg::Texture* shaderEffectTexture,
const std::string& uniformName);
Diagonal crossing liens.
Definition: DtTacticalGraphicUtilities.h:93
The DtOsgRenderer is the component responsible for rendering 3D images onto the screen via OpenSceneG...
Definition: DtOsgRenderer.h:87
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
DtShaderEffect injects custom shaders into the scenes, There are derrived classes of this for snow an...
Definition: DtShaderEffect.h:42
Structure for holding per texture data for bindless textures.
Definition: DtShaderEffect.h:47
TextureDataPtrVector myShaderEffectTextures
Definition: DtShaderEffect.h:122
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Contains the DtIndirectTextureProcessor class declaration.
DtDe & myDe
Definition: DtShaderEffect.h:120
bool myEffectDirty
Definition: DtShaderEffect.h:126
Contains makVrv::DtVirtualBaseClass class.
osg::ref_ptr< osg::Uniform > myUniform
Definition: DtShaderEffect.h:51
osg::ref_ptr< osg::Texture > myTexture
Definition: DtShaderEffect.h:50
Contains makVrv::DtShaderEffectManager class.
Definition: DtIndirectTextureProcessor.h:42
Base class to provide boost signal/slot management.
GLuint64 myTextureAddress
Definition: DtShaderEffect.h:52
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
std::vector< DtShaderEffectTextureData > TextureDataPtrVector
Definition: DtShaderEffect.h:55
An OSG implementation of the weather effects object.
Definition: DtOsgWeatherEffectsObject.h:22
DtIndirectTextureProcessor * myTextureProcessor
Definition: DtShaderEffect.h:124