-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web Support for MaterialX #1184
Comments
This is amazing work! Q: Does this import into the existing Three.js node graph system? Or does it just directly generate GLSL code from the MaterialX definitions - sort of skipping the Three.js material system mostly? |
It generates GLSL code and is not tied to any framework. |
There may be some requirement to branch a option on the generator to handle some declaration specifics (such as for three.js). TBD the interface. Also I've updated the progress to the current dat of this posting :). |
This is an outline of work that would constitute adding in "web" support for MaterialX.
Any work done will have it's work status listed.
Main work has been performed in the Autodesk fork and is now part of LucasFilm (ASWF)
main
as partof 1.38.3.
The ADSK remaining work is the OCIO/MTLX initiative and and what this means for Web support.
First has non-Web in ADSK branch and will need to be reviewed. Web would follow: Note that currently
the JS shader generation wrappers do not expose access to the colorspace system (It's hard-coded fore the viewer).
Infrastructure
Core Javascript Bindings
JsMaterialXCore
: bindings for MaterialXCore module adsk_complete_, in_main_JsMaterialXFormat
: bindings for MaterialXFormat module adsk_complete , in_main_Code Generator
EsslShaderGenerator
: OpenGL ES code generation (WebGL 2.0 support only *) complete, for 1.38.2 releaseMaterixlGenGlsl
module- *Note: as Safari intends to support 2.0, there is no 1.0 generator planned)
glslangValidator
complete, for 1.38.2 releaseCode Generation Javascript Bindings
JsMaterialXGenShader
: wrappers for MaterialXGenShader module adsk_complete_, in_main_JsMaterialXGenEssl
: expose bindings for EsslShaderGenerator.Sample app integration
JsMaterialXView
: simple sample usage of GLES. Chrome andthree.js
in_mainMaterialXView
sample viewerColour Management Support
The text was updated successfully, but these errors were encountered: