-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
enhancementNew feature or requestNew feature or requestgeometryfeature related to extracting geofeature related to extracting geo
Description
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
Kerouha
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgeometryfeature related to extracting geofeature related to extracting geo