Skip to main content
GameDev.net gamedev.net
🔒 Locked

Mmmm OpenGL

Started by shakazed Aug 11, 2003 at 6:31 AM 9 replies 650+ views
Original Post
shakazed
shakazed
I´ve been tempted using OpenGL instead of DX so I´m buying the book "OpenGL Game Programming". Saw it got some good reviews. Just wanted to ask how it teaches you opengl game programming. Does it start out with making alot of classes that you then use to handle things or does it just show you the commands and stuff? Don´t really like books that assume you want to use classes, because I just want to learn the syntax and decide myself how I would implement it.
Bad Monkey Productions
Pipo DeClown
Pipo DeClown
Gave up on DirectX?
Well personally, I hate book-classes like the ones in Jim Adams ''Programming Role-Playing Games with DirectX 8.0''. But if anyone wants to program games without having to design one for a year, classes seem like the only solution. It''s also easier to manage your projectfiles with classes.

I didn''t answer your question.

.lick
ShlomiSteinberg
ShlomiSteinberg
OpenGL Programming Guide (Red book) teaches you OpenGL without any classes. It is a good book and is availiable on-line for free. But Pipo DeClown is right, you will have to use classes later.

"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"
Member of the Shove Pouya Off A Cliff club, SPOAC. (If you wish to join, add this line to your signature.)Member of "Un-Ban nes8bit" association, UNA (to join put this in your sig)
GamerSg
GamerSg
No it uses glut which is a great library for handling tasks such as creating a window which can take a few hundred lines of win32 code. The reason why it uses glut is for the following reasons.

1) The code will be portable to many platforms supported by glut.

2) The book''s purpose is to teach u opengl syntax and not the huge amount of code required to create a window in all the platforms.

3)It is way simpler for ppl new to GL to pick up the language as they can bypass the window creation and focus on the api itself.
Zapata
Zapata
quote:
Original post by ShlomiSteinberg
OpenGL Programming Guide (Red book) teaches you OpenGL without any classes. It is a good book and is availiable on-line for free. But Pipo DeClown is right, you will have to use classes later.



i think he's talking about the book by prima tech (OpenGL Game Programming), not the red book (OpenGL Programming Guide).

my oppinion: if you want to learn OpenGL, buy this book. first you learn basics without classes, but in the third part you start using classes because all the book taught you so far is build into a simple engine (and try to code an engine without objects..)

btw, the files on your homepage are infected ...

[edited by - Zapata on August 11, 2003 9:32:24 AM]
shakazed
shakazed
Heh yeah I know, I alwyas forget to delete them, will do it now. I´ve ordered the book now Seems like a good place to start. /me is of to delete some files
ShlomiSteinberg
ShlomiSteinberg
quote:
Original post by Zapata
quote:
Original post by ShlomiSteinberg
OpenGL Programming Guide (Red book) teaches you OpenGL without any classes. It is a good book and is availiable on-line for free. But Pipo DeClown is right, you will have to use classes later.



i think he''s talking about the book by prima tech (OpenGL Game Programming), not the red book (OpenGL Programming Guide).

my oppinion: if you want to learn OpenGL, buy this book. first you learn basics without classes, but in the third part you start using classes because all the book taught you so far is build into a simple engine (and try to code an engine without objects..)

btw, the files on your homepage are infected ...

[edited by - Zapata on August 11, 2003 9:32:24 AM]



Yeah, I know. I was just suggesting a book .


"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"
Member of the Shove Pouya Off A Cliff club, SPOAC. (If you wish to join, add this line to your signature.)Member of "Un-Ban nes8bit" association, UNA (to join put this in your sig)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.