There was an unexpected bug on last backup that was fixed today, the lesson: Remember to add a +1 to your string buffers for that finish character and the first element of your array is 0 not 1....
Anyway after solving that, Im successfully reading the MTL file from the OBJ so I have an array of materials, all the triangles are being drawn with the first material though, but I'll work on that tomorrow.
So far this thing renders 100% correctly models that are triangulated and that have only one material, and that material is a texture.... Not very impressive, I know, but its doing it in DirectX and that is a super jump for me right now, lol.
Yo soy Alberto y ese ha sido mi post.
Happy Codding!
Suscribirse a:
Enviar comentarios (Atom)



No hay comentarios:
Publicar un comentario