POV-Ray : Newsgroups : povray.newusers : How can I distort a cube? : Re: How can I distort a cube? Server Time
31 Jul 2024 02:23:42 EDT (-0400)
  Re: How can I distort a cube?  
From: Warp
Date: 7 Mar 2003 20:21:56
Message: <3e6945b3@news.povray.org>
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.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

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