mariuszhermansdorfer
mariuszhermansdorfer
Progress update: It is stated in the comments that input polygons need to be dense. This means that naively omitting selected faces will obviously not work. https://github.com/nmwsharp/geometry-central/blob/ebe40292466517b2139f8f546688db278414e3bb/src/surface/manifold_surface_mesh.cpp#L48-L50 A workaround I...
Hmm, it might be even simpler. Each time we return std::vector* outIntersections, these should be always the closest intersection. If we only care about occlusion tests, we wouldn’t return the...
Thanks @Grantim, I can see the commit addressed the CPU logic but not the Cuda version of this function. Could this be changed as well?
Super! Thanks a million!
Thanks for a prompt response @ryein! What I have are 2 inputs: - a mesh - an arbitrary bounding box defining the grid extents. This bounding box contains the mesh...
Wouldn't this create false positives (1) on the edges of the box? I only want the cone mesh to show 1, while the remaining voxels would have a value of...
I should have been clear from the beginning :) I’m working on a local Dendro fork and can write both c++ and c# code. What I need help with is...
Awesome. That's the piece of the puzzle I've been missing. Any ideas on how to align these grids and make sure the voxels overlap? Something like: set grid origin ->...
@ryein, thanks to our exchange I was able to write the following code. It creates 2 separate grids, merges them together and uses a bounding box to iterate over the...