Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Instances are useful for duplicating geometry by referencing an original copy to save memory and time when processing and rendering many objects. These instances can then be shaded differently to create interesting and realistic variations without overloading the artist or the computer with many unique copies.

Info

See Instancing for more information on instancing.

Copy to Points SOP

Create a Copy to Points SOP and wire geometry to be instanced into the first input, and positions to instance to in the second input. 

Image Added

Instance OBJ

Create an Instance OBJ

...

as you would normally create Houdini instances. 

Image RemovedImage Added

 

In the Instance node, set your Instance object and select Fast point instancing.  This will emit RenderMan ObjectInstance.  Note that if you select Full point instancing or Off for Point instancing, it will not create instances but copies of the object instead.

Image Removed

or Full point instancing. Currently these two options result in the same behavior in the renderer.

Image Added 


To override material for the instanced objects, we can use the Material SOP inside the Instance.

Image Removed

Here is an example hip file that shows how to override Bxdf and color variation using the Material SOP.

View file
nameinstancing_paramoverride.hip
height250