Commit Graph

93 Commits

Author SHA1 Message Date
minggo aa0515103f move some functions of intersect to misc (#13040)
* move some functions of intersect to misc
as these functions depend on upper modules
2022-10-14 14:37:53 +08:00
troublemaker52025 ddfa2fd42a [optimization] Remove camera dependency (#12983) 2022-10-10 10:29:19 +08:00
minggo 84c25f3a33 declare WrapMode in core/geometry/curve.ts (#12933)
* move WrapMode into core/geometry/curve.ts

* do not exmport WrapModeMask
2022-09-29 09:42:27 +08:00
minggo 4261ccae76 move cocos/core/renderer to cocos/render-scene (#12729)
* move cocos/core/renderer to cocos/render-scene

* fix compiling error on native
2022-09-09 18:19:06 +08:00
minggo 2f10f48c15 adjust some folders (#12712)
move cocos/core/asset-manager to cocos/asset/asset-manager
move cocos/core/assets to cocos/asset/assets
merge cocos/core/builtin to cocos/asset/asset-manager
2022-09-07 18:45:54 +08:00
minggo 7922834c0b move cocos/core/animation to cocos/animation (#12674) 2022-09-05 14:57:37 +08:00
minggo c5c7b987ea move cocos/core/gfx to cocos/gfx (#12559)
* move cocos/core/gfx to cocos/gfx
2022-08-26 17:51:46 +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
troublemaker52025 387b994f91 Add CSM for v3.6.0 (#11120)
* Add CSM for v3.6.0

* fix CI error

* fix Ci error 2

* Limit soft shadow sampling range

* update

* add soft 5x PCF

* add warn ID

* sync CSM to native engine

* fix CI error

* add Performance Mode

* fix ci error

* fix ci error 2

* fix ci error 3

* add precisely tailored

* use CC_SHADOWMAP_FORMAT

* update

* Modify default parameters

* sync to native engine

* revert config file

* fix  ci error

* modify pr problem

* fix CI error

* fix ci error

* sync to js engine

* fix ci error

* fix cc_shadowMap not binding

* fix vulkan shadow effect error

* build effect

* fix ci error

* modify review

* fix ci error

* fix ci error 2

* delete unused interfaces

* fix ci error

* update

* update 2

* fix ci error

* delete csmDebugMode

* build effect

* use csmLeve to shadowCascadeLevel

* update
2022-06-07 14:30:49 +08:00
minggo 77701a2d84 Merge branch 'v3.5.1' into v3.6.0-merge-v3.5.1 2022-05-27 15:23:33 +08:00
Santy-Wang 6f83995e57 adjust docs i18n (#11166)
* adjust docs

* adjust docs

* refine

* adjust docs
2022-05-25 11:00:52 +08:00
minggo 7814949998 Merge branch 'v3.5.1' into v3.6.0_merge_v3.5.1 2022-05-24 11:53:57 +08:00
pandamicro 8ef4d3c4a9 Fix API docs for 3d module and part of core module (#11126)
* Refactor morph and morph-rendering module

* Fix API docs for 3d module

* Fix some API docs for core module

* Tweaks and fixes of links
2022-05-19 14:19:05 +08:00
pandamicro dba83c270d Fix multi blank lines (#11116) 2022-05-17 11:56:06 +08:00
Zeqiang Li ddd26ae875 i18n typo (#10986)
* expression

* i18n typo
2022-05-07 11:01:27 +08:00
Zeqiang Li 28447fa8eb expression (#10985) 2022-05-07 09:51:51 +08:00
Zeqiang Li 008ad74dc3 sphere i18n (#10963)
* sphere i18n

* i18n

* update
2022-05-06 23:18:00 +08:00
江战 0d4a6c3e75 3.5.1. OBB/AABB API documents (#10966)
* update api documents
2022-05-06 18:58:00 +08:00
timlyeee b2a660c463 update comment (#10961) 2022-05-06 17:43:14 +08:00
GengineJS a6a4c7e95c Update the api description of the Ray class (#10967)
* Update the api description of the Ray class
2022-05-06 17:36:04 +08:00
minggo ff17aa3990 Fix comments (#10958)
* fix some comments issue
* add comment for height
2022-05-06 16:40:07 +08:00
pandamicro 6912ea1c62 Update api doc for core/renderer/scene (#10962)
* Update api doc for core/renderer/scenne

* Improve doc
2022-05-06 16:23:39 +08:00
bofeng-song 52b29e0160 add English parameter description for module: Plane (#10957)
* Plane: add English parameter description
2022-05-06 16:14:21 +08:00
Leslie Leigh (李的序) a35051906c Optimize animation doc (#10953)
* Optimize animation doc

* Update
2022-05-06 14:55:12 +08:00
Leslie Leigh (李的序) 5fd18f942b Fix missed links (#10938) 2022-05-06 10:10:36 +08:00
Santy-Wang 23de9188ba V3.5 docs (#10898)
* adjust api docs and delete useless annotation

* delete useless annotation
2022-04-27 15:22:22 +08:00
Santy-Wang 8601de5de0 adjust api docs (#10871)
* adjust api docs

* refine

* add english doc
2022-04-26 19:14:47 +08:00
minggo 84c27e7f71 Merge branch 'v3.5.0' into v3.6.0_merge_v3.5 2022-04-24 13:41:27 +08:00
timlyeee b889de1869 Revert "Return aabb objects back to pool (#10230)" (#10825)
This reverts commit 65fcf6c0b4.
2022-04-21 15:10:33 +08:00
pandamicro 3c97f12eb7 Revert removal deprecation for geometry (#10820) 2022-04-21 12:37:19 +08:00
pandamicro dae6ac508c Fix some API doc issues (#10788)
* Fix some API doc issues

* Add some new zh doc

* remove geometry deprecation since 3.0

* Fix ci
2022-04-20 21:02:58 +08:00
李吉林 f195f7dd2d add spline (#10684)
* add spline
2022-04-11 15:49:20 +08:00
PP d749bbe1c4 remove legacyPublic tag (#10702) 2022-04-08 19:41:20 +08:00
pandamicro f15932c146 Minor module refactor in core/renderer/ (#10643)
* Move render-scene and native-scene

* Minor changes
2022-04-08 13:06:30 +08:00
minggo a6bf766170 Merge branch 'v3.5.0' into v3.6_merge_v3.5 2022-03-29 18:26:40 +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
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
timlyeee 65fcf6c0b4 Return aabb objects back to pool (#10230) 2022-03-03 09:45:42 +08:00
minggo e80251eae6 Codes for native (#9920) 2022-01-11 17:30:18 +08:00
PP fbde8d1e90 use lagacyPublic to marked deprecated public interface (#9859)
* use lagacy-public

* publish beta6

* remove jsDoc tag from constructor

* use legacyPublic

* publish beta 7
2021-12-28 11:48:10 +08:00
PP cc01fad918 support internal interface filter (#9797)
* support interface filter

* publish build-engine@4.2.20-beta.1

* update

* fix other type of statement

* publish @cocos/build-engine 4.2.20

* update lock

* remove `@internal` from constructor documentation

* change to internal_cc tag

* support target tag in interface-filter

* publish  4.2.21-beta.1

* remove `@private_cc` tag

* remove public internal interface

* remove public internal getter setter

* remove public declare internal property

* update

* remove `__editorExtrasTag__`

* remove public internal interface on `js`

* pulish @cocos/build-engine 4.2.21-beta.2

* change tag to `@deprecated_to_user`

* support `@deprecated_to_user`

* publish 4.2.21-beta.3

* finish change request

* change to marked_as_engine_private

* publish 4.2.21-beta.5
2021-12-22 12:55:45 +08:00
李吉林 dde11834bc fix frustum culling (#9330)
Co-authored-by: lijilin <jilin.li@cocos.com>
Co-authored-by: minggo <nudtzxm@gmail.com>
2021-09-17 13:39:31 +08:00
santy-wang c87577b809 Merge branch 'v3.3.1' of https://gitlab.cocos.net/publics/engine into v3.4 2021-09-09 13:33:35 +08:00
troublemaker52025 d90ae9227f Shadow culling for v3.3.1 (#9152)
* pre culling

* update culling

* update

* update

* update

* update

* add jsb

* fix ci

* update

* update fov to netave-engine

* update Shadow Projection

* update merge

* update

* fix ci error

* update

* update

* update

* update

* update

* update

* update shadow default value

* update boundingBox Method

* update _shadowpos

* update

* update

* update

* update

* rename range to shadowRange
2021-09-02 19:10:03 +08:00
江战 e551852933 fix bugs (#9247) 2021-08-25 18:46:15 +08:00
cary 0a1356a816 Compatible with non-ReadOnly parameters. (#9160) 2021-08-15 22:01:41 +08:00
GengineJS 434249da19 Modify the math library (#9163)
* Modify the math library

* fix ci
2021-08-12 10:59:09 +08:00
Leslie Leigh (李的序) 6d10f68ef8 AnimationCurve (#8409)
* AnimationCurve

* Mark curve frame values as uniquelyReferenced

* Adjust modules

* Update

* Manually implements KeyframeCurve.iterator

* TargetPath

* Update

* Fix BUG

* Fix

* Add size track

* Update

* Fix size; unit tests

* fix split animation (#24)

* CCONB animation clip; Remove integer track/channel/curve

* Optimize key shared curves

* Remove keyframecurve.empty

* Exotic animation

* Fix unit tests

* start/end -> left/right

* Curve range rename

* Easing methods

* Fix untyped track

* Fix

* fix upgradUnTypedTracks (#26)

* Rename

.interpMode -> .interpolationMode
RealInterpMode -> RealInterpolationMode
QuaternionInterpMode -> QuaternionInterpolationMode
ExtrapMode -> ExtrapolationMode
.preExtrap -> .preExtrapolation
.postExtrap -> .postExtrapolation
QuaternionCurve -> QuatCurve
QuaternionKeyframeValue -> QuatKeyframeValue

* Update pre/post extrap

* Optimize-1

* Optimize-2

* Eliminate for-of

* Mark deprecateds

* Hide RealKeyframeValue/QuatKeyframeValue Constructor

* Fix quat keyframe value name

* Error ID

* Fix RealKeyframeValue editor extras

* Elimanate for-of forEach

Co-authored-by: zheng han <sunstar198941@gmail.com>
2021-07-23 11:26:55 +08:00
jiaxin.lai 0c321baba6 fix obb overlap with obb (#8928)
* fix obb overlap with obb

* fix lints

* fix lints
2021-07-08 22:26:05 +08:00