|
|
The new features are amazing, as usual... :)
I have a question about the trace function (perhaps this is not the correct
thread for this, but I'm too lazy to write a separate article...):
The documentation says:
"If a fourth parameter in the form of a vector identifier is provided,
the normal of the object at the intersection point (not including any normal
perturbations due to textures) is stored into that vector."
What if I really want the perturbed normal? I can think of some uses of
this.
Perhaps a 5th parameter (of boolen type) could be added? If the parameter
is true, then the returned normal is perturbed by the texture before
returning. The default value could be false.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|