Re:Learning Modern 3D Graphics Programming
by frankc on Wednesday November 30, 2011 @11:23AM
(#3295546)
Could anyone recommend something similar for 2D programming in opengl, or anything else, or would that be covered in this tutorial? I'm mostly interested in building custom data visualizations beyond what is offered in the kind of visualization libraries I use like ggplot2.
[ Parent
| on HN ]
Re:Learning Modern 3D Graphics Programming
by Rusky on Wednesday November 30, 2011 @12:17PM
(#3295794)
You can do 2D just fine with what's in this tutorial - just set up an orthogonal projection and ignore the z-axis. It won't give you what ggplot2 does, but if you just need a way to draw 2D shapes, it will work.
Re:Learning Modern 3D Graphics Programming
by frankc on Wednesday November 30, 2011 @01:49PM
(#3296233)
Thanks, this is what I was looking for. I understand completely that ggplot2 is a much higher level abstraction of graphics. I want to build my own abstractions from first principles, but though I have a lot of programming experience, I have essentially zero experience with programming graphics from the ground up. It sounds like this will be a good place to start.