POV-Ray : Newsgroups : povray.binaries.images : Some sort of Fractal Server Time
7 Nov 2024 15:32:09 EST (-0500)
  Some sort of Fractal (Message 1 to 10 of 11)  
Goto Latest 10 Messages Next 1 Messages >>>
From: Ronald Chen
Subject: Some sort of Fractal
Date: 29 Jul 2004 22:08:15
Message: <4109ad8f@news.povray.org>
Took about 90 hours to render.  I can't do another level of recursion, or
else it would take 90 hours just to parse!

Took a few tries to render this.  The first try I used +am2 +r4, but that
was going to take weeks...  So I was forced to use +am1.

Radiosity + transparency + anti-aliasing = Long render


Post a reply to this message


Attachments:
Download 'SomeFractal.jpg' (525 KB)

Preview of image 'SomeFractal.jpg'
SomeFractal.jpg


 

From: Darren New
Subject: Re: Some sort of Fractal
Date: 29 Jul 2004 23:09:51
Message: <4109bbff$1@news.povray.org>
Verrrry cool idea!


Post a reply to this message

From: William Pokorny
Subject: Re: Some sort of Fractal
Date: 30 Jul 2004 09:55:00
Message: <web.410a52e78f77ad411837413b0@news.povray.org>
Great image!

"Ronald Chen" <pyr### [at] shawca> wrote:


Post a reply to this message

From: Dave Matthews
Subject: Re: Some sort of Fractal
Date: 30 Jul 2004 13:20:00
Message: <web.410a829b8f77ad41188ea9e80@news.povray.org>
"Ronald Chen" <pyr### [at] shawca> wrote:
> Took about 90 hours to render.  I can't do another level of recursion, or
> else it would take 90 hours just to parse!
>
> Took a few tries to render this.  The first try I used +am2 +r4, but that
> was going to take weeks...  So I was forced to use +am1.
>
> Radiosity + transparency + anti-aliasing = Long render

Wow.  That is really sharp.  I like it.  Just beautifully designed and
executed all the way around!

Dave Matthews


Post a reply to this message

From: Lutz-Peter Hooge
Subject: Re: Some sort of Fractal - recmacro.jpg [1/1]
Date: 30 Jul 2004 18:53:53
Message: <410ad181@news.povray.org>
Ronald Chen <pyr### [at] shawca> wrote:

> Took about 90 hours to render.  I can't do another level of recursion, or
> else it would take 90 hours just to parse!

I assume you generate everything in one big recursive macro, so that this
macro is called (sum_{n=0}^{recursion_depth} 8^n) times?

Using #declares it is possible to construct such an L-system fractal with
just recursion_depth+1 macro calls. This is much faster, though I doubt
you can add more than one additionaly level without running out of memory.

I tried with a very similar object, and with recursion_depth=5 it took 
more then 1GB memory in a few seconds, so I had to cancel it ;-)

I attached the scene file and a rendered image of it.

Lutz-Peter


Post a reply to this message


Attachments:
Download 'recmacro.jpg' (62 KB)

Preview of image 'recmacro.jpg'
recmacro.jpg


 

From: Lutz-Peter Hooge
Subject: Re: Some sort of Fractal - recmacro.pov [1/1]
Date: 30 Jul 2004 18:53:54
Message: <410ad182$1@news.povray.org>


Post a reply to this message


Attachments:
Download 'recmacro.pov.txt' (3 KB)

From: Ronald Chen
Subject: Re: Some sort of Fractal
Date: 30 Jul 2004 21:17:45
Message: <410af339@news.povray.org>
Thanks for the suggestion Lutz!

But I am already doing the method you describe.  Infact at recursion level 4
your file took 17s, while mine took 14s.  But of course you have about 50k
more items to process at recursion level 4 (you have 177149 objects at
recursion 4, I have 126390).

Honestly I havn't let my computer try a recursion level 5 for very long yet.
Who knows, maybe it would only take 1 mins...hehe

But anyways, even recursion level 5 took 1 min to parse, it would take
forever to render using the same quality as my orginal image.

Btw, the method I used to generate the image doesn't involve a macro at all.
I just used a while loop.  That might speed yours up a bit if you tried
that.

Here's the pseudo code:

#declare base = object{some_kick_ass_object}
#declare unit = object {base}
#declare n = 4;

#while(n > 0)
#declare unit = union {
 object {base}  // this base object is your simple one.  you add scaled down
units around it etc
 union {
  // your scaled down version of unit objects, 8 of them for this picture
  }
}
#declare n = n - 1;
#end

//then you render the object by saying
object {unit}

Enjoy!


Post a reply to this message

From: Andrew C on Mozilla
Subject: Re: Some sort of Fractal
Date: 31 Jul 2004 04:44:50
Message: <410b5c02@news.povray.org>
ATTENTION: Extreme levels of excellentness detected!

I really like this! I can think of all sorts of things you could do with 
it - but at 90 hours per render... hmm... maybe not. ;-)

Andrew @ home.


Post a reply to this message

From: Lutz-Peter Hooge
Subject: Re: Some sort of Fractal
Date: 31 Jul 2004 12:46:42
Message: <410bccf2$1@news.povray.org>
Ronald Chen <pyr### [at] shawca> wrote:

> But I am already doing the method you describe.  Infact at recursion level 4
> your file took 17s, while mine took 14s.

Ok, then I misunderstood your first post, it gave me the impression you had a 
problem with the parsing time.

> Btw, the method I used to generate the image doesn't involve a macro at all.
> I just used a while loop.  That might speed yours up a bit if you tried
> that.

IMHO it's more elegant with the macro, also I don't plan to develop this scene
further since it is just a cheap ripoff of yours. I only made it as an example.

Lutz-Peter


Post a reply to this message

From: Ronald Chen
Subject: Re: Some sort of Fractal
Date: 31 Jul 2004 15:49:31
Message: <410bf7cb@news.povray.org>
Yes, I understand you coded that up just as an example, but the pseudo code
I showed is applicable all L-System sort of things  =)


Post a reply to this message

Goto Latest 10 Messages Next 1 Messages >>>

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