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

Update three.js for testing #1220

Merged
merged 3 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions examples-testing/changes.patch
Original file line number Diff line number Diff line change
Expand Up @@ -15267,10 +15267,10 @@ index 097d06af..3836e7ee 100644

init();

diff --git a/examples-testing/examples/webgpu_texture2darray_compressed.ts b/examples-testing/examples/webgpu_texture2darray_compressed.ts
diff --git a/examples-testing/examples/webgpu_textures_2d-array_compressed.ts b/examples-testing/examples/webgpu_textures_2d-array_compressed.ts
index 3e8bf7ee..56db87fd 100644
--- a/examples-testing/examples/webgpu_texture2darray_compressed.ts
+++ b/examples-testing/examples/webgpu_texture2darray_compressed.ts
--- a/examples-testing/examples/webgpu_textures_2d-array_compressed.ts
+++ b/examples-testing/examples/webgpu_textures_2d-array_compressed.ts
@@ -1,11 +1,16 @@
-import * as THREE from 'three';
+import * as THREE from 'three/webgpu';
Expand Down Expand Up @@ -15361,7 +15361,7 @@ index e8ebe87d..9fae06bd 100644
const data = texture.image.data;

diff --git a/examples-testing/examples/webgpu_tsl_coffee_smoke.ts b/examples-testing/examples/webgpu_tsl_coffee_smoke.ts
index 5c2c8ea4..2b11fc73 100644
index 9e2404cc..9bd5ef8a 100644
--- a/examples-testing/examples/webgpu_tsl_coffee_smoke.ts
+++ b/examples-testing/examples/webgpu_tsl_coffee_smoke.ts
@@ -1,4 +1,4 @@
Expand All @@ -15370,7 +15370,7 @@ index 5c2c8ea4..2b11fc73 100644
import {
mix,
mul,
@@ -17,7 +17,7 @@ import {
@@ -18,7 +18,7 @@ import {
import { OrbitControls } from 'three/addons/controls/OrbitControls.js';
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';

Expand All @@ -15379,7 +15379,7 @@ index 5c2c8ea4..2b11fc73 100644

init();

@@ -35,7 +35,9 @@ function init() {
@@ -36,7 +36,9 @@ function init() {
// baked model

gltfLoader.load('./models/gltf/coffeeMug.glb', gltf => {
Expand All @@ -15391,16 +15391,16 @@ index 5c2c8ea4..2b11fc73 100644
});

diff --git a/examples-testing/examples/webgpu_tsl_vfx_flames.ts b/examples-testing/examples/webgpu_tsl_vfx_flames.ts
index a9110fa8..42bf54e3 100644
index 6e72392a..b04fdc77 100644
--- a/examples-testing/examples/webgpu_tsl_vfx_flames.ts
+++ b/examples-testing/examples/webgpu_tsl_vfx_flames.ts
@@ -1,4 +1,4 @@
-import * as THREE from 'three';
+import * as THREE from 'three/webgpu';
import {
PI2,
spherizeUV,
@@ -17,7 +17,15 @@ import {
oneMinus,
@@ -18,7 +18,15 @@ import {

import { OrbitControls } from 'three/addons/controls/OrbitControls.js';

Expand All @@ -15417,7 +15417,7 @@ index a9110fa8..42bf54e3 100644

init();

@@ -37,11 +45,11 @@ function init() {
@@ -38,11 +46,11 @@ function init() {

// gradient canvas

Expand Down
Loading