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!
Houdini embed external obj in HDA
1860 3 2- xinyueli418
- Member
- 1 posts
- Joined: 3月 2021
- Offline
- Hatchery
- 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
So for example if it were a file node that linked to the obj model
you would change it to
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]
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
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
- AnimGraphLab
- Member
- 66 posts
- Joined: 5月 2019
- Offline
Adding this just for the sake of visual clarity for future googlers about what Hatchery already said.
Generalist. Transforming still images to 3D animation 🔮
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
- arturmandas
- Member
- 36 posts
- Joined: 11月 2012
- Offline
-
- Quick Links