POV-Ray : Newsgroups : povray.advanced-users : isosurface cone : Re: isosurface cone Server Time
2 Nov 2024 07:26:16 EDT (-0400)
  Re: isosurface cone  
From: Jetlag
Date: 2 Mar 2000 16:33:41
Message: <38bede35@news.povray.org>
> Can anyone give me a formula for a vertical isosurface cone shape?
>
> Mick

This is what I came up with:

isosurface {
  function { x^2 + z^2 - (y-1)^2/2 }
  contained_by { box { -<sqrt(2), 1, sqrt(2)>, <sqrt(2), 1, sqrt(2)> } }
  threshold 0

  pigment { rgb 1 }
}


Post a reply to this message

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