|
@@ -307,7 +307,6 @@ showFileInfo(fileInfos, fileInfos[0]);
|
|
|
+});
|
|
|
+const material = new THREE.MeshBasicMaterial({
|
|
|
+ vertexColors: true,
|
|
|
-+ morphTargets: true,
|
|
|
+});
|
|
|
+const mesh = new THREE.Mesh(baseGeometry, material);
|
|
|
+scene.add(mesh);
|
|
@@ -344,7 +343,7 @@ showFileInfo(fileInfos, fileInfos[0]);
|
|
|
|
|
|
```js
|
|
|
import * as THREE from './resources/three/r131/build/three.module.js';
|
|
|
-import {BufferGeometryUtils} from './resources/threejs/r131/examples/jsm/utils/BufferGeometryUtils.js';
|
|
|
+import * as BufferGeometryUtils from './resources/threejs/r131/examples/jsm/utils/BufferGeometryUtils.js';
|
|
|
import {OrbitControls} from './resources/threejs/r131/examples/jsm/controls/OrbitControls.js';
|
|
|
+import {TWEEN} from './resources/threejs/r131/examples/jsm/libs/tween.min.js';
|
|
|
```
|
|
@@ -497,7 +496,6 @@ baseGeometry.morphAttributes.position = geometries.map((geometry, ndx) => {
|
|
|
+});
|
|
|
const material = new THREE.MeshBasicMaterial({
|
|
|
vertexColors: true,
|
|
|
- morphTargets: true,
|
|
|
});
|
|
|
```
|
|
|
|
|
@@ -555,7 +553,6 @@ void main() {
|
|
|
```js
|
|
|
const material = new THREE.MeshBasicMaterial({
|
|
|
vertexColors: true,
|
|
|
- morphTargets: true,
|
|
|
});
|
|
|
+const vertexShaderReplacements = [
|
|
|
+ {
|