VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWeatherEffect.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/DtGlVaoManager.h>
13 #include <vrvOsg/vrvOsg.h>
14 
15 #include <vrvCore/DtJobSplitter.h>
16 
19 
20 #include <osg/BlendFunc>
21 #include <osg/RenderInfo>
22 #include <osg/Vec3d>
23 
24 
25 namespace makVrv
26 {
27  // Forward declarations.
28  class DtWeatherArea;
29  class DtWeatherEffectDrawable;
30  class DtWeatherEffectsObject;
31  class DtIntersector;
32  class DtGlBuffer;
33 
40  {
43  };
44 
45 
48 
50  typedef DtVirtualBaseClassCreator<DtWeatherEffect, const int&, const float&, const float&
51  , const DtWeatherEffectType&, const unsigned int&> DtWeatherEffectCreator;
52 
54  template <>
55  inline const char* creatorTypeName<DtWeatherEffect>(void) { return "DtWeatherEffectCreator"; }
56 
68  {
69  public:
70 
72  struct DrawData
73  {
75  : myRenderInfo(0)
76  , myWeatherEffectsObject(0)
77  , myCamPos(0, 0, 0)
78  , myCamMove(0, 0, 0)
79  , myIsGeoCentric(false)
80  , myNearClip(1.0f)
81  , myParametersUnfmLoc(0)
82  , mySoftnessUnfmLoc(0)
83  , myDepthProxyUnfmLoc(0)
84  , mySurfaceUnfmLoc(0)
85  , mySurfaceProjUnfmLoc(0)
86  , myAdditiveBlend(false)
87  , myStateDirty(true)
88  , myAppliedHeightMap(false)
89  , myDrawable(0)
90  , mySurfaceHeights(0)
91  , mySurfaceHeightCount(0)
92  , mySurfaceBoundsX(1)
93  , mySurfaceBoundsY(1)
94  , mySurfaceCornerRadius(1)
95  , mySurfaceAltitude(0)
96  , myElevationMin(0)
97  , myElevationRange(100000.0f)
98  {
99  // intentional nop
100  }
101 
102  osg::RenderInfo* myRenderInfo;
104  osg::Vec3d myCamPos;
105  osg::Vec3d myCamMove;
107  float myNearClip;
117  const unsigned int* mySurfaceHeights;
123  osg::Matrixf mySurfaceMatrix;
126  };
127 
128 
129 
138  {
139  SurfaceHitTypeNone = 0,
142  };
143 
144 
146  DtWeatherEffect(makVrv::DtDe& de, const int& particleCount, const float& particleSize, const float& radius
147  ,const DtWeatherEffectType& type, const unsigned int& randomSeed);
148 
150  virtual ~DtWeatherEffect();
151 
152  private:
153 
155  DtWeatherEffect() = delete;
156 
158  DtWeatherEffect(const DtWeatherEffect &other) = delete;
159 
161  DtWeatherEffect &operator=(const DtWeatherEffect &other) = delete;
162 
163  public:
164 
173  virtual void init(int particleCount, float particleSize, float radius, DtWeatherEffectType type, unsigned int randomSeed);
174 
176  virtual void releaseGLObjects(osg::State* state) const;
177 
182  virtual void simulationUpdate(float timeStep, double currentTime, DtJobSplitter* jobSplitter);
183 
188  virtual void postSimulationUpdate(float timeStep, double currentTime);
189 
193  virtual void draw(DtWeatherEffect::DrawData& drawData, float cullFade = 1.0f) const;
194 
199  virtual void cullUpdate(const osg::Vec3d& camPos, const osg::Matrixd& basis, DtJobSplitter* jobSplitter);
200 
206  virtual void setSurfaceHitType(SurfaceHitType type);
207 
210  virtual void setSurfaceHitOffset(float offset);
211 
214  virtual void setSurfaceHitMaxSlope(float degrees);
215 
222  virtual void setWindBlownParameters(int spawnCount, float minSpeed, float maxSpeed, float minTime, float maxTime);
223 
227  virtual void setWind(float windDirectionRad, float windSpeedMps);
228 
231  virtual void setWindSpeedMultiplier(float multiplier);
232 
235  virtual void setWindLiftMultiplier(float multiplier);
236 
239  virtual void setWindTurbulence(float multiplier);
240 
244  virtual void setWindVariation(float minWind, float maxWind);
245 
253  virtual void setScaleAnimation(float minX, float maxX, float minY, float maxY, float time);
254 
259  virtual void setStreak(float multiplier);
260 
265  virtual void setCameraStreakEnable(bool enable);
266 
272  virtual void setStreakAdjustmentEnable(bool enable);
273 
275  virtual void setOrientFlat(bool enable);
276 
279  virtual void setIntensity(float intensity);
280 
288  virtual void setFadePerIntensity(float fadeMin, float fadeMax, float intensityMin, float intensityMax);
289 
297  virtual void setFadePerWind(float fadeMin, float fadeMax, float windMin, float windMax);
298 
306  virtual void setTextureCoordAnimationPerWind(float multMin, float multMax, float windMin, float windMax);
307 
315  virtual void setParticlesPerIntensity(float percentMin, float percentMax, float intensityMin, float intensityMax);
316 
319  virtual void setBaseColor(const osg::Vec3& color);
320 
323  virtual void setAdditiveBlend(bool enable);
324 
326  virtual bool additiveBlend() const;
327 
330  virtual void setVelocity(float x, float y, float z);
331 
334  virtual void setInitRotationVariation(float rotationDeg);
335 
338  virtual void setRotationVelocity(float velDeg);
339 
341  virtual float radius() const;
342 
348  virtual void setTextureAtlasCell(unsigned char numColumns, unsigned char numRows, unsigned char col, unsigned char row);
349 
355  virtual void setTextureCoordinateAnimation(float dirSpeedU, float dirSpeedV, float scale0, float scale1);
356 
361  virtual void setTexturePatternChannelMix(float mix0, float mix1);
362 
365  virtual void setDepthSoftness(float softness);
366 
368  virtual float depthSoftness() const;
369 
374  virtual void setDepthProximity(float startFade, float fadeEnd, float mix);
375 
378  virtual void setDragCoefficient(float coefficient);
379 
381  virtual float dragCoefficient() const;
382 
385  virtual void setSortEnable(bool enable);
386 
388  virtual bool sortEnable() const;
389 
392  virtual void runSort(const osg::Vec3& localCamPos);
393 
396  virtual void setClampToSurface(bool enable);
397 
399  virtual bool clampToSurface() const;
400 
403  virtual void setGravity(const osg::Vec3& gravity);
404 
410  virtual void setRadiusFading(float fadeInStart, float fadeInEnd, float fadeOutStart, float fadeOutEnd);
411 
412  protected:
413 
415  struct MeshGroup
416  {
418  : myVboPositionArray(0)
419  , myVboMoveArray(0)
420  , myVboTexCoords0Array(0)
421  {
422  myPoints = new osg::Vec4Array;
423  myMove = new osg::Vec4Array;
424  myTexCoords0 = new osg::Vec2Array;
425  }
426 
430 
431  DtGlBuffer* myVboPositionArray = nullptr;
432  DtGlBuffer* myVboMoveArray = nullptr;
433  DtGlBuffer* myVboTexCoords0Array = nullptr;
434  };
435 
437  struct Particle
438  {
440  : myParent(0)
441  , myChild(0)
442  , mySortDepth(0)
443  , myPosition(0, 0, 0, 0)
444  , myMove(0, 0, 0, 1)
445  , myVelocity(0, 0, 0)
446  , myLifeTime(0.0f)
447  , myLifeTimeInit(1.0f)
448  , myUsePhysics(1)
449  , myFadeCurve(0)
450  {
451  //intentional nop
452  }
453 
454  Particle* myParent; // next particle in linked list
455  Particle* myChild; // previous particle in link list
456  float mySortDepth;
457  osg::Vec4 myPosition;
458  osg::Vec4 myMove;
459  osg::Vec3 myVelocity;
460  float myLifeTime; // current life time left
461  float myLifeTimeInit; // initial life time
462  unsigned char myUsePhysics; // note: not a bool to save memory
463  unsigned char myFadeCurve;
464  };
465 
470  struct BlendData
471  {
473  : myValueMin(0)
474  , myValueMax(1)
475  , myBlendMin(0)
476  , myBlendMax(1)
477  {
478  //intentional nop
479  }
480 
481  float myValueMin; // the output value at the min blend
482  float myValueMax; // the output value at the max blend
483  float myBlendMin; // < this value output is 0
484  float myBlendMax; // >= this value, output is myValueMax
485  };
486 
490  virtual void runSimulationUpdateJob(float timeStep, double currentTime);
491 
494  virtual void updateHailSurfaceHit(float timeStep);
495 
498  virtual void updateWindBlownSurfaceHit(float timeStep);
499 
502  virtual void computeSortDepth(const osg::Vec3& reference);
503 
505  virtual void fillSortedParticles();
506 
510  virtual bool bindMeshGroupData(MeshGroup* meshGroup, osg::RenderInfo& renderInfo) const;
511 
515  virtual bool bindDynamicMeshGroupData(MeshGroup* meshGroup, osg::RenderInfo& renderInfo) const;
516 
521  virtual bool bindVaoToMeshGroup(GLuint vao, MeshGroup* meshGroup, osg::RenderInfo& renderInfo) const;
522 
526  virtual void simulatePrecipitationParticles(float timeStep, double currentTime);
527 
532  virtual void simulateParticles(float timeStep, double currentTime, osg::Vec3d& basisPosChange);
533 
534  // non-virtual for maximum inner loop performance.
535 
540  void wrapPosition(float& posX, float& posY, float& posZ);
541 
545  Particle* getFreeParticle(void);
546 
549  void freeParticle(Particle* particle);
550 
555  void spawnHailParticle(const osg::Vec3d& position, const osg::Vec3& normal,
556  const unsigned char usePhysics);
557 
563  void spawnWindBlownParticle(const osg::Vec3d& position,
564  const osg::Vec3& normal, float windRandom, float cosAng);
565 
569  const osg::Vec3 crossProduct(const osg::Vec3& v0, const osg::Vec3& v1);
570 
575  virtual bool updateRandomSeed( double currentTime );
576 
581  virtual void setRandomSeedSyncTimeInterval( unsigned long intervalInMs );
582 
586  float computeRandomMinMax(float fMin, float fMax);
587 
591  void computeRandomPointInRadius(osg::Vec2& point, float radius);
592 
598  bool clampPosition(osg::Vec3d& position, osg::Vec3& normal, const osg::Vec3& up);
599 
603  virtual float computeBlendControl(const BlendData& data, float blendPos) const;
604 
605  protected:
606 
608  static void theSimulationUpdateJob(void* data);
609 
611  static int theSortBackToFront(const void* arg0, const void* arg1);
612 
614  static void theSortJob(void* data);
615 
616  protected:
617 
620  {
622  : myEffect(0)
623  , myTimeStep(0)
624  , myCurrentTime(0)
625  {
626  //intentional nop
627  }
628 
630  float myTimeStep;
632  };
633 
635  struct SortJobData
636  {
638  : myEffect(0)
639  , myCameraPos(0, 0, 0)
640  {
641  //intentional nop
642  }
643 
645  osg::Vec3 myCameraPos;
646  };
647 
649 
650  osg::Matrixd myBasisRot;
651  osg::Vec3d myBasisPos;
652  osg::Vec3d myLastBasisPos;
654 
660  unsigned int myRandomSeed;
661  osg::Vec3 myScroll;
662  float myRadius;
668  float myWindMin;
669  float myWindMax;
671  osg::Vec3 myVelocity;
675  float myIntensity;
681  osg::Vec3 myBaseColor;
684  float myStreak;
688  float myScaleAnimMinX; // particle width axis shrink/grow
690  float myScaleAnimMinY; // particle height axis shrink/grow
713  osg::Vec3 myGravity;
718 
719  int myWindBlownSpawnCount; // for surface hit wind blown particles
724 
727 
728  Particle* myParticlesMemoryPool; // the array of all particles
729  int myParticleMemoryPoolCount; // the maximum number of particles
730 
731  Particle* myParticlesFree; // the head of the free particle list
732  Particle* myParticlesActive; // the head of the active particle list
733  int myParticleActiveCount; // current active amount of particles
734 
735  Particle** myRenderList; // particle render list array
736  int myRenderParticleCount; // number of particles active in the render list array
737 
740 
743 
745  unsigned long mySeedSyncInterval;
746  unsigned long myNextSyncTime;
747 
748  DtIntersector* myIntersector = nullptr;
749  };
750 }
751 
752 
753 
754 
float myTexCoordAnimScale1
Definition: DtWeatherEffect.h:700
float myLifeTimeInit
Definition: DtWeatherEffect.h:461
osg::ref_ptr< osg::BlendFunc > myBlendFunc
Definition: DtWeatherEffect.h:683
DT_DLL_EXAMPLESCENEROOTPLUGIN void init(DtDe &anIG)
float myWindLiftMultiplier
Definition: DtWeatherEffect.h:666
float mySurfaceBoundsX
Definition: DtWeatherEffect.h:119
osg::Vec3d myBasisPos
Definition: DtWeatherEffect.h:651
A structure used to define a mesh group (voa, positions, coords).
Definition: DtWeatherEffect.h:415
float mySurfaceHitMaxSlope
Definition: DtWeatherEffect.h:658
float myWindMax
Definition: DtWeatherEffect.h:669
BlendData myFadeByIntensity
Definition: DtWeatherEffect.h:676
float myBlendMax
Definition: DtWeatherEffect.h:484
float myBlendMin
Definition: DtWeatherEffect.h:483
bool myAdditiveBlend
Definition: DtWeatherEffect.h:113
osg::Vec3 myGravity
Definition: DtWeatherEffect.h:713
float mySurfaceAltitude
Definition: DtWeatherEffect.h:122
Particle ** myRenderList
Definition: DtWeatherEffect.h:735
Implementation independent random number generator.
Definition: DtRandomNumberGenerator.h:20
osg::Vec3 myCameraPos
Definition: DtWeatherEffect.h:645
float myTexCoordAnimDirOffsetU
Definition: DtWeatherEffect.h:701
DtVirtualBaseClassCreator< DtWeatherEffect, const int &, const float &, const float &, const DtWeatherEffectType &, const unsigned int & > DtWeatherEffectCreator
creator
Definition: DtWeatherEffect.h:47
DtWeatherEffectType
An enumeration to define the effect type. Precipitation is an ageless effect that&#39;s infinite in a sc...
Definition: DtWeatherEffect.h:39
GLint mySurfaceProjUnfmLoc
Definition: DtWeatherEffect.h:112
GLint mySurfaceUnfmLoc
Definition: DtWeatherEffect.h:111
osg::Vec3d myCamMove
Definition: DtWeatherEffect.h:105
float myTexturePatternMix1
Definition: DtWeatherEffect.h:704
float myTexCoordAnimDirOffsetV
Definition: DtWeatherEffect.h:702
bool myOrientFlat
Definition: DtWeatherEffect.h:712
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
Definition: DtWeatherEffect.h:141
bool myBasisDirty
Definition: DtWeatherEffect.h:653
SimulationUpdateJobData()
Definition: DtWeatherEffect.h:621
DtIntersector is an abstract class that provides the interface for requesting intersections with the ...
Definition: DtIntersector.h:26
Definition: DtWeatherEffect.h:140
bool mySortEnable
Definition: DtWeatherEffect.h:710
SortJobData()
Definition: DtWeatherEffect.h:637
unsigned long mySeedSyncInterval
Definition: DtWeatherEffect.h:745
A structure to hold data for a sorting job.
Definition: DtWeatherEffect.h:635
DtWeatherEffectType myEffectType
Definition: DtWeatherEffect.h:655
osg::ref_ptr< osg::Vec4Array > myMove
Definition: DtWeatherEffect.h:428
unsigned int GLuint
Definition: DtGlTextureBufferObject.h:18
DrawData()
Definition: DtWeatherEffect.h:74
int mySurfaceHeightCount
Definition: DtWeatherEffect.h:118
float myWindBlownMinTime
Definition: DtWeatherEffect.h:722
unsigned long myNextSyncTime
Definition: DtWeatherEffect.h:746
float myTimeStep
Definition: DtWeatherEffect.h:630
this class is used to split work up between threads.
Definition: DtJobSplitter.h:64
float myRadiusFadeInFalloff
Definition: DtWeatherEffect.h:715
float myDepthProximityStart
Definition: DtWeatherEffect.h:707
Particle()
Definition: DtWeatherEffect.h:439
osg::Vec3d myCamPos
Definition: DtWeatherEffect.h:104
bool myAppliedHeightMap
Definition: DtWeatherEffect.h:115
bool myCameraStreak
Definition: DtWeatherEffect.h:687
SurfaceHitType mySurfaceHitType
Definition: DtWeatherEffect.h:656
GLint myParametersUnfmLoc
Definition: DtWeatherEffect.h:108
bool myIsGeoCentric
Definition: DtWeatherEffect.h:106
DtWeatherEffect * myEffect
Definition: DtWeatherEffect.h:644
float myTextureAtlasRow
Definition: DtWeatherEffect.h:696
BlendData myParticlesByIntensity
Definition: DtWeatherEffect.h:679
osg::Vec3 myVelocity
Definition: DtWeatherEffect.h:459
float myTextureAtlasRows
Definition: DtWeatherEffect.h:694
unsigned char myUsePhysics
Definition: DtWeatherEffect.h:462
bool myAdditiveBlend
Definition: DtWeatherEffect.h:682
float mySurfaceHitOffset
Definition: DtWeatherEffect.h:657
float myScaleAnimMaxX
Definition: DtWeatherEffect.h:689
float myTextureAtlasCols
Definition: DtWeatherEffect.h:693
DtRandomNumberGenerator myRandomNumberGen
Definition: DtWeatherEffect.h:744
unsigned int myRandomSeed
Definition: DtWeatherEffect.h:660
float myWindBlownMaxSpeed
Definition: DtWeatherEffect.h:721
float myTexturePatternMix0
Definition: DtWeatherEffect.h:703
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:23
A structure used to hold data for drawing.
Definition: DtWeatherEffect.h:72
osg::Vec3d myLastBasisPos
Definition: DtWeatherEffect.h:652
osg::Matrixf mySurfaceMatrix
Definition: DtWeatherEffect.h:123
float myWindBlownMinSpeed
Definition: DtWeatherEffect.h:720
float myElevationRange
Definition: DtWeatherEffect.h:125
float myInitRotationRad
Definition: DtWeatherEffect.h:672
A drawable for drawing weather effects such as hail. The class serves as a place to setup common stat...
Definition: DtWeatherEffectDrawable.h:37
Contains makVrv::DtRandomNumberGenerator class.
BlendData()
Definition: DtWeatherEffect.h:472
bool myStateDirty
Definition: DtWeatherEffect.h:114
osg::ref_ptr< osg::Vec4Array > myPoints
Definition: DtWeatherEffect.h:427
float myIntensity
Definition: DtWeatherEffect.h:675
float myTexCoordAnimDirSpeedV
Definition: DtWeatherEffect.h:698
osg::Vec3 myScroll
Definition: DtWeatherEffect.h:661
Definition: DtWeatherEffect.h:41
int myRenderParticleCount
Definition: DtWeatherEffect.h:736
SortJobData mySortJobData
Definition: DtWeatherEffect.h:741
Contains makVrv::DtJobSplitter class.
float myWindSpeedMultiplier
Definition: DtWeatherEffect.h:665
float myValueMax
Definition: DtWeatherEffect.h:482
DtJobSplitterJob mySimulationUpdateJob
Definition: DtWeatherEffect.h:739
float myNearClip
Definition: DtWeatherEffect.h:107
this class is used to create weather effects around the eye to represent effects such as mist...
Definition: DtWeatherEffect.h:67
float myWindTurbulence
Definition: DtWeatherEffect.h:667
float myScaleAnimMaxY
Definition: DtWeatherEffect.h:691
float mySurfaceHitTimer
Definition: DtWeatherEffect.h:659
int myParticleActiveCount
Definition: DtWeatherEffect.h:733
float mySortDepth
Definition: DtWeatherEffect.h:456
Definition: DtWeatherEffect.h:42
const unsigned int * mySurfaceHeights
Definition: DtWeatherEffect.h:117
A structure to hold blending control data for things like particle amount per intensity. Ouput is 0 when blend &lt; myBlendMin. Output is in the range of (myValueMin to myValueMax) when blend is (myBlendMin to myBlendMax). Ouput is myValueMax when blend &gt;= myBlendMax.
Definition: DtWeatherEffect.h:470
float mySurfaceBoundsY
Definition: DtWeatherEffect.h:120
float myDepthProximityRange
Definition: DtWeatherEffect.h:708
float myDepthSoftness
Definition: DtWeatherEffect.h:705
float myRotationVelocity
Definition: DtWeatherEffect.h:673
int myWindBlownSpawnCount
Definition: DtWeatherEffect.h:719
float myDragCoefficient
Definition: DtWeatherEffect.h:670
osg::Vec3 myVelocity
Definition: DtWeatherEffect.h:671
float myWindDirectionRad
Definition: DtWeatherEffect.h:663
A structure used to define a simulation particle.
Definition: DtWeatherEffect.h:437
osg::ref_ptr< osg::Vec2Array > myTexCoords0
Definition: DtWeatherEffect.h:429
const char * creatorTypeName< DtWeatherEffect >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtWeatherEffect.h:55
float myTextureAtlasCol
Definition: DtWeatherEffect.h:695
osg::Vec3 myBaseColor
Definition: DtWeatherEffect.h:681
float myEffectFade
Definition: DtWeatherEffect.h:674
Particle * myParent
Definition: DtWeatherEffect.h:454
float myRadiusFadeOutStart
Definition: DtWeatherEffect.h:716
double myCurrentTime
Definition: DtWeatherEffect.h:631
BlendData myTexCoordAnimSpeedByWind
Definition: DtWeatherEffect.h:678
GLint myDepthProxyUnfmLoc
Definition: DtWeatherEffect.h:110
DtGlVaoManager * myVaoManager
Definition: DtWeatherEffect.h:726
bool myClampToSurface
Definition: DtWeatherEffect.h:711
GLint mySoftnessUnfmLoc
Definition: DtWeatherEffect.h:109
Particle * myParticlesActive
Definition: DtWeatherEffect.h:732
A generic OpenGL buffer. This can be: -&gt; a vertex buffer -&gt; an index buffer -&gt; a shader storage buffe...
Definition: DtGlBuffer.h:29
osg::Vec4 myMove
Definition: DtWeatherEffect.h:458
float myScaleSpeed
Definition: DtWeatherEffect.h:692
float myRadiusFadeOutFalloff
Definition: DtWeatherEffect.h:717
float myWindMin
Definition: DtWeatherEffect.h:668
osg::RenderInfo * myRenderInfo
Definition: DtWeatherEffect.h:102
float myWindSpeedMps
Definition: DtWeatherEffect.h:664
A structure to hold data for a simluation update job.
Definition: DtWeatherEffect.h:619
SimulationUpdateJobData mySimulationUpdateJobData
Definition: DtWeatherEffect.h:738
A generic structure to hold data for a job for use with DtJobSplitter.
Definition: DtJobSplitter.h:26
MeshGroup * myMeshGroup
Definition: DtWeatherEffect.h:725
float myScaleAnimMinX
Definition: DtWeatherEffect.h:688
float myStreakAdjustment
Definition: DtWeatherEffect.h:685
float mySurfaceCornerRadius
Definition: DtWeatherEffect.h:121
DtDe & myDe
Definition: DtWeatherEffect.h:648
float myDepthProximityMix
Definition: DtWeatherEffect.h:706
bool myStreakAdjustmentEnable
Definition: DtWeatherEffect.h:686
This class is used to manage an opengl vertex array object (VAO) dealing with multiple opengl context...
Definition: DtGlVaoManager.h:58
float myTexCoordAnimDirSpeedU
Definition: DtWeatherEffect.h:697
float myLifeTime
Definition: DtWeatherEffect.h:460
float myDepthProximityInvRange
Definition: DtWeatherEffect.h:709
float myTexCoordAnimScale0
Definition: DtWeatherEffect.h:699
float myRadius
Definition: DtWeatherEffect.h:662
Contains DLL export macros.
Particle * myParticlesMemoryPool
Definition: DtWeatherEffect.h:728
float myScaleAnimMinY
Definition: DtWeatherEffect.h:690
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:76
osg::Vec4 myPosition
Definition: DtWeatherEffect.h:457
float myRadiusFadeInStart
Definition: DtWeatherEffect.h:714
float myParticleSize
Definition: DtWeatherEffect.h:680
SurfaceHitType
An enumeration to define a surface hit effect. A surface hit effect creates particles based on surfac...
Definition: DtWeatherEffect.h:137
float myValueMin
Definition: DtWeatherEffect.h:481
voidpf uLong offset
Definition: ioapi.h:42
BlendData myFadeByWind
Definition: DtWeatherEffect.h:677
Contains the DtGlVaoManager class declaration.
DtJobSplitterJob mySortJob
Definition: DtWeatherEffect.h:742
DtWeatherEffectsObject * myWeatherEffectsObject
Definition: DtWeatherEffect.h:103
float myElevationMin
Definition: DtWeatherEffect.h:124
unsigned char myFadeCurve
Definition: DtWeatherEffect.h:463
DtWeatherEffect * myEffect
Definition: DtWeatherEffect.h:629
int myParticleMemoryPoolCount
Definition: DtWeatherEffect.h:729
float myWindBlownMaxTime
Definition: DtWeatherEffect.h:723
MeshGroup()
Definition: DtWeatherEffect.h:417
const DtWeatherEffectDrawable * myDrawable
Definition: DtWeatherEffect.h:116
Particle * myParticlesFree
Definition: DtWeatherEffect.h:731
float myStreak
Definition: DtWeatherEffect.h:684
The weather effects object for passing settings from the master to the slave for weather effects...
Definition: DtWeatherEffectsObject.h:27
osg::Matrixd myBasisRot
Definition: DtWeatherEffect.h:650
Particle * myChild
Definition: DtWeatherEffect.h:455

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)