Advertisement

What is the Matrice?

Started by May 28, 2000 05:17 AM
3 comments, last by JonatanHedborg 24 years, 7 months ago
I know it has something to do with 3d rotations etc. But I dont know how to use it. Or even WHY to use it! Please explain it to me ======================== Game project(s): www.fiend.cjb.net
=======================Game project(s):www.fiend.cjb.net
I think you mean matrix, matrices is the plural. In 3D the most common use for them is for the 4x4 matrices for rotation, translation and scaling. There are special rules for matrix arithmetic which mean that you can multiply a 1*4 vector (x,y,z,1) by a 4*4 matrix and get out a new 1*4 vector. This is how you rotate a point in 3d space, you multiply your vector by a rotation matrix to get your new vector. Unfortunately matrices are quite a compex subject so it would take a while to explain them to you. You can probably find a tutorial somewhere on the web or you could get a book on linear algebra.

-- Kazan - Fire Mountain Games --

Edited by - Kazan on May 28, 2000 6:37:13 AM
Advertisement
Ok, i will


But is it worth it?

========================
Game project(s):
www.fiend.cjb.net
=======================Game project(s):www.fiend.cjb.net
If you are planning to use 3d then knowing about matrices will help you a lot. You don''t need to know that much to use them in OpenGL or D3D (helper functions are provided). If you do learn how to use matrices properly though, you will find them helpful when you are doing more advanced 3D. If you are only using 2D graphics though, matrices can sometimes be useful for vector drawing etc. but they are definitely not a necessity.

-- Kazan - Fire Mountain Games --
visit this site for tutorials

http://www.mr-gamemaker.co.uk

This topic is closed to new replies.

Advertisement