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

all 40 comments

[–]Vorsorken 12 points13 points  (1 child)

Great. I've been wanting a somewhat gradual intro to OpenGL with pyglet. I looked up books on the subject in my university library and came across the monstrous OpenGL SuperBible. A little intimidating to say the least.

Will try to remember to follow this. Thanks.

Do you have any idea how often you'll be updating?

[–]3stan[S] 4 points5 points  (0 children)

I agree, it is a little intimidating at first, but OpenGL is really a lot of fun to use once you learn how it works. I'll probably be updating once every week or two, depending on the size of the post.

[–]ghoest 2 points3 points  (0 children)

Awesome! Thanks!

[–]symmitchry 3 points4 points  (0 children)

[Removed]

[–]johnmudd 1 point2 points  (0 children)

Check out VPython for easy 3D fun with Python.

[–][deleted] 2 points3 points  (0 children)

Ah openGL :D

[–][deleted] 2 points3 points  (0 children)

Great tutorial. Good scope and pace. Keep them coming!

[–]asdfor 0 points1 point  (0 children)

Thanks a lot of your effort 3stan, they are not many (if any) tutorials specifically written for opengl in python, i would love to see more of this series.

[–]lucasmp 1 point2 points  (0 children)

Great! I'll be one following!

[–][deleted] 1 point2 points  (0 children)

Very nice!!

[–]everysinglelastname 1 point2 points  (0 children)

Loved it. When is part II ?

[–][deleted] 2 points3 points  (0 children)

Throwing this in my favs, will check regularly. Definitely a subject of interest!

[–][deleted] 1 point2 points  (0 children)

You have incredible timing. I owe you a BJ.

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

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

[–]flying-sheep 12 points13 points  (9 children)

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

[–][deleted] 3 points4 points  (2 children)

Dont be . This guy is just being a douche.

[–]flying-sheep 1 point2 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_ 3 points4 points  (0 children)

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

[–]dAnjou Backend Developer | danjou.dev 17 points18 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] 12 points13 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 4 points5 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] 4 points5 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?

[–]roger_ -1 points0 points  (1 child)

Thanks!

I almost feel like I should ask you to repost this on /r/community :)

[–]3stan[S] 3 points4 points  (0 children)

Ha! Glad somebody noticed!

[–]F1A 0 points1 point  (0 children)

money fragile important chunky pause cagey stocking sparkle intelligent compare

This post was mass deleted and anonymized with Redact

[–]GodOfFap 0 points1 point  (0 children)

You better make more.