Skip to content
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

Initial ThreeJS viewing app #1207

Merged
merged 1 commit into from
May 21, 2021

Conversation

sdunkel
Copy link
Collaborator

@sdunkel sdunkel commented May 21, 2021

This is a minimal app to render the shaderball with custom shaders. Once the WebGL Shader Generation is working we can easily hook it up to the app to visualize MaterialX materials.

Update materialx#344, #1184

@sdunkel sdunkel requested a review from muenstc May 21, 2021 11:30
@sdunkel sdunkel merged commit 5cd189c into adsk_contrib/es_generator May 21, 2021
@sdunkel sdunkel deleted the adsk_contrib/jsview_sampleapp branch May 21, 2021 13:45
muenstc added a commit that referenced this pull request Jul 1, 2021
…w) (#1244)

* Rough GLES generator setup.

* Fix incorrect target inheritance.

* fixed copying of library folder

* initial materialx web viewer implementation with dummy shader (#1207)

* Adapt ESSLShaderGenerator for WebGL2 (#1211)

* Minimize required code changes between Glsl and Essl shadergen by exposing more `emit` functions
* Get correct vertex prefix for Essl in the node implementations.
* Update three js sample to render standard_surface_default material

Co-authored-by: dunkels <sebastian.dunkel@autodesk.com>
Co-authored-by: kohakukun <aura.munoz@autodesk.com>

* fix: Cleanup essl context for new documents (#1226)

Co-authored-by: kohakukun <aura.munoz@autodesk.com>

* fix: Add explicit casting for switch statement (#1227)

Co-authored-by: kohakukun <aura.munoz@autodesk.com>

* clean up, add entry for Essl shader generation option to Viewer.md (#1228)

* fix: stdlib explicit cast for essl compatibility (#1229)

* add precission to vertex shader

* fix: Add explicit cast for ess compatibility

* address comments

* quick fix

Co-authored-by: kohakukun <aura.munoz@autodesk.com>

* Enable mipmap generation for JsMaterialXView (#1242)

* Throw if EsslShaderGenerator has access to a resource binding context (#1230)

* clean up (#1247)

* clean up pass 2

Co-authored-by: bernardkwok <bernard.kwok@autodesk.com>
Co-authored-by: dunkels <sebastian.dunkel@autodesk.com>
Co-authored-by: Sebastian Dunkel <sdunkel@users.noreply.github.com>
Co-authored-by: kohakukun <aura.munoz@autodesk.com>
Co-authored-by: Aura Munoz <paraprogramar@gmail.com>
kohakukun pushed a commit to kohakukun/MaterialX that referenced this pull request Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants