HtoA supports Houdini's instance object node, a powerful geometry instancing tool. 

 

Notes about instancing support in HtoA:

 

There are a number of ways instancing can be done in Houdini:

 

Example 1: Instancing a Torus Object
Example 2: Instancing Ass Files with Instance
Example 3: Instancing Ass Files with Geometry and VEXpression
Example 4: Copy to Points

 

Example 1: Instancing a Torus Object

This scene file can be downloaded here.

 

 

 

 

 

// Random Point Color:
float seed = 0.12345; // seed for rand
@N = rand(seed + @ptnum);
@N *= 2;
@N -= 1;

@Cd = rand(seed + 654654.1654 + @ptnum);

 

Example 2: Instancing Ass Files with Instance

This scene file can be downloaded here.

 

It is possible to create very complex scenes quite easily when combining Arnold Scene Source (ASS) files with Houdini's Instance Object node. 

 

 

 

Example 3: Instancing Ass Files with Geometry and VEXpression

This scene file can be downloaded here.

 

In this example, an Attribute Wrangle node (connected to a Scatter node) inside a Geometry node has been used to source the .ass file using the following VEXpression:

s@instancefile = "C:/Users/Documents/soldier_houdini.ass";

 

For this to work, you need to add the ptinstance parameter to the root geometry obj node as a menu with the options "off", "on" and "fast".

Example 4: Copy to Points 

copyToPoint SOP used to copy Alembic Packed Primitives files