Commit Graph

2278 Commits

Author SHA1 Message Date
Leslie Leigh (李的序) 891237b06e Fix skeletal animation state got update twice (#10571)
* Fix skeletal animation state got update twice

* update

* Add test

* Update

* Update

* Always update

* rename
2022-03-29 21:39:59 +08:00
Leslie Leigh (李的序) 81a2ff7328 Fix animation event type typing (#10562) 2022-03-29 20:04:00 +08:00
Leslie Leigh (李的序) 6070aa5c79 Fix cross fade bug introduced from #10485 (#10576) 2022-03-29 20:02:10 +08:00
Leslie Leigh (李的序) 0a67669190 Animation state bugfix (#10558) 2022-03-29 11:33:47 +08:00
Leslie Leigh (李的序) 9e46834765 Category description (#10544)
* Category description

* Update
2022-03-28 17:53:45 +08:00
Yiwen 718ea8ee3f Add a method to select mipmap range for Texture2D and TextureCube. (#10500)
* Add a feature to select mipmap range to image asset.

* fix format

* fix format

* modify comments, remove uncessary methods

* finx comments.

* fix logic problem

* fix mipmap range problems

* Add validation information incase someone wants to generate mipmap for compressed texture

* remove some validations to make gfx bakend clear

* fix a stupid typo

* Add validation information for setMipRange

* use assertID to validate the mipmap range
2022-03-27 13:52:24 +08:00
Santy-Wang 98e52e3f16 output warning info when attached to the node has zero scaling (#10524)
* output warning info when attached to the node has zero scaling

* use approx instead
2022-03-26 22:23:29 +08:00
pandamicro f4aa81d88e Fix vec3 & vec4 transformAffine (#10508) 2022-03-26 19:23:41 +08:00
Leslie Leigh (李的序) 73374aa999 Fix animation bug introduced from #10485 (#10512)
* Fix animation bug introduced from #10485

* Add test
2022-03-26 15:57:50 +08:00
Leslie Leigh (李的序) 673844eafb Fix: animation blending zero check (#10499)
* Fix: zero check animation blending

* Rename
2022-03-25 18:51:15 +08:00
mu xiandong 1f11536a1f fix: Fix getUrlWithUuid smart hint issue (#10484)
* fix: Fix getUrlWithUuid smart hint issue

link https://github.com/cocos/3d-tasks/issues/8714

* fix ci

* fix ci

* fix

Allow the options value to be empty, keeping it consistent with the previous API

* Update helper.ts

* fix

Co-authored-by: muxiandong <24754593@qq.com>
2022-03-25 18:39:44 +08:00
PP 5ef14f649f remove help decorator on non-component class (#10503) 2022-03-25 16:25:30 +08:00
PP 96f3bd00e3 fix pointer event when camera.orthoHeight changed (#10496)
* deprecated uiTransform.isHit with hitTest method

* use hitTest instead of isHit

* add type info

* update
2022-03-25 13:53:09 +08:00
Leslie Leigh (李的序) f00d11adaa Optimize the way how animation component update its animation content (#10485)
* Optimize the way how animation component update its animation content

* Update

* Update

* update

* Update
2022-03-25 10:03:29 +08:00
jk20012001 d5f172b782 Fix fog accumulated error with multiple local lights (#10445)
* Fix fog accumulated error with multiple local lights

* add standard exposure value for lightmap
2022-03-23 17:43:43 +08:00
Leslie Leigh (李的序) 16253687b9 Handle legacyPublic in API doc (#10456)
* Handle legacy public

* Update
2022-03-23 14:26:27 +08:00
黄森斌 d065ca6aee V3.5.0 fix bug: reset renderer-component would not update model (#10342)
* fix bug: reset materials would not update model

* add comment

* reset _materials.length

* fix bug: model in scene would not disappear when remove mesh

* modify code written
2022-03-22 17:57:56 +08:00
pandamicro d3f5e58acc Fix templates and minor tweaks (#10434)
* Fix templates

* Minor tweaks

* Minor
2022-03-22 17:22:41 +08:00
Santy-Wang ab82e1b42d remove hidden (#10414)
* remove hidden

* fix typo

* fix unit-test

* turn on auto fix
2022-03-22 15:11:16 +08:00
Leslie Leigh (李的序) b87c185333 Marionette: layer, mask, auto trigger, pass through state (#10179)
* Marionette/3.5.0 Initial Commit

* Auto trigger default value

* import skeleton 改为选择 fbx 文件

* Rename passthrough -> empty

* Refactor Auto Trigger (#81)

* Refactor auto trigger

* Lint

* Optimize

* Update

* Migrate triggers (#82)

* Fix merge problems

* Optimize

* Optimize

Co-authored-by: arsen2010 <arsen2010@126.com>
2022-03-22 15:05:45 +08:00
Leslie Leigh (李的序) 466d4cf1f9 API documentation: category (#10435)
* Typdoc: category

* Add categories

* workflow
2022-03-22 13:57:00 +08:00
Santy-Wang a6ffd14c23 optimize decorator performance (#10323)
* optimize decorator performance

* refine

* debug

* delete useless code

* add ccclass

* add freeze
2022-03-16 18:16:21 +08:00
timlyeee b9353eb18c only free for native (#10369) 2022-03-16 16:31:04 +08:00
Leslie Leigh (李的序) 02138a9e72 Export Value in animation namespace (#10360) 2022-03-16 13:38:04 +08:00
pandamicro 8281503c4d Merge pull request #10346 from cocos/v3.4.2
Optimize memory occupation of RealCurve, CurveRange (#10328)
2022-03-15 18:09:08 +08:00
jk20012001 766b7efb2a Fix: #11580 create new light source intensity display type unknown (#10324) 2022-03-15 14:32:14 +08:00
Leslie Leigh (李的序) c6eb388e6a Optimize memory occupation of RealCurve, CurveRange (#10328)
* Optimize memory occupation of RealCurve, CurveRange

* Fix type
2022-03-15 10:03:46 +08:00
黄森斌 396dca5ce1 modify diffuseMap property visible (#10333) 2022-03-14 17:00:02 +08:00
Leslie Leigh (李的序) 93b856b98e Make animation module optional (#10257) 2022-03-10 11:55:11 +08:00
Leslie Leigh (李的序) e86ee1a247 @disallowAnimation should not imply visible (#10262) 2022-03-08 16:27:30 +08:00
santy-wang 10349e567d Merge branch 'v3.4.2' of https://gitlab.cocos.net/publics/engine into v3.5.0 2022-03-08 10:21:39 +08:00
徐兵 62f06c6ef7 Optimized Delete Skybox Environment Map (#10248) 2022-03-06 21:15:33 +08:00
troublemaker52025 273fa0162e Change planar shadow func name v3.5.0 (#10174)
* change planarShadow func name for v3.5.0

* update

* Modify semantics

* delete @range slide
2022-03-03 17:53:00 +08:00
timlyeee 65fcf6c0b4 Return aabb objects back to pool (#10230) 2022-03-03 09:45:42 +08:00
黄森斌 4f05432c23 Displayorder is removed from the edit template and is taken over completely by the decorator (#10165) 2022-03-02 21:14:37 +08:00
Yiwen b2ec8b022f select mipmap levels dynamically (#10096)
* draft

* fix some stupid bugs introduced in the lase commit

* fixed bug when init webgl's texture.

* draft

* fix some bugs

* fix some warnings

* fix undefined type cast

* For Vulkan device, query the storage feature through optimal tiling instead of linear tiling.

* fix some bugs appear when resize texture, clean the changes. all tests passed.

* remove debug codes, improve performance, correct the framebuffer size.

* make some input parameters readonly

* Make the gfx function's parameter's access priority the same as native engine

* remove uncessary members and interface for ES3, move getGLSampler into IWebGL2GPUSampler, delete WebGL2CmfFuncCreateSampler...
2022-03-02 10:15:34 +08:00
pandamicro 812d3db26e Update effects 2022-02-28 17:42:06 +08:00
pandamicro 1446db89e7 Merge branch 'v3.4.2' into v3.5.0
# Conflicts:
#	cocos/2d/components/sprite.ts
#	cocos/2d/framework/ui-transform.ts
#	cocos/2d/renderer/render-uniform-buffer.ts
#	cocos/core/builtin/effects.ts
#	cocos/core/builtin/shader-sources/glsl1.ts
#	cocos/core/builtin/shader-sources/glsl3.ts
#	cocos/core/builtin/shader-sources/glsl4.ts
#	cocos/dragon-bones/ArmatureDisplay.ts
#	cocos/spine/skeleton.ts
#	editor/assets/chunks/cc-sprite-fs-gpu.chunk
#	editor/assets/chunks/cc-sprite-fs-gpu.chunk.meta
#	editor/assets/chunks/cc-sprite-vs-gpu.chunk
#	editor/assets/chunks/cc-sprite-vs-gpu.chunk.meta
#	editor/assets/default_skybox.meta
#	editor/assets/effects/builtin-sprite-gpu.effect.meta
2022-02-28 17:24:02 +08:00
Zhang mingzhen abeab77c3c wechat minigame optimization #11328 (#10159)
Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-02-28 14:56:07 +08:00
troublemaker52025 14ada9cae3 build geometry renderer for v3.5.0 (#10189) 2022-02-25 18:26:31 +08:00
troublemaker52025 e723e5aa3a Add renderMesh bias for v3.5.0 (#10102)
* Add renderMesh bias for v3.5.0

* fix ci error

* change function name

* fix merge error

* update

* update 2

* update

* update

* update 2
2022-02-24 23:27:09 +08:00
Yun Hsiao Wu 21e4e2e0c8 update effects (#10145) 2022-02-22 16:19:15 +08:00
ChiaNing 8590ae6982 fix Node rotate API doc (#10140) 2022-02-21 18:09:30 +08:00
Zhang mingzhen 782be9bdce add extra name like cc.xxx from legacyCC namespace (#10076)
* add extra name as cc.xxx from legacyCC namespace

* remove rebundant code

* remove rebundant namespaces

* fix unit test bug. supplement global variables classes.

* UIModel->UIMeshRender

Co-authored-by: zhangmingzhen <mingzhen.zhang@cocos.com>
2022-02-21 14:14:16 +08:00
pandamicro 50a43e18e4 Shared vb accessor for spine (#10077)
* Robust updateOpacity in batcher & cleanup code

* Support Batcher2D commitIA

* Support customized buffer size for StaticVBAccessor

* Reorganize RenderData logic and prepare spine refactor

* spine realTimeTraverse using dedicated accessor

* Support spine clipping

* Fix updateOpacity in batcher 2d

* Support Spine cache mode

* Fix ci

* Use different accessor for tint spine

* Update effect

* Fix native spine and dagonbones IA range issue

* Fix spine tint accessor registartion

* Revert darkColor default value

* Fix spine accessor switching issue and render data init issue

* Shared vb accessor for dragonbones (#44)

* Shared vb accessor for dragonbones

* fix code style

* add explanation why need resize render data in realTimeTraverse

Co-authored-by: zhakesi <liqiao@cocos.com>
2022-02-18 15:24:59 +08:00
Knox 47cf1a089e fix custom class missing when the instantiate error (#10128) 2022-02-18 13:53:10 +08:00
jk20012001 2549157630 Rearrange IA input variables and functions for surface shader (#10123)
* Rearrange IA input variables and functions for surface shader
Fix default_skybox.meta missing

* Update compiled shaders

* Fix code style
2022-02-17 17:16:00 +08:00
Yun Hsiao Wu 198034ec2c refactor access type array to access flags (#10103) 2022-02-16 09:56:46 +08:00
Yun Hsiao Wu af0c6c7395 fix binding mappings (#10058) 2022-02-08 10:31:50 +08:00
ChiaNing 8f87cbd483 useless UI_GPU code delete (#10048) 2022-01-25 19:14:41 +08:00