POV-Ray : Newsgroups : povray.advanced-users : Isosurface custom Function? / Macro? : Isosurface custom Function? / Macro? Server Time
5 Jul 2024 14:30:07 EDT (-0400)
  Isosurface custom Function? / Macro?  
From: Woody
Date: 13 Nov 2007 12:30:00
Message: <web.4739dee61b94503b94e61a50@news.povray.org>
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 2003-2023 Persistence of Vision Raytracer Pty. Ltd.