Sign in to follow this  
lucky6969b

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

Recommended Posts

Schrompf    1035

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
Hodgman    51234

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
Anddos    588

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
lucky6969b    1330

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
Schrompf    1035

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this