# Matrix Translation Transformation Question

I've been reading a lot about computer graphics lately and because of it I'm building my own math library's for fun. I was reading about Matrix Translation and Homogeneous Coords, and was wondering if these two both translate the x factor by 3.

{ 1, 0, 0, 3 } = { 1, 0, 0, 0 }
{ 0, 1, 0, 0 } = { 0, 1, 0, 0 }
{ 0, 0, 1, 0 } = { 0, 0, 1, 0 }
{ 0, 0, 0, 1 } = { 3, 0, 0, 1 }


I guess what i'm really asking is if I wanted to preform a translation would both of these be exceptible or only the first?

• First version = directX Second version = OpenGL – Chris Condy Mar 5 '13 at 1:08
• Untrue. Both APIs support both versions. – Maximus Minimus Mar 5 '13 at 1:12