-
April 5th, 2009, 11:08 AM
#1
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
-
April 6th, 2009, 09:01 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|