POV-Ray : Newsgroups : povray.unofficial.patches : Bug found in eval_pigment - MegaPOV .5 : Bug found in eval_pigment - MegaPOV .5 Server Time
2 Sep 2024 02:14:34 EDT (-0400)
  Bug found in eval_pigment - MegaPOV .5  
From: SamuelT
Date: 9 Jun 2000 19:37:06
Message: <39418042.C591A24F@aol.com>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.