VEX: Spinning Particles

The titles should really be how to rotate the orient attribute but spinning particles is more catchy. Rotation can be a tricky beast and when it comes to particles there are a bunch of ways to control their direction, and when you are stacking multiple rotations things can become a little hairy! I suggest using quaternions to control direction because the qmultiply function makes it very simple to modify the current orient.

Continue reading “VEX: Spinning Particles”

Groups to Attribute with VEX

Today at work I was loading some really heavy geometry into Houdini that needed FX added to it. Its came in from Maya with thousands of primitive groups for different numbered parts of the geometry. If you tried it before you will know that unpacking heavy geometry with a lot of groups is any easy way to fill up your ram. In this cache filling 64GB and the cracking Houdini after filling the swap as well.

Continue reading “Groups to Attribute with VEX”

Quick Tip: Rounding To Decimals

This is going to scaling sets of numbers so if you are bored already now is a good time to go and browse something else. A friend at work asked how do I round a set of values to the nearest value with an increment of 0.5. Why would you want that you might ask? Its useful for scaling data by specific increments like for driving values along a curve.u value to create stepped noise without using a ramp. Here is how you do it.

Continue reading “Quick Tip: Rounding To Decimals”

Quick Tip: Cleaning Node Spare Parameters

This one is motivated by a question someone asked on the Redshift forum. The Question was when updating Redshift, how do you get the new features added to object parameters on old nodes from old hip files? Because Add OBJ Parameters in the Redshift menu does not work if you have Redshift parameters applied to the object already and even if you delete them using the Edit Parameter Interface choosing Add OBJ Parameters in the Redshift menu does not add new parameter menus.

Continue reading “Quick Tip: Cleaning Node Spare Parameters”