POV-Ray : Newsgroups : povray.newusers : Coincidence serface problem Server Time
4 Sep 2024 20:17:59 EDT (-0400)
  Coincidence serface problem (Message 1 to 6 of 6)  
From: Rob Brown-Bayliss
Subject: Coincidence serface problem
Date: 15 Jul 2002 21:33:43
Message: <3d3377f7@news.povray.org>
Hi, I seem to be getting Coincidence serface 
 problem with an object and a difference.

The cylinder is leaving traces behind at the rotation of 230, but if
rotated at 270 then the traces disapear, at 210 they are there, but less
visiable.

Any pointers to whats happening?

#local drive = union
{
	difference
	{
		lathe
		{
			cubic_spline
			11 <0,0>,<4,0>,<6,1>,<7.3,4>,<7,5.7>,<6,6.3>,<7,7.2>,<5,8>,<4,7>,<4,0>,<0,0>
			texture 
			{ 
				Cowling
			}
			rotate <0,0,-90>
		}
		cylinder 
		{
			<1,0,0> <7,0,0> 4.35
			texture 
			{	 
				PropGear
			}
		}
	}
	torus
	{
		6.6,0.7
		rotate <0,0,90>
		translate <6.3,0,0>
		texture 
		{ 
			MountRings
		}
	}
}

#declare deep1 = union
{
	object {drive rotate <0,-230,0>}
}


Post a reply to this message

From: hughes b
Subject: Re: Coincidence serface problem
Date: 15 Jul 2002 22:20:06
Message: <3d3382d6$1@news.povray.org>
Try adding the keyword sturm to end of lathe and see if that helps.


Post a reply to this message

From: Rob Brown-Bayliss
Subject: Re: Coincidence serface problem
Date: 16 Jul 2002 00:25:06
Message: <3d33a022@news.povray.org>
On Tue, 16 Jul 2002 14:19:45 +1200, hughes b wrote:

> Try adding the keyword sturm to end of lathe and see if that helps.
 
Yes, it did thanks.  Any enlightenment following?


Post a reply to this message

From: Rob Brown-Bayliss
Subject: Re: Coincidence serface problem
Date: 16 Jul 2002 00:28:24
Message: <3d33a0e8@news.povray.org>
On Tue, 16 Jul 2002 14:19:45 +1200, hughes b wrote:

> Try adding the keyword sturm to end of lathe and see if that helps.
 

The docs with 3.5 say this for Sturm

lathe (only with quadratic splines)

So now I have an Idea why it works, are the docs wrong here?


Post a reply to this message

From: hughes b
Subject: Re: Coincidence serface problem
Date: 16 Jul 2002 02:07:48
Message: <3d33b834@news.povray.org>
"Rob Brown-Bayliss" <rob### [at] zoismorg> wrote in message
news:3d33a0e8@news.povray.org...
>
> The docs with 3.5 say this for Sturm
>
> lathe (only with quadratic splines)
>
> So now I have an Idea why it works, are the docs wrong here?

Oh? Hmmm. Well I only knew it wasn't applicable to the linear spline.


Post a reply to this message

From: Warp
Subject: Re: Coincidence serface problem
Date: 16 Jul 2002 09:33:02
Message: <3d34208e@news.povray.org>
Rob Brown-Bayliss <rob### [at] zoismorg> wrote:
> Yes, it did thanks.  Any enlightenment following?

  The 'sturm' keyword turns on the sturmian root solver algorithm, which is
slightly slower than the default algorithm, but gives a more accurate result.
With higher order polynomials the mathematically correct result can't be
calculated (I think that a polynomial of order 4 is the largest which has
a well-defined unique solution formula). For higher order polynomials some
approximation algorithm has to be used.
  That's about everything I know about 'sturm'.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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