Posts Tagged ‘delayed load’

Very early release of code

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:


Geometry at rendertime – instancing

Everyone loves the copy sop… and at some point everyone hates the copy sop. The main reason: system memory. For small-ish amounts of geometry the copy sop is great and can provide you with everything you ever needed… until you just want more. When you hit that memory limit you have to find a different way. So I went looking for alternatives. I had heard great things about the way PRman can handle huge amounts of geometry through delayed read archives and I wanted to have similar control in Houdini. And hey, Mantra delayed load does pretty much the same :), but how to control a bunch of delayed loads effectively?

So what about “instancing”? That works, but you loose all the stamping goodness on the SOP level you had with the copy sop. What if I create my geometry piece by piece (could cache each piece to disk) and then try to instance those different pieces on to a bunch of points? That works, you can use the instancepoint() expression in combination with delayed load geometry shaders and modify the shader paths, each shader pointing to a different file on disk… Well, when I say that works, what is actually going on inside the ifd file?

Basic Instancing

Basic point based instancing

Read more

Return top