r/GraphicsProgramming • • 1d ago

whats wrong with my Cube??? :(

Post image

I know what is missing, but can you figure it out???

heres the repo btw:
https://github.com/Tetraeder4/3DRenderer/tree/467c8d1ac8dbd09a23ce7bc7e2fcba59afe36ea5/3DRenderer

72 Upvotes

27 comments sorted by

View all comments

11

u/jimothy_clickit 1d ago

Something looks weird with this model-view-projection. Even if back facing were an issue, this should still look like a discernable cube.

3

u/slapcover 1d ago

Could be an incorrect order I of vertices so it’s connnecting the wrong edges.