POV-Ray : Newsgroups : povray.binaries.images : Isosurface with straight,twist,straight : Re: Isosurface with straight,twist,straight Server Time
9 Aug 2024 09:06:53 EDT (-0400)
  Re: Isosurface with straight,twist,straight  
From: StephenS
Date: 6 Mar 2005 07:29:32
Message: <422af7ac@news.povray.org>
> Try making this smoothing function (which starts at zero with a slope of
> zero, then slopes up, and ends at one with a slope of zero):
>
> #local smoothfunc = function(x) {x*x*(3-2*x)}
>
> And then replace the x in your sin/cos functions with smoothfunc(x).
>
>  - Slime
>  [ http://www.slimeland.com/ ]
This worked nicely, thank you. A small tweak in the accuracy and
max_gradient and I have this.

Stephen


Post a reply to this message


Attachments:
Download 'smooth_twist.jpg' (5 KB)

Preview of image 'smooth_twist.jpg'
smooth_twist.jpg


 

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