How to show heat map on collision real time

Hello everyone ,

I am looking for idea / solution for showing heat map when two solid geometry STL / OBJ model intersect to each other

like below image

I have checked CSG demos but I am not sure how to achieve this kind of output - I wanted to color / heat map only collided vertices of two models

if anyone guide me how to extract overlapping vertices and color them

Thanks in advance

Hey @Prashant_Tukadiya, you’d likely want to combine both a CSG addon such as three-mesh-bvh as well as a custom shader to detect the depth of intersection in complex models like this, there was a thread discussing this previously, the following demo may be of use…

1 Like