forked from AcademySoftwareFoundation/MaterialX
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathscene_template_oslcmd.xml
More file actions
32 lines (28 loc) · 1.09 KB
/
scene_template_oslcmd.xml
File metadata and controls
32 lines (28 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!-- Template for a lit scene in testrender -->
<World>
<Camera eye="0, 0, 3" dir="0, 0, -1" fov="79.334" />
<!-- Background environment map. -->
<ShaderGroup>
%environment_shader_parameter_overrides%
shader envmap layer1;
</ShaderGroup>
<Background resolution="2048" />
<!-- Background quad with raytype test. -->
<ShaderGroup>
color Cin %background_color%;
%environment_shader_parameter_overrides%
shader raytype_background layer1;
</ShaderGroup>
<Quad corner="-340, -340, -800" edge_x="680, 0, 0" edge_y="0, 680, 0" />
<!-- Shader graph for routing to output layer:
input_shader_parameter_overrides : are parameter overrides for the input shader
%input_shader_type% : type of an input shader to feed into the output shader.
%input_shader_output% : name of output argument on input shader.
%output_shader_type%: type of the output shader used to render with
%output_shader_input% : name of input argument on output shader.
-->
<ShaderGroup>
%oslCmd%
</ShaderGroup>
<Sphere center="0, 0, 0" radius="1" />
</World>