POV-Ray : Newsgroups : povray.unofficial.patches : Step function : Step function Server Time
29 Apr 2024 03:06:48 EDT (-0400)
  Step function  
From: Libellule
Date: 21 Aug 2000 22:17:37
Message: <39A1E2F9.CB1B7B4B@insectes.net>
I was wondering if it was possible to add a Heaviside step function for
use in isosurfaces:

say two arguments, the first is the "switch" point, where the function
goes from 0 to 1 (or vice versa), and the second is the argument, which
would be a good place to put x, y, z or whatever for the expression.

I was thinking about this for say, limiting a sinusoid to a particular
range, by multiplying it by a step function (two actually, one to
truncate each end of it). It could have other uses, I guess.....


Post a reply to this message

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