Skip to content

Releases: Wonder-Technology/Wonder-Editor

add inspector canvas, script component, asset bundle

02 Jun 01:12
Compare
Choose a tag to compare

add

  • add inspector canvas

can preview material,wdb asset in inspector canvas

  • add script component

    • add script event function
    • add script attribute
  • add asset bundle

  • add progress bar

  • add New Scene

Bug Fixes

  • asset: fix "remove folder asset": should remove folder's all children (79e3d37)
  • asset: fix "remove material asset":1.remove instead of dispose material->maps; 2.if material has no gameObjects, dispose material; (d81994f)
  • asset: fix remove texture asset: if texture has no materials, should dispose texture's engine data (c711c20)
  • asset: fix rename asset in inspector: if value not change, shouldn't warn (22eeb02)
  • asset: script attribute: sort entries show order; add check script event function/attribute jsObj str; (5185889)
  • console: fix "str.split error" bug: fix ConsoleBaseComponent->buildMultiLineStringComponent (272a8ba)
  • event: fix FloatInput,IntInput->drag over in pointer lock->movement (a085859)
  • event: fix init event job->chrome bug for getMovementDeltaWhenPointerLocked (d60b64f)
  • event: fix init event job->chrome bug for getMovementDeltaWhenPointerLocked: use skip(2) instead of skip(1) (6eb7a9d)
  • imgCanvas: fix bug: remove texture should redraw material snapshot and remove container gameObj (a51373c)
  • imgCanvas: use drawImage func instead of Js.object.type (4c94f56)
  • inspectorCanvas: fix texture cache: if change texture asset,clear its cache (c93df9f)
  • inspectorEngine: fix bug caused by 192843c (db62c89)
  • inspectorEngine: fix bug: stateData no state (8ea3542)
  • inspectorEngine: need fix bug (192843c)
  • publish: index.html: use contentLength instead of totalByteLength (201e5da)
  • resize: fix bug: enter editor; show material inspector; resize to big window; show blank area; (9995f8b)
  • ui: mouse over FloatInput/IntInput->drag zone should show move cursor (b0c4b57)
  • wdb: need jack fix bug (974710e)

