|
|
The following scene bombs out with an error message:
#version unofficial MegaPov 0.4
#include "colors.inc"
isosurface{
// function {pow(x,2)} also bombs out
// function {sin(x)} does not bomb out.
function {mod(x,2)}
threshold 10
accuracy 0.01
contained_by
{sphere {0, 160}}
pigment {Green}
}
camera
{
location <0, 5, -300>
look_at <0, 5, 0.0>
}
light_source {<12, 3, -51.8056> color White}
light_source {<0, 2251.8056, 0> color White}
Post a reply to this message
|
|
|
|
"Greg M. Johnson" wrote:
> The following scene bombs out with an error message:
>
> #version unofficial MegaPov 0.4
> #include "colors.inc"
> isosurface{
> // function {pow(x,2)} also bombs out
> // function {sin(x)} does not bomb out.
> function {mod(x,2)}
This is due to the fact that the functions supported in the former
isosurface patch were different from the ones in the official version
and it's still partly the case in Megapov. The list of functions
supported by function{} can be found in the Megapov doc, and at least
pow can be expressed by ^.
G.
Post a reply to this message
|
|
|
|
In article <390734EC.48958850@inapg.inra.fr>, Gilles Tran
<tra### [at] inapginrafr> wrote:
> This is due to the fact that the functions supported in the former
> isosurface patch were different from the ones in the official version
> and it's still partly the case in Megapov. The list of functions
> supported by function{} can be found in the Megapov doc, and at least
> pow can be expressed by ^.
Another (apparently undocumented) feature in MegaPOV is the ability to
use the ^ operator outside isosurface functions.
--
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/
Post a reply to this message
|
|