POV-Ray : Newsgroups : povray.general : Povray trivia Server Time
16 Oct 2026 04:12:10 EDT (-0400)
  Povray trivia (Message 1 to 18 of 18)  
From: Warp
Subject: Povray trivia
Date: 6 Nov 2000 14:23:21
Message: <3a070528@news.povray.org>
For the first time in my life I got this error from povray:

error: numeric expression expected but . (period) found instead.

  Trivia: Can you guess what causes this (ie. can you generate this error
from povray)?

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Ken
Subject: Re: Povray trivia
Date: 6 Nov 2000 14:30:45
Message: <3A07073A.E0AFE4DB@pacbell.net>
Warp wrote:
> 
>   For the first time in my life I got this error from povray:
> 
> error: numeric expression expected but . (period) found instead.
> 
>   Trivia: Can you guess what causes this (ie. can you generate this error
> from povray)?

Give me something hard next time...

sphere{0,1 translate .}

:)

-- 
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Christoph Hormann
Subject: Re: Povray trivia
Date: 6 Nov 2000 14:34:29
Message: <3A0707C5.B3E9AA22@schunter.etc.tu-bs.de>
Warp wrote:
> 
>   For the first time in my life I got this error from povray:
> 
> error: numeric expression expected but . (period) found instead.
> 
>   Trivia: Can you guess what causes this (ie. can you generate this error
> from povray)?
> 

'rotate .' for example (i think every time a pure . is used)

It usually does not occur to me, because i usually use leading zeros.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Warp
Subject: Re: Povray trivia
Date: 6 Nov 2000 15:06:43
Message: <3a070f53@news.povray.org>
It happened to me when I wrote a number in the form "..2" by mistake.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Warp
Subject: Re: Povray trivia
Date: 6 Nov 2000 15:19:56
Message: <3a07126c@news.povray.org>
Ken <tyl### [at] pacbellnet> wrote:
: Give me something hard next time...

  Ok. Try to get this:

error: 2D-Vector expected but something bigger found.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: Bill DeWitt
Subject: Re: Povray trivia
Date: 6 Nov 2000 17:39:14
Message: <3a073312@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3a07126c@news.povray.org...
> Ken <tyl### [at] pacbellnet> wrote:
> : Give me something hard next time...
>
>   Ok. Try to get this:
>
> error: 2D-Vector expected but something bigger found.

    Haven't tried it but something like

lathe {
              linear_spline
              5,
            <2, 0>, <3, 0>, <3, 5>, something bigger, <2, 0>
         }


Post a reply to this message

From: David Fontaine
Subject: Re: Povray trivia
Date: 6 Nov 2000 23:43:47
Message: <3A078831.7AA9844A@faricy.net>
Warp wrote:

>   It happened to me when I wrote a number in the form "..2" by mistake.

I do stuff like that. A little too much. ;)

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

From: Mark Wagner
Subject: Re: Povray trivia
Date: 7 Nov 2000 00:55:35
Message: <3a079957$1@news.povray.org>
Warp wrote in message <3a07126c@news.povray.org>...
>Ken <tyl### [at] pacbellnet> wrote:
>: Give me something hard next time...
>
>  Ok. Try to get this:
>
>error: 2D-Vector expected but something bigger found.


A quick search through the source code reveals that it requires an
unofficial version of POV-Ray.  Searching through the source code for
SuperPatch 3.1g indicates that it is probably a feature of MegaPOV.

--
Mark


Post a reply to this message

From: Richard Dault
Subject: Re: Povray trivia
Date: 7 Nov 2000 14:14:43
Message: <3a0854a3$1@news.povray.org>
LOL

Great, now I have to clean my lunch off of my monitor.  :)

Richard.

"Bill DeWitt" <the### [at] earthlinknet> wrote in message
news:3a073312@news.povray.org...
>     Haven't tried it but something like
>
> lathe {
>               linear_spline
>               5,
>             <2, 0>, <3, 0>, <3, 5>, something bigger, <2, 0>
>          }
>
>


Post a reply to this message

From: Warp
Subject: Re: Povray trivia
Date: 8 Nov 2000 04:13:25
Message: <3a091935@news.povray.org>
Bill DeWitt <the### [at] earthlinknet> wrote:
:     Haven't tried it but something like

: lathe {
:               linear_spline
:               5,
:             <2, 0>, <3, 0>, <3, 5>, something bigger, <2, 0>
:          }

  Nope. This produces:

error: numeric expression expected but undeclared identifier 'something' found
instead.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

From: David Fontaine
Subject: Re: Povray trivia
Date: 8 Nov 2000 23:51:53
Message: <3A0A2D1A.423D546E@faricy.net>
Warp wrote:

> :     Haven't tried it but something like
>
> : lathe {
> :               linear_spline
> :               5,
> :             <2, 0>, <3, 0>, <3, 5>, something bigger, <2, 0>
> :          }
>
>   Nope. This produces:
>
> error: numeric expression expected but undeclared identifier 'something' found
instead.

YKYBRTTL if you can quote the error message exactly without running the code. :-)

--
David Fontaine  <dav### [at] faricynet>  ICQ 55354965
My raytracing gallery:  http://davidf.faricy.net/


