POV-Ray : Newsgroups : povray.binaries.images : Sphere_sweep end cap artifact Server Time
29 Jul 2024 22:24:34 EDT (-0400)
  Sphere_sweep end cap artifact (Message 1 to 2 of 2)  
From: Cousin Ricky
Subject: Sphere_sweep end cap artifact
Date: 2 Jun 2013 12:05:01
Message: <web.51ab6cdabd93b90378641e0c0@news.povray.org>
In POV-Ray 3.7, a transparent sphere_sweep using a B-sline or a cubic spline
sometimes shows a disc at the endcaps.  (Note also that in this particular
example, the artifact on the right end does not cast a shadow, but on the left
end, a shadow is cast even though the artifact barely shows in the sphere_sweep
itself.)  Is this a known bug?

The artifact does NOT show for linear_spline.

The artifact does NOT show in POV-Ray 3.5 or 3.6.1.
__________________________________________________

global_settings { assumed_gamma 1 }

camera
{ location <-2.8356, 1.0000, -4.9115>
  look_at <0, 1, 0>
  angle 38.8508
}

light_source { <-3.3125, 7.6250, -5.7374>, rgb 1 }

box
{ -<7, 0, 7>, <7, 9, 7> hollow
  pigment { rgb 1 }
}

sphere_sweep
{ cubic_spline 4,
  <-3, 1.5, 0>, 0.4,
  <-1, 0.5, 0>, 0.4,
  <1, 1.5, 0>, 0.4,
  <3, 0.5, 0>, 0.4
  pigment { red 1 transmit 0.5 }
}
__________________________________________________

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


Post a reply to this message


Attachments:
Download 'sphere_sweep_endcap.jpg' (8 KB)

Preview of image 'sphere_sweep_endcap.jpg'
sphere_sweep_endcap.jpg


 

From: clipka
Subject: Re: Sphere_sweep end cap artifact
Date: 20 Jul 2013 14:11:45
Message: <51ead2e1$1@news.povray.org>
Am 02.06.2013 18:03, schrieb Cousin Ricky:
> In POV-Ray 3.7, a transparent sphere_sweep using a B-sline or a cubic spline
> sometimes shows a disc at the endcaps.  (Note also that in this particular
> example, the artifact on the right end does not cast a shadow, but on the left
> end, a shadow is cast even though the artifact barely shows in the sphere_sweep
> itself.)  Is this a known bug?

3rd order (i.e. cubic and similar) spline sphere sweeps are known to 
have serious math issues, so I'm not at all surprised.

Someone needs to re-work the whole 3rd order sphere sweep math sooner or 
later.


Post a reply to this message

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