POV-Ray : Newsgroups : povray.unofficial.patches : Error Using MegaPOV Server Time
2 Sep 2024 16:18:16 EDT (-0400)
  Error Using MegaPOV (Message 1 to 3 of 3)  
From: David Heys
Subject: Error Using MegaPOV
Date: 20 Dec 1999 16:59:37
Message: <385EA54D.29FF3D14@gci.net>
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

From: Chris Huff
Subject: Re: Error Using MegaPOV
Date: 20 Dec 1999 17:02:29
Message: <chrishuff_99-E58F98.17030920121999@news.povray.org>
In article <385EA54D.29FF3D14@gci.net>, David Heys <sou### [at] gcinet> 
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] yahoocom
Web page: http://chrishuff.dhs.org/


Post a reply to this message

From: David Heys
Subject: Re: Error Using MegaPOV
Date: 20 Dec 1999 17:08:51
Message: <385EA775.41A1EEED@gci.net>
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

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