1)structTGA_Header{charidlength;charcolormaptype;chardatatypecode;shortcolormaporigin;shortcolormaplength;charcolormapdepth;shortx_origin;shorty_origin;shortwidth;shortheight;charbitsperpixel;charimagedescriptor
[1] 完整实现: https://github.com/skychx/toyRenderer/blob/d31afbe91a140b95cef735776d13bca2dd7a5567/tinyrenderer/main.cpp#L20 [2] 原英文教程: https://github.com/ssloy/tinyrenderer/wiki/Lesson-1-Bresenham%E2%80%99s-Line-Drawing-Algorithm#wireframe-rendering [3] ...