POV-Ray : Newsgroups : povray.newusers : tapering an object : Re: tapering an object Server Time
30 Jul 2024 12:26:19 EDT (-0400)
  Re: tapering an object  
From: Alain
Date: 16 May 2004 16:00:12
Message: <40a7c84c$1@news.povray.org>
Mick Hazelgrove nous apporta ses lumieres ainsi en ce 2004/05/16 14:52... :

>In this case an isosurface - is there a way of transforming an isosurface so
>thet the top is made thinner than the bottom?
>
>Mick
>
>
>  
>
Yes by using an inverted gradient y to modulate the horizontal size. 
With a maximum value at the bottom reatching zero at the top, you 
multiply the x and z sizes by the gradient value. You can also use some 
function that depend on the vertical position if you want a non-linear 
tapering.

Alain


Post a reply to this message

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