i have the redbook, but ....

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
short
ES Beta Backer
ES Beta Backer
Posts: 548
Joined: Thu Apr 30, 2009 2:22 am
Current Project: c++, c
Favorite Gaming Platforms: SNES, PS2, SNES, SNES, PC NES
Programming Language of Choice: c, c++
Location: Oregon, US

i have the redbook, but ....

Post 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?
My github repository contains the project I am currently working on,
link: https://github.com/bjadamson
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

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

Post 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. ;)
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
short
ES Beta Backer
ES Beta Backer
Posts: 548
Joined: Thu Apr 30, 2009 2:22 am
Current Project: c++, c
Favorite Gaming Platforms: SNES, PS2, SNES, SNES, PC NES
Programming Language of Choice: c, c++
Location: Oregon, US

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

Post 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.
My github repository contains the project I am currently working on,
link: https://github.com/bjadamson
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

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

Post 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. ;)
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
short
ES Beta Backer
ES Beta Backer
Posts: 548
Joined: Thu Apr 30, 2009 2:22 am
Current Project: c++, c
Favorite Gaming Platforms: SNES, PS2, SNES, SNES, PC NES
Programming Language of Choice: c, c++
Location: Oregon, US

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

Post by short »

The download link doesn't work for me.
My github repository contains the project I am currently working on,
link: https://github.com/bjadamson
User avatar
dandymcgee
ES Beta Backer
ES Beta Backer
Posts: 4709
Joined: Tue Apr 29, 2008 3:24 pm
Current Project: https://github.com/dbechrd/RicoTech
Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
Programming Language of Choice: C
Location: San Francisco
Contact:

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

Post 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
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
Post Reply