Jump to content

Prman for Houdini (again)


Recommended Posts

Hey guys,

im sorry if this is a repost, but i cannot find an answer anywhere... (maybe im using the wrong keywords?) what im trying to do is take the .sl or .slo files i have written in cutter for prman, and apply them to a grid, or any shape really, in houdini. im not gettin anything and i cant really figure it out..

as always, thanks in advance guys!

glenn

Link to comment
Share on other sites

Cutter can be setup to use the slo2otl.py utility to place your compiled shaders into 1 OTL file. All you have to do is point Cutter to $HOME/houdini9/otls/myshaders.otl in the OTL prefs, and make sure Houdini's /bin directory is setup in Languages > VFL in the Preferences Tool.

Typical workflow

1. Alt + E compiles your shader and adds it to your OTL

2. In Houdini go to (File > Refresh Asset Libraries) note: this should take a sec, if it doesn't check Windows > Operator Type Manager to be sure your shader was added to the proper OTL file. If it's not working then most likely you have incorrect paths setup in Cutter, or haven't set your system Env variables properly.

3. assign the shader to your geometry

3. add RenderMan ROP in /out and make sure Properties > Paths > Shader Path contains the location of your compiled shaders.

mine looks like this.

.:${HOME}/houdini9.5/ri_shaders:${DATA_ROOT}/shaders:${RMANTREE}/lib/shaders

Are you studying at SCAD?

Edited by Alanw
Link to comment
Share on other sites

do you make the otl in H9 or in Cutter? im tryin to save out from cutter as a .otl and then compile, but its saying theres nothing to execute?

T I A

Create the OTL file yourself using either rmands or slo2otl.py command line utilities. Then you point cutter to that OTL in the .otl path section of the pref's.

Note, if you leave the .otl path blank Cutter will create an OTL for you for every shader you compile. This causes a lot of files to be generated, and quite a hassle loading all those OTL's into Houdini so I wouldn't do it this way. You could use this to build your first OTL file though. Then just fill in the ".otl path" with that otl file.

Link to comment
Share on other sites

im sorry i keep being such a pain in teh ass, but i really appreciate you helping me out... im trying to use the script from fundza and its not working at all?? it keeps saying:

"rmands: error while loading shared libraries: libHoudiniPRM.so: cannot open shared object file: No such file or directory"

http://i37.tinypic.com/a1o3h5.jpg

http://i33.tinypic.com/fjiyyv.jpg

]http://i35.tinypic.com/2w3dq9g.jpg

thanks again!!

Edited by TheAdmira1
Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...