About houdini.env file

   17469   8   1
User Avatar
Member
4 posts
Joined: Aug. 2014
Offline
I want to install Redshift and Arnold same time. I receive this message

"Cannot determine preloaded icons for shelf: <hou.Shelf ‘arnold’> OR
Cannot determine preloaded icons for shelf: <hou.Shelf ‘redshift’>


and my houdini.env file is

#
# Houdini Environment Settings
#
# The contents of this file are read into the environment
# at startup. They will override any existing entries in
# the environment.
#
# The syntax is one entry per line as follows:
# VAR = VALUE
#
# Values may be quoted
# VAR = “VALUE”
#
# Values may be empty
# VAR =
#

# Example:
#
# HOUDINI_NO_SPLASH = 1


# htoa config start
PATH = “$PATH;CUsers/user.name/htoa/htoa-2.1.3_rcca6014_houdini-16.0.671/htoa-2.1.3_rcca6014_houdini-${HOUDINI_VERSION}/scripts/bin”
HOUDINI_PATH = “CUsers/user.name/htoa/htoa-2.1.3_rcca6014_houdini-16.0.671/htoa-2.1.3_rcca6014_houdini-${HOUDINI_VERSION};&”

PATH = “CProgramData/Redshift/bin;$PATH”
HOUDINI_PATH = “CProgramData/Redshift/Plugins/Houdini/16.0.671;&”
# htoa config end


I think somethings are wrong with the .env file.
User Avatar
Member
8037 posts
Joined: Sept. 2011
Offline
The second line of HOUDINI_PATH is replacing the first, set for htoa. You need to concatenate them for both plugins to be loaded. Your htoa path is also relative to your $HOUDINI_VERSION, if you are not running the exact version of houdini indicated by this path, then it won't load at all. You can safely change that to be hard coded to the version you have installed, as htoa usually works with houdini versions that are later than the build version.

For example I have in my houdini.env:

# arnold config start
ARNOLD_VERSION = "2.0.0"
ARNOLD_BUILD = "r240c4dd"
ARNOLD_ROOT = "C:/USERS/PUBLIC/DOCUME~1/htoa-${ARNOLD_VERSION}"
ARNOLD_APP = "${ARNOLD_ROOT}/htoa-${ARNOLD_VERSION}_${ARNOLD_BUILD}_houdini-16.0.557"
PATH = "$PATH;${ARNOLD_APP}/scripts/bin"
# arnold config end

# redshift config begin
REDSHIFT_ROOT = "C:/ProgramData/Redshift"
REDSHIFT_HOUDINI_ROOT = "${REDSHIFT_ROOT}/Plugins/Houdini/16.0.557"
PATH = "$PATH;${REDSHIFT_ROOT}/bin"
# redshift config end

HOUDINI_PATH = "${ARNOLD_APP};${REDSHIFT_HOUDINI_ROOT};&"
User Avatar
Member
4 posts
Joined: Aug. 2014
Offline
Thank you very much Jsmack. I solved my issue with your method.
User Avatar
Member
1 posts
Joined: Nov. 2016
Offline
Hello guys it wont work for the Houdini 16.5.268 can you help please ?
User Avatar
Member
11 posts
Joined: Dec. 2017
Online
Awesome, thanks for this solution.
I ran into a similar issue with configuring V-Ray for Houdini and Redshift. Now both are working, i used this in my houdini.env file:

#
# Houdini Environment Settings
#

# deadline config begin
DEADLINE_ROOT = “C:\ProgramData\Thinkbox\Deadline10”
HOUDINI_PATH = “$HOUDINI_PATH;CUsers/xxxx_username/AppData/Local/Thinkbox/Deadline10/submitters/HoudiniSubmitter;&”
HOUDINI_MENU_PATH = “$HOUDINI_MENU_PATH;CUsers/xxxx_username/AppData/Local/Thinkbox/Deadline10/submitters/HoudiniSubmitter;&”
# deadline config end


# redshift config begin
REDSHIFT_ROOT = “CProgramData/Redshift”
REDSHIFT_HOUDINI_ROOT = “${REDSHIFT_ROOT}/Plugins/Houdini/17.5.293”
PATH = “$PATH;${REDSHIFT_ROOT}/bin”
# redshift config end


# V-Ray for Houdini Begin
#
VFH_ROOT=“C:\Users\xxxx_username\Documents\houdini17.5\vray_adv_41203_houdini17.5.293”

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
#
# V-Ray for Houdini End

HOUDINI_PATH = “${VFH_ROOT};${HOUDINI_PATH};${REDSHIFT_HOUDINI_ROOT};&”


It's important to append V-ray contents to the end of your houdini.env
User Avatar
Member
85 posts
Joined: July 2007
Offline
Hi, have you heard about packages? Makes env-ing obsolete…
https://www.sidefx.com/docs/houdini/ref/plugins.html [www.sidefx.com]
artstation.com/scivfx
User Avatar
Member
2 posts
Joined: Oct. 2009
Offline
Instead of a link slap how about a sample json file @xilofoton?
User Avatar
Member
24 posts
Joined: June 2019
Offline
How about an app that does that for you?

https://vimeo.com/361638185 [vimeo.com]
User Avatar
Member
1 posts
Joined: Dec. 2019
Offline
Hi
I use Houdini 17.5.455 with Arnold 5 on CentOS 7.5. there is a problem: Arnold is not there (in Houdini) to use it.
I guess the problem is in the Houdini.env file.

# at startup. They will override any existing entries in
# the environment.
#
# The syntax is one entry per line as follows:
# VAR = VALUE
#
# Values may be quoted
# VAR = “VALUE”
#
# Values may be empty
# VAR =
#

# Example:
#
# HOUDINI_NO_SPLASH = 1

# htoa config start
export HOUDINI_PATH = “/home/workstationfx/htoa/htoa-5.0.0_rcd870fd_houdini-17.5.425/htoa-5.0.0_rcd870fd_houdini-${HOUDINI_VERSION};&”
export PXR_PLUGINPATH_NAME = “/home/workstationfx/htoa/htoa-5.0.0_rcd870fd_houdini-17.5.425/htoa-5.0.0_rcd870fd_houdini-${HOUDINI_VERSION}/hydra”
# htoa config end
Dose anyone know what is the solution?

Attachments:
Screenshot from 2019-12-27 22-50-43.png (31.4 KB)

  • Quick Links