18 #ifndef __H__OCULAR_MATH_WAVELET_NOISE__H__
19 #define __H__OCULAR_MATH_WAVELET_NOISE__H__
22 #include "Math/Vector3.hpp"
76 virtual float getValue(
float const x);
86 virtual float getValue(
float const x,
float const y);
97 virtual float getValue(
float const x,
float const y,
float const z);
111 float getValue(
float const pX,
float const pY,
float const pZ,
float const nX,
float const nY,
float const nZ);
132 void downsample(
float* from,
float* to, int32_t n, int32_t stride);
133 void upsample(
float* from,
float* to, int32_t n, int32_t stride);
135 float getRawNoise(
Vector3f const& position);
136 float getRawProjectedNoise(
Vector3f const& position,
Vector3f const& normals);
140 int32_t m_Dimensions;
144 std::vector<float> m_BandWeights;
WaveletNoise(int32_t dimensions=64)
Definition: WaveletNoise.cpp:43
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
void setBandWeights(std::vector< float > const &weights)
Definition: WaveletNoise.cpp:121
Definition: WaveletNoise.hpp:59
Definition: ANoise.hpp:48
virtual float getValue(float const x)
Definition: WaveletNoise.cpp:71
void setScale(float const scale)
Definition: WaveletNoise.cpp:126