POV-Ray : Newsgroups : povray.general : quick patch question Server Time
20 Nov 2024 00:19:02 EST (-0500)
  quick patch question (Message 1 to 5 of 5)  
From: Shay
Subject: quick patch question
Date: 28 Dec 2001 12:53:58
Message: <3c2cb1b6$1@news.povray.org>
Given four patches with the following control points, must the * points all
be coplanar?

0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0 * * * 0 0
0 0 * * * 0 0
0 0 * * * 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0

Thank you,


Post a reply to this message

From: Bill DeWitt
Subject: Re: quick patch question
Date: 28 Dec 2001 13:00:29
Message: <3c2cb33d@news.povray.org>
"Shay" <sah### [at] simcopartscom> wrote in message
news:3c2cb1b6$1@news.povray.org...
> Given four patches with the following control points, must the * points
all
> be coplanar?

    Um... Lithuania? 1642? Hydrogen? The War of Northern Aggression? 32?
Preposition? Ulna? No?


Post a reply to this message

From: Warp
Subject: Re: quick patch question
Date: 28 Dec 2001 14:57:58
Message: <3c2ccec6@news.povray.org>
Shay <sah### [at] simcopartscom> wrote:
: Given four patches with the following control points, must the * points all
: be coplanar?

: 0 0 6 6 6 0 0
: 0 0 5 5 5 0 0
: 1 2 * * * 3 4
: 1 2 * * * 3 4
: 1 2 * * * 3 4
: 0 0 7 7 7 0 0
: 0 0 8 8 8 0 0

  It depends on what you want to achieve. If you want them to form a completely
contiguous smooth surface, then those points should be co-planar (ie. lay
on the same plane) and the points which I marked with numbers should be
co-linear (ie. lay in the same line, ie. points with the same number should
lay in the same line).

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

From: Rune
Subject: Re: quick patch question
Date: 28 Dec 2001 17:10:05
Message: <3c2cedbd@news.povray.org>
"Warp" wrote:
>   It depends on what you want to achieve. If you want
> them to form a completely contiguous smooth surface,
> then those points should be co-planar (ie. lay on the
> same plane)

No, I think it's enough that the three rows are co-linear and the three
columns are co-linear. All nine points don't have to be co-planar.

> and the points which I marked with numbers should be
> co-linear (ie. lay in the same line, ie. points with
> the same number should lay in the same line).

True.

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated Nov 5)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

From: Warp
Subject: Re: quick patch question
Date: 28 Dec 2001 18:12:51
Message: <3c2cfc73@news.povray.org>
Rune <run### [at] mobilixnetdk> wrote:
: No, I think it's enough that the three rows are co-linear and the three
: columns are co-linear. All nine points don't have to be co-planar.

  Yes, you are right.

-- 
#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.