Live data from Hacker News

Glitter – Dead-simple boilerplate for OpenGL

github.com

1–10 of 18 posts

Re: Glitter – Dead-simple boilerplate for OpenGL

#2
To help improve my OpenGL/graphics knowledge, I've started going through GPU Gems ( https://a248.e.akamai.net/f/248/10/10/http.developer.nvidia.... ) and building my own examples of the concepts in each chapter. I was very happy to find Glitter recently, as it made the obnoxious hurdle of setting up all the dependencies unnecessary.

Also, setting up Glitter was what led me to finally "getting" what CMake was for and how it fit into a development pipeline.

Re: Glitter – Dead-simple boilerplate for OpenGL

#5

To help improve my OpenGL/graphics knowledge, I've started going through GPU Gems ( https://a248.e.akamai.net/f/248/10/10/http.developer.nvidia.... ) and building my own examples of the concepts in each chapter. I was very happy to find Glitter recently, as it made the obnoxious hurdle of setting up all the dependencies unnecessary. Also, setting up Glitter was what led me to finally "getting" what CMake was for and…

Yeah, CMake is a bit of a complicated beast to "learn" so to speak. I spent a fair number of hours pulling my hair out trying to get it working.

This is the result! Hope you find it helpful!

Re: Glitter – Dead-simple boilerplate for OpenGL

#7

To help improve my OpenGL/graphics knowledge, I've started going through GPU Gems ( https://a248.e.akamai.net/f/248/10/10/http.developer.nvidia.... ) and building my own examples of the concepts in each chapter. I was very happy to find Glitter recently, as it made the obnoxious hurdle of setting up all the dependencies unnecessary. Also, setting up Glitter was what led me to finally "getting" what CMake was for and…

Yeah, CMake is a bit of a complicated beast to "learn" so to speak. I spent a fair number of hours pulling my hair out trying to get it working. This is the result! Hope you find it helpful!

Is there a particular reason you choose to explicitly add CXX flags ('-std=c++11') over CMake's compiler feature support? The later is, in principle, more portable and future proof than hardcoding the flags.

Re: Glitter – Dead-simple boilerplate for OpenGL

#8

Earlier quoted context omitted.

Yeah, CMake is a bit of a complicated beast to "learn" so to speak. I spent a fair number of hours pulling my hair out trying to get it working. This is the result! Hope you find it helpful!

Is there a particular reason you choose to explicitly add CXX flags ('-std=c++11') over CMake's compiler feature support? The later is, in principle, more portable and future proof than hardcoding the flags.

This was asked in an issue earlier today. It's a combination of 1) I didn't even know such flags existed! and 2) I had some compatibility issues with older versions of CMake on my test machines.

I'll look into adding it in the future though!

Re: Glitter – Dead-simple boilerplate for OpenGL

#10
post #9

Neat, thanks for your work! Newbie interested in OpenGL here, I followed the instructions but get a segfault, any idea? I pasted my session at http://pastebin.com/hxXauQSQ

Hi, can you open a GitHub issue for this? Would prefer to keep problems centralized to the repository.
Post reply on HN