Advertisement

Latest matrix Activity

A major part of gameplay is making sure objects are at the right places at the right times. This means you must understand the mechanisms behind how objects in a scene are placed at a particular position. You need to know how to do stuff like program a door to swing open when activated, or calculat…

5,486 views
Advertisement

snoken said:
When using quaternions, the skeleton looks fine except the z axis rotation. The arms go up instead of down. If I negate only Z, the arms come down as they should but they are not aligned with the torso, they are rotated back. Other than that, the skeleton looks fine and in the correct p…

9,628 views
How to adjust a projection matrix to product the same size render, but on a smaller texture?

Perhaps you should try using a scissor rectangle for this. With this method you would set scissor rectangle to the full backbuffer and render the normal scene, then set the scissor rectangle to the “magic window” portion of the backbuffer and render the “magic view”.

4,933 views
DirectX9 projection problem

Hello, I have a problem in DX9: I am projecting objects with the LightProj matrix. 
 

View and projection


The problem is that my objects will be projected from (-infinity to +infinity). 
At the end, I'm setting the object projection texture SetTexture(projection) with
 SetTransform…

4,362 views
Skeletal animation - Rotations seem to be inverted

@joej So.. scrolling through my geometry loader I found an innocent looking line of code I had forgotten about. 

finalVertex.z *= -1;

POOF everything is now working fine ?

Will go cry for a bit, I'll be fine.

5,519 views
Advertisement
Advertisement