POV-Ray : Newsgroups : povray.bugreports : Sphere seems to swell up beyond proportion : Re: Sphere seems to swell up beyond proportion Server Time
3 May 2024 13:26:23 EDT (-0400)
  Re: Sphere seems to swell up beyond proportion  
From: Warp
Date: 10 Oct 2010 03:39:04
Message: <4cb16d98@news.povray.org>
Marco <rpo### [at] gmailcom> wrote:
> So this is basically the pov-csg`which is puzzling me: the sphere with radius 4
> produces a disproportionally large cylinder compared to the radius 3:
> http://home.ooijer.com/povray-conesphereradius3.jpg
> http://home.ooijer.com/povray-conesphereradius4.jpg

  The latter image is missing, but I can imagine what it looks like.
This is basic geometry and has nothing to do with POV-Ray itself.

  Try drawing on paper a cross-section of the latter image, where the
larger end of the cone perfectly coincides with the meridian of the sphere,
and you'll see why the surface of the cone is not matching with the surface
of the sphere: They are not tangential.

  If you want the surface of the cone to be tangential to the surface of
the sphere, the math is a bit more complicated. Fortunately the standard
library has a macro for that exact purpose, the Connect_Spheres() macro
in shapes.inc. See:

http://wiki.povray.org/content/Documentation:Reference_Section_7.3#shapes.inc

-- 
                                                          - Warp


Post a reply to this message

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