Post a reply to this message

From: David Wilkinson
Subject: Re: Povray trivia
Date: 9 Nov 2000 18:54:10
Message: <u8em0tc1qbr232m66uov851imej24ggm90@4ax.com>
On 6 Nov 2000 14:23:21 -0500, Warp <war### [at] tagpovrayorg> wrote:

>  For the first time in my life I got this error from povray:
>
>error: numeric expression expected but . (period) found instead.
>
>  Trivia: Can you guess what causes this (ie. can you generate this error
>from povray)?

One I liked was;

too large function.  parser got bored
----------------------
dav### [at] hamiltonitecom
http://hamiltonite.com/


Post a reply to this message

From: Mark Wagner
Subject: Re: Povray trivia
Date: 10 Nov 2000 01:39:40
Message: <3a0b982c@news.povray.org>
David Wilkinson wrote in message ...
>On 6 Nov 2000 14:23:21 -0500, Warp <war### [at] tagpovrayorg> wrote:
>
>>  Trivia: Can you guess what causes this (ie. can you generate this error
>>from povray)?
>
>One I liked was;
>
>too large function.  parser got bored


This one's from the isosurface function parser, and occurs when an
isosurface function contains more than (I think) 200 tokens.

--
Mark


Post a reply to this message

From: Gail Shaw
Subject: Re: Povray trivia
Date: 10 Nov 2000 03:56:28
Message: <3a0bb83c@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote in message news:3a07126c@news.povray.org...
> Ken <tyl### [at] pacbellnet> wrote:
> : Give me something hard next time...
>
>   Ok. Try to get this:
>
> error: 2D-Vector expected but something bigger found.
>

A quick hunt through the megapov source code and a little experimentation
reveals that the following produces your error

#init_spline {"My_Spline",<0,1,0>,<1,-3>,<2,2>,<3,0>}

Gail
********************************************************************
* gsh### [at] monotixcoza              * System.dat not found.         *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k  *
********************************************************************
* If at first you don't succeed, call it version 1.0               *
********************************************************************


Post a reply to this message

From: Francois Labreque
Subject: Re: Povray trivia
Date: 10 Nov 2000 08:47:06
Message: <3A0BFAAD.1332429E@attglobal.net>
Gail Shaw wrote:
> 
> Warp <war### [at] tagpovrayorg> wrote in message news:3a07126c@news.povray.org...
> > Ken <tyl### [at] pacbellnet> wrote:
> > : Give me something hard next time...
> >
> >   Ok. Try to get this:
> >
> > error: 2D-Vector expected but something bigger found.
> >
> 
> A quick hunt through the megapov source code 

That's cheating!  You should be experimenting until you get the error,
not look at the source code.

-- 
Francois Labreque | My workload has become so bad that I
     flabreq      | don't have an in-basket anymore, it's
        @         | an in-filing-cabinet
  attglobal.net                       - a coworker


Post a reply to this message

From: Gail Shaw
Subject: Re: Povray trivia
Date: 10 Nov 2000 08:53:05
Message: <3a0bfdc1@news.povray.org>
Francois Labreque <fla### [at] attglobalnet> wrote in message
news:3A0BFAAD.1332429E@attglobal.net...
>
>
> Gail Shaw wrote:
> >
> > A quick hunt through the megapov source code
>
> That's cheating!  You should be experimenting until you get the error,
> not look at the source code.
>

All the source code revealed was that the error had something
to do with splines.

and I'm just using resources at my disposal <grin>

Gail
--
********************************************************************
* gsh### [at] monotixcoza              * System.dat not found.         *
* http://www.rucus.ru.ac.za/~gail/ * Reformat hard drive Y)es O)k  *
********************************************************************
* If at first you don't succeed, call it version 1.0               *
********************************************************************


Post a reply to this message

From: Christoph Hormann
Subject: Re: Povray trivia
Date: 10 Nov 2000 09:42:22
Message: <3A0C094F.11BF33C@schunter.etc.tu-bs.de>
Gail Shaw wrote:
> 
> All the source code revealed was that the error had something
> to do with splines.

That's about as far as i proceeded, but i gave up, because i'm not very
experienced with splines :-)

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
Homepage: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: David Wilkinson
Subject: Re: Povray trivia
Date: 10 Nov 2000 16:44:21
Message: <o1ro0toiglmmt74i2jfpss9vas674bjiae@4ax.com>
On Fri, 10 Nov 2000 01:39:48 -0500, "Mark Wagner" <mar### [at] gtenet> wrote:

>David Wilkinson wrote in message ...
>>On 6 Nov 2000 14:23:21 -0500, Warp <war### [at] tagpovrayorg> wrote:
>>
>>>  Trivia: Can you guess what causes this (ie. can you generate this error
>>>from povray)?
>>
>>One I liked was;
>>
>>too large function.  parser got bored
>
>
>This one's from the isosurface function parser, and occurs when an
>isosurface function contains more than (I think) 200 tokens.

Yes, I know, I got it with big function :-)
----------------------
dav### [at] hamiltonitecom
http://hamiltonite.com/


Post a reply to this message

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