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?
i have the redbook, but ....
Moderator: Coders of Rage
- short
- 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 ....
My github repository contains the project I am currently working on,
link: https://github.com/bjadamson
link: https://github.com/bjadamson
- dandymcgee
- 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 ....
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.
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!
- short
- 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 ....
Hot stuff!! Thank you.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.
My github repository contains the project I am currently working on,
link: https://github.com/bjadamson
link: https://github.com/bjadamson
- dandymcgee
- 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 ....
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.short0014 wrote:Hot stuff!! Thank you.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.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- short
- 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 ....
The download link doesn't work for me.
My github repository contains the project I am currently working on,
link: https://github.com/bjadamson
link: https://github.com/bjadamson
- dandymcgee
- 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 ....
Strange, it works fine for me. Try typing this in your URL bar:short0014 wrote:The download link doesn't work for me.
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!