POV-Ray : Newsgroups : povray.general : spline problem Server Time
20 Nov 2024 12:45:37 EST (-0500)
  spline problem (Message 1 to 4 of 4)  
From: Tom Melly
Subject: spline problem
Date: 11 Sep 2001 04:59:11
Message: <3b9dd25f$1@news.povray.org>
The following scene gives me what looks like a coincident-surface problem when
using quadratic_spline. It's okay with other spline types. Problem apparent in
3.1, 3.5 and megapov. Tested under 95 and 2000.

Am I doing something stupid?

#version 3.5;

global_settings {
  assumed_gamma 1.0
  max_trace_level 15
}

camera {
  location  <0.0, 2, -5.0>
  look_at   <0.0, 2,  0.0>
}

light_source {
  <-30, 30, -30>
  color rgb <1, 1, 1>
}

lathe {
  quadratic_spline
  9
  <0.00, -0.5>,
  <0.40, 0.00>,
  <0.55, 0.10>,
  <0.55, 1.00>,
  <0.55, 1.85>,
  <0.35, 2.15>,
  <0.25, 2.40>,
  <0.25, 2.65>,
  <0.25, 3.00>
  pigment{rgb <1,1,0>}
}


--
#macro G(D,E,F)#local I=array[3]{D,E,F}#local B=0;triangle{#while(
B<3)#while(I[B])A[mod(I[B],10)]+#local I[B]=div(I[B],10);#end<-5,-
2,9>#local B=B+1;#end}#end #local A=array[7]{x,x*2,x*4,y,y*2,y*4,z
}light_source{-x*6-z*9,1}mesh{G(105,10,146)G(105,246,10)G(105,56,
146)G(105,1256,246)G(1256,126,220)G(22156,2216,201)pigment{rgb 1}}//TM


Post a reply to this message

From: Mr  Art
Subject: Re: spline problem
Date: 11 Sep 2001 06:31:31
Message: <3B9E2075.CC733ACE@chesapeake.net>
Just in checking, I tried the orthographic option on that scene.
It looks very much worse that way, like someone put it in a band saw.


Tom Melly wrote:
> 
> The following scene gives me what looks like a coincident-surface problem when
> using quadratic_spline. It's okay with other spline types. Problem apparent in
> 3.1, 3.5 and megapov. Tested under 95 and 2000.
> 
> Am I doing something stupid?
>


Post a reply to this message

From: Mr  Art
Subject: Re: spline problem
Date: 11 Sep 2001 06:37:39
Message: <3B9E21E5.48526E26@chesapeake.net>
The keyword "sturm" clears your problem.

"Mr. Art" wrote:
> 
> Just in checking, I tried the orthographic option on that scene.
> It looks very much worse that way, like someone put it in a band saw.
> 
> Tom Melly wrote:
> >
> > The following scene gives me what looks like a coincident-surface problem when
> > using quadratic_spline. It's okay with other spline types. Problem apparent in
> > 3.1, 3.5 and megapov. Tested under 95 and 2000.
> >
> > Am I doing something stupid?
> >


Post a reply to this message

From: Tom Melly
Subject: Re: spline problem
Date: 11 Sep 2001 06:46:42
Message: <3b9deb92$1@news.povray.org>
"Mr. Art" <mra### [at] chesapeakenet> wrote in message
news:3B9E21E5.48526E26@chesapeake.net...
> The keyword "sturm" clears your problem.
>

Nope, I'm still underpaid and not getting enough sleep ;)

Many thanks...


Post a reply to this message

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