POV-Ray : Newsgroups : povray.beta-test : sphere sweep bounding boxes calculated incorrectly : sphere sweep bounding boxes calculated incorrectly Server Time
30 Jul 2024 04:13:55 EDT (-0400)
  sphere sweep bounding boxes calculated incorrectly  
From: Slime
Date: 11 Jan 2002 17:44:02
Message: <3c3f6ab2$1@news.povray.org>
I posted this a long time ago, but just realized the bug still exists, and
it's not in the known bugs list.

In the following scene, even though the camera shouldn't be able to see any
of the three sphere_sweeps or their bounding boxes, if you render with +UD,
to show the vista buffer, you can see that the bounding boxes of the sphere
sweeps are extended to include the point <0,0,0>. It doesn't happen if you
remove any of the three sphere_sweeps.

I noticed this when trying to render a scene with hundreds of sphere_sweeps,
and it took forever to render. Turning on +UD showed tons of bounding boxes,
all extended to include the origin.

Confirmation?

//+UD
camera {location <-10,10,-10> look_at 0}
light_source {<-100,100,-100> rgb 1}

sphere_sweep {
 linear_spline,
 2,
 40, .1
 50, .1
}
sphere_sweep {
 linear_spline,
 2,
 60, .1
 70, .1
}
sphere_sweep {
 linear_spline,
 2,
 90, .1
 100, .1
}

Win '98, 256 MB RAM, 900mhz P3 (i think).

- Slime
[ http://www.slimeland.com/ ]
[ http://www.slimeland.com/images/ ]


Post a reply to this message

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