Some random videos and screenshots from things I do for Igalia
either for work and training or for fun. Actually, it's like a selection of posts I've written
in my blog, in the past and can be found under the
I will try to update this page too every time I have new things to post about.
My method to improve the upsampling of the SSAO render target of Iago Toral's Vulkan
I used the values of a downscaled normal buffer to classify the low resolution image pixel neighborhoods in two categories: neighborhoods where
all the pixels are part of the same surface and neighborhoods where there's a surface discontinuity. Then I used linear interpolation to upsample
the surface neighborhoods and a depth aware algorithm to upsample the neighborhoods that contain discontinuities. I used my own downsampling method
to select the most representative pixel of each neighborhood and I achieved better results compared to those from some proposed downsampling
algorithms (max depth, checkerboard). An analysis of all the experiments I've done step by step and how I've found the final algorithm as well as
metrics and comparisons is described in Part 6 and further
analyzed in the series of blog posts below.
That was a demo I started when I joined Igalia. The purpose was to train myself in computer graphics. I've created a
procedural terrain with a number of cows on it, where the user can set the number of polygons, the size, and of course the number of cows.
I experimented with graphics concepts like environment mapping, image based lighting, morphing, surface subdivision and more and I
used a Poisson distribution based trick to uniformly spread the cows on the terrain). Unfortunately, I never finished the additional
Vulkan backend I wanted to implement due to lack of time.
In Igalia's graphics team we contribute to
open source drivers and graphics APIs (read more here).
So far, I had some contributions to drivers extensions, tests and debugging tools. So, here, I will add some
posts related to that work:
an OpenGL shader viewer that can instantly show the changes (hobby project)
This was a project I started to save time to myself when I write shader tests.
When I started adding tests to piglit and vkrunner, I found
a bit frustrating to save the file, compile, then run the test and
check the result for errors. In case of vkrunner, the process was even
slower as I had to generate the SPIR-V and the result was rendered to a PPM
had to be checked with an external viewer.
To make the debug of pixel shaders faster,
I've written a minimal pixel shader viewer that can instantly show the changes
in a shader file when this file is saved.
The viewer has only support for pixel shaders, but can read both GLSL pixel shaders and vkrunner/piglit
formatted shader tests that contain a pixel shader (the parser is quite minimal though but it does the job).
I now use this viewer when I need to write a pixel shader quickly, and as soon as
everything looks fine to me I add it to piglit or vkrunner. In case of vkrunner, I might have to take into
account the differences in the coordinate system sometimes but I still feel that development is faster this
an OpenGL/SPIRV example I had the chance to learn some things about Vulkan and GL extensions in Igalia, and contribute to some
of them (e.g. VK_EXT_sample_locations). This post is from a time that I had to do some testing and small bug
fixes for the ARB_gl_spirv extension that was written by my colleagues. I wrote a quick GL/SPIRV example
to learn how to use the extension and to familiarize myself with the team's work on it.
Demos inspired by conferences (These were all written for fun)