12 #include <osg/Drawable>
15 #include <osg/StateSet>
16 #include <osg/MatrixTransform>
17 #include <osg/Program>
23 class DtFxParticleSystemManager;
24 class DtFxOglParticleSystemRenderer;
77 osg::Drawable(rhs, copyop),
osg::ref_ptr< osg::Uniform > myMutableIsReflectionUniform
Definition: DtFxOsgParticleDrawable.h:72
class that executes low level OpenGL draw calls from the particle system data.
Definition: DtFxOglParticleSystemRenderer.h:30
The OSG wrapper for the opengl rendering code.
Definition: DtFxOsgParticleDrawable.h:29
osg::ref_ptr< osg::Uniform > myMutableInvPersMatrixUniform
needed for smoothness
Definition: DtFxOsgParticleDrawable.h:69
DtFxParticleSystemManager is the manager for all the particle systems and descriptions diguy sdk comm...
Definition: DtFxParticleSystemManager.h:74
virtual void setWireframeMode(bool mode)
sets the wireframe mode
virtual osg::BoundingBox computeBoundingBox() const
noops currently culls systems individually
osg::ref_ptr< osg::StateSet > m_debug_state_set
Definition: DtFxOsgParticleDrawable.h:64
DtFxOglParticleSystemRenderer * m_particle_renderer
Definition: DtFxOsgParticleDrawable.h:61
osg::ref_ptr< osg::StateSet > m_state_set
Definition: DtFxOsgParticleDrawable.h:63
virtual void loadShaders()
loads the particle shaders
osg::ref_ptr< osg::Program > m_default_program
Definition: DtFxOsgParticleDrawable.h:67
DtFxOsgParticleDrawable(makVrv::DtDe &de, DtFxParticleSystemManager *pm, osg::MatrixTransform *transform)
CTOR.
osg::ref_ptr< osg::Uniform > myMutablePersMatrixUniform
Definition: DtFxOsgParticleDrawable.h:70
virtual void drawImplementation(osg::RenderInfo &renderInfo) const
DtFxParticleSystemManager * m_particle_manager
Definition: DtFxOsgParticleDrawable.h:60
osg::ref_ptr< osg::Shader > m_vertex_shader
Definition: DtFxOsgParticleDrawable.h:65
osg::ref_ptr< osg::MatrixTransform > m_base_transform
Definition: DtFxOsgParticleDrawable.h:62
DtFxOsgParticleDrawable & operator=(const DtFxOsgParticleDrawable &other)
Not implemented.
osg::ref_ptr< osg::Shader > m_fragment_shader
Definition: DtFxOsgParticleDrawable.h:66
virtual ~DtFxOsgParticleDrawable()
DTOR ref pointers will clear all the memory out automatically.
Definition: DtFxOsgParticleDrawable.h:36
const char int mode
Definition: ioapi.h:38
makVrv::DtDe & myDe
Definition: DtFxOsgParticleDrawable.h:59
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
virtual void releaseGLObjects(osg::State *state) const
release all gl objects used by this system
DtFxOsgParticleDrawable(const DtFxOsgParticleDrawable &rhs, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
Not implemented, Copy constructor using CopyOp to manage deep vs shallow copy.
Definition: DtFxOsgParticleDrawable.h:76
osg::ref_ptr< osg::Uniform > myMutableViewportUniform
Definition: DtFxOsgParticleDrawable.h:71
virtual osg::MatrixTransform * baseTransform()