Commit Graph

18117 Commits

Author SHA1 Message Date
Cocos Robot 33524233e0 [ci skip][AUTO]: Automated code generating update: 9f83eb1b5a1d4e0f22c0343250de472c2f7416a7 (#11637) (#11694)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-24 16:17:35 +08:00
pandamicro 12072ffc62 Merge v3.5.1 zqb branch to v3.6 (#11637)
* support asset property preview (#11017)

(cherry picked from commit 85769cf8f81459b5ad98ccab4138420009572a32)

* show mesh asset thumbnail (#10981)

* V3.5.1 noise particle (#11003)

* add cpu & gpu noise for particle

* add some params & change particle noise shader

* change shader

* add cpu noise particle

* add noise preview

* run generation when preview

* revert shaders

* remove unused statements

* add particle noise module

* change noise preview interface

* add invisible to remap

* remove get deltaTime

* set noiseModule private

* fix eslint

* feat: add noise preview (#11260)

* [Optimize] asset editing undo (#10779)

* edit render-pipeline

* support renderpipeline undo

* optimize material editing undo

* reset last record data

* temporary not support animation-mask undo

* support animation-mask edit undo

* animation mask remove _jointMasks

* Animation clip embedded players (#11320)

* Animation clip subregions

* Log

* Test

* Eval

* Update

* Update

* No longer use animation state to implement clip motion

* Clear subregions

* Fix

* Mark subregion as editor extendable

* Animation clip subregion player path

* fix isnan(0.0) with webgl1.0 (#11262)

* fix isinf(0.0)==true with webgl1.0

* code style

* fix specular params with surface toon (#11265)

* code format and add sliders for parameters (#11266)

* Broadcasting of animation state\'s speed

* Fix

* Rename

* Update

* Fix

* Revert "No longer use animation state to implement clip motion"

This reverts commit 20755f9ec525b27b5b9a515c8dd687349aa4c637.

* Revert some exotic changes

* Update docs

Co-authored-by: jk20012001 <jkregister@163.com>
Co-authored-by: 徐兵 <49358166+xubing0906@users.noreply.github.com>

* fix skinning model split (#11378)

* fix skinning model split

* rename function _resizeMaxJointForDS

Co-authored-by: zhakesi <zhakesi@foxmail.com>

* [ci skip][AUTO]: Automated genbindings update: d823cbba1f7ce8284da28458c26534da2e033961  (#11378) (#11383)

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

* use stop emitting instead (#11381)

* add stop emitting api

* use stop emitting instead

* Update cocos/particle/particle-system.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* fix: imageData fault tolerance (#11374)

* fix: imageData fault tolerance

* chore: when data is an empty array,stop the function

* material  undo updating effects list (#11409)

* modify noise module ui (#11433)

* use visible decorator to control the visibility of property (#11438)

* fix joints data with value nan (#11489)

* V3.5.2 CI Android NDK  set version to 21 (#11448) (#11492)

* Minor improvement

* Fix format

* Fix particle culler

* Improve particle culler

* Manually migrate joint data upload with texture in skinning model

* Update shaders for skinning model based on joint texture

* fis native skinning model with realtime-texture mode (#45)

Co-authored-by: zhakesi <zhakesi@foxmail.com>

* fix clangtidy (#46)

* Small tweaks

* modify code struct for skinning model (#47)

* modify code struct for skinning model

* update skinning chunk

Co-authored-by: 黄森斌 <arsen2010@126.com>
Co-authored-by: zxx43 <zxx43@hotmail.com>
Co-authored-by: 袁炜海 <35713518+dogodo-cc@users.noreply.github.com>
Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>
Co-authored-by: jk20012001 <jkregister@163.com>
Co-authored-by: 徐兵 <49358166+xubing0906@users.noreply.github.com>
Co-authored-by: zhakesi <liqiao@cocos.com>
Co-authored-by: zhakesi <zhakesi@foxmail.com>
Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com>
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
Co-authored-by: Santy-Wang <wh19930829@qq.com>
Co-authored-by: zhangxin <59186205+chichinohaha@users.noreply.github.com>
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com>
2022-06-24 15:10:45 +08:00
Santy-Wang 5ae9dd67ce fix addPersistNode (#11689) 2022-06-24 11:25:41 +08:00
ChiaNing d6e1a27001 remove translate function change warn (#11687)
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-06-24 11:16:05 +08:00
minggo ae2f9aad14 add comment (#11688)
_pass is just a weak reference, it is not used internally
2022-06-24 10:47:29 +08:00
Cocos Robot 8693b2bedc [ci skip][AUTO]: Automated code generating update: 8f8fb289f132ea107befba3f895dbac4f9708e5a (#11674) (#11685)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-24 09:40:44 +08:00
timlyeee 23e10124ef V3.6.0 get pcm buffer from audio (#11521) 2022-06-24 09:39:13 +08:00
minggo 69c2ff6a2a use IntrusivePtr to share objects (#11674)
* use IntrusivePtr to share objects
2022-06-24 09:33:52 +08:00
mmyduckx cd75a4b921 export DownloaderHints & add doc for Downloader constructor usage (#11673) 2022-06-24 09:32:47 +08:00
timlyeee f8df5aa13a Fix simulator broken (#11679) 2022-06-23 18:37:52 +08:00
bofeng-song 6b3ee46959 fix crash due to wrong resize event notify (#11672) 2022-06-23 18:02:48 +08:00
袁炜海 3d31253bcc [Bug] fix: update show scene time (#11660)
* fix: update show scene time

* feat: update css selector
2022-06-23 15:33:08 +08:00
袁炜海 8a1e526edd [Bug] fix: inspector node header style (#11658) 2022-06-23 15:32:52 +08:00
minggo 4b8b032ad8 delete subindex function (#11667)
* delete subindex function
2022-06-23 14:53:02 +08:00
mmyduckx 0077fee553 fix android onProgress may over 100% when trigger breakpoint download (#11638) 2022-06-23 14:32:29 +08:00
ChiaNing 6ca746e64e Sprite Renderer add (#11634)
* Revert "Revert "First Version Sprite Renderer(Rect mode) (#10592)" (#11626)"

This reverts commit abc8f47b6f.

* bug fix & doc add

* add mesh check

* function name change

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-06-23 12:46:15 +08:00
Cocos Robot 22c31da1ce [ci skip][AUTO]: Automated code generating update: 8c8d55a977b1dd732e1bfe2cfbaa944b5bd3127c (#11653) (#11665)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-23 12:41:08 +08:00
Leslie Leigh (李的序) 46b4d5e34b Animation graph add method to rename variables (#11659)
* Animation graph add method to rename variables

* Fix test
2022-06-23 11:58:20 +08:00
minggo f3c84376f2 remove useless log (#11653) 2022-06-23 11:50:04 +08:00
徐兵 7d74f56c19 fix crash on mi 6 from issue 10779 (#11641) 2022-06-23 10:50:47 +08:00
jk20012001 ae825997fa fix shadow bias in dcc effect (#11663) 2022-06-23 10:34:00 +08:00
jk20012001 037857a1e7 fix surface shader compilation error and composite mode without shadow (#11656) 2022-06-22 18:22:08 +08:00
江战 79b928fe65 3.6 bugfix build template replace proj_name (#11654) 2022-06-22 17:57:25 +08:00
Cocos Robot 8e773bb75b [ci skip][AUTO]: Automated code generating update: b1622b9b132542b2f19977d865bb413172348eae (#11571) (#11651)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-22 17:40:04 +08:00
Zeqiang Li c61a02f807 3.6.0 barrier interface (#11571)
* gfx pipelinebarrier interface
2022-06-22 16:49:50 +08:00
Zeqiang Li ef79d9c184 copy buffers to subregion of compressed texture on metal (#11612)
* copy buffers to subregion of compressed texture on metal
2022-06-22 16:45:47 +08:00
Zeqiang Li 9bcc9df3dd temporarily disable dslayout deferred validation (#11648) 2022-06-22 16:44:39 +08:00
minggo 5f6fbf4fd3 use reference count to share objects (#11642)
* use reference count to share objects
render pass/depth stencil texture/color textures will be shared outside, so use reference count

* add operator[]
2022-06-22 16:27:28 +08:00
江战 4a964c3ba3 3.6 Optimize resetHasChangedFlags (#11639) 2022-06-22 14:16:04 +08:00
PP b5e59410c1 fix require on baidu platform (#11643) 2022-06-22 13:50:55 +08:00
Cocos Robot 05a401492d [ci skip][AUTO]: Automated code generating update: 090f9b6966aeabc5b2b39f6ef32e78ee3826e4be (#11636) (#11640)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-22 11:21:12 +08:00
troublemaker52025 0d558dd03b [v3.6.0] fix deferred pipeline has no shadow && merge error [shadow biase, spotLight.aspect] (#11636)
* force deferred pipeline enable receive shadow for all objects in shading pass

* fix shadow bias and spot aspect code according to merge conflict from 3.5.1 to 3.6
2022-06-22 10:08:24 +08:00
mmyduckx ac87775262 move Downloader&zipUtils namespace from jsb to native & refine doc. (#11619)
* move namespace from jsb to native & refine doc.
2022-06-22 09:51:41 +08:00
袁炜海 5dea706826 feat: update meta (#11633) 2022-06-21 15:12:22 +08:00
Santy-Wang 5bf1a24ec5 optimize node api (#11629)
* optimize ts api

* refine

* refine

* revert some code

* revert some code

* refine
2022-06-21 00:09:25 +08:00
Santy-Wang 8ca3044cdf set persist node's hideFlags to DontSave when switch scene (#11627)
* set persist node's hideFlags to DontSave when switch scene

* refine log
2022-06-20 23:18:41 +08:00
Cocos Robot 22eb9316f0 [ci skip][AUTO]: Automated code generating update: e1905e740e9deac70dddfbd2db1a791ae93e9007 (#11625) (#11628)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-20 20:57:31 +08:00
ChiaNing abc8f47b6f Revert "First Version Sprite Renderer(Rect mode) (#10592)" (#11626)
This reverts commit d7d9c6cce7.
2022-06-20 20:22:53 +08:00
pandamicro aed65421bf Revert "[ci skip][AUTO]: Automated code generating update: 6ee6fc8c8ebd44d91bcb37cbf1ec460ed07079d9 (#11599) (#11620)" (#11625)
This reverts commit 61428f3305.
2022-06-20 20:16:51 +08:00
Cocos Robot 61428f3305 [ci skip][AUTO]: Automated code generating update: 6ee6fc8c8ebd44d91bcb37cbf1ec460ed07079d9 (#11599) (#11620)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2022-06-20 18:50:23 +08:00
ChiaNing f2a9607aa4 The base version of sorting priority add (#11599)
* sorting Priority add

* fix CI

* name change

* binding add

* name change to priority

* bind remove

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-06-20 17:54:31 +08:00
ChiaNing d7d9c6cce7 First Version Sprite Renderer(Rect mode) (#10592)
* First Version Sprite Renderer

* Serialize Vertices

* remove

* Sorting Layer & Sorting Order add

* fix for trim mode

* SpriteFrame inspector change

* Revert "Sorting Layer & Sorting Order add"

This reverts commit ca000ad79dadc4d09707a06c4514abdb6ab0fc6f.

* misc fix

* format change

* import change

* useless builtin res remove

* misc fix

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-06-20 17:35:50 +08:00
Yiwen 84e09c9e42 add the support to upload subregions from buffers to texture (#11276)
* Add copy buffer to texture
2022-06-20 17:23:00 +08:00
zxx43 7e3efeff86 V3.6.0 fix cutting objects crash (#10053)
* fix points undefined return 0 area

* ensure points not be undefined
2022-06-20 17:17:37 +08:00
SijieWang 8d990bd7f6 [Feature] The texture property is also displayed when the image is SpriteFrame (#11590) 2022-06-20 17:04:44 +08:00
李吉林 610c64c468 reset GEOMETRY_MAX_LINES size (#11618) 2022-06-20 16:53:55 +08:00
biliskener 53d564b6ce Solve the problem that the properties of the Object below the ObjectGroup in TiledMap are incorrectly mixed into the property list of the ObjectGroup. The function getElementsByTagName() searches for child nodes in a deep way. (#9559) 2022-06-20 15:29:40 +08:00
袁炜海 b1306e2d67 [Optimize] feat: commponent`s name allow drag (#11354)
Co-authored-by: SijieWang <itharbors@outlook.com>
2022-06-20 15:20:52 +08:00
Jare Guo b56376eed9 Slim CCClass: Clean some ES5 class implements (#11051)
* Slim CCClass: Remove deferred properties initializer. Simplify __ctors__ value.

* Slim CCClass: Remove unused mixins support

* update comment
2022-06-20 15:20:43 +08:00
江战 181c145ec7 Update plugins_parser.js (#11614) 2022-06-20 15:11:46 +08:00