Original Post
Hi guys, I'm new to DirectX and I'm guessing this is a pretty common problem, but I haven't had much luck searching for a solution. I've been trying to setup a "Node" class that sets up the world matrix (with translation, scaling and rotation) before rendering an attached object but I'm having trouble with the rotations, as you can't just rotate about the XYZ axes. I've tried a few approaches, rotated about different axes, but I've none have worked properly. Could someone outline the general procedure for setting up a transformation matrix from 3 rotation parameters? Thanks