49 void Flatten (
FlattenOperation flatten_op,
float elevation,
float factor,
float center_x,
float center_y,
float radius);
58 void RadialScale (
float center_x,
float center_y,
float scale_factor,
float min_dist,
float max_dist,
float smooth_factor,
int frequency);
74 void GaussianHill (
float x,
float y,
float radius,
float hscale,
float standard_deviation,
float smooth_factor);
84 static float grid_neighbour_sum_size(
TTerrain*terrain,
int x,
int y,
int size);
89 static float grid_neighbour_average_size(
TTerrain*terrain,
112 void Ramp(
float x1,
float y1,
float height1,
float x2,
float y2,
float height2,
float radius,
float borderpercentage=0.5f,
float factor=1.0f);
void Flatten(FlattenOperation flatten_op, float elevation, float factor, float center_x, float center_y, float radius)
Flatten the terrain both up and down to the specified elevation, using using the tightness parameter ...
Definition: TerrainFilters.cpp:72
temp height field terrain data used by terrain filters.
Definition: TTerrain.h:16
void Roughen_Smooth(bool roughen, bool big_grid, float factor)
square filter for sharpening and smoothing.
Definition: TerrainFilters.cpp:467
different physics engine has different winding order.
Definition: EventBinding.h:32
TTerrain * GetTerrainData()
get the terrain data that is associated with this filter.
Definition: TerrainFilters.cpp:67
void SetConstEdgeHeight(float fHeight=0, int nSmoothPixels=7)
load height field from file
Definition: TerrainFilters.cpp:598
void RadialScale(float center_x, float center_y, float scale_factor, float min_dist, float max_dist, float smooth_factor, int frequency)
Note: terrain data should be in normalized space with height in the range [0,1].
Definition: TerrainFilters.cpp:152
void Ramp(float x1, float y1, float height1, float x2, float y2, float height2, float radius, float borderpercentage=0.5f, float factor=1.0f)
create a ramp (inclined slope) from height(x1,y1) to height(x2,y2).
Definition: TerrainFilters.cpp:632
void Merge(TTerrain *terrain_1, TTerrain *terrain_2, float weight_1, float weight_2, MergeOperation operation)
merge two terrains, and save the result to the current terrain.
Definition: TerrainFilters.cpp:502
void Spherical(float offset)
offset in a spherical region
Definition: TerrainFilters.cpp:353
Flatten the terrain up and down to the specified elevation.
Definition: TerrainFilters.h:33
Flatten the terrain down to the specified elevation.
Definition: TerrainFilters.h:31
Perform filtering on a terrain height field.
Definition: TerrainFilters.h:12
Flatten the terrain up to the specified elevation.
Definition: TerrainFilters.h:29
FlattenOperation
Definition: TerrainFilters.h:27
MergeOperation
used in the merge function
Definition: TerrainFilters.h:19