Here it is. You will need to download both files. Just include
sss_macro.inc into your POV file.
Look at sss_example.pov to see everything you need to know to get
started. You have to declare the object which will receive sss.
The macro is called sss_pattern and takes six arguments. These are
commented on in sss_example.pov. You can add additional sss effects from
other light sources by making new entries in the average pattern's
color_map which comply with existing light_sources. Beware, however.
Things *can* get slow with higher sss settings.
Hope you enjoy using this code. Happy raytracing!
--
Samuel Benge
stb### [at] hotmail com
See my website@: http://www.goldrush.com/~abenge/Top/index.html
Post a reply to this message
Attachments:
Download 'sss_example.pov.txt' (2 KB)
Download 'sss_macro.inc.txt' (2 KB)
|