As for OpenGL, the book I learned from was the Red Book:
http://www.amazon.com/OpenGL-Programming-Guide-Official-Learning/dp/0321552628/ref=pd_bxgy_b_img_b.
The reviews point out, rightfully, that it's a bit antiquated, but so
is Penumbra (for now, anyways).
I've gotten this same question a few times, though. Maybe I should
write a few thousand words and put it up on the wiki. Are there any
specific topics you're shaky on?
Zach
I'm pretty sure the book I mentioned was about GLSL, the OpenGL shader
language. It can be found at
http://www.amazon.com/OpenGL-Shading-Language-Randi-Rost/dp/0321637631/ref=sr_1_1?s=gateway&ie=UTF8&qid=1285350629&sr=8-1
As for OpenGL, the book I learned from was the Red Book:
http://www.amazon.com/OpenGL-Programming-Guide-Official-Learning/dp/0321552628/ref=pd_bxgy_b_img_b.
The reviews point out, rightfully, that it's a bit antiquated, but so
is Penumbra (for now, anyways).
I've gotten this same question a few times, though. Maybe I should
write a few thousand words and put it up on the wiki. Are there any
specific topics you're shaky on?
Zach
I would just like to be able to draw a 2D circle on the screen, but I
found just that to be pretty difficult. It seems like there is tons
of set up and study as a prerequisite. Maybe it's because OpenGL is
built for 3D and you need to know what you can throw out.
Here is my request: Could you write a tutorial to draw a 2-D circle,
explain the initialization step in excruciating detail, explain the
flow of control in the compute-display-compute-display loop, how
"state" is managed with the "world hash" and what the world hash is
for, and how the graphics card's state comes into play, and explain
the deal with the Cameras (Ortho2D view). Sorry, that's a big
mouthful of a run-on sentence, but that mouthful pretty much describes
my current state of discombobulation.
Anyway, thanks a lot for your help. Hope what I just wrote made some
sense. Just let me know if it doesn't.
Cheers,
David :)
Incidentally, I'll be at Clojure Conj, and might be able to give an
impromptu lecture on the subject if there's space and interest.
Zach
On Fri, Sep 24, 2010 at 11:39 AM, David Beckwith
BTW, in what hotel are you guys staying? I just want something
nearby, cheap and with internet.
@D. Nolen: I'm definitely book-marking that. Thanks!
David :)
I'll be going to ClojureConj too. I'd be interested in attending the
Penumbra session.
It's been almost impossible to read, like 700-odd pages of wandering,
unedited blog text. Maybe the publisher cut editing short so they
could be first to market? The sample code at the website might be
useful to you, though. Their basic idea was to provide utility
classes to approximate the old, fixed pipeline for the first few
chapters, then progressively phase in the new stuff. Taking apart
helper software can be a great learning shortcut because it's simple
but usually still idiomatic.
A penumbra session would be cool. I'd be surprised if there wasn't a
lot of interest. Something about the idea of controlling 3D graphics
from a REPL is very appealing...
-Jed