POV-Ray : Newsgroups : povray.advanced-users : Isosurfaces... of revolutions ? : Re: Isosurfaces... of revolutions ? Server Time
28 Jul 2024 22:15:35 EDT (-0400)
  Re: Isosurfaces... of revolutions ?  
From: ABX
Date: 22 Oct 2003 15:31:47
Message: <kbmdpv0fs9jn820cedri29cku2n155h3f5@4ax.com>
On Wed, 22 Oct 2003 21:25:17 +0200, "_Light_Beam_" <s.f### [at] tiscalifr> wrote:
> How to use any "2D" curve (like lathes) to revolve it and combining with any
> other function ?
> I want to make an Isosurface "Vase" wih some reals (3D, no bumps) reliefs on
> it...
> ...
> I suppose I'll must use : #declare my_curve = spline {n, <>, <>, <>...} no ?
> but how to revolves it along Y axis and apply my others isosurface functions
> on it ?
> Am I clear enough ?

You have to design your spline on 2D with respecto time value being one of
coordinates. Then make function around it. Then use this function to get
radius of f_sphere function. Something like:

#local Spline = spline{
  0 , 1
  1 , 2
  2 , 1
  3 , 1.5
  4 , 1.2
};

#local f_Spline = funcion{ spline{ Spline } };

isosurface{
  function{ f_sphere{ x , y , z , f_Spline(y).x }
}

There is macro in isocsg library where you can duplicate sor object with
isosurface.

ABX


Post a reply to this message

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