Commit Graph

73 Commits

Author SHA1 Message Date
PP cddfa8c47b cherry-pick: AOT: add jsb interface type (#14368) (#14544)
* cherry-pick: AOT: add jsb interface type (#14368)
2023-03-15 11:40:55 +08:00
pandamicro afd22296b4 MIT license update and to new year 2023 (#13927)
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
minggo 83a2717fac Fix module import (#13140)
* fix core module import style

* import murmurhash2_32_gc from core module

* do not export visibleRect
2022-10-25 16:38:38 +08:00
minggo 0d7c5c8f56 move cocos/core/scene-graph to cocos/scene-graph (#12868)
* move `cocos/core/scene-graph` to `cocos/scene-graph`
* move some files in `cocos/core/components` to `cocos/scene-graph`:
  - component.ts
  - component-event-handler.ts
  - component-event-handler-schema.ts
* move some files in `cocos/core/components` to `cocos/misc`: 
  - missing-script.ts
  - model-renderer.ts
  - renderer.ts
  - camera-component.ts
* move  `cocos/core/components/system.ts` to ``cocos/core/system.ts``
2022-09-26 11:02:22 +08:00
minggo c5c7b987ea move cocos/core/gfx to cocos/gfx (#12559)
* move cocos/core/gfx to cocos/gfx
2022-08-26 17:51:46 +08:00
minggo 7814949998 Merge branch 'v3.5.1' into v3.6.0_merge_v3.5.1 2022-05-24 11:53:57 +08:00
李吉林 db2df7ee3a add mesh comments (#11034)
* add mesh comments

* add @en
2022-05-11 20:52:54 +08:00
Santy-Wang 23de9188ba V3.5 docs (#10898)
* adjust api docs and delete useless annotation

* delete useless annotation
2022-04-27 15:22:22 +08:00
Santy-Wang 8601de5de0 adjust api docs (#10871)
* adjust api docs

* refine

* add english doc
2022-04-26 19:14:47 +08:00
minggo a6bf766170 Merge branch 'v3.5.0' into v3.6_merge_v3.5 2022-03-29 18:26:40 +08:00
李吉林 d793157a71 add dynamic mesh (#10291)
* add dynamic mesh

* Mesh init refactor

* fix geometry renderer bug

* dynamic mesh review update

* MeshUtils refactor

* do not export createDynamicMesh
2022-03-16 16:55:49 +08:00
Leslie Leigh (李的序) 93b856b98e Make animation module optional (#10257) 2022-03-10 11:55:11 +08:00
kenshin 445c8ad160 avoid mesh data leak. (#8413)
* release mesh data.

* mesh maybe share with other object, so just modify the batch utils.

* remove empty space.

* remove empty space.
2021-04-20 15:44:39 +08:00
Yun Hsiao Wu 5a02d3f1d0 structure 2021-02-03 17:51:22 +08:00
Leslie Leigh (李的序) 9bd9baac12 Eslint autofix all (#8108)
* Eslint autofix all

* Manual fix
2021-01-09 11:41:10 +08:00
Santy-Wang ad4bff3988 Restructure Module (#7968)
* module restructure

* refine

* restructure module

* merge

* revert

* fix ci

* update import path of unit-test

* split 2d and ui

* add more module

* change audio adapter

* rename primitive

* config wechat plugin

* merge

* add category config

* merge

* merge
2020-12-24 19:07:26 +08:00
pandamicro 9f89b0ef24 New module division (#5285)
* Temp

* temp

* move ui core

* Arrange ui and terrain

* Fix import path for all modules except core

* Move primitives into core

* Fix debug.getError

* Move audio-downloader to audio module

* export game from game.ts

* Migrate load-pipeline to ts

* Fix core modules and cleanup

* Move animation into core

* Fix module exports

* Fix director issue

* Remove most cc.director usage

* Fix ts issues

* Fix issues for unit test and editor running

* Revert removing deprecated import

* tweaks

* tweaks

* Fix ci

* Fix ci

* Add modules in module division

* Upgrade coordinates-converts-utils
2019-08-30 11:35:22 +08:00
Yun Hsiao Wu b893dfce67 share frame ID UBO across sub skinning models (#5269)
* fix batcher

* misc perf opt

* share frame ID UBO across sub skinning models

* suppress type error
2019-08-28 22:32:51 -05:00
Yun Hsiao Wu ef1d274ac7 calc world transform using matrix for skeletal animation (#5139) 2019-08-12 04:29:21 -05:00
Yun Hsiao Wu 9711e049ba skeletal socket system (#5004)
* skeletal socket system

* fix
2019-07-29 19:45:24 +08:00
ChiaNing 4bc2739786 Vmath (#4987)
* Vmath (#4895)

* vmath refactor

* value-type API change

* vmath change update

* conflict fix

* value types change

* translate modify (#4917)

* value types bug fixed (#4940)

* playground update (#4946)

* bug fixed

* bug fixed

* bug fixed

* bug fix

* util modify

* create remove & ccenum rename

* export by cc.math

* Rename value-types to math

* util funtion deprecated warn

* value-types change

* color test fix

* color API change
2019-07-29 11:50:51 +08:00
Yun Hsiao Wu 29e93e55fe rigging non-skinning renderables (#4901) 2019-07-17 17:35:21 +08:00
Yun Hsiao Wu 24fc221fee skeletal bounds (#4891) 2019-07-17 11:28:52 +08:00
Yun Hsiao Wu 6aab2566b4 GPU animation clip (#4890) 2019-07-17 10:19:09 +08:00
Leslie Leigh b5623dee6a add reset() to Mesh and Texture (#4745)
* add reset() to Mesh and Texture

* use tag deprecated

* typo
2019-06-28 16:17:00 +08:00
Yun Hsiao Wu f6d6aab06b bindpose as mat4 (#4738) 2019-06-27 18:35:01 +08:00
Yun Hsiao Wu dc45d5e0ce update joints after culling (#4641)
* fix vmath return type

* more docs

* update joints after culling
2019-06-17 17:33:01 +08:00
Yun Hsiao Wu 182a29a869 skinning mesh bounds (#4591)
* skinning mesh bounds

* scene-utils docs

* fix batching
2019-06-12 17:06:13 +08:00
Yun Hsiao Wu 25872ad6c4 revert batched material (#4554) 2019-06-05 15:25:29 +08:00
Yun Hsiao Wu 73dc88266d DQ skinning (#4504) 2019-05-26 23:37:30 +08:00
Yun Hsiao Wu 59581463b1 debug feature: read back mesh data (#4478) 2019-05-22 16:49:51 +08:00
zxg0622 cdd31ecaad add billboard component (#4439)
* add billboard component

* fix some particle bugs

* fix canvas deactive bug
2019-05-17 15:58:34 +08:00
Leslie Leigh 4756973818 do not auto calculate bounds (#4342)
* do not auto calculate bounds

* fix ccclass error
2019-04-30 10:53:37 +08:00
Leslie Leigh 4a2050d7c2 calculate skinned bounds (#4246) 2019-04-18 16:11:06 +08:00
jerrywwl 0aea0d54ad fix merge mesh references 2019-04-12 16:49:12 +08:00
jerrywwl ae96a971d8 fix createMesh() bug 2019-04-10 20:41:52 +08:00
jerrywwl 13577b32c0 adjust mesh structure 2019-04-09 21:02:12 +08:00
Yun Hsiao Wu 605d1a0586 custom vertex attribute when create mesh (#4113) 2019-03-28 15:13:45 +08:00
Leslie Leigh 05ec70ad5e typing (#4062)
* typing

* remove old engine-3d stuffs

* typing
2019-03-20 10:42:13 +08:00
Yun Hsiao Wu 5f5db237ec sampler from texture (#4037) 2019-03-14 15:27:38 +08:00
Leslie Leigh dee10308a4 fix when use uint32arrat as index buffer (#3961)
* fix when use uint32arrat as index buffer

* add collide event
2019-03-05 10:27:15 +08:00
Yun Hsiao Wu 93e60c0214 camera screenScale (#3957) 2019-03-04 16:53:08 +08:00
Leslie 28da22b1e5 support joints texture 2019-01-24 18:03:33 +08:00
Yun Hsiao Wu 3e8eb35072 misc bugfix and restructure 2019-01-23 11:04:19 +08:00
Yun Hsiao Wu 8baa11b114 bugfix 2019-01-17 16:13:38 +08:00
Yun Hsiao Wu b8aa50019e no default min/max position 2019-01-16 17:56:55 +08:00
Yun Hsiao Wu 271a7a0b3a material hash 2019-01-16 14:03:47 +08:00
Yun Hsiao Wu 27ecc94088 raycast 2019-01-15 16:54:11 +08:00
Yun Hsiao Wu 12918875be update builtin effects 2019-01-15 14:38:10 +08:00
Yun Hsiao Wu a1cca05b20 pipeline defines 2019-01-15 11:21:45 +08:00