Jump to content
juleslin

Separate each of the scattered objects for exporting to ABC

Recommended Posts

Dear all,

I am planning to export the scattered objects which I made in Houdini to Maya. By using "scatter" and "copy to point" nodes to create the scattered object, it is actually under one node (one object), but since I want to animate these objects (The scattered objects) in Maya, I am looking for a method to break down the scattered objects into individual with corresponding transformation data (position, rotation), and export them in ABC format to Maya. Please advise if you have any idea. I am very new to Houdini and couldn't think of any solution.

Sorry if this doesn't relate to scripting topic.

Thank you!

Capture.JPG

Share this post


Link to post
Share on other sites

Hello,

Activate Pack and Instance checkbox in Copy to Points node or pack geometry before copying. Export with Alembic render node. It should be working.

Share this post


Link to post
Share on other sites

It works!! Thank you vicvvsh !

I have one more question. Do you know how to maintain the rotation data? The object lost the transformation data and the pivots are all "reset", which means if the objects could not be rotated correctly since the pivot is not aligned. I think it's due to the Pack Primitives.

Thank you!

Share this post


Link to post
Share on other sites

As i remember transformation data is maintaining if export alembic as i wrote. Translate, rotate and pivots are in transform node of each instance geo in Maya when import alembic.

Share this post


Link to post
Share on other sites

Dear vicvvsh,

Please take a look of the image that is attached below. The translate and scale data are kept, but the rotation is missing and the pivot is not aligned. Am I missing something?

 

 

Capture05.JPG

Share this post


Link to post
Share on other sites

Can you share hip and abc files? It's hard to say something right now

Share this post


Link to post
Share on other sites

Dear vicvvsh,

So sorry! I just try another setup and transfer it to Maya through ABC, and it works! I wonder if it's related to the @N and @up that I cleaned up/processed. I will find out the reason why. Thank you so much for your help!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×