These blog posts have all been tagged with how i did it. These tags appear to be related:
Blender lets you script more or less everything. You can have your code inside Blender (and the .blend file) itself, but I prefer to store it outside the .blend file. This makes it easier to handle changes, and allows you to use any editor you want. The downside is that reloading your code becomes a bit of a hassle. This is a little snippet I wrote to reload my code in Blender with the click of a button.
For my research, I'm using Blender to generate images. I wanted to know how visible a certain object is in the final render (i.e. how many pixels it occupies). For this there is the "object index" render pass (aka "IndexOB" in the compositor). I've been struggling with it, since it always outputs that the index is 0, even though there are multiple objects in the scene.
Well, with the help of mfoxdogg on the #blender IRC channel, we found a solution: You need to set the index by hand, for every object you're interested in. If you go to the object properties (in the properties explorer), in the section "Relations" there is a slider "Pass Index". This is set to 0 by default, and you can set it to any positive number you want. This is then reflected in the output of the "IndexOB" render pass.
I've bought myself a Nodal Ninja 3 panorama head. Today I gave it a first test run, and it worked very well! That's my bike, by the way ;-)
Drag your mouse to look up, down, left or right. Scroll to zoom. Double-click for full screen.
Photo hosted by Flickr.
The details about how I created this photo are after the break.
What are you looking at? It's a sausage. Rookworst (a type of smoked sausage), to be exact, probably well known to every Dutch reader. It was hand-made by my parents' butcher and wrapped with some Christmas fluff, also by the butcher. He handed them out as Christmas presents!
Before we go on the the specifics of this shot, first a few acronyms:
Colour Temperature Orange, makes the light warmer.
Colour Temperature Blue, makes the light colder.
Neutral density, makes the light darker.
The key light from high camera right is a 580EX-II, 1/2 CTO gel, double gobo'd so that it illuminates the sausage thingy and not the background, at 1/4th power. The fill light from camera left is a 430EX-II with a DIY white diffuser and a full CTB gel. The third light is a 430EX behind the sausage, at 1/128 power, with a red gel for the effect and a 2-stop ND gel to make it subtle enough - 1/128 power is as low as it goes, but that was still too bright.
I chose to work with CTO and CTB gels to add some contrasting colours. The gels are balanced, which means that where the warm and cold light meet they form white light again. This makes for some subtly coloured shadows, where only one light shines and the other is blocked. I chose 1/2 CTO and full CTB because it just looked better - with a full CTO the colours would become too orange.
Here you see an incremental buildup of the three lights (click for a larger version):