POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov bug - isosurfaces Server Time
2 Nov 2024 11:24:39 EDT (-0400)
  MegaPov bug - isosurfaces (Message 1 to 4 of 4)  
From: SamuelT 
Subject: MegaPov bug - isosurfaces
Date: 11 Dec 1999 15:22:58
Message: <3852B45C.5570F4AA@aol.com>
I found a bug in MegaPov which has to do with #declared function
pigments used in isosurfaces. It gave me an error, "cannot load
function." I wanted to test the sped-up crackle and found the bug as a
result. Here's the code:

#declare Tex = function{ pigment{ crackle color_map{ [0 rgb 1][1 rgb 0]
} } }

isosurface{
 function
  ( x^2+y^2+z^2 )+( Tex( x,y,z )/4 )
 threshold 1 sign 1
 accuracy .005 max_gradient 10
 pigment{ rgb 1 } finish{ phong 1 }
}

--
Samuel Benge

E-Mail: STB### [at] aolcom

Visit the still unfinished isosurface tutorial:
http://members.aol.com/stbenge


Post a reply to this message

From: Ken
Subject: Re: MegaPov bug - isosurfaces
Date: 11 Dec 1999 16:36:44
Message: <3852C3B2.E46792B7@pacbell.net>
"SamuelT." wrote:
> 
> I found a bug in MegaPov which has to do with #declared function
> pigments used in isosurfaces. It gave me an error, "cannot load
> function." I wanted to test the sped-up crackle and found the bug as a
> result. Here's the code:

I ran into several demo's with the same problem. Also the iso demos that
had the 'library" function in the statement would not work at all.

-- 
Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: SamuelT 
Subject: Re: MegaPov bug - isosurfaces
Date: 11 Dec 1999 18:38:47
Message: <3852E23D.AEE944B1@aol.com>
I tried to use a function as a pigment, too, and it did not work. I even
tried putting it directly into the pigment statement, not declaring it, but
it still won't work. It doesn't seem to reconize the word 'function'.

Ken wrote:

> "SamuelT." wrote:
> >
> > I found a bug in MegaPov which has to do with #declared function
> > pigments used in isosurfaces. It gave me an error, "cannot load
> > function." I wanted to test the sped-up crackle and found the bug as a
> > result. Here's the code:
>
> I ran into several demo's with the same problem. Also the iso demos that
> had the 'library" function in the statement would not work at all.
>
> --
> Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
> http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/

--
Samuel Benge

E-Mail: STB### [at] aolcom

Visit the still unfinished isosurface tutorial:
http://members.aol.com/stbenge


Post a reply to this message

From: smellenbergh
Subject: Re: MegaPov bug - isosurfaces
Date: 12 Dec 1999 04:54:13
Message: <1e2oxuq.1mm3vxg1gk7y70N%smellenbergh@skynet.be>
SamuelT. <STB### [at] aolcom> wrote:

Tried it and they do work. However, there was a switch missing in
Nathan's frame.h. Perhaps it wasn't there when he uploaded version 0.1.
Anyway, in the next version this will work, just tried your example.

We also fixed the library problem for the isosurface. You can now use:
    function  {  "func_13", <5.5>,  library "i_nfunc" }
or
    function  {  "func_13", <5.5> }
External libs are not supported in the MegaPov but most of them are
build in.
There is one library we didn't add yet: i_dat3d. That one needs
initialisation. An error will be given.
Perhaps it would be better if we remove those example scenes (i_3d_o.pov
and i_3d_o2.pov)

Smellenbergh


> I tried to use a function as a pigment, too, and it did not work. I even
> tried putting it directly into the pigment statement, not declaring it, but
> it still won't work. It doesn't seem to reconize the word 'function'.
> 
> Ken wrote:
> 
> > "SamuelT." wrote:
> > >
> > > I found a bug in MegaPov which has to do with #declared function
> > > pigments used in isosurfaces. It gave me an error, "cannot load
> > > function." I wanted to test the sped-up crackle and found the bug as a
> > > result. Here's the code:
> >
> > I ran into several demo's with the same problem. Also the iso demos that
> > had the 'library" function in the statement would not work at all.
> >
> > --
> > Ken Tyler -  1200+ Povray, Graphics, 3D Rendering, and Raytracing Links:
> > http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
> 
> --
> Samuel Benge
> 
> E-Mail: STB### [at] aolcom
> 
> Visit the still unfinished isosurface tutorial:
> http://members.aol.com/stbenge


-- 
e-mail:sme### [at] skynetbe

http://users.skynet.be/smellenbergh


Post a reply to this message

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