Page 1 of 1

i have the redbook, but ....

Posted: Fri Jul 31, 2009 10:18 pm
by short
Hey guys, I have had the OpenGL Programming Guide Sixth Edition (red book) for a while. While its interesting, I'm trying to learn it with sdl. The book uses glux.

I have found a few online tutorials on how to get started (they have much different function calls) with sdl and opengl, but there doesn't seem to be a whole lot about the combination of opengl and sdl.

Where did you all learn how to integrate the two?

Re: i have the redbook, but ....

Posted: Fri Jul 31, 2009 10:36 pm
by dandymcgee
Surely your seen this but just in case:

Nehe recently starting rewriting all of his well-known OpenGL tutorials to be fully compatible with SDL:
http://nehe.gamedev.net/wiki/NewLessons.ashx

That's what I used to learn OpenGL for my first project:
http://elysianshadows.com/phpBB3/viewto ... ect#p43199

Source code is available for download. It's the first time I actually commented the majority of what I was doing and tried to keep my code organized.
Far from the best, but I suppose you might be able to use it as a rough example. ;)

Re: i have the redbook, but ....

Posted: Fri Jul 31, 2009 11:26 pm
by short
dandymcgee wrote:Surely your seen this but just in case:

Nehe recently starting rewriting all of his well-known OpenGL tutorials to be fully compatible with SDL:
http://nehe.gamedev.net/wiki/NewLessons.ashx

That's what I used to learn OpenGL for my first project:
http://elysianshadows.com/phpBB3/viewto ... ect#p43199

Source code is available for download. It's the first time I actually commented the majority of what I was doing and tried to keep my code organized.
Far from the best, but I suppose you might be able to use it as a rough example. ;)
Hot stuff!! Thank you.

Re: i have the redbook, but ....

Posted: Sat Aug 01, 2009 12:21 pm
by dandymcgee
short0014 wrote:
dandymcgee wrote:Surely your seen this but just in case:

Nehe recently starting rewriting all of his well-known OpenGL tutorials to be fully compatible with SDL:
http://nehe.gamedev.net/wiki/NewLessons.ashx

That's what I used to learn OpenGL for my first project:
http://elysianshadows.com/phpBB3/viewto ... ect#p43199

Source code is available for download. It's the first time I actually commented the majority of what I was doing and tried to keep my code organized.
Far from the best, but I suppose you might be able to use it as a rough example. ;)
Hot stuff!! Thank you.
Do me a favor (if you do happen to check out my project's source) and let me know if it's actually of any use to you. I'm not sure how easy it is for others to read and I don't want to recommend it to people if it looks like rubbish to them. ;)

Re: i have the redbook, but ....

Posted: Sat Aug 01, 2009 2:01 pm
by short
The download link doesn't work for me.

Re: i have the redbook, but ....

Posted: Sun Aug 02, 2009 3:49 pm
by dandymcgee
short0014 wrote:The download link doesn't work for me.
Strange, it works fine for me. Try typing this in your URL bar:

Code: Select all

http://www.freewebs.com/dandymcgee/physics%20project%20final.zip