POV-Ray : Newsgroups : povray.beta-test : Minor spline problem Server Time
30 Jul 2024 00:29:23 EDT (-0400)
  Minor spline problem (Message 1 to 4 of 4)  
From: Coridon Henshaw
Subject: Minor spline problem
Date: 10 Feb 2002 23:19:55
Message: <Xns91B1ED54D3E8csbhccse@204.213.191.226>
The second #local statement in the code below will not parse in Windows 
beta 11 even though the doucmentation says that splines will work "wherever 
you would normally put a vector."  This behavior seems to be a holdover 
from Megapov.  Assuming Pov can't be fixed, a note in the documentation 
that the Megapov spline workaround (i.e. 1*spline(etc)) must be used might 
be a good idea.

#local mTrack = spline {linear_spline 0, <0,0,0> 1, <12,0,12>}
#local P0 = mTrack(C);


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Minor spline problem
Date: 11 Feb 2002 04:37:10
Message: <3c6790c6@news.povray.org>
In article <Xns### [at] 204213191226> , che### [at] sympaticoca
(Coridon Henshaw) wrote:

> The second #local statement in the code below will not parse in Windows
> beta 11 even though the doucmentation says that splines will work "wherever
> you would normally put a vector."  This behavior seems to be a holdover
> from Megapov.  Assuming Pov can't be fixed, a note in the documentation
> that the Megapov spline workaround (i.e. 1*spline(etc)) must be used might
> be a good idea.

Works correctly and has been explained before.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Coridon Henshaw
Subject: Re: Minor spline problem
Date: 11 Feb 2002 14:33:10
Message: <Xns91B2940A2CC14CQ@204.213.191.226>
"Thorsten Froehlich" <tho### [at] trfde> wrote in
news:3c6790c6@news.povray.org: 

>> Assuming Pov can't be fixed, a note in the documentation that the
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> Megapov spline workaround (i.e. 1*spline(etc)) must be used might be a
>> good idea. 
 
> Works correctly

Then, as I said, the behavior needs to be documented as the existing 
documentation provides a misleading example and makes no mention of this 
obviously correct behavior.


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Minor spline problem
Date: 11 Feb 2002 14:45:34
Message: <3c681f5e@news.povray.org>
In article <Xns### [at] 204213191226> , che### [at] sympaticoca 
(Coridon Henshaw) wrote:

>>> Assuming Pov can't be fixed, a note in the documentation that the
>>> Megapov spline workaround (i.e. 1*spline(etc)) must be used might be a
>>> good idea.
>
>> Works correctly
>
> Then, as I said, the behavior needs to be documented as the existing
> documentation provides a misleading example and makes no mention of this
> obviously correct behavior.

BTW, a sufficient change to the scene is to place the expression into
parenthesis.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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