
Tanguy Bodivit
tanguybc
About Me
専門知識
CG Supervisor
Location
United States
ウェブサイト
Connect
Recent Forum Posts
sourcing material from another houdini file ? 2023年5月14日22:19
GOgraphRAh nice ! Exactly what I want to dotanguybc
Maybe that would be a way to get there:
https://www.sidefx.com/docs/houdini/hom/hou/fileReferences.html [www.sidefx.com]
Hi tanguybc !
Sorry !! Not really...
This will tell you only where your current HIP file has its external references.hou.fileReferences()
((None, '$HIP/houdini19.0/otls/vop_vec2tohvec1.hdanc'),
(<hou.Parm taskgraphfile in /tasks/topnet1>, '$HIP/$HIPNAME.taskgraph.$F.py'),
(<hou.Parm pdg_workingdir in /tasks/topnet1/localscheduler>, '$HIP'))
(<hou.Parm baseNormal_texture in /obj/alarm_clock_01_1k_fbx/materials/alarm_clock_01>, '/home/BIG/3DStuff/Assets/alarm_clock_01_1ktextures/alarm_clock_01_nor_gl_1k.exr')
(<hou.Parm rough_texture in /obj/alarm_clock_01_1k_fbx/materials/alarm_clock_01>, 'Y:\\Poly Haven\\admin.polyhaven.com\\tmp\\Staging\\Models\\alarm_clock_01\\_upload\\fbx\\1k\\alarm_clock_01\\textures\\alarm_clock_01_rough_1k.jpg')
(<hou.Parm baseNormal_texture in /obj/alarm_clock_01_1k_fbx/materials/alarm_clock_01_glass>, '/home/BIG/3DStuff/Assets/alarm_clock_01_1k/textures/alarm_clock_01_nor_gl_1k.exr')
(<hou.Parm rough_texture in /obj/alarm_clock_01_1k_fbx/materials/alarm_clock_01_glass>, 'Y:\\Poly Haven\\admin.polyhaven.com\\tmp\\Staging\\Models\\alarm_clock_01\\_upload\\fbx\\1k\\alarm_clock_01\\textures\\alarm_clock_01_rough_1k.jpg')
[/code]As in this case. It shows me really fast, why I don't get the render I want. The source of the FBX has set wrong paths for rough_texture
.
What you could do is try this : Entagma short on "new" default scene [entagma.com]entagma
In this tut we create a 123.py file which contains the command to merge a scene file into your new scene when Houdini launches: hou.hipFile.merge(“C:/Users/Your_User/Documents/houdini19.5/ mydefault.hip”)

Thank you for tip GographR !
sourcing material from another houdini file ? 2023年5月14日15:07
Maybe that would be a way to get there:
https://www.sidefx.com/docs/houdini/hom/hou/fileReferences.html [www.sidefx.com]
https://www.sidefx.com/docs/houdini/hom/hou/fileReferences.html [www.sidefx.com]
sourcing material from another houdini file ? 2023年5月14日14:55
Thank you for the input ! I am not sure ai want to go the USD route for just one guy … but the hda why not !
I was thinking maybe python would allow me to import a file and rename the mats on the fly. Well lots of possibility probably , need to dig in looks like no straight forward solution
I was thinking maybe python would allow me to import a file and rename the mats on the fly. Well lots of possibility probably , need to dig in looks like no straight forward solution