Archived

This topic is now archived and is closed to further replies.

A question about matrices...

This topic is 5508 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites