POV-Ray : Newsgroups : povray.general : Graininess : Re: Graininess Server Time
31 Jul 2024 02:24:41 EDT (-0400)
  Re: Graininess  
From: Nicolas Alvarez
Date: 11 Jan 2008 22:42:28
Message: <47883724$1@news.povray.org>

> The error is in your SphereGrid macro when you are making the cones for the
> latitude grids.  You set the radius of the cone to be 1/tan(value), which is
> fine, except when you have one that is completely flat (i.e. the equator).
> Here, value=0, therefore tan(0)=0 which leaves a division by 0 error.  I don't
> know exactly how POV is handling this, but it is creating something similar to
> a coincident surface problem.

I thought that resulted in a "degenerate cone" warning and the object 
completely removed from the scene.


Post a reply to this message

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