POV-Ray : Newsgroups : povray.programming : No matching } ??? : Re: No matching } ??? Server Time
28 Jul 2024 10:25:47 EDT (-0400)
  Re: No matching } ???  
From: Christopher James Huff
Date: 7 May 2002 12:40:40
Message: <pan.2002.05.07.11.43.54.176450.5110@mac.com>
On Tue, 07 May 2002 09:44:04 -0500, Wim Godden wrote:

> I just converted a dxf file to a pov file and when I try to run it, I
> get : error : No matching }in texture, color found instead.

Others have pointed out that this is the wrong group and the problem with
your texture code, but your triangle code probably won't work right
either. The vector statements you use are missing the commas...POV will
attempt to make sense out of them, but probably not in the way you expect.

>     triangle { <-15296.434696 -9946.807743 3759.210205> <-14578.014218
> -10665.228220 3759.210205> <-14506.172171 -10593.386172 3759.210205> }

White space doesn't mean anything to POV when evaluating an expression.
"<1 2 3>" will be read as "< 1, 2, 3>" because POV can tell they are
separate numbers, but "< 1 -2 3>" will be read as "< 1-2, 3>". You should
always use commas.


-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: <chr### [at] tagpovrayorg>
WWW: http://homepage.mac.com/chrishuff/


Post a reply to this message

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