Austin Kottke's Code Site

Thoughts about Architecture – Java, C/C++, JS, Objective-C, Swift, Groovy, Grails, (RIP Flash)
Archive for the ‘QT’ Category

Integration of TLS/SSL on old hardware can be challenging. You open up the machine and open up chrome and low and behold nothing works. You try to download chrome and are blocked. You try to do just about anything on the machine and basically you are locked down due to the fact that the SSL support is too outdated and modern web servers are rejecting any in-secure connections. Well what if you needed to build software that could run on a machine from about 13 years ago, and do modern SSL without an OS upgrade. Qt 4.5 does not work well with modern TLS 1.2 If you remember OSX circa 2010, you’ll remember Apple moving over to ARC based Objective-C. So on top of the SSL issues you have to work with pre-arc objective-C and build an app. Well, I decided – rather than go down to the Xcode 3 level Ill just use something like QT. That way, all of the code and memory management are handled by Qt – no problem. App was built in Qt. However, due to issues with SSL – I could not get Qt building a binary which used the modern openssl libraries. No matter what I tried. Even recompiling Qt with OpenSSL 1.02. Comes down to the fact that out-of-the-box Qt has a library called QtNetwork which is tied down to a specific openssl version and it uses whats installed on the machine. Well – I cant do any changes to the underlying operating system so getting an…

January 24th, 2010

Crazy 3D C++ Open GL project

No Comments, 3d, C++, OpenGL, QT, by austin.

Hey guys, I’ve been working on a project for a few months to teach myself open gl and 3d mathematics and nvidia’s cg shader language. I think it came out ok, I learned a lot of technology about graphics, etc. It’s no where near the level of PS3 but it’s got some potential. Qt4 was used for the UI technology. Features: 1. Bump mapping, spherical mapping, multi-texturing2. Terrain generation3. Matrix pallette skinning4. Realtime lighting5. Explosions, collision detection6. MD2, POD model loading7. Shadows I posted some shots…. As a note, none of the models are mine, they are just used to demonstrate concepts. Two of the models are NVidia’s and Sony’s used in a book I found. I converted the models to a format I needed, POD. And used shaders to animate the models using matrix pallette skinning. This is purely used for educational purposes and not to be a commercial project at all. Please follow and like us:0