POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov bug - isosurfaces : MegaPov bug - isosurfaces Server Time
2 Sep 2024 16:17:35 EDT (-0400)
  MegaPov bug - isosurfaces  
From: SamuelT 
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

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