You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SeVec3d voronoiFn(VoronoiPointData& data, int n, const SeVec3d* args);
61
+
SeVec3d cvoronoiFn(VoronoiPointData& data, int n, const SeVec3d* args);
62
+
SeVec3d pvoronoiFn(VoronoiPointData& data, int n, const SeVec3d* args);
63
+
}
64
+
#endif
65
+
45
66
#ifdef _WINDOWS
46
67
// fix SePlatform.h's bad behavior
47
68
#undef snprintf
@@ -62,8 +83,6 @@
62
83
#include"ofxsTransformInteract.h"
63
84
#include"ofxsMatrix2D.h"
64
85
65
-
//#define SENOISE_VORONOI
66
-
67
86
#definekPluginName"SeNoise"
68
87
#definekPluginGrouping"Draw"
69
88
#definekPluginDescription"Generate noise."
@@ -97,7 +116,7 @@
97
116
#definekParamNoiseTypeTurbulenceHint"turbulence is a variant of fbm where the absolute value of each noise term is taken. This gives a more billowy appearance."
98
117
#ifdef SENOISE_VORONOI
99
118
#definekParamNoiseTypeVoronoi"Voronoi"
100
-
#definekParamNoiseTypeVoronoiHint"Voronoi is a cellular noise pattern. It is a jittered variant of cellnoise. cvoronoi returns a random color for each cell and pvoronoi returns the point location of the center of the cell. The type parameter describes different variants of the noise function. The jitter param controls how irregular the pattern is (jitter = 0 is like ordinary cellnoise). The fbm* params can be used to distort the noise field. When fbmScale is zero (the default), there is no distortion. The remaining params are the same as for the fbm function."
119
+
#definekParamNoiseTypeVoronoiHint"Voronoi is a cellular noise pattern. It is a jittered variant of cellnoise. The type parameter describes different variants of the noise function. The jitter param controls how irregular the pattern is (jitter = 0 is like ordinary cellnoise). The fbm* params can be used to distort the noise field. When fbmScale is zero (the default), there is no distortion. The remaining params are the same as for the fbm function. NOTE: This does not necessarily return [0,1] value, because it can return arbitrary distance."
101
120
#endif
102
121
enum NoiseTypeEnum {
103
122
eNoiseTypeCellNoise,
@@ -413,6 +432,7 @@ class SeNoiseProcessor : public SeNoiseProcessorBase
0 commit comments