This project is read-only.

How to intergrate SdkMesh or X model into GeometryDX11

Feb 20, 2014 at 2:05 PM
Edited Feb 20, 2014 at 2:06 PM
Hi again,
I'm trying to load some SdkMesh and X models, but the format of such kinds of model seems different from others. I can't find Vertex Format, and vertex attributes such as position, normal and tangent in these files. So I think it's hard to map with the current design of GeometryDX11 class since the GepmetryDX11 class requires us to add vertex and Vertex Elements one by one.
Could you suggest me some way to intergrate these file formats into your engine.
Thanks in advance :)
Feb 21, 2014 at 11:59 PM
I just wrote another class GeometryDX11 which take direct IDX11Buffer input such as vertex buffer, index buffers, and I also set addition parameters such as vertex count, vertex size, index size directly. This solution works
Marked as answer by khanhhh89 on 2/21/2014 at 4:00 PM
Feb 25, 2014 at 2:48 AM
Thanks for posting the solution. Is there a specific example situation that requires you to use the SdkMesh? I am planning to eventually add an AssImp importer, but I haven't taken that step just yet...