Sign in to follow this  

Fbx with DirectX 9 problem

Recommended Posts

Anddos    588
Ive included the sdk include paths to the directories
#include <d3d9.h>
#include <fbxsdk.h>
class Mesh
unsigned int vertex_count;
unsigned int face_count;
void Create ( KFbxMesh *mesh, IDirect3DDevice9 *device );
void Render ( IDirect3DDevice9 *device );
1>  stdafx.cpp
1>  dx9.fbx.cpp
1>c:\users\pc-x64\documents\visual studio 2010\projects\dx9.fbx\dx9.fbx\mesh.h(14): error C2061: syntax error : identifier 'KFbxMesh'
1>Build FAILED.
1>Time Elapsed 00:00:01.82
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========


Share this post

Link to post
Share on other sites
L. Spiro    25620

First-off you shouldn’t be working with the FBX SDK from within your actual game engine.  The Autodesk® FBX® file format is an interchange format, meaning not designed for use in games.  You should be converting it to your own format via some custom tool.


Secondly if you have the latest version it is FbxMesh, not KFbxMesh.



L. Spiro

Edited by L. Spiro

Share this post

Link to post
Share on other sites
Anddos    588

I actaully think md5 is a nice format to work with, the only problem is i can only export 1 animation so how would i make it handle more on the same model without glitchs or looking like a mess :)

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