POV-Ray : Newsgroups : povray.newusers : brace version incompatibility ?? : brace version incompatibility ?? Server Time
4 Nov 2024 19:15:49 EST (-0500)
  brace version incompatibility ??  
From: MR
Date: 16 Oct 2001 12:59:09
Message: <3bcc675d$1@news.povray.org>
hello,

i'm just a newbie and all the braces { and } kinda confuse me.  i've
got some open source for a monitor that has a #version 1 in it.  it
runs ok by itself but when i try and use some other objects in a
scene with it, it complains about the version 1.  its nothing more
than a union, so i cut the version 1 code, and now it won't fly.  here
is the last part of the union which i believe is the problem:

box {<-140,140,-170>,<-130,395,170>}
  texture
    { pigment
      {
        image_map {tga "SCREEN.TGA"}
        rotate <0,90,0>
        scale <1,255,340>
        translate <0,140,-170>
      }
  ambient 0.3
    }

i'm getting this as an error:

monitor.inc:59:  error: No matching } in texture, ambient found instead.

i've tried messing with the braces, but i can't seem to get it
resolved.  i would appreciate it if someone could point out
my problem.  like i said, this snippet works with the #version 1
code.

thank you, miker


Post a reply to this message

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