POV-Ray : Newsgroups : povray.beta-test : Lathe artifacts (beta4) Server Time
28 Dec 2024 07:01:29 EST (-0500)
  Lathe artifacts (beta4) (Message 1 to 3 of 3)  
From: Warp
Subject: Lathe artifacts (beta4)
Date: 6 May 2005 20:45:09
Message: <427c0f95@news.povray.org>
Lathes present artifacts with pov3.7beta4 which do not happen with
pov3.6. Here is an example (from trace_wicker.pov). 'sturm' does not
change anything:


#declare BottleLathe =
lathe{
	cubic_spline
	15,
	<0.036140,0.004819>,<0.228886,0.036140>,<0.293938,0.279482>,
	<0.106010,0.599923>,<0.055415,0.850493>,<0.103601,0.951684>,
	<0.072280,0.990234>,<0.038549,0.963731>,<0.062643,0.619197>,
	<0.277073,0.257798>,<0.185518,0.038549>,<0.014456,0.060233>,
	<0.036140,0.004819>,<0.228886,0.036140>,<0.293938,0.279482>
}

#declare BigBottle = object {
 BottleLathe
 scale 50
 pigment { rgb <0,1,0> } finish {phong .9}
}

object {BigBottle}

light_source {<100,300,200>, 1}
camera {location <100,100,100> direction z*3 look_at <0,25,0>}
plane {y,0 pigment { rgb 1 }}


-- 
                                                          - Warp


Post a reply to this message

From: Chris Cason
Subject: Re: Lathe artifacts (beta4)
Date: 7 May 2005 18:39:49
Message: <427d43b5$1@news.povray.org>
Warp wrote:
>   Lathes present artifacts with pov3.7beta4 which do not happen with
> pov3.6. Here is an example (from trace_wicker.pov). 'sturm' does not
> change anything:

I see a similar issue with sphere sweeps (though in that case tolerance fixes
it). I got as far as noting it was related to our getting slightly different
floating-point values into the calculation, but didn't find out why. It's not
likely to be a compiler issue as it happens with both VC and ICL. I'm rather
puzzled by it at the moment.

-- Chris

camera {
   perspective
   location <-130,-200,120>
   up z
   right -x*4/3
   angle 35
   sky z
   look_at <30,40,5>
}

light_source{ <-300,-300,500> color 1.2 }

#local R=5;

sphere_sweep {
 b_spline
 10
 <90 , 160 , 1> , R
 <100 , 140 ,1> , R
 <80 , 120 , 1> , R
 <-20 , 120 ,1> , R
 <-40 , 70 , 1> , R
 <-50 , 30 , 1> , R
 < 0 , -20 , 1> , R
 <80 , -10 , 1> , R
 <140 , 30 , 1> , R
 <160 , 60 , 1> , R
 //tolerance 0.001
 pigment{ color rgb 1 }
}


Post a reply to this message

From: Chris Cason
Subject: Re: Lathe artifacts (beta4)
Date: 13 May 2005 00:42:35
Message: <4284303b@news.povray.org>
This is fixed, thanks.

-- Chris


Post a reply to this message

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