|
![](/i/fill.gif) |
Why is it that the following code works fine in Superpatch, but
generates an error (cannot load function (Pig1)) in Megapov (version
0.1)?
///////////////////////////////////
#include "colors.inc"
camera{
location <0,2,-15>
look_at <0,2,0>
}
light_source{
<40,30,-25>
rgb 1
}
plane {y,-10
pigment {
checker
pigment {Wheat}
pigment {rgb<0.46,0.42,0.4>}
scale 18
}
rotate 45*y
hollow
}
#declare Pig1=
function{
pigment{
bozo
color_map{[0 rgb 1][1 rgb 0]}
scale .3
}
}
isosurface {
function {(x^2+z^2)/8 +(Pig1( (x/4) , (y/6) , (z/4) )*0.5)}
bounded_by {sphere {0,8}}
sign 1
threshold 1
max_gradient 15
scale <1,3,1>
pigment {Goldenrod}
}
/////////////////////////////////////////////
--
Keeper of the family pets.
"You want fish? I got fish. I got fish, and eels, and turtles, and
snails, and frogs, and dragons and cats..."
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
In article <385EA54D.29FF3D14@gci.net>, David Heys <sou### [at] gci net>
wrote:
> Why is it that the following code works fine in Superpatch, but
> generates an error (cannot load function (Pig1)) in Megapov (version
> 0.1)?
There were several bugs in version 0.1, I think this was one of them.
Pigment functions work fine in the version I have(MacMegaPOV 0.2), you
might want to download the newest version.
--
Chris Huff
e-mail: chr### [at] yahoo com
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
Chris Huff wrote:
> There were several bugs in version 0.1, I think this was one of them.
> Pigment functions work fine in the version I have(MacMegaPOV 0.2), you
> might want to download the newest version.
irk and sigh.. Bleh. I knew there was a step I was missing in my debugging
effort. I should have gone back looking for an updated version. :{)
I'm still playing catchup with newsgroup postings and email from my
vacation. :{P
David
--
Keeper of the family pets.
"You want fish? I got fish. I got fish, and eels, and turtles, and snails,
and frogs, and dragons and cats..."
Post a reply to this message
|
![](/i/fill.gif) |