How do you transform D3D IM objects?
Most of the examples I see only move the camera.
How do you transform D3D IM objects?
Create a transformation matrix for the object, and call IDirect3DDevice7::SetTransform() with D3DTRANSFORMSTATE_WORLD as the first parameter, the matrix as the second.
This specifies the matrix used to transform from an object's coordinate system to a world coordinate system.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement