POV-Ray : Newsgroups : povray.general : Graininess : Re: Graininess Server Time
31 Jul 2024 08:23:46 EDT (-0400)
  Re: Graininess  
From: Trevor G Quayle
Date: 13 Jan 2008 16:10:00
Message: <web.478a7e0622fbe8cf2ae8612c0@news.povray.org>
Two things:

>  #local SphereGrid_bounds = sphere
>  {
>   0, SphereGrid_radius
>  }

This is causing a coincident surface problem.  Make the radius slightly larger
(eg: SphereGrid_radius*1.001)



>    #local SphereGrid_value = 360 * (SphereGrid_start + SphereGrid_i *
> SphereGrid_increment);
>    box
>    {
>     <2*SphereGrid_radius, 2*SphereGrid_radius, SphereGrid_thickness/2,>,
> <-2*SphereGrid_radius, -2*SphereGrid_radius, -SphereGrid_thickness/2,>
>     rotate y * SphereGrid_value
>    }
>
> //   #debug concat("longt_value = ", str(SphereGrid_value, 0, -1),"\n")
>    #local SphereGrid_i = SphereGrid_i + 1;
>   #end

Another coincident surface problem.  Your radial gridlines go from one side to
the other, but you are also rotating a full 360 degrees.  This makes twice as
many as needed, but with the second set overlapping the first.  Either
a) make the box only from the center out
or
b) make half as many rotated through 180 degrees

-tgq


Post a reply to this message

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