How to use Renderman in Houdini

랜더셔이더를 후디니에 적용시키는 셋업 입니다. 제가 이것저것 보면서 간추린거라, 혹시 질문있으시면 리플달아주세요.
--------------------------------------
1.Creating A Compiled Shader from .sl shader
In DOS Prompt in Houdini,
shader foo.sl -------------------- It compiles foo.slo

2.Creating Renderman Dialogs for Houdini
rmands -c -d foo.slo ------------------ foo.ds

Now you got, slo and ds files.

3.Put .ds file in surface folder, or lights, lens ( It depends on types)

4.Put .sl and .slo file in ri_shaders folder. ( Houdini Rman Path)

5. Edit SHOP{shader_type}.ri file for Renderman
Ex) SHPsurface.ri
Add Name, DialogScript File, Options(Label)
ri_wire ./surface/ri_wire.ds -label "RMan Wire"

6. Go to SHOP editor. Tab it.
7. "RenderMan Shader" Search Path Setup

Option01) Rman Output's "Shader Path" under "Specific" tab.

".:&:$HFS/houdini/ri_shaders:&JOB/Shaders/Shader_ri:H:/home/shader"
means ".:" ------ tells RenderMan to look into its local directory first (not essential)
& --- tell RenderMan to use whatever was set before.
@ --- to use stardard search path
"&:$HFS/houdini/ri_shaders" ---à must have it when you use your own custom shaders in conjunctino with your own custom shader directory
option02) HOUDINI_RI_SHADERPATH
option03) "rendermn.ini" configuration file ($RMANTREE/etc)

/shaderpath .:@:${HFS}/houdini/ri_shaders:${JOB}/shaders

8. A RIB ( RerderMan Interface Bytestream) is a collection of RenderMan Commands.
9. Saving RIP from Houdini
In Output /Houdini, Check on Save Scene Description or Save it from Geometry
10. "My_Shader" "Kd" 0.7 "Ka" 0.3 "texname" "C:/image/my_texture.tx" Houdini
In Renderman, Shader "My_Shader" "Kd" 0.7 ------------- in RIB