Renderman and Redshift not working

   3700   7   2
User Avatar
Member
7 posts
Joined: 6月 2020
Offline
Hello guys I have a problem. I can not make renderman and redshift work at the same time.
When I edit the env file. If I put both codes at once only the last one works for example.


HOUDINI_DSO_ERROR = 2
HOUDINI_PATH = “C:/ProgramData/Redshift/Plugins/Houdini/${HOUDINI_VERSION};&”
PATH = “C:\ProgramData\Redshift\bin;$PATH”


RMANTREE=C:\Program Files\Pixar\RenderManProServer-23.3
RFHTREE=C:\Program Files\Pixar\RenderManForHoudini-23.3
RMAN_PROCEDURALPATH=$RFHTREE\18.0\openvdb;&
HOUDINI_PATH=$RFHTREE\18.0;&
PATH=$RMANTREE\bin;&

If I use just one of then it works but both it does not. Can someone help me out??
User Avatar
Member
7741 posts
Joined: 9月 2011
Offline
I'm not sure if they're fully compatible with eachother. However the houdini.env you posted doesn't include redshift, since the lines for prman overwrite the values. The path locations need to be appended.

e.g.
PATH=“redshift/bin;renderman/bin;mycooltools/bin;$PATH”
HOUDINI_PATH=“redshift/hou;rfhtree/hou;otherhfs;&”
Edited by jsmack - 2020年7月18日 01:37:29
User Avatar
Member
129 posts
Joined: 6月 2016
Offline
They work together without any issue. Use Houdini packages instead of Houdini.env which is difficult to maintanin when you use two or more plugins.

Create a folder called “packages” inside C:\Users\USER\Documents\houdini x.0 and then create two text files with json extension (something like redshift.json and rman.json).

RedShift file content:

{
“env” : [
{“HOUDINI_PATH” : “C:/ProgramData/Redshift/Plugins/Houdini/18.0.460”},
{“PATH” : “C:/ProgramData/Redshift/bin”}
]
}


Rman file content:

{
“env” : [
{“RMANTREE” : “C:/Program Files/Pixar/RenderManProServer-23.3”},
{“RFHTREE” : “C:/Program Files/Pixar/RenderManForHoudini-23.3”},
{“RMAN_PROCEDURALPATH” : “C:/Program Files/Pixar/RenderManForHoudini-23.3/18.0/openvdb”},
{“HOUDINI_PATH” : “C:/Program Files/Pixar/RenderManForHoudini-23.3/18.0”},
{“PATH” : “C:/Program Files/Pixar/RenderManProServer-23.3/bin”}
]
}
User Avatar
Member
7 posts
Joined: 6月 2020
Offline
I got renderman to shoe up in houdini, but now I'm getting this error.

Attachments:
Screenshot 2020-07-18 15.07.13.png (26.4 KB)

User Avatar
Member
129 posts
Joined: 6月 2016
Offline
Did you check the paths are correct ? Houdini and Rman version number in the json files
User Avatar
Member
7741 posts
Joined: 9月 2011
Offline
nelsinho
I got renderman to shoe up in houdini, but now I'm getting this error.

Fix the syntax error? If you copied the text from the forum, then it probably has the wrong kind of quote character. replace them with
"
User Avatar
Member
7741 posts
Joined: 9月 2011
Offline
madrenderman
They work together without any issue. Use Houdini packages instead of Houdini.env which is difficult to maintanin when you use two or more plugins.

Create a folder called “packages” inside C:\Users\USER\Documents\houdini x.0 and then create two text files with json extension (something like redshift.json and rman.json).

RedShift file content:
{
	"env" : [
		{"HOUDINI_PATH" : "C:/ProgramData/Redshift/Plugins/Houdini/18.0.460"},
		{"PATH" : "C:/ProgramData/Redshift/bin"}
	]
}

Rman file content:

{
	"env" : [
		{"RMANTREE" : "C:/Program Files/Pixar/RenderManProServer-23.3"},
		{"RFHTREE" : "C:/Program Files/Pixar/RenderManForHoudini-23.3"},
		{"RMAN_PROCEDURALPATH" : "C:/Program Files/Pixar/RenderManForHoudini-23.3/18.0/openvdb"},
		{"HOUDINI_PATH" : "C:/Program Files/Pixar/RenderManForHoudini-23.3/18.0"},
		{"PATH" : "C:/Program Files/Pixar/RenderManProServer-23.3/bin"}
	]
}

I don't use redshift, but my renderman packages look like this:

prman-23.0.json
{
    "enable": true,
    "env" :
    [
        {
            "var": "RMANTREE",
            "value": "C:/PROGRA~1/Pixar/RenderManProServer-23.0"
        },
        {
            "var": "PATH",
            "value": "C:/PROGRA~1/Pixar/RenderManProServer-23.0/bin",
            "method": "append"
        },
        {
            "var": "HOUDINI_DEFAULT_RIB_RENDERER",
            "value": "prman23.0"
        }
    ]
}

prmanstudio-23.0.json
{
    "enable": true,
    "requires": "prman-23.0",
    "env" :
    [
        {
            "RFHTREE": "C:/PROGRA~1/Pixar/RenderManForHoudini-23.0"
        },
        {
            "HOUDINI_PATH": "C:/PROGRA~1/Pixar/RenderManForHoudini-23.0/18.0"
        }
    ]
}
Edited by jsmack - 2020年7月18日 15:23:55
User Avatar
Member
7 posts
Joined: 6月 2020
Offline
Great. Now it is working!!!!
  • Quick Links