Jump to content

  • Log In with Google      Sign In   
  • Create Account

Lyev

Member Since 19 May 2012
Offline Last Active Jun 13 2012 06:06 AM

Posts I've Made

In Topic: D3DXMatrix functions do nothing

05 June 2012 - 07:15 AM

Okay, thanks for your help! :)

In Topic: D3DXMatrix functions do nothing

05 June 2012 - 06:38 AM

So something like this?
    D3DXMATRIX trans, rotx, roty, rotz, scaling;
    D3DXMatrixIdentity (&v_mat_world);
    D3DXMatrixTranslation (&trans, origin[0], origin[1], origin[2]);
    D3DXMatrixRotationX (&rotx, angles[0]);
    D3DXMatrixRotationY (&roty, angles[1]);
    D3DXMatrixRotationZ (&rotz, angles[2]);
    D3DXMatrixScaling (&scaling, scale[0], scale[1], scale[2]);

    D3DXMatrixMultiply (&v_mat_world, &v_mat_world, &rotx);
    D3DXMatrixMultiply (&v_mat_world, &v_mat_world, &roty);
    D3DXMatrixMultiply (&v_mat_world, &v_mat_world, &rotz);
    D3DXMatrixMultiply (&v_mat_world, &v_mat_world, &scaling);
    D3DXMatrixMultiply (&v_mat_world, &v_mat_world, &trans);

In Topic: DirectX 11 coordinate system question

31 May 2012 - 11:40 AM

Thanks for your help. XMMatrixOrthographicOffCenterLH worked great. :)

In Topic: fill pixel box

27 May 2012 - 02:39 PM

DirectX 11 and I'm on PC with VC++ 2010

PARTNERS