POV-Ray : Newsgroups : povray.binaries.images : Patches for arbitrary topology shapes - 4 attachments : Re: Patches for arbitrary topology shapes - 4 attachments - 1 attachment - 1 attachment - 1 attachment Server Time
14 Nov 2024 16:27:08 EST (-0500)
  Re: Patches for arbitrary topology shapes - 4 attachments - 1 attachment - 1 attachment - 1 attachment  
From: Tor Olav Kristensen
Date: 4 Jan 2004 19:54:54
Message: <3ff8b5de@news.povray.org>
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'
MoebiusBicubicMesh.jpg


 

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