The importance change here is bundling object data and its instances together. This makes it possible to process the scene data (e.g. for splitting, dicing, and de-instancing) without having to cache arbitrary amounts of scene data. In other words, this should allow for much more efficient scene processing down the line.
62 lines
2.4 KiB
Plaintext
62 lines
2.4 KiB
Plaintext
Scene $Scene_fr1 {
|
|
Output {
|
|
Path ["test_renders/cube.png"]
|
|
}
|
|
RenderSettings {
|
|
Resolution [960 540]
|
|
SamplesPerPixel [16]
|
|
Seed [1]
|
|
}
|
|
Camera {
|
|
Fov [49.134342]
|
|
FocalDistance [9.559999]
|
|
ApertureRadius [0.250000]
|
|
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 [rec709, 0.050876 0.050876 0.050876]
|
|
}
|
|
}
|
|
Shaders {
|
|
SurfaceShader $Material {
|
|
Type [Lambert]
|
|
Color [rec709, 0.800000 0.800000 0.800000]
|
|
}
|
|
}
|
|
Assembly {
|
|
Object $__Plane_ {
|
|
Instance {
|
|
Transform [0.078868 -0.000000 0.000000 -0.000000 -0.000000 0.078868 -0.000000 0.000000 0.000000 -0.000000 0.078868 -0.000000 -0.000000 0.000000 -0.000000 1.000000]
|
|
}
|
|
MeshSurface {
|
|
SurfaceShaderBind [$Material]
|
|
Vertices [-1.000000 -1.000000 0.000000 1.000000 -1.000000 0.000000 -1.000000 1.000000 0.000000 1.000000 1.000000 0.000000]
|
|
FaceVertCounts [4 ]
|
|
FaceVertIndices [0 1 3 2 ]
|
|
}
|
|
}
|
|
Object $__Cube_ {
|
|
Instance {
|
|
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 -1.000000 1.000000]
|
|
}
|
|
MeshSurface {
|
|
SurfaceShaderBind [$Material]
|
|
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 ]
|
|
}
|
|
}
|
|
Object $__Lamp {
|
|
Instance {
|
|
Transform [0.019856 -0.060763 0.000000 -0.000000 0.015191 0.079422 -0.000000 0.000000 0.000000 -0.000000 1.000000 -0.000000 -0.026851 -0.125233 -4.432303 1.000000]
|
|
}
|
|
SphereLight {
|
|
Color [rec709, 50.000000 50.000000 50.000000]
|
|
Radius [0.100000]
|
|
}
|
|
}
|
|
}
|
|
}
|