• Advertisement
Sign in to follow this  

What open source 3ds max to direct3d exporter are available?

This topic is 1765 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement

This is because the Direct3D scene file format does not support cameras. If you really need lights and cameras, I suggest looking into the Collada file format. FBX might also support this, but I'm not sure.

Share this post


Link to post
Share on other sites

I'm not sure exactly which formats you are looking for, but AssImp might have what you need.

Share this post


Link to post
Share on other sites

Keep in mind that the ".x" format isn't the only format that can be used with D3D... D3D itself doens't directly support any file formats! The ".x" format is implemented in D3DX, the helper/utility layer.

 

Using ".x" and D3DX is basically the same as using ".dae" and Assimp, or ".fbx" and the FBX SDK, etc, etc...

 

Personally, I'd use a format that's built into Max, like collada or FBX.

Edited by Hodgman

Share this post


Link to post
Share on other sites

This is because the Direct3D scene file format does not support cameras. If you really need lights and cameras, I suggest looking into the Collada file format. FBX might also support this, but I'm not sure.

 

how would you load the models with c++?

Share this post


Link to post
Share on other sites

how would you load the models with c++?

By reading what others already wrote in this thread.

Share this post


Link to post
Share on other sites

I need to combine a Camera position vector and a Camera orientation Quaternion into a view matrix.

How do I achieve this? I have been scratching my hair for a long time. These are provided by the collada and IGame exporter.

Thanks

Jack

Share this post


Link to post
Share on other sites

Convert the quaternion to a rotation matrix, then concatenate a translation matrix to it. Whatever programming language and math classes you are using will already provide a means to do this.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement