POV-Ray : Newsgroups : povray.unofficial.patches : MegaPOV can't do arithmetic? Server Time
1 Nov 2024 07:28:11 EDT (-0400)
  MegaPOV can't do arithmetic? (Message 1 to 3 of 3)  
From: Alex Vandiver
Subject: MegaPOV can't do arithmetic?
Date: 28 Feb 2001 18:43:24
Message: <3A9D8CEE.32607A70@melnorme.dhs.org>
This seems rather strange, to say the least.  Under MP 0.7, any
expression involving addition, multiplication, subtraction, or division
bails out with the error message:
error: object or directive expected but * found instead.
or
error: no matching } in object, * found instead.

Some example lines which produce this error:
#declare foo = 1*2;
#declare bar = 1+2;
plane{y,0 translate y/2}
sphere{0,0 scale <1,1,1>-2}

I hope I'm not going insane, here.  This is happening under Windows as
well as PvMegaPOV under Linux.  Can anyone else confirm this bug?
-Alex Vandiver

-- 
Networking -- only one letter away from not working.


Post a reply to this message

From: Andy Cocker
Subject: Re: MegaPOV can't do arithmetic?
Date: 28 Feb 2001 20:14:20
Message: <3a9da26c@news.povray.org>
Can't reproduce your error here. Your code works fine. Win MPov 0.7

--
Andy Cocker

---------------------------------------------------------------
listen to my music at:
www.mp3.com/lunarland
---------------------------------------------------------------

'I spilled spot remover on my dog. He's gone now. '
'I went to a restaurant that serves "breakfast at any time."
So I ordered french toast during the Renaissance. '

 - Steven Wright.
---------------------------------------------------------------


Post a reply to this message

From: Alex Vandiver
Subject: Re: MegaPOV can't do arithmetic?
Date: 28 Feb 2001 20:24:27
Message: <3A9DA49E.52C0487F@melnorme.dhs.org>
Alex Vandiver wrote:
> [snip]
> I hope I'm not going insane, here.
Well, I was.  I had recently tried out the Skyvase benchmark, which uses
INI option -mv2 -- a version setting which tends to disallow arithmetic
operations.  I feel rather foolish, o'course.  Note to self -- always
check those ini options..
-Alex Vandiver

-- 
Networking -- only one letter away from not working.


Post a reply to this message

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