From 4b63a53f23c61bc6e31637ec2c55bbfbfab76e4b Mon Sep 17 00:00:00 2001
From: Bernard Kwok The GitHub repository can be cloned and the package built using: This is the complete list of members for GPUOpenMaterialLoader, including all inherited members. Definition at line 1 of file JsGPUOpenLoader.js.Dependencies
requests
package.pillow
package for image handling for GPUOpen package handlingBuilding
Building
diff --git a/documents/html/_js_g_p_u_open_loader_8js_source.html b/documents/html/_js_g_p_u_open_loader_8js_source.html
new file mode 100644
index 0000000..21c9ac2
--- /dev/null
+++ b/documents/html/_js_g_p_u_open_loader_8js_source.html
@@ -0,0 +1,256 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CGPUOpenMaterialLoader This class is used to load materials from the GPUOpen material database ▼NphysicallyBasedMaterialX Class to load Physically Based Materials from the PhysicallyBased site
- CPhysicallyBasedMaterialLoader Class to load Physically Based Materials from the PhysicallyBased site
- ▼Nmyserver
- CMyHTTPRequestHandler
+ CJsPhysicallyBasedMaterialLoader Javascript class for querying materials from the Physically Based database and creating MaterialX materials
+ CGPUOpenMaterialLoader
diff --git a/documents/html/annotated_dup.js b/documents/html/annotated_dup.js
index fdad55f..b7ea91a 100644
--- a/documents/html/annotated_dup.js
+++ b/documents/html/annotated_dup.js
@@ -8,8 +8,6 @@ var annotated_dup =
[ "PhysicallyBasedMaterialLoader", "classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html", "classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader" ]
] ]
] ],
- [ "myserver", null, [
- [ "MyHTTPRequestHandler", "classmyserver_1_1_my_h_t_t_p_request_handler.html", "classmyserver_1_1_my_h_t_t_p_request_handler" ]
- ] ],
+ [ "GPUOpenMaterialLoader", "class_g_p_u_open_material_loader.html", "class_g_p_u_open_material_loader" ],
[ "JsPhysicallyBasedMaterialLoader", "class_js_physically_based_material_loader.html", "class_js_physically_based_material_loader" ]
];
\ No newline at end of file
diff --git a/documents/html/bc_sd.png b/documents/html/bc_sd.png
new file mode 100644
index 0000000000000000000000000000000000000000..31ca888dc71049713b35c351933a8d0f36180bf1
GIT binary patch
literal 635
zcmV->0)+jEP) CJsPhysicallyBasedMaterialLoader Javascript class for querying materials from the Physically Based database and creating MaterialX materials
+
+
+
+
+
+
+
+
+
+ constructor() (defined in GPUOpenMaterialLoader) GPUOpenMaterialLoader
+ downloadPackage(listNumber, materialNumber, packageId=0) (defined in GPUOpenMaterialLoader) GPUOpenMaterialLoader
+ downloadPackageByExpression(searchExpr, packageId=0) (defined in GPUOpenMaterialLoader) GPUOpenMaterialLoader
+getMaterials() (defined in GPUOpenMaterialLoader) GPUOpenMaterialLoader
+
+
+
+
+
+
+
+ Detailed Description
+
The documentation for this class was generated from the following file:
+Definition at line 295 of file JsMaterialXPhysicallyBased.js.
Definition at line 297 of file JsMaterialXPhysicallyBased.js.
+Definition at line 311 of file JsMaterialXPhysicallyBased.js.
-Definition at line 313 of file JsMaterialXPhysicallyBased.js.
+Definition at line 272 of file JsMaterialXPhysicallyBased.js.
-Definition at line 274 of file JsMaterialXPhysicallyBased.js.
+Definition at line 205 of file JsMaterialXPhysicallyBased.js.
-Definition at line 207 of file JsMaterialXPhysicallyBased.js.
+Definition at line 189 of file JsMaterialXPhysicallyBased.js.
-Definition at line 191 of file JsMaterialXPhysicallyBased.js.
+Definition at line 236 of file JsMaterialXPhysicallyBased.js.
-Definition at line 238 of file JsMaterialXPhysicallyBased.js.
+Definition at line 263 of file JsMaterialXPhysicallyBased.js.
-Definition at line 265 of file JsMaterialXPhysicallyBased.js.
+Definition at line 263 of file physicallyBasedMaterialX.py.
-Definition at line 265 of file physicallyBasedMaterialX.py.
+Definition at line 273 of file physicallyBasedMaterialX.py.
-Definition at line 275 of file physicallyBasedMaterialX.py.
+Definition at line 379 of file physicallyBasedMaterialX.py.
-Definition at line 405 of file physicallyBasedMaterialX.py.
+Definition at line 132 of file physicallyBasedMaterialX.py.
-Definition at line 134 of file physicallyBasedMaterialX.py.
+Definition at line 179 of file physicallyBasedMaterialX.py.
-Definition at line 181 of file physicallyBasedMaterialX.py.
+Definition at line 139 of file physicallyBasedMaterialX.py.
-Definition at line 141 of file physicallyBasedMaterialX.py.
+Definition at line 146 of file physicallyBasedMaterialX.py.
-Definition at line 148 of file physicallyBasedMaterialX.py.
+Definition at line 165 of file physicallyBasedMaterialX.py.
-Definition at line 167 of file physicallyBasedMaterialX.py.
+Definition at line 204 of file physicallyBasedMaterialX.py.
-Definition at line 206 of file physicallyBasedMaterialX.py.
+Definition at line 233 of file physicallyBasedMaterialX.py.
-Definition at line 235 of file physicallyBasedMaterialX.py.
+Definition at line 246 of file physicallyBasedMaterialX.py.
-Definition at line 248 of file physicallyBasedMaterialX.py.
+Definition at line 216 of file physicallyBasedMaterialX.py.
-Definition at line 218 of file physicallyBasedMaterialX.py.
+Definition at line 364 of file physicallyBasedMaterialX.py.
-Definition at line 390 of file physicallyBasedMaterialX.py.
+
- MaterialXMaterials
- 0.0.1
+
+ |
@@ -36,21 +35,22 @@
MaterialXMaterials 0.0.1
Utilities for retrieving materials from remote servers
|
- MaterialXMaterials
- 0.0.1
+
+ |
@@ -36,21 +35,22 @@
MaterialXMaterials 0.0.1
Utilities for retrieving materials from remote servers
|
+Public Member Functions
-def | end_headers (self) | | def | end_headers (self) |
Definition at line 7 of file myserver.py.
-def myserver.MyHTTPRequestHandler.end_headers | +( | ++ | self | ) | ++ |
Definition at line 8 of file myserver.py.
+xl$9J1%=lx!CcG6s{ z-&$GQ?%vKXzdYmAva_?+HM53>WUqc6^y|{APdU5K%v|y`(>dFu<&k98+_^Jq=9^Dt zU-bQ=V|nA^eYy1XP;DeFY&cGu=xGrAr#Zk@i`_R5p}Yb`Us$4LrZ zy>QAifAf6TtMgLk#s;1)Ji?u%zCC(h!>dhq7PZYv*1PW*;$LJM_rxzG+3)M&m)mWe zZO??hk89RhwQldE)r?o4t?IuenRVu>@|BRlEW1{&oPV>|RrQBl*(R=4P`@E{Rpv>F z$pH(QZadu#dC;(G)z-Z~Gebj5e>Kg`-?=Fu-6=Fw){h$~V4@omdi7$7yQttyCx#E- zcQGE2nZ^FKY<63z+!gDWI%|X%uH)iic$~SA=|D!*3I>B&Vp JMe(HMmH^Kppk 47Hl50igvCu0yE7JcM=1YH=EMLBO&C5#X zOIw()obCF2eN**>Dv`>`8|uGst-85l!LhU5D{TVYqu4z!z1CPY@7$c_(`#)Vd{0US zI ;=FLjh>SGU?lvC0d^=?A3wsp$xPlujK$+%ukJ&|@|@wCSoe0O}x#1B;ijTgRB z_15=M^p$O&W=)85G2J$Mg jTH1eT0+0p92M!!y?Ytuo gT^vIy7~jslS#(%|$F)Ch(f|LC)%dzq3f`#XSu>aHSb0{dL|{_9px{jB zj#aOCqE@V0wK#L(s#Sf XTATXvuo?mUr%{-<=fG-@7~xQDP3`U z)4y9{S92rk<8B0mUf$ 04EH?N*($x7I8Xc%rxa br+)ZuMd&_UL7^rq%Zta*Aqg(7ocz z%C}-w)a~~9VWFYRx!=S*J>@i)Gc>f+LN_Gz>cuSqp`q@VWkX$3xETNJ&0{Fekh^j_ zSL#}2!22beH~6*e(lR(u5w(H=7{W|F%UZb%W{GJX$RH@7?^W-T!l%e!oB`9O=XUnk zs*BGr*GdbneEW0OYx@He-%Z}6*|5NfYs2Ezfs?Iuvr0GFrL&*k@gaIe^!u_Gk^a*! z?cbv1dUTfIip*n?S8`UQ|1n%&Blh~h 7biqZ#tewv1*1nnW z_7wN*>*-lkLS8wDklKT6y{j%>5 zzOCi ;6%+Y%)39f WPI<88h(9oUFnGH9xvX1wr-rhpn+wxm%q2)IkAYsr{iGq<}_z5JCD4J;FN?6Qh;@TCubdp(_XdD-^ zG_#)IP7_z6hKNdx5^+FGArwLWTWCG!j+oKji?U!hxA#d-ljgkN`+e^@-P+RWG{Bx= z2iQyYTtEf*o~ySWrIVW}HWHi0_hd4~$E6Jx1U`>Owo}EYJ1O>iZvS?!z8}B}QwLMA zC3Keqf1c}K@?C`X>68b(EUzYUYAS&OH^VPteZLPr{S&|nQvp@6W4GH-1U8!u&7l~A zx~RUSNH+>7@q38W6!BzirtjLFCzc|XGx)EF#G%^pWION*k@?vP<2O>|XkCD3ujl%1 z{55JSVkw{~HbX>iEZ2%yJ2eHj5Yh8OTpzs0A2;tZ^x!#5D+y-es{k1&0|Ns9-|+Xt ziGiTsZ8(^nUo#wdTpIDkb-Zp(3|A*FzW}GZ5SQD-r^R`&X@`26E3W|GyrwDIZjtQ& z$g5f8Sv=VgVtDien@J(!^BK+#l;s-LgP--p7C;7;E!ysXcXK6?+9D>_-B(?Wm(U zQbNm-5TyYxIU=rs0+)!ixqzhuxw(AqKc3?KKX32{D~Qibp*r0x&Wux5-9WCMMRi3U zTd6dO CQlj>a;gr;gLwRKulT&(m@^L{&HkSC(qH05HSSf$YEhynGvH zWNez``Z8 FJXE+BSg=%ak{OR z+Nylcb{?evLYLuE1_HngYw0g%LC#=$a@?4~Tx>F9295Q>9UJ|_6v-KMw;!YZSgGj@ zR8fRov=hJ#QvsO@xw*{0%zH@OKVEUr __main__.py GPUOpenLoader.py - GPUOpenLoaderCmd.py - JsMaterialXPhysicallyBased.js + myserver.py + JsGPUOpenLoader.js JsMaterialXPhysicallyBased.js physicallyBasedMaterialX.py diff --git a/documents/html/files_dup.js b/documents/html/files_dup.js index d704c23..ea7f2b3 100644 --- a/documents/html/files_dup.js +++ b/documents/html/files_dup.js @@ -4,8 +4,8 @@ var files_dup = [ "__main__.py", "____main_____8py_source.html", null ], [ "GPUOpenLoader.py", "_g_p_u_open_loader_8py_source.html", null ], [ "GPUOpenLoaderCmd.py", "_g_p_u_open_loader_cmd_8py_source.html", null ], + [ "JsGPUOpenLoader.js", "_js_g_p_u_open_loader_8js_source.html", null ], [ "JsMaterialXPhysicallyBased.js", "_js_material_x_physically_based_8js_source.html", null ], - [ "myserver.py", "myserver_8py_source.html", null ], [ "physicallyBasedMaterialX.py", "physically_based_material_x_8py_source.html", null ], [ "physicallyBasedMaterialXCmd.py", "physically_based_material_x_cmd_8py_source.html", null ] ]; \ No newline at end of file diff --git a/documents/html/hierarchy.html b/documents/html/hierarchy.html index 71d1185..f0d1bd3 100644 --- a/documents/html/hierarchy.html +++ b/documents/html/hierarchy.html @@ -1,9 +1,9 @@ - + - - + + physicallyBasedMaterialXCmd.py MaterialXMaterials: Class Hierarchy @@ -24,10 +24,9 @@- + +/* @license-end */ + @@ -78,22 +78,28 @@-
- - MaterialXMaterials - 0.0.1 ++ + @@ -36,21 +35,22 @@MaterialXMaterials 0.0.1Utilities for retrieving materials from remote servers- +++++ ++Loading...+Searching...+No Matches+--+Class HierarchyClass HierarchyThis inheritance list is sorted roughly, but not completely, alphabetically:@@ -102,7 +108,7 @@ diff --git a/documents/html/index.html b/documents/html/index.html index b0951b2..0e89fc8 100644 --- a/documents/html/index.html +++ b/documents/html/index.html @@ -99,6 +99,7 @@[detail level 12]
- CmaterialxMaterials.GPUOpenLoader.GPUOpenMaterialLoader This class is used to load materials from the GPUOpen material database + CJsPhysicallyBasedMaterialLoader Javascript class for querying materials from the Physically Based database and creating MaterialX materials CJsPhysicallyBasedMaterialLoader Javascript class for querying materials from the Physically Based database and creating MaterialX materials - CmaterialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader Class to load Physically Based Materials from the PhysicallyBased site + ▼Chttp.server.SimpleHTTPRequestHandler ▼Chttp.server.SimpleHTTPRequestHandler Cmyserver.MyHTTPRequestHandler The Python utilities require:
- The MaterialX 1.39 or greater package for PhysicallyBased OpenPBR shader creation
- The
+requests
package.- The
pillow
package for image handling for GPUOpen package handlingBuilding
The GitHub repository can be cloned and the package built using:@@ -78,43 +78,49 @@pip install .diff --git a/documents/html/menudata.js b/documents/html/menudata.js index 9e7fb09..f3f143b 100644 --- a/documents/html/menudata.js +++ b/documents/html/menudata.js @@ -29,7 +29,6 @@ var menudata={children:[ {text:"Classes",url:"annotated.html",children:[ {text:"Class List",url:"annotated.html"}, {text:"Class Index",url:"classes.html"}, -{text:"Class Hierarchy",url:"hierarchy.html"}, {text:"Class Members",url:"functions.html",children:[ {text:"All",url:"functions.html",children:[ {text:"_",url:"functions.html#index__5F"}, diff --git a/documents/html/myserver_8py_source.html b/documents/html/myserver_8py_source.html index 070e2d8..212e243 100644 --- a/documents/html/myserver_8py_source.html +++ b/documents/html/myserver_8py_source.html @@ -1,9 +1,9 @@ - + - - + +MaterialXMaterials: myserver.py Source File @@ -24,10 +24,9 @@- + +/* @license-end */ +-
- - MaterialXMaterials - 0.0.1 ++ + @@ -36,21 +35,22 @@MaterialXMaterials 0.0.1Utilities for retrieving materials from remote servers- +++++ ++Loading...+Searching...+No Matches+--+myserver.pymyserver.py-diff --git a/documents/html/namespaces_dup.js b/documents/html/namespaces_dup.js index 269d7d4..8e94be5 100644 --- a/documents/html/namespaces_dup.js +++ b/documents/html/namespaces_dup.js @@ -13,10 +13,5 @@ var namespaces_dup = [ "physicallBasedMaterialXCmd", "physically_based_material_x_cmd_8py.html#a962926b309ce16afa06401e2549c4f77", null ] ] ], [ "__version__", "____init_____8py.html#a0a3e35178588ad1393c61d4b0b4952d3", null ] - ] ], - [ "myserver", null, [ - [ "MyHTTPRequestHandler", "classmyserver_1_1_my_h_t_t_p_request_handler.html", "classmyserver_1_1_my_h_t_t_p_request_handler" ], - [ "signal_handler", "myserver_8py.html#a191864830612a53884eaf67ea50f9358", null ], - [ "PORT", "myserver_8py.html#ae64865fb0c0c5b2daccffaa0caf57b0b", null ] ] ] ]; \ No newline at end of file diff --git a/documents/html/nav_fd.png b/documents/html/nav_fd.png new file mode 100644 index 0000000000000000000000000000000000000000..032fbdd4c54f54fa9a2e6423b94ef4b2ebdfaceb GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0vp^j6iI`!2~2XGqLUlQU#tajv*C{Z|C~*H7f|XvG1G8 zt- - - - - - - - - - - - - - - - - - - - - - - - - - +@@ -123,7 +129,7 @@ diff --git a/documents/html/namespaces.html b/documents/html/namespaces.html index b0f9175..182900e 100644 --- a/documents/html/namespaces.html +++ b/documents/html/namespaces.html @@ -98,8 +98,6 @@+ + + + + + + + + + + + + + + + + + + + + + + + + +Definition: myserver.py:7▼NphysicallyBasedMaterialX Class to load Physically Based Materials from the PhysicallyBased site CPhysicallyBasedMaterialLoader Class to load Physically Based Materials from the PhysicallyBased site - NphysicallyBasedMaterialXCmd - ▼Nmyserver CMyHTTPRequestHandler 7aS*L7xwMeS}!z6R#{C5tIw-s~AJ==F^i}x3XyJseHR@yF& zerFf(Zf;Dd{+(0lDIROL@Sj-Ju2JQ8&-n%4%q?>|^bShc&lR?}7HeMo@BDl5N(aHY Uj$gdr1MOz;boFyt=akR{0D!zeaR2}S literal 0 HcmV?d00001 diff --git a/documents/html/nav_hd.png b/documents/html/nav_hd.png new file mode 100644 index 0000000000000000000000000000000000000000..de80f18ad6488b9990303f267a76fdc83f0ffd80 GIT binary patch literal 114 zcmeAS@N?(olHy`uVBq!ia0vp^j6lr8!2~3AUOE6t21`#D$B+ufw|9379#G(63FK{W z5s 6W-eg#Jd_@e6*DPn)w;=|1H}Zvm9l6xXXB%>yL=NQU;mg M>FVdQ&MBb@0Bdt1Qvd(} literal 0 HcmV?d00001 diff --git a/documents/html/navtreedata.js b/documents/html/navtreedata.js index e99b441..cb7632e 100644 --- a/documents/html/navtreedata.js +++ b/documents/html/navtreedata.js @@ -31,7 +31,6 @@ var NAVTREE = [ "Classes", "annotated.html", [ [ "Class List", "annotated.html", "annotated_dup" ], [ "Class Index", "classes.html", null ], - [ "Class Hierarchy", "hierarchy.html", "hierarchy" ], [ "Class Members", "functions.html", [ [ "All", "functions.html", null ], [ "Functions", "functions_func.html", null ], @@ -46,7 +45,7 @@ var NAVTREE = var NAVTREEINDEX = [ -"____init_____8py.html#a0a3e35178588ad1393c61d4b0b4952d3" +"" ]; var SYNCONMSG = 'click to disable panel synchronisation'; diff --git a/documents/html/navtreeindex0.js b/documents/html/navtreeindex0.js index e87919e..476b959 100644 --- a/documents/html/navtreeindex0.js +++ b/documents/html/navtreeindex0.js @@ -1,5 +1,9 @@ var NAVTREEINDEX0 = { +"":[0,0,0], +"":[0,0,0,0], +"":[0,0,0,2], +"":[0,0,0,4], "____init_____8py.html#a0a3e35178588ad1393c61d4b0b4952d3":[0,0,0,5], "____init_____8py_source.html":[2,0,0], "____main_____8py.html#acd7f5fefcd7146c6dd868607d85c04f7":[0,0,0,0,0], @@ -7,8 +11,14 @@ var NAVTREEINDEX0 = "_g_p_u_open_loader_8py_source.html":[2,0,2], "_g_p_u_open_loader_cmd_8py.html#acba9ba30ffec65ce6e1120f01a32b4b1":[0,0,0,2,0], "_g_p_u_open_loader_cmd_8py_source.html":[2,0,3], -"_js_material_x_physically_based_8js_source.html":[2,0,4], +"_js_g_p_u_open_loader_8js_source.html":[2,0,4], +"_js_material_x_physically_based_8js_source.html":[2,0,5], "annotated.html":[1,0], +"class_g_p_u_open_material_loader.html":[1,0,1], +"class_g_p_u_open_material_loader.html#a4155c2fcf6b2c38088f85c63e933aef9":[1,0,1,0], +"class_g_p_u_open_material_loader.html#a44ccdf25c1654dd628e8351889298e83":[1,0,1,2], +"class_g_p_u_open_material_loader.html#aa20236461b74f2fd756649fa63757f05":[1,0,1,3], +"class_g_p_u_open_material_loader.html#ae420983c6072cceb216459ed5ab2a2aa":[1,0,1,1], "class_js_physically_based_material_loader.html":[1,0,2], "class_js_physically_based_material_loader.html#a0ff670b529d0d01fe96d6e7d656c8f2a":[1,0,2,12], "class_js_physically_based_material_loader.html#a19ba3f660663b91ec2be3fe81b45b2b4":[1,0,2,14], @@ -81,27 +91,16 @@ var NAVTREEINDEX0 = "classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#ae10fc6e2a8a66c4e09ad3f6b5dc320f3":[1,0,0,1,0,22], "classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#ae9e0898cb48b3c163eeea4e7c035cc92":[1,0,0,1,0,1], "classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#aec5e05618ea141395f94a2ecc897ab96":[1,0,0,1,0,15], -"classmyserver_1_1_my_h_t_t_p_request_handler.html":[1,0,1,0], -"classmyserver_1_1_my_h_t_t_p_request_handler.html#a2d03d79df5573d7b5948be8039e744b8":[1,0,1,0,0], "files.html":[2,0], -"functions.html":[1,3,0], -"functions_func.html":[1,3,1], -"functions_vars.html":[1,3,2], -"hierarchy.html":[1,2], +"functions.html":[1,2,0], +"functions_func.html":[1,2,1], +"functions_vars.html":[1,2,2], "index.html":[], -"myserver_8py.html#a191864830612a53884eaf67ea50f9358":[0,0,1,1], -"myserver_8py.html#ae64865fb0c0c5b2daccffaa0caf57b0b":[0,0,1,2], -"myserver_8py_source.html":[2,0,5], "namespacematerialx_materials_1_1_g_p_u_open_loader.html":[0,0,0,1], "namespacematerialx_materials_1_1physically_based_material_x.html":[0,0,0,3], "namespaces.html":[0,0], "pages.html":[], "physically_based_material_x_8py_source.html":[2,0,6], "physically_based_material_x_cmd_8py.html#a962926b309ce16afa06401e2549c4f77":[0,0,0,4,0], -"physically_based_material_x_cmd_8py_source.html":[2,0,7], -"":[0,0,1], -"":[0,0,0,0], -"":[0,0,0], -"":[0,0,0,4], -"":[0,0,0,2] +"physically_based_material_x_cmd_8py_source.html":[2,0,7] }; diff --git a/documents/html/physically_based_material_x_8py_source.html b/documents/html/physically_based_material_x_8py_source.html index 2a5f75f..3bb8652 100644 --- a/documents/html/physically_based_material_x_8py_source.html +++ b/documents/html/physically_based_material_x_8py_source.html @@ -182,333 +182,359 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 250 @return A tuple of (valid, errors) where valid is True if the document is valid, and errors is a list of errors if the document is invalid.- - - - - - - - - - - - - - - - - - - - - - - - - -276 @brief Convert the Physically Based Materials to MaterialX format for a given target shading model.-277 @param materialNames The list of material names to convert. If empty, all materials will be converted.- -279 @param remapKeys The remapping keys for the target shading model. If empty, the default remapping keys will be used.- - - - - - - - -288 self.loggerlogger.warning(f'> OpenPBR shading model not supported in MaterialX version {self.mx.getVersionString()}')- - - - - - - - - - - - - - - - -305 self.addCommentaddComment(self.docdoc, 'Physically Based Materials from https://api.physicallybased.info ')- - - - - - - - - - - - - - - - - - -324 shaderNode = self.docdoc.addNode(shaderCategory, shaderName, self.mxmx.SURFACE_SHADER_TYPE_STRING)- - - - - - - - - - - - - - -339 materialNode = self.docdoc.addNode(self.mxmx.SURFACE_MATERIAL_NODE_STRING, materialName, self.mxmx.MATERIAL_TYPE_STRING)-340 shaderInput = materialNode.addInput(self.mxmx.SURFACE_SHADER_TYPE_STRING, self.mxmx.SURFACE_SHADER_TYPE_STRING)-341 shaderInput.setAttribute(self.MTLX_NODE_NAME_ATTRIBUTEMTLX_NODE_NAME_ATTRIBUTE, shaderNode.getName())- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +252 @return A tuple of (valid, errors) where valid is True if the document is valid, and errors is a list of errors if the document is invalid.+ + + + + + + + + + + + + + + + + + + + + + + + + +278 @brief Convert the Physically Based Materials to MaterialX format for a given target shading model.+279 @param materialNames The list of material names to convert. If empty, all materials will be converted.+ +281 @param remapKeys The remapping keys for the target shading model. If empty, the default remapping keys will be used.+ + + + + + + + +290 self.loggerlogger.warning(f'> OpenPBR shading model not supported in MaterialX version {self.mx.getVersionString()}')+ + + + + + + + + + + + + + + + +307 self.addCommentaddComment(self.docdoc, 'Physically Based Materials from https://api.physicallybased.info ')+ + + + + + + + + + + + + + + + + + +326 shaderNode = self.docdoc.addNode(shaderCategory, shaderName, self.mxmx.SURFACE_SHADER_TYPE_STRING)+ + + + + + + + + + + + + + +341 materialNode = self.docdoc.addNode(self.mxmx.SURFACE_MATERIAL_NODE_STRING, materialName, self.mxmx.MATERIAL_TYPE_STRING)+342 shaderInput = materialNode.addInput(self.mxmx.SURFACE_SHADER_TYPE_STRING, self.mxmx.SURFACE_SHADER_TYPE_STRING)+343 shaderInput.setAttribute(self.MTLX_NODE_NAME_ATTRIBUTEMTLX_NODE_NAME_ATTRIBUTE, shaderNode.getName())+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Class to load Physically Based Materials from the PhysicallyBased site.Definition: physicallyBasedMaterialX.py:11-dict getInputRemapping(self, shadingModel)Get the remapping keys for a given shading model.Definition: physicallyBasedMaterialX.py:66-def validateMaterialXDocument(self, doc)Validate the MaterialX document.Definition: physicallyBasedMaterialX.py:246-list getJSONMaterialNames(self)Get the list of material names from the JSON object.Definition: physicallyBasedMaterialX.py:132+dict loadMaterialsFromString(self, matString)Load the Physically Based Materials from a JSON string.Definition: physicallyBasedMaterialX.py:165+def validateMaterialXDocument(self, doc)Validate the MaterialX document.Definition: physicallyBasedMaterialX.py:248+list getJSONMaterialNames(self)Get the list of material names from the JSON object.Definition: physicallyBasedMaterialX.py:134dict loadMaterialsFromString(self, matString)Load the Physically Based Materials from a JSON string.Definition: physicallyBasedMaterialX.py:167-docDefinition: physicallyBasedMaterialX.py:30+dict loadMaterialsFromFile(self, fileName)Load the Physically Based Materials from a JSON file.Definition: physicallyBasedMaterialX.py:146dict loadMaterialsFromFile(self, fileName)Load the Physically Based Materials from a JSON file.Definition: physicallyBasedMaterialX.py:148materialsDefinition: physicallyBasedMaterialX.py:27def setDebugging(self, debug=True)Set the debugging level for the logger.Definition: physicallyBasedMaterialX.py:55def __init__(self, mx_module, mx.Document mx_stdlib=None)Constructor for the PhysicallyBasedMaterialLoader class.Definition: physicallyBasedMaterialX.py:16-support_openpbrDefinition: physicallyBasedMaterialX.py:34-remapMapDefinition: physicallyBasedMaterialX.py:122-def convertToMaterialXString(self)Convert the MaterialX document to a string.Definition: physicallyBasedMaterialX.py:379+def printMaterials(self)Print the materials to the console.Definition: physicallyBasedMaterialX.py:204+remapMapDefinition: physicallyBasedMaterialX.py:124+def convertToMaterialXString(self)Convert the MaterialX document to a string.Definition: physicallyBasedMaterialX.py:405def printMaterials(self)Print the materials to the console.Definition: physicallyBasedMaterialX.py:206materialNamesDefinition: physicallyBasedMaterialX.py:28-uriDefinition: physicallyBasedMaterialX.py:29+dict getMaterialsFromURL(self)Get the Physically Based Materials from the PhysicallyBased site.Definition: physicallyBasedMaterialX.py:179dict getMaterialsFromURL(self)Get the Physically Based Materials from the PhysicallyBased site.Definition: physicallyBasedMaterialX.py:181stdlibDefinition: physicallyBasedMaterialX.py:32-MTLX_NODE_NAME_ATTRIBUTEDefinition: physicallyBasedMaterialX.py:33-dict getJSON(self)Get the JSON object representing the Physically Based Materials.Definition: physicallyBasedMaterialX.py:128+mx.Document getMaterialXDocument(self)Get the MaterialX document.Definition: physicallyBasedMaterialX.py:139+dict getJSON(self)Get the JSON object representing the Physically Based Materials.Definition: physicallyBasedMaterialX.py:130mx.Document getMaterialXDocument(self)Get the MaterialX document.Definition: physicallyBasedMaterialX.py:141loggerDefinition: physicallyBasedMaterialX.py:24-def initializeInputRemapping(self)Initialize remapping keys for different shading models.Definition: physicallyBasedMaterialX.py:78-bool skipLibraryElement(elem)Utility to skip library elements when iterating over elements in a document.Definition: physicallyBasedMaterialX.py:233-mx.Document convertToMaterialX(self, materialNames=[], shaderCategory='standard_surface', remapKeys={}, shaderPreFix='')Convert the Physically Based Materials to MaterialX format for a given target shading model.Definition: physicallyBasedMaterialX.py:274+def writeMaterialXToFile(self, filename)Write the MaterialX document to disk.Definition: physicallyBasedMaterialX.py:364+bool skipLibraryElement(elem)Utility to skip library elements when iterating over elements in a document.Definition: physicallyBasedMaterialX.py:235+mx.Document convertToMaterialX(self, materialNames=[], shaderCategory='standard_surface', remapKeys={}, shaderPreFix='')Convert the Physically Based Materials to MaterialX format for a given target shading model.Definition: physicallyBasedMaterialX.py:276def writeMaterialXToFile(self, filename)Write the MaterialX document to disk.Definition: physicallyBasedMaterialX.py:390-mxDefinition: physicallyBasedMaterialX.py:31-def addComment(self, doc, commentString)Add a comment to the MaterialX document.Definition: physicallyBasedMaterialX.py:263+def writeJSONToFile(self, filename)Write the materials to a JSON file.Definition: physicallyBasedMaterialX.py:216+def addComment(self, doc, commentString)Add a comment to the MaterialX document.Definition: physicallyBasedMaterialX.py:265diff --git a/documents/html/search/all_10.js b/documents/html/search/all_10.js index 3934b81..aebbd2d 100644 --- a/documents/html/search/all_10.js +++ b/documents/html/search/all_10.js @@ -1,5 +1,5 @@ var searchData= [ - ['validatedocument_42',['validateDocument',['../class_js_physically_based_material_loader.html#af3a192ef1a27b937ab8d5b67eeebb808',1,'JsPhysicallyBasedMaterialLoader']]], - ['validatematerialxdocument_43',['validateMaterialXDocument',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a0e370e9ac4e8cefa9ab0136067ed55cf',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]] + ['validatedocument_41',['validateDocument',['../class_js_physically_based_material_loader.html#af3a192ef1a27b937ab8d5b67eeebb808',1,'JsPhysicallyBasedMaterialLoader']]], + ['validatematerialxdocument_42',['validateMaterialXDocument',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a0e370e9ac4e8cefa9ab0136067ed55cf',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/search/all_11.js b/documents/html/search/all_11.js index e023942..563e654 100644 --- a/documents/html/search/all_11.js +++ b/documents/html/search/all_11.js @@ -1,8 +1,8 @@ var searchData= [ - ['writejsontofile_44',['writeJSONToFile',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#aec5e05618ea141395f94a2ecc897ab96',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], - ['writematerialfiles_45',['writeMaterialFiles',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#a547938c19b0d7e814389a4f6e6da3b1d',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]], - ['writematerialnamestofile_46',['writeMaterialNamesToFile',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#ad058328e04f5400c5d33c93f4a116ea9',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]], - ['writematerialxtofile_47',['writeMaterialXToFile',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#adefb5c1b44257ae287109366909e914c',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], - ['writepackagedatatofile_48',['writePackageDataToFile',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#a6e21d13a797c2291f867883624ec1e26',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]] + ['writejsontofile_43',['writeJSONToFile',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#aec5e05618ea141395f94a2ecc897ab96',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], + ['writematerialfiles_44',['writeMaterialFiles',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#a547938c19b0d7e814389a4f6e6da3b1d',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]], + ['writematerialnamestofile_45',['writeMaterialNamesToFile',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#ad058328e04f5400c5d33c93f4a116ea9',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]], + ['writematerialxtofile_46',['writeMaterialXToFile',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#adefb5c1b44257ae287109366909e914c',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], + ['writepackagedatatofile_47',['writePackageDataToFile',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#a6e21d13a797c2291f867883624ec1e26',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]] ]; diff --git a/documents/html/search/all_6.js b/documents/html/search/all_6.js index eeeceb3..e652191 100644 --- a/documents/html/search/all_6.js +++ b/documents/html/search/all_6.js @@ -10,5 +10,5 @@ var searchData= ['getmaterialxdocument_16',['getMaterialXDocument',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#ab5cb1ede45bf58bfeddb8948fde47a3e',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.getMaterialXDocument()'],['../class_js_physically_based_material_loader.html#a50d3f165475f4b6857db44f46b3e24b9',1,'JsPhysicallyBasedMaterialLoader::getMaterialXDocument()']]], ['getmaterialxstring_17',['getMaterialXString',['../class_js_physically_based_material_loader.html#a7dc871ee8d3fc8aa1f5cc1429f27bc7a',1,'JsPhysicallyBasedMaterialLoader']]], ['getphysicallybasedmaterials_18',['getPhysicallyBasedMaterials',['../class_js_physically_based_material_loader.html#a8faa3eec07fd099bb55a65187b07460d',1,'JsPhysicallyBasedMaterialLoader']]], - ['gpuopenmaterialloader_19',['GPUOpenMaterialLoader',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html',1,'materialxMaterials::GPUOpenLoader']]] + ['gpuopenmaterialloader_19',['GPUOpenMaterialLoader',['../class_g_p_u_open_material_loader.html',1,'GPUOpenMaterialLoader'],['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html',1,'materialxMaterials.GPUOpenLoader.GPUOpenMaterialLoader']]] ]; diff --git a/documents/html/search/all_b.js b/documents/html/search/all_b.js index 92ba7bd..2623af0 100644 --- a/documents/html/search/all_b.js +++ b/documents/html/search/all_b.js @@ -5,6 +5,5 @@ var searchData= ['materials_29',['materials',['../class_js_physically_based_material_loader.html#a57aeca3f4ef045e2f8d844495ea9bcf2',1,'JsPhysicallyBasedMaterialLoader']]], ['mx_30',['mx',['../class_js_physically_based_material_loader.html#aaa493b357111b16358c52bdcd99047b6',1,'JsPhysicallyBasedMaterialLoader']]], ['mxmaterialnames_31',['mxMaterialNames',['../class_js_physically_based_material_loader.html#ab5c494882c44f41a973cd826591c0497',1,'JsPhysicallyBasedMaterialLoader']]], - ['myhttprequesthandler_32',['MyHTTPRequestHandler',['../classmyserver_1_1_my_h_t_t_p_request_handler.html',1,'myserver']]], - ['physicallybasedmaterialx_33',['physicallyBasedMaterialX',['../namespacematerialx_materials_1_1physically_based_material_x.html',1,'materialxMaterials']]] + ['physicallybasedmaterialx_32',['physicallyBasedMaterialX',['../namespacematerialx_materials_1_1physically_based_material_x.html',1,'materialxMaterials']]] ]; diff --git a/documents/html/search/all_c.js b/documents/html/search/all_c.js index aa45625..c1ddae8 100644 --- a/documents/html/search/all_c.js +++ b/documents/html/search/all_c.js @@ -1,5 +1,5 @@ var searchData= [ - ['physicallybasedmaterialloader_34',['PhysicallyBasedMaterialLoader',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html',1,'materialxMaterials::physicallyBasedMaterialX']]], - ['printmaterials_35',['printMaterials',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a836f19e92aeee30884613e4d9e2c4698',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]] + ['physicallybasedmaterialloader_33',['PhysicallyBasedMaterialLoader',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html',1,'materialxMaterials::physicallyBasedMaterialX']]], + ['printmaterials_34',['printMaterials',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a836f19e92aeee30884613e4d9e2c4698',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/search/all_d.js b/documents/html/search/all_d.js index 0821ec9..9d2a76a 100644 --- a/documents/html/search/all_d.js +++ b/documents/html/search/all_d.js @@ -1,5 +1,5 @@ var searchData= [ - ['readmaterialfiles_36',['readMaterialFiles',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#aea6443970a62b7e354441e331e99d962',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]], - ['remapmap_37',['remapMap',['../class_js_physically_based_material_loader.html#a547c339e2799cf483f11af5c1883a5ac',1,'JsPhysicallyBasedMaterialLoader']]] + ['readmaterialfiles_35',['readMaterialFiles',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#aea6443970a62b7e354441e331e99d962',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]], + ['remapmap_36',['remapMap',['../class_js_physically_based_material_loader.html#a547c339e2799cf483f11af5c1883a5ac',1,'JsPhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/search/all_e.js b/documents/html/search/all_e.js index 2c9944e..1d0f288 100644 --- a/documents/html/search/all_e.js +++ b/documents/html/search/all_e.js @@ -1,6 +1,6 @@ var searchData= [ - ['setdebugging_38',['setDebugging',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a55f6fd9b37754a25499353a360f7c85c',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], - ['skiplibraryelement_39',['skipLibraryElement',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#ad188128fa3e0493c5dcb6bf0a139329f',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.skipLibraryElement()'],['../class_js_physically_based_material_loader.html#a0ff670b529d0d01fe96d6e7d656c8f2a',1,'JsPhysicallyBasedMaterialLoader::skipLibraryElement(element)']]], - ['stdlib_40',['stdlib',['../class_js_physically_based_material_loader.html#ac5ea5952dab870a8e936f1974b34a8a6',1,'JsPhysicallyBasedMaterialLoader']]] + ['setdebugging_37',['setDebugging',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a55f6fd9b37754a25499353a360f7c85c',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], + ['skiplibraryelement_38',['skipLibraryElement',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#ad188128fa3e0493c5dcb6bf0a139329f',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.skipLibraryElement()'],['../class_js_physically_based_material_loader.html#a0ff670b529d0d01fe96d6e7d656c8f2a',1,'JsPhysicallyBasedMaterialLoader::skipLibraryElement(element)']]], + ['stdlib_39',['stdlib',['../class_js_physically_based_material_loader.html#ac5ea5952dab870a8e936f1974b34a8a6',1,'JsPhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/search/all_f.js b/documents/html/search/all_f.js index 6938319..c9f4e22 100644 --- a/documents/html/search/all_f.js +++ b/documents/html/search/all_f.js @@ -1,4 +1,4 @@ var searchData= [ - ['url_41',['url',['../class_js_physically_based_material_loader.html#abd951385181b05d2e82d28a0d6fe4918',1,'JsPhysicallyBasedMaterialLoader']]] + ['url_40',['url',['../class_js_physically_based_material_loader.html#abd951385181b05d2e82d28a0d6fe4918',1,'JsPhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/search/classes_0.js b/documents/html/search/classes_0.js index 39f8af5..23dd6ce 100644 --- a/documents/html/search/classes_0.js +++ b/documents/html/search/classes_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['gpuopenmaterialloader_49',['GPUOpenMaterialLoader',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html',1,'materialxMaterials::GPUOpenLoader']]] + ['gpuopenmaterialloader_48',['GPUOpenMaterialLoader',['../class_g_p_u_open_material_loader.html',1,'GPUOpenMaterialLoader'],['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html',1,'materialxMaterials.GPUOpenLoader.GPUOpenMaterialLoader']]] ]; diff --git a/documents/html/search/classes_1.js b/documents/html/search/classes_1.js index 0e9345c..974f4d9 100644 --- a/documents/html/search/classes_1.js +++ b/documents/html/search/classes_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['jsphysicallybasedmaterialloader_50',['JsPhysicallyBasedMaterialLoader',['../class_js_physically_based_material_loader.html',1,'']]] + ['jsphysicallybasedmaterialloader_49',['JsPhysicallyBasedMaterialLoader',['../class_js_physically_based_material_loader.html',1,'']]] ]; diff --git a/documents/html/search/classes_2.js b/documents/html/search/classes_2.js index 1656c62..d2a25ad 100644 --- a/documents/html/search/classes_2.js +++ b/documents/html/search/classes_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['myhttprequesthandler_51',['MyHTTPRequestHandler',['../classmyserver_1_1_my_h_t_t_p_request_handler.html',1,'myserver']]] + ['physicallybasedmaterialloader_50',['PhysicallyBasedMaterialLoader',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html',1,'materialxMaterials::physicallyBasedMaterialX']]] ]; diff --git a/documents/html/search/classes_3.js b/documents/html/search/classes_3.js index cf5b1c9..301d59d 100644 --- a/documents/html/search/classes_3.js +++ b/documents/html/search/classes_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['physicallybasedmaterialloader_52',['PhysicallyBasedMaterialLoader',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html',1,'materialxMaterials::physicallyBasedMaterialX']]] + ['physicallybasedmaterialloader_0',['PhysicallyBasedMaterialLoader',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html',1,'materialxMaterials::physicallyBasedMaterialX']]] ]; diff --git a/documents/html/search/functions_0.js b/documents/html/search/functions_0.js index 8f63b8d..0673abd 100644 --- a/documents/html/search/functions_0.js +++ b/documents/html/search/functions_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['_5f_5finit_5f_5f_55',['__init__',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a562aa01290163eac86d6b7a2a8cb7382',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]] + ['_5f_5finit_5f_5f_53',['__init__',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a562aa01290163eac86d6b7a2a8cb7382',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/search/functions_1.js b/documents/html/search/functions_1.js index dd8872e..a6588cb 100644 --- a/documents/html/search/functions_1.js +++ b/documents/html/search/functions_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['addcomment_56',['addComment',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#ae9e0898cb48b3c163eeea4e7c035cc92',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.addComment()'],['../class_js_physically_based_material_loader.html#aedfda1b37416f4385f4c29f6671ad5a7',1,'JsPhysicallyBasedMaterialLoader::addComment()']]] + ['addcomment_54',['addComment',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#ae9e0898cb48b3c163eeea4e7c035cc92',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.addComment()'],['../class_js_physically_based_material_loader.html#aedfda1b37416f4385f4c29f6671ad5a7',1,'JsPhysicallyBasedMaterialLoader::addComment()']]] ]; diff --git a/documents/html/search/functions_2.js b/documents/html/search/functions_2.js index 57e9c71..be67b66 100644 --- a/documents/html/search/functions_2.js +++ b/documents/html/search/functions_2.js @@ -1,6 +1,6 @@ var searchData= [ - ['constructor_57',['constructor',['../class_js_physically_based_material_loader.html#a5f0042da938b9c18e1906422a61962cb',1,'JsPhysicallyBasedMaterialLoader']]], - ['converttomaterialx_58',['convertToMaterialX',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#ad568a7f8abedc69fb614271dd3faff2a',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.convertToMaterialX()'],['../class_js_physically_based_material_loader.html#ae1e44b5689e8a3d9b434ea9828c9ae9d',1,'JsPhysicallyBasedMaterialLoader::convertToMaterialX()']]], - ['converttomaterialxstring_59',['convertToMaterialXString',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a7935dfb3fc52dfa51d4ddef5016d28f7',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]] + ['constructor_55',['constructor',['../class_js_physically_based_material_loader.html#a5f0042da938b9c18e1906422a61962cb',1,'JsPhysicallyBasedMaterialLoader']]], + ['converttomaterialx_56',['convertToMaterialX',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#ad568a7f8abedc69fb614271dd3faff2a',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.convertToMaterialX()'],['../class_js_physically_based_material_loader.html#ae1e44b5689e8a3d9b434ea9828c9ae9d',1,'JsPhysicallyBasedMaterialLoader::convertToMaterialX()']]], + ['converttomaterialxstring_57',['convertToMaterialXString',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a7935dfb3fc52dfa51d4ddef5016d28f7',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/search/functions_3.js b/documents/html/search/functions_3.js index 7aa9827..8b20a17 100644 --- a/documents/html/search/functions_3.js +++ b/documents/html/search/functions_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['downloadpackage_60',['downloadPackage',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#a4f093fe70aa6759e2a137fbff2591c6c',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]] + ['downloadpackage_58',['downloadPackage',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#a4f093fe70aa6759e2a137fbff2591c6c',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]] ]; diff --git a/documents/html/search/functions_4.js b/documents/html/search/functions_4.js index e4b49ae..6c07a2e 100644 --- a/documents/html/search/functions_4.js +++ b/documents/html/search/functions_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['extractpackagedata_61',['extractPackageData',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#accf473c9f3b11dfe6184228bb45c1234',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]] + ['extractpackagedata_59',['extractPackageData',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#accf473c9f3b11dfe6184228bb45c1234',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]] ]; diff --git a/documents/html/search/functions_5.js b/documents/html/search/functions_5.js index 48d9afa..c635f86 100644 --- a/documents/html/search/functions_5.js +++ b/documents/html/search/functions_5.js @@ -1,4 +1,4 @@ var searchData= [ - ['findmaterialsbyname_62',['findMaterialsByName',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#a761935f0293fab3ffb6b852ecf543c64',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]] + ['findmaterialsbyname_60',['findMaterialsByName',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#a761935f0293fab3ffb6b852ecf543c64',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]] ]; diff --git a/documents/html/search/functions_6.js b/documents/html/search/functions_6.js index e119e19..365ecd2 100644 --- a/documents/html/search/functions_6.js +++ b/documents/html/search/functions_6.js @@ -1,13 +1,13 @@ var searchData= [ - ['getinputremapping_63',['getInputRemapping',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a00df7f744ae51556d8f63db4360eef43',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.getInputRemapping()'],['../class_js_physically_based_material_loader.html#a4cb1672349161e2f5b4f7f282814e491',1,'JsPhysicallyBasedMaterialLoader::getInputRemapping()']]], - ['getjson_64',['getJSON',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#aae3e6a57ee0e7f49e394a172d87dc410',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.getJSON()'],['../class_js_physically_based_material_loader.html#a4eec8fc92b4eec481aaf47dc4a8c19f8',1,'JsPhysicallyBasedMaterialLoader::getJSON()']]], - ['getjsonmaterialnames_65',['getJSONMaterialNames',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a0fac543d80540406546451822598309e',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.getJSONMaterialNames()'],['../class_js_physically_based_material_loader.html#a2920d468eb277062a3be0c9b5a149876',1,'JsPhysicallyBasedMaterialLoader::getJSONMaterialNames()']]], - ['getmaterialnames_66',['getMaterialNames',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#adacaa6cff169e56b7df3ddb761ffcde0',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]], - ['getmaterials_67',['getMaterials',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#a19a2e9d18f0191f9576f384d4f3ee4d9',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]], - ['getmaterialsasjsonstring_68',['getMaterialsAsJsonString',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#a9f18efa789dd3a63ef8cd1abdcd38224',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]], - ['getmaterialsfromurl_69',['getMaterialsFromURL',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#aa38eb83c67b0f4c139f523450e1de525',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], - ['getmaterialxdocument_70',['getMaterialXDocument',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#ab5cb1ede45bf58bfeddb8948fde47a3e',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.getMaterialXDocument()'],['../class_js_physically_based_material_loader.html#a50d3f165475f4b6857db44f46b3e24b9',1,'JsPhysicallyBasedMaterialLoader::getMaterialXDocument()']]], - ['getmaterialxstring_71',['getMaterialXString',['../class_js_physically_based_material_loader.html#a7dc871ee8d3fc8aa1f5cc1429f27bc7a',1,'JsPhysicallyBasedMaterialLoader']]], - ['getphysicallybasedmaterials_72',['getPhysicallyBasedMaterials',['../class_js_physically_based_material_loader.html#a8faa3eec07fd099bb55a65187b07460d',1,'JsPhysicallyBasedMaterialLoader']]] + ['getinputremapping_61',['getInputRemapping',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a00df7f744ae51556d8f63db4360eef43',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.getInputRemapping()'],['../class_js_physically_based_material_loader.html#a4cb1672349161e2f5b4f7f282814e491',1,'JsPhysicallyBasedMaterialLoader::getInputRemapping()']]], + ['getjson_62',['getJSON',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#aae3e6a57ee0e7f49e394a172d87dc410',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.getJSON()'],['../class_js_physically_based_material_loader.html#a4eec8fc92b4eec481aaf47dc4a8c19f8',1,'JsPhysicallyBasedMaterialLoader::getJSON()']]], + ['getjsonmaterialnames_63',['getJSONMaterialNames',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a0fac543d80540406546451822598309e',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.getJSONMaterialNames()'],['../class_js_physically_based_material_loader.html#a2920d468eb277062a3be0c9b5a149876',1,'JsPhysicallyBasedMaterialLoader::getJSONMaterialNames()']]], + ['getmaterialnames_64',['getMaterialNames',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#adacaa6cff169e56b7df3ddb761ffcde0',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]], + ['getmaterials_65',['getMaterials',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#a19a2e9d18f0191f9576f384d4f3ee4d9',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]], + ['getmaterialsasjsonstring_66',['getMaterialsAsJsonString',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#a9f18efa789dd3a63ef8cd1abdcd38224',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]], + ['getmaterialsfromurl_67',['getMaterialsFromURL',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#aa38eb83c67b0f4c139f523450e1de525',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], + ['getmaterialxdocument_68',['getMaterialXDocument',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#ab5cb1ede45bf58bfeddb8948fde47a3e',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.getMaterialXDocument()'],['../class_js_physically_based_material_loader.html#a50d3f165475f4b6857db44f46b3e24b9',1,'JsPhysicallyBasedMaterialLoader::getMaterialXDocument()']]], + ['getmaterialxstring_69',['getMaterialXString',['../class_js_physically_based_material_loader.html#a7dc871ee8d3fc8aa1f5cc1429f27bc7a',1,'JsPhysicallyBasedMaterialLoader']]], + ['getphysicallybasedmaterials_70',['getPhysicallyBasedMaterials',['../class_js_physically_based_material_loader.html#a8faa3eec07fd099bb55a65187b07460d',1,'JsPhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/search/functions_7.js b/documents/html/search/functions_7.js index b17b888..b01bf5f 100644 --- a/documents/html/search/functions_7.js +++ b/documents/html/search/functions_7.js @@ -1,4 +1,4 @@ var searchData= [ - ['initializeinputremapping_73',['initializeInputRemapping',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#abd638d0f058fc0c5b15858c28c759df3',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.initializeInputRemapping()'],['../class_js_physically_based_material_loader.html#a35561414959983ac09c200bd74bacc9a',1,'JsPhysicallyBasedMaterialLoader::initializeInputRemapping()']]] + ['initializeinputremapping_71',['initializeInputRemapping',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#abd638d0f058fc0c5b15858c28c759df3',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.initializeInputRemapping()'],['../class_js_physically_based_material_loader.html#a35561414959983ac09c200bd74bacc9a',1,'JsPhysicallyBasedMaterialLoader::initializeInputRemapping()']]] ]; diff --git a/documents/html/search/functions_8.js b/documents/html/search/functions_8.js index b0e9619..a0f0516 100644 --- a/documents/html/search/functions_8.js +++ b/documents/html/search/functions_8.js @@ -1,7 +1,7 @@ var searchData= [ - ['loadmaterialsfromfile_74',['loadMaterialsFromFile',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a1695a75528ef0135abd02f6aab93d2c9',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], - ['loadmaterialsfromstring_75',['loadMaterialsFromString',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a14c9374702631d0c03e305fb57b0c45c',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], - ['loadmaterialx_76',['loadMaterialX',['../class_js_physically_based_material_loader.html#a61db9877dc4783b689e4091cebcc8de8',1,'JsPhysicallyBasedMaterialLoader']]], - ['loadstandardlibraries_77',['loadStandardLibraries',['../class_js_physically_based_material_loader.html#a5a31fc8486c2df7204263a0ca9af9410',1,'JsPhysicallyBasedMaterialLoader']]] + ['loadmaterialsfromfile_72',['loadMaterialsFromFile',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a1695a75528ef0135abd02f6aab93d2c9',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], + ['loadmaterialsfromstring_73',['loadMaterialsFromString',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a14c9374702631d0c03e305fb57b0c45c',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], + ['loadmaterialx_74',['loadMaterialX',['../class_js_physically_based_material_loader.html#a61db9877dc4783b689e4091cebcc8de8',1,'JsPhysicallyBasedMaterialLoader']]], + ['loadstandardlibraries_75',['loadStandardLibraries',['../class_js_physically_based_material_loader.html#a5a31fc8486c2df7204263a0ca9af9410',1,'JsPhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/search/functions_9.js b/documents/html/search/functions_9.js index 0021ee5..6a58b45 100644 --- a/documents/html/search/functions_9.js +++ b/documents/html/search/functions_9.js @@ -1,4 +1,4 @@ var searchData= [ - ['printmaterials_78',['printMaterials',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a836f19e92aeee30884613e4d9e2c4698',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]] + ['printmaterials_76',['printMaterials',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a836f19e92aeee30884613e4d9e2c4698',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/search/functions_a.js b/documents/html/search/functions_a.js index 8d8469d..21b7502 100644 --- a/documents/html/search/functions_a.js +++ b/documents/html/search/functions_a.js @@ -1,4 +1,4 @@ var searchData= [ - ['readmaterialfiles_79',['readMaterialFiles',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#aea6443970a62b7e354441e331e99d962',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]] + ['readmaterialfiles_77',['readMaterialFiles',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#aea6443970a62b7e354441e331e99d962',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]] ]; diff --git a/documents/html/search/functions_b.js b/documents/html/search/functions_b.js index 3e48cdc..1e9713c 100644 --- a/documents/html/search/functions_b.js +++ b/documents/html/search/functions_b.js @@ -1,5 +1,5 @@ var searchData= [ - ['setdebugging_80',['setDebugging',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a55f6fd9b37754a25499353a360f7c85c',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], - ['skiplibraryelement_81',['skipLibraryElement',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#ad188128fa3e0493c5dcb6bf0a139329f',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.skipLibraryElement()'],['../class_js_physically_based_material_loader.html#a0ff670b529d0d01fe96d6e7d656c8f2a',1,'JsPhysicallyBasedMaterialLoader::skipLibraryElement()']]] + ['setdebugging_78',['setDebugging',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a55f6fd9b37754a25499353a360f7c85c',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], + ['skiplibraryelement_79',['skipLibraryElement',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#ad188128fa3e0493c5dcb6bf0a139329f',1,'materialxMaterials.physicallyBasedMaterialX.PhysicallyBasedMaterialLoader.skipLibraryElement()'],['../class_js_physically_based_material_loader.html#a0ff670b529d0d01fe96d6e7d656c8f2a',1,'JsPhysicallyBasedMaterialLoader::skipLibraryElement()']]] ]; diff --git a/documents/html/search/functions_c.js b/documents/html/search/functions_c.js index 6269e7e..8ce3b76 100644 --- a/documents/html/search/functions_c.js +++ b/documents/html/search/functions_c.js @@ -1,5 +1,5 @@ var searchData= [ - ['validatedocument_82',['validateDocument',['../class_js_physically_based_material_loader.html#af3a192ef1a27b937ab8d5b67eeebb808',1,'JsPhysicallyBasedMaterialLoader']]], - ['validatematerialxdocument_83',['validateMaterialXDocument',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a0e370e9ac4e8cefa9ab0136067ed55cf',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]] + ['validatedocument_80',['validateDocument',['../class_js_physically_based_material_loader.html#af3a192ef1a27b937ab8d5b67eeebb808',1,'JsPhysicallyBasedMaterialLoader']]], + ['validatematerialxdocument_81',['validateMaterialXDocument',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#a0e370e9ac4e8cefa9ab0136067ed55cf',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/search/functions_d.js b/documents/html/search/functions_d.js index 2976d95..9469e80 100644 --- a/documents/html/search/functions_d.js +++ b/documents/html/search/functions_d.js @@ -1,8 +1,8 @@ var searchData= [ - ['writejsontofile_84',['writeJSONToFile',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#aec5e05618ea141395f94a2ecc897ab96',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], - ['writematerialfiles_85',['writeMaterialFiles',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#a547938c19b0d7e814389a4f6e6da3b1d',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]], - ['writematerialnamestofile_86',['writeMaterialNamesToFile',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#ad058328e04f5400c5d33c93f4a116ea9',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]], - ['writematerialxtofile_87',['writeMaterialXToFile',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#adefb5c1b44257ae287109366909e914c',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], - ['writepackagedatatofile_88',['writePackageDataToFile',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#a6e21d13a797c2291f867883624ec1e26',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]] + ['writejsontofile_82',['writeJSONToFile',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#aec5e05618ea141395f94a2ecc897ab96',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], + ['writematerialfiles_83',['writeMaterialFiles',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#a547938c19b0d7e814389a4f6e6da3b1d',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]], + ['writematerialnamestofile_84',['writeMaterialNamesToFile',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#ad058328e04f5400c5d33c93f4a116ea9',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]], + ['writematerialxtofile_85',['writeMaterialXToFile',['../classmaterialx_materials_1_1physically_based_material_x_1_1_physically_based_material_loader.html#adefb5c1b44257ae287109366909e914c',1,'materialxMaterials::physicallyBasedMaterialX::PhysicallyBasedMaterialLoader']]], + ['writepackagedatatofile_86',['writePackageDataToFile',['../classmaterialx_materials_1_1_g_p_u_open_loader_1_1_g_p_u_open_material_loader.html#a6e21d13a797c2291f867883624ec1e26',1,'materialxMaterials::GPUOpenLoader::GPUOpenMaterialLoader']]] ]; diff --git a/documents/html/search/mag.svg b/documents/html/search/mag.svg new file mode 100644 index 0000000..9f46b30 --- /dev/null +++ b/documents/html/search/mag.svg @@ -0,0 +1,37 @@ + + diff --git a/documents/html/search/mag_d.svg b/documents/html/search/mag_d.svg new file mode 100644 index 0000000..b9a814c --- /dev/null +++ b/documents/html/search/mag_d.svg @@ -0,0 +1,37 @@ + + diff --git a/documents/html/search/mag_seld.svg b/documents/html/search/mag_seld.svg new file mode 100644 index 0000000..6e720dc --- /dev/null +++ b/documents/html/search/mag_seld.svg @@ -0,0 +1,74 @@ + + + + diff --git a/documents/html/search/namespaces_0.js b/documents/html/search/namespaces_0.js index 978ab54..16333d3 100644 --- a/documents/html/search/namespaces_0.js +++ b/documents/html/search/namespaces_0.js @@ -1,5 +1,5 @@ var searchData= [ - ['gpuopenloader_53',['GPUOpenLoader',['../namespacematerialx_materials_1_1_g_p_u_open_loader.html',1,'materialxMaterials']]], - ['physicallybasedmaterialx_54',['physicallyBasedMaterialX',['../namespacematerialx_materials_1_1physically_based_material_x.html',1,'materialxMaterials']]] + ['gpuopenloader_51',['GPUOpenLoader',['../namespacematerialx_materials_1_1_g_p_u_open_loader.html',1,'materialxMaterials']]], + ['physicallybasedmaterialx_52',['physicallyBasedMaterialX',['../namespacematerialx_materials_1_1physically_based_material_x.html',1,'materialxMaterials']]] ]; diff --git a/documents/html/search/pages_0.js b/documents/html/search/pages_0.js new file mode 100644 index 0000000..900c3be --- /dev/null +++ b/documents/html/search/pages_0.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['materialxmaterials_0',['MaterialXMaterials',['../index.html',1,'']]] +]; diff --git a/documents/html/search/searchdata.js b/documents/html/search/searchdata.js index 6399bfc..fb8c62b 100644 --- a/documents/html/search/searchdata.js +++ b/documents/html/search/searchdata.js @@ -1,7 +1,7 @@ var indexSectionsWithContent = { 0: "_acdefghijlmprsuvw", - 1: "gjmp", + 1: "gjp", 2: "m", 3: "_acdefgilprsvw", 4: "dhmrsu" diff --git a/documents/html/search/variables_0.js b/documents/html/search/variables_0.js index 16811ed..193ce1a 100644 --- a/documents/html/search/variables_0.js +++ b/documents/html/search/variables_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['doc_89',['doc',['../class_js_physically_based_material_loader.html#a19ba3f660663b91ec2be3fe81b45b2b4',1,'JsPhysicallyBasedMaterialLoader']]] + ['doc_87',['doc',['../class_js_physically_based_material_loader.html#a19ba3f660663b91ec2be3fe81b45b2b4',1,'JsPhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/search/variables_1.js b/documents/html/search/variables_1.js index 19c5a4c..6666b4f 100644 --- a/documents/html/search/variables_1.js +++ b/documents/html/search/variables_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['headers_90',['headers',['../class_js_physically_based_material_loader.html#ab92e487175c47f2d8f2c9ce2f8500765',1,'JsPhysicallyBasedMaterialLoader']]] + ['headers_88',['headers',['../class_js_physically_based_material_loader.html#ab92e487175c47f2d8f2c9ce2f8500765',1,'JsPhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/search/variables_2.js b/documents/html/search/variables_2.js index aa7b16a..f3bcdcc 100644 --- a/documents/html/search/variables_2.js +++ b/documents/html/search/variables_2.js @@ -1,7 +1,7 @@ var searchData= [ - ['materialnames_91',['materialNames',['../class_js_physically_based_material_loader.html#a928e3076af0dcaf80dd46476c854a574',1,'JsPhysicallyBasedMaterialLoader']]], - ['materials_92',['materials',['../class_js_physically_based_material_loader.html#a57aeca3f4ef045e2f8d844495ea9bcf2',1,'JsPhysicallyBasedMaterialLoader']]], - ['mx_93',['mx',['../class_js_physically_based_material_loader.html#aaa493b357111b16358c52bdcd99047b6',1,'JsPhysicallyBasedMaterialLoader']]], - ['mxmaterialnames_94',['mxMaterialNames',['../class_js_physically_based_material_loader.html#ab5c494882c44f41a973cd826591c0497',1,'JsPhysicallyBasedMaterialLoader']]] + ['materialnames_89',['materialNames',['../class_js_physically_based_material_loader.html#a928e3076af0dcaf80dd46476c854a574',1,'JsPhysicallyBasedMaterialLoader']]], + ['materials_90',['materials',['../class_js_physically_based_material_loader.html#a57aeca3f4ef045e2f8d844495ea9bcf2',1,'JsPhysicallyBasedMaterialLoader']]], + ['mx_91',['mx',['../class_js_physically_based_material_loader.html#aaa493b357111b16358c52bdcd99047b6',1,'JsPhysicallyBasedMaterialLoader']]], + ['mxmaterialnames_92',['mxMaterialNames',['../class_js_physically_based_material_loader.html#ab5c494882c44f41a973cd826591c0497',1,'JsPhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/search/variables_3.js b/documents/html/search/variables_3.js index de463de..96c71d8 100644 --- a/documents/html/search/variables_3.js +++ b/documents/html/search/variables_3.js @@ -1,4 +1,4 @@ var searchData= [ - ['remapmap_95',['remapMap',['../class_js_physically_based_material_loader.html#a547c339e2799cf483f11af5c1883a5ac',1,'JsPhysicallyBasedMaterialLoader']]] + ['remapmap_93',['remapMap',['../class_js_physically_based_material_loader.html#a547c339e2799cf483f11af5c1883a5ac',1,'JsPhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/search/variables_4.js b/documents/html/search/variables_4.js index 5411b91..4cdcae9 100644 --- a/documents/html/search/variables_4.js +++ b/documents/html/search/variables_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['stdlib_96',['stdlib',['../class_js_physically_based_material_loader.html#ac5ea5952dab870a8e936f1974b34a8a6',1,'JsPhysicallyBasedMaterialLoader']]] + ['stdlib_94',['stdlib',['../class_js_physically_based_material_loader.html#ac5ea5952dab870a8e936f1974b34a8a6',1,'JsPhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/search/variables_5.js b/documents/html/search/variables_5.js index 50b2eb3..684b6a5 100644 --- a/documents/html/search/variables_5.js +++ b/documents/html/search/variables_5.js @@ -1,4 +1,4 @@ var searchData= [ - ['url_97',['url',['../class_js_physically_based_material_loader.html#abd951385181b05d2e82d28a0d6fe4918',1,'JsPhysicallyBasedMaterialLoader']]] + ['url_95',['url',['../class_js_physically_based_material_loader.html#abd951385181b05d2e82d28a0d6fe4918',1,'JsPhysicallyBasedMaterialLoader']]] ]; diff --git a/documents/html/splitbard.png b/documents/html/splitbard.png new file mode 100644 index 0000000000000000000000000000000000000000..8367416d757fd7b6dc4272b6432dc75a75abd068 GIT binary patch literal 282 zcmeAS@N?(olHy`uVBq!ia0vp^Yzz!63>-{AmhX=Jfdef writeJSONToFile(self, filename)Write the materials to a JSON file.Definition: physicallyBasedMaterialX.py:218@VhhFKy35^fiT zT~&lUj3=cDh^%3HDY9k5CEku}PHXNoNC(_$U3XPb &Q*ME25pT;2(*BOgAf<+R$lzakPG`kF31()Fx{L5Wrac|GQzjeE= zueY1`Ze{#x<8=S|`~MgGetGce)#vN&|J{Cd^tS%;tBYTo?+^d68<#n_Y_xx`J||4O V@QB{^CqU0Kc)I$ztaD0e0svEzbJzd? literal 0 HcmV?d00001 diff --git a/documents/html/tab_ad.png b/documents/html/tab_ad.png new file mode 100644 index 0000000000000000000000000000000000000000..e34850acfc24be58da6d2fd1ccc6b29cc84fe34d GIT binary patch literal 135 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!QhuH;jv*C{Z|5d*H3V=pKi{In zd2jxLclDRPylmD}^l7{QOtL{vUjO{-WqItb5sQp2h-99b8^^Scr-=2mblCdZuUm?4 jzOJvgvt3{(cjKLW5(A@0qPS@<&}0TrS3j3^P6 y&q2{!U5bk+Tso_B!YCpDh>v z{CM*1U8YvQRyBUHt^Ju0W_sq-?;9@_4equ-bavTs=gk796 zopr0EBT&m;e9( literal 0 HcmV?d00001 diff --git a/documents/html/tab_sd.png b/documents/html/tab_sd.png new file mode 100644 index 0000000000000000000000000000000000000000..757a565ced4730f85c833fb2547d8e199ae68f19 GIT binary patch literal 188 zcmeAS@N?(olHy`uVBq!ia0vp^j6kfy!2~3aiye;!Qq7(&jv*C{Z|_!fH5o7*c=%9% zcILh!EA=pAQKdx-Cdiev=v{eg{8Ht<{e8_NAN~b=)%W>-WDCE0PyDHGemi$BoXwcK z{>e9^za6*c1ilttWw&V+U;WCPlV9{LdC~Ey%_H(qj`xgfES(4Yz5jSTZfCt` 4E$0YRsR*S^mTCR^;V&sxC8{l_Cp7w8-YPgg&ebxsLQ00$vXK>z>% literal 0 HcmV?d00001 diff --git a/index.html b/index.html index 022db82..739c510 100644 --- a/index.html +++ b/index.html @@ -89,6 +89,7 @@ Dependencies
- The MaterialX 1.39 or greater package for PhysicallyBased OpenPBR shader creation
- The
+requests
package.- The
pillow
package for image handling for GPUOpen package handlingBuilding
The GitHub repository can be cloned and the package built using:
diff --git a/javascript/JsMaterialXPhysicallyBased.js b/javascript/JsMaterialXPhysicallyBased.js index 22e0a53..fe50ec0 100644 --- a/javascript/JsMaterialXPhysicallyBased.js +++ b/javascript/JsMaterialXPhysicallyBased.js @@ -149,6 +149,7 @@ class JsPhysicallyBasedMaterialLoader { //'metalness': 'metalness', 'ior': 'specular_IOR', //'transmission': 'transmission', + 'transmission_color': 'transmission_color', 'thinFilmIor': 'thin_film_IOR', 'thinFilmThickness': 'thin_film_thickness', 'transmissionDispersion': 'transmission_dispersion', @@ -161,6 +162,7 @@ class JsPhysicallyBasedMaterialLoader { 'metalness': 'base_metalness', 'ior': 'specular_ior', 'transmission': 'transmission_weight', + 'transmission_color': 'transmission_color', 'subsurfaceRadius': 'subsurface_radius', 'thinFilmIor': 'thinfilm_ior', 'thinFilmThickness': 'thinfilm_thickness', @@ -381,8 +383,31 @@ class JsPhysicallyBasedMaterialLoader { // to Autodesk Standard Surface shader inputs const skipKeys = ['name', "density", "category", "description", "sources", "tags", "reference"]; + let metallness = null; + let roughness = null; + let transmission_color = null; + let transmission = null; Object.entries(mat).forEach(([key, value]) => { + if (!skipKeys.includes(key)) { + + if (key == 'metalness') { + metallness = value; + //console.log('Metalness:', metallness); + } + if (key == 'roughness') { + roughness = value; + //console.log('Roughness:', roughness); + } + if (key == 'transmission') { + transmission = value; + //console.log('Transmission:', transmission); + } + if (key == 'color') { + transmission_color = value; + //console.log('Color:', color); + } + if (remapKeys[key]) { key = remapKeys[key]; } @@ -413,6 +438,22 @@ class JsPhysicallyBasedMaterialLoader { } } }); + + if (transmission !== null && metallness !== null && roughness !== null && transmission_color !== null) + { + if (metallness == 0 && roughness == 0) + { + if (remapKeys['transmission_color']) { + let inputName = remapKeys['transmission_color']; + let input = shaderNode.addInput(inputName); + if (input) { + let value = transmission_color.join(','); + console.log(`Add "${inputName}": "${value}"`); + input.setValueString(value, 'color3'); + } + } + } + }; } return true; } diff --git a/pyproject.toml b/pyproject.toml index 74cb85a..7c2aadf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ classifiers = [ dependencies = [ "materialx>=1.39", "requests", + "pillow" ] [tool.setuptools.packages.find] diff --git a/src/materialxMaterials.egg-info/PKG-INFO b/src/materialxMaterials.egg-info/PKG-INFO index e2248a4..e25b42d 100644 --- a/src/materialxMaterials.egg-info/PKG-INFO +++ b/src/materialxMaterials.egg-info/PKG-INFO @@ -219,6 +219,7 @@ Description-Content-Type: text/markdown License-File: LICENSE Requires-Dist: materialx>=1.39 Requires-Dist: requests +Requires-Dist: pillow diff --git a/src/materialxMaterials.egg-info/requires.txt b/src/materialxMaterials.egg-info/requires.txt index 35a101b..cc2aa67 100644 --- a/src/materialxMaterials.egg-info/requires.txt +++ b/src/materialxMaterials.egg-info/requires.txt @@ -1,2 +1,3 @@ materialx>=1.39 requests +pillow diff --git a/src/materialxMaterials/data/PhysicallyBasedMaterialX/PhysicallyBasedMaterialX_OPBR.mtlx b/src/materialxMaterials/data/PhysicallyBasedMaterialX/PhysicallyBasedMaterialX_OPBR.mtlx index 2055caa..aec0fcf 100644 --- a/src/materialxMaterials/data/PhysicallyBasedMaterialX/PhysicallyBasedMaterialX_OPBR.mtlx +++ b/src/materialxMaterials/data/PhysicallyBasedMaterialX/PhysicallyBasedMaterialX_OPBR.mtlx @@ -45,6 +45,7 @@ +@@ -171,6 +172,7 @@ + @@ -196,6 +198,7 @@ + @@ -219,6 +222,7 @@ + @@ -231,6 +235,7 @@ + @@ -254,6 +259,7 @@ + @@ -267,6 +273,7 @@ + @@ -302,6 +309,7 @@ + @@ -457,6 +465,7 @@ + @@ -469,6 +478,7 @@ + @@ -481,6 +491,7 @@ + @@ -493,6 +504,7 @@ + @@ -505,6 +517,7 @@ + @@ -529,6 +542,7 @@ + @@ -565,6 +579,7 @@ + @@ -683,6 +698,7 @@ + @@ -743,6 +759,7 @@ + diff --git a/src/materialxMaterials/data/PhysicallyBasedMaterialX/PhysicallyBasedMaterialX_SS.mtlx b/src/materialxMaterials/data/PhysicallyBasedMaterialX/PhysicallyBasedMaterialX_SS.mtlx index fadec96..765989e 100644 --- a/src/materialxMaterials/data/PhysicallyBasedMaterialX/PhysicallyBasedMaterialX_SS.mtlx +++ b/src/materialxMaterials/data/PhysicallyBasedMaterialX/PhysicallyBasedMaterialX_SS.mtlx @@ -45,6 +45,7 @@ + @@ -170,6 +171,7 @@ + @@ -195,6 +197,7 @@ + @@ -218,6 +221,7 @@ + @@ -230,6 +234,7 @@ + @@ -253,6 +258,7 @@ + @@ -266,6 +272,7 @@ + @@ -301,6 +308,7 @@ + @@ -453,6 +461,7 @@ + @@ -465,6 +474,7 @@ + @@ -477,6 +487,7 @@ + @@ -489,6 +500,7 @@ + @@ -501,6 +513,7 @@ + @@ -525,6 +538,7 @@ + @@ -561,6 +575,7 @@ + @@ -675,6 +690,7 @@ + @@ -735,6 +751,7 @@ + diff --git a/src/materialxMaterials/physicallyBasedMaterialX.py b/src/materialxMaterials/physicallyBasedMaterialX.py index 8b62e38..8fce013 100644 --- a/src/materialxMaterials/physicallyBasedMaterialX.py +++ b/src/materialxMaterials/physicallyBasedMaterialX.py @@ -92,6 +92,7 @@ def initializeInputRemapping(self): #'metalness': 'metalness', 'ior': 'specular_IOR', #'transmission': 'transmission', + 'transmission_color': 'transmission_color', 'thinFilmIor' : 'thin_film_IOR', 'thinFilmThickness' : 'thin_film_thickness', 'transmissionDispersion' : 'transmission_dispersion', @@ -104,6 +105,7 @@ def initializeInputRemapping(self): 'metalness': 'base_metalness', 'ior': 'specular_ior', 'transmission': 'transmission_weight', + 'transmission_color': 'transmission_color', 'subsurfaceRadius': 'subsurface_radius', 'thinFilmIor' : 'thinfilm_ior', 'thinFilmThickness' : 'thinfilm_thickness', @@ -343,8 +345,22 @@ def convertToMaterialX(self, materialNames = [], shaderCategory='standard_surfac # Keys to skip. skipKeys = ['name', "density", "category", "description", "sources", "tags", "reference"] + metallness = None + roughness = None + color = None + transmission = None for key, value in mat.items(): + if (key not in skipKeys): + if key == 'metalness': + metallness = value + if key == 'roughness': + roughness = value + if key == 'transmission': + transmission = value + if key == 'color': + color = value + if key in remapKeys: key = remapKeys[key] input = shaderNode.addInputFromNodeDef(key) @@ -359,6 +375,16 @@ def convertToMaterialX(self, materialNames = [], shaderCategory='standard_surfac #else: # self.logger.debug('Skip unsupported key: ' + key) + if (transmission != None) and (metallness != None) and (roughness != None) and (color != None): + if (metallness == 0) and (roughness == 0): + if 'transmission_color' in remapKeys: + key = remapKeys['transmission_color'] + input = shaderNode.addInputFromNodeDef(key) + if input: + self.logger.debug(f'Set transmission color {key}: {color}') + value = ','.join([str(x) for x in color]) + input.setValueString(value) + return self.doc def writeMaterialXToFile(self, filename): diff --git a/myserver.py b/utilities/myserver.py similarity index 100% rename from myserver.py rename to utilities/myserver.py