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.

Author
Message
Vandetta
21
Years of Service
User Offline
Joined: 17th Dec 2002
Location:
Posted: 10th May 2003 05:20
Im trying to do this tutorial: http://gamedevnetwork.com/article.php?aid=8 but at one point it tells me not to continue if I dont know what vectors are. What are they and how do I use them?
Oryaaaaa
21
Years of Service
User Offline
Joined: 20th Mar 2003
Location: Aichi-ken, Japan
Posted: 10th May 2003 08:09
Make Vector3(1) = DIM X(1),Y(1),Z(1)

Make Vector3(1)
set vector3 1,1,2,3 = X(1)=1,Y(1)=2,Z(1)=3
point camera x vector3(1), y vector3(1), z vector3(1)

It is such a meaning.
Vandetta
21
Years of Service
User Offline
Joined: 17th Dec 2002
Location:
Posted: 10th May 2003 11:07
ummm....so what are vectors?

matt rochon
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 10th May 2003 16:20
sets of 3 numbers
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 10th May 2003 22:24
That's right. Vectors are a convenient way of grouping 3 numbers together into one entity.

They are used throughout the 3D engine, from vertice positions within objects, normals (for light reflection), positions and rotations of objects, lights and cameras.

DBPro has a set of vector commands built in, but you don't have to use them to get the same results.

You will need to know matrix maths to fully understand them, but you can probably get by in the short term by just using what you see.
Vandetta
21
Years of Service
User Offline
Joined: 17th Dec 2002
Location:
Posted: 11th May 2003 01:06
Is there anything I can look at that goes more in depth on them and their different applications?

Flashing Blade
21
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 11th May 2003 12:20
this seems a good tutorial

http://chortle.ccsu.edu/VectorLessons/vectorIndex.html

It will make your brain itch though
Vandetta
21
Years of Service
User Offline
Joined: 17th Dec 2002
Location:
Posted: 12th May 2003 12:09 Edited at: 12th May 2003 12:20
Thanks...but I was looking at the site you gave me and it said points were used for vertice locations and vectors were used for encoding directions between points. They hold distance and direction. But above someone said that they were used to hold vertice information. Can anyone clarify Thanks.

Login to post a reply

Server time is: 2024-09-20 07:24:44
Your offset time is: 2024-09-20 07:24:44