forked from autodesk-forks/MaterialX
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_options.mtlx
More file actions
74 lines (56 loc) · 3.69 KB
/
_options.mtlx
File metadata and controls
74 lines (56 loc) · 3.69 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0"?>
<materialx version="1.39">
<!--
Test suite options file which is parsed when the "render" category units tests are executed.
Execution uses existing code generator instances to produce the code and corresponding validator
instance to check the validity of the generated code by compiling and/or rendering
the code to produce images on disk.
Input uniform and stream checking as well as node implementation coverage and profiling
can also be performed depending on the options enabled.
-->
<!-- Render test Suite Options -->
<nodedef name="TestSuiteOptions">
<!-- List of comma separated file names acts as a filter to only test documents with these names -->
<input name="overrideFiles" type="string" value="" />
<!-- Comma separated list of light setup files. Only used for hardware shading languages -->
<input name="lightFiles" type="string" value="light_rig_test_2.mtlx" />
<!-- Comma separated list of target" specifiers to indicate which
code generators to use. -->
<input name="targets" type="string" value="genglsl,genosl,genmdl,genessl,genmsl" />
<!-- Check the count of number of implementations used for a given generator -->
<input name="checkImplCount" type="boolean" value="true" />
<!-- Run using a given set of shader interface generation options. Default value is 2 where:
1 = run reduced only.
2 = run complete only.
3 = run complete + reduced.
-->
<input name="shaderInterfaces" type="integer" value="2" />
<!-- Rendered image size if render validation test enabled -->
<input name="renderSize" type="vector2" value="512, 512" />
<!-- Set this to be true if it is desired to dump out uniform and attribute information to the logging file -->
<input name="dumpUniformsAndAttributes" type="boolean" value="true" />
<!-- Set this to be true if it is desired to always dump out generated source code to disk instead of just on compile errors -->
<input name="dumpGeneratedCode" type="boolean" value="true" />
<!-- The geometry file to be rendered in tests.
File path is relative to the "/resources/Geometry/" folder -->
<input name="renderGeometry" type="string" value="sphere.obj" />
<!-- Enable direct lighting. Default is true. -->
<input name="enableDirectLighting" type="boolean" value="false" />
<!-- Enable indirect lighting. Default is true. -->
<input name="enableIndirectLighting" type="boolean" value="true" />
<!-- Suggested radiance IBL file path -->
<input name="radianceIBLPath" type="string" value="resources/Lights/san_giuseppe_bridge.hdr" />
<!-- Suggested irradiance IBL file path -->
<input name="irradianceIBLPath" type="string" value="resources/Lights/irradiance/san_giuseppe_bridge.hdr" />
<!-- List of extra library paths for generator and render tests -->
<input name="extraLibraryPaths" type="string" value="" />
<!-- List of document paths for render tests -->
<input name="renderTestPaths" type="string" value="resources/Materials/Examples/StandardSurface,resources/Materials/TestSuite/stdlib/convolution,resources/Materials/TestSuite/stdlib/color_management,resources/Materials/TestSuite/stdlib/procedural,resources/Materials/TestSuite/pbrlib/surfaceshader,resources/Materials/TestSuite/nprlib" />
<!-- Enable reference quality rendering.
This option enables higher sample counts and supersampling in render tests,
allowing for visual comparisons and differencing across shading languages,
but requiring a more powerful GPU and longer CPU render times.
-->
<input name="enableReferenceQuality" type="boolean" value="false" />
</nodedef>
</materialx>