|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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}
}
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Thu, 19 Aug 1999 14:29:15 -0400, 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.
Two reasons:
1) You've misspelled P_Chrome1. The C should be uppercase.
2) P_Chrome1 needs to be inside a pigment{} block.
Here's the corrected texture statement:
texture {
pigment {P_Chrome1}
finish {F_MetalC}
}
This probably isn't the best group to get answers to this sort of
questions in. You might want to hang out in povray.newusers for a
while, where questions like this are common and are more likely to
be answered quickly.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thank you all. It worked. I'm just getting started with POV, if you
couldn't tell.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Thu, 19 Aug 1999 15:23:33 -0400, Chuck Roberts <rob### [at] accnorg> wrote:
>I'm just getting started with POV, if you couldn't tell.
Hi, Chuck. Keep at it - don't become discouraged. There's a bit of a
learning curve but soon the basics of scene writing will become second
nature.
As far as posting in the groups here, Ron's advice for you to hang out for
a bit in povray.newusers is sound. Your question about text objects and
textures is a general one that applies to all versions of POV-Ray on all
platforms. Platform-specific questions or comments about POV-Ray for Windows
goes in this group.
--
Alan
--------------------------------------------------------------------
http://www.povray.org - Home of the Persistence of Vision Ray Tracer
news.povray.org - where POV-Ray enthusiasts around the world can get
together to exchange ideas, information, and experiences with others
--------------------------------------------------------------------
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Chuck Roberts wrote in message <37BC59B5.7DC3D50B@accn.org>...
>Thank you all. It worked. I'm just getting started with POV, if you
>couldn't tell.
Don't worry about making small mistakes like that. For comparison, my first
C program was 54 lines of program, and had 129 errors!
Mark
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |