POV-Ray : Newsgroups : povray.unofficial.patches : name for no interpolation Server Time
8 Jul 2024 17:47:31 EDT (-0400)
  name for no interpolation (Message 21 to 30 of 43)  
<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: ABX
Subject: Re: name for no interpolation
Date: 11 Sep 2002 15:52:47
Message: <ne7vnuc47tqp5jpdqfn51nttlis14agp54@4ax.com>
On Wed, 11 Sep 2002 15:32:30 -0400, Christopher James Huff <chr### [at] maccom>
wrote:
> > > Huh? The internal functions have names, they are just defined through 
> > > the functions.inc file instead of being built-in. 
> > So what's the problem to define keywords for types this way ?
>
> Slower parsing, for one. ;-)

But I can include only necessary files so can optimize parsing time.

> Requiring an external include file.

So many languages use header files with definitions so nothing new.

> > Interesting idea. Are you reserving rights to make patch for it ? ;-)
>
> Heh, implementing it in the current POV would take a huge amount of 
> work. I'm mainly thinking of it as something to be considered for the 
> 4.0 rewrite.

chicken ;-)

> I did something similar for Sapphire: when a 
> symbol is resolved it moves to the front of the symbol table.

Any reference ? You mean http://sapphire.sourceforge.net/ ? 

ABX


Post a reply to this message

From: Nicolas Calimet
Subject: Re: name for no interpolation
Date: 12 Sep 2002 07:15:33
Message: <3D807755.4080603@free.fr>
> Or the parser could do something similar on the fly: if a token is 
> matched, move it to the front of the list. Tokens that occur more often 
> will spend more time towards the front of the list. Not as efficient, 
> but simpler and adapts to the scene...for example, a mesh file will have 
> a very different occurance distribution from other scenes, mainly having 
> "triangle" or "smooth_triangle", "{}" braces, ",", "<", and ">" 
> characters, and numbers. After the first triangle, these will be at the 
> top of the token list. I did something similar for Sapphire: when a 
> symbol is resolved it moves to the front of the symbol table.


	Do you mean that the current POV-Ray parser (which I never
really investigated) searches the full list of keywords to get the
proper token ? If so, what about hash tables as used when parsing
mesh triangles/textures ?
	Putting the last resolved symbol at the beginning of the
list assumes a high probability to find the same symbol again. I
agree this is good for such big objects as meshes (and usually
a very big scene is made of very big meshes...). But I don't think
it's better than using hash tables in general. [A perfect hash table
would be appropriate for build-in keywords which number is fixed].

	Forget all that if POV-Ray does it already  :-)


Post a reply to this message

From: ABX
Subject: Re: name for no interpolation
Date: 12 Sep 2002 07:24:17
Message: <nvt0oukgaqekbtkt6l08bmml104qg5ujk1@4ax.com>
On Tue, 10 Sep 2002 15:42:31 +0200, ABX <abx### [at] abxartpl> wrote:
> Any idea for nice name for interpolation without interpolation ?

Let's check voting. 'path_type' followed by parameter seems fine.
There are two votes for float parameter and two votes for keyword parameter.
Any help to fullfill democracy in this syntax designing ?

ABX


Post a reply to this message

From: Philippe Debar
Subject: Re: name for no interpolation
Date: 12 Sep 2002 09:10:42
Message: <3d809252@news.povray.org>
ABX wrote:
> On Tue, 10 Sep 2002 15:42:31 +0200, ABX <abx### [at] abxartpl> wrote:
> 
>>Any idea for nice name for interpolation without interpolation ?
> 
> 
> Let's check voting. 'path_type' followed by parameter seems fine.
> There are two votes for float parameter and two votes for keyword parameter.
> Any help to fullfill democracy in this syntax designing ?
> 
> ABX

float !


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: name for no interpolation
Date: 12 Sep 2002 09:25:47
Message: <3d8095db$1@news.povray.org>
> Forget all that if POV-Ray does it already  :-)

We will forget it then ;-)

    Thorsten


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: name for no interpolation
Date: 12 Sep 2002 09:26:34
Message: <3d80960a$1@news.povray.org>
> > Let's check voting. 'path_type' followed by parameter seems fine.
> > There are two votes for float parameter and two votes for keyword
parameter.
> > Any help to fullfill democracy in this syntax designing ?
> >
> > ABX
>
> float !

keyword!

    Thorsten


Post a reply to this message

From: ABX
Subject: Re: name for no interpolation
Date: 12 Sep 2002 09:30:00
Message: <tf51ouso920fksq7c8h0o92mot1iqg842h@4ax.com>
On Thu, 12 Sep 2002 15:30:10 +0200, "Thorsten Froehlich" <tho### [at] trfde>
wrote:
> keyword!
>
>    Thorsten

Are you representing general stategy of the team with this vote ? I'm just not
sure how many votes I should count ;-)

Serously if this is suggestion from the team I would like to follow it. So ?

ABX


Post a reply to this message

From: Christoph Hormann
Subject: Re: name for no interpolation
Date: 12 Sep 2002 09:31:57
Message: <3D80974E.2CA37FD8@gmx.de>
Thorsten Froehlich wrote:
> 
> > > Any help to fullfill democracy in this syntax designing ?
> >
> > float !
> 
> keyword!

float!

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 13 Aug. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From: Ken
Subject: Re: name for no interpolation
Date: 12 Sep 2002 09:40:40
Message: <3D809A52.F32748E1@pacbell.net>
Christoph Hormann wrote:
> 
> Thorsten Froehlich wrote:
> >
> > > > Any help to fullfill democracy in this syntax designing ?
> > >
> > > float !
> >
> > keyword!
> 
> float!

Keyword!

-- 
Ken Tyler


Post a reply to this message

From: Christopher James Huff
Subject: Re: name for no interpolation
Date: 12 Sep 2002 11:08:03
Message: <chrishuff-74984D.11073312092002@netplex.aussie.org>
In article <nvt0oukgaqekbtkt6l08bmml104qg5ujk1@4ax.com>,
 ABX <abx### [at] abxartpl> wrote:

> Let's check voting. 'path_type' followed by parameter seems fine.
> There are two votes for float parameter and two votes for keyword parameter.
> Any help to fullfill democracy in this syntax designing ?

Keyword.

-- 
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

<<< Previous 10 Messages Goto Latest 10 Messages Next 10 Messages >>>

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