Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

IF a 3 dot vector and a 3x3 matrix can rotate, scale and transform things in a virtual 3D space, could you use a 3x3x3 matrix and a 3.3.3 vector to do something to the games sense of time?

share|improve this question
    
Someone at gamedev.stackexchange.com might know if this has been done/is feasible. –  FrustratedWithFormsDesigner Apr 26 '12 at 18:26

2 Answers 2

technically you need a 4x4 matrix to rotate scale and transpose in a 3D space (with the bottom row [0,0,0,1] and last dimension 1 on the points (0 for vectors))

these are called affine transforms and can be easily applied to more dimensions (you just need a (n+1)x(n+1) matrix for points in n dimensions)

share|improve this answer

Most games don't use 4D matrices to represent elements of the game. The time "dimension" is usually controlled by some sort of timer call-back function. It's probably possible to do it with 4D matrices, I just haven't seen it. Of course, to store a complete time dimension for a game might take up a lot of space.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.