POV-Ray : Newsgroups : povray.general : Morphing... : Re: Morphing... Server Time
10 Aug 2024 23:18:26 EDT (-0400)
  Re: Morphing...  
From: Jerome M  BERGER
Date: 30 Nov 1999 13:20:12
Message: <38441533.1930ED12@enst.fr>
TonyB wrote:
> 
> >Just an idea, but it worked to make and column having a round base
> >morphing smoothly to a square top (with y instead of clock).
> 
> Ooohh, I've been looking for a way to do this. Could you please write the
> entire formula for doing this? TIA

	My solution:
y*(x^2+z^2-1)+(1-y)*(max(abs(x), abs(z))-1) threshold 0

	Gilles':
(abs(x)+abs(z))*(1-y)+(x^2+z^2)*y threshold 1

	(From the french ng where this question appeared a few weeks ago)
		Jerome

-- 
*******************************

* they'll tell you what can't * mailto:ber### [at] inamecom
* be done and why...          * http://www.enst.fr/~jberger
* Then do it.                 *
*******************************


Post a reply to this message

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