@Nyphur wrote:
I'm converting an XNA 3.1 game over to MonoGame and have been converting/replacing old components as I encounter them, and I've got to my .X model loader. I'm wondering if there's an established way to load a .X model from a file on disk into a MonoGame Model object.
My old XNA 3.1 model loader was a dirty hack that loaded the model with SlimDX and then used reflection to stuff the data into an XNA Model object. That also involved using reflection to pull out the raw pointer to the Direct3D9 graphics device the XNA GraphicsDevice was bound to and use that to build a SlimDX graphics device, very messy business and I'd like to avoid it in MonoGame if possible.
Posts: 1
Participants: 1