POV-Ray : Newsgroups : povray.beta-test : [doc] spline quick ref Server Time
29 Jul 2024 18:28:18 EDT (-0400)
  [doc] spline quick ref (Message 1 to 5 of 5)  
From:
Subject: [doc] spline quick ref
Date: 11 Mar 2002 05:51:08
Message: <9t1p8ugcrdaq3ac5cj79ni72rbn7dhtok8@4ax.com>
pov 3.5 beta 12 win

syntax:
  spline { [SPLINE_TYPE] PATH_LIST }
should be probably replaced with
  spline { [SPLINE_IDENTIFIER] [SPLINE_TYPE] [PATH_LIST] }

also in "6.1.9  Spline Identifiers" chapter should be mentioned that path_list
is optional, in particular any below combination is valid

#local MySpline=spline{natural_spline 0 x 1 y 2 z 3 0}
#local S=spline{MySpline                       }
#local S=spline{MySpline linear_spline         }
#local S=spline{MySpline linear_spline 3 x 4 y }
#local S=spline{MySpline               3 x 4 y }
#local S=spline{                       3 x 4 y }
#local S=spline{         linear_spline 3 x 4 y }

ABX


Post a reply to this message

From: ingo
Subject: Re: [doc] spline quick ref
Date: 11 Mar 2002 07:31:58
Message: <Xns91CE8A046EE8Dseed7@povray.org>

Skiba wrote: 

> should be probably replaced with
>   spline { [SPLINE_IDENTIFIER] [SPLINE_TYPE] [PATH_LIST] }

I'll have a look. 

> #local MySpline=spline{natural_spline 0 x 1 y 2 z 3 0}

Huh, still in your space saving, sig reducing mode?

Ingo


Post a reply to this message

From:
Subject: Re: [doc] spline quick ref
Date: 11 Mar 2002 07:41:22
Message: <139p8uo6hjraftqo4ir8gg9ol09k03clg4@4ax.com>
On 11 Mar 2002 07:31:58 -0500, ingo <ing### [at] homenl> wrote:
> > should be probably replaced with
> >   spline { [SPLINE_IDENTIFIER] [SPLINE_TYPE] [PATH_LIST] }
>
> I'll have a look. 

The problem with my replacement is that it looks like "spline{}" is valid but
of course it isn't. I don't know how to write it to be correct. Perhaps
something like:

spline creation:
  spline { [SPLINE_TYPE] PATH_LIST }
spline inheritence:
  spline { SPLINE_IDENTIFIER [SPLINE_TYPE] [PATH_LIST] }

> > #local MySpline=spline{natural_spline 0 x 1 y 2 z 3 0}
>
> Huh, still in your space saving, sig reducing mode?

My fingers like shortcuts.

ABX


Post a reply to this message

From: Robert Chaffe
Subject: Re: [doc] spline quick ref
Date: 11 Mar 2002 22:21:13
Message: <3c8d7429@news.povray.org>
> [snip]
>
> The problem with my replacement is that it looks like "spline{}" is valid
but
> of course it isn't. I don't know how to write it to be correct. Perhaps
> something like:
>
> spline creation:
>   spline { [SPLINE_TYPE] PATH_LIST }
> spline inheritence:
>   spline { SPLINE_IDENTIFIER [SPLINE_TYPE] [PATH_LIST] }

By "optional" for the path_list, I suppose you mean only when a spline
identifier is used?

My approach to the syntax for the Quick Reference would then be:
SPLINE:
    spline { SPLINE_ITEMS }
SPLINE_ITEMS:
    [SPLINE_TYPE]  PATH_LIST  |
    SPLINE_IDENTIFIER  [SPLINE_TYPE]  [PATH_LIST]
. . .

Robert


Post a reply to this message

From:
Subject: Re: [doc] spline quick ref
Date: 12 Mar 2002 02:10:35
Message: <ecar8u4v0jc1t8k74ackbvfcd6brikvoo4@4ax.com>
On Mon, 11 Mar 2002 21:22:11 -0600, "Robert Chaffe"
<rob### [at] earthlinknet> wrote:
> By "optional" for the path_list, I suppose you mean only when a spline
> identifier is used?

yes

> My approach to the syntax for the Quick Reference would then be...

it looks fine

ABX


Post a reply to this message

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