Using H 17.5.327 and Arnold htoa-4.2.0_rcd74057_houdini-17.5.327, I've made a json file containing this code, but on launch I get a Houdini dso error (see pic)
Any help appreciated, thanks Jasper
{ "env": [ { "HOUDINI_PATH": [ { "value" : "C:\Users\Jasper\htoa\htoa-4.2.0_rcd74057_houdini-17.5.327\htoa-4.2.0_rcd74057_houdini-17.5.327", "method" : "append" } ] }, { "PATH": [ { "value" : "C:\Users\Jasper\htoa\htoa-4.2.0_rcd74057_houdini-17.5.327\htoa-4.2.0_rcd74057_houdini-17.5.327\scripts\bin", "method" : "append" } ] } ] }
Solved! Go to Solution.
{
"env":[
{"PATH": "$PATH;C:/Users/rachid/htoa/htoa-4.3.0_r48c4031_houdini-17.5.391/htoa-4.3.0_r48c4031_houdini-${HOUDINI_VERSION}/scripts/bin"},
{"HOUDINI_PATH":"C:/Users/rachid/htoa/htoa-4.3.0_r48c4031_houdini-17.5.391/htoa-4.3.0_r48c4031_houdini-${HOUDINI_VERSION};&"}
]
}
Hi Rachid, although this seems to work, I don't get any shaders. When using the houdini.env method, I do get them allright. I suspect a conflict with Redshift - that is where I got the code above from, with the "method" : "append" lines. How can I insert them in your code?
I don't have that "method" : "append"!
The only conflict is between Arnold and Renderman
# Redshift-----------------
{
"env": [
{"REDSHIFT_COREDATAPATH": "C:/ProgramData/Redshift"},
{"PATH": "C:/ProgramData/Redshift/bin;$PATH"},
{"HOUDINI_PATH": "$REDSHIFT_COREDATAPATH;C:/ProgramData/Redshift/Plugins/Houdini/${HOUDINI_VERSION}"},
{"REDSHIFT_RV_ALWAYSONTOP": "0"},
{"REDSHIFT_AUTOSPAREPARAMS": "0"}
]
}
--------------------------------------------------------------------------------------------------------------------------
#Vray---------------
{
"env":[
{"VFH_ROOT": "C:/vray"},
{"VRAY_APPSDK": "${VFH_ROOT}/appsdk"},
{"VRAY_OSL_PATH": "${VRAY_APPSDK}/bin"},
{"VRAY_UI_DS_PATH": "${VFH_ROOT}/ui"},
{"VFH_HOME":"${VFH_ROOT}/vfh_home"},
{"VFH_PATH": "${VFH_HOME}/bin;${VRAY_APPSDK}/bin"},
{"PATH": "${VFH_PATH};${PATH}"},
{"HOUDINI_PATH": "${VFH_HOME};${HOUDINI_PATH};&"},
{"HOUDINI13_VOLUME_COMPATIBILITY": "1" },
{"HDF5_DISABLE_VERSION_CHECK":"1"}
]
}
--------------------------------------------------------------------------------------------------------------------------
#Renderman-----------------------
{
"env":[
{"HOUDINI_PATH" : "$RFHTREE/17.5"},
{"RFHTREE" : "C:/Program Files/Pixar/RenderManForHoudini-22.6"},
{"RMANTREE" : "C:/Program Files/Pixar/RenderManProServer-22.6"}
]
}
Hi Rachid, thanks, but it doesn't make a difference. I've tried with no Redshift at all, and it still won't give any Arnold shaders - unless I use the houdini.env method. What else could cause this?
Copy/paste this code in your houdini packages( name it Arnold.json)
)
{
"env":[
{"PATH": "$PATH;C:/Users/Jasper/htoa/htoa-4.2.0_rcd74057_houdini-17.5.327/htoa-4.2.0_rcd74057_houdini-17.5.327/scripts/bin"},
{"HOUDINI_PATH":"C:/Users/Jasper/htoa/htoa-4.2.0_rcd74057_houdini-17.5.327/htoa-4.2.0_rcd74057_houdini-${HOUDINI_VERSION};&"}
]
}
Thanks Rachid, this works! Am I correct that the only difference between this and your first code is the ${HOUDINI_VERSION} token in the PATH variable that you replaced with the actual path?
Just checking, cause I was under the assumption that I had exactly that 🙂
it's the same thing
-${HOUDINI_VERSION} or -17.5.327
You can put:
{"PATH": "$PATH;C:/Users/Jasper/htoa/htoa-4.2.0_rcd74057_houdini-17.5.327/htoa-4.2.0_rcd74057_houdini-17.5.327/scripts/bin"},
or
{"PATH": "$PATH;C:/Users/Jasper/htoa/htoa-4.2.0_rcd74057_houdini-17.5.327/htoa-4.2.0_rcd74057_houdini-${HOUDINI_VERSION}/scripts/bin"},
That's what I thought... and what puzzles me. It was exactly what I had - before I started messing around trying to find something that worked. 🙂 Anyway, glad this works, and thanks for your help.
regards, Jasper
Hi, I'm trying to create a package for H18.0.287 and not getting results (or, better, the type of result that I want).
When i use the houdini.env (the one modified by the htoa installer), everything goes well and I can use Arnold. When I comment out the htoa lines in the env and create a arnold.json things go wrong.
This is my arnold.json:
{
"env":[
{"PATH": "$PATH;C:/Users/planetx/htoa/htoa-5.0.1_r5e954ab_houdini-18.0.287/htoa-5.0.1_r5e954ab_houdini-18.0.287/scripts/bin"},
{"HOUDINI_PATH":"C:/Users/planetx/htoa/htoa-5.0.1_r5e954ab_houdini-18.0.287/htoa-5.0.1_r5e954ab_houdini-18.0.287;&"},
{"PXR_PLUGINPATH_NAME" : "C:/Users/planetx/htoa/htoa-5.0.1_r5e954ab_houdini-18.0.287/htoa-5.0.1_r5e954ab_houdini-18.0.287/hydra"}
]
}
I get my shelves, materials and lights but when rendering it sticks on 'generating scene' and nothing is rendered. My top menu is scrambled, with Arnold as the first entry, Render as the second and then File etc. Also I get this in the Houdini console on startup:
Error while parsing a menu definition file
'C:/Users/planetx/htoa/htoa-5.0.1_r5e954ab_houdini-18.0.287/htoa-5.0.1_r5e954ab_houdini-18.0.287/MainMenuCommon.xml':
Cannot find element 'h.create_mantra_pbr' needed for ordering of 'render_create_submenu_sep_arnold'.
Cannot find element 'help_menu' needed for ordering of 'arnold_menu'.
I tried all kinds of variatons (looking at my other - working- json packages) but no success.
Any help appreciated,
Jasper
That error because you have other .json file, like: Renderman, 3delight...
Most Renderers like arnold $ Renderman ..etc, use houdini's "soho" parameter.
In fact this is Sidefx problem since houdini look only what come first, the second is ignored,
Arnold coexist with Redshift and Vray
but not with Renderman and 3Delight
Any way try to replace -18.0.287 with: -${HOUDINI_VERSION}
Hi Rachid, we don't have 3Delight or Renderman here. Are there other plugins that use soho?
Deadline also is causing problems, as a json package it crashes Houdini on startup while as a env entry it works. But only in combination with arnold. My deadline.json is:
{
"env": [
{
"HOUDINI_PATH": "C:/Users/planetx/AppData/Local/Thinkbox/Deadline10/submitters/HoudiniSubmitter"
},
{
"HOUDINI_MENU_PATH": "C:/Users/planetx/AppData/Local/Thinkbox/Deadline10/submitters/HoudiniSubmitter"
}
],
}
Thanks for any help, Jasper
Sorry, I do not have Deadline, but looking to your .json file
There is a little mistake at the end (],) remove the comma (])
Both HOUDINI_PATH and HOUDINI_MENU_PATH are pointing to the same path !
It does not work with Houdini 18.0.287. package path supports from 18.0.315. I am using htoa with 18.0.327 in package path and it works fine.