Export alembic with one primitive instead of many

   339   3   1
User Avatar
Member
6 posts
Joined: 10月 2021
Offline
Hello, I am playing around with STT nodes and I have a noob question.
How can I export .abc in such way that I get one deformed mesh primitive instead of many primitives?
My goal is when I import to Unreal I would like to have only one mesh track for geometry cache.

I have googled around but could not find the technical solution.
Thank you.


Edited by kilian89 - 2025年4月8日 07:39:52

Attachments:
stt.gif (2.3 MB)
nodes.png (421.4 KB)

User Avatar
Member
9142 posts
Joined: 7月 2007
Offline
add s@path attribute representing the abc hierarchy path
so in your case all primitives will have the same value for example: /fern/fernShape

and on ROP Alembic SOP make sure Build Hierarchy From Attribute is checked and Path attribute is: path, or whichever attribute contains the hierarchy
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
6 posts
Joined: 10月 2021
Offline
tamte
add s@path attribute representing the abc hierarchy path
so in your case all primitives will have the same value for example: /fern/fernShape

and on ROP Alembic SOP make sure Build Hierarchy From Attribute is checked and Path attribute is: path, or whichever attribute contains the hierarchy

I have figured out that I can unpack instances and use polysoup node to create one prim for stem and one prim for unpacked leaves. But I am not sure if this is proper workflow.

I will try your method too. Thank you very much for help. I appreciate it.

Attachments:
Screenshot from 2025-04-08 16-13-18.png (1.7 MB)

User Avatar
Member
9142 posts
Joined: 7月 2007
Offline
ah, yes, you have to unpack

otherwise the export will preserve packed prims as a different objects and add suffix in case of path conflict
Edited by tamte - 2025年4月8日 13:00:54
Tomas Slancik
CG Supervisor
Framestore, NY
  • Quick Links