Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

shakazed

OpenGL Mmmm OpenGL

This topic is 5459 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
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!"

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Just so you know, OpenGL cannot be used instead of DirectX.. losing DirectX would lose you DirectSound, DirectInput, DirectPlay... OpenGL only goes graphics. You might want to look into SDL, OpenAL, things like that as well

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!