71 if (distortion != 0.0f) {
79 if (distortion != 0.0f) {
88 if (distortion != 0.0f) {
98 if (distortion != 0.0f) {
220template<
typename T,
typename NoiseT>
234 roughness =
max(roughness, 0.0f);
239 value = NoiseT::noise_fn(p,
detail, roughness, lacunarity, offset, gain,
norm);
241 if (compute_color != 0.0f) {
263 float,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
265 float2,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
267 float3,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
269 float4,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
272 float,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
274 float2,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
276 float3,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
278 float4,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
281 float,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
283 float2,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
285 float3,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
287 float4,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
290 float,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
292 float2,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
294 float3,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
296 float4,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
299 float,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
301 float2,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
303 float3,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
305 float4,
float,
float,
float,
float,
float,
float,
float,
float,
float &,
float4 &);
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
SIMD_FORCE_INLINE btScalar norm() const
Return the norm (length) of the vector.
float hash_float_to_float(float k)
float hash_vec2_to_float(float2 k)
VecBase< float, D > normalize(VecOp< float, D >) RET
constexpr T clamp(T, U, U) RET
float noise_fbm(T co, float detail, float roughness, float lacunarity, float, float, bool normalize)
float noise_multi_fractal(T co, float detail, float roughness, float lacunarity, float, float, bool)
float noise_hybrid_multi_fractal(T co, float detail, float roughness, float lacunarity, float offset, float gain, bool)
float noise_ridged_multi_fractal(T co, float detail, float roughness, float lacunarity, float offset, float gain, bool)
float noise_hetero_terrain(T co, float detail, float roughness, float lacunarity, float offset, float, bool)
void node_noise_tex_ridged_multi_fractal_3d(float3 co, float, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
float distort_point(float p, float distortion)
void node_noise_tex_hetero_terrain_4d(float3 co, float w, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
void node_noise_tex_multi_fractal_4d(float3 co, float w, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
void node_noise_tex_fbm_1d(float3, float w, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
float2 random_vec2_offset(float seed)
void node_noise_tex_multi_fractal_2d(float3 co, float, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
void node_noise_tex_hybrid_multi_fractal_2d(float3 co, float, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
void node_noise_tex_hybrid_multi_fractal_3d(float3 co, float, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
void node_noise_tex_hybrid_multi_fractal_1d(float3, float w, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
float4 random_vec4_offset(float seed)
void node_noise_tex_fbm_3d(float3 co, float, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
float random_float_offset(float seed)
void node_noise_tex_multi_fractal_1d(float3, float w, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
void node_noise_tex_fbm_2d(float3 co, float, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
void node_noise_tex_ridged_multi_fractal_4d(float3 co, float w, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
float3 random_vec3_offset(float seed)
void node_noise_tex_hetero_terrain_2d(float3 co, float, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
void node_noise_tex_hybrid_multi_fractal_4d(float3 co, float w, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
void noise_fractal_distorted(T p, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
void node_noise_tex_hetero_terrain_3d(float3 co, float, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
float color_seed_offset(float)
void node_noise_tex_ridged_multi_fractal_2d(float3 co, float, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
void node_noise_tex_ridged_multi_fractal_1d(float3, float w, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
void node_noise_tex_hetero_terrain_1d(float3, float w, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
void node_noise_tex_fbm_4d(float3 co, float w, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
void node_noise_tex_multi_fractal_3d(float3 co, float, float scale, float detail, float roughness, float lacunarity, float offset, float gain, float distortion, float normalize, float compute_color, float &value, float4 &color)
float3x3 scale(float3x3 mat, float2 scale)
KERNEL_FEATURE_LIGHT_PASSES KERNEL_FEATURE_PATH_GUIDING float
static float noise_fn(T co, float detail, float roughness, float lacunarity, float offset, float gain, bool normalize)
static float noise_fn(T co, float detail, float roughness, float lacunarity, float offset, float gain, bool normalize)
static float noise_fn(T co, float detail, float roughness, float lacunarity, float offset, float gain, bool normalize)
static float noise_fn(T co, float detail, float roughness, float lacunarity, float offset, float gain, bool normalize)
static float noise_fn(T co, float detail, float roughness, float lacunarity, float offset, float gain, bool normalize)