Commit Graph

987 Commits

Author SHA1 Message Date
徐兵 ecb00f7631 fix add reflection probe report error for native scene (#13688)
* add validate

* fix switch probe error
2022-12-06 19:05:49 +08:00
James Chen e56b4c3cb8 Fix material inspector missing elements (#13674)
* Add missing properties in EffectAsset.h for editor

* Move recordAsBool to PassUtils, IPassInfoFull::propertyIndex needs to be optional

* Add IPropertyEditorInfo struct.

* Fix macroRecordAsBool
2022-12-06 15:06:08 +08:00
zhangxin fd665d36fc [fix] cc::scene::Camera::syncCameraEditor (#13673)
* [fix] cc::scene::Camera::syncCameraEditor

- remove ignore cc::scene::Camera::syncCameraEditor
- use const ptr instead of cosnt ref

* Update scene.i
2022-12-06 13:37:18 +08:00
James Chen 72fcf7797b [native] Fix missing PipelineRuntime::macros property and fix wrong key in ShadowFlow.cpp (#13660) 2022-12-06 09:14:56 +08:00
江战 046a2b1378 Re-impl CC_ASSERT & CC_ASSERTF (#13588) 2022-12-05 17:12:30 +08:00
zxx43 a485712874 fix particle 2d native crash (#13655) 2022-12-05 15:52:04 +08:00
James Chen c89c532b6d [native] Fix some decorators are missing. (#13651)
* [native] Fix some decorators are missing.
2022-12-05 15:46:42 +08:00
李吉林 13d49b1a9b fix mesh merge error (#13639)
* fix mesh merge error

* add log.h for android

* fix DebugRenderer update on metal
2022-12-05 10:18:22 +08:00
troublemaker52025 8d1ed0e1d5 [Optimize] csm transition code (#13611) 2022-12-02 17:09:26 +08:00
bofeng-song c0d989abab fix LOD's error while using at native scene (#13579) 2022-11-28 18:22:33 +08:00
fqamic d4055f7e32 new basic capabilities of supporting handset ar and webxr (#13420)
* feat: add the basic capability of handset ar native

* feat: add handset input device, for ar camera pose

* feat: native pack tool supports xr platform name

* feat: web gl context supports webxr

* feat: webxr has been converted to screen coordinates via camera

* fix: pr ts-expect-error undefined xr

* feat: support webxr, and remove ar redundant code

* fix:xr-spaces gradlew permission error

* feat: revert redundant ar engine feature

* fix: eslint check error

* feat: remove redundant code

* fix: eslint check warning

* adjust armodule process in forward stage, mtl texture and jsb

* fix: exlint warning, and add license

* adjust ar lib and interfaces

* change webxr check interface

* merge external arlib header and move it to engine

* improve: update native external version

* move ar background stage to xr/rendering and move its init to webxr device in xr plugin

* fix format error

* fix format error

* adjust jsb_ar_manual, ARModule, ARBackground

* adjust arbackground

Co-authored-by: Parryzhai <1306895355@qq.com>
Co-authored-by: MoHai <1192652394@qq.com>
2022-11-24 13:33:50 +08:00
timlyeee cb51f8d569 Dev simulator (#13469)
* Fix simulator start error
2022-11-23 15:28:59 +08:00
troublemaker52025 050f9bdb16 add shadow layer transition for csm (#13144) 2022-11-22 18:34:08 +08:00
李吉林 184c8a9c91 refactor light probe data (#13484)
* refactor light probe data
2022-11-22 18:22:52 +08:00
James Chen 32a6aba4fb Fix some swig warnings and fix the issue that Node::mobility is not bound, update swig to 4.1.0 release (#13425)
* Update swig config, fix some warnings

* Update TextureBase.h, don't make _width, _height public

* Revert genbindings.js

* Update external to develop-8
2022-11-18 11:56:09 +08:00
徐兵 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