ingo <ing### [at] tagpovrayorg> wrote:
> Use the trace function in a pigment and multiply the colour by the
> distance result of trace,
That would give a distance based color for either of the objects.
I could probably multiply the normal vector results by each other and use a
select() function to work something out, but I think CSG'ing everything into
difference B from A
difference A from B
and intersect A and B
would be far simpler (in SDL)
Perhaps there's a way using a union / merge and the object pattern.
Post a reply to this message