N
N
naka2122016-04-11 19:48:42
3D
naka212, 2016-04-11 19:48:42

How to load a finished 3D model (from .obj) into a program using DirectX (C++)?

Good evening, actually there was a need to upload a finished 3D model (from .obj). I use C++, VS2015 and DirectXTK libraries. The CreateFromSDKMESH function coped with the example posted on the page https://github.com/Microsoft/DirectX...dering-a-model (in .sdkmesh I converted everything from the same page with MeshConvert). But when trying to load models (.obj+.mtl+(.jpg+..)) from other sources, MeshConvert copes, but an error appears in the program when importing the model. Maybe someone is familiar with this toolkit or knows another way to download, acceptable for a beginner-lover. I really hope for your help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Makarov, 2016-04-11
@naka212

Take a look at https://github.com/syoyo/tinyobjloader - at a glance it seems to be a workable lib.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question