how to bake blueprint made of different types of istances?

   2481   2   1
User Avatar
Member
899 posts
Joined: Feb. 2016
Offline
My scenario:

An Object "X" built with 3 different parts a, b, c, that repeats many times in the object.
Each part has its own unreal_output_name attribute and it's packed for instancing.
The blueprint bake in Unreal produces 3 different blueprints each with an instancedStaticMesh component assigned to a, b, c.

In order to place the object "X" in the scene, I need first to recompose it by creating a new Blueprint and add the 3 blueprint instancers created by the bake. This is a manual process.
Is there any way to let the bake take care of this latter process?


(i'm working in UE5)
Edited by Andr - Feb. 17, 2022 11:58:00
User Avatar
Member
899 posts
Joined: Feb. 2016
Offline
I tried to use the HoudiniAssetBlueprint inside a Blueprint.
Which kind of do what I need, but it's still a very manual process and I've experienced few issues that make it even slower than just doing the whole process myself, by manually adding the multiple instancers to a blueprint.

So I'm still stuck:
An HDA produces an object composed by multiple instancers.
How to have them automatically baked inside a single blueprint?

I need an automated workflow bc I want multiple variations of the object, maybe by feeding the hda into a wedging hda.
Edited by Andr - Feb. 18, 2022 07:06:07
User Avatar
Member
899 posts
Joined: Feb. 2016
Offline
Nobody?

I'm trying a new approach:
a blueprint class that works as template for "assembled" objects to automatically add the blueprint instancers created by the HDA.
  1. The template has a custom string variable "ReferencePath" that the HDA automatically feeds with the list of path references to the baked instancers.
  2. Then the constructor script resolves the soft-references into objects and attach them as components.

PROBLEM: I don't know how to cast the soft-referenced object to actor.
Check the attached image please.


ps.
Sorry it's Unreal Engine related question, but I'm not getting much help in other places more UE oriented.
Maybe I've more luck here. (:
Or maybe there is already a houdini engine solution that I'm not aware of?
Edited by Andr - Feb. 19, 2022 07:32:03

Attachments:
UEcast.JPG (187.3 KB)

  • Quick Links