понедельник, 4 апреля 2011 г.

Color transformations

Color transformations as Post-Process is added into Glow engine.

Currently supported transformations are contrast, brightness, black and white, red, green, blue shifts, saturation will be added later. All transformations work in a same step, so adding, for example contrast to brightness will not slow down it in 2 times.

Transformations added as scene property, and can be accessed from script.

Image:


Adjusted brightness:


Blue and Green shifted, to create Matrix movie look


Black and white:

Antialiasing

Antialiasing is finally implemented in Glow engine.

It's implemented by Directionally Localized AA algorithm,implemented in The Force Unleashed 2. It's operates in image space and works as post-process, finding edges by High-Pass filter and blur it with 5x5 (and 16x16 for long edges) kernel.

Looks cool .. my images long time suffered from jaggies .. not now)

Antialiasing is off:

Antialiasing is on: