Skip to content

Bezier Patch

skzk edited this page Jan 21, 2024 · 15 revisions

Item ID: 0x27 (39)
Item file: aux

Structure

Field(s) Description
struct kdop_item

See k-DOP item.

Flags:
Bit 0: Ignore cut planes
Bit 1: Water reflection
Bits 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 ×16 The positions of the 4×4 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).
The maximum value is 250.
u64 node_uid UID of the node of this item.
u32 rnd_seed The seed for the RNG which determines which vegetation models to place. The position of the models does not appear to be affected by this.
struct vegetation ×3 Vegetation, see Vegetation struct.
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