Chevron Anti-pattern

Posted on Wed 20 April 2022 in misc

I will talk about an antipattern I've encountered a few time, but I didn't find it in literature, so I called it the "Chevron antipattern". Let-me know if you recognize it and if it has a true name 😉

Class Diagram

Let's start by an example. Assume you develop an application …


Continue reading

The Problem of Floating Point Precision in Opengl, Vulkan and 3D in General - Part 3

Posted on Mon 04 April 2022 in misc

We have seen in the previous article how to handle position of object and camera in very large scene. But this still won't solve the shaky problem caused by matrix accumulation. We will here see that only a few place needs to use double precision, and not all your rendering …


Continue reading

The Problem of Floating Point Precision in Opengl, Vulkan and 3D in General - Part 2

Posted on Mon 28 March 2022 in misc

We have seen in a previous article why floating point representation may shake our objects in scene. We will now see how to use space change tricks to mitigate this problem.

A brief reminder about World, Model and View space

When dealing with 3D coordinates, we generally use 3 coordinate …


Continue reading

The Problem of Floating Point Precision in Opengl, Vulkan and 3D in General - Part 1

Posted on Mon 21 March 2022 in misc

When zooming a lot on 3D objects or when having small object lost in a very large scene, it can happen that your objects "jiggle" from one position to another, making rendering really shaky. We will see in this series of article where does it comes from and how to …


Continue reading

Optimizing Your Allocations With Resource Pool Pattern

Posted on Mon 28 February 2022 in misc

Data allocation/deallocation may represent a significant amount of time in a processing workflow. In this article, we will see how to adress this issue with the Resource Pool Pattern.

What is your problem ?

Imagine we build an image processing pipeline acting on a movie. All images have the same …


Continue reading

Stop Coding, Start Developing !

Posted on Thu 10 February 2022 in misc

Non-developer often imagine developer as people who just write code. Actually, some developers also imagine themselves as people who just write code. The point is that a person that just write code is not a developer. It is a coder. Nowadays, developers are no more that neardy guy writing strange …


Continue reading