for whatever reason, i have to put 'shields down' on Brave for it to work now. and also enable autoplay of media in the address bar! things have moved on since I wrote it...
Anton Gerdelan
Creator of
Recent community posts
Hi Vinay, thanks for buying Crongdor!
I just tried at and got the same result - weird!
If you look in the games installed files you should find it as "crongdor_src.zip" under "Steam\steamapps\common\crongdor\".
I hope that works!
I'll see if there's a steam partner button to fix the download link. Thanks for pointing that out!
Anton
Hi nelzy!
Yes to both questions - here is the table of contents https://antongerdelan.net/opengl/book_TOC.html
You might also find this useful (or making your own as you go) https://antongerdelan.net/teaching/3dprog1/maths_cheat_sheet.pdf
Here is the latest version of my own maths library (an older version is built up in the book). I'd highly encourage everyone to build up (and test/compare) their own mini maths library code as you go - best way to learn the mathematics. https://github.com/capnramses/apg/tree/master/apg_maths
Reference code from the book is here https://github.com/capnramses/antons_opengl_tutorials_book - which might give you a preview of the shadows and transformations.
Since the book is older now - more up-to-date tips:
* Default to starting with 'OpenGL 4.1 Core' - that should work on most machines these days. You'll see this as 3 separate calls to 'window hints' to give before opening a window/context with the GLFW library.
* I think it mostly holds up over time. You might find some of the build instructions need an update - I've made some updates to the `ReadMe.md` on GitHub to help there, and I have some open Issues to update it further when I have time. Ignore any older 32-bit build stuff, of course.
* If I were to write it again now I wouldn't use C++ at all - just C since it's a C API (graphics was almost all C++ at the time).
* The most common cause of issues in new OpenGL users is make programs comprised of lots of classes that don't reflect how the OpenGL global state works, so I'd encourage sticking to C functions that are easy to follow the flow of control and debug OpenGL state changes.
* Please overlook any cringe comments that I wrote in 2011!
hope that helps!
Anton
Hi Eugene,
Thanks for the compliment on the book! I'm not sure about payments from Russia. I understand many companies have blocked sales/presence. Right now the book is on Itch and Amazon. Do you know of other sites/payment options/purchase method that allow purchases?
I haven't done any translations, but that's an interesting idea - probably more for future work than for this book, since it's pretty old now.
Unfortunately I can't authorise an unofficial translation because that would put my copyright at risk.
If you're looking for a completely free alternative - check out https://learnopengl.com/. There is also a Russian translation. The tutorials there have gotten pretty extensive. There wasn't much online anywhere for OpenGL 4 when I wrote mine. I think the only extra recommendation I would make is to write your own mathematics functions, rather than using a library. You can build up a library slowly, and it really helps to understand the mathematics. Here is a cheat-sheet I wrote many years ago https://antongerdelan.net/teaching/maths_cheat_sheet.pdf
I hope that _somewhat_ helps! Best of luck with adventures in 3D graphics!
Anton
Hi all! Today I wrote a blog post about using the map editor, with some information about how it was designed: http://crongdor.com/2016/06/19/how-the-map-editor-works-in-crongdor/
Thanks everyone for voting on the Steam Greenlight page! It got Greenlit, and I'm working on integration with the Steam API and doing some bug fixes and improvements for v1.3. There seems to be some interest in dissecting the game and doing some insight/tutorial videos or written bits so I'll be looking at that next! I'll make sure that I can get Steam keys for itch.io customers.
My friend Andrea set up a facebook page over here: https://www.facebook.com/AntonsOpenGL/. I believe it's mostly just a traffic director as it gets a few hits but not comments! I haven't looked at Vulkan yet. I want to see how it catches on across different operating systems and if there's interest in the indie/student area first. I think my next project will be dissecting my video game with some videos/tutorial type stuff as there seems to be plenty of interest there. I'm just finishing the Steam build at the moment. Good luck.
I uploaded edition 7, which fixes previously listed errata (http://antongerdelan.net/opengl/book_info.html), and has better general advice sections in the Preface and Extended Init chapter.
I've also put a Compute Shaders extra tutorial on my website http://antongerdelan.net/opengl/
released! details here: http://crongdor.com/2016/03/27/version-1-2-released/
hi dot(n,l)!
the only on-line reader browser app is Amazon's cloud service - perhaps i misworded something on my website? i would like to have a PDF but i don't at the moment.
short story: it's too much work to get it to format to the same standard.
long story: i painted myself into a corner a little. the book started as a little experiment with self-publishing on amazon and i never expected it to be so popular! the original is in a [not very pleasant] subset of HTML that amazon's kindlegen tool required in an early version (this is also why there are no properly-formatted tables). it was not too much trouble to convert that to a nice epub and mobi, but of the pdf conversion tools i've tried the formatting of layout things like margins and table of contents is not to a high enough standard and/or it takes too long. i had a foray into making a tool that would reformat all the HTML into the equivalent LaTeX but it also ended up taking too long to justify [pun intended]. certainly, it's possible to use something like Calibre to convert the epub to a pdf if you like, but you'll see it's not quite formatted well enough for me to upload as a finished product! i'll take any suggestions for a better/quicker conversion pipeline that people can throw at me!