18 #include <tbb/parallel_for.h>
19 #include <tbb/blocked_range2d.h>
51 virtual void update(
double time,
double elapsedTime,
static bool mySplashInitialized
Definition: DtSplashParticle.h:67
virtual ~DtSplashParticle()
destructor
virtual void update(double time, double elapsedTime, DtGridCell grid[][GRID_DIMENSION], bool &destroyFlag)
update
Contains makVrv::DtDropParticle class.
float myIntensity
Definition: DtSplashParticle.h:69
DtSplashParticle()
private default constructor. not allowed.
Contains makVrv::DtSplashPrecompute class.
static unsigned int myPrecomputedSplash[PRECOMPUTED_DIM][PRECOMPUTED_DIM]
Definition: DtSplashParticle.h:66
Definition: DtSplashParticle.h:29
DtSplashParticle & operator=(const DtSplashParticle &)
prevent assignment
virtual unsigned int precomputedSplashTexel(float x, float y)
Precompute the splash.
IMGUI_API void Image(ImTextureID user_texture_id, const ImVec2 &size, const ImVec2 &uv0=ImVec2(0, 0), const ImVec2 &uv1=ImVec2(1, 1), const ImVec4 &tint_col=ImVec4(1, 1, 1, 1), const ImVec4 &border_col=ImVec4(0, 0, 0, 0))
virtual void renderToNormalMap(osg::Image *image)
render to normal map
Internal struct for one cell of our grid of glass properties.
Definition: DtGridCell.h:19
#define GRID_DIMENSION
Definition: DtWaterOnScreenDefines.h:56
Local class for a single drop particle on the screen.
Definition: DtDropParticle.h:29
Contains DLL export macros.
Contains makVrv::DtGridCell struct.
static void precomputeSplash()
#define PRECOMPUTED_DIM
Definition: DtWaterOnScreenDefines.h:42