POV-Ray : Newsgroups : povray.unofficial.patches : name for no interpolation : Re: name for no interpolation Server Time
8 Jul 2024 17:37:59 EDT (-0400)
  Re: name for no interpolation  
From: Christopher James Huff
Date: 11 Sep 2002 09:30:44
Message: <chrishuff-9FE659.09301911092002@netplex.aussie.org>
In article <7e1unus8h9amgktm4ktrh7b1g77bgmevnb@4ax.com>,
 ABX <abx### [at] abxartpl> wrote:

> Yes, 'path' sounds nice. So one vote for 'connection' and one for 'path'. Any
> other vote? My heart is now for 'path_type FLOAT' becouse it is made with
> short words and I don't like that I have to reserve new token for every new
> type of interpolation. There are also subtypes for interpolations when I can't
> choose nice names. For example there are two toroidal connection types: one by
> Ron Parker and one by Slime (IIRC). Making type float is better IMO. What do
> you think?

I find keywords much easier to read and write than numbers, I feel that 
you should only use a number for a numeric value. And I really hope you 
meant "path_type INT". (there's no difference as far as POV is 
concerned, but for documentation you would want to say it is an integer 
value)

I would do something like:
type multisphere
type catmull_rom
type cubic
type linear
...

"type" already exists, and spline names can be used for all splines 
instead of just in the sphere_sweep shape, so you aren't adding a huge 
number of one-use keywords.

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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