OctGL
Monogame Octree Graphics Library
Install / Use
/learn @alexandrelozano/OctGLREADME
OctGL
CSharp Monogame Octree Graphics Library
This project is for octree spatial representation.
Build from triangle mesh model
Demo

Fill object and optimize octree

Show normals

Operations
Union
<table style="padding:10px"> <tr> <td> <img src="./OctGL/Resources/cylinder.png" alt="1" width = 279px height = 279px > </td> <td><img src="./OctGL/Resources/pyramid.png" alt="2" width = 279px height = 279pxx></td> <td><img src="./OctGL/Resources/cylinder_pyramid_union.png" alt="3" width = 279px height = 279px></td> </tr> </table>Intersection
<table style="padding:10px"> <tr> <td> <img src="./OctGL/Resources/cylinder.png" alt="1" width = 279px height = 279px > </td> <td><img src="./OctGL/Resources/pyramid.png" alt="2" width = 279px height = 279pxx></td> <td><img src="./OctGL/Resources/cylinder_pyramid_intersection.png" alt="3" width = 279px height = 279px></td> </tr> </table>Substract
<table style="padding:10px"> <tr> <td> <img src="./OctGL/Resources/cylinder.png" alt="1" width = 279px height = 279px > </td> <td><img src="./OctGL/Resources/piece2.png" alt="2" width = 279px height = 279pxx></td> <td><img src="./OctGL/Resources/cylinder_piece2_substract.png" alt="3" width = 279px height = 279px></td> </tr> </table>Reverse
<table style="padding:10px"> <tr> <td> <img src="./OctGL/Resources/sphere.png" alt="1" width = 279px height = 279px > </td> <td><img src="./OctGL/Resources/sphere_reverse.png" alt="2" width = 279px height = 279pxx></td> </tr> </table>Sponza level 8 sample

Compiled with MonoGame 3.7.1
UI created with Myra
Load 3D file models with AssimpNET
Sample dragon model from TurboSquid
AABB triangle intersection based on StackOverflow
