Ray to Octree Intersection for boolean geometry

Hi,

I’m trying to do boolean geometry that I have two meshes and would like to compute the intersection between them.

So I construct an octree from mesh A, and I check the vertices from mesh B against the octants, if there is an intersection, check the octant triangles for intersection, then I add the triangles, construct a mesh.

auto intersected_octant_faces = mn::buf_new<musa::Triangle>(); std::stack < cg::Octant *> stack; s

Published by CelleSports

CelleSports is a Game development, News outlet, and Social Cell community. Build your cells or teams for any game and start communicating efficiently. Join us in building the number one eSport and gaming community in the World. Join Cell eSports

Leave a comment