Automatically Create Redshift ROPs When Starting Houdini
5

Automatically Create Redshift ROPs When Starting Houdini

Remember the 123 and 456 Python scripts that we talked about extensively here, here and here. Sure you do. Those scripts are quite handy since you can customize Houdini when starting up or when opening a scene. I make great use of them. I know when starting up Houdini I want a camera and a Mantra node so I have the scripts automatically create them for me with some default parameters already set up. However, what if you are one of the cool kids using these new fancy render engines such as Octane, Arnold or Redshift? What if you want […]

Creating Attributes with Python in Houdini
6

Creating Attributes with Python in Houdini

A few questions have rolled in regarding the Mograph Multishader #QuickTip. Remember we were grabbing a bunch of images from a folder to randomly texture some geometry. One question in particular was how to have Houdini automatically determine the number of images in a folder? This would require we query the folder somehow and store the data in some variable or attribute. What better way to do this than with our friendly neighborhood programming language, Python. In this #QuickTip, we will be creating attributes with Python in Houdini to help us determine the number of objects in a folder and […]

Inspecting The Houdini hou Module
3

Python Parameter Expressions III: Auto Import

So we covered basic Python expressions and how to work with custom functions. Alright, that’s nice and dandy but how do we get Houdini to load our custom functions so they are always available? Custom functions can auto load in a couple of ways. You need to setup a few of things but it’s quite straightforward. Today, we will look at how to auto import our functions so they are always available. If you need to catch up, here are the previous posts: Part I – Python Parameter Expressions I: Basics Part II – Python Parameter Expressions II: Custom Functions Part III – Python Parameter Expressions III: Auto […]

Python Parameter Expressions II: Custom Functions
5

Python Parameter Expressions II: Custom Functions

Did you know Aaron Paul from Breaking Bad fame once appeared on the game show The Price is Right? No joke. It just goes to show anything is possible. I wish I could be on The Price is Right. You know what else is possible? Using your own custom Python functions in Houdini parameter fields. How might this be handy? Well, imagine you created a custom random or noise algorithm or maybe you developed a set of custom utility functions. Sounds helpful doesn’t it? Let’s see how we can go about creating them. You can find the other parts here: Part I – Python Parameter Expressions […]