A question about matrices...

Started by
1 comment, last by TeknoMoose 21 years, 5 months ago
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!
Advertisement
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

"Voilà! In view, a humble vaudevillian veteran, cast vicariously as both victim and villain by the vicissitudes of Fate. This visage, no mere veneer of vanity, is a vestige of the vox populi, now vacant, vanished. However, this valorous visitation of a bygone vexation stands vivified, and has vowed to vanquish these venal and virulent vermin vanguarding vice and vouchsafing the violently vicious and voracious violation of volition. The only verdict is vengeance; a vendetta held as a votive, not in vain, for the value and veracity of such shall one day vindicate the vigilant and the virtuous. Verily, this vichyssoise of verbiage veers most verbose, so let me simply add that it's my very good honor to meet you and you may call me V.".....V
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

This topic is closed to new replies.

Advertisement