Jump to content

Automating rivet usage for many objects


drossxyu

Recommended Posts

I'm trying to figure out an efficient way of snapping lights to my headlight geometry on an exported alembic. The alembic is being exported outside of Houdini. I have 18 pieces of geometry that need lights attached and one way of doing this would involve creating a point group at the SOP level for each one and creating a corresponding rivet object that will parent the lights. Since the rivet object takes the average of each point in the point group I have to create 18 solo point groups ( as far as I understand ).

Is there a better way of doing this?

If I export my alembic with the vehicle at the origin on a frame before the animation starts perhaps I can place all of my lights once and have just one point/rivet combination. I'm trying to avoid this workflow as adding this extra frame will become a bit of a nuisance as the animation is changing frequently.

Link to comment
Share on other sites

Create points for the lights in SOPs whichever way is most convenient. It kinda depends on your situation. To now move the lights to the point positions, you'll need to use CHOPs. In a CHOPnet, use the Geometry CHOP to import those light positions in Animated Mode. You'll need to name the imported channels to some naming convention that matches your OBJ lights. Now just export this to your light Translate parameters. If you need rotations, then you can add some channels for them in CHOPs as well.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...