Features

  • abUI: finish all asset bundle ui (2c24176)
  • ambientLight: add ambient light in inspector canvas (3c00512)
  • asset: add "remove script event function, script attribute asset" (119af1d)
  • asset: add script event function asset; add script attribute asset; (2e0facb)
  • asset: fix rename script attribute asset->attribute name: now update in all script components (fee5180)
  • asset: script attribute asset: add "update script attribute in all script components" logic (32d3785)
  • asset: script event function asset: add "update script event function in all script components" logic (fe76e2e)
  • asset-bundle: add "asset->load assetBundle" logic (51fba9d)
  • asset-bundle: add "generate all ab" draft logic(pass compile) (e3876ab)
  • asset-bundle: add "generate single sab" (5d6a4cf)
  • asset-bundle: add geo.png (ec60c07)
  • asset-bundle: add HeaderAssetBundle->"generate single rab" related ui (150ca0c)
  • asset-bundle: add SelectTree ui draft (63fb0b1)
  • asset-bundle: asset tree->add assetBundle node (f0f289c)
  • asset-bundle: begin "import ab at runtime when run": rewrite script api for asset bundle (594684b)
  • asset-bundle: export/import wpk add asset bundle (6310e5f)
  • asset-bundle: finish "build select tree from asset tree for generate single rab" (75c226b)
  • asset-bundle: finish "generateAndDownloadSingleRAB" logic (c973ebf)
  • asset-bundle: fix generate single rab: added light material shouldn't add to basic material resource data (b149ac7)
  • asset-bundle: fix HeaderAssetBundleGenerateAllAB: change generate-single-sab to generate-all-ab (cf32db3)
  • asset-bundle: fix modal: click close button shouldn't generate single ab (a179227)
  • asset-bundle: header->"generate single rab" add "name" input (2c34074)
  • asset-bundle: publish local: write asset bundle to zip (5e45104)
  • asset-bundle: support load "asset bundle zip" to asset (72b90e6)
  • assetCanvas: finish asset canvas demo (7cf4536)
  • camera: fix scene view->edit camera: fix point scale (bcf22bc)
  • controller: add "exec script event functions when run" logic (a676fef)
  • engine: update wonder.js to 1.0.2 (15da515)
  • engine: update wonder.js to 1.1.0 (dda7c6b)
  • engine: update wonder.js version (50402dd)
  • engine: update wonder.js version (bcf12f1)
  • engine: update wonder.js version (238649c)
  • engine: update wonder.js version (f7e1eab)
  • engine: update wonder.js version (b429bce)
  • engine: update wonder.js, wonder-webgl version (9d41c84)
  • export: export mateial snapshot (10fda6d)
  • header: add "New Scene" (eb5d73a)
  • header: fix "New Scene": should operate in stop (5792121)
  • header: fix "NewScene": should clear current scene tree node before exec update_transform_gizmos job (b65da2f)
  • imgCanvas: create import wdb/gltf file material snapshot (1c75f35)
  • imgCanvas: finish remove material should remove it's imageData from imageDataMap (76c648a)
  • imgCanvas: finish TODOs (98e2bb6)
  • imgCanvas: fix "create material/wdb snapshot": now clear img canvas before draw (245be64)
  • imgCanvas: fix AssetTreeInspectorUtils->disposeContainerGameObjectAllChildrenAndReallocateCPUMemory->_reallocateCPUMemory: add condition judge (90e4a49)
  • imgCanvas: store img-canvas context in editorState (2b71dfc)
  • imgui: fix scene view imgui: if SceneViewIMGUIUtils->convertWorldToScreen return None, return (-100, -100) ([a6a1...
Read more

support language:en and zh

16 Mar 12:59
Compare
Choose a tag to compare

Features

  • engine: update wonder.js to 1.0.2 (aa4ace3)
  • language: add arcball camera and light language (4ebe5d4)
  • language: add asset and inspector language (9ef009d)
  • language: add camera group language (4fb0700)
  • language: change header-edit->zh (9d9eb51)
  • language: finish header and controller language (2f49251)
  • language: fix language data (836aaf6)
  • language: restore DomHelper->locationReload to use reload (6fc6ee4)

release 1.0.1

13 Mar 13:44
Compare
Choose a tag to compare

Bug Fixes

  • package: fix "import package": now clear imageData map when dispose assets (6fcab64)

Features

  • pwa: finish pwa update data (04a2320)
  • rename: rename gameObject name, should can be set "" (e399371)
  • sceneTree: add sceneTree node icon (e3eef18)

release 1.0.0 !

11 Mar 00:01
Compare
Choose a tag to compare

Bug Fixes

  • hotkey: fix "if event target is scene view, ctrl+d not clone!" bug (6c734f3)
  • inspector: fix "remove geometry component": remove instead of dispose geometry (c108770)
  • left-header: fix clone->test clone gameObject whose children has light component (b7a3470)
  • ui: fix "asset tree":if node->children has no folder node, not show arrow (54a5acf)
  • fix welcome and version upgrade modal (554cdd8)
  • pwa: fix "add to homescreen"->icon 404 (6599269)

Features

  • appShell: add appShell (6134a9a)
  • engine: update wonder.js to 1.0.0 (c4955d5)
  • engine: update wonder.js version (cf59389)
  • focus: increase gameObject which has no geometry->wheel speed (76cdcac)
  • focus: increase wheel speed (409fb60)
  • img: preload imgs, code in this (19927a6)
  • publish: update engine files (f3e749b)
  • ui: main button add title (784c2ad)
  • welcome and version upgrade modal now use english (803177e)

Performance Improvements

enter rc

05 Mar 03:08
Compare
Choose a tag to compare
  • test windows->chrome,360,qq browser

Bug Fixes

  • asset: fix "load texture asset": now set format (73397e5)
  • package: fix "dispose renderGroup component before export and import package cause check error" bug (f5abd59)
  • package: fix "material assets after import" bug (5c6fec4)

Features

  • commit dist/index.js, public/css/index.css; remove index.min.css (f4d1e77)
  • asset: texture asset: support load jpeg (c0b019c)
  • engine: update wonder.js to 1.0.0-rc.1 (a1cdedb)
  • engine: update wonder.js version (aa87847)
  • focus: set edit camera->arcball move and wheel speed (a8192ca)
  • publish: update engine files (48d21e3)

release 1.0.0-beta.3.1

03 Mar 23:27
Compare
Choose a tag to compare

Features

  • pwa: update service-worker.js->cacheName (161a5f3)

improve workflow; add pwa;

03 Mar 13:51
Compare
Choose a tag to compare

add

  • add pwa
    offline cache
    add to home screen

  • add welcome and version upgrade modal

  • add transform gizmo hotkey

edit

  • improve workflow
    update bs-platform to 4.0.18
    update reaon-react,react

Bug Fixes

  • scene-view: fix "rotation gizmo"->rotate on axis bug (120257d)

Features

  • engine: update wonder.js to 1.0.0-beta.3 (4c0816f)
  • engine: update wonder.js version (84eba2a)
  • engine: update wonder.js version (9a2a890)
  • header: add header notice component, notice welcome user and version upgrade (ae66c64)
  • hotkey: add transform hotkeys (2cbf4bb)
  • hotkey: delete now can remove asset (05c98b5)
  • hotkey: fix asset header->remove caused by 05c98b5 (0d5fba1)
  • modal: add welcome user modal (77a6605)
  • publish: update engine files (1b7c679)
  • pwa: add pwa service worker and homescreen (bb2ed89)
  • pwa: add pwa service worker and homescreen (7bb4825)
  • pwa: fix manifest.json-worker.js->start_url (2749203)
  • pwa: fix service-worker.js->filesToCache (8d97aca)
  • pwa: update service-worker.js->filesToCache (6ece121)
  • pwa: update service-worker.js->filesToCache (ecfed72)
  • update bs-platform to 4.0.18 (69434c9)
  • update jest to 24.1.0 (71b13fe)
  • update react to 16.8.3 (427a7dc)

Performance Improvements

  • css: compress css (d5fcdcd)
  • imgui: now load small font fnt,png (c2c2b07)

fix bugs; add ue features;

26 Feb 01:48
Compare
Choose a tag to compare

add

  • add x/y scroll for scene tree node
  • add focus
  • add picking->isRoot

edit

  • format console

Bug Fixes

  • asset: fix "drag texture to be material asset->map->refresh inspector" bug (refer to #44beeb) (fe3fe5b)
  • asset: fix "drag texture to be material asset->map" bug (61bfc2c)
  • asset: fix "rename asset": if rename to the existed name in the same dir, should fail (c360aa6)
  • camera: if blur/drag drop camera controller->distance/minDistance, should refresh transform (2500231)
  • camera: if change arcballCameraController's gameObject's parent, should update the component (c9fa3a8)
  • camera: when move game view->arcball camera, should update inspector->rotation (5eac3ad)
  • console: should only show 99 messages at max (77daf60)
  • controller: if view size changed when run, should resize screen when stop (810f49e)
  • dragWdb: fix drag wdb before/after scene gameObject, throw error (d12342b)
  • event: throw error shouldn't unbind event (c134151)
  • left-header: fix "clone gameObject": add "check light count before clone" (1b0a997)
  • left-header: fix "dispose gameObject shouldn't dispose gameObject->material component" (4eab2f6)
  • left-header: fix "dispose gameObject" bug: dispose gameObject shouldn't cause update_transform_gizmos job error (ab2bd61)
  • lightMaterial: now should re-init all light material components(include material assets which type is lightMaterial) if light change (18117c7)
  • picking: fix "import package"->pick bug (1a377cc)
  • redo-undo: change textureInspector->wrap,filter should add to redo-undo (db459eb)
  • redo-undo: fix redo-undo->rotation: transform inspector ui->rotation should undo (dfcd287)
  • redo-undo: now drag drop FloatInput->label should add to undo stack (5bfc35f)
  • fix "clone gameObject" and "drag wdb" bug refer to #ab2bd6 (37fceb9), closes #ab2bd6
  • scene-tree: fix "drag scene-tree->gameObject": now refresh engine state (7e1d670)
  • scene-view: if current scene tree node has arcballCameraController component, not render gizmo (7eeb4f1)
  • scroll: fix bug scroll sceneTree, not move scroll bar (3790b27)
  • scroll: re-calc scroll top and scroll left value (11b989d)
  • scroll: re-calc scroll top and scroll left value (2d8c05a)
  • scroll: re-calc scroll top and scroll left value (836f9fc)
  • ui: fix Header->Controls: now show focus (a3321c5)

Features

  • camera: fix floatInput->drag mouse to select value to label; shouldn't cancel select! (2d0d3bf)
  • camera: inspector->arcballCameraController add "phi", "theta" field (991c460)
  • camera: inspector->arcballCameraController add "target" field (61effea)
  • camera: now blur inspector->arcballCameraController->field not refresh inspector! (eb04161)
  • console: asset node/scene tree node->"check relation when drag drop" not not error (10ee2c5)
  • console: now format message (a4e2679)
  • controls: add Header->File->Controls to show shortcut keys (672e115)
  • engine: update wonder.js version (a8b4657)
  • engine: update wonder.js version to 1.0.0-beta.2 (f203874)
  • event: arcball camera controller->keydown: if is combined key, not set target (46a2a94)
  • event: mousewheel now set target (bbebdaa)
  • focus: add focus hotkey (52a4d33)
  • focus: calc focus distance with geometry (9938c58)
  • focus: calc focus distance with geometry (4811419)
  • focus: finish add hotKey "f" to set camera focus target gameObject (7078ea1)
  • focus: finish focus scene gameObject and scene children (1677157)
  • focus: fix currentSceneTreeNode and its all children has no geometry component (30d534b)
  • focus: fix currentSceneTreeNode and its all children has no geometry component (c1b980d)
  • focus: now calc currentSceneTreeNode's all children and its self->aabb (5e96641)
  • focus: now distance not affected by scale (8af3e39)
  • focus: now distance not affected by scale (5d6c5e6)
  • focus: now distance not affected by scale (c476be3)
  • isRoot: export package/publish local mark scene gameObject->isRoot to false;export scene mark it to true; (c2a29f3)
  • picking: add "pick the same one multiple times to pick the next root gameObject" logic (bc1a73b)
  • picking: find top parent gameObject which is root (72ff774)
  • publish: update engine files (de7f675)
  • scene-tree: scene should be common gameObject after import package; change scene gameObject->name from "scene" to "Scene" after import package (7ea5315), closes #a6466
  • scene-tree: scene should be common gameObject(e.g. can add component) (a646618)
  • scrollSceneTree: calc scroll scene tree x axis (fdbfddb)
  • scrollSceneTree: calc scroll scene tree y axis (5774ba6)
  • ui: console:should show clear button when not debug (6395b60)
  • ui: now click select material/geometry name can show group (c1c8764)
  • ui: the draged tree node to other one don't to be current tree node (50f493d)

release wonder v1.0.0-beta.1

14 Feb 10:04
Compare
Choose a tag to compare
chore(release): v1.0.0-beta.1

rewrite asset tree;add hotkey;add picking;show outline;add transform gizmo;

14 Feb 09:43
Compare
Choose a tag to compare

add

  • add picking

  • show outline of the picking one

  • add translation,rotation,scale gizmo

  • add hotkey

  • support drag scene tree node to be brother

  • add clone gameObject

edit

  • rewrite asset tree by recursive type

Bug Fixes

  • asset: fix "drag asset to scene tree" (6e91ac0)
  • asset: fix DragEventBaseUtils->_isTreeNodeRelationValid (ebba42f)
  • event: fix MainEditor->bind custom event->handle func (ff3f2ad)
  • gulp: fix gulpfile.js->changeSnapshotPath (b2fcd55)
  • left-header: fix "dispose gameObject":now not refresh engine state after disposeCurrentSceneTreeNode (a8b70f5)
  • sceneTree: fix scene tree node draggable attribute | rename store -> uiState | extract UIStateS (27f65f2)
  • transform: fix TransformEngineService->getLocalToWorldMatrixTypeArray (9f40a1d)
  • transform: inspector->transform->scale: value can't be 0; (69222f5)
  • ui: fix Controller.re:now user dispatch instead send state (b11a3ae)

Features

  • camera: "arcball camera controller" now bind "point drag start", "point drag drop" event (b88e485)
  • camera: scene view->arcballCameraController add keydown event (2401135)
  • clone: finish clone gameObject into its parent | finish clone gameObject test (036c411)
  • drag: finish drag into gameObject after or before or into gameObject (35ba6ed)
  • drag: finish drag wdb into sceneTree feature (98554f0)
  • engine: fix TransformEngineService->changeChildOrder (6ca57a2)
  • engine: rename "indices" to "indices16";use abstract indices; (518a2b1)
  • engine: transformEngineService add "changeChildOrder" (e52e2dc)
  • engine: transformEngineService add "changeChildOrder" (5e5cc0a)
  • engine: TransformEngineService->changeChildOrder: add contract check (b40eff5)
  • engine: update wonder.js version (04e5910)
  • engine: update wonder.js version (3a9ac8f)
  • engine: update wonder.js version (39abfae)
  • engine: update wonder.js version (dab69fd)
  • engine: wonderjs->transformAPI->unsafeGetTransformParent should return transform instead of Js.Undefined (a7ac1e3)
  • event: add "drag start", "drag drop" event;rename "drag" event to "drag over" event; (86b506a)
  • event: fix "trigger arcball event to refresh inspector": now mouse wheel event should refresh inspector (50cf423)
  • event: now not each point event will trigger loopBody when stop;arcball now not bind keydown event; (4a281e3)
  • event: separate mouse button of pick and controller arcball (dcdfaa1)
  • hashMapService: use MutableHashMapService (b13c4ab)
  • hotKey: bind hotKeys from setting.json (cb5c109)
  • hotKeys: add init_hotkeys job in the engine init_jobs.json (5900c50)
  • material: add UpdateAction in HideMaterialGroup action (8306319)
  • picking: add "intersect with mesh" logic and pass run test (755a20b)
  • picking: add "pick imgui gameObject" (cb6c0ec)
  • picking: add GeometryLogicService->setGeometryPoints to remove sphere shape data from editorState (dfd9593)
  • picking: add outline(pass compile and run test) (7675b95)
  • picking: add picking logic(pass compile) (d5b316b)
  • picking: add redo-undo (d792b55)
  • picking: change trigger pick event from pointdown to pointtap (dd10f12)
  • picking: fix "find top one of picked ones" (a2b0b3b)
  • picking: fix "intersect with sphere"->SphereShapeUtils: use applyMatrix4 instead of setFromTranslationAndScale (b4a5478)
  • picking: fix "intersect with triangle->intersected point" bug (d88ddb1)
  • picking: fix and test "select scene tree node"->"refresh sceneTree and inspector" logic (e6bc5c4)
  • picking: fix: if select any transform gameObject when pointtap, not handle pick (14defe3)
  • picking: now "drag drop rotation gizmo" will not trigger pick (60d002e)
  • picking: now can pick the geometry which has indices32 data (76771b2)
  • picking: should set the whole one of the finded one to current scene tree node (6206098)
  • picking: support pick nothing (c797550)
  • picking: use sphere instead of aabb (6778ed6)
  • ray: fix RayUtils->checkIntersectPlane->distanceToPlane (d191a51)
  • redo-undo: "drag translation gzimo drop" add to undo stack (92660cc)
  • redo-undo: "rotation gizmo" add redo-undo (9ddf272)
  • redo-undo: add "scale gizmo" redo-undo (eb36038)
  • redo-undo: picking: if "not pick" multiple times continuously, only push to stack once (106d676)
  • redo-undo: picking: if "pick the same gameObject" multiple times continuously, only push to stack once (5710664)
  • redo-undo: picking: if not undo any ui state before, undo should still work (6591aa4)
  • refactor: refactor LeftHeaderCloneGameObjectEventHandler (8d13020)
  • scene-tree: fix "drag gameObject" bug (2f3fef6)
  • scene-tree: remove scene graph data from store(remove sceneTreeState); add isShowChildrenMap to editorState->sceneRecord; (cfd5159)
  • scene-view: "rotation gizmo" add "limit unuse circle gizmo" logic (cdbe203)
  • scene-view: "rotation gizmo": add update transform logic (a1ec234)
  • scene-view: "rotation gizmo": decrease alphaForUnUsedGizmo (5685753)
  • scene-view: "rotation gizmo": now xz, yz circle can work (a12c77b)
  • scene-view: "scale gizmo": add "select axis/center box"; add "drag axis/center box"; (2b0b8f5)
  • scene-view: "transform gizmo": add "switch world coordinate system" ui (fba343d)
  • scene-view: "transform gizmo": s...
Read more