POV-Ray : Newsgroups : povray.bugreports : rendering lathe objects generates faulty surfaces at the origin : Re: rendering lathe objects generates faulty surfaces at the origin Server Time
1 Jun 2024 09:44:00 EDT (-0400)
  Re: rendering lathe objects generates faulty surfaces at the origin  
From: Stefan Hahn
Date: 24 Jun 1999 15:01:12
Message: <377280D2.290A3B02@t-online.de>
Dear Nieminen,

Thanks a lot for the fix. Since this problem was only part of a larger
model, in which I dimensioned all using physical parameters [meters]
your fix looked a bit inconvenient.

However, a slight modification of your code seems to be the
perfect fix:
modeling the lathe at a dimension 10 like you proposed, but scaling the whole
object
down it by a factor of 10 immediately afterwards worked out equally well.
Thanks again.

Unfortunately after this fix, I just fell into the next hole concerning
CSG intersections of a transparent lathe's. I am hoping to be helped
out of this hole as well. (see subsequent posting)

***sth***

Nieminen Mika schrieb:

> Stefan Hahn <Ste### [at] t-onlinede> wrote:
> : However, the center portion around the symmetry point (center of the
> : vulcano) does not render properly.
>
>   Seems like a precision problem. Scaling everything by about 10 solves
> the problem.
>
>   This is the core of the problem:
>
> #declare Scale = 1;
>
> #declare eye = <-0.3,0.5,-0.3>*Scale;
> lathe
> { linear_spline 2
>   <0,0> <.01,.004>*Scale
>   pigment { rgb 1 }
> }
> camera { angle 1 location eye look_at 0 }
> light_source { y*10,1 }
>
>   If you set Scale to 10, everything seems to be ok.
>
> --
> main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
> ):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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