Currently browsing

April 2012

Data pipeline

Interesting couple of days working on trying to introduce a clear distinction between generating data and actually displaying it in a legacy framework. Really helps to affirm the idea that a rendering engine should be treated as a pipeline. The idea is called data oriented programming andand is distinct from …

Planetary rendering

Planetary scale rendering is a fairly popular topic and and to do it right requires paying attention to such things as: Floating point precision. Difficulties of rendering spherically. Data paging the enormous amount of data required to cover the global surface area. There are plenty of examples of some pretty …

Nifty iterators

Couple of different ways of iterating over collections: The long way With template functions c++11 lambdas Or just over a collection Of these, the first one frustrates me sometimes since you need to know what type of collection you’re iterating over. Thankfully c++11 introduced type inference with the auto keyword. …