📄 texture1.rib
字号:
##RenderMan RIB-Structure 1.1
##Creator dart
FrameBegin 1
#Output options
Display "outputimage" "framebuffer" "rgba"
Clipping 0.01 1000
#Background
Imager "background" "background" [ 0 0.1 0.1 ]
#Camera
Format 256 256 1
Projection "perspective" "fov" [ 38.38817323 ]
ConcatTransform [ 1 0 0 0 0 1 0 0 0 0 -1 0 -0.5 -0.5 6.2 1 ]
PixelSamples 16 16
Attribute "cs655Setting" "renderType" [ "rayTracing" ]
Attribute "cs655Setting" "rayDepth" [ 4 ]
WorldBegin
#Lights
LightSource "cs655ambientLight" 0 "lightcolor" [ 6 6 6 ]
LightSource "cs655pointLight" 1 "lightcolor" [ 6 6 6 ] "from" [ 0.5 1.5 2 ] "jitter" [ 0.1 ]
ReverseOrientation
#Objects
AttributeBegin
Color [ 0 1 1 ]
Surface "cs655surface" "specularcolor" [ 0 0 0 ] "reflectedcolor" [ 0 0 0 ] "transmittedcolor" [ 0 0 0 ] "ambientcolor" [ 0 0 0 ] "indexofrefraction" [ 1 ] "phong" [ 10 ] "glossiness" [ 0 ] "translucency" [ 0 ] "texturefile" [ "mandrill.ppm" ]
PointsGeneralPolygons [ 1 1 ] [ 3 3 ] [ 0 1 2 0 2 3 ] "P" [ 0 0.1 0 1 0.1 0 1 1.10000002 0 0 1.10000002 0 ] "st" [ 0 0 1 0 1 1 0 1 ]
AttributeEnd
AttributeBegin
Color [ 0.1 0.1 0.1 ]
Surface "cs655surface" "specularcolor" [ 0.5 0.5 0.5 ] "reflectedcolor" [ 0.5 0.5 0.5 ] "transmittedcolor" [ 0 0 0 ] "ambientcolor" [ 0 0 0 ] "indexofrefraction" [ 1 ] "phong" [ 12.8 ] "glossiness" [ 0.03 ] "translucency" [ 0 ]
PointsGeneralPolygons [ 1 1 ] [ 3 3 ] [ 0 1 2 3 4 5 ] "P" [ -20 0 -20 20 0 -20 20 0 20 -20 0 -20 20 0 20 -20 0 20 ]
AttributeEnd
AttributeBegin
Color [ 0 0 0 ]
Surface "cs655surface" "specularcolor" [ 0.9 0.9 0.9 ] "reflectedcolor" [ 0.3 0.3 0.3 ] "transmittedcolor" [ 0.7 0.8 0.7 ] "ambientcolor" [ 0 0 0 ] "indexofrefraction" [ 1.7 ] "phong" [ 115.2 ] "glossiness" [ 0 ] "translucency" [ 0 ]
Translate -0.1 0.4 1.5
Sphere 0.4 -0.4 0.4 360
AttributeEnd
AttributeBegin
Color [ 0 0 0 ]
Surface "cs655surface" "specularcolor" [ 0.9 0.9 0.9 ] "reflectedcolor" [ 0.3 0.3 0.3 ] "transmittedcolor" [ 0.7 0.8 0.7 ] "ambientcolor" [ 0 0 0 ] "indexofrefraction" [ 1.2 ] "phong" [ 115.2 ] "glossiness" [ 0 ] "translucency" [ 0 ]
Translate 0.7 0.2 4.3
Sphere 0.2 -0.2 0.2 360
AttributeEnd
AttributeBegin
Color [ 1 1 1 ]
Surface "cs655surface" "specularcolor" [ 0 0 0 ] "reflectedcolor" [ 0 0 0 ] "transmittedcolor" [ 0 0 0 ] "ambientcolor" [ 1 1 1 ] "indexofrefraction" [ 1 ] "phong" [ 115.2 ] "glossiness" [ 0 ] "translucency" [ 0 ]
Translate 0.5 1.7 2
Sphere 0.1 -0.1 0.1 360
AttributeEnd
WorldEnd
FrameEnd
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -