AntoineSfx Posted August 18, 2019 Share Posted August 18, 2019 (edited) How do I make sure my hip file is self contained ? For example, how to embed a jpeg file that is referenced in a shader ? (using Houdini apprentice) Edited August 18, 2019 by AntoineSfx Quote Link to comment Share on other sites More sharing options...
dgani Posted August 22, 2019 Share Posted August 22, 2019 You have to make your asset into an HDA and then use the opdef syntax. https://www.sidefx.com/docs/houdini/assets/opdef.html https://www.sidefx.com/docs/houdini/ref/windows/optype.html#extra_files Quote Link to comment Share on other sites More sharing options...
davpe Posted August 22, 2019 Share Posted August 22, 2019 generally, the way to embed stuff in your hip file is locking any node with a red flag. unfortunately, it only seem to work with geometry and not with any image inputs (in COPs or shaders). not sure about the method dgani mentioned - maybe possible but seems to be quite a lenghty way of doing stuff on regular basis :/ anyways lock flag in COPs could be worth RFE... Quote Link to comment Share on other sites More sharing options...
anim Posted August 23, 2019 Share Posted August 23, 2019 8 hours ago, davpe said: maybe possible but seems to be quite a lenghty way of doing stuff on regular basis not very lengthy, just create one Embedded asset and add all needed textures or any files into Extra files, then reference them as mentioned, you can keep adding more as you need Quote Link to comment Share on other sites More sharing options...
davpe Posted August 23, 2019 Share Posted August 23, 2019 5 hours ago, anim said: not very lengthy, just create one Embedded asset and add all needed textures or any files into Extra files, then reference them as mentioned, you can keep adding more as you need yeah it depends. to me it feels lenghty (and clumsy), especially if there is a one click corresponding function with sop nodes (lock flag). but anyways personally I dont remember ever running into a situation where i needed to embed a picture... P. S. of course i realize I'm just spoiled ungrateful freak and that it's great you can do it with hda Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.