|
![](/i/fill.gif) |
When using cylinders+spheres to simulate a curve, a shading artifact can
(usually) be clearly seen.
This is caused because altough the surface is smooth (it hasn't
sharp edges), the change of the curvature of the surface isn't. The
curvature changes abruptly: First it's straight, then it's spherical
and the again straight. This causes those shading artifacts seen in
the image (ie. the shading starts to change too abruptly).
--
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
|
![](/i/fill.gif) |