Quantcast
Channel: Bartek's coding blog
Browsing all 325 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Interesting Links in January

This time:Unity BuildsCurriculum Part 10: User Defined TypesInline Shaders in C++ CodeThe Rise and Fall of Languages in 2012The Exceptional Beauty of Doom 3’s Source CodeUnity Builds link_1 and...

View Article


Image may be NSFW.
Clik here to view.

Smart pointers gotchas

Several questions about using smart pointers in modern C++Why auto_ptr is deprecated?Why unique_ptr finally works good?How to use arrays with unique_ptr?Why create shared_ptr with make_shared?How to...

View Article


Image may be NSFW.
Clik here to view.

Why is it building so long?

Most of Object Oriented guides revolve around the word encapsulation: we should hide implementation details of a class and reduce coupling between objects as much as possible. But in C++ (and also in...

View Article

Image may be NSFW.
Clik here to view.

Interesting links in February 2013

This time:Two new trends in Realime GraphicsAre DirectX and XNA dead?Programmer Interruptedstd::map vs std::unorder_mapHow to efficiently render Lego bricksTwo new trends in Realime GraphicsNormal...

View Article

Image may be NSFW.
Clik here to view.

Forward Declaration And a Pointer

Mister C was a cool guy. C could make amazing things with just ordinary text files. He used to grab bunch of them and produce magic binary forms. He could make a spinning cube, web server, or even an...

View Article


Image may be NSFW.
Clik here to view.

#Include little toolkit

Include Guards, Pragma Once, Predeclarations and other hints that might be useful when dealing with includes.What can we do with file including in C++? Do we need to put all the other header files of...

View Article

Image may be NSFW.
Clik here to view.

Code Generator

This blog post is just an improved version of description of a tool I used in experiments with compilation time for cpp code. In order to have various code structures I needed to write some code...

View Article

Image may be NSFW.
Clik here to view.

Interesting links in March 2013

This time:An Interview with Tim SweeneyWhy C++ in Game Development?Rule Of Zero - resource ownershipDirectX vs OpenGL PerformancePS4 Coming!An Interview with Tim SweeneyLink to interview on...

View Article


Image may be NSFW.
Clik here to view.

C++ Include test: full matrix

Finally I am able to present some include experiment results! Previously I wrote about Code Generator and now I can actually run this tool and get some numbers out of it. I compared VC11.0 (Visual...

View Article


Image may be NSFW.
Clik here to view.

Interesting Links In April 2013

This time25 5 Major Challenges in Real-Time RenderingPorting Source to Linux: Valve's Lessons LearnedRendering in Killzone: Shadow Fall at Digital Dragons25 5 Major Challenges in Real-Time...

View Article

Image may be NSFW.
Clik here to view.

Book: The C++ Standard LIbrary, 2nd

The C++ Standard Library - A Tutorial and Reference, 2nd Edition - AmazonWe are still waiting for some more books about new C++ standard. Fortunately for us, some authors managed to write books even...

View Article

Image may be NSFW.
Clik here to view.

Auto keyword in Cpp11

auto i = 0; C++11 brings us very useful set of tools. They add a fresh air to the hard life of a programmer. The updated syntax makes the language a bit more modern. Let us look at a nice keyword...

View Article

Image may be NSFW.
Clik here to view.

Interesting Links in May 2013

This timeShaderToyDoom3 BFG Source Code ReviewPS4 vs XBox OnePhotorealism Through the Eyes of a FOXOpenCL Enables More Compelling and Efficient ApplicationsShaderToylink to shadertoy - warning: a lot...

View Article


Image may be NSFW.
Clik here to view.

Some Graphics Things

Is been a long time since I created (and published) something related to graphics programming. Things that I described recently were related to: improving build times, header files management, SOLID...

View Article

Image may be NSFW.
Clik here to view.

OpenGL 4.4

OpenGL 4.4 has just arrived!Similarly as it was in the last year, Khronos announced new version of OpenGL at SIGGRAPH 2013. This time it is only a minor update - there are no big features in this...

View Article


Image may be NSFW.
Clik here to view.

Interesting links in July 2013

This timethe Technical Interview Is DeadThinking About a Better Graphics APIIs modern C++ replacing C#?The next wave of computing is perceptualThe Technical Interview Is Deadlink to TechCrunch...

View Article

Image may be NSFW.
Clik here to view.

Code Kata - chop

As it appears our ability to code can be improved by taking some practices from martial arts! CodeKata is a catchy name for set of exercises that done regularly should make your coding skills better....

View Article


Image may be NSFW.
Clik here to view.

Book: OpenGL Development Cookbook

Recently, thanks to a contact with Packt Publishing, I got a chance to take a look at the new OpenGL book. It is called “Opengl Development Cookbook” and contains lots of interesting ideas (40 items!)...

View Article

Image may be NSFW.
Clik here to view.

Digging into SOIL Library for OpenGL

When I was (re)implementing PhotoAlbum sample application I got stuck in one place. Program was about to load a list of textures (like 16 maybe) and suddenly I noticed that the whole process takes...

View Article

Image may be NSFW.
Clik here to view.

glGenerateMipmap Plus SOIL library, OpenGL

In my previous post about Soil Library I have talked about adding some new features. One of them was improving mipmap generation by simply using glGenerateMipmap(EXT) function. In this post I am going...

View Article
Browsing all 325 articles
Browse latest View live