POV-Ray : Newsgroups : povray.general : Formula please : Re: Formula please Server Time
5 Aug 2024 10:23:04 EDT (-0400)
  Re: Formula please  
From: Tom Melly
Date: 1 Oct 2002 12:55:40
Message: <3d99d38c$1@news.povray.org>
"Greg M. Johnson" <gregj:-)565### [at] aolcom> wrote in message
news:3d99d2a2$1@news.povray.org...

<snip>

Hmm, I got as far as:

#declare Rip_func = function(x,y,z){
  y - ( sin( pow(pow(x,2) + pow(z,2),0.5) ) )

}

#declare Rip_test =
isosurface {
  function { Rip_func(x*5, y, z*5) - 1 }
  contained_by {sphere{0,5}}
  accuracy 0.001
  max_gradient 10
  pigment{Red}
}

object{Rip_test}

... getting there.


Post a reply to this message

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