Work with instances in Bifrost-USD
Use a define_usd_point_instancer node to to create USD instances based on a Bifrost points object. The instance prototypes can come from Bifrost instances or from USD prims.
Right-click on the
prim_definitionsport of anadd_to_stagenode or on thechildrenport of a prim definition node, and choose Create Node > Usd::PointInstancer::define_usd_point_instancer (or Usd::Prim::define_usd_point_instancer in earlier versions).Connect a Bifrost points object, such as the output of a
scatter_pointsnode, to thepointsinput of thedefine_usd_point_instancernode.If the points object defines Bifrost instances, such as the output of a
create_instancesnode, the instance geometries and selection options are used automatically. However, note that thepreview_modeofcreate_instancesis set toPreviewGeometryby default — make sure to set it toInstanceGeometryif you want to output the final geometry.If you want to use instance prototypes defined in USD, right-click on the
prototype_definitionsport of thedefine_usd_point_instancernode, select an option from the Create Node menu, and then set the new prim definition's parameters and connections as desired.Repeat to add as many instances prototypes as desired. Make sure to give each prim definition a unique
path.Use the Selection options to control how the prototypes are instanced on the points.