I asked once about rendering translucency with pov or at least
simulating it.
I got some replies, among which was "try writing a shader" - I was
dreading that.
Well, I finally got up the nerve - and you know, it was kinda fun!
(regardless of the outcome). Here is the result of my first whack at it,
applied to some leaves. The approach is heuristic and not very robust.
The shader in its present state would probably get me banned from CG
circles for committing such atrocities to code.
Anyway, there are two views; one with, and one without translucency.
Light source is roughly 80 degrees to the left of the direction of view.
Abe
Post a reply to this message
Attachments:
Download 'leaftest1.jpg' (74 KB)
Download 'leaftest2.jpg' (66 KB)
Preview of image 'leaftest1.jpg'
![leaftest1.jpg](/povray.binaries.images/attachment/%3C3B4B985D.7B4E526C%40taconic.net%3E/leaftest1.jpg?preview=1)
Preview of image 'leaftest2.jpg'
![leaftest2.jpg](/povray.binaries.images/attachment/%3C3B4B985D.7B4E526C%40taconic.net%3E/leaftest2.jpg?preview=1)
|