0

I recently started learning Direct3D. Wrote my first program to read and display content from an .obj file. There was a problem processing the texture. It doesn't display correctly. What's my mistake?

Link to my program and test model - https://drive.google.com/file/d/1XtolMahZBEzXaIRDNrV19kGY9ISeMXar/view?usp=sharing

Correct display Wrong display

I tried to read the model manually, without using loops, the result was the same.

Dayer
  • 1
  • If you start with DirectX , you should go for DirectX11 or 12 instead. Just saying – Simon Mourier Aug 31 '23 at 17:37
  • It seems your `Direct3DVertexBuf` has some problem. See [the simpler sample](https://github.com/hajimehoshi/directx-test/blob/169bed0848621214eb57a60893c2e5fa74d43eed/directx-test/device.cpp#L47). – YangXiaoPo-MSFT Sep 01 '23 at 02:01
  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Sep 01 '23 at 07:00

0 Answers0