Page 1 of 1

Opengl/win32

Posted: Mon Nov 02, 2009 9:53 am
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?

Re: Opengl/win32

Posted: Mon Nov 02, 2009 10:50 am
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.

Re: Opengl/win32

Posted: Mon Nov 02, 2009 11:53 am
by Dreeb
I know, but all the code i see uses windows.
EX: http://nehe.gamedev.net/data/lessons/le ... ?lesson=01

Re: Opengl/win32

Posted: Mon Nov 02, 2009 1:15 pm
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

Re: Opengl/win32

Posted: Mon Nov 02, 2009 7:39 pm
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-)

Re: Opengl/win32

Posted: Tue Nov 03, 2009 2:11 pm
by Falco Girgis
I don't even think OpenGL is a good idea for a beginner.

Why not Allegro or SDL?

Re: Opengl/win32

Posted: Tue Nov 03, 2009 2:23 pm
by K-Bal
I would always suggest SFML for a beginner because it has the most easiest API you can think of.