|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
hello,
as I tried out wood textures I got following error:
>>>>>>>>>>
<snipped>povray-3.6/include/woodmaps.inc Line: 470
File Context (5 lines):
#declare M_Wood19B =
color_map {
[0.00 0.30 color rgb <0.35, 0.175, 0.0875>
color rgb <1.00, 0.500, 0.2500> ]
[0.30 1.00 color Clear
Parse Error: Expected 'color', undeclared identifier 'Clear' found instead
<<<<<<<<<<
my includes were:
1 #include "textures.inc"
2 #include "woods.inc"
3 #include "colors.inc"
Did i something wrong?
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
marabou nous apporta ses lumieres en ce 08/11/2006 18:31:
> hello,
> as I tried out wood textures I got following error:
> <snipped>povray-3.6/include/woodmaps.inc Line: 470
> File Context (5 lines):
> #declare M_Wood19B =
> color_map {
> [0.00 0.30 color rgb <0.35, 0.175, 0.0875>
> color rgb <1.00, 0.500, 0.2500> ]
> [0.30 1.00 color Clear
> Parse Error: Expected 'color', undeclared identifier 'Clear' found instead
> <<<<<<<<<<
> my includes were:
> 1 #include "textures.inc"
> 2 #include "woods.inc"
> 3 #include "colors.inc"
> Did i something wrong?
Clear is rgbf 1 and is defined in colors.inc, so you should be OK.
Check if you din't undeclare it by mistake.
Check if you actualy include colors.inc before you use it.
--
Alain
-------------------------------------------------
My toes were playing the piano under the blankets.
They made so much noise that I woke up singing.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Looks to me like you need to include colors.inc *before* woods.inc, maybe?
I don't use those headers so I'm not sure if they have interdependencies
like that.
--
Tek
http://evilsuperbrain.com
"marabou" <not### [at] availableyet> wrote in message
news:pan### [at] availableyet...
> hello,
> as I tried out wood textures I got following error:
>>>>>>>>>>>
> <snipped>povray-3.6/include/woodmaps.inc Line: 470
> File Context (5 lines):
> #declare M_Wood19B =
> color_map {
> [0.00 0.30 color rgb <0.35, 0.175, 0.0875>
> color rgb <1.00, 0.500, 0.2500> ]
> [0.30 1.00 color Clear
> Parse Error: Expected 'color', undeclared identifier 'Clear' found instead
> <<<<<<<<<<
> my includes were:
> 1 #include "textures.inc"
> 2 #include "woods.inc"
> 3 #include "colors.inc"
>
> Did i something wrong?
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Thu, 09 Nov 2006 04:43:41 +0000 Tek wrote:
> Looks to me like you need to include colors.inc *before* woods.inc, maybe?
> I don't use those headers so I'm not sure if they have interdependencies
> like that.
Indeed, you have to do it.
Thanks Alain, thanks Tek.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|