Houdini Cellular Automata
by, 03-01-2012 at 09:18 AM (36596 Views)
I've translated Malcolm Kesson's Cellular Automata SL into a Houdini VOP RSL Network (no reason). You can find the original SL on his website: http://www.fundza.com/rman_shaders/cellular/index.html
Main difference is that Houdini VOPs don't support Arrays so I used multiple connections and 8 texture calls instead of a for loop. Let me know if there is some better way of querying neigbours.
Original shader cell size and count is dependant on micropolgyons and controlled by shading rate. I've set the shading rate to a very high value and the cell count is controlled by geometric subdivision instead. That meant I couldn't use random function for initialization so I replaced it with cellnoise shadeop.
OTL library contains digital assets:
- cellular - Object type digital asset
- bake3d - shadeop for pointcloud baking
- texture3D - shadeop for pointcloud reading
- cellnoise - rendermans cellnoise function
- cellular_automata - cellular.sl VOP node version. Just a direct implementation of the code. Not used for anything.
Cellular is Object Type Digital Asset that contains shaders, geometry and ROPs for 'out of the box' test.