pinterrm – HW2
I spent the majority of my time on this assignment on figuring out exactly how to draw magnets to the screen. Mostly because I was still stuck in a modeling state of mind and this lead to the thinking that I should upload every vertex as a 3d model of sorts in the orthographic projection to see in 2d. After many failed attempts I realized the simplicity of uniforms and very few vertices loaded on the gpu.
After this hurdle was overcome, adding the magnet logic was fairly straightforward – I ended up writing additional Vector4 operators (just plus and minus) to help aid in computation.