PDA

View Full Version : Matrix - Simple question



Ztyx
03-10-2001, 04:52 AM
Does the matrix contain information about where the objects (i.e. spheres etc.)?

Frugos
03-10-2001, 05:03 AM
Originally posted by Ztyx:
Does the matrix contain information about where the objects (i.e. spheres etc.)?

No, they donīt. The (modelview) matrix contains only information about manipulation of the vertices (scaling, transformation, rotation).

Randolph
03-18-2001, 11:50 AM
Actually, ANY matrix dont contain ANY vertex info. Matrices just transform the vertices. If you have no vertices, you cant make any matrix to force your OpenGL to render smth.

andreiga
03-20-2001, 03:33 AM
Matrices are just a way of storing vector operations in a more easy way to use (a 3x3 matrix has rotation and scale operations stored and a 4x4 matrix adds the translation operation).