|
![](/i/fill.gif) |
Chuck Roberts wrote:
>
> Ok. How come I get an error "missing }" when I render this? All I want
> is to put a texture on the text. I want it to be like reflective chrome.
> Yes I included "metals.inc". I have pov 3.02.
>
> text
> {
> ttf // font type (only TrueType format for now)
> "crystal.ttf", // Microsoft Windows-format TrueType font file name
> "ACATEC", // the string to create
> .5, // the extrusion depth
> 0 // offset
> texture { P_chrome1
> finish {F_MetalC}
> }
> }
You did not capitalize the word Chrome in P_Chrome1 and you attempted to use a
color keyword as a texture definition as opposed to being used as a color in a
pigment statement. The code below works now.
text{
ttf // font type (only TrueType format for now)
"crystal.ttf", // Microsoft Windows-format TrueType font file name
"ACATEC", // the string to create
.5, // the extrusion depth
0 // offset
texture {
pigment { P_Chrome1 }
finish { F_MetalC }
}
}
--
Ken Tyler
See my 700+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|
![](/i/fill.gif) |