POV-Ray : Newsgroups : povray.general : Graininess : Re: Graininess Server Time
31 Jul 2024 08:32:32 EDT (-0400)
  Re: Graininess  
From: SharkD
Date: 14 Jan 2008 03:55:01
Message: <web.478b22a522fbe8cfa46b932a0@news.povray.org>
"Trevor G Quayle" <Tin### [at] hotmailcom> wrote:
> 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)

I changed this but didn't notice a difference. Where does this have an effect?

> >    #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

Doh! That resolves one of the issues. However, the problem with the area under
the grid and above the cut-away portion of the sphere still remains. I'm at a
complete loss.


Post a reply to this message

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