Code for Igalia



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 Igalia category. I will try to update this page too every time I have new things to post about.




Computer graphics in OpenGL and Vulkan





The algorithm applied
in Iago Toral's SSAO.
An algorithm to upscale lower resolution textures (Vulkan)

My method to improve the upsampling of the SSAO render target of Iago Toral's Vulkan vkdf demo.

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.

Depth aware upsampling experiments blog posts:
Terrain with cows.
A procedural terrain (OpenGL)

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.

Blog post: A terrain rendering approach.





Posts related to graphics drivers development








Posts related to contributions to graphics drivers and APIs as part of my work for Igalia's graphics team).





Demos inspired by conferences (These were all written for fun)





Rust helloworld.
GUADEC 2019 inspired helloworld in Rust

My first program in Rust. I wrote it while attending a Rust/Gtk workshop in GUADEC 2019 where I went with Igalia (sponsor). I used OpenGL and SDL2 though for the graphics. :)

Blog post:
GUADEC 2019 took place in my city! Also: my helloworld in Rust.
XDC 2018 intro.
A short intro inspired by the XDC 2018 logo

XDC 2018 was organized and sponsored by Igalia and took place in A Coruña. This is a short animated intro inspired by the lighthouse of A Coruña that was used in the logo.

Blog post: XDC2018
Mohawk hair simulation.
Hair simulation using a mass-spring system

That was a mohawk hair simulation demo, inspired by some really cool animations at SIGGRAPH 2018 where I went with Igalia.

Blog post:
Hair simulation with a mass-spring system (punk's not dead!)





Other posts about hacks, conferences, presentations (not code)





FOSSCOM17 (el, gr).
Posts about presentations, conferences, hacks or anything else I might have posted under the Igalia category and is not about code of mine.