|
 |
On 7/18/2025 7:07 AM, Chris R wrote:
>
> The code needs a lot more testing before I put documentation and official
> examples into the GitHub repo with my libraries, but I thought I'd share the
> idea in case there are comments, (like "someone has already done this...") :-)
>
> -- Chris R
I'm kind of reminded of my cloth simulation renders from way way back.
It used a lot of trace commands and spring functions that could
determine a bunch of normals, but trace would give that anyway.
The only other way I could think to do this is to sample a bunch of
projections of the shape onto the surface until I was satisfied with the
highest point of contact, then find the second highest point of contact
and adjust the shape's orientation to touch those two points, then find
the next highest point and orient again.
I look forward to seeing what you've put together.
Josh
Post a reply to this message
|
 |