psychopath/example_scenes/cube.psy

47 lines
1.7 KiB
Plaintext

Scene $Scene_fr1 {
Output {
Path ["cube.ppm"]
}
RenderSettings {
Resolution [960 540]
SamplesPerPixel [16]
Seed [1]
}
Camera {
Fov [49.134342]
FocalDistance [0.000000]
ApertureRadius [0.000000]
Transform [0.685881 0.727634 -0.010817 0.000000 -0.317370 0.312469 0.895343 0.000000 -0.654862 0.610666 -0.445245 0.000000 7.481132 -6.507640 5.343665 1.000000]
}
World {
BackgroundShader {
Type [Color]
Color [0.050876 0.050876 0.050876]
}
}
Assembly {
SurfaceShader $Material {
Type [Lambert]
Color [0.800000 0.800000 0.800000]
}
MeshSurface $__Cube_ {
Vertices [1.000000 1.000000 -1.000000 1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 -1.000000 1.000000 -1.000000 1.000000 0.999999 1.000000 0.999999 -1.000001 1.000000 -1.000000 -1.000000 1.000000 -1.000000 1.000000 1.000000 ]
FaceVertCounts [4 4 4 4 4 4 ]
FaceVertIndices [0 1 2 3 4 7 6 5 0 4 5 1 1 5 6 2 2 6 7 3 4 0 3 7 ]
}
Instance {
Data [$__Cube_]
SurfaceShaderBind [$Material]
Transform [1.000000 -0.000000 0.000000 -0.000000 -0.000000 1.000000 -0.000000 0.000000 0.000000 -0.000000 1.000000 -0.000000 -0.000000 0.000000 -0.000000 1.000000]
}
SphereLight $__Lamp {
Color [100.000000 100.000000 100.000000]
Radius [0.100000]
}
Instance {
Data [$__Lamp]
Transform [-0.290865 -0.771101 0.566393 -0.000000 0.955171 -0.199883 0.218391 -0.000000 -0.055189 0.604525 0.794672 -0.000000 0.551084 -0.224861 -7.219975 1.000000]
}
}
}