POV-Ray : Newsgroups : povray.advanced-users : Isosurface custom Function? / Macro? : Isosurface custom Function? / Macro? Server Time: 6 Jul 2008 10:15:55 GMT
  Isosurface custom Function? / Macro?  
From: Woody
Date: 13 Nov 2007 17:30:00
I'm trying to create two macros for use with Iso-surfaces
they are

#macro mac_1()
    #if(abs(x)+abs(y)<=0.05)
          0
    #else
          1
    #end
#end

#macro mac_2(a,b,c)
   abs(a)+abs(b)
#end


they are called from the isosurface as

isosurface{
function{ mac_1() }

}

isosurface{
function { mac_2(x,y,z) }
}

both produce 'float expected vector identifier found instead' errors.

anybody got any ideas


Post a reply to this message

Copyright 1991-2004 POV-Team™