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.

DarkBASIC Professional Discussion / Philip's Vector Tutorials

Author
Message
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 30th Jun 2004 22:28
I've finally gotten the chance to upload Philip's Vector tutorials to my website (thank God for the college internet, it would've taken days on 56k )

You can find them at http://www.kentaree-studios.com/tutorials/vectors/index.htm

AMD Athlon XP2800+
GeForce FX5200 128mb
256mb DDR Ram
Dave J
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 30th Jun 2004 23:13 Edited at: 30th Jun 2004 23:15
Cheers, and thanks to Philip for writing them!! If only he were here to see it.

Edit: Looks like you haven't linked the chapter images right, they point to the local path and not the sites.


"Computers are useless they can only give you answers."
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 30th Jun 2004 23:48 Edited at: 30th Jun 2004 23:56
Hmm, hadn't had much time to look at it. I'll look into it now.

[Edit]: Ok, fixed. Thanks for telling me Exeat, if you find anything else wrong just post it here.

AMD Athlon XP2800+
GeForce FX5200 128mb
256mb DDR Ram
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 1st Jul 2004 03:46 Edited at: 1st Jul 2004 03:46
You can certainly tell who wrote them, just by looking at the front page

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++ http://www.matrix1.demon.co.uk
Karlos
22
Years of Service
User Offline
Joined: 18th Nov 2002
Location: United Kingdom
Posted: 1st Jul 2004 18:39
A big thanks to Philip for writing these and kentaree for hosting.

It's been a long long time since I studied maths it was a great refresher with plenty of new things as well.

Cheers

All Hail the Glory of the HypnoToad
XP Pro - Radeon 9000 Mobility- P4 3.0ish
Football management - Football Manager
Macrosii
21
Years of Service
User Offline
Joined: 31st Mar 2004
Location: Essex, UK
Posted: 2nd Jul 2004 21:13
Thanks to Kentaree for hosting and Philip for the great tutorials.

I now have working 3D radar, Lead target & turning towards.
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 2nd Jul 2004 22:45
Once I finally get my BT internet connection operational again (a tiresome and lengthy saga) I will finish off the last couple of pages which are still not quite complete. I will also start writing a few more example pages to explain some more uses of vectors.

Incidentally, I'm sure I don't understand what IanM means!

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P1.3ghz / 384 megs / GeForce MX 5200 128meg / WinXP home
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 3rd Jul 2004 10:02
I think he means by the friendly bear-like manner that you typed in

Good work on the tutorials Philip, you're my favourite bear

Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 5th Jul 2004 06:48
Fixed another small niggle on Chapter2.1c with an image overlapping some text.

Words of advice to young people:
Don't use frontpage at home kids. (Or anywhere else for that matter)

AMD Athlon XP2800+
GeForce FX5200 128MB
1024MB DDR 333MHz RAM
Chapmad
20
Years of Service
User Offline
Joined: 26th Jun 2004
Location: Ontario, Canada
Posted: 5th Jul 2004 07:24
I'm getting some nasty overlapping on the index page in Mozilla Firefox.... Looks great it IE though!
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 5th Jul 2004 09:23
Yes, it looks dodgy under FireFox - which means that its a naughty page that doesn't follow web standards! (a Word or Frontpage job?)

Good work on the tutorials Philip, I am now dangerously close to understanding vectors (yipes!). If you had time to do something on matrices that would also be useful, but its not urgent.

I recommend that these should be included in the book that Rich is compiling for DBPro (in return for some suitable payment, I don't know what bears go for)


BlueGUI:Windows UI Plugin - All the power of the windows interface in your DBPro games.
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 5th Jul 2004 18:19
i never had problems using frontpage. i use it all the time.

"eureka" - Archimedes
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 5th Jul 2004 22:04
Yes, the entire tutorial is made in frontpage, and so it doesnt conform to any standard, and is hell to modify by hand. Maybe when Philip comes back online, I'll ask if I can re-code it for him by hand so it'll come out better.

AMD Athlon XP2800+
GeForce FX5200 128MB
1024MB DDR 333MHz RAM
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 6th Jul 2004 04:28
... the continuing story of the BT internet saga is that they claim they will have restored my broadband link next Friday. I have my fingers crossed but given BT's performance since I returned to the UK I am not confident.

In answer to the queries, yes I used Frontpage. I'm sorry if that is not displaying the pages properly on some people's computers. I hadn't realised that Frontpage had this defect. If somebody would like to nominate a different and better web publisher which I could get (preferably a freeware or shareware one) then I'll use that in future instead. I have a few ideas for new pages for the Guide as soon as I get back online and finish painting my flat block so let me know what I should use.

I'd like to say three cheers for Kentaree. As I read his posts hes obviously gone to a lot of effort to correct the Frontpage inspired errors. So much respect and gratitude to him.

In terms of Rich's book, I am happy to "donate" all my work to Rich/TGC free of charge. After all, I wrote all the pages originally as a free donation to the community and I'd like to continue in the same spirit. The only thing I would ask Rich to do if he did want to use them is just to mention in one place in the book that the section in question was originally written by yours truly and was kindly published by Kentaree, with a link to Kentaree's website. If someone can advise Rich of the above that'd be great.

I personally do not want to volunteer to do anything on matricies. I understand them but I have to say that I don't understand them as intuitively as I understand vectors. Therefore, I don't think any pages I could write on matricies would be as good as my stuff on vectors. I'd suggest that one of our matrix math wizards such as Wolf or DmitryK might be better people to approach for this.

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P1.3ghz / 384 megs / GeForce MX 5200 128meg / WinXP home
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 6th Jul 2004 13:41
Quote: "I hadn't realised that Frontpage had this defect."



But, it's not FrontPage's fault, it's M$'s, lol.

Yeah, Frontpage has a tendancy to mess things up.

Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
JeBuS
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Undisclosed Location, Dominion of JeBuS
Posted: 4th Aug 2004 07:43
Well, I like what I've gotten thru so far of the tutorials. I have a hard time reading them though because of the graphic/text overlap. So it's slow going considering I have to recode the pages myself just to read them.
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 4th Aug 2004 07:49
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 4th Aug 2004 09:13
Sorry about that. I find that all the pages load (including chapter21c.htm, which I just tried). I can't do much about the display layout problems. I tested the entire site on my computer before I sent it to Kentaree for publication. However, I understand from the discussion above that I shouldn't have used MS Frontpage.

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 4th Aug 2004 09:14 Edited at: 4th Aug 2004 09:15
... oddly enough I don't get any layout problems at all on my computer here at home. I'm running IE and I've got the IE window maximised.

Philip

PS: My favourite question in the whole website is on page 3.10a:

1. Vector cross product is also known as:

1.1 vector outer product;

1.2 a diabolical form of evil which no mortal man should dare meddle with; or

1.3 Nellie the Elephant.

Its obvious the answer is Nellie the Elephant.

She packed her trunk and said goodbye to the circus...

What do you mean, bears aren't supposed to wear hats and a tie? P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home
JeBuS
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Undisclosed Location, Dominion of JeBuS
Posted: 4th Aug 2004 10:06
Here's an example of what I see when I view your pages.

bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 4th Aug 2004 11:03
http://www.kentaree-studios.com/tutorials/vectors/chapter21c.htm

won't load for me from 2 separate computers, both Mozilla and IE

Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 5th Aug 2004 04:27
Ok, all I can really say here is:

1. I don't see what you see Jebus. I see the layout as it should be. Sorry, I don't know enough about HTML to explain what is happening.

2. I can load chapter21c.htm ok on both my home and work computer Jerico2day. Again, I don't know what the problem is that your computer is having.

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 5th Aug 2004 04:37 Edited at: 5th Aug 2004 04:38
I've tried it on three computers... I realized that if I saved it to the desktop and open it with Frontpage it worked.. So I was able to continue on without worrying about missing anything.. I didn't have the diagram, but luckily it was an intuitive and small chapter..

I have to say I've very impressed with these tuts, so thank you very much for releasing it to us

I had also checked with someone on IRC and it wouldn't work for them either..

Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 5th Aug 2004 08:58 Edited at: 5th Aug 2004 08:58
Yeah, sorry about that. If I had known of all these MS Frontpage problems when I wrote the tutorials I would have used something else. :-(

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home
JeBuS
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Undisclosed Location, Dominion of JeBuS
Posted: 5th Aug 2004 09:06 Edited at: 5th Aug 2004 09:06
I just finished recoding all of the tutorials, if you want them, I could send them to you. They're 1.85MB rar'ed.
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 5th Aug 2004 22:07
Could you possibly send them to Kentaree? He's the publisher of the Guide and has said in the past that if they are re-formated then he'll re-publish them.

Cheers

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 5th Aug 2004 22:12
Yeah, send them to [email protected] and I'll upload them. 1.85mb beats the heck out of 10mb anyway

AMD Athlon XP2800+
GeForce FX5200 128MB
1024MB DDR 333MHz RAM
BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 5th Aug 2004 22:40
Jerico, I had the same problem as you a couple of weeks ago...and I still have it right now

BatVink
http://biglaugh.co.uk/catalog AMD 3000+ Barton, 512Mb Ram, 120 Gig Drive space, GeForce 5200 FX 128 Mb, Asus A7N8X Mobo.
Terms & Conditions apply
BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 5th Aug 2004 22:42
Here ya go...this is no reflection on you Philip, this is all down to Frontpage...

Quote: "HTML Validator generated 21 error messages, 13 warning messages, and 24 other messages when checking this web page. In fact, this web page generated so many errors that HTML Validator terminated the check before it went through the whole document. These problems may damage this web page's search engine rankings as well as cause viewing problems for visitors. It is highly recommended that any problems be corrected.

ACCESSIBILITY INFORMATION: Of all the messages generated, 1 message had to do with accessibility. While the part of this page that was checked did not generate any accessibility errors or warnings, it is very likely that there are opportunities to improve this web site's accessibility. Consider reviewing this web site for accessibility issues
"


BatVink
http://biglaugh.co.uk/catalog AMD 3000+ Barton, 512Mb Ram, 120 Gig Drive space, GeForce 5200 FX 128 Mb, Asus A7N8X Mobo.
Terms & Conditions apply
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 5th Aug 2004 23:57
LOL, there's microsoft quality for ya
As soon as JeBuS gets the new version to me, I'll upload 'm, so hopefully everyone will be able to read 'm properly.

AMD Athlon XP2800+
GeForce FX5200 128MB
1024MB DDR 333MHz RAM
JeBuS
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Undisclosed Location, Dominion of JeBuS
Posted: 6th Aug 2004 04:14 Edited at: 6th Aug 2004 05:39
I'm emailing them as I post this. I only re-did the tutorials themselves, not the example code. I may get to that today...

Edit: Just a note, I forgot to add the titles to each tutorial page, so that may be something you want to do before uploading them.
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 6th Aug 2004 06:50
Thanks for the help with reformating my tutorials.

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 7th Aug 2004 02:33
The tutorials look quite different now, I might post up one or two of them just to confirm that you like them. That said, I could set up an ASP script to handle the look of the pages.

AMD Athlon XP2800+
GeForce FX5200 128MB
1024MB DDR 333MHz RAM
JeBuS
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Undisclosed Location, Dominion of JeBuS
Posted: 7th Aug 2004 02:49
I don't think they look that different other than the big graphics used as text in the index and on the tops of pages. I tried to stay as close to Philip's as possible with text coloring and whatnot, except for the math, which I indented and bolded to make it stand out from the normal text.
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 8th Aug 2004 05:26
If you want to post them somewhere I'll take a glance at them. Send me the HTTP.

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home
JeBuS
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Undisclosed Location, Dominion of JeBuS
Posted: 9th Aug 2004 05:41 Edited at: 9th Aug 2004 13:28
OK, here's a question for you Philip. How would you go about limiting the speed of the object using vectors for movement like asteroids? It seems like the speed of the object can go to infinity the way it is, and for the life of me, I can't figure out how to cap it.

EDIT:

Basically, I want to know how to limit the length of the movement vector to a set number. I can't seem to figure out the math to it and need help.

EDIT #2:

Well, that was simpler than I thought. Right after I editted I figured out a simple way.

Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 9th Aug 2004 22:16 Edited at: 9th Aug 2004 22:17
Yes. An alternative way is to normalize the movement vector to make it into a unit vector. Then scale the unit vector by the maximum length you'd like to permit the movement vector to be.

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 9th Aug 2004 23:54
Ok, JeBuS's version is up at http://www.kentaree-studios.com/tutorials/vectors/temp/

AMD Athlon XP2800+
GeForce FX5200 128MB
1024MB DDR 333MHz RAM
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 10th Aug 2004 04:01
I don't mind them although I don't think they look as friendly as my original pages. Can I suggest that we leave both versions online? That way people who can't see my original pages in all their glory (ahem) can see Jebus' version?

Cheers

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home
Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 10th Aug 2004 05:58
I could see if I can make a script that checks what browser you use, then if its not IE, transfers you to JeBuS's ones. Or, I could add some of the gfx back to 'm to make 'm look similar. Your call really.

AMD Athlon XP2800+
GeForce FX5200 128MB
1024MB DDR 333MHz RAM
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 10th Aug 2004 06:44
Either is fine with me. Your call.

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home
JeBuS
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Undisclosed Location, Dominion of JeBuS
Posted: 10th Aug 2004 07:13
Heh, I should note, I wasn't able to view them in IE any better than in Firefox. I have no qualms with what I did being only a backup, after all, that's why I made them
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 12th Aug 2004 22:03
Yeah. I'm hoping to find some time to update them soon to take into account all the changes / bug fixes done by Mike and Lee to v5.6. The problem is finding the time. My job doesn't let me get out much.

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home
JeBuS
20
Years of Service
User Offline
Joined: 20th Jul 2004
Location: Undisclosed Location, Dominion of JeBuS
Posted: 13th Aug 2004 14:20
Another vector question.

How can I get the angle of a vector?
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 13th Aug 2004 21:02
I think what you mean is: "how do I get the angle between two vectors?"

If thats what you mean, look at my pages on vector dot product.

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home
Lost in Thought
21
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 16th Aug 2004 21:31
I have the same problem. http://www.kentaree-studios.com/tutorials/vectors/chapter21c.htm will not load today but it did yesterday

Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 16th Aug 2004 21:32
There some kind of problem with it that nobody understands. Everyone will just have to live with that I'm afraid.

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home
Philip
21
Years of Service
User Offline
Joined: 15th Jun 2003
Location: United Kingdom
Posted: 16th Aug 2004 21:42
Uh... Kentaree, I can't help noticing that something seems to have gone squiffy with the original Guide. The diagrams all appear to have jumped up or down two or three lines ...?

Philip

What do you mean, bears aren't supposed to wear hats and a tie? P3.2ghz / 1 gig / GeForce FX 5900 128meg / WinXP home
Lost in Thought
21
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 16th Aug 2004 21:47
The problem with 2.1c seems to be a image error. A problem with "toptextr[1].jpg" at least if you try to save it to see whats wrong it stops at that file everytime.

Kentaree
22
Years of Service
User Offline
Joined: 5th Oct 2002
Location: Clonmel, Ireland
Posted: 16th Aug 2004 21:49 Edited at: 16th Aug 2004 21:56
Hmm, I'll look into it.

[Edit]: It seems to be something wrong with the page itself somehow, cos even if I download it to my hdd, it wont load

AMD Athlon XP2800+
GeForce FX5200 128MB
1024MB DDR 333MHz RAM

Login to post a reply

Server time is: 2025-06-12 10:49:49
Your offset time is: 2025-06-12 10:49:49