Houdini embed external obj in HDA

   1922   3   2
User Avatar
Member
1 posts
Joined: 3月 2021
Offline
Hello all!

I want to embed an external obj file in Houdini digital asset. Tried a few methods including add file in Edit Operator Type Properties. However, the saved .hdalc file is still empty. Any idea why and how can I fix this? Thank you!
User Avatar
Member
139 posts
Joined: 3月 2016
Offline
Hello - I was just doing exactly this today.
As you suggest you first add the file to the 'Type Properties' 'Extra Files' tab.
Then you need to go to your references on the import/file node and change from the folder or $HIP location to
opdef:../..?

So for example if it were a file node that linked to the obj model
$HIP/modelfolder/modelname.obj
you would change it to
opdef:../..?modelname.obj

https://www.sidefx.com/docs/houdini/assets/opdef.html [www.sidefx.com]

and if you have a whole load of these then you can do it automatically in the textport -
https://www.sidefx.com/forum/topic/84427/ [www.sidefx.com]
https://www.jamesrobinsonvfx.com/tips/workflow/2021/03/26/opchange/ [www.jamesrobinsonvfx.com]
Love Houdini
User Avatar
Member
66 posts
Joined: 5月 2019
Offline
Adding this just for the sake of visual clarity for future googlers about what Hatchery already said.

Attachments:
embedded_fbx_into_hda.png (563.1 KB)

Generalist. Transforming still images to 3D animation 🔮
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
User Avatar
Member
36 posts
Joined: 11月 2012
Offline
Hatchery & AnimGraphLab thank you very much, most impressive.
Artur Mandas

Artist & Developer
http://arturmandas.com [arturmandas.com]
  • Quick Links