visual studio - How to compile and use FBX model files with VS2012? -


i'm using direct3d 11 , visual studio 2012.

i've read vs2012 can automatically compile fbx files during build phase, similar hlsl files. haven't been able find documentation on how this, though. build action set fbx files?

also, function or functions should on msdn / google relate loading compiled fbx file? tutorial or stackoverflow link, etc, work. have nothing go on @ moment, don't know google for. searches haven't turned anything.

i'm trying transition rendering manually defined cube rendering cube, or model, loaded external model file.

thanks

you can add build customizations read fbx files asset pipeline, if want load them @ runtime, need build vertex , index buffers yourself. here relevant msdn page on loading , using 3d models, , reads:

direct3d 11 not provide functions creating resources 3-d models. instead, have write code reads 3-d model file , creates vertex , index buffers represent 3-d model , resources model requires—for example, textures or shaders.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -