Skip to content

editor.Brush-> List[geometry.Mesh] #181

@snake-biscuits

Description

@snake-biscuits

Visualising brushes would be really handy
Especially clips & triggers in map formats where they aren't renderable (IW & Titanfall engines)

Generating bounds for brushes would also be nice
Tho I think all brush representations have axial sides, which we can determine bounds from:

mins = sum((s.plane.normal * s.plane.distance for s in brush.sides[:6] if -1 in s.plane.normal), start=vec3())
maxs = sum((s.plane.normal * s.plane.distance for s in brush.sides[:6] if +1 in s.plane.normal), start=vec3())

Note: needs to be List[geometry.Mesh] to allow for multiple materials

Metadata

Metadata

Labels

enhancementNew feature or requestgeometryfeature related to extracting geo

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions