|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Fabian Brau wrote:
>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:
>....
>....
>If a replace s by ss all is ok!
"s" is a new keyword for the isosurface objects (8.4.2.12 in multipat.htm).
It seems to say nowhere what the use of "s" is.
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
ingo wrote:
>Fabian Brau wrote:
>>If a replace s by ss all is ok!
>
>"s" is a new keyword for the isosurface objects (8.4.2.12 in multipat.htm).
>It seems to say nowhere what the use of "s" is.
// <r, s, t> -- coordinates in isoblob space
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Fabian Brau <fab### [at] umhacbe> wrote:
> 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:
>> > 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. >
>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>! If a replace s by ss all is ok!
>
> Fabian.
OK, I know your problem has been solved.
This kind of problem is sure to become a FAQ (maybe it should be added
to that group?). So it is time to ask all POV-users to keep in mind what
follows and spread the word.
Reserved keywords for POV will always use only small letters!
Please make it a habit of using at least one Capital letter in declared
identifiers or variables. This way you will never run into conflict with
the currently reserved keywords or the ones that might be added in the
future.
I have seen too many macros using variables without a capital
letter in the identifier causing problems with keywords of new patches.
So, please, when you are writing scenes or macros, keep this in mind.
Smellenbergh
-- e-mail:sme### [at] skynetbe
http://users.skynet.be/smellenbergh
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
That's what I was going to say, only I don't have as much information on the
subject. I had this problem before, and fixed it by simply capitalizing my
#declared word.
smellenbergh wrote:
> Fabian Brau <fab### [at] umhacbe> wrote:
>
> > 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:
>
> >> > 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. >
> >!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> >! If a replace s by ss all is ok!
> >
> > Fabian.
>
> OK, I know your problem has been solved.
>
> This kind of problem is sure to become a FAQ (maybe it should be added
> to that group?). So it is time to ask all POV-users to keep in mind what
> follows and spread the word.
>
> Reserved keywords for POV will always use only small letters!
> Please make it a habit of using at least one Capital letter in declared
> identifiers or variables. This way you will never run into conflict with
> the currently reserved keywords or the ones that might be added in the
> future.
> I have seen too many macros using variables without a capital
> letter in the identifier causing problems with keywords of new patches.
>
> So, please, when you are writing scenes or macros, keep this in mind.
>
> Smellenbergh
>
> -- e-mail:sme### [at] skynetbe
>
> http://users.skynet.be/smellenbergh
--
Samuel Benge
E-Mail: STB### [at] aolcom
Visit the still unfinished isosurface tutorial: http://members.aol.com/stbenge
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Thank you!!
I didn't know this about small letter for keyword!
But I just want to add that this code was made by Nathan
to show bozo problem ;).
Fabian
smellenbergh wrote:
>
> Fabian Brau <fab### [at] umhacbe> wrote:
>
> > 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:
>
> >> > 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. >
> >!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> >! If a replace s by ss all is ok!
> >
> > Fabian.
>
> OK, I know your problem has been solved.
>
> This kind of problem is sure to become a FAQ (maybe it should be added
> to that group?). So it is time to ask all POV-users to keep in mind what
> follows and spread the word.
>
> Reserved keywords for POV will always use only small letters!
> Please make it a habit of using at least one Capital letter in declared
> identifiers or variables. This way you will never run into conflict with
> the currently reserved keywords or the ones that might be added in the
> future.
> I have seen too many macros using variables without a capital
> letter in the identifier causing problems with keywords of new patches.
>
> So, please, when you are writing scenes or macros, keep this in mind.
>
> Smellenbergh
>
> -- e-mail:sme### [at] skynetbe
>
> http://users.skynet.be/smellenbergh
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|