A question about matrices...
I''m just learning about matrices, and I''m wondering, is there a matrix type which can be used to draw a 3d shape? And also what is the definition for a matrix which is used to hold data about the structure of a landscape?
What I mean by drawing a 3d shape, is - is there a matrix with say Nx3 size, set out like:
[X1 X2 X3 X4 ..]
[Y1 Y2 Y3 Y4 ..]
[Z1 Z2 Z3 Z4 ..]
Which is used to hold the vertices of a 3d polygon?
Thanks!
there aren''t specific types of matricies for representing an object or landscape or anything else, they''re generic. so if you really want you can use a matrix to represent anything you want, so long as you can represent it using a 2d grid of data. but why would you want to? i guess you could apply transforms to the entire object with one multiply, but IMHO it would only make things more complicated
Matrices are just a bunch of numbers. If you can find a way to store the numbers that make up your 3D model in a matrix, then sure. However, this is definitely not how matrices are used in computer graphics. There is a tutorial about matrices on this site. You should read it.
Cédric
Cédric
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement