POV-Ray : Newsgroups : povray.binaries.images : Apparent bounding bug in sphere_sweep : Apparent bounding bug in sphere_sweep Server Time
10 May 2024 04:30:11 EDT (-0400)
  Apparent bounding bug in sphere_sweep  
From: Cousin Ricky
Date: 28 Apr 2013 18:04:49
Message: <op.wv9ua5h36b35ac@linux-dc58.site>
The cubic spline sphere sweep in the scene below is clipped.  Adding a  
manual bounded_by statement has no effect.  The problem is reminiscent of  
FS#243, except that I have not scaled the object.

The object's shadow is also clipped in the 3.7 scene, although not to the  
same extent as the object itself.  The shadow is not clipped in earlier  
versions of POV-Ray.  (Has any work been done on FS#81 that could account  
for this difference?)

The transparent blue spheres were added to show the control points.
____________________________________________________________

global_settings { assumed_gamma 1 }
camera
{ location <0.0, 1.5, -8.5>
   look_at <0.0, 1.5, 0.0>
   angle 29
}
light_source { <-4.562, 10.625, -7.902>, rgb 1 }
box { <-10, 0, -10>, <10, 12, 10> hollow pigment { rgb 1 } }
text
{ ttf "cyrvetic.ttf" str(version,0,2) 0.001, 0
   scale 0.3 translate <-0.25, 1.4, 0>
   pigment { rgb 0 }
   no_shadow
}

#declare Marker = sphere
{ 0, 0.12
   pigment { rgbt <0, 0, 1, 0.7> }
   no_shadow
}

#declare R = 0.07;

union
{ sphere_sweep
   { cubic_spline 6,
     <1, -1>, R,
     <-1, -1>, R,
     <-1, 1>, R,
     <1, 1>, R,
     <1, -1>, R,
     <-1, -1>, R
     bounded_by { box { -<1.5, 1.5, R>, <1.5, 1.5, R> } }
     pigment { red 1 }
   }
   object { Marker translate <1, 1> }
   object { Marker translate <1, -1> }
   object { Marker translate <-1, -1> }
   object { Marker translate <-1, 1> }
   translate 1.5 * y
}
____________________________________________________________

POV-Ray versions: 3.5, 3.6.1, and 3.7.RC7
Operating System: openSUSE 12.2 Linux
CPU: Dell Inspiron 17R, Intel Core i7

-- 
<Insert witty .sig here>


Post a reply to this message


Attachments:
Download 'cubic_sweep_bound_bug.3.5.jpg' (8 KB) Download 'cubic_sweep_bound_bug.3.6.jpg' (8 KB) Download 'cubic_sweep_bound_bug.jpg' (9 KB)

Preview of image 'cubic_sweep_bound_bug.3.5.jpg'
cubic_sweep_bound_bug.3.5.jpg

Preview of image 'cubic_sweep_bound_bug.3.6.jpg'
cubic_sweep_bound_bug.3.6.jpg

Preview of image 'cubic_sweep_bound_bug.jpg'
cubic_sweep_bound_bug.jpg


 

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