Title: Simple 3D IFS in POV-Ray Post by: utak3r on March 17, 2010, 11:30:37 AM I've put online a sample source for POV-Ray, describing, how to make IFS systems in this great software.
You can learn from it, how to design recurrent macros in POV-Ray. You can download it from deviantArt (http://utak3r.deviantart.com/art/Simple-3D-IFS-system-in-povray-157536019). (http://img7.imageshack.us/img7/5707/simple3difs.jpg) Usage: The main core code is following: Code: #macro OBJ_atom(srodek, obrot, promien) What you will put in OBJ_atom, is the smallest shape (an atom). It can be a sphere or anything you like, it can be even a sophisticated object - it doesn't matter. OBJ_punkty defines the procedure of creating IFS system, you can change it as you like, it's really simple. The image above shows the sample effect, rendered at the first, second, and the fifth iteration. If you have any questions, don't hesitate to ask :) Title: Re: Simple 3D IFS in POV-Ray Post by: Nahee_Enterprises on March 19, 2010, 08:16:44 AM I've put online a sample source for POV-Ray, describing how to make IFS systems in this great software. Nice images!! Have always enjoyed this program and what all it is capable of producing. Thank you for sharing your code. |