terrain
Tag: terrain
Parent tag: scene
Attributes:
name(string) – the name of the scene object.heightMap(string) – the name of the texture file.
Child tags:
TRANSFORM_ORDER(enum) – {T_R_S(default),T_S_R, R_T_S, R_S_T, S_T_R, S_R_T} defines the order of the geometric transformationsSCALE(vec3) – x, y, zTRANSLATE(vec3) – x, y, zROTATE(vec3) – x, y, z, w, where (x,y,z) stand for the rotation axis and w stands for the angle in degrees
Example
<terrain name = "fractal" heightMap ="fractalNoise.jpg" > <SCALE x=0.1 y=2.5 z =0.1 /> </terrain>
See the geometric primitives example in github.
