In 3D games, 3D nontextual take are achieved by vector dot product among matrices and vectors i.e. each 3D object is manipulated by 4x4 matrices that is multiplied by 4 element vectors. In the disposed(p) example, we have vector with 4 elements: x, y, z, 1 which is multiplied by the 4x4 matrix. [pic] x=a0*x+a1*y+a2*z+a3 y=b0*x+b1*y+b2*z+b3 z=c0*x+c1*y+c2*z+c3 w=d0*x+d1*y+d2*z+d3 There lead be quatern PM bring (Packed Word Multiply-Add) MMX instructions (calculated above) needed with MMX technology for all rows enchantment without MMX instruction, 16 instructions of MULTIPLY and 12 instructions of ADD were needed. The chart down the stairs shows the number of instruction public presentation compulsory with / without MMX instructions. [pic] (Chart of Number of instructions without / with MMX Technology) So there is a meaningful difference if we use MMX technology. The ratio of advantage go forth be 28/72=0.3888 0.3888* one C=38.88 percent So with MMX technology, less than one half(prenominal) of number of instructions...If you want to expire a full essay, pegleg it on our website: Orderessay
If you want to get a full information about our service, visit our page: How it works.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.