POV-Ray : Newsgroups : povray.unofficial.patches : Mega Photon Bug? : Re: Mega Photon Bug? Server Time
2 Sep 2024 12:18:48 EDT (-0400)
  Re: Mega Photon Bug?  
From: Eric Freeman
Date: 11 Jan 2000 19:39:27
Message: <387bcd3f@news.povray.org>
"omniVERSE" <inv### [at] aolcom> wrote in message
news:387ba5f3@news.povray.org...
>
> #declare outerDome = merge {
>   cylinder {
>     <0,baseCylHite-baseCylGrooveY+gap,0>,  ****FIRST GAP
>     <0,domeHite,0>
>     baseCylGrooveR1-gap   ****SECOND GAP
>   }
>   sphere {
>     <0,domeHite,0>,
>     baseCylGrooveR1-gap+0.01  ****THIRD GAP
>   }
> }
>
> This appears to be the problem or answer depending on
> how you look at it.  The additional gap subtraction from
> before is changed to addition for this part.  Fixes it up just
> fine apparently.

I don't understand the problem.  The dome sits in a groove cut into the
base.  The gap variable is used to add a little separation between the
bottom of the dome and the sides and bottom of the groove to avoid
coincident surfaces.  The first gap is added to lift the dome slightly above
the bottom of the groove (baseCylHite-baseCylGrooveY).  The second and third
gaps are subtracted from the outer radius of the dome to provide a gap
between the dome and the outer wall of the groove (baseCylGrooveR1).  The
0.01 added to the sphere is a fudge amount because without it there is a
line visible where the sphere and cylinder meet.

I've just compared the above with my scene file and see that you are
referring to the 0.01 fudge amount added to the radius of the sphere.  I
don't know why, but negating or removing this 0.01 clears up the problem.
Now I'm back to having a line where the sphere and cylinder meet.

Eric
---------------
"A wise and frugal government, which shall restrain men from injuring one
another, which shall leave them otherwise free to regulate their own
pursuits of industry and improvement, and shall not take from the mouth of
labor the bread it has earned.  This is the sum of good government."
     - Thomas Jefferson
     - First inaugural address, 1801
---------------
http://www.ametro.net/~ericfree


Post a reply to this message

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