Commit Graph

1092 Commits

Author SHA1 Message Date
Yiwen b46cba6278 Fix/meshopt (#16200)
* fix meshopt trigger

* add missing part

* add fallback for platform that doean't support half vertex attr

* fix tidy

* revert wrong code

* correct missing field

* optimize

* tune, fix bug
2023-09-08 10:52:46 +08:00
PP 0b65ab3817 add CULL_MESHOPT constant (#16194)
* add CULL_MESHOPT constant

* Update cc.config.json
2023-09-07 09:34:23 +08:00
Jiujiang Liu c6d1782f52 update world bound when update models (#16189)
* update world bound

* update code
2023-09-06 18:29:17 +08:00
Yiwen 93ff89c855 fix asmjs subpackage problem on minigame platform, fix gui (#16123)
* fix asmjs subpackage problem on minigame platform, fix gui
2023-08-30 12:00:11 +08:00
徐兵 1a0820fdb0 reflection probe visibility no longer asynchronous with camera (#16115) 2023-08-29 11:00:04 +08:00
Yiwen a4990ce4e6 Fix meshopt wechat (#16069)
* fix wechat wasm problem, sync external tag

* fix formatting

* fix tidy, unit test
2023-08-23 11:59:56 +08:00
Yiwen bde3cd4cc3 Add adv mesh functionalities. (#16009)
* stage

* update

* update

* fix physics & ray cast problem

* fix default value, clean unused code, fix lint errors

* clean code

* update meta file

* update external, license

* fix tidy, circular dep

* fix type cast

* rm unit test

* fix unit test

* update comment
2023-08-21 10:15:24 +08:00
Leslie Leigh (李的序) d988b2373a Fix: Inactivated skeletal animation components shall not affect skinned mesh renderers (#13779) 2023-08-17 16:16:15 +08:00
pandamicro 9b08b34a2b Replace Renderer setMaterial with setSharedMaterial (#15980)
* Replace Renderer setMaterial with setSharedMaterial

* Fix all usage of Renderer.setMaterial

* Soft deprecate Renderer.setMaterial

* Remove unnecessary change
2023-08-17 13:15:21 +08:00
Leslie Leigh (李的序) 331fab3c6b SkeletalAnimation: disable animation baking in pure editor mode (#15977) 2023-08-17 10:21:44 +08:00
徐兵 b30c076168 optimize the frequency of calls to onUpdateProbes. (#15858) 2023-08-16 15:52:27 +08:00
徐兵 9aafdbdd05 fix switch Env Lighting Type in the editor displays incorrectly and probe does not update position from parent node (#15925) 2023-08-11 17:30:32 +08:00
Leslie Leigh (李的序) 1adef66108 Mesh renderer(s) I18N (#15823)
* Mesh renderers i18n

* Update editor/i18n/en/rendering.js

* Fix mesh renderer i18n

* Update editor/i18n/en/modules/rendering.js
2023-08-09 10:50:48 +08:00
troublemaker52025 4b26cc8784 fix PipelineStateChanged updating issue by performance optimization (#15753) 2023-08-07 11:19:41 +08:00
Jiujiang Liu b37b73a7b7 make allowDataAccess is only available at runtime. (#15835)
* make allowDataAccess is only available at runtime.
2023-08-04 16:20:53 +08:00
徐兵 30061b151d reflectionprobe manager add function for users (#15824) 2023-07-26 17:59:31 +08:00
pandamicro 381505cc28 Merge remote-tracking branch 'cocos-for-editor/v3.8.0' into v3.8.1
# Conflicts:
#	cocos/3d/framework/mesh-renderer.ts
#	cocos/rendering/custom/executor.ts
#	cocos/rendering/post-process/passes/fxaa-pass.ts
#	cocos/spine/skeleton.ts
2023-07-25 22:16:11 +08:00
Leslie Leigh (李的序) 3ca7d08db3 Animation components localization (#15701)
Fix
2023-07-21 14:32:12 +08:00
徐兵 aacc0d7261 add help for reflection probe and rename Fxaa (#15790) 2023-07-21 11:48:57 +08:00
徐兵 d83d2ac3f1 fix reflection probe type for skin and instancing (#15789) 2023-07-20 22:03:11 +08:00
hyde zhou 979e3c9677 V3.8.1 msaa (#15584) 2023-07-18 11:55:05 +08:00
bofeng-song 7465cf6822 Fix LOD can not work normally while node's active changed dynamically (#15641)
* Fix LOD can not work normally while node's active changed dynamically
2023-07-13 09:52:45 +08:00
minggo 7ef995b655 Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
Conflicts:
	cocos/3d/lights/spot-light-component.ts
	cocos/animation/event/event-emitter.ts
	cocos/physics-2d/box2d/physics-contact.ts
	cocos/physics-2d/box2d/physics-world.ts
	cocos/physics-2d/box2d/platform/physics-contact-listener.ts
	cocos/physics-2d/builtin/builtin-world.ts
	cocos/physics/framework/components/constraints/configurable-constraint.ts
	cocos/spine/assembler/simple.ts
	cocos/spine/skeleton.ts
	native/cocos/editor-support/spine-wasm/spine-model.cpp
	native/cocos/editor-support/spine-wasm/spine-model.h
	native/cocos/editor-support/spine-wasm/spine-skeleton-instance.cpp
	native/cocos/editor-support/spine-wasm/spine-skeleton-instance.h
	native/cocos/editor-support/spine-wasm/spine-type-export.cpp
	native/external-config.json
2023-07-03 15:25:13 +08:00
黄森斌 6acdd0ae95 inspector interface: reserve tab style of group; support new section style; (#15586)
* reserve tab style of group; support new section style;

* add mesh-renderer section group style
2023-06-30 09:20:00 +08:00
troublemaker52025 64ad3bdfa0 Optimize light source luminous_flux and luminance UI step (#15555) 2023-06-27 16:26:22 +08:00
minggo e7c5b34e18 Merge branch 'v3.8.0' into v3.8.1-merge-v3.8.0
Conflicts:
	cocos/2d/assembler/label/text-processing.ts
	cocos/physics/bullet/instantiated.ts
	cocos/profiler/profiler.ts
	cocos/rendering/custom/executor.ts
	cocos/rendering/custom/index.ts
	cocos/rendering/custom/web-pipeline.ts
	cocos/rendering/pipeline-scene-data.ts
	cocos/root.ts
	cocos/spine/assembler/simple.ts
	cocos/spine/lib/instantiated.ts
	cocos/spine/lib/spine-define.ts
	cocos/spine/skeleton.ts
2023-06-27 13:35:35 +08:00
zhakesi 9c58507850 fix jsb root function destroyModel named removeModel (#15497) 2023-06-20 19:17:56 +08:00
troublemaker52025 98d9bf87d9 add skin JSB binding (#15464) 2023-06-19 15:16:50 +08:00
PP 509d73b27d merge branch v3.8.0-aot (#15421)
* PR1: add explicit function return type (#15311)

* PR4: add explicit function return type (#15314)

* [ci skip][AUTO]: Automated code generating update: 8843bfe54cd3f8e6f84432948716c8d130ecb233  (#15314) (#15357)

Co-authored-by: cocos-robot <cocos-robot@cocos.com>

* add function return type

* fix version checking

* fix return type

---------

Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com>
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-06-13 18:08:45 +08:00
Jiujiang Liu fbc9f0bf17 Update the type returned by get worldBounds (#15378) 2023-06-08 18:38:38 +08:00
徐兵 2eb37ff0d6 reflection-probe-manager move to 3d module (#15359)
* move to 3d module

* export probetype

* fix error
2023-06-07 23:47:52 +08:00
dogeFu 09e000266d feature : add EDITOR_NOT_IN_PREVIEW marco (#15354)
* feature : add marco for editor preview and refactor code with new marco

* refactor: replace GAME_VIEW with EDITOR_PREVIEW

* Revert "refactor: replace GAME_VIEW with EDITOR_PREVIEW"

This reverts commit e28953e9e7acbb49dc5bdc650b2ff65510d4b084.

* update cc config json

* refactor code

* remove uselese parentheses

* set ccglobal to be false

* skip global variable test case
2023-06-07 17:52:51 +08:00
troublemaker52025 6ace673c1e Fix skin with post-process pipeline (#15327) 2023-06-06 11:22:01 +08:00
troublemaker52025 28d675e58f The globalStandardSkin setting is placed on the meshRenderer component (#15274) 2023-06-02 22:13:00 +08:00
troublemaker52025 07f3dedad9 Optimize skin with post-process pipeline (#15189) 2023-06-01 18:44:48 +08:00
Gin d66f061caa update: add bool type property to control receiveShadow (#15161)
- For UI consistent propose, add a new boolean property to control `receiveShadow`, and this property will be rendered as a `checkbox` in inspector
2023-05-24 19:35:40 +08:00
Gin 89b5744c05 feat: new property decorator radioGroup & improve properties rendering (#14600)
* feat: new property decorator `radioGroup`

- For enum type data, it provides the ability to control the ui component(select, button, checkbox) used in inspector
- https://github.com/cocos/3d-tasks/issues/8715

* update: rendering of align properties in label

- use `ui-radio-group` and `ui-radio-button` instead of `ui-tab`
2023-05-23 14:21:52 +08:00
Myway 4a17955046 Support enable/disable light map in editor (#15123) 2023-05-19 18:10:26 +08:00
jk20012001 3277c3d5ef fix light component UI slider range (#15100) 2023-05-18 22:22:32 +08:00
troublemaker52025 20f80926b1 add Separable-SSS skin (#14948) 2023-05-11 18:24:45 +08:00
徐兵 3de7ba66c0 add property of reflection probe cubemap (#14999) 2023-05-10 18:31:12 +08:00
徐兵 e83b2dd56f fix the baked cubemap of reflection probe appears too dark (#14795) 2023-04-25 10:29:22 +08:00
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
zhakesi 5694bdb9b8 fix frame id is -1 after switching animation clip. (#14851) 2023-04-20 14:31:12 +08:00
zxx43 fbbdab53a4 use getSharedMaterial to replace getMaterial (#14814)
* use getSharedMaterial to replace getMaterial

* call getSharedMaterial directly

* modify note
2023-04-19 11:07:46 +08:00
zhakesi 42b704c4e1 fix set skinningRoot (#14755) 2023-04-14 18:48:29 +08:00
徐兵 983fefe01e fix terrain model output error log with reflection probe (#14790) 2023-04-14 10:09:40 +08:00
徐兵 e3f365779f fix dark display of convolutional texturecube on oppo minigame (#14738) 2023-04-13 10:18:13 +08:00
徐兵 4d35600c7b Reflection probe support blend (#14734) 2023-04-12 19:06:21 +08:00
PP a909e69982 update OH template for esmodule and ts engine compile (#14714) 2023-04-04 09:28:57 +08:00