Commit Graph

289 Commits

Author SHA1 Message Date
江战 719c756656 revert a6684b1 (#15393) 2023-06-08 22:48:53 +08:00
Cocos Robot a92f8b6570 [ci skip][AUTO]: Automated code generating update: c1485f4500e501c56632ec8d4f1fd1efea0c3202 (#15265) (#15362)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-06-08 13:44:41 +08:00
pandamicro c8d3be08a3 Fix issues in Node.updateWorldTransform and UITransform.getBoundingBoxTo[World] (#15273)
* Fix transform update issue when only rotation is set to root node

* Fix UITransform.getBoundingBoxTo and UITransform.getBoundingBoxToWorld

* Improve API and test

* Fix native Node::updateWorldTransform

* Fix UITransform.getBoundingBoxTo

* Fix getBoundingBoxTo by ensuring one time rect transform

* Ignore zero sized rect for bounding box calculation

* Improve API doc
2023-06-07 11:10:28 +08:00
Yiwen fda480e960 Fix texture mipmaps with compression (#15277) 2023-06-06 18:51:51 +08:00
oahc09 f54865e23d fix:xr right eye render failed when using custom render pipeline (#15319) 2023-06-06 18:46:16 +08:00
Cocos Robot 0d1f5d0286 [ci skip][AUTO]: Automated code generating update: 16753619b7d3149f44431f870d588e1acc870aa3 (#15281) (#15294)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-06-02 14:03:12 +08:00
hyde zhou 43b4cb30f2 develop pipeline add subpass (#15166)
pr-test is not ready, skip it.
2023-06-01 10:39:20 +08:00
SijieWang 820128d09a Merge pull request #15175 from cocos/marionette-next
Pose Graph
2023-05-25 11:45:53 +08:00
Santy-Wang 51afef29b4 remove repliated and client load (#13521) 2023-05-25 11:40:41 +08:00
Santy-Wang d3a9b5a8b8 gradient misc optimization and add some helpful function (#15032)
* gradient misc optimization and add some helpful function

* keep old version and add new interface

* missing .

* mark as engineInternal
2023-05-24 13:59:29 +08:00
pandamicro 12fe7525f9 Merge pull request #15113 from cocos/develop
Merge remote-tracking branch 'upstream/develop' into marionette-next
2023-05-19 10:42:41 +08:00
Cocos Robot c8934efd9a [ci skip][AUTO]: Automated code generating update: 464342eb99 (#15101) (#15102)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-05-19 09:31:18 +08:00
Yiwen 78c87a09d2 add new features to 3d hinge constraint (#14447)
* add new features to 3d hinge constraint
1. angular limit
2. angular drive

* add missing file

* fix native and bullet parameter error, tune parameters

* clean code

* update package and package lock

* stage

* update

* fix interface

* fix api, improve perf

* fix unit conversion

* fix unit conversion

* sync physx behavior
2023-05-18 16:36:23 +08:00
hyde zhou 34a5022096 develop pipeline interface change (#15083) 2023-05-18 13:00:23 +08:00
Ling Zhan 1032bd9508 Sweep Test (#15068)
* init

# Conflicts:
#	cocos/physics/physx/physx-adapter.ts

# Conflicts:
#	cocos/physics/physx/physx-adapter.ts

* init sweepBoxClosest

# Conflicts:
#	cocos/physics/physx/physx-world.ts

* back

* physx boxCastClosest works now.

* add physx sweepAll

* init bullet sweepBoxClosest. not test yet

* add bullet sweepBox

* bullet add internal functions: sweep/sweepClosest

* init physx c++ sweepBox/sweepBoxClosest

* add sweepSphere, sweepCapsule; add unit test.

* add sweep api doc

* revert physx asm/wasm loading func

* tweaks

* add error log for builtin and cannon.js

* builtin and cannon.js use warnid when calling sweep

* tweak api doc
2023-05-17 18:37:03 +08:00
Zach Lee 43f835b7bd fix: vb ib indirect should be shared. (#15062) 2023-05-17 15:44:53 +08:00
Cocos Robot 046f5fa715 [ci skip][AUTO]: Automated code generating update: 10076c56da3446eb0efc04f2c4b88e15a0af41d1 (#14997) (#15000)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-05-08 17:58:02 +08:00
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
Cocos Robot 4f0849a302 [ci skip][AUTO]: Automated code generating update: 63651aa149b69b34d382910dcbbdc85f3f850e92 (#14847) (#14870)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-04-20 14:56:13 +08:00
dogeFu 8d95d24ee0 fix: support tooltips in effect for native scene (#14812) 2023-04-18 09:44:11 +08:00
oahc09 879ca3da6e improve:extend external texture parameters and support external vkimage (#14732) 2023-04-14 15:41:52 +08:00
Zach Lee 3fab846f7b GFX Pipeline Cache. (#14759) 2023-04-13 17:41:30 +08:00
zhakesi 15773dfdd8 add UBOWorldBound into used UniformVectors (#14745) 2023-04-10 17:37:39 +08:00
minggo 1049ec7c6b make _siblingIndex/_parent to protected (#14667)
* make _siblingIndex/_parent to protected
* add modifyParent to modify _parent value only
2023-03-28 14:12:03 +08:00
oahc09 8abee5fe1c feat:xr interface support xr eye render js callback (#14665) 2023-03-27 16:07:23 +08:00
minggo bcc581dfd7 Merge branch 'v3.7.3' into develop_merge_v3.7.3 2023-03-24 10:57:28 +08:00
Cocos Robot 42a576e81f [ci skip][AUTO]: Automated code generating update: d4378c629b12f840c759777138ee8ffba4d359a5 (#14582) (#14607)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-03-20 15:20:19 +08:00
minggo cbadcf20f5 Merge pull request #14576 from cocos/v3.7.2
V3.7.2
2023-03-15 11:05:16 +08:00
江战 cfb0b74c4e Fix pass properties order in native editor (#14468)
* fix pass properties order in native editor
2023-03-14 10:26:00 +08:00
santy-wang 0a81bf445e Merge branch 'develop' of github.com:cocos-creator/engine into v3.7.2 2023-03-13 16:51:47 +08:00
Yiwen b6abb65171 Math tune cpp (#14526)
* fix problem, add missing functions for vec4

* add unit test for math lib, review geom lib, fix comment, clean code

* revert changes on native math lib

* fix typo, cancel deprecates

* fix csm layer frustum usage

* tune document

* restore native changes

* stage math

* correct frustum

* add more unit test

* fix mistakes introduced in the last commit

* add missing changes

* update

* update deprecated information, rename interfaces

* fix operator priority issue

* fix math library related issues
2023-03-12 15:58:07 +08:00
江战 1854ae46b2 Resolve certain warning messages on Visual Studio (#14527)
* Resolve certain warning messages on Visual Studio
2023-03-10 14:17:34 +08:00
江战 c4be6be29d Fixes for GCC compatibility and Linux platform warnings (#14511)
* fix compile error on linux

* ignore more warnning

* move StringPool & StringEqual into StringPool
2023-03-09 09:45:22 +08:00
Myway 879668c64f support highp lightmap for native engine (#14510)
* support highp lightmap for native engine
fixed camera exposure uniform error

* fixed lint error
2023-03-08 20:23:19 +08:00
James Chen b7cec161c6 fixed #14473: [native] Remove 'Record' macro to avoid conflict. (#14474)
* fixed #14473: [native] Remove 'Record' macro to avoid conflict.
2023-03-07 13:57:34 +08:00
江战 a6684b18c9 Merge _flagChangeVersion and _hasChangedFlags, Use Single uint32_t to Save Memory and Avoid Inconsistencies (#14454)
* merge _flagChangeVersion & _hasChangedFlags into single uint32_t
2023-03-07 10:27:51 +08:00
李吉林 f4e8b1e03a fix cpp math library (#14458)
* fix cpp math library
2023-03-03 17:33:33 +08:00
hyde zhou 2d9446e7c4 add render phase (#14333) 2023-03-02 00:13:38 +08:00
Zeqiang Li 71b764ad0d frame fence (#14310) 2023-02-28 17:43:38 +08:00
ChiaNing a769f3fb5a change node dirtyFlag name & add interface (#14396)
* change node dirtyFlag name & add interface
2023-02-28 13:47:23 +08:00
troublemaker52025 a7b090390e [Feature] add ranged directional light (#14306) 2023-02-23 17:58:47 +08:00
James Chen 78f4dd8be6 [native] Merge some optimizations from new serialization task (#14338)
* [native] Merge some optimizations from new serialization task

- Optimize the loading time of loading scene which has plenty of nodes.
2023-02-23 14:51:26 +08:00
troublemaker52025 682f0a25cd [Feature] add point light (#14220) 2023-02-22 10:12:21 +08:00
江战 8dc1a3e46e fix TypedArrayTmp::subarray (#14182) 2023-02-16 13:39:26 +08:00
Zhou Zhenglong 2b54f20d0a Merge branch 'v3.7.1' into v3.7.2-merge 2023-02-13 00:47:24 +08:00
Cocos Robot e9b962ebf8 [ci skip][AUTO]: Automated code generating update: 5f845491f88f35b53863c6816d0195d37eaa6730 (#14087) (#14138)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-02-03 23:05:32 +08:00
hyde zhou 5abd56ac2f remove manual descriptor registration (#14136)
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
Co-authored-by: GengineJS <476393671@qq.com>
2023-02-03 15:17:32 +08:00
李吉林 093b6972df V3.7.2 light probe baking changed (#14134)
* add onLightProbeBakingChanged
2023-02-02 21:00:16 +08:00
Cocos Robot 611384e935 [ci skip][AUTO]: Automated code generating update: 233bc4831e98d2c1b46122ad128044275647952e (#14061) (#14120)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-02-02 10:52:05 +08:00
hyde zhou 97b1c40941 [pipeline] add native pipeline ubo uploading (#14061)
* merge v3.7.0-pipeline

* pass done

* fix const reference return type

* add uniform block buiding

* fix const cast

* fix const

* fix mtl const

* integrating native program library

* native pipeline workflow updated

* adding ubo binding

* Solve the problem of the version attribute of pass (#87)

* ubo upload added

* adding camera ubo

* add constant name

* update uniform buffer

* adding execution resources

* per pass ubo added

* fix bugs

* ubo added

* fix render pass bug

* bind set added

* adding ubo uploading

* shader binding overwrite added

* shader binding overwrite added

* add missing header

* draw updated

* ubo updated

* fix main light ubo

* pass ubo added

* lint

* fix custom pipeline window resize issue. (#88)

* fix lint

* fix assert

* remove texture1d

* fix constantMacros

* lint

* fixed: native custom pipeline graphics pipeline state leak. (#89)

* lint

* skybox added

* skip subpass input binding rewrite (#90)

* per pass descriptor set modified

* adding blit

* fix material

* fix fg get usage (#91)

* fix barrier fetch

* fix ios bug

* fix barrier

* support cc builtin overwrite

* try fix shadowMap

* refactor resources

* update blit

* add render graph binding

* fix shader bugs

* fix blit

* fix bugs

* remove unnessary barriers

* fix init

* fix addCameraQuad

* fix raster view order

---------

Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: Zach Lee <bluesky013@126.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
2023-02-01 18:04:12 +08:00