POV-Ray : Newsgroups : povray.newusers : How can I distort a cube? : Re: How can I distort a cube? Server Time
4 Nov 2024 17:32:54 EST (-0500)
  Re: How can I distort a cube?  
From: Kaveh
Date: 8 Mar 2003 04:39:22
Message: <1frhxf3.w8h514ep0hs5N%kaveh@delete_this.focalimage.com>
Warp <war### [at] tagpovrayorg> wrote:

> Kaveh <kav### [at] delete_thisfocalimagecom> wrote:
> > - Seems I have to define all pionts, including control points, when the
> > shapes distort. What I want is to give the changes for the corner
> > points, which the patch must go through, and let the control points be
> > chosen automatically so as to create a smooth shape. Is this possible?
> > If not, how can I calculate those control points?
> 
>   There's a tutorial in the POV-Ray documentation about how to join
> two patches together seamlessly. This happens by arranging the control
> points in the right way (which can be done mathematically).
>   You should be able to create the control points with a little work.

I just discovered "multispline.inc" on a tutorial page by Josh:

http://www.spiritone.com/~english/cyclopedia/patches.html

Seems to do exactly this, i.e. to find control points from corner
points. Going through it now. Thanks.

-- 
Kaveh


Post a reply to this message

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