POV-Ray : Newsgroups : povray.beta-test : bug in sphere_sweep for removing parts of an object : Re: bug in sphere_sweep for removing parts of an object Server Time
26 Apr 2024 06:05:05 EDT (-0400)
  Re: bug in sphere_sweep for removing parts of an object  
From: Andrel C  Linnenbank
Date: 15 Dec 2001 08:25:29
Message: <3C1B5008.7EBEAEDA@amc.uva.nl>
> 
> >Second point is that I used a parameterization for the sizes
> >of the spheres that depended on the clock to generate an animation.
> >It was a rather complex formula. I now use a different method where
> >I generate an different include file for every frame. The reason
> >is that this seems to be much faster. Apparently the formula
> >is computed for every pixel in stead of ones per frame. I
> >think some caching may improve the speed of rendering.
> 
> I can't reproduce that with simple formulae that use the clock.
> You're not using functions by any chance are you?

I meant that I used things like 

sphere_sweep {
 catmull_rom_spline
 11,
 <-0.785398,0.000000,0.000000>,1-(exp(-(2-sin((clock)*2*pi))*4)*25),
.
.
.

(or worse) does that count as using functions?


	Andrel


Post a reply to this message

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