Jellby <jel### [at] M-yahoocom> wrote in news:3ff7f7d4@news.povray.org:
> Among other thigs, Christoph Hormann wrote:
>
>> These all look very interesting, i wonder if this could be extended
>> to a system to design shapes with smooth transits, with a few
>> elements like this you could build a rounded version of any CSG made
>> of axis-aligned boxes.
>
> Indeed, interesting...
>
> Could you extend the macros to automatically "patch" parametric shapes
> or isosurfaces (Something like Ingo's MMMM)?
It is hard to do with the current version of the
macros, but the previous versions of them can easily
be used for this.
Here's an example image I rendered of a Moebious strip
defined as a parametric surface:
#declare xFn = function(u, v) { cos(u)*(1 + v*cos(u/2)) }
#declare yFn = function(u, v) { sin(u)*(1 + v*cos(u/2)) }
#declare zFn = function(u, v) { v*sin(u/2) }
The surface in the image is made with 33 bicubic patches.
Tor Olav
Post a reply to this message
Attachments:
Download 'MoebiusBicubicMesh.jpg' (46 KB)
Preview of image 'MoebiusBicubicMesh.jpg'
|