61
Off Topic / Re: resonte dabbles in 3d code
« on: October 29, 2022, 09:42:08 AM »screwed up normals
mixed up line buffer with vertex buffer... the vertexes for the normal lines [2 vertexes] were instead being used as vertexes for faces [3 vertexes]
attempt at rudimentary lighting, comparing a light-direction vector with the normal vectors to determine brightness
instead of printing debug data on the top-left corner of the screen, it rendered it in 3d space instead and upside down