POV-Ray : Newsgroups : povray.unofficial.patches : Why is sphere_spline so slow? : Re: Why is sphere_spline so slow? Server Time
1 Sep 2024 16:18:19 EDT (-0400)
  Re: Why is sphere_spline so slow?  
From: Geoff Wedig
Date: 16 Feb 2001 13:52:14
Message: <3a8d76de@news.povray.org>
Gilles Tran <tra### [at] inapginrafr> wrote:

> Geoff Wedig wrote:

>> Recently, I've been working with a picture where I used a sphere spline for
>> the handle of a vase.  Now, without the spline, the scene renders in a few
>> minutes.  With it, it takes well over an hour (I didn't let it finish), even
>> though the spline is a very small segment of the pic.  Why does it take so
>> long?  Could it be a bounding box issue?  Every pixel was taking longer,
>> regardless of the location relative to the sphere_spline.
>>
>> If it's not that, does anyone else have any suggestions?

> Suggestion one: bound it manually. The object won't have such a drastic effect
> on the scene, though the object itself will still render slowly. Actually, a
> fixed sphere_sweep object would be much appreciated...

I'm going to try this.  Just haven't had a chance yet.  A fixed version
would be really nice, but I don't have the code know-how to do it (well, I
don't know the POV code.  I could write something, I'm sure.

> Suggestion two: use the init_3d_spline function to concatenate spheres and
> cylinders. It's less smooth and flexible but it works fine in most cases and
> renders fast.

Might work in this scene, since the detail is small, but I like the smooth
feel of the sphere splines in detail, which is really slow, because of where
it's located.

Geoff


Post a reply to this message

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