POV-Ray : Newsgroups : povray.binaries.images : Torus segment with rounded ends (for a pie chart) : Re: Torus segment with rounded ends (for a pie chart) Server Time
4 Nov 2024 14:59:58 EST (-0500)
  Re: Torus segment with rounded ends (for a pie chart)  
From: Blue Herring
Date: 25 Sep 2008 10:59:39
Message: <48dba75b$1@news.povray.org>
Mike Williams wrote:
> Wasn't it Rick Measham who wrote:
>> ALSO: I would love to make this render a hell of a lot faster, if
>> anyone has any pointers.
> 
> One thing worth noticing is that your area_light causes the render time
> to be multiplied by a factor of 28.
> 
> I wonder if it would somehow be possible to arrange for the blurred
> shadow to be calculated separately, cast by a simpler object with
> no_image, and have the main object be illuminated by a simpler light
> source. I've never really played with light_group and can't seem to get
> this to go as fast as I'd expect.
> 
> Rendering the scene with the wedges commented out, and with
>         torus {2, 0.6 pigment {rgbf <1,0,0,0.35>} no_image}
> to cast the shadow runs very fast. Your original scene but with
>         AreaLights = 0;
> runs very fast. My attempts to do both of those in the same scene slow
> it down so much that the speed gain over the original scene is only a
> factor of about 2.
> 

Have you tried adding "adaptive 0" to the area_light?  If you do, you 
might want to bump up the dimensions to 9x9, 17x17, 33x33 or higher. 
There have been a number of posts here addressing the benefits of 
adaptive area lights.


-- 
// The Mildly Infamous Blue Herring
#version 3.61;#include"functions.inc"global_settings{assumed_gamma
2.2}isosurface{function{-f_strophoid(x/2-.45,y,z*3,1,1.2,1,1.5)-.05}
contained_by{box{<-2.1,-1,-1/3>,<1.4,1,1/3>}}max_gradient 12inverse
hollow pigment{rgbf 1}interior{media{samples 8 emission<3,80,150>/255
density{crackle metric 1color_map{[0rgb 6][.03rgb 0][1rgb 0]}scale<1,
2,1>warp{turbulence<.5,.75,.5>}scale 1/3}}}translate z*3}


Post a reply to this message

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