system — 2010-01-15T01:18:10-05:00 — #1
dan_grossman — 2010-01-15T02:08:17-05:00 — #2
It's a binding to OpenGL, so maybe you should start by learning OpenGL. For that, you'll be using C/C++. You don't generally write 3D graphics in anything else as performance is an issue.
system — 2010-01-15T11:11:15-05:00 — #3
Thanks for the response. I was sort of thinking it might be C or C++. Does it really matter which one? I bought a book on C++ at one point, but it was really basic stuff (nothing graphic-wise) and I never got very far because I started something else. I assume just straight up getting a book on OpenGL would be my best bet then?
If performance is an issue with other languages, would there be possible concerns with using WebGL as opposed to a plugin like Google's O3D?
felgall — 2010-01-15T14:00:42-05:00 — #4
It depends on what style of programming you intend to use. If you want to use procedure oriented programming then you'd use C and if you want object oriented programming you'd use C++.
Basically C is a subset of C++ with C++ adding the necessary extra syntax to allow it to be used for OOP.
super_eggbert — 2010-01-15T14:47:11-05:00 — #5
system — 2010-01-15T15:21:22-05:00 — #6
I've always had issues with OOP. I had to take "Intro to Programming" my freshman year in college, which was a Java class and the 2nd half of the semester was all OOP. Since all I've ever done was procedural with PHP, it gave me problems trying to wrap my head around it.
Thanks, I'll check out GLSL.