MorphTargets - morphTargetInfluences in Safari not transforming mesh object
See original GitHub issueDescribe the bug
Following the Live Morph Example, should be able to add spherical vertices to boxGeometry and transform by updating the morphTargetInfluences
on the mesh object
View on Chrome/FireFox for correct behavior View on Safari for bug behavior
Bug seems specific to Safari on macOS < 12, using WebGL2.
To Reproduce
- Go to https://threejs.org/examples/webgl_morphtargets.html in
Safari
- Update
Morph Targets
gui sliders forSpherify
and/orTwist
- See mesh object move around instead of transform
Code https://github.com/mrdoob/three.js/blob/master/examples/webgl_morphtargets.html
Live example https://threejs.org/examples/webgl_morphtargets.html
Expected behavior
Mesh object transforms (Chrome behavior) instead of moving around the screen
Screenshots
Safari (bug):
Chrome (expected):
Platform:
- Device: Macbook Pro i7
- OS: MacOS 11.6.2
- Browser: Safari 15.2
- Three.js version: master
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
Mesh#morphTargetInfluences – three.js docs
Class representing triangular polygon mesh based objects. ... A dictionary of morphTargets based on the morphTarget.name property.
Read more >THREE.js - morphTargetInfluences on an imported JSON ...
js scene in which I am attempting to get objects exported from Blender (as JSON files with embedded morphs) to function and update...
Read more >Morph Target in Model Viewer · Discussion #2614 - GitHub
Hello , is it possiable to use MorphTarget Method from Three.js in Model Viewer ... morphTargetInfluences ( https://threejs.org/docs/#api/en/objects/Mesh.
Read more >three.js - Apple Open Source
(function (global, factory) { typeof exports === 'object' && typeof module !== ... Geometry.mergeMesh(): mesh not an instance of THREE.Mesh.
Read more >[SOLVED] 2.9 Morphing not working (morph targets / blend ...
I observed in 2.9 that morph targets not works. The shape is not changing. I attach you a file to figure it out....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
🤨
I can confirm that setting
antialias: false
fixes the issue 🤨