SkillAgentSearch skills...

OctGL

Monogame Octree Graphics Library

Install / Use

/learn @alexandrelozano/OctGL
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

OctGL

CSharp Monogame Octree Graphics Library

This project is for octree spatial representation.

Build from triangle mesh model

Demo

Demo

Fill object and optimize octree

Sample wireframe

Show normals

Sample model 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

Sample model normals

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

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated1y ago
Forks0

Languages

C#

Security Score

75/100

Audited on Sep 25, 2024

No findings