Skip to content

Bezier Patch

skzk edited this page Feb 5, 2021 · 18 revisions

Item file: aux.

Structure

Field(s) Description
struct kdop_item See kDOP item.

Flags:

Bit 0: Ignore cut planes
Bit 1: Water reflection
Bit 2-3: Noise power. 0 = 100%; 1 = 50%; 2 = 0%.
Bit 4: No detail vegetation
Bit 5: Low poly vegetation
Bit 6: No collision
Bit 7: No terrain shadows
Bit 8: Inner vegetation sphere space
Bit 9: Smooth detail vegetation
Bit 10: No vegetation collision

float3 control_point x16 The positions of the 4x4 control points of the item, relative to its center.
u16 x_tess
u16 z_tess
Amount of terrain quad columns and rows of the generated terrain (minus one, so setting it to 4, for example, will generate 5).
u64 node_uid UID of the node of this item.
u32 rnd_seed The seed used for placing vegetation.
struct vegetation Vegetation, see Vegetation struct. Repeated three times.
u32 veg_sphere_count
array_struct veg_spheres
List of vegetation spheres. See Vegetation sphere struct.
struct quad_info Terrain data. See Quad info struct. size_x and size_y correspond to x_tess + 1 and z_tess + 1.

Clone this wiki locally