Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
In a simple test scene I'm trying to use the "Arnold > Material > Export & Import"
I noticed you need to be in the matnet & select all the "arnold material builders" when exporting to ASS.
Which works as intended ie. all three shaders are stored—just showing the one.
standard_surface
{
name /obj/matnet1/red_shader/ss_red
base_color 1 0 0
specular_color 1 1 1
transmission_color 1 1 1
transmission_scatter 0 0 0
subsurface_color 1 1 1
subsurface_radius 1 1 1
sheen_color 1 1 1
normal 0 0 0
tangent 0 0 0
coat_color 1 1 1
coat_normal 0 0 0
emission_color 1 1 1
opacity 1 1 1
id1 0 0 0
id2 0 0 0
id3 0 0 0
id4 0 0 0
id5 0 0 0
id6 0 0 0
id7 0 0 0
id8 0 0 0
declare material_surface constant STRING
material_surface "/obj/matnet1/red_shader"
}When importing however I get the error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "E:/_APPS/htoa/htoa-5.6.0.0_r370661f_houdini-18.5.462/htoa-5.6.0.0_r370661f_houdini-18.5.462/scripts/python\htoa\material.py", line 267, in importMaterials
materialImport(material_context, filename)
File "E:/_APPS/htoa/htoa-5.6.0.0_r370661f_houdini-18.5.462/htoa-5.6.0.0_r370661f_houdini-18.5.462/scripts/python\htoa\material.py", line 243, in materialImport
importer.run()
File "E:/_APPS/htoa/htoa-5.6.0.0_r370661f_houdini-18.5.462/htoa-5.6.0.0_r370661f_houdini-18.5.462/scripts/python\htoa\material.py", line 424, in run
surface = self.traverse(material.get('surface'))
File "E:/_APPS/htoa/htoa-5.6.0.0_r370661f_houdini-18.5.462/htoa-5.6.0.0_r370661f_houdini-18.5.462/scripts/python\htoa\material.py", line 497, in traverse
pushHouParms(op, vop, '', is_osl)
File "E:/_APPS/htoa/htoa-5.6.0.0_r370661f_houdini-18.5.462/htoa-5.6.0.0_r370661f_houdini-18.5.462/scripts/python\htoa\node\node.py", line 741, in pushHouParms
if isMultiBool(node_entry, arnold_name):
NameError: global name 'isMultiBool' is not definedAny ideas why the shaders aren't being imported?
I can't find any HtoA documentation regarding this process.
Regards,
Andrew
Houdini: 18.5.462
HtoA: 5.6.0.0
Arnold: 6.2.0.0
Solved! Go to Solution.