ssloy / tinyrenderer

A brief computer graphics / rendering course
https://github.com/ssloy/tinyrenderer/wiki
Other
20.73k stars 1.99k forks source link

output TGA files are not 100% valid #110

Open bigral opened 2 years ago

bigral commented 2 years ago

It seems generated TGA files can not be opened with "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\Microsoft\VsGraphics\vsgraphics.exe" output.tga command, however existing TGA examples are compatible with this utility.

I have generated output.tga (wireframe mesh head) with code checked out with label - chapter #1. This generated file opens with online TGA viewer here: https://products.groupdocs.app/viewer/total but vsgraphics.exe utility fails... why?