|
|
Skiba <abx### [at] babilonorg> wrote:
> But when calculations of this functions are very complicated and this pattern
> is intersected many times (for example via reflections) then image function is
> afaik only alternative to speed things up.
The function will still have to be called a lot. Further, it is extremely
simple to just write a function like this and get any supersampling effect you
want with much more flexibility and about the same speed:
(foo(u+fdelta,v+fdelta) + foo(u-fdelta,v+fdelta) + foo(u,v)*4 +
foo(u+fdelta,v-fdelta) + foo(u-fdelta,v-fdelta)) / 8}
Thorsten
Post a reply to this message
|
|