|
 |
On 2025-03-13 15:47 (-4), Bald Eagle wrote:
> William F Pokorny <ano### [at] anonymous org> wrote:
>
>
>> Interesting. This is an approach different than I've seen for
>> establishing a gradient about the surface of an object. Wondering some
>> about how the scaling is handled in detail. I've put it on my list to
>> review your code. Thank for making it available!
>>
>> Bill P.
>
> Yes, I thought so too.
> I remember doing something with f_r (), and creating an artificial gradient
> across the hard boundary of the object pattern - but I've looked for the past 2
> days and haven't found the file or render where I did those experiments.
>
> I'm pretty dure that I discussed the details with you though - in reference to
> your object-as-isosurface project.
I came up with a method a few years ago. It uses trace() to find the
distance to the edge of an object from voxels in a vertical plane, and
creates an image map with the desired gradient. You can use the pigment
function in an isosurface.
https://github.com/CousinRicky/IsoBevelTut
There are a couple of issues:
- Creating the image for the pigment function is a slow process.
However, you only have to create the image once.
- No matter the resolution, there will always be hard boundaries at the
pixel level. The interpolate option in the image map can mitigate
this in some cases.
Post a reply to this message
|
 |