|
|
Hello,
This simple scene render correctly, without any warning message or
error, with official povray and UVpov6.2 but with MegaPov0.2
(for windows) I have this error:
> Copyright 1999 POV-Ray Team(tm)
> This is an UNSUPPORTED UNOFFICIAL COMPILE by Nathan Kopp (email: Nat### [at] Koppcom).
> Parsing Options
> Input file: C:\AAAAPhys\Untitled.pov (compatible to version 3.14159)
> Remove bounds........On Split unions........Off
> Library paths: C:\Utilitaires\POVRay\INCLUDE
> Output Options
> Image resolution 640 by 480 (rows 1 to 480, columns 1 to 640).
> Output file: Untitled.bmp, 24 bpp (system format)
> Graphic display......On (type: 0, palette: 3, gamma: 2.2)
> Mosaic preview......Off
> Continued trace.....Off Allow interruption..Off Pause when done.....Off
> Verbose messages.....On
> Tracing Options
> Quality: 9
> Bounding boxes.......On Bounding threshold: 3
> Light Buffer.........On Vista Buffer.........On Draw Vista Buffer...Off
> Antialiasing.........On (Method 1, Threshold 0.300, Depth 3, Jitter 1.00)
> Radiosity...........Off
> Animation Options
> Clock value.... 0.000 (Animation off)
> Redirecting Options
> All Streams to console..........On
> Debug Stream to console.........On
> Fatal Stream to console.........On
> Render Stream to console........On
> Statistics Stream to console....On
> Warning Stream to console.......On
> #declare pig=yes;
> #if (pig)
> pigment { bozo color_map{
> // s is delta for the contour lines
> #declare s <----ERROR
>
> C:\AAAAPhys\Untitled.pov:9: error: undeclared identifier expected but s found
instead.
>
>
> Returned from renderer (non-zero return value)
>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Here is the code:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
plane{
z,0
texture
{
#declare pig=yes;
#if (pig)
pigment { bozo color_map{
// s is delta for the contour lines
#declare s=.05;
#declare a=0;
#while(a<=1)
[a rgb 1]
[a+s/4 rgb 1]
[a+s/4 rgb .5]
[a+s/4*2 rgb .5]
[a+s/4*2 rgb 1]
#declare a=a+s;
#end
}
scale 1}
finish { specular 1 }
#else
pigment { color rgb 1 }
finish { specular 1 }
#end
normal { bozo 0.5*5
slope_map{[0 <0,0>][1 <1,0>]}
scale 1 }
}
}
light_source { <500,0,-100> color rgb 1 }
// light_source { <0,500,-100> color rgb 1 }
camera
{
location <0.0 , 0.0 ,-2.25>*2
up y
right x
look_at <0.0 , 0.0 , 0.0>
orthographic
}
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
If a replace s by ss all is ok!
Fabian.
Post a reply to this message
|
|