[Bf-vfx] IBL Toolkit - looking for feedback, and sharing blender+photo workflow ideas/needs

Dalai Felinto dfelinto at gmail.com
Mon Apr 23 05:36:17 CEST 2012

Hello artists and devs,

I've been working in an addon to help my pipeline with HDRI for lighting
(IBL) and scene reconstruction. The ultimate goal is to make it more
accessible to use high quality light-probe maps as background and lighting.
If you think this can be of any use for you please share your thoughts and

Bear in mind that Cycles is not 100% there yet for this. I'm currently
working with luxrender. More specifically the arluxrender branch - which
has an integrator that's been developed specially for this workflow. I do
have some suggestions for cycles having arluxrender paradigm in mind. And
would love to hear what would be the Cycles way or roadmap on those needs.
Perhaps Mango will help with this.

Example of output:
[background ibl plate + ibl toolkit calibrated scene + cycles 'use

To try the current snapshot of the addon:
(please read the README that comes with it, and report eventual bugs
directly to my email to avoid cluttering this list, feedbacks can be here)

What it does:
- calculate the orientation of the panorama image (HDRI)
it may be subtle, but panorama images tent to present a slight tilt. This
is the most important part of the addon imho.
(e.g. extreme case: http://www.dalaifelinto.com/ftp/impa/tokyo-rotated.jpg )

- project a selected rectangle (used for calibration) in the 3dworld,
setting Z=0. You can pick the camera height or the plane dimensions and
things are scaled accordingly.

- create the background nodes with one click (using a Vector Transformation
node with the calculated orientation).
(it works with Cycles, Luxrender and ARLuxrender)

- help you to reconstruct polygons (think about floor boundary), squares
and circles that are on the floor. From the image to the 3dview.

Problem with the current workflow:
- cycles shaders do not work while in edit mode. Although I don't care
about the object materials, it would be really nice to have the background
shaders working. I'm trying to build an alternative with bgl and glsl
shaders on top of the 3dview, but it's too tacky. I need the background
(the other alternative is to do partial renders of the HDRI to use as
'Background Image'. Not as elegant as having the actual panorama showed in
edit mode).

Things I can do with ARLuxrender that I would like to do with cycles:
* ARLuxrender - http://w3.impa.br/~zang/arlux/
* ARLuxrender workflow: http://vimeo.com/39547247
* example of render:

ARLux implements an object property that tells the renderer that this is an
AR object.
This object will receive shadows and cast colour around. But the
information comes from a mix of the HDRI image, the material info
(diffuseness, ...) and the object geometry.

For diffuse color: the colour information comes from the infinite (assuming
the HDRI was taken around the camera) so the camera sees 'through' the
object and show the HDRI colour.

For casted shadows: it works like the 2.49 'only shadows' material.
Internally it's doing some inverse calculation of the light contribution.

For reflection: if the reflection ray from the camera hits the object and
find an AR object, it will show the colour that the camera sees when
looking at the HDRI in the direction of the hit point (i.e. a sphere will
reflect a wall from the HDRI based on the modelled wall position, not the
* no need for camera projection UVmapping of any sort (nor would that work
well without subviding the objects multiple times).

For lighting: (current implementation): lighting comes directly from the
HDRI, not taking any AR geometry into consideration (not so nice)
(proposed idea): similar with reflection, the AR object is considered as
reference origin for the light rays, though the information comes from the

Final considerations:
I would like to use this system with Cycles as well. I don't think
camera-uvmapping + reproduction of the textures should be the only way for
this. Any other suggestions for workflow?

Also don't take this as 'I'm using Luxrender because blender can't do this
this and that'. This is really not the idea here. I'm using (AR)Lux simply
because I'm working currently at the same lab as Aldo Zang (ARLux

And Brecht thanks a lot for the 'use_panorama' mode. This is absurdly

If you see a use for this, please speak your mind.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-vfx/attachments/20120423/2c463052/attachment.htm 

More information about the Bf-vfx mailing list