Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: A Good Learning Resource for OpenGL 3.3

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2012
    Posts
    4

    A Good Learning Resource for OpenGL 3.3

    Hello everybody.

    I would like to learn OpenGL. The situation is this: I would like to use either C++ or C# as my language, but I prefer the former as I'm yet fairly new to C#. My current system supports OpenGL 3.3, so that is what I would like to learn.

    I had already acquired a book: The OpenGL Superbible 5th Edition.

    I have never seen such a poorly written, horrible excuse for a book! The examples don't compile, and apparently it's not my fault - I've done my research and many people are having the same problems. Looks like all examples past chapter 9 or so are broken. There are no updated sources either. Almost 1/3 of the book is the OpenGL 3.3 Man Pages, which can be found online for free. But what I really hate about the book is that it's using a wrapper library and all the author does is teach you through this wrapper library - because apparently he is assuming that everybody is too stupid to handle actual OpenGL functions.

    Honestly, OpenGL.org should not list this book as a learning resource. You're helping the author scam people out of their money.

    I am very eager to learn OpenGL, however I have a hard time finding a good book. I have found this online tutorial, apparently 3.3 even, but I'm afraid it mentions it's not really a tutorial on OpenGL.

    I would greatly appreciate any pointers

  2. #2
    Senior Member OpenGL Lord
    Join Date
    May 2009
    Posts
    6,031
    You're helping the author scam people out of their money.
    That's rather harsh. It does (eventually) teach you what goes on behind those wrappers.

    I have found this online tutorial, apparently 3.3 even, but I'm afraid it mentions it's not really a tutorial on OpenGL.
    Exactly. It's a book on graphics programming that uses OpenGL.

    A true OpenGL book would be obligated to cover most if not all OpenGL functions and behaviors. This book is an introduction to graphics programming through OpenGL. As an intro textbook, it won't cover some of the more esoteric stuff, like transform feedback, occlusion culling, and the like.

    However, unless you already know 3D graphics programming, and are just looking for how to implement this stuff in OpenGL (for example, if you learned D3D and are looking for something more cross-platform), it's still a book that would be useful to you. After all, what do you really want to know? What functions to put into some order to make something happen on screen? Or why putting those functions in that order causes that particular thing to happen on screen?

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Apr 2010
    Location
    Germany
    Posts
    1,135
    I have never seen such a poorly written, horrible excuse for a book!
    And how many books on graphics programming have you read? Since when do examples that don't compile automatically degrade the rest of the book to garbage?

    You're helping the author scam people out of their money.
    Actually, the 7th revision of the Red Book, which is "The Official Guide to Learning OpenGL" and the lastest revision available, is as expensive and offers a major glance into completely obsolete OpenGL constructs. You decide which investment may be more future proof. However, this is not to say that information in the 7th Red Book which is not dependent on any GL revision isn't valuable.

    But what I really hate about the book is that it's using a wrapper library and all the author does is teach you through this wrapper library - because apparently he is assuming that everybody is too stupid to handle actual OpenGL functions.
    The authors of the book are experienced in writing, graphics programming and are quite some names in the field of OpenGL so I don't think they would overlook infantilizing their readers. Providing helper libraries is not to constrain the user but to help getting started quickly and don't starve the reader while introducing tons of theory before rendering the first polygon. Also, if you want to implement test objects which are core GL 3.3 compliant yourself without any knowledge of how to do it, go ahead - have fun.

    Anyway, in time, I think every experienced GL programmer's primary sources of information are the specifications and the derived online reference pages.

  4. #4
    Junior Member Newbie
    Join Date
    Jun 2012
    Posts
    4
    Quote Originally Posted by Alfonse Reinheart View Post
    However, unless you already know 3D graphics programming, and are just looking for how to implement this stuff in OpenGL (for example, if you learned D3D and are looking for something more cross-platform), it's still a book that would be useful to you. After all, what do you really want to know? What functions to put into some order to make something happen on screen? Or why putting those functions in that order causes that particular thing to happen on screen?
    This is a very good point, it would probably be very beneficial for me to learn the foundations of it all. Maybe then I can make my way through the superbible as well. Thanks

    Quote Originally Posted by thokra View Post
    And how many books on graphics programming have you read? Since when do examples that don't compile automatically degrade the rest of the book to garbage?
    This is a product, and it is incomplete and faulty. Would you pay for a car if you knew it would fall apart after 9 miles? The broken examples are not the problem, the problem is that the authors don't care enough to fix them. Surely someone who has "quite some name in the field of OpenGL" could fix the mistakes he made in a few source files? While googling I came across a lot of threads where other people too were desperately trying to fix the (apparently butchered) code. My point simply is that we, as paying customers, should not have to do their editorial job. Some of the function calls in the book listings don't even match the source code files. Apart from that, this book is still bad even in it's own right. The fact that they're teaching through their own wrapper is simply a let down. Not to mention the wrapper is almost impossible to port to a compiler like gcc, despite the authors claiming its simple implementation makes it highly portable (seems more like an excuse to have a poorly written wrapper). I'm sorry but there is no way you can defend this book. I'm not saying it doesn't teach you anything at all, however it's like drinking water out of a bottle that's leaking on every side.

  5. #5
    Senior Member OpenGL Pro
    Join Date
    Apr 2010
    Location
    Germany
    Posts
    1,135
    The broken examples are not the problem, the problem is that the authors don't care enough to fix them.
    Did anyone try to notify Richard Wright about broken codesamples? Did you try?

    Apart from that, this book is still bad even in it's own right. The fact that they're teaching through their own wrapper is simply a let down.
    Using a wrapper library has nothing to do with the quality of the information in the book.

    Not to mention the wrapper is almost impossible to port to a compiler like gcc, despite the authors claiming its simple implementation makes it highly portable (seems more like an excuse to have a poorly written wrapper).
    Again, a problem that should be seperate criticism and not be misused to slam over 1000 pages without any mercy.

    I'm sorry but there is no way you can defend this book.
    Yes I can. I'll see for myself if your complaining about code samples is valid by downloading the code from here and trying to get it to run. We'll see.

  6. #6
    Junior Member Newbie
    Join Date
    Jun 2012
    Posts
    4
    Quote Originally Posted by thokra View Post
    Did anyone try to notify Richard Wright about broken codesamples? Did you try?
    Ask these reviewers. It would be impossible for the authors to be unaware of this for 2 years now.


    Quote Originally Posted by thokra View Post
    Using a wrapper library has nothing to do with the quality of the information in the book.
    It has something to do with hiding the useful information behind a layer. We need goodput.



    Quote Originally Posted by thokra View Post
    Again, a problem that should be seperate criticism and not be misused to slam over 1000 pages without any mercy.
    ~600.


    Quote Originally Posted by thokra View Post
    Yes I can. I'll see for myself if your complaining about code samples is valid by downloading the code from here and trying to get it to run. We'll see.
    http://www.opengl.org/discussion_boa...n-example-woes

    Look, I'm not here to bash your favorite book, and I'm not operating on hearsay or an individual problem. Others are having problems with this book as well. Feel free to try and help, I would love that. If you do manage to compile all examples with no error, then I'm sure many people would be very grateful if you share the fixed code.
    Last edited by kOrsanX; 06-14-2012 at 04:31 AM.

  7. #7
    Senior Member OpenGL Pro
    Join Date
    Apr 2010
    Location
    Germany
    Posts
    1,135
    ~600.
    I cited my favorite online store which states 1008 pages.

    Look, I'm not here to bash your favorite book[..]
    It isn't. I just feel that the book isn't treated fairly.

    Feel free to try and help, I would love that. If you do manage to compile all examples with no error, then I'm sure many people would be very grateful if you share the fixed code.
    As soon as I get home from work, I'll use the SVN version of the examples and check it out.

  8. #8
    Junior Member Regular Contributor Kopelrativ's Avatar
    Join Date
    Apr 2011
    Posts
    214
    In some ways, the criticism of the superbible is correct. Using wrapper libraries has two disadvantages: It makes it harder for beginners to "see through", and it makes it harder to copy the source code as you either will have to use the same wrapper library or create one of your own with similar functionality.

    I read the book, from start to end, and I learned a lot from it. Possible, it is not the first thing you should read. In my case, I didn't download or try to compile any source. The important thing I learned was the functionality that is possible, and the general way of using it. From that, it was fairly easy to adapt in your own application.

  9. #9
    Junior Member Regular Contributor
    Join Date
    May 2012
    Posts
    100
    I've not tried the code samples in the book, as I usually write my own while learning. However, I consider the OpenGL Superbible is way better than the OpenGL old testament AKA "the red book."

  10. #10
    Junior Member Newbie
    Join Date
    Jun 2012
    Posts
    4
    Quote Originally Posted by Janika View Post
    the OpenGL old testament AKA "the red book."
    lol nice one

    Quote Originally Posted by thokra View Post
    As soon as I get home from work, I'll use the SVN version of the examples and check it out.
    thokra did you have any success?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •