Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

can't find shaders

37 views
Skip to first unread message

Randy Heiland

unread,
Aug 29, 2017, 7:41:03 PM8/29/17
to
Hello,

I've installed the non-commercial 21.5 (on OSX Sierra) and when I run:

$ prman -dspyserver /Applications/Pixar/RenderManProServer-21.5/bin/it.app/Contents/MacOS/it sphere3.rib

where sphere3.rib is:

version 3.03
#ErrorHandler "print"
#Display "test.25.pic" "file" "rgba"
Display "sphere2" "it" "rgba"
#Display "sphere1.tif" "file" "rgb"
Format 320 240 1
Projection "perspective" "fov" [30]
# Translate Camera (moves world origin 6 units towards +Z)
Translate 0 0 6
WorldBegin
LightSource "ambientlight" 1 "intensity" [0.2]
LightSource "distantlight" 2 "intensity" [1.2]"from" [0 0 -6]"to" [0 0 0]
# Define a red plastic unit sphere at 0 0 0
Color [1.0 0.0 0.0]
Surface "plastic"
Sphere 1 -1 1 360
WorldEnd

I get the following warnings, with a white sphere rendered in "it":

S01001 {WARNING} Cannot load shader "ambientlight". [<Loading Shader>] (System Error: No such file or directory)
S01001 {WARNING} Cannot load shader "distantlight". [<Loading Shader>] (System Error: No such file or directory)
S01001 {WARNING} Cannot load shader "plastic". [<Loading Shader>] (System Error: No such file or directory)

And commenting out these shaders in the .rib, I simply get a white sphere.

Suggestions? Thanks!

Mats Bertil Tegner

unread,
Oct 22, 2022, 11:34:39 PM10/22/22
to
That's because Reyes/RSL was removed in RenderMan 21.x onwards. Your example renders fine in 20.12.
0 new messages