![]() |
VR-Forces Developer's Guide
|
The OSG wrapper for the opengl rendering code. sets up the right shaders, figures out camera matrix and calls particle manager draw function.

Public Member Functions | |
| DtFxOsgParticleDrawable (makVrv::DtDe &de, DtFxParticleSystemManager *pm) | |
| virtual | ~DtFxOsgParticleDrawable () |
| virtual void | releaseGLObjects (osg::State *state) const |
| virtual void | drawImplementation (osg::RenderInfo &renderInfo) const |
| virtual void | loadShaders () |
| virtual osg::BoundingBox | computeBoundingBox () const |
| virtual void | setWireframeMode (bool mode) |
| virtual osg::StateSet * | particleSystemStateSet () |
Protected Attributes | |
| makVrv::DtDe & | myDe |
| DtFxParticleSystemManager * | myParticleManager |
| DtFxOglParticleSystemRenderer * | myParticleRenderer |
| osg::ref_ptr< osg::StateSet > | myStateSet |
| osg::ref_ptr< osg::StateSet > | myDebugStateSet |
| osg::ref_ptr< osg::Shader > | myVertexShader |
| osg::ref_ptr< osg::Shader > | myFragmentShader |
| osg::ref_ptr< osg::Program > | myDefaultProgram |
| osg::ref_ptr< osg::Uniform > | myMutableInvPersMatrixUniform |
| osg::ref_ptr< osg::Uniform > | myMutablePersMatrixUniform |
| osg::ref_ptr< osg::Uniform > | myMutableViewportUniform |
| osg::ref_ptr< osg::Uniform > | myMutableIsReflectionUniform |
| osg::ref_ptr< osg::Uniform > | myMutableFogFroxelActiveUniform |
| osg::ref_ptr< osg::Uniform > | myMutableFogFroxelMaxDistanceUniform |
Private Member Functions | |
| DtFxOsgParticleDrawable (const DtFxOsgParticleDrawable &rhs, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)=delete | |
| DtFxOsgParticleDrawable & | operator= (const DtFxOsgParticleDrawable &rhs)=delete |
| makVrv::DtFxOsgParticleDrawable::DtFxOsgParticleDrawable | ( | makVrv::DtDe & | de, |
| DtFxParticleSystemManager * | pm | ||
| ) |
CTOR.
|
virtual |
DTOR ref pointers will clear all the memory out automatically.
|
privatedelete |
Not implemented, Copy constructor using CopyOp to manage deep vs shallow copy.
|
privatedelete |
|
virtual |
release all gl objects used by this system
|
virtual |
|
virtual |
loads the particle shaders
|
virtual |
noops currently culls systems individually
|
virtual |
sets the wireframe mode
|
virtual |
actual stateset used insetad of the osg::Drawable::_stateset
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
needed for smoothness
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |