Christoph_H_
May 15, 2018 09:10:47
Hello,
how is it possible to generate @Cd threw intersecting with a mesh?
In the area from the second mesh should be colord points or primitives on the first mesh.
thanks.
BabaJ
May 15, 2018 13:34:24
Keep your eyes peeled for others methods you may like better.
More than one way to do it.
Aizatulin
May 15, 2018 16:23:36
Hi,
“intersect_all” can help you aswell. If you count the number of intersections of a ray in any direction, it should be odd inside and even outside. But sometimes I've ran into numerical problems, if the intersection points are close together. You can minimize this problem by decreasing the tolerance.
Christoph_H_
May 16, 2018 03:33:52
Thank you both very much.
Very instructive.
Aizatulin
May 16, 2018 12:47:34
Sure man

,
I just found out, that the ray length has not been calculated correctly, so I've attached a fixed version.
Nicolas Longchamps
May 16, 2018 16:25:34
Volumes would be great for this. It might be more efficient as you can control the sampling of the incoming geo and it should scale really well with geometric complexity.

Simply use a volume sample in a point VOP on the object you want colors on. Pipe in the volume and sample it at the point position.