/dports/graphics/blender/blender-2.91.0/intern/cycles/kernel/svm/ |
H A D | svm_fractal_noise.h | 26 octaves = clamp(octaves, 0.0f, 16.0f); in fractal_noise_1d() 27 int n = float_to_int(octaves); in fractal_noise_1d() 35 float rmd = octaves - floorf(octaves); in fractal_noise_1d() 55 octaves = clamp(octaves, 0.0f, 16.0f); in fractal_noise_2d() 56 int n = float_to_int(octaves); in fractal_noise_2d() 64 float rmd = octaves - floorf(octaves); in fractal_noise_2d() 84 octaves = clamp(octaves, 0.0f, 16.0f); in fractal_noise_3d() 85 int n = float_to_int(octaves); in fractal_noise_3d() 93 float rmd = octaves - floorf(octaves); in fractal_noise_3d() 113 octaves = clamp(octaves, 0.0f, 16.0f); in fractal_noise_4d() [all …]
|
H A D | svm_musgrave.h | 44 float rmd = octaves - floorf(octaves); in noise_musgrave_fBm_1d() 75 float rmd = octaves - floorf(octaves); in noise_musgrave_multi_fractal_1d() 109 float rmd = octaves - floorf(octaves); in noise_musgrave_hetero_terrain_1d() 149 float rmd = octaves - floorf(octaves); in noise_musgrave_hybrid_multi_fractal_1d() 215 float rmd = octaves - floorf(octaves); in noise_musgrave_fBm_2d() 246 float rmd = octaves - floorf(octaves); in noise_musgrave_multi_fractal_2d() 280 float rmd = octaves - floorf(octaves); in noise_musgrave_hetero_terrain_2d() 320 float rmd = octaves - floorf(octaves); in noise_musgrave_hybrid_multi_fractal_2d() 386 float rmd = octaves - floorf(octaves); in noise_musgrave_fBm_3d() 417 float rmd = octaves - floorf(octaves); in noise_musgrave_multi_fractal_3d() [all …]
|
/dports/graphics/blender/blender-2.91.0/intern/cycles/kernel/shaders/ |
H A D | node_musgrave_texture.osl | 46 float rmd = octaves - floor(octaves); 74 float rmd = octaves - floor(octaves); 108 float rmd = octaves - floor(octaves); 148 float rmd = octaves - floor(octaves); 211 float rmd = octaves - floor(octaves); 239 float rmd = octaves - floor(octaves); 273 float rmd = octaves - floor(octaves); 313 float rmd = octaves - floor(octaves); 376 float rmd = octaves - floor(octaves); 404 float rmd = octaves - floor(octaves); [all …]
|
H A D | node_noise.h | 93 float octaves = clamp(details, 0.0, 16.0); in fractal_noise() local 94 int n = (int)octaves; in fractal_noise() 102 float rmd = octaves - floor(octaves); in fractal_noise() 122 float octaves = clamp(details, 0.0, 16.0); in fractal_noise() local 123 int n = (int)octaves; in fractal_noise() 131 float rmd = octaves - floor(octaves); in fractal_noise() 151 float octaves = clamp(details, 0.0, 16.0); in fractal_noise() local 152 int n = (int)octaves; in fractal_noise() 160 float rmd = octaves - floor(octaves); in fractal_noise() 181 int n = (int)octaves; in fractal_noise() [all …]
|
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/src/ |
H A D | perlin_noise_octaves.cpp | 169 for (std::int32_t i = 0; i < octaves; ++i) in accumulatedOctaveNoise1D() 184 for (std::int32_t i = 0; i < octaves; ++i) in accumulatedOctaveNoise2D() 196 double x, double y, double z, std::int32_t octaves) const in accumulatedOctaveNoise3D() 201 for (std::int32_t i = 0; i < octaves; ++i) in accumulatedOctaveNoise3D() 220 return accumulatedOctaveNoise1D(x, octaves) / Weight(octaves); in normalizedOctaveNoise1D() 225 return accumulatedOctaveNoise2D(x, y, octaves) / Weight(octaves); in normalizedOctaveNoise2D() 229 double x, double y, double z, std::int32_t octaves) const in normalizedOctaveNoise3D() 231 return accumulatedOctaveNoise3D(x, y, z, octaves) / Weight(octaves); in normalizedOctaveNoise3D() 245 double x, double y, std::int32_t octaves) const in accumulatedOctaveNoise2D_0_1() 251 double x, double y, double z, std::int32_t octaves) const in accumulatedOctaveNoise3D_0_1() [all …]
|
H A D | perlin_noise_octaves.h | 94 static constexpr double Weight(std::int32_t octaves) in Weight() argument 99 for (std::int32_t i = 0; i < octaves; ++i) in Weight() 134 double accumulatedOctaveNoise1D(double x, std::int32_t octaves) const; 135 double accumulatedOctaveNoise2D(double x, double y, std::int32_t octaves) const; 143 double normalizedOctaveNoise1D(double x, std::int32_t octaves) const; 144 double normalizedOctaveNoise2D(double x, double y, std::int32_t octaves) const; 145 double normalizedOctaveNoise3D(double x, double y, double z, std::int32_t octaves) const; 152 double accumulatedOctaveNoise1D_0_1(double x, std::int32_t octaves) const; 153 double accumulatedOctaveNoise2D_0_1(double x, double y, std::int32_t octaves) const; 161 double normalizedOctaveNoise1D_0_1(double x, std::int32_t octaves) const; [all …]
|
/dports/graphics/blender/blender-2.91.0/source/blender/gpu/shaders/material/ |
H A D | gpu_shader_material_fractal_noise.glsl | 8 octaves = clamp(octaves, 0.0, 16.0); 9 int n = int(octaves); 17 float rmd = octaves - floor(octaves); 37 octaves = clamp(octaves, 0.0, 16.0); 38 int n = int(octaves); 46 float rmd = octaves - floor(octaves); 66 octaves = clamp(octaves, 0.0, 16.0); 67 int n = int(octaves); 75 float rmd = octaves - floor(octaves); 95 octaves = clamp(octaves, 0.0, 16.0); [all …]
|
H A D | gpu_shader_material_tex_musgrave.glsl | 35 float rmd = octaves - floor(octaves); 75 float rmd = octaves - floor(octaves); 120 float rmd = octaves - floor(octaves); 171 float rmd = octaves - floor(octaves); 257 float rmd = octaves - floor(octaves); 297 float rmd = octaves - floor(octaves); 342 float rmd = octaves - floor(octaves); 393 float rmd = octaves - floor(octaves); 479 float rmd = octaves - floor(octaves); 519 float rmd = octaves - floor(octaves); [all …]
|
/dports/graphics/rayshade/rayshade.4.0/libray/libtext/ |
H A D | textaux.c | 72 PAChaos(vec, octaves) in PAChaos() argument 74 int octaves; 83 while (octaves--) { 96 Chaos(vec, octaves) in Chaos() argument 98 int octaves; 107 while (octaves--) { 122 int octaves; 131 while (octaves--) { 149 int octaves; 234 int octaves; [all …]
|
/dports/games/pioneer/pioneer-20210723/src/terrain/ |
H A D | TerrainNoise.h | 19 for (int i = 0; i < def.octaves; i++) { in octavenoise() 33 for (int i = 0; i < def.octaves; i++) { in river_octavenoise() 47 for (int i = 0; i < def.octaves; i++) { in ridged_octavenoise() 63 for (int i = 0; i < def.octaves; i++) { in billow_octavenoise() 77 for (int i = 0; i < def.octaves; i++) { in voronoiscam_octavenoise() 100 …inline double octavenoise(int octaves, const double persistence, const double lacunarity, const ve… in octavenoise() argument 106 while (octaves--) { in octavenoise() 120 while (octaves--) { in river_octavenoise() 134 while (octaves--) { in ridged_octavenoise() 150 while (octaves--) { in billow_octavenoise() [all …]
|
H A D | TerrainFeature.cpp | 17 n = ridged_octavenoise(def.octaves, 0.54, 2.0, def.frequency * p); in canyon_ridged_function() 88 n = octavenoise(def.octaves, 0.54, 2.0, def.frequency * p); in canyon_normal_function() 111 n = octavenoise(def.octaves, 0.56, 2.0, def.frequency * p); in canyon2_normal_function() 134 n = octavenoise(def.octaves, 0.585, 2.0, def.frequency * p); in canyon3_normal_function() 157 n = octavenoise(def.octaves, 0.54, 2.0, def.frequency * p); in canyon_voronoi_function() 180 n = octavenoise(def.octaves, 0.56, 2.0, def.frequency * p); in canyon2_voronoi_function() 226 n = octavenoise(def.octaves, 0.54, 2.0, def.frequency * p); in canyon_billow_function() 343 for (int i = 0; i < def.octaves; i++) { in crater_function() 378 for (int i = 0; i < def.octaves; i++) { in impact_crater_function() 415 for (int i = 0; i < def.octaves; i++) { in volcano_function() [all …]
|
/dports/audio/sc3-plugins/sc3-plugins-Version-3.9.0/source/SCMIRUGens/ |
H A D | Chromagram.cpp | 67 int octaves = ZIN0(4); 70 if (octaves<1) octaves = 1; 84 float topfreq = tuningbase * pow(octaveratio,octaves); 89 …octaves = (int) (log2(nyminusonebin/tuningbase)/(log2(octaveratio))); //if octaveratio==2 denomin… 93 if (octaves<1) octaves = 1; 95 unit->octaves_ = octaves; 100 unit->chromanorm_ = 1.0/((float)unit->fftsize_ * octaves); 106 int totaldivisions = octaves * divisions; 128 for ( j=0; j<octaves; ++j) { 208 int octaves = unit->octaves_; [all …]
|
/dports/games/freeminer/freeminer-0.4.10.4/src/ |
H A D | noise.h | 72 int octaves; member 91 octaves = octaves_; 126 void setOctaves(int octaves); 151 int octaves, float persistence); 154 int octaves, float persistence); 157 int octaves, float persistence, bool eased=false); 160 int octaves, float persistence, bool eased=false); 172 (s) + (np)->seed, (np)->octaves, (np)->persist)) 178 (s) + (np)->seed, (np)->octaves, (np)->persist)) 184 (s) + (np)->seed, (np)->octaves, (np)->persist)) [all …]
|
/dports/audio/rosegarden/rosegarden-21.06.1/src/gui/dialogs/ |
H A D | IntervalDialog.cpp | 165 int octaves = displayIntervalDiatonic / 7; in getIntervalName() local 171 if (octaves > 0) { in getIntervalName() 173 } else if (octaves < 0) { in getIntervalName() 250 if (octaves > 0) { in getIntervalName() 252 octaves--; in getIntervalName() 253 } else if (octaves < 0) { in getIntervalName() 255 octaves++; in getIntervalName() 285 if (octaves != 0) { in getIntervalName() 290 return tr("up %n octave(s)", "", octaves); in getIntervalName() 296 if (octaves != 0) { in getIntervalName() [all …]
|
/dports/games/minetest_game/minetest_game-5.4.1/mods/default/ |
H A D | mapgen.lua | 68 octaves = 1, 89 octaves = 1, 110 octaves = 1, 131 octaves = 1, 430 octaves = 1, 448 octaves = 1, 468 octaves = 1, 486 octaves = 1, 506 octaves = 1, 531 octaves = 1, [all …]
|
/dports/graphics/povray38/povunix-v3.8.0-beta.2-src/include/ |
H A D | stones2.inc | 37 octaves 5 55 octaves 5 73 octaves 5 99 octaves 6 121 octaves 6 143 octaves 6 156 octaves 5 175 octaves 5 198 octaves 5 238 octaves 5 [all …]
|
/dports/graphics/povray37/povray-3.7.0.10/distribution/include/ |
H A D | stones2.inc | 37 octaves 5 55 octaves 5 73 octaves 5 99 octaves 6 121 octaves 6 143 octaves 6 156 octaves 5 175 octaves 5 198 octaves 5 238 octaves 5 [all …]
|
/dports/graphics/povray36/povray-3.6.1/include/ |
H A D | stones2.inc | 33 octaves 5 51 octaves 5 69 octaves 5 95 octaves 6 117 octaves 6 139 octaves 6 152 octaves 5 171 octaves 5 194 octaves 5 234 octaves 5 [all …]
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed/foundation/math/ |
H A D | noise.h | 74 const size_t octaves, 81 const size_t octaves, 95 const size_t octaves, 102 const size_t octaves, 232 const size_t octaves, in fbm() argument 236 assert(octaves > 0); in fbm() 258 const size_t octaves, in fbm() argument 264 octaves, in fbm() 277 const size_t octaves, in turbulence() argument 281 assert(octaves > 0); in turbulence() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/modules/features2d/src/ |
H A D | kaze.cpp | 64 , octaves(_octaves) in KAZE_Impl() 81 void setNOctaves(int octaves_) CV_OVERRIDE { octaves = octaves_; } in setNOctaves() 82 int getNOctaves() const CV_OVERRIDE { return octaves; } in getNOctaves() 135 options.omax = octaves; in detectAndCompute() 169 fs << "octaves" << octaves; in write() 179 octaves = (int)fn["octaves"]; in read() 187 int octaves; member in cv::CV_FINAL 194 int octaves, int sublevels, in create() argument 197 return makePtr<KAZE_Impl>(extended, upright, threshold, octaves, sublevels, diffusivity); in create()
|
H A D | akaze.cpp | 69 , octaves(_octaves) in AKAZE_Impl() 92 void setNOctaves(int octaves_) CV_OVERRIDE { octaves = octaves_; } in setNOctaves() 93 int getNOctaves() const CV_OVERRIDE { return octaves; } in getNOctaves() 181 options.omax = octaves; in detectAndCompute() 214 fs << "octaves" << octaves; in write() 225 octaves = (int)fn["octaves"]; in read() 234 int octaves; member in cv::AKAZE_Impl 241 float threshold, int octaves, in create() argument 245 threshold, octaves, sublevels, diffusivity); in create()
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | simplexnoise.h | 49 float octave_noise_2d( float octaves, 54 float octave_noise_3d( float octaves, 60 float octave_noise_4d( float octaves, 70 float scaled_octave_noise_2d( float octaves, 77 float scaled_octave_noise_3d( float octaves, 85 float scaled_octave_noise_4d( float octaves,
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | simplexnoise.h | 49 float octave_noise_2d( float octaves, 54 float octave_noise_3d( float octaves, 60 float octave_noise_4d( float octaves, 70 float scaled_octave_noise_2d( float octaves, 77 float scaled_octave_noise_3d( float octaves, 85 float scaled_octave_noise_4d( float octaves,
|
/dports/graphics/ogre3d/ogre-1.11.6/Samples/Media/materials/programs/HLSL/ |
H A D | TerrainTessellationINoise.hlsl | 59 float fBm(float2 p, int octaves, float lacunarity = 2.0, float gain = 0.5) 63 for(int i=0; i<octaves; i++) { 71 float turbulence(float2 p, int octaves, float lacunarity = 2.0, float gain = 0.5) 75 for(int i=0; i<octaves; i++) { 93 float ridgedmf(float2 p, int octaves, float lacunarity = 2.0, float gain = 0.5, float offset = 1.0) 96 float f = 0.3 + 0.5 * fBm(p, octaves, lacunarity, gain); 101 float hybridTerrain(float2 x, int3 octaves) 106 const int RIDGE_OCTAVES = octaves.x; 107 const int FBM_OCTAVES = octaves.y; 108 const int TWIST_OCTAVES = octaves.z; [all …]
|
/dports/graphics/yafaray/libYafaRay-3.5.1/include/textures/ |
H A D | noise.h | 182 : H(_H), lacunarity(_lacu), octaves(_octs), nGen(_nGen) {} in fBm_t() 186 float H, lacunarity, octaves; 194 : H(_H), lacunarity(_lacu), octaves(_octs), nGen(_nGen) {} in mFractal_t() 198 float H, lacunarity, octaves; 206 : H(_H), lacunarity(_lacu), octaves(_octs), offset(_offs), nGen(_nGen) {} in heteroTerrain_t() 210 float H, lacunarity, octaves, offset; 218 : H(_H), lacunarity(_lacu), octaves(_octs), offset(_offs), gain(_gain), nGen(_nGen) {} in hybridMFractal_t() 222 float H, lacunarity, octaves, offset, gain; 230 : H(_H), lacunarity(_lacu), octaves(_octs), offset(_offs), gain(_gain), nGen(_nGen) {} in ridgedMFractal_t() 234 float H, lacunarity, octaves, offset, gain;
|