[Closed] Custom Octree vs. Max methods?
I know Bobo has mentioned their companies method somewhat, but has anyone else tried to make their own to use in Max?
I found a C# Version that I got working sort of, but it seems like a C++ one would be alot faster. I found this one, http://nomis80.org/code/octree.html , but haven’t attempted to work with it yet.
I’m using MeshProjIntersect() now which is fast, but using a custom method could allow for the use on multiple objects, but then could still get a hit face/node name out of those. Then just do a Intersect ray towards that face.
Could a C++ Version be faster than Max, or at least the same if done right? I guess that is the goal, but like I said, to allow for more versatility.
I’m pretty sure. But with your own custom method, u could potentially like I said, supply a Face and maybe Object name in a single string or something with the Point3. So you could get the best point, not necessarily in the same mesh, and then raycast to that one.
Right now all built in in method are limited to 1 mesh at a time. So as a work around, I always combine many meshes as fast as possible and then use that for a temp time.