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