Archived

This topic is now archived and is closed to further replies.

ZeroEffect

loading .smd files

Recommended Posts

I''m trying to set up a .smd loader for skeletal animation but I find myself constantly running into problems converting from the rhs coordinate system used in the .smd files ( half-life models and animations taken from the SDK ) to the lhs coord. system that I''ve been using with directX. Does anyone know a good way to switch the position and rotation values given in the .smd file from rhs to lhs? It seems to me that there is more involved than just negating the x-axis -- especially with rotations involved. Has anyone had any luck working with the .smd format? Thanx.

Share this post


Link to post
Share on other sites