-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathTools.html
324 lines (299 loc) · 10.6 KB
/
Tools.html
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>MaterialX - ShaderGen and MaterialXView</title>
<link rel="icon" href="faviconMX.ico" type="image/x-icon" />
<link rel="stylesheet" href="style/rst.css" type="text/css">
<link rel="stylesheet" href="style/default.css" type="text/css">
<link rel="stylesheet" href="style/flavor.css" type="text/css">
<link rel="stylesheet" href="style/renderman-university.css" type="text/css">
<style>
#mainContentContainer {
left: 15px;
margin-left: 255px;
}
ul.creatorFooterNav {
margin-left: 250px;
}
.navigation {
background-color: #272727;
margin-top: 10px;
margin-left: 10px;
}
.footer-Confluence {
text-align: center;
margin-top: 15px;
}
.footer-Confluence hr.footer {
display: block;
margin-left: -10px;
width: 100%;
}
.footer-Confluence img {
margin-bottom: 0;
max-width: none;
}
.copyrightFooter {
font-size: 9px;
margin-top: 25px;
text-align: center;
float: none;
}
.copyrightFooter a {
color: #666666;
}
.copyrightFooter a:hover {
color: #fff;
}
table.warningMacro, table.noteMacro {
margin: 20px 0 20px 0;
}
</style>
</head>
<body>
<div class="navigation">
<br>
<div class="quickLinks">
<div>
<a href="index.html"><img alt="<MaterialX Logo>" src="images/MaterialXLogoSmallA.png"></a>
</div>
<ul>
<li>
<a href="Specification.html">MaterialX Specification</a>
<ul>
<li>
<a href="Specification.html#CurrentSpec">Current Specification</a>
</li>
</ul>
<ul>
<li>
<a href="Specification.html#RevisionHistory">Revision History</a>
</li>
</ul>
</li>
</ul>
<ul>
<li>
<a href="DeveloperReference.html">Developer Reference</a>
<ul>
<li>
<a href="DeveloperReference.html#DeveloperGuide">Developer Guide</a>
</li>
</ul>
<ul>
<li>
<a href="DeveloperReference.html#ExampleCode">Example Code</a>
</li>
</ul>
<ul>
<li>
<a href="DeveloperReference.html#ExampleFiles">Example MaterialX Files</a>
</li>
</ul>
<ul>
<li>
<a href="DeveloperReference.html#Discussion">Discussion Forum</a>
</li>
</ul>
<ul>
<li>
<a href="DeveloperReference.html#LogoImages">MaterialX Logo Images</a>
</li>
</ul>
</li>
</ul>
<ul>
<li>
<a href="Tools.html">Rendering and Tools</a>
<ul>
<li>
<a href="Tools.html#ShaderGen">ShaderGen</a>
</li>
</ul>
<ul>
<li>
<a href="Tools.html#Viewer">MaterialX Viewer</a>
</li>
</ul>
<ul>
<li>
<a href="Tools.html#GraphEditor">MaterialX Graph Editor</a>
</li>
</ul>
<ul>
<li>
<a href="Tools.html#WebViewer">MaterialX Web Viewer</a>
</li>
</ul>
</li>
</ul>
<ul>
<li>
<a href="ThirdPartySupport.html">Third-Party MaterialX Support</a>
<ul>
<li>
<a href="ThirdPartySupport.html#USD">Pixar USD</a>
</li>
</ul>
<ul>
<li>
<a href="ThirdPartySupport.html#Houdini">SideFX Houdini</a>
</li>
</ul>
<ul>
<li>
<a href="ThirdPartySupport.html#Maya">Autodesk Maya</a>
</li>
</ul>
<ul>
<li>
<a href="ThirdPartySupport.html#Max">Autodesk 3ds Max</a>
</li>
</ul>
<ul>
<li>
<a href="ThirdPartySupport.html#VRED">Autodesk VRED</a>
</li>
</ul>
<ul>
<li>
<a href="ThirdPartySupport.html#Apple">Apple VisionOS</a>
</li>
</ul>
<ul>
<li>
<a href="ThirdPartySupport.html#Unreal">Unreal Engine</a>
</li>
</ul>
<ul>
<li>
<a href="ThirdPartySupport.html#Omniverse">NVIDIA Omniverse</a>
</li>
</ul>
<ul>
<li>
<a href="ThirdPartySupport.html#Arnold">Autodesk Arnold</a>
</li>
</ul>
<ul>
<li>
<a href="ThirdPartySupport.html#RenderMan">Pixar RenderMan</a>
</li>
</ul>
<ul>
<li>
<a href="ThirdPartySupport.html#V-Ray">Chaos V-Ray</a>
</li>
</ul>
</li>
</ul>
<ul>
<li>
<a href="Contributing.html">Contributing to MaterialX</a>
<ul>
<li>
<a href="Contributing.html#CLA">Contributor License Agreement</a>
</li>
</ul>
<ul>
<li>
<a href="Contributing.html#Contributors">Current Contributors</a>
</li>
</ul>
</li>
</ul>
<ul>
<li>
<a href="https://github.com/AcademySoftwareFoundation/MaterialX/blob/main/LICENSE">License</a>
</li>
</ul>
</div>
</div>
<div class="document">
<h1 class="title">
<span id="title-text">
MaterialX
</span>
</h1>
<div id="mainContentContainer">
<div class="fullWidth headerColor">
<div class="center">
<div id="mainSiteNavigation">
<ul class="creatorMainNav floatRight" id="menu">
<li class="">
<a href="index.html">Home</a>
</li>
<li class="">
<a target="_blank" href="docs/api/index.html">Developer Guide</a>
</li>
<li class="">
<a target="_blank" href="https://github.com/AcademySoftwareFoundation/MaterialX/blob/main/documents/Specification">Specification</a>
</li>
<li class="">
<a class="blueButton" style="font-size:14px" href="https://github.com/AcademySoftwareFoundation/MaterialX">GitHub</a>
</li>
<a class="iconButton" href="https://fosstodon.org/@MaterialX" rel="me" style="float:right">
<img src="images/MastodonLogo.svg" width=20 height=20>
</a>
</ul>
</div>
</div>
</div>
<!-- Page Title ---------------------------------------------------------------------- -->
<div class="clearBoth"></div>
<h1 class="articleContentTitle">Rendering and Tools</h1>
<div class="clearBoth"></div>
<hr>
<!-- --------------------------------------------------------------------------------- -->
<div class="clearBoth"></div>
<div class="coursewareBackground">
<div class="topicLeftData-MainData">
<!-- Page Content -------------------------------------------------------------------- -->
<h2 id="ShaderGen"><strong>ShaderGen</strong></h2>
<p>
<a href="https://github.com/AcademySoftwareFoundation/MaterialX/blob/main/documents/DeveloperGuide/ShaderGeneration.md">ShaderGen</a>
is a dynamic shader generation system that can build and compile complete GLSL, OSL, MDL, and MSL shaders from MaterialX nodegraphs.
A key component of ShaderGen is a set of
<a href="https://github.com/AcademySoftwareFoundation/MaterialX/blob/main/documents/Specification/MaterialX.PBRSpec.md">Physically Based Shading nodes</a>,
which can be used in conjunction with the standard pattern nodes to create complex layered energy-conserving surface,
volume and emissive shaders for offline or real-time rendering.
</p>
<h2 id="Viewer"><strong>MaterialX Viewer</strong></h2>
<p>
The <a href="https://github.com/AcademySoftwareFoundation/MaterialX/blob/main/documents/DeveloperGuide/Viewer.md">MaterialX Viewer</a> leverages shader generation to build GLSL and MSL shaders from MaterialX graphs, rendering the results using the NanoGUI framework. The standard set of pattern and physically based shading nodes is supported, and libraries of custom nodes can be included as additional library paths.
</p>
<h2 id="GraphEditor"><strong>MaterialX Graph Editor</strong></h2>
<p>
The <a href="https://github.com/AcademySoftwareFoundation/MaterialX/blob/main/documents/DeveloperGuide/GraphEditor.md">MaterialX Graph Editor</a> is an example application for visualizing, creating, and editing MaterialX graphs. It utilizes the ImGui framework as well as additional ImGui extensions such as the Node Editor.
</p>
<h2 id="WebViewer"><strong>MaterialX Web Viewer</strong></h2>
<p>
The <a href="https://academysoftwarefoundation.github.io/MaterialX/">MaterialX Web Viewer</a> leverages shader generation to build ESSL shaders from MaterialX graphs, rendering the results using the Three.js framework. The Web Viewer uses the <a href="https://github.com/AcademySoftwareFoundation/MaterialX/tree/main/javascript">MaterialX JavaScript</a> bindings to access the MaterialX API, allowing it to support the latest MaterialX nodes and features as they are added.
</p>
<!-- --------------------------------------------------------------------------------- -->
</div>
</div>
</div>
<div class="clearBoth"></div>
<div class="center">
<br>
</div>
<div class="clearBoth"></div>
<div class="center">
<div class="copyrightFooter">
<p>
<a href="" style="color: #666666">TERMS OF USE</a>
<a href="" style="color: #666666">PRIVACY POLICY</a>
<a href="" style="color: #666666">LEGAL NOTICES</a>
<a href="" style="color: #666666">CHILDREN’S ONLINE PRIVACY POLICY</a>
<a href="" style="color: #666666">YOUR CALIFORNIA PRIVACY POLICY</a>
</div>
</div>
</div>
</body>
</html>