POV-Ray : Newsgroups : povray.pov4.discussion.general : Tree Fractals : Re: Tree Fractals Server Time
25 Feb 2024 08:14:11 EST (-0500)
  Re: Tree Fractals  
From: clipka
Date: 21 Nov 2009 12:24:03
Message: <4b082233$1@news.povray.org>
Chambers schrieb:
> clipka wrote:
>> Gerhard Oosthuizen schrieb:
>>> It would be nice to have a fractal object for trees and lightning.
>>> Tree-like fractal textures would also be nice for veins and leaves.
>>
>> I guess you're talking about fractals of the recursive kind, as in:
>>
>>     #declare MyTree {
>>       cylinder { <0,0,0>, <0,1,0> }
>>       object { MyTree scale 0.5 rotate  z*30 translate y*1 }
>>       object { MyTree scale 0.7 rotate -z*20 translate y*1 }
>>     }
> 
> Aren't these termed L-Systems?  The POV-Ray SDL is quite well suited to 
> writing them (in a slightly different manner from what's posted above, 
> of course :) ).

The SDL is indeed well-suited to this task - but the POV-Ray rendering 
engine isn't; the SDL needs to take care of generating all those "limbs" 
and leaves.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.