• can't find shaders

    From Randy Heiland@21:1/5 to All on Tue Aug 29 16:41:02 2017
    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!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mats Bertil Tegner@21:1/5 to All on Sat Oct 22 20:34:38 2022
    onsdag 30 augusti 2017 kl. 01:41:03 UTC+2 skrev randy....@gmail.com:
    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!

    That's because Reyes/RSL was removed in RenderMan 21.x onwards. Your example renders fine in 20.12.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)