CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Posts
    31

    DirectX transformations

    I'm trying to transform objects in DirectX. I'm using .x files. All the tutorials I read seem to say something like this

    Code:
    D3D_Device->SetTransform( D3DTS_VIEW, &matrix );
    That works well when i have one object.

    SetTransform transforms the entire view right? so what if i have multiple objects, how do i transform each object by itself???

    Thanks

  2. #2
    Join Date
    Oct 2008
    Posts
    31

    Re: DirectX transformations

    Ok, i figured it out. If anyone else is wondering you have to SetTransform for each object

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured