<< metasequoia python RenderMan Export 戻る 1〜20まで重複しない乱数表示 その2 >>

RIB出力検証その6

metasequoia pythonスクリプトを使ってRenderMan RIB出力が面白い。キャラクターのレンダリングを再度やってみた。
3Delightシェーダのmaya_spotlightを2つ入れて、indirectlightは調整しました。以下はlight部分のRIB前半です。


##Renderman RIB-Structure 1.0
Display "nanase01.tif" "file" "rgba"
Format 640 480 1
PixelSamples 4 4
PixelFilter "catmull-rom" 3 3
ShadingRate 1

Imager "background" "background" [0.2 0.4 0.6]

Sides 1
Orientation "rh"
Projection "perspective" "fov" [16.8611511458]
ConcatTransform [
0.682221487495 0.0292391623782 0.730560684258 0
0 0.999200044373 -0.0399908905246 0
0.731145568269 -0.0272826448199 -0.681675740577 0
30.1351455113 10.4167089142 1500.00002977 1
]
Scale 1 1 -1
WorldBegin
Attribute "visibility" "trace" [1]
Attribute "visibility" "transmission" ["Os"]
Attribute "visibility" "transmission" "opaque"
Attribute "light" "shadows" "on"
LightSource "ambientlight" 3
"lightcolor" [0.600 0.600 0.600]
LightSource "maya_spotlight" 4
"from" [143.23878479 383.181335449 -243.087921143]
"to" [-11.150762558 152.709259033 -47.7991714478]
"lightcolor" [0.898039221764 0.933333337307 1.0]
"string shadowmapname" "raytrace"
"float intensity" 1.0
"float coneangle" 0.8
"float penumbraangle" 0.15
LightSource "maya_spotlight" 5
"from" [-128.688598633 -72.6545791626 -299.763641357]
"to" [-11.5170631409 152.373718262 -24.4289131165]
"lightcolor" [0.898039221764 0.933333337307 1.0]
"string shadowmapname" "raytrace"
"float intensity" 1.0
"float coneangle" 0.8
"float penumbraangle" 0.15
TransformBegin
Translate 0 10 0
LightSource "indirectlight" 6
"uniform float intensity" [ 0.6 ]
"uniform float finalgather" [ 1 ]
"uniform float samples" [ 256 ]
"uniform float maxdist" [ 0.99999997e36 ]
"uniform float __nonspecular" [ 1 ]
TransformEnd
Color 1.0 1.0 1.0
MakeTexture "nanase._tex.tif" "nanase._tex.tdl" "periodic" "periodic" "gaussian" 1 1
Surface "supertexmap" "string Csmapname" "nanase._tex.tdl"
AttributeBegin
Scale 1 1 -1
Declare "st" "facevarying float[2]"
Attribute "identifier" "name" ["body"]
PointsPolygons
[ 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 以下省略



調整していくと面白くなりますね。ありがとうございます。
nanase01.jpg
  • -
  • -

<< metasequoia python RenderMan Export 戻る 1〜20まで重複しない乱数表示 その2 >>