monkey2 icon indicating copy to clipboard operation
monkey2 copied to clipboard

mojo3d resquest: Constructive solid geometry

Open Hezkore opened this issue 6 years ago • 1 comments

Some CSG methods for mojo3d models would be awesome. It would allow us to create our own level editors more easily.

I'm sure you know what CSG is, but here's a Wiki link anyways: https://en.wikipedia.org/wiki/Constructive_solid_geometry

Hezkore avatar Sep 22 '18 19:09 Hezkore

Mark: Ctrl-F 'csg' here, there's some really cool B3D code (with a BMX port) that does this...

http://mojolabs.nz/codearcs.php?cat=12

In fact, just found that someone's 'fixed' code I did in bmx-ng/OpenB3D, years ago (just added operator overloading for adding/subtracting entire meshes to the existing CSG port because it seemed cool), probably better still...

https://github.com/markcwm/openb3dmax.mod/commit/712e3288c52693823a442d0ccbbadd0b49998776

DruggedBunny avatar Sep 23 '18 00:09 DruggedBunny