Merged
Conversation
elalish
suggested changes
Oct 5, 2023
Contributor
elalish
left a comment
There was a problem hiding this comment.
Can you update your Transform Textures example to demonstrate this is working now? Just add a little drop-down for the wrap mode and apply same to both axes.
| @@ -1,4 +1,4 @@ | |||
| import {TextureFilter, Wrapping} from 'three'; | |||
| import {TextureFilter} from 'three'; | |||
Contributor
There was a problem hiding this comment.
We need to remove this too.
Collaborator
Author
There was a problem hiding this comment.
Leaving this for a follow up PR.
elalish
reviewed
Oct 5, 2023
| <input type="range" min="0" max="1" value="0" step="0.01" id="offsetSlider"> | ||
| <p>WrapMode</p> | ||
| <select id="wrapMode"> | ||
| <option value="10497">Repeat</option> |
Contributor
There was a problem hiding this comment.
Can you switch this to Wrap.Repeat etc? I want to ensure our enum is properly exported.
Contributor
There was a problem hiding this comment.
If it doesn't work, we probably have to re-export it from model-viewer.ts.
Collaborator
Author
There was a problem hiding this comment.
We realized at the office that making this work might take a bit more time of work, leaving it for another index.html cleanup :/
JL-Vidinoti
pushed a commit
to vidinoti/model-viewer
that referenced
this pull request
Apr 22, 2024
* Add fix for Wrapping exposed * Add example * Fix sampler updating * Added WrapMode comment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed #4494