question

J Scheepbouwer avatar image
J Scheepbouwer asked

How do I install Arnold using the new packages system in Houdini 17.5?

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"
 }
      ]
    }
  ]
}  
houdini
dso.jpg (42.5 KiB)
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

rachid Hadj Abderrahmane avatar image
rachid Hadj Abderrahmane answered

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};&"}
]
}

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

rachid Hadj Abderrahmane avatar image
rachid Hadj Abderrahmane answered

{
"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};&"}
]
}

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

J Scheepbouwer avatar image
J Scheepbouwer answered

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?

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

rachid Hadj Abderrahmane avatar image
rachid Hadj Abderrahmane answered

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"}
]
}

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

J Scheepbouwer avatar image
J Scheepbouwer answered

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?

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

J Scheepbouwer avatar image
J Scheepbouwer answered

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 :)

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

rachid Hadj Abderrahmane avatar image
rachid Hadj Abderrahmane answered

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"},



10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

J Scheepbouwer avatar image
J Scheepbouwer answered

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

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

rachid Hadj Abderrahmane avatar image
rachid Hadj Abderrahmane answered

you are welcome!

10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

J Scheepbouwer avatar image
J Scheepbouwer answered

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

1 comment
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

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}


0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.