🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.borland
Article #61

Re: 3d programming

#61
From: Tom Wheeley
Date: Fri, 16 Feb 1996 00:03
34 lines
2356 bytes
In article <312028C1.C1F@nmsu.edu> jshagam@nmsu.edu "Quantum Porcupine" writes:

> Paul Rowntree wrote:
> > 
> > Sorry, but I must take offense here.  A point in Cartesian space has three
> > aspects [X,Y,Z].  A vector requires a direction, and depending on how sticky
>  you
> > are, probably a length.  This implies 6 independent aspects.  Result;  A plane> > requires 3 points.  Always.

What ?!  All Vectors have length.  Something with no length but direction is
just a couple of angles, sometimes usefully referred to by a unit vector.
(Length 1)

> You're wrong. A vector is any quantity with any given number of dimensions. The
> number 5 is a vector, called a scalar.  The vector [x,y,z] can refer to a
>  position
> vector (point) or direction vector.
> 
> I suggest you take some math courses before you try to explain such basic
>  concepts.

Yeah.  And also that point about you need 3 points to define a plane ?

Well, if you only have points then you need a 3 points *which are not
collinear* -- you can have an infinite number of points in a line and you
will never define just one plane.

A much easier, and more useful result is to cross vectors between those points
and get yourself a normal to that plane, then get its distance from the origin

iirc the normal vecotr is used for shading.
-- 
* TQ 1.0 * The 'Just So Quotes'.
Jesus not only saves, but He also frequently makes backups.
Technical Details
Message-ID: <824429001snz@tsys.demon.co.uk>
Path: arc1-ca.pugleaf.net!mail2news.demon.co.uk!tsys.demon.co.uk
References: <4f3od9$2jg@zeus.tcp.co.uk> <jderrick-0502961551360001@slip037.csc.cuhk.hk> <3118310E.52F@psu.edu> <4fiuh2$qrj@fulton.cs.unc.edu> <311E38D7.71BC@psu.edu> <311F9C84.3B26@structure.chimie.usherb.ca> <312028C1.C1F@nmsu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!mail2news.demon.co.uk!tsys.demon.co.uk
From: Tom Wheeley <tomw@tsys.demon.co.uk>
Newsgroups: comp.lang.pascal.borland,comp.lang.pascal.mac,comp.lang.pascal.ansi-iso,comp.lang.pascal.misc,comp.sys.amiga.programmer,comp.graphics.algorithms,comp.os.ms-windows.programmer.graphics,comp.sys.amiga.graphics
Subject: Re: 3d programming
Date: Fri, 16 Feb 96 00:03:21 GMT
Organization: City Zen FM
Message-ID: <824429001snz@tsys.demon.co.uk>
References: <4f3od9$2jg@zeus.tcp.co.uk> <jderrick-0502961551360001@slip037.csc.cuhk.hk> <3118310E.52F@psu.edu> <4fiuh2$qrj@fulton.cs.unc.edu> <311E38D7.71BC@psu.edu> <311F9C84.3B26@structure.chimie.usherb.ca> <312028C1.C1F@nmsu.edu>
Reply-To: tomw@tsys.demon.co.uk
X-NNTP-Posting-Host: tsys.demon.co.uk
X-Newsreader: Demon Internet Simple News v1.30
X-Sig-By: Tomsystems Quote v1.2.  (c)1996 Tom Wheeley, tomw@tsys.demon.co.uk
X-Mail2News-Path: tsys.demon.co.uk