POV-Ray : Newsgroups : povray.unofficial.patches : PVMegaPov Server Time
1 Nov 2024 01:26:01 EDT (-0400)
  PVMegaPov (Message 1 to 5 of 5)  
From: sabin iacob
Subject: PVMegaPov
Date: 19 Mar 2002 17:36:25
Message: <3C97C16D.5040400@atom.hp>
I have compiled pmp recently and i have some problems:
The first one: it works fine for simple scenes, but when i try to use 
something more advanced, like #define (or its shortened version, $) i'm 
in trouble: i can't modify the #define'd variables (it says "undeclared 
identifier expected, but r found" - my variable was r here).
    Another problem: wherever I use arithmetics in translation/rotation 
I get an error message : "no matching } in object(or anything else), 
*(or / or - or +) found instead".
   My toys are: 8 x i686(Celeron), RedHat7.2 and pvm 3.4.3.
Thank you in advance.


Post a reply to this message

From: Warp
Subject: Re: PVMegaPov
Date: 19 Mar 2002 19:41:03
Message: <3c97da9e@news.povray.org>
sabin iacob <iac### [at] atomhp> wrote:
>     I have compiled pmp recently and i have some problems:
> The first one: it works fine for simple scenes, but when i try to use 
> something more advanced, like #define (or its shortened version, $) i'm 
> in trouble: i can't modify the #define'd variables (it says "undeclared 
> identifier expected, but r found" - my variable was r here).

  AGAIK 'r' is a reserved keyword in megapov. You can't use it as a variable
name.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Dave Dunn
Subject: Re: PVMegaPov
Date: 20 Mar 2002 12:17:36
Message: <3C98C3F7.A5341E67@aol.com>
sabin iacob wrote:
>>(it says "undeclared identifier expected, but r found" - my variable was
r here).

It's always a good idea to begin your variable names with a capital letter.
That way, you will never have an accidental conflict with a reserved
keyword.


Post a reply to this message

From: Micha Riser
Subject: Re: PVMegaPov
Date: 20 Mar 2002 12:27:44
Message: <3c98c68f@news.povray.org>
sabin iacob wrote:

>     Another problem: wherever I use arithmetics in translation/rotation
> I get an error message : "no matching } in object(or anything else),
> *(or / or - or +) found instead".

Can you provide an example scene file for this?


Post a reply to this message

From: sabin iacob
Subject: Re: PVMegaPov
Date: 21 Mar 2002 07:34:34
Message: <3C99D74E.6070408@atom.hp>
Thanks, it worked. As with the arithmetic operations, i have forgotten 
to update the rendering script, so there was an +mv3.1 lying there and 
messing up things.


Post a reply to this message

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