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

feat/add AnimatorState script for handle animatorState's lifecycle #552

Merged
merged 47 commits into from
Oct 29, 2021

Conversation

luzhuang
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

luzhuang and others added 24 commits September 2, 2021 16:19
* feat: solve math design cirular dependency
* feat: add rotateAxisAngle for Quaternion
* perf: release viewport gpu command

* perf: release clearColor gpu command
* fix: reset clipTime
* fix: animator bug
Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
@luzhuang luzhuang changed the title Feat/add AnimatorState script for handle animatorState's lifecycle feat/add AnimatorState script for handle animatorState's lifecycle Oct 26, 2021
Copy link
Contributor Author

@luzhuang luzhuang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

Copy link
Member

@GuoLei1990 GuoLei1990 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@GuoLei1990 GuoLei1990 merged commit a6d1f11 into galacean:dev/0.6 Oct 29, 2021
Animation System automation moved this from In progress to Done Oct 29, 2021
@GuoLei1990 GuoLei1990 linked an issue Oct 29, 2021 that may be closed by this pull request
GuoLei1990 added a commit that referenced this pull request Nov 10, 2021
* feat: solve math design circular dependency (#488)

* feat: solve math design cirular dependency

* PhysX based raycast and collider (#505)

* feat: add physx version raycast and trigger
* feat: add  trigger event in script

* feat: Add InputManager (#497)

* feat:  add InputManager

* Fix InputManager's Bug which will be triggered when there is no physics engine. (#524)

* fix:InputManager modify timing

* Lite Physics Package (#522)

* feat: add physics lite package

* Refactor: split pbr shader  (#514)

* refactor: pbr shader clean up

* feat: add createCapsule in PrimitiveMesh (#515)

* feat: add createCapsule in PrimitiveMesh

* Feat: support read/write mipmap data from textures and render target (#382)

* feat: support render to mip level

* feat: support reading from texture with mip level

* Feat: hdr runtime (#523)

* feat: support IBL  HDR Specular

* perf: plane horizontal default (#535)

* perf(plane): plane horizontal default

* fix(plane): fix cull face (#537)

* fix(plane): fix uv error (#538)

* feat: add more uv channel and color (#548)

* Feat: Sprite add clone function. (#532)

* feat: sprite add clone function

* Add color space (#543)

* feat: add engine settings

* fix: opt code (#519)

* feat: modify physics-related class for editor (#547)

* feat: modify physics-related class for editor

* Merge main to dev/0.6 (#553)

* refactor: merge main to dev/0.6

* fix: bump verison (#557)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* fix: shader error (#556)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* feat/add AnimatorState script for handle animatorState's lifecycle (#552)

* feat: add `StateMachineScript`

* feat: support skybox with hdr(rgbe) format (#567)

* feat: add rgbm decode mode

* fix: color space correction (#566)

* fix: color space correction

* fix: bump version (#568)

* feat: change clipTime to normalized as same as  transitionTime for mo… (#560)

* feat: change clipTime to normalized as same as  transitionTime for more understandable

* feat: add method: addEvent overload (#559)

* feat: support ambient-light replacement (#569)

* feat: support ambient-light replacement

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: GuoLei <gl3336563@163.com>

* Feat/ambient light adapter editor (#570)

* feat: adapter oasis editor with ambient light

* feat: add getCurrentAnimatorState API and fix crossfade time (#565)

* fix: use alipay cdn for physx wasm (#571)

* add wasm file (#572)

* fix: use alipay cdn for physx wasm

* fix: include wasm files

* Fix : the compatibility problem of IOS lower version (#573)

* fix: the compatibility problem of IOS lower version

Co-authored-by: yangfengzzz <yangfengzzz@hotmail.com>
Co-authored-by: AZhan <njktsmshh@163.com>
Co-authored-by: zhuxudong <callzhuxudong@163.com>
Co-authored-by: JujieX <67930474+JujieX@users.noreply.github.com>
Co-authored-by: singlecoder <singlecoder2014@gmail.com>
Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: luzhuang <364439895@qq.com>
GuoLei1990 added a commit that referenced this pull request Nov 11, 2021
* feat: solve math design circular dependency (#485)

* feat: solve math design cirular dependency

* Revert "feat: solve math design circular dependency (#485)" (#487)

This reverts commit df25f03.

* feat: add rotateAxisAngle for Quaternion (#480)

* feat: add rotateAxisAngle for Quaternion

* refactor: delete useless scene raycast (#493)

* fix: group other uniform block (#504)

* fix(primitivemesh): fix cylinder error (#526)

* Perf: release gpu command (#503)

* perf: release viewport gpu command

* perf: release clearColor gpu command

* fix: reset clipTime (#530)

* fix: reset clipTime

* fix: use string replace asset type to extend easily (#520)

* Fix/animator (#531)

* fix: animator bug

* Update README.md

* Fix: cubic interpolation and crossfade bug: From fixed pose to dest pose, throw error. (#534)

* fix: Animator bug

* v0.5.3

* v0.5.4

* v0.5.5

* v0.5.6

* fix(2d): opt shader precision (#542)

* fix: delete default gl state (#550)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* fix(gl): fix gl error (#555)

* v0.5.7

* Fix Call EndRender Error (#563)

* fix: onEndRender trigger error

* feat: support skybox with hdr(rgbe) format (#567)

* feat: add rgbm decode mode

* fix: color space correction (#566)

* fix: color space correction

* fix: bump version (#568)

* feat: change clipTime to normalized as same as  transitionTime for mo… (#560)

* feat: change clipTime to normalized as same as  transitionTime for more understandable

* Update README.md

* Update README.md

* Update README.md

* feat: add method: addEvent overload (#559)

* feat: support ambient-light replacement (#569)

* feat: support ambient-light replacement

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: GuoLei <gl3336563@163.com>

* Feat/ambient light adapter editor (#570)

* feat: adapter oasis editor with ambient light

* feat: add getCurrentAnimatorState API and fix crossfade time (#565)

* fix: use alipay cdn for physx wasm (#571)

* add wasm file (#572)

* fix: use alipay cdn for physx wasm

* fix: include wasm files

* Fix : the compatibility problem of IOS lower version (#573)

* fix: the compatibility problem of IOS lower version

* Merge dev/0.6 branch (#574)

* feat: solve math design circular dependency (#488)

* feat: solve math design cirular dependency

* PhysX based raycast and collider (#505)

* feat: add physx version raycast and trigger
* feat: add  trigger event in script

* feat: Add InputManager (#497)

* feat:  add InputManager

* Fix InputManager's Bug which will be triggered when there is no physics engine. (#524)

* fix:InputManager modify timing

* Lite Physics Package (#522)

* feat: add physics lite package

* Refactor: split pbr shader  (#514)

* refactor: pbr shader clean up

* feat: add createCapsule in PrimitiveMesh (#515)

* feat: add createCapsule in PrimitiveMesh

* Feat: support read/write mipmap data from textures and render target (#382)

* feat: support render to mip level

* feat: support reading from texture with mip level

* Feat: hdr runtime (#523)

* feat: support IBL  HDR Specular

* perf: plane horizontal default (#535)

* perf(plane): plane horizontal default

* fix(plane): fix cull face (#537)

* fix(plane): fix uv error (#538)

* feat: add more uv channel and color (#548)

* Feat: Sprite add clone function. (#532)

* feat: sprite add clone function

* Add color space (#543)

* feat: add engine settings

* fix: opt code (#519)

* feat: modify physics-related class for editor (#547)

* feat: modify physics-related class for editor

* Merge main to dev/0.6 (#553)

* refactor: merge main to dev/0.6

* fix: bump verison (#557)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* fix: shader error (#556)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* feat/add AnimatorState script for handle animatorState's lifecycle (#552)

* feat: add `StateMachineScript`

* feat: support skybox with hdr(rgbe) format (#567)

* feat: add rgbm decode mode

* fix: color space correction (#566)

* fix: color space correction

* fix: bump version (#568)

* feat: change clipTime to normalized as same as  transitionTime for mo… (#560)

* feat: change clipTime to normalized as same as  transitionTime for more understandable

* feat: add method: addEvent overload (#559)

* feat: support ambient-light replacement (#569)

* feat: support ambient-light replacement

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: GuoLei <gl3336563@163.com>

* Feat/ambient light adapter editor (#570)

* feat: adapter oasis editor with ambient light

* feat: add getCurrentAnimatorState API and fix crossfade time (#565)

* fix: use alipay cdn for physx wasm (#571)

* add wasm file (#572)

* fix: use alipay cdn for physx wasm

* fix: include wasm files

* Fix : the compatibility problem of IOS lower version (#573)

* fix: the compatibility problem of IOS lower version

Co-authored-by: yangfengzzz <yangfengzzz@hotmail.com>
Co-authored-by: AZhan <njktsmshh@163.com>
Co-authored-by: zhuxudong <callzhuxudong@163.com>
Co-authored-by: JujieX <67930474+JujieX@users.noreply.github.com>
Co-authored-by: singlecoder <singlecoder2014@gmail.com>
Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: luzhuang <364439895@qq.com>

* v0.6.0-alpha.0

* refactor: fix physics package.json

* refactor: fix physics package.json (#575)

* v0.6.0-alpha.1

Co-authored-by: yangfengzzz <yangfengzzz@hotmail.com>
Co-authored-by: JujieX <67930474+JujieX@users.noreply.github.com>
Co-authored-by: Hu Song <gz65555@gmail.com>
Co-authored-by: zhuxudong <callzhuxudong@163.com>
Co-authored-by: singlecoder <singlecoder2014@gmail.com>
Co-authored-by: luzhuang <364439895@qq.com>
Co-authored-by: Bob <768442443@qq.com>
Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: AZhan <njktsmshh@163.com>
gz65555 added a commit that referenced this pull request Jun 10, 2022
* Add color space (#543)

* feat: add engine settings

* fix: opt code (#519)

* feat: modify physics-related class for editor (#547)

* feat: modify physics-related class for editor

* Merge main to dev/0.6 (#553)

* refactor: merge main to dev/0.6

* fix(gl): fix gl error (#555)

* v0.5.7

* fix: bump verison (#557)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* fix: shader error (#556)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* feat/add AnimatorState script for handle animatorState's lifecycle (#552)

* feat: add `StateMachineScript`

* fix: onEndRender trigger error

* Fix Call EndRender Error (#563)

* fix: onEndRender trigger error

* feat: support skybox with hdr(rgbe) format (#567)

* feat: add rgbm decode mode

* fix: color space correction (#566)

* fix: color space correction

* fix: bump version (#568)

* feat: change clipTime to normalized as same as  transitionTime for mo… (#560)

* feat: change clipTime to normalized as same as  transitionTime for more understandable

* Update README.md

* Update README.md

* Update README.md

* feat: add method: addEvent overload (#559)

* feat: support ambient-light replacement (#569)

* feat: support ambient-light replacement

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: GuoLei <gl3336563@163.com>

* Feat/ambient light adapter editor (#570)

* feat: adapter oasis editor with ambient light

* feat: add getCurrentAnimatorState API and fix crossfade time (#565)

* fix: use alipay cdn for physx wasm (#571)

* add wasm file (#572)

* fix: use alipay cdn for physx wasm

* fix: include wasm files

* Fix : the compatibility problem of IOS lower version (#573)

* fix: the compatibility problem of IOS lower version

* Merge dev/0.6 branch (#574)

* feat: solve math design circular dependency (#488)

* feat: solve math design cirular dependency

* PhysX based raycast and collider (#505)

* feat: add physx version raycast and trigger
* feat: add  trigger event in script

* feat: Add InputManager (#497)

* feat:  add InputManager

* Fix InputManager's Bug which will be triggered when there is no physics engine. (#524)

* fix:InputManager modify timing

* Lite Physics Package (#522)

* feat: add physics lite package

* Refactor: split pbr shader  (#514)

* refactor: pbr shader clean up

* feat: add createCapsule in PrimitiveMesh (#515)

* feat: add createCapsule in PrimitiveMesh

* Feat: support read/write mipmap data from textures and render target (#382)

* feat: support render to mip level

* feat: support reading from texture with mip level

* Feat: hdr runtime (#523)

* feat: support IBL  HDR Specular

* perf: plane horizontal default (#535)

* perf(plane): plane horizontal default

* fix(plane): fix cull face (#537)

* fix(plane): fix uv error (#538)

* feat: add more uv channel and color (#548)

* Feat: Sprite add clone function. (#532)

* feat: sprite add clone function

* Add color space (#543)

* feat: add engine settings

* fix: opt code (#519)

* feat: modify physics-related class for editor (#547)

* feat: modify physics-related class for editor

* Merge main to dev/0.6 (#553)

* refactor: merge main to dev/0.6

* fix: bump verison (#557)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* fix: shader error (#556)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* feat/add AnimatorState script for handle animatorState's lifecycle (#552)

* feat: add `StateMachineScript`

* feat: support skybox with hdr(rgbe) format (#567)

* feat: add rgbm decode mode

* fix: color space correction (#566)

* fix: color space correction

* fix: bump version (#568)

* feat: change clipTime to normalized as same as  transitionTime for mo… (#560)

* feat: change clipTime to normalized as same as  transitionTime for more understandable

* feat: add method: addEvent overload (#559)

* feat: support ambient-light replacement (#569)

* feat: support ambient-light replacement

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: GuoLei <gl3336563@163.com>

* Feat/ambient light adapter editor (#570)

* feat: adapter oasis editor with ambient light

* feat: add getCurrentAnimatorState API and fix crossfade time (#565)

* fix: use alipay cdn for physx wasm (#571)

* add wasm file (#572)

* fix: use alipay cdn for physx wasm

* fix: include wasm files

* Fix : the compatibility problem of IOS lower version (#573)

* fix: the compatibility problem of IOS lower version

Co-authored-by: yangfengzzz <yangfengzzz@hotmail.com>
Co-authored-by: AZhan <njktsmshh@163.com>
Co-authored-by: zhuxudong <callzhuxudong@163.com>
Co-authored-by: JujieX <67930474+JujieX@users.noreply.github.com>
Co-authored-by: singlecoder <singlecoder2014@gmail.com>
Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: luzhuang <364439895@qq.com>

* v0.6.0-alpha.0

* refactor: fix physics package.json

* refactor: fix physics package.json (#575)

* v0.6.0-alpha.1

* feat: support env loader (#577)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* fix: fix physcis update time and dynamic collider update (#578)

* feat: support env loader (#577) (#580)

* Feat/animator reset (#533)

* feat: add animator reset

* Merge latest dev/0.6 (#581)

* feat: support env loader (#577)
* feat: add animator reset

* feat: adapter env (#582)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* feat: add rgbm switch (#584)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* Feat/animator reset (#583)

* fix: bug fix

* fix: remove ms blob deprecated

* build: update typescript version

* feat: update background mesh

* refactor: add gc ignore

* Fix Background UV Error and Update TypeScript Version (#585)

* fix: update background mesh

* v0.6.0-alpha.2

* v0.6.0-alpha.3

* fix: dependencies package version (#588)

* Fix: the bug that inputmanager cannot be obtained (#589)

* fix: the bug that inputmanager cannot be obtained

* fix: package.json (#591)

* fix: the bug that inputmanager cannot be obtained (#592)

* fix: the bug that inputmanager cannot be obtained

* v0.6.0

* v0.6.1

* build: physics use oasis-engine dependency

* Change Dependency for Physics (#594)


* build: physics use oasis-engine dependency

* v0.6.2

* fix: use canvas  as control precision (#601)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* v0.6.3

* fix: `worldToViewportPoint()` bug

* fix: `worldToViewportPoint()` bug (#603)

* fix: `screenToViewportPoint()` bug

* refactor: opt `viewportToWorldPoint` and `screenToWorldPoint`

* fix: comments

* fix: opt code

* refactor: opt code

* Merge branch 'main' of github.com:oasis-engine/engine

* refactor: opt code

* fix: raycast bug, global and local transform misused (#602)

* fix: set trilinear filter mode by default (#610)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* fix: add  transparent channel (#611)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* fix: front face bug

* refactor: fix code

* optimization viewportToWorldPoint and screenToWorldPoint (#604)

* fix: `worldToViewportPoint()` bug

* fix: `screenToViewportPoint()` bug

* refactor: opt `viewportToWorldPoint` and `screenToWorldPoint`

* fix: front face bug

* bump version

* bump version

* feat: add register and reflection object

* feat: add prefab parser

* Merge branch 'main' of github.com:oasis-engine/engine

* fix: front face bug

* Fix mesh render front face bug (#614)

* fix: front face bug

* fix: viewportToWorldPoint and worldToViewportPoint bug (#615)

* fix: `viewportToWorldPoint` and `worldToViewportPoint` bug and improve performance

* fix: resourceManager has't destory all cache

* Fix ResourceManager Has not Destoryed All Cache (#621)


* fix: resourceManager has't destory all cache

* Update README.md

chore: update links

* v0.6.4

* Fix asset destroy cache bug (#622)

* fix: glTF or Entity  destroy cache bug

* v0.6.5

* fix: cache promise is not clear

* Fix Loading Promise is not Clear (#623)

* fix: cache promise is not clear

* fix: entity cache bug

* refactor: add destroyed project

* fix: entity cache bug (#627)

* fix: entity cache bug

* v0.6.6

* refactor: delete deprecate code (#630)

* bump version

* feat: export prefabloader

* fix: dynamic explansion

* feat: add mipmap generate warn

* feat: add mipmap true

* feat: add pixel buffer

* fix: normal attributer is need in unlit (#637)

* fix: normal attributer is need in unlit

* fix: physx bug (#651)

* fix: physx bug

* fix: opt collider shape scale

* v0.6.7

* fix: get pixel buffer use mip level should right shift (#656)

Co-authored-by: gz65555 <kevin.hs@antgroup.com>

* Update AnimatorState.ts (#657)

fix: fix comment

* Rename `ability` to `component`. (#608)

* fix: resize max uniform vector count (#660)

* fix: resize max uniform vector count

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* Optimize the use of `Transform` API (#638)

* refactor: opt transform API

* fix(2d): can not update world position for sprite renderer when call … (#635)

* fix(2d): can not update wrold position for sprite renderer when call bounds in the same frame

* Merge latest main to dev/0.6 (#672)

* fix: normal attributer is need in unlit (#637)

* fix: normal attributer is need in unlit

* fix: physx bug (#651)

* fix: physx bug

* fix: opt collider shape scale

* v0.6.7

* fix: get pixel buffer use mip level should right shift (#656)

Co-authored-by: gz65555 <kevin.hs@antgroup.com>

* Update AnimatorState.ts (#657)

fix: fix comment

* Rename `ability` to `component`. (#608)

* fix: resize max uniform vector count (#660)

* fix: resize max uniform vector count

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* fix(2d): can not update world position for sprite renderer when call … (#635)

* fix(2d): can not update wrold position for sprite renderer when call bounds in the same frame

Co-authored-by: zhuxudong <callzhuxudong@163.com>
Co-authored-by: yangfengzzz <yangfengzzz@hotmail.com>
Co-authored-by: Hu Song <gz65555@gmail.com>
Co-authored-by: gz65555 <kevin.hs@antgroup.com>
Co-authored-by: luzhuang <364439895@qq.com>
Co-authored-by: Bob <768442443@qq.com>
Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: singlecoder <singlecoder2014@gmail.com>

* fix: trigger event update (#673)

* fix: trigger event update

* refactor: remove Promise.finally (#671)

* refactor: remove Promise.finally

Co-authored-by: lizhigao <lizhigao@021.com>

* fix: ignore scale (#670)

* fix: camera ignore scale

* fix: use linear color space in gltf (#674)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* Fix Background Draw (#675)

Co-authored-by: gz65555 <kevin.hs@antgroup.com>

* Fix transform bug (#678)

* fix: transform

* Fix: ModelMesh._indicesChangeFlag (#685)


* Fix: ModelMesh._indicesChangeFlag

* feat: non-trigger script and dynamic collider (#680)

* feat: non-trigger script and dynamic collider

* fix: break texcoor to avoid `_vertexSlotChanged` error (#684)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* v0.6.8

* fix: rotation not normalized bug (#693)

* Offscreen canvas requires no input interaction. (#689)

* fix:InputManager when use OffScreenCanvas

* fix: scene romove entity bug (#698)

* feat: keyboardevent (#677)

* feat: keyboardevent

* fix: position is deleted from entity (#699)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* feat: physics fix-time update (#700)

* feat: fix-time physics update

* feat: add physicsUpdate in Script

* Optimize: Optimize the lookat function of transform. (#701)

* fix:transform lookat

* fix: transoform `rotate` bug when `relativeToLocal` is true (#702)

* fix: wordRotationQuatenion bug (#703)

* Feat:The first version of text system (#686)

* feat(text): init TextRenderer

* fix: fix text renderer clone error (#716)

* fix(text): fix text renderer clone error

* Optimization texture structure (#715)

* feat: opt texture struct

* fix: script destroy bug (#720)

* fix: script destroy bug

* fix: make free control not depend on scene (#724)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* Feat: support multi-uv and occlusion texture coordinate (#683)

* feat: support multi uv and occlusion texture coord

* Optimization physics init (#722)

* refactor: opt physics int

* fix: physics update order and destroy method (#727)

* feat: update engine version

* fix: physcis event remove when collider shape destroy (#738)

* fix: physcis event remove when collider shape destroy

* feat: add type watch

* feat: init all project

* build: remove init oasis

* physics test (#742)

* Fix RenderTaget type problem (#741)

* Test: text system (#740)

* feat(text): test for text renderer

* Fix unit test and compile bug (#746)

* fix: component unit test

* test: test for text renderer (#745)

* feat(text): fix test for text renderer

* FloatTexture version Blendshape  (#737)

* feat: add texture-2d-array and rename TextureCubeMap to TextureCube

* feat: opt blendshape animation and improve attribute version

* Opt ModelMesh code (#739)

* refactor: opt `ModelMesh` code

* refactor: opt code

* refactor: opt code (#747)

* refactor: use modelmesh encode buffer

* Feat: support load hdr to cubemap in RGBM format and invert x axis (#733)

* feat: add HDR loader

* Feat: support pbr clearcoat (#669)

* feat: support clearcoat

* feat: support  Specular  AA

* feat: animator play backwards (#730)

* feat: animator play backwward

* fix: constrain min shininess  to `1e-4` (#749)

* fix: constrain min shininess  to `1e-4`

* Add a ts-ignore (#679)

* types: add ts-ignore to XMLHttpRequestBodyInit because typedoc does not know it

* refactor: fix code

* refactor: opt code

* Merge latest `main` to `dev/0.7` (#751)

* refactor: merge latest `main` to `dev/0.7

* feat: update wasm version (#753)

* refactor:opt code

* Merge `dev/0.7` to `main` (#754)

* refactor: delete deprecate code (#630)

* Optimize the use of `Transform` API (#638)

* refactor: opt transform API

* Merge latest main to dev/0.6 (#672)

* fix: normal attributer is need in unlit (#637)

* fix: normal attributer is need in unlit

* fix: physx bug (#651)

* fix: physx bug

* fix: opt collider shape scale

* v0.6.7

* fix: get pixel buffer use mip level should right shift (#656)

Co-authored-by: gz65555 <kevin.hs@antgroup.com>

* Update AnimatorState.ts (#657)

fix: fix comment

* Rename `ability` to `component`. (#608)

* fix: resize max uniform vector count (#660)

* fix: resize max uniform vector count

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* fix(2d): can not update world position for sprite renderer when call … (#635)

* fix(2d): can not update wrold position for sprite renderer when call bounds in the same frame

Co-authored-by: zhuxudong <callzhuxudong@163.com>
Co-authored-by: yangfengzzz <yangfengzzz@hotmail.com>
Co-authored-by: Hu Song <gz65555@gmail.com>
Co-authored-by: gz65555 <kevin.hs@antgroup.com>
Co-authored-by: luzhuang <364439895@qq.com>
Co-authored-by: Bob <768442443@qq.com>
Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: singlecoder <singlecoder2014@gmail.com>

* fix: trigger event update (#673)

* fix: trigger event update

* fix: ignore scale (#670)

* fix: camera ignore scale

* Fix transform bug (#678)

* fix: transform

* Fix: ModelMesh._indicesChangeFlag (#685)


* Fix: ModelMesh._indicesChangeFlag

* feat: non-trigger script and dynamic collider (#680)

* feat: non-trigger script and dynamic collider

* fix: rotation not normalized bug (#693)

* Offscreen canvas requires no input interaction. (#689)

* fix:InputManager when use OffScreenCanvas

* feat: keyboardevent (#677)

* feat: keyboardevent

* feat: physics fix-time update (#700)

* feat: fix-time physics update

* feat: add physicsUpdate in Script

* Optimize: Optimize the lookat function of transform. (#701)

* fix:transform lookat

* fix: transoform `rotate` bug when `relativeToLocal` is true (#702)

* fix: wordRotationQuatenion bug (#703)

* Feat:The first version of text system (#686)

* feat(text): init TextRenderer

* fix: fix text renderer clone error (#716)

* fix(text): fix text renderer clone error

* Optimization texture structure (#715)

* feat: opt texture struct

* fix: script destroy bug (#720)

* fix: script destroy bug

* Feat: support multi-uv and occlusion texture coordinate (#683)

* feat: support multi uv and occlusion texture coord

* Optimization physics init (#722)

* refactor: opt physics int

* fix: physics update order and destroy method (#727)

* fix: physcis event remove when collider shape destroy (#738)

* fix: physcis event remove when collider shape destroy

* physics test (#742)

* Fix RenderTaget type problem (#741)

* Test: text system (#740)

* feat(text): test for text renderer

* Fix unit test and compile bug (#746)

* fix: component unit test

* test: test for text renderer (#745)

* feat(text): fix test for text renderer

* FloatTexture version Blendshape  (#737)

* feat: add texture-2d-array and rename TextureCubeMap to TextureCube

* feat: opt blendshape animation and improve attribute version

* Opt ModelMesh code (#739)

* refactor: opt `ModelMesh` code

* refactor: opt code

* refactor: opt code (#747)

* Feat: support load hdr to cubemap in RGBM format and invert x axis (#733)

* feat: add HDR loader

* Feat: support pbr clearcoat (#669)

* feat: support clearcoat

* feat: support  Specular  AA

* feat: animator play backwards (#730)

* feat: animator play backwward

* refactor: fix code

* refactor: opt code

* Merge latest `main` to `dev/0.7` (#751)

* refactor: merge latest `main` to `dev/0.7

* feat: update wasm version (#753)

* refactor:opt code

Co-authored-by: zhuxudong <callzhuxudong@163.com>
Co-authored-by: yangfengzzz <yangfengzzz@hotmail.com>
Co-authored-by: Hu Song <gz65555@gmail.com>
Co-authored-by: gz65555 <kevin.hs@antgroup.com>
Co-authored-by: luzhuang <364439895@qq.com>
Co-authored-by: Bob <768442443@qq.com>
Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: singlecoder <singlecoder2014@gmail.com>
Co-authored-by: AZhan <njktsmshh@163.com>

* v0.7.0-beta.1

* Create release.yml

Add automatically generated release notes config file

* Update release.yml

* Update release.yml

* docs: update commit spec and change log config (#758)

* Update release.yml

* fix(animation): animator play error when blendShape count is 1 (#761)

* fix: animator play error when blendShape count is 1

* fix: lite box collider scale bug (#759)

* fix: lite box collider shape should scale the size of box instead use transform

* refactor: adapter to website (#764)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* types(background): add export for BackgroundTextureFillMode (#768)

* fix(primitive-mesh): fix normal error for capsule cap (#762)

* fix(shader): not normalize normal bug(#769)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* fix(input): Remove the onblur function register when the engine is destroyed (#770)

* Fix(Engine): destroy  bug cause by `requestAnimationFrame`(#771)

* v0.7.0-beta.2

* fix:  fix the order of layerState when AnimatorStatePlayState.Finished (#774)

* fix: the order of layerState when AnimatorStatePlayState.Finished #774

* fix: specular anti aliasing value (#773)

* fix: specular anti aliasing

* v0.7.0-beta.3

* fix: adapter all variable in miniprogram-adapter (#777)

* fix: struct in shader must init value in alipay miniprogram (#775)

* fix: struct in shader must init value in miniprogram

* v0.7.0-beta.4

* refactor: remove console

* refactor: add math serialize

* refactor: add model mesh serialize

* refactor: add scene loader

* refactor: delete schema parser

* refactor: add scene loader

* refactor: add index

* refactor: fix types error

* Update README.md

* Update README.md

* Update README.md

* Add component denpendent decorator (#796) (#807)

* feat: add `dependentComponents` decorator

* fix(Renderer): destroy crash when material is null (#808)

* Improve BlendShape when use attribute mode (#804)

* feat: improve BlendShape when use attribute mode

* v0.7.0-beta.5

* refactor: remove useless import

* fix: fixed the bug of animator revert when blendWeight length exceeds 4 (#817)

* fix: fixed the bug of animator revert when blendWeight length exceeds 4

* v0.7.0-beta.6

* fix(text): fix horizontal and vertical alignment error (#772)

* fix(text): fix horizontal alignment error

* Fix crossFade bug when two AnimatorState use one AnimationClip (#766)

* fix: crossFade bug when two AnimatorState use one AnimationClip #766
Co-authored-by: wz84888 <wz84888@antgroup.com>

* types: export `BoolUpdateFlag` type (#822)

* types: export `BoolUpdateFlag` type

* refactor: clear import (#825)

* Improve ShaderData Macro feature (#823)

* feat: add macros property for ShaderData
* fix: fix bug when `enableMacro` and `disableMacro`

* feat: export animation type

* refactor: bump version

Co-authored-by: GuoLei <gl3336563@163.com>
Co-authored-by: yangfengzzz <yangfengzzz@hotmail.com>
Co-authored-by: singlecoder <singlecoder2014@gmail.com>
Co-authored-by: zhuxudong <callzhuxudong@163.com>
Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: luzhuang <364439895@qq.com>
Co-authored-by: JujieX <67930474+JujieX@users.noreply.github.com>
Co-authored-by: AZhan <njktsmshh@163.com>
Co-authored-by: Bob <768442443@qq.com>
Co-authored-by: gz65555 <kevin.hs@antgroup.com>
Co-authored-by: Cleam Lee <lizhigao1231@163.com>
Co-authored-by: lizhigao <lizhigao@021.com>
Co-authored-by: susiwen8 <susiwen8@gmail.com>
luzhuang added a commit to luzhuang/engine that referenced this pull request Sep 6, 2022
luzhuang added a commit to luzhuang/engine that referenced this pull request Sep 6, 2022
* feat: solve math design circular dependency (galacean#488)

* feat: solve math design cirular dependency

* PhysX based raycast and collider (galacean#505)

* feat: add physx version raycast and trigger
* feat: add  trigger event in script

* feat: Add InputManager (galacean#497)

* feat:  add InputManager

* Fix InputManager's Bug which will be triggered when there is no physics engine. (galacean#524)

* fix:InputManager modify timing

* Lite Physics Package (galacean#522)

* feat: add physics lite package

* Refactor: split pbr shader  (galacean#514)

* refactor: pbr shader clean up

* feat: add createCapsule in PrimitiveMesh (galacean#515)

* feat: add createCapsule in PrimitiveMesh

* Feat: support read/write mipmap data from textures and render target (galacean#382)

* feat: support render to mip level

* feat: support reading from texture with mip level

* Feat: hdr runtime (galacean#523)

* feat: support IBL  HDR Specular

* perf: plane horizontal default (galacean#535)

* perf(plane): plane horizontal default

* fix(plane): fix cull face (galacean#537)

* fix(plane): fix uv error (galacean#538)

* feat: add more uv channel and color (galacean#548)

* Feat: Sprite add clone function. (galacean#532)

* feat: sprite add clone function

* Add color space (galacean#543)

* feat: add engine settings

* fix: opt code (galacean#519)

* feat: modify physics-related class for editor (galacean#547)

* feat: modify physics-related class for editor

* Merge main to dev/0.6 (galacean#553)

* refactor: merge main to dev/0.6

* fix: bump verison (galacean#557)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* fix: shader error (galacean#556)

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>

* feat/add AnimatorState script for handle animatorState's lifecycle (galacean#552)

* feat: add `StateMachineScript`

* feat: support skybox with hdr(rgbe) format (galacean#567)

* feat: add rgbm decode mode

* fix: color space correction (galacean#566)

* fix: color space correction

* fix: bump version (galacean#568)

* feat: change clipTime to normalized as same as  transitionTime for mo… (galacean#560)

* feat: change clipTime to normalized as same as  transitionTime for more understandable

* feat: add method: addEvent overload (galacean#559)

* feat: support ambient-light replacement (galacean#569)

* feat: support ambient-light replacement

Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: GuoLei <gl3336563@163.com>

* Feat/ambient light adapter editor (galacean#570)

* feat: adapter oasis editor with ambient light

* feat: add getCurrentAnimatorState API and fix crossfade time (galacean#565)

* fix: use alipay cdn for physx wasm (galacean#571)

* add wasm file (galacean#572)

* fix: use alipay cdn for physx wasm

* fix: include wasm files

* Fix : the compatibility problem of IOS lower version (galacean#573)

* fix: the compatibility problem of IOS lower version

Co-authored-by: yangfengzzz <yangfengzzz@hotmail.com>
Co-authored-by: AZhan <njktsmshh@163.com>
Co-authored-by: zhuxudong <callzhuxudong@163.com>
Co-authored-by: JujieX <67930474+JujieX@users.noreply.github.com>
Co-authored-by: singlecoder <singlecoder2014@gmail.com>
Co-authored-by: shensi.zxd <shensi.zxd@alibaba-inc.com>
Co-authored-by: luzhuang <364439895@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
animation Built-in animation system related functions
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Add AnimatorState script event AnimatorController, AnimatorStateMachine, AnimatorState, lifecycle script
8 participants