So this will be short, I’m going to put the source code online together with an example of how to use instancePc.This is by no means finished and by all means still a work in progress, but hopefully you can learn something from it. So I apologize if it breaks. At the moment I’ve only been compiling for Ubuntu 9.04 so I have no idea if this even works on windows. I will continue to create more step by step posts and examples when I have a bit of time.

from example file: lots of leaves with instancePc

Here is the source code with an example file: