POV-Ray : Newsgroups : povray.newusers : tapering an object : Re: tapering an object Server Time
2 Nov 2024 09:19:03 EDT (-0400)
  Re: tapering an object  
From: Mike Williams
Date: 17 May 2004 13:18:01
Message: <oBNWOBAgUHqAFwfa@econym.demon.co.uk>
Wasn't it Mick Hazelgrove who wrote:
>In this case an isosurface - is there a way of transforming an isosurface so
>thet the top is made thinner than the bottom?

Here's a non-linear taper:

#declare F to be your original function(x,y,z) then use

isosurface {
     function{F(x*(1.5+y/2),y,z*(1.5+y/2))}  

This tapers from the initial width at y=-1 to half the width at y=1


-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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