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.
It's been a while since I've been working on my RSA library, and in the last weeks I've released a few new minor versions. Here are the differences since my last blog post about it:
Fixed Python 3.x incompatibilities.
Dropped support for Python 2.5.
Added support for loading public keys from OpenSSL
rsa.pkcs1.verify() returns True when successful (thanks Tim Heckman)
First updated Distribute (thanks Jason R. Coombs), later replaced Distribute with Setuptools.
Fixed typo in pyrsa-verify help message
My blog has been targeted by spammers for years. The last months spam has been on the rise, so I finally got fed up with it and replaced my home-grown comment system with Disqus. Old comments are still there, new ones will be using Disqus instead.
This is the first time I've allowed a guest article on my blog. The photos are beautiful, and I think it fits well within this website. Note that the photo's aren't mine.
With so many subjects a photographer can cover when it comes to street photography, Michael Hess picked one particular topic that has had a very “colourful” yet underrated journey. The German street photographer has recently published a photography book that tackles the ever-present yet undermined bingo culture of UK.
“I played bingo one night in 2005, just out of curiosity about what went on inside the big old converted cinema near my house. I was instantly fascinated by the characters,” Hess shares the moment where he decided to pursue documenting such a decades-old culture in his official photography website. “The next time I visited, I took my camera. 4 years and more than 60 bingo halls later I was ready to make Bingo & Social Club.”
New laptops often are shipped with the Windows product key stored in the EFI/BIOS/whatever. The result is that you don't get a product key prompt any more. Great for reinstalls, as copying the key by hand is very error-prone. However, when I wanted to install a fresh Win8 Pro version, the embedded "Home" version key wasn't accepted and the installer did not ask for another key. It was simply impossible to install Windows 8 Pro.
This blog post will describe how I got it installed in the end.