POV-Ray : Newsgroups : povray.programming : No matching } ??? Server Time
23 Dec 2024 21:53:46 EST (-0500)
  No matching } ??? (Message 1 to 7 of 7)  
From: Wim Godden
Subject: No matching } ???
Date: 7 May 2002 09:44:10
Message: <3CD7DA24.3FEF4F17@godden.net>
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.


and the cursor moves to the word color below. Any suggestions ?


  object {
    triangle { <-15296.434696 -9946.807743 3759.210205> <-14578.014218
-10665.228220 3759.210205> <-14506.172171 -10593.386172 3759.210205> }
    texture { Dull
      color red 0.603175 green 0.523810 blue 0.301587
    }
  }


Post a reply to this message

From: Christoph Hormann
Subject: Re: No matching } ???
Date: 7 May 2002 09:51:47
Message: <3CD7DBF4.B72F1583@gmx.de>
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.
> 
> and the cursor moves to the word color below. Any suggestions ?
> 
>   object {
>     triangle { <-15296.434696 -9946.807743 3759.210205> <-14578.014218
> -10665.228220 3759.210205> <-14506.172171 -10593.386172 3759.210205> }
>     texture { Dull
>       color red 0.603175 green 0.523810 blue 0.301587
>     }
>   }

First of all this is the wrong group for such questions, better ask in
povray.general or povray.new-users.

Then your texture does not make sense.  Either write

texture {
  pigment { color red 0.603175 green 0.523810 blue 0.301587 }
}

or

texture {
  Dull
}

if you previously declared a texture named 'Dull'.

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 05 May. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

From:
Subject: Re: No matching } ???
Date: 7 May 2002 09:55:45
Message: <sqmfdu4b25srfgd30unklbcd5ts8km0i43@4ax.com>
On Tue, 07 May 2002 15:44:04 +0200, Wim Godden <wim### [at] goddennet> wrote:
> and the cursor moves to the word color below. Any suggestions ?

you can't use texture identifier and change color of pigment in the same time

texture specification is listed in:
http://www.povray.org/working-docs/id000376.html#10_1_10
and is explained in:
http://www.povray.org/working-docs/id000185.html#6_7

btw, groups destination is described shortly in:
http://news.povray.org/
and explained more in:
http://news.povray.org/38695C99.6B2DCA1A%40pacbell.net

ABX


Post a reply to this message

From: Christopher James Huff
Subject: Re: No matching } ???
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

From: Ken
Subject: Re: No matching } ???
Date: 7 May 2002 23:36:44
Message: <3CD89DBB.B468C61@pacbell.net>
Christopher James Huff wrote:

> 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.

It is easy to see that none of you who have answered this thread have
ever worked with POV-Ray v1.0 files before. :)

-- 
Ken Tyler


Post a reply to this message

From: Wim Godden
Subject: Re: No matching } ???
Date: 8 May 2002 06:32:41
Message: <3CD8FEDC.CBBEAEF3@godden.net>
Ken wrote:

> It is easy to see that none of you who have answered this thread have
> ever worked with POV-Ray v1.0 files before. :)

So that's the problem ?

I used one of those conversion utils to convert the file to POV... probably the
new Povray doesn't understand those old files anymore...

Greetings,

Wim


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: No matching } ???
Date: 8 May 2002 17:28:37
Message: <3cd99885@news.povray.org>
In article <3CD8FEDC.CBBEAEF3@godden.net> , Wim Godden <wim### [at] goddennet>  
wrote:

> I used one of those conversion utils to convert the file to POV... probably
> the new Povray doesn't understand those old files anymore...

I have not checked your particular problem, but did you try the version
switch?

    Thorsten

____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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