Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

UI Text Box
typeinfo

Under the hood, the V-Ray installation relies on the Houdini 3-rd party plugins package system. Houdini's packages are .json files that specify the location of custom modules. For more information, please refer to the documentation on the SideFX website.

The "vray_for_houdini.json" package that is used to load V-Ray when Houdini is started is placed under "$HFS/packages" (e.g. "C:\Program Files\Side Effects Software\Houdini ##.#.###\packages" for Windows) when running the installer. You may set things up differently depending on your studio pipeline.

By default, when using the installer, the location of V-Ray itself is "C:\Program Files\Chaos Group\V-Ray". Just as with the "vray_for_houdini.json", V-Ray itself can be placed anywhere on disk. As long as the "INSTALL_ROOT" variable in the json file points to a valid location, Houdini should be able to find the required modules to load V-Ray.

UI Text Box
typeinfo

Note that the EULA is accepted only for new major versions during installation from zip.

Code Block
languagejava
titleExample JSON file for loading V-Ray
{
	"load_package_once" : true,
	"env": [
		{ "INSTALL_ROOT" : "C:/Program Files/Chaos Group/V-Ray/Houdini 19.5.403 "REPLACE_WITH_PATH_TO_UNPACKED_ARCHIVE" },

		{ "VFH_HOME"         : "${INSTALL_ROOT}/vfh_home" },

		{ "VRAY_APPSDK"      : "${INSTALL_ROOT}/appsdk" },
		{ "VRAY_SDK"         : "${INSTALLVRAY_ROOTAPPSDK}/appsdk" },
		{ "VRAY_OSL_PATH"    : "${INSTALLVRAY_ROOTAPPSDK}/appsdk/bin" },
		{ "VRAY_UI_DS_PATH"  : "${INSTALL_ROOT}/ui" },
		{ "VFH_HOME"         VRAY_FOR_HOUDINI_APPSDK_BIN" : "${INSTALLVRAY_ROOTAPPSDK}/vfh_homebin" },

		{ "PATH" : [
			"${HFS}/bin",
			"${VRAY_FOR_HOUDINI_APPSDK_BIN}/bin",
			"${VFH_HOME}/bin"
		]},

		{ "VRAYVFH_FOR_HOUDINI_APPSDK_BIN" DSO_PATH" : [
			{ "houdini_version == '20.5.278' and houdini_python == 'python3.10'": "${VRAYVFH_APPSDKHOME}/bindso_py310/20.5.278" },

			{ "QT_PLUGIN_PATH" houdini_version == '20.5.278' and houdini_python == 'python3.11'": "${HFSVFH_HOME}/bin/Qt_pluginsdso_py311/20.5.278" },
			{ "QT_QPA_PLATFORM_PLUGIN_PATH" houdini_version == '20.5.332' and houdini_python == 'python3.10'": "${VFH_HOME}/dso_py310/20.5.332" },
			{ "houdini_version == '20.5.332' and houdini_python == 'python3.11'": "${HFSVFH_HOME}/bin/Qtdso_plugins/platformspy311/20.5.332" },

			{ "VFH_DSO_PATH" : [houdini_version == '20.5.370' and houdini_python == 'python3.10'": "${VFH_HOME}/dso_py310/20.5.370" },
			{ "houdini_version <== '20.5.370' and houdini_python == '19python3.011'": "${VFH_HOME}/dso_py3py311/20.5.370" },

			{ "houdini_version == '1920.5.0410' and houdini_python == 'python2python3.10'": "${VFH_HOME}/dso_py2py310/20.5.410" },
			{ "houdini_version == '1920.5.0410' and houdini_python == 'python3.11'": "${VFH_HOME}/dso_py3py311/20.5.410" },

			{ "houdini_version == '1920.5.445' and houdini_python == 'python3.710'": "${VFH_HOME}/dso_py37py310/20.5.445" },
			{ "houdini_version == '1920.5.445' and houdini_python == 'python3.911'": "${VFH_HOME}/dso_py39py311/20.5.445" }
		]},

		{ "PYTHONPATH" : [
			{ "method": "append", "value": "${VRAY_APPSDK}/python" },
		]},

		{ "VFH_ASSET_PATHmethod" : "[MTLLIB_DOWNLOAD_DIR]/assets" },

		{ "HOUDINI_DSO_PATH" append", "value": "${VFH_DSO_PATH}/python" }
		]},

		{ "HOUDINI_GALLERYDSO_PATH": [
			{ "method": "append", "value": "${VFH_DSO_HOMEPATH}/gallery" }
		]}
	],
	"path" : [
		"${VFH_HOME}"
	]
}

...