|
|
MegaPOV .5
It appears that if you #declare a pigment, and then try to put it into
the eval_pigment block, POV-Ray will force you to quit, due to an error.
This will cause POV-Ray to have an error:
#declare Pgmnt=pigment{ granite scale 10 }
#declare VectSample = eval_pigment( Pgmnt, <0,0,0> );
But this works:
#declare Pgmnt=pigment{ granite scale 10 color_map{[0 rgb 0][1 rgb 1]}}
#declare VectSample = eval_pigment( Pgmnt, <0,0,0> );
It appears you have to add a color_map to the #declared pigment to avoid
problems. I believe this to be a problem on the Macintosh version of
MegaPOV as well, since I was having problems earlier with it, but I
didn't know what was causing the errors.
--
Samuel Benge
E-Mail: STB### [at] aolcom
Visit my isosurface tutorial at http://members.aol.com/stbenge
Post a reply to this message
|
|
|
|
I can confirm this bug. It causes a segmentation fault in this Solaris
compile of MegaPov.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|
|
|
SamuelT <STB### [at] aolcom> wrote:
> MegaPOV .5
>
> It appears that if you #declare a pigment, and then try to put it into
> the eval_pigment block, POV-Ray will force you to quit, due to an error.
Don't quite understand how it makes you quit POV-Ray (MegaPOV). Perhaps
this is true for other platforms but the mac version simply gives an
error and lets you continue to work.
> This will cause POV-Ray to have an error:
[...]
This is indeed a bug and is fixed now for the next release.
Smellenbergh
--
e-mail:sme### [at] skynetbe
http://users.skynet.be/smellenbergh
Post a reply to this message
|
|