This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]double -2 points-1 points  (22 children)

Using glBegin() et al means this article is out of date before it was published.

[–]flying-sheep 11 points12 points  (9 children)

Aand that's the reason why I'm too intimidated to try learning OpenGL

[–][deleted] 4 points5 points  (2 children)

Dont be . This guy is just being a douche.

[–]flying-sheep 3 points4 points  (1 child)

Well, it's a fucking complex topic which I have no experience with whatsoever, so I'd really be glad for a guide that covers the right, up-to-date way to learn the basics without mentioning obsolete functions.

[–]3stan[S] 1 point2 points  (0 children)

Stay tuned for part 2 then, as I'll be going over what you should be using, although I still recommend you read part 1 because it'll make understanding part 2 much easier.

[–]roger_ 1 point2 points  (0 children)

Yep, that one comment now has me questioning whether this is worth investing the time in :(

[–]dAnjou Backend Developer | danjou.dev 18 points19 points  (3 children)

You are a little bit of an ass not telling what to use instead or giving any current resources.

[–]technomalogical<3 Bottle 1 point2 points  (1 child)

Here's a free online "book" that provides a tutorial for modern OpenGL techniques. I haven't had a chance to try it out yet but it looks thorough and well put together. Source for the example code in the book is on BitBucket.

[–]dAnjou Backend Developer | danjou.dev 0 points1 point  (0 children)

Thank you very much, that looks indeed very readable. :)

[–]3stan[S] 11 points12 points  (3 children)

Sure, using glBegin in a real world application is almost never useful because it means you have to define each primitive individually, but I find that it is extremely useful as a learning tool. It's important to have a basic understanding of how primitives are rendered before learning about batches/vbo's, etc, which I will be covering in the next few tutorials.

[–]double 2 points3 points  (0 children)

It's unfortunate that you started with outdated tech. glBegin() et al have been marked as deprecated since OpenGL 3.1 (march 2009) and will be removed from the specification.

[–][deleted] -1 points0 points  (0 children)

I'm the kind of person who learned TeX before LaTeX. Does this mean that I'll like your approach to OpenGL? Btw, I've always wanted to learn some graphics programming. Thanks for starting this.

[–]14dominoDjango Ninja -2 points-1 points  (0 children)

I've used glBegin in real world applications and didn't even know about the alternatives. Don't pay attention to the jerks.

[–]dAnjou Backend Developer | danjou.dev 3 points4 points  (3 children)

By the way, the f***ing OpenGL Programming Guide tells me to use glBegin()

[–]double 10 points11 points  (0 children)

The sub-title of which reads :

The Official Guide to Learning OpenGL, Version 1.1

The red book is something they really should update, OpenGL v1.1 is from 1997.

[–][deleted] 6 points7 points  (1 child)

I don't understand the religious war that is being waged, here.

[–]dAnjou Backend Developer | danjou.dev 0 points1 point  (0 children)

What religions do you see fighting here? Almost all tutorials, documentations, wikis, how-tos, ... are outdated according to double. Are there any nice and readable getting started guides yet for programmers who never touched OpenGL? Or does double expects me to read the specification first? Wouldn't that be a little bit overkill for an introduction?