What's wrong with my setting to renderman ris?

   14913   9   1
User Avatar
Member
24 posts
Joined: May 2012
Offline
Renderman version 20.3
In RIB rendering,everything was OK!

In RIS rendering,no color.all black.
But only the alpha can be show!

Attachments:
ris001.jpg (122.1 KB)

User Avatar
Staff
1448 posts
Joined: July 2005
Offline
You probably need to assign a RIS shader to the teapot or create a Pxr light object.

See the example here:
https://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&p=189148#189148 [sidefx.com]
User Avatar
Member
24 posts
Joined: May 2012
Offline
rafal
You probably need to assign a RIS shader to the teapot or create a Pxr light object.

See the example here:
https://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&p=189148#189148 [sidefx.com]

I have tested that scene,but it's rendering out,like my scene!No color,all black.Only the alpha can be show!

Attachments:
Renderman_RIS_Test.hip (298.9 KB)

User Avatar
Staff
1448 posts
Joined: July 2005
Offline
Your light is far away and does not illuminate the teapot enough for it to be seen. Although, you can increase the gamma correction (to the right of your alpha button) to make it appear.

So, either move the light closer to the teapot or increase the exposure on the light object. Eg, in the fixed file, it's set to 5.

Attachments:
renderman_ris_test_260_fixed.hip (280.7 KB)

User Avatar
Member
24 posts
Joined: May 2012
Offline
rafal
Your light is far away and does not illuminate the teapot enough for it to be seen. Although, you can increase the gamma correction (to the right of your alpha button) to make it appear.

So, either move the light closer to the teapot or increase the exposure on the light object. Eg, in the fixed file, it's set to 5.

Thinks!

But ,,,,, nothing changed!Like before!All black.
Even I've done it under your guidance.Nothing changed in my houdini!

Maybe my houdini env file get wrong setting?

It's my env setting:
PATH=$PATH;CProgram Files/Pixar/RenderManProServer-20.3/bin
HOUDINI_DEFAULT_RIB_RENDERER=prman20.3
HOUDINI_VIEW_RMAN=prman
HOUDINI_RI_SHADERPATH=CProgram Files/Pixar/RenderManProServer-20.3/lib/RIS
User Avatar
Staff
1448 posts
Joined: July 2005
Offline
Try unsetting the HOUDINI_RI_SHADERPATH altogether.

That's because it is intended for RSL shaders while in your .hip file it is set to the RIS plugins location. PRMan20.3 still uses RSL for light shaders, ie PxrStdAreaLight is an RSL shader (in $RMANTREE/lib/rsl/shaders/PxrAreaLight.slo) and since your path does not include that location, the renderer cannot find it.

You should not need to set HOUDINI_RI_SHADERPATH for simple scenes. If you do, you probably should include the RSL subdir as well as $HH/ri_shaders that contains RSL shaders used sometimes by Houdini. As of H15.0.239, there is also a HOUDINI_RI_RIXPLUGINPATH env var for search path of the RIS shader plugins (as opposed to RSL shaders), if you really must specify non-standard locations.

Finally, if that does not help, it may be useful to:
- go to the ROP node
- in the Driver tab, turn on Disk File and specify .rib location
- press ‘Render to Disk’ button and see if there are any errors on the node
- inspect the generated .rib file
- in Houdini command line shell utility, run:
render test.rib
and see if there are any rendering errors from RenderMan

Hope this helps,
Rafal
User Avatar
Member
24 posts
Joined: May 2012
Offline
rafal
Try unsetting the HOUDINI_RI_SHADERPATH altogether.

That's because it is intended for RSL shaders while in your .hip file it is set to the RIS plugins location. PRMan20.3 still uses RSL for light shaders, ie PxrStdAreaLight is an RSL shader (in $RMANTREE/lib/rsl/shaders/PxrAreaLight.slo) and since your path does not include that location, the renderer cannot find it.

You should not need to set HOUDINI_RI_SHADERPATH for simple scenes. If you do, you probably should include the RSL subdir as well as $HH/ri_shaders that contains RSL shaders used sometimes by Houdini. As of H15.0.239, there is also a HOUDINI_RI_RIXPLUGINPATH env var for search path of the RIS shader plugins (as opposed to RSL shaders), if you really must specify non-standard locations.

Finally, if that does not help, it may be useful to:
- go to the ROP node
- in the Driver tab, turn on Disk File and specify .rib location
- press ‘Render to Disk’ button and see if there are any errors on the node
- inspect the generated .rib file
- in Houdini command line shell utility, run:
render test.rib
and see if there are any rendering errors from RenderMan

Hope this helps,
Rafal

Cool!
thanks bro !!!

I've tried to remove HOUDINI_RI_SHADERPATH setting!
It's worked!
My RIS has been working correctly!

Attachments:
ris_render.jpg (166.8 KB)

User Avatar
Member
7 posts
Joined: Nov. 2011
Offline
hi rafal and blove,

If you can please come to my aid.

Below is what I get

Rendered on Tue Mar 15 23:27:41 SAST 2016
Rendering at 640x360 pixels, 64 maxsamples
“/Users/bubble/HoudiniProjects/Rendeman/render/prman_02.ris1.0001.exr” (mode = rgba, type = houdini)
Memory: 282.99 MB
Max resident mem: 282.99 MB
Page faults: 43, Page reclaims: 75059, Swaps: 0

Real time: 00:08
User time: 00:35
Sys time: 00:00
S10006 {WARNING} Could not load integrator plugin “PxrPathTracer” in the path “.Applications/Pixar/RenderManProServer-20.7/lib/RIS”. (System Error: No such file or directory)
S01001 {WARNING} Cannot load shader “PxrStdAreaLight”. (System Error: No such file or directory)
R51002 {WARNING} Primitive /obj/Key is not visible to camera or traced rays.
R10006 {WARNING} Invalid light handle.
imdisplay: Unable to write tile
R90007 {SEVERE} DisplayWindow failed to send display data (System Error: Broken pipe)
R56005 {SEVERE} Renderer completing shutdown request. (System Error: Broken pipe)


Thanks in advance
User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
Have you set these environment variables?

export PATH=“/Applications/Pixar/RenderManProServer-20.7/bin:${PATH}”
export RMANTREE=“/Applications/Pixar/RenderManProServer-20.7”
export HOUDINI_DEFAULT_RIB_RENDERER=“prman”

-b
http://www.racecar.no [www.racecar.no]
User Avatar
Member
7 posts
Joined: Nov. 2011
Offline
Hi Bonsak,

That worked buddy! I have placed them in both the houdini.env file and .bash_profile, is that necessary?

Thanks

L
  • Quick Links