For those who don’t know what G(eometry) Buffers are, they’re 2D images that encode information about a 3D scene and are useful in compositing and image manipulation. ‘G Buffer Extractor’ is a Python script that uses mesh vertex colours to store scene information and render it. So far my script will render a depth buffer, object ID buffer or surface normal buffer as below using Endi’s Rhino…
Surface normal image:
Object ID image
Hopefully I can also add illumination and a crude edge buffer as well.
The question is, would anyone else find this useful? At the moment the script is pretty rough and ready, but if there is enough demand I will develop it as a proper tool. I don’t know if it can be done, but in an ideal world it would be great to automatically combine the different buffer types and load them as layers into Gimp/Photoshop. Does anyone know if this is possible?