Commit Graph

972 Commits

Author SHA1 Message Date
徐兵 b2b0d09e1d reflection probe planar reflection for native engine (#13281) 2022-11-14 17:37:11 +08:00
fqamic 71314f0e81 merge xr platform function codes (#13360)
* feat: add xr settings for xrEnv and xrType

* improve: remove redundant code for xr interaction

* improve: remove redundant code for frameMove

* fix: xr jsb bind adapt to swig

* feat: adapt to xr preview mode, add handle simulation event
2022-11-14 17:12:25 +08:00
李吉林 7a32e653cb remove component related code from native (#13352)
* remove component related code from native
2022-11-14 11:34:42 +08:00
jk20012001 652bf03964 Fix model updateInstancedAttribute binding (#13348) 2022-11-14 11:27:05 +08:00
李吉林 3d7beff293 support instancing for light probe (#13324) 2022-11-10 18:09:42 +08:00
江战 9894dca7d6 fix bindings (#13316) 2022-11-10 16:11:24 +08:00
bofeng-song 78889daf71 export lodGroups for native-editor (#13225) 2022-11-03 09:32:46 +08:00
Yiwen d848935a07 Fix physics js binding configuration (#13227) 2022-11-02 21:50:54 +08:00
江战 6d0a32c7e9 include jsb_cocos_auto.h (#13205) 2022-11-02 09:42:57 +08:00
李吉林 5461e5490c fix jsb error & undo error (#13207)
* fix jsb error & undo error
2022-11-01 19:03:17 +08:00
江战 7ccd14e6e6 JSB export math class : Vec2/Vec3/Vec4/Quat/Mat3/Mat4/Color (#12968) 2022-10-31 17:24:54 +08:00
徐兵 92f74f55b2 reflection probe texture binding (#13168) 2022-10-28 19:07:17 +08:00
bofeng-song 80415048df native implement for LOD (#13167)
* native implement for LOD
2022-10-28 18:29:53 +08:00
江战 280fd976bc Add EventTarget & EventBus (#13100) 2022-10-28 15:44:33 +08:00
李吉林 e43f18d764 add light probe bake setting (#13169)
* add light probe bake setting
2022-10-27 22:05:22 +08:00
troublemaker52025 4bb8dfd702 [Feature] add visibility for light component (#13131) 2022-10-26 15:26:56 +08:00
mmyduckx 509b89f799 remove depreacted binding-generator (#13130)
* remove depreacted binding-generator

* add xr.i & remove useless code

* refine assets.i

* add xr.i

* remove xr in genbindings.py

* remove useless comment.
2022-10-26 12:00:59 +08:00
hyde zhou 49974b80ee refactor render node name (#13146) 2022-10-26 11:16:42 +08:00
mmyduckx b595f636c4 update network.i (#13108) 2022-10-20 16:35:56 +08:00
李吉林 a9d4e13f85 Light probe merge (#13093)
* add light probe
2022-10-19 22:34:21 +08:00
Yiwen a3fa4f6feb jsb ignore gfx::DefaultResource (#13087) 2022-10-19 15:00:20 +08:00
Zach Lee d26b12d722 Feat: GFXBuffer supports exposing staging buffer address to reduce me… (#13041) 2022-10-17 11:04:15 +08:00
liqiao c6386e3450 remove Model::getInstancedAttributeBlock 2022-10-12 16:12:15 +08:00
zhakesi 70c2e34411 sync tojs to swig about scene module (#5) 2022-10-12 15:59:52 +08:00
zhakesi 7676097f97 sync tojs to swig about middleware and 2d module (#4) 2022-10-12 15:37:11 +08:00
santy-wang 91c884362d Merge branch 'v3.6.2' of github.com:cocos-creator/engine into v3.6.1-sync 2022-10-11 20:12:14 +08:00
hyde zhou bf3c54addf move structs to types.ts (#13004) 2022-10-10 16:48:27 +08:00
troublemaker52025 ddfa2fd42a [optimization] Remove camera dependency (#12983) 2022-10-10 10:29:19 +08:00
Yiwen f6530ffa9e change path of define.ts in gfx-define-generator (#12939)
* change path of define.ts in gfx-define-generator

* correct the creation of web swapchain

* fix windowId. valid windowId starts from 1
2022-10-08 10:30:07 +08:00
hyde zhou e8366a7a7b [develop] custom pipeline startup refactoring (#12886)
* manually merge bloom, fg culling, native pipeline updates

* fix lint

* camera usage added

* use parent name instead of default & add some phase names

* adding render graph execution

* execute render graph added

* refactoring workflow

* uses interface instead of abstract class

* add setup step

* camera usage added

* adding setup stage

* unify camera get set

* adding ppl setup

* fixed bloom effect

* change descriptor merge

* modify uniform collect as descriptor

* revert

* revert phase

* adding render callback

* update setup workflow

* pipeline builder updated

* refactoring native pipeline setup

* revert jsb

* improve cameraList clear

Co-authored-by: zxx43 <zxx43@hotmail.com>
Co-authored-by: qiuguohua <>
2022-09-27 17:57:21 +08:00
Zach Lee 699fdfad90 Feat: Expires bufferView after resizing it's source buffer. (#12869) 2022-09-27 11:50:37 +08:00
jk20012001 4ad23f2193 fix submeshes have different instancing options (#12786) 2022-09-23 16:55:04 +08:00
hyde zhou 71a4452807 [develop] add camera usage (#12857) 2022-09-23 10:22:22 +08:00
zhakesi c7761e5c19 middleware2d components rendering in native mode (#12788)
* middleware2d components rendering in native mode

* support spine/dragonbones set enable batch

* support spine rendering in batching mode

* get batcher2d instance from root

* process about with type conversion

* fix some code style

* use material hash to merge draw batch

* deal with fill z

* fix dragonbones fill z

* remove some code no used any more

* refactoring some code

* modify some code

* add free memory

* fix clang-tidy

* delete mesh-buffer-layout in destructor

* byte alignment
2022-09-20 13:31:33 +08:00
hyde zhou f85ca2fe82 [develop pipeline] refactor framegraph code and updated pipeline (#12794) 2022-09-16 18:14:49 +08:00
林玮 785fd91511 Add multi-windows support (#12243)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
2022-09-15 14:55:44 +08:00
hyde zhou cc01929094 [develop pipeline] uses ccstd::hash (#12658) 2022-09-14 18:25:46 +08:00
santy-wang 7bbad4a0a4 Merge branch 'develop' of github.com:cocos-creator/engine into v3.6.1-sync 2022-09-14 11:47:58 +08:00
zhakesi 6de3d10128 remove sync to native FloatsPerVertex (#12721) 2022-09-09 10:56:22 +08:00
James Chen b9be4cba6d Fix linking errors. (#156) 2022-09-02 20:59:44 +08:00
minggo aba9fdb63f Merge branch 'v3.6.1' into merge_v3.6.1 2022-09-02 20:08:18 +08:00
江战 fc05e55032 3.6 genbindings abort on error (#12659)
* check return code

* Update native/tools/tojs/genbindings.py

* am update external
2022-09-02 18:50:28 +08:00
fqamic 1946f2d39d improve: update engine to support xr development (#12653)
* improve: update engine to support xr development
1.detach thread support more device
2.revert the modification of xr for makeCurrent
3.sync android templates change to xr
4.fix monado runtime templates, excessive permission

* improve: update engine to support xr development
1.add xr pico templates
2.update xr huaweivr templates
3.add xr api file
4.fix 'GFXDevice.h' base header file problem
2022-09-02 15:25:40 +08:00
zhakesi a388541901 spine/dragonbones renderdata use rgba8 color format (#12619)
* add color4b format

* render-2d adapter color format

* spine dragonbones use simple color

* rename V3F_T2F_C4B

* use attributes to init mesh buffer

* remove Vertex2DFormat
2022-09-01 21:44:19 +08:00
James Chen 7b65436e02 fixed #12625: The prototype chain for mesh.maxPosition is not Vec3 on version 3.6.0 (#12628) 2022-09-01 15:48:25 +08:00
Zhang mingzhen 0410f097e1 particle local mode on native (#12624)
* particle local mode on native

* remove rebundant code

* when positionType changes, update entity data

* move to onEnable

* rename as renderTransform

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-09-01 11:35:19 +08:00
mmyduckx 2ea6e9b148 Remove base node related logics (#11977) 2022-08-23 17:34:36 +08:00
minggo 834cfa66af Merge branch 'v3.6.1' into merge_v3.6.1 2022-08-23 14:13:02 +08:00
hyde zhou b7c720eb3b improve xr pipeline implementation (#12506) 2022-08-22 19:11:18 +08:00
QingliWang 6a8f53b186 Add features for XR developement. (#12413)
* Change Android mainloop, add global config and template projects for XR.

* Change gfx/gles device's process flow for XR, working with other PRs, waiting.

* Change gfx/Vulkan device's process flow for XR, working with other PRs, waiting.

* Change render process for XR.

* Develop XR input and events.

* Develop 3D feature of UI widgets and raycast effect for XR.

Co-authored-by: fqamic <fqamic@vip.qq.com>
2022-08-22 16:34:45 +08:00