POV-Ray : Newsgroups : povray.binaries.images : Piggy! Server Time
31 Jul 2024 16:25:11 EDT (-0400)
  Piggy! (Message 1 to 4 of 4)  
From: jhu
Subject: Piggy!
Date: 10 May 2009 14:15:01
Message: <web.4a0718c370937c967c6878d10@news.povray.org>
This image took 225 hours to render. It's just a few blobs together. But the
longest areas of rendering were at the connection of the ears to the body and
the legs to the body. Also there's 5 iterations of the blurred reflection code.
Would converting the blob to a mesh make the render faster?


Post a reply to this message


Attachments:
Download 'pig.jpg' (210 KB)

Preview of image 'pig.jpg'
pig.jpg


 

From: Zeger Knaepen
Subject: Re: Piggy!
Date: 10 May 2009 15:28:56
Message: <4a072af8@news.povray.org>
"jhu" <nomail@nomail> wrote in message 
news:web.4a0718c370937c967c6878d10@news.povray.org...
> This image took 225 hours to render. It's just a few blobs together. But 
> the
> longest areas of rendering were at the connection of the ears to the body 
> and
> the legs to the body. Also there's 5 iterations of the blurred reflection 
> code.
> Would converting the blob to a mesh make the render faster?

I doubt it, I think the slow rendering-time is due to recursive blurred 
reflections.  Try the same scene without reflection (and without focal 
blur), and I'm quite sure it'll render in a few seconds

wouldn't look half as cool though :)

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

From: mone
Subject: Re: Piggy!
Date: 11 May 2009 21:50:00
Message: <web.4a08d56a527e51f4695fe9130@news.povray.org>
"jhu" <nomail@nomail> wrote:
> This image took 225 hours to render. It's just a few blobs together. But the
> longest areas of rendering were at the connection of the ears to the body and
> the legs to the body. Also there's 5 iterations of the blurred reflection code.
> Would converting the blob to a mesh make the render faster?

225 hours?! Oh dear!
I don't know about the radiosity / mesh issue.
But I once noticed that one can save LOTS of time when doing focal blur with
really low quality settings  and antialiasing switched off and rendering the
image twice or three times as big as needed.  And then afterwards just resizing
it to a smaller size (twice or three times smaller) in a graphics program. That
can give much better results (and much quicker) than having high quality focal
blur settings while rendering.
I don't know if this is of any use in this case, though.


Post a reply to this message

From: Verm
Subject: Re: Piggy!
Date: 12 May 2009 13:58:50
Message: <4a09b8da$1@news.povray.org>
*Very* cute.

Could you try this without the blurred reflection code?

I'm not convinced there's much point to having multiple layer's of 
blurred reflection if you've also got focal blur.

If you just have one rough surface normal with subpixel detail and I'd 
have thought the multiple rays for the focal blur should produce nice 
blurred reflections.
--------------
I'm guessing the reason for the slow down at the joints is due to 
repeated blurred reflections between the legs/ears and the body.
If you do still feel the need to use blurred reflections (instead of 
just focal blur) it's a lot faster to have two piggies with different 
textures:
One little piggy with blurred reflections and set to no_reflection
Another with a simple surface but set to no_image.

That way you only get the cost of the blurred reflections at recursion 
level one - so you are casting 5 reflection rays per pixel.

If you don't do this you could get 5 reflection rays at level one and 25 
at level 2 and 5^n at recursion level n (as a worst case if you were 
stood between two blurred mirrors)


Post a reply to this message

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