POV-Ray : Newsgroups : povray.advanced-users : Parametric metaball? : Re: Parametric metaball? Server Time
31 Oct 2024 19:11:16 EDT (-0400)
  Re: Parametric metaball?  
From: clipka
Date: 22 Aug 2013 21:21:00
Message: <5216b8fc@news.povray.org>
Am 22.08.2013 20:04, schrieb posfan12:
> Are there parametric equivalents to the implicit metaball functions found here:
>
>
http://www.geogebra.org/en/upload/files/english/Michael_Horvath/Metaballs/geogebra_metaballs.htm

For the special case of two elements, there most certainly /are/ 
parametric representations; for instance, assuming the elements are both 
centered on the X axis, the following mapping will obviously work for 
all cases where the surface in question is contiguous and the shape has 
a circular y/z cross-section for every x:

   u = x
   sin(v) / cos(v) = y / z

(As a matter of fact it will work for plenty cases with non-circular 
cross-sections as well.)

Solving for (x,y,z) for a given field strength may be non-trivial though.


Post a reply to this message

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