From 16ca0a937600211d2c2fceab54bcec2e4f4831aa Mon Sep 17 00:00:00 2001 From: yyc-git <395976266@qq.com> Date: Tue, 12 Mar 2024 16:21:32 +0800 Subject: [PATCH] feat(editor): default scene remove Arcball_Camera2 --- doc/jiehuo.org | 17 +++++++++-------- .../src/CreateDefaultSceneJobUtils.ts | 14 +++++++------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/doc/jiehuo.org b/doc/jiehuo.org index d54ec37d6..b7c0e5964 100755 --- a/doc/jiehuo.org +++ b/doc/jiehuo.org @@ -385,15 +385,15 @@ fix gamma pass -* TODO fix: camera group can set near, far +* DONE default scene remove Arcball_Camera2 -* TODO feat: add arcball component -* TODO default scene remove Arcball_Camera1, Arcball_Camera2 +* TODO fix: active arcball_forsceneview->publish error -* TODO fix: active arcball_forsceneview->publish error +* TODO fix: camera group can set near, far +* TODO feat: add arcball component @@ -404,11 +404,8 @@ fix gamma pass -* TODO future -** TODO picking should return gameObjects instead of objects -** TODO setSelectedObjects should use gameObjects instead of objects -** TODO refactor: rename setSelectedObjects to setSelectedGameObjects +* TODO future @@ -477,6 +474,10 @@ https://docs.unity3d.com/Packages/com.unity.ugui@1.0/manual/index.html +** TODO picking should return gameObjects instead of objects +** TODO setSelectedObjects should use gameObjects instead of objects +** TODO refactor: rename setSelectedObjects to setSelectedGameObjects + diff --git a/utils/meta3d-pipeline-webgl1-three-utils/src/CreateDefaultSceneJobUtils.ts b/utils/meta3d-pipeline-webgl1-three-utils/src/CreateDefaultSceneJobUtils.ts index 27b567aa5..8fbe6dd03 100755 --- a/utils/meta3d-pipeline-webgl1-three-utils/src/CreateDefaultSceneJobUtils.ts +++ b/utils/meta3d-pipeline-webgl1-three-utils/src/CreateDefaultSceneJobUtils.ts @@ -239,13 +239,13 @@ export let addDefaultGameObjects = (meta3dState: meta3dState, engineSceneService let cameraController1 = data1[1] let cameraGameObject1 = data1[2] - let data2 = _createArcballCameraGameObject(meta3dState, engineSceneService, - "Arcball Camera2", - 20 - ) - meta3dState = data2[0] - // let cameraController2 = data2[1] - // let cameraGameObject2 = data2[2] + // let data2 = _createArcballCameraGameObject(meta3dState, engineSceneService, + // "Arcball Camera2", + // 20 + // ) + // meta3dState = data2[0] + // // let cameraController2 = data2[1] + // // let cameraGameObject2 = data2[2]