I think a few people here have done some software rendering and I’m doing/attempting it for the learning experience.
I’ve had a series of revelations about 3d gfx over the past few months while working on my renderer. I was wondering if anyone else has experienced this?
-
You realize “Oh, thats why OpenGL does things that way!”
-
Then you realize that triangle drawing is about 10% of the work involved in 3d.
-
Then you realize, for a mesh it would be so much easier to just have an array of verts, an array of normals and an array texture coordinates instead of storing each value in a polygon object; ahhh vertex arrays…
Just today I was noticing that the ms3d file format stores every vertex normal multiple times, very wasteful (or maybe there’s a reason but I just haven’t had that revelation yet…)