Flattr this!

After a lot of hair pulling, teeth grinding, swearing and performing sacrificial rituals to Microsoft in my back garden, I finally figured out how to render meshes correctly on top of textures (with some help from the Gamedev.net forums).

The "Create A Sim" screen

3D head being rendered in the client

As you can see, there’s still stuff to figure out, such as correct rotation and placement in 2D space. There’s also the issue of selecting the right mesh when the corresponding button is pressed, which is currently a little off. But the rendering is in place, and that’s the important thing for now.