Opengl/win32

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
Dreeb
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 26
Joined: Sun Oct 25, 2009 8:00 pm

Opengl/win32

Post by Dreeb »

I read the book "C++ primer plus" and i think i am ready to move on to an api.
I am learning a bit about sdl, but i want to learn some opengl/win32.
When I looked at some tutorials it had some win32 code at the beginning, and i hear the same about directx.
So, i want to learn win32 and then opengl/directx so that i can already master some opengl parts.

Is there any good win32 beginner book for me?
And maybe a opengl beginner book, too?
User avatar
avansc
Respected Programmer
Respected Programmer
Posts: 1708
Joined: Sun Nov 02, 2008 6:29 pm

Re: Opengl/win32

Post by avansc »

there is no real reason to learn opengl and directx at the same time for a beginner.
if you want your code portable go with opengl and dont even worry about win32.

http://www.amazon.com/Tricks-Windows-Ga ... 0672313618

this book is old but will teach you win32, gdi and the likes. i think it may have some directx but probably dx7.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Dreeb
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 26
Joined: Sun Oct 25, 2009 8:00 pm

Re: Opengl/win32

Post by Dreeb »

I know, but all the code i see uses windows.
EX: http://nehe.gamedev.net/data/lessons/le ... ?lesson=01
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: Opengl/win32

Post by short »

I use nehe's tutorial's all the time. I use sdl/opengl though. It's my first time learning opengl so it's not like i'm an expert, but I just learn how to do whatever is in the winapi with sdl. You should be capable of that if you are learning opengl in the first place.

edit: or directx, or whatever
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: Opengl/win32

Post by dandymcgee »

Dreeb wrote:I know, but all the code i see uses windows.
EX: http://nehe.gamedev.net/data/lessons/le ... ?lesson=01
Try this 8-)
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches! :twisted:
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: Opengl/win32

Post by Falco Girgis »

I don't even think OpenGL is a good idea for a beginner.

Why not Allegro or SDL?
K-Bal
ES Beta Backer
ES Beta Backer
Posts: 701
Joined: Sun Mar 15, 2009 3:21 pm
Location: Germany, Aachen
Contact:

Re: Opengl/win32

Post by K-Bal »

I would always suggest SFML for a beginner because it has the most easiest API you can think of.
Post Reply