POV-Ray : Newsgroups : povray.newusers : isosurface function - scale,move : isosurface function - scale,move Server Time
29 Jul 2024 22:24:11 EDT (-0400)
  isosurface function - scale,move  
From: Rafal 'Raf256' Maj
Date: 30 Jan 2005 11:22:27
Message: <Xns95EEB0AEA7A44raf256com@203.29.75.35>
What is the best way to write syntax like:

  #macro X() x*S.x+W.x #end
  #macro Y() y*S.y+W.y #end
  #macro Z() z*S.z+W.z #end
  
  function {
    pow(X(),2) + pow(Y(),2) + pow(Z(),2) - 1
  }

?



-- 
http://www.raf256.com/3d/
Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
Computer Graphics


Post a reply to this message

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