Friday, July 19, 2013

GJ Attribute <--> Bitmap ( Houdini )

Here are 2 little utilities, "Attribute to bitmap" and "Bitmap to attribute"

Attribute to bitmap:

Simple node which allows the user to bake attribute values to a bitmap (tga, exr, rat...).

Bitmap to attribute:

Simple SOP node which allows to read data from a bitmap to point attribute.

- use only luminance toggle
- Multiplier ( intensity )
- Output Attribute Name
- Change the class of the output attribute ( by default it's point ).

Thursday, July 18, 2013

GJ Attribute Math ( Houdini )

Here is a new utility .otl: AttributeMath

Format: Houdini .otl (Digital asset)


SOP node which allow the user to do math operation between 2 attributes.

Where A is an attribute and B is either an attribute or a constant, you can do:

- A - B
- A + B
- A * B
- A / B
- A % B (modulo)
- Remap A values according to a ramp
- Fit Range A values

Output values are stored in either attribute A or in a new attribute.



Multiply by a constant:

 Remap values by a ramp:

Thursday, July 11, 2013

GJ Attribut Visu ( Houdini )

Here is a new simple utility otl, AttributVisu.

Simple SOP node which allows the user to visualize attributs ( point, vertex, primitives and details ) in 3D view via a ramp color.
Support any type of regular / custom attributs.

Sunday, July 7, 2013

GJ Isolate Selection ( Houdini )

Here is another utiliy: Isolate selection for Houdini

This python script allows the user to isolate an object ( by hiding all others ). Then to display back the objects when you exit the isolate mode.
The script keeps in memory which nodes were displayed or hidden before the isolate process. ( it uses a hou.session python module ).

Python Script for Houdini

How to use:

- Copy the .py file in "C:\Program Files\Side Effects Software\Houdini\python26\lib" or whatever python folder used by Houdini
- Create a new tool in a shelf: Right-clic -> new tool
- In tab "Script" write these two lines:

import IsolateSelection

Select an object to isolate that object by a clic on the tool just created, clic again on that tool to display back all other nodes.

Wednesday, July 3, 2013

GJ Slope ( Houdini )

I'm starting a new collection of utilities otls for houdini, here is the first one, called GJ_Slope.

It's a simple node which create a custom attribut driven by the slope of a surface.


- Custom attribut name
- Ramp multiplicator
- Display value to Color ( Cd )
- Mult / Add by constant
- Invert value

Also available on sideFX asset shop.