Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / Explain Vector4

Author
Message
brittd
17
Years of Service
User Offline
Joined: 28th Oct 2002
Location:
Posted: 30th Oct 2002 18:52
Can anyone show me a grafic of what a vector4 in DBPro is? I have looked all over the Internet & all I can find is C++ .h file or .java files, but no explaination of what it is or what it represents in 3d space?

I know it looks like X,Y,Z,W but what does the W stand for?
If I put a 3 there does it make a Vector3 point and then a 3X3 square from that point? vector4 =-1,1,1,3

-1,1,1.______. 2,1,1
|\ /|
| \ / |
|__\/__|
\./
0,0,0

Or does it make just a Triagle like this.
vector4 =-1,1,1,3

-1,1,1.______. 2,1,1
\ /
\ /
\/
0,0,0


Or am I missing the boat completely?
brittd
17
Years of Service
User Offline
Joined: 28th Oct 2002
Location:
Posted: 30th Oct 2002 19:07
Ok the form removed the spaces form my examples square with lines going back to . 0,0,0. The second was a line line with points going back to . 0,0,0.

Shadow Robert
17
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 31st Oct 2002 00:36
vector4's w oftenly stands for width - or length

really its more of a free calculation to add... in a physics engine you'd mostly likely have it as speed

Anata aru kowagaru no watashi!

Login to post a reply

Server time is: 2020-07-13 12:22:06
Your offset time is: 2020-07-13 12:22:06