|
|
Jellby wrote:
> Among other things, David Burnett wrote:
>
>
>> No, you don't have to modify the function as ABX already pointed out:
>>
>>>#declare fn_Shape = function { ... }
>>>
>>>#declare fn_Iso = IC_Displace (fn_Shape)
>>>
>>>isosurface {
>>> function { fn_Iso(x,y,z) }
>>> ...
>>>}
>>
>>And this our point of contention. I say
>>the isosurface here is the result of fn_Iso,
>>and not a displacement of fn_Shape and you
>>disagree.
>
>
> What if POV syntax were:
>
> isosurface {
> function { fn_Shape(x,y,z) }
> displaced_by { IC_Displace }
> ...
> }
>
> .... and it were internally translated to IC_Displace(fn_Shape) ?
>
> Would it be different?
>
Not really, syntactically it looks good but internally it would have to
work something like...
if shape(<x,y,z>) = threshold then
<a,b,c> = ic_displace(<x,y,z>)
value_for_point(<a,b,c>) = threshold
end if
Dave
Post a reply to this message
|
|