matejlou’s blog

Analytic Fog Rendering With Volumetric Primitives

In this post I’m going to cover a neat technique for rendering regions of fog with varying density. I’ll start by covering some of the basic principles behind fog rendering and a few common solutions before describing the technique itself. There will be a bit of maths involved – you’ve been warned! A Brief Review…

A Geometric Interpretation of the 3D Cross Product

In this short post I want to explore a simple and hopefully intuitive geometric interpretation of a common vector operation; the 3D cross product. We’ll start by breaking down a somewhat related operation in 2D, sometimes called the perpendicular dot product or just perp dot product. It describes the area A of a…

Ordered Dithering with Arbitrary or Irregular Colour Palettes

Introduction Hello. I have recently been spending a lot of time dithering. In image processing, dithering is the act of applying intentional perturbations or noise in order to compensate for the information lost during colour reduction, also known as quantisation. In particular, I’ve become very interested in a specific type of dithering and its application…


Follow My Blog

Get new content delivered directly to your inbox.