李吉林
f195f7dd2d
add spline ( #10684 )
...
* add spline
2022-04-11 15:49:20 +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
GengineJS
45b8cc6d03
[Modify] AABB shared data ( #8884 )
2021-06-28 15:31:50 +08:00
GengineJS
3b911a6554
[Add] native renderScene update ( #8863 )
2021-06-22 16:41:26 +08:00
minggo
72490d8236
Revert "[add] native renderScene update ( #8781 )" ( #8847 )
...
This reverts commit 2c6fda1e3e .
2021-06-18 18:13:10 +08:00
GengineJS
2c6fda1e3e
[add] native renderScene update ( #8781 )
2021-06-18 17:34:17 +08:00
cary
4305e4c132
Modify the memory pool and remove the deprecated code. ( #8776 )
2021-06-10 09:06:35 +08:00
cary
f37099c294
Change the parameter of the math library to Readonly. ( #8765 )
...
* Change the parameter of the math library to Readonly.
* fix ci
* fix ci
* fix ci
* fix ci
* fix ci
* delete pool
2021-06-04 17:36:15 +08:00
GengineJS
2315b4d2dd
Pipeline memory pool removed ( #8738 )
2021-06-02 17:23:02 +08:00
Leslie Leigh (李的序)
9bd9baac12
Eslint autofix all ( #8108 )
...
* Eslint autofix all
* Manual fix
2021-01-09 11:41:10 +08:00
Santy-Wang
ad4bff3988
Restructure Module ( #7968 )
...
* module restructure
* refine
* restructure module
* merge
* revert
* fix ci
* update import path of unit-test
* split 2d and ui
* add more module
* change audio adapter
* rename primitive
* config wechat plugin
* merge
* add category config
* merge
* merge
2020-12-24 19:07:26 +08:00
cary
db5eafc4a9
Fix the problem of inaccurate calculation of curve interpolation. ( #7994 )
...
* Fix the problem of inaccurate calculation of curve interpolation.
* fix eslint error
2020-12-22 10:31:37 +08:00
zheng han
720d372bf7
3d rename class under geometry namespace ( #7816 )
2020-11-19 11:58:33 +08:00
cary
1221a88979
Fix the WrapMode issue of particle curves. ( #7757 )
2020-11-11 15:54:35 +08:00
pandamicro
b162e21a93
Update license and API language declaration ( #7750 )
...
* Update licenses
* Update license for audio
* Update license for core/3d
* Update license for animation, assets, asset-manager, components, data
* update license for event, geometry, gfx
* update license for core modules
math, memop, pipeline, platform, primitive, renderer, scene-graph, utils, value-types
* Update license for core
* Update license for particle and particle-2d
* Update license for particle part2
* Update license for physics and physics-2d
* Update license for all modules in cocos
* Update license for exports
* Fix API doc language declaration
2020-11-10 17:36:31 +08:00
Yun Hsiao Wu
32598c25cb
switch to eslint ( #7727 )
...
* switch to eslint
* eslint: extends airbnb
2020-11-09 10:19:12 +08:00
cary
1610446ddc
Fix the error of getter override. ( #7725 )
...
* Fix the error of getter override.
* delete property
2020-11-07 11:33:38 +08:00
pandamicro
3068956648
Refactor gfx module naming convention ( #7663 )
...
* Remove GFX prefix in gfx module
* Full deprecation for old GFX APIs
* export gfx module
* Fix issues and make deprecated exports backward compatible
* Adaptation in engine modules for gfx
* Fix ci
* fix ci
2020-11-02 09:49:50 +08:00
Leslie Leigh (李的序)
f99240f664
@cocos/build-engine: add option to remove deprecated features ( #7603 )
2020-10-27 18:28:58 +08:00
coulsonwang
f875a56e02
add sphere and spot light handle ( #7587 )
2020-10-26 15:25:21 +08:00
pandamicro
6101d772a2
Merge remote-tracking branch 'origin/3d-v1.2' into 3d
...
# Conflicts:
# EngineErrorMap.md
# cocos/core/3d/builtin/effects.ts
# cocos/core/data/decorators/property.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/forward/scene-culling.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/shadows.ts
# cocos/core/renderer/ui/mesh-buffer.ts
# cocos/core/renderer/ui/ui-vertex-format.ts
# cocos/core/scene-graph/scene-globals.ts
# cocos/terrain/terrain.ts
# cocos/ui/assembler/graphics/webgl/graphics-assembler.ts
# cocos/ui/components/graphics.ts
# editor/assets/default_prefab/3d/Capsule.prefab.meta
# editor/assets/default_prefab/3d/Cone.prefab.meta
# editor/assets/default_prefab/3d/Cube.prefab.meta
# editor/assets/default_prefab/3d/Cylinder.prefab.meta
# editor/assets/default_prefab/3d/Plane.prefab.meta
# editor/assets/default_prefab/3d/Quad.prefab.meta
# editor/assets/default_prefab/3d/Sphere.prefab.meta
# editor/assets/default_prefab/3d/Torus.prefab.meta
# editor/assets/default_prefab/Camera.prefab.meta
# editor/assets/default_prefab/Terrain.prefab.meta
# editor/assets/default_prefab/effects/Particle System.prefab.meta
# editor/assets/default_prefab/light/Directional Light.prefab.meta
# editor/assets/default_prefab/light/Sphere Light.prefab.meta
# editor/assets/default_prefab/light/Spot Light.prefab.meta
# editor/assets/default_prefab/ui/Button.prefab.meta
# editor/assets/default_prefab/ui/Canvas.prefab.meta
# editor/assets/default_prefab/ui/EditBox.prefab.meta
# editor/assets/default_prefab/ui/Label.prefab.meta
# editor/assets/default_prefab/ui/Layout.prefab.meta
# editor/assets/default_prefab/ui/Mask.prefab.meta
# editor/assets/default_prefab/ui/ProgressBar.prefab.meta
# editor/assets/default_prefab/ui/ScrollView.prefab.meta
# editor/assets/default_prefab/ui/Slider.prefab.meta
# editor/assets/default_prefab/ui/Sprite.prefab.meta
# editor/assets/default_prefab/ui/Toggle.prefab.meta
# editor/assets/default_prefab/ui/ToggleContainer.prefab.meta
# editor/assets/default_prefab/ui/Widget.prefab.meta
2020-10-21 18:35:11 +08:00
hujf
4d90d5f674
Update distance.ts ( #7558 )
...
碰撞检测有问题
2020-10-21 16:08:49 +08:00
Yun Hsiao Wu
d61330ee03
discrete descriptor set layout bindings ( #7536 )
...
* allow discrete descriptor set layout bindings
* specialize local DS layout
* fix binding indices mapping
* fix shadows
* UI: update buffer after device.acquire
* update shadow phase name
* ext blend minmax support
* fix splash screen on native
2020-10-20 15:08:17 +08:00
coulsonwang
af31f258ee
fix sphere invalid buffer pool handle ( #7529 )
2020-10-15 10:29:44 +08:00
troublemaker52025
7a697eeadc
fix sphere.margeAABB bug ( #7518 )
...
* fix sphere.margeAABB bug && Optimize automatic shadow calculation
* Even if the obstruction is not in the field of view, the shadow is still visible
* optimization,and avoid using sphere.radius < 0
* Avoid creating aabb repeatedly
* update
2020-10-14 11:20:38 +08:00
coulsonwang
35a165e8ca
add SphereView to memory pool ( #7484 )
2020-10-12 15:05:15 +08:00
pandamicro
7481303268
Merge branch '3d-v1.2' into 3d
...
# Conflicts:
# cocos/core/3d/framework/camera-component.ts
# cocos/core/assets/mesh.ts
# cocos/core/components/component-event-handler.ts
# cocos/core/game.ts
# cocos/core/gfx/webgl/webgl-commands.ts
# cocos/core/gfx/webgl2/webgl2-commands.ts
# cocos/core/pipeline/define.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/instanced-buffer.ts
# cocos/core/pipeline/render-pipeline.ts
# cocos/core/pipeline/shadow/shadow-flow.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/shadows.ts
# cocos/core/renderer/scene/skybox.ts
# cocos/core/splash-screen.ts
# cocos/ui/components/button.ts
# cocos/ui/components/editbox/edit-box-impl.ts
# editor/assets/primitives.fbx
# package-lock.json
# package.json
2020-09-30 18:01:33 +08:00
ChiaNing
15a1806d18
API doc format change ( #7456 )
2020-09-28 16:52:52 +08:00
Yun Hsiao Wu
39eac4646f
texture unit opt ( #7298 )
...
* texture unit opt
* type checks
* circular ref fix
* plane as vec4 compatible
* cache IA cross render passes
2020-09-04 14:07:49 +08:00
pandamicro
3240dba206
Component rename for new standard and 2d compatibility ( #7103 )
...
* Rename ui related components
* Rename files
* Remove Useless errors
* Fix sealed names
* Fix sealed global variables
* Fix circular reference
* Refactor more component names
* Rename particle and animation related component
* export scene and models sub module in renderer
* Rename ModelComponents to Model
* Refactor LightComponents to Light
* Refactor CameraComponent to Camera
* Refactor ConstraintComponents to Constraint and rename physics comps
* Cleanup and fix issues
* Small fixes
* Refactor Model to MeshRenderer
* Final touch
* Fix data class export
* Better deprecation to cover all old usage
* Simpler and better deprecation with js.setClassAlias
* Fix ci
* Fix editor issue
2020-09-02 15:31:49 +08:00
troublemaker52025
c99525cb7f
Repair shadow matrix for 3d-v1.2 ( #7223 )
...
* calculate sphere
* calculate shadowCamera matirx
* update
* add pcf shadow
* update
* Modify shadowUI style
* Solve the error
* use else if
* add pcf sampler to x25 times
2020-08-28 11:14:16 +08:00
cary
c6da0c9054
Resave particle system prefab. ( #7186 )
2020-08-20 15:21:31 +08:00
cary
79f0f3fd0a
Keep the WrapMode of curve and animation consistent. ( #7133 )
2020-08-13 22:27:58 +08:00
Yun Hsiao Wu
dfc3d141f2
GFX Descriptor Set ( #7101 )
...
* gfx: descriptor sets
* gfx: descriptor set, singular
* better structure
* adapt upper layers: first pass
finally all compiler errors cleared.
OKAY IT'S HAPPENING EVERYBODY STAY THE ****ING CALM
* adapt upper layers: second pass
THERE AND BACK AGAIN
* unified light pass & shadow shader
* gfx: descriptor set & pipeline layout
* light pass: better structure
* light pass: dynamic uniform
* even more type checking for memory pools
* Fix particleSystem and lineComponent.
* delete comment
* guard pool init param
* Fix trail module error.
* delete space
* light pass: instancing & batching support
* don't polyfill gfx stuff inside EffectAsset
* better light pass structure
* fix spot light culling
Co-authored-by: caryliu <caryliu1999@gmail.com >
2020-08-13 18:21:15 +08:00
jiaxin.lai
65b0478c69
v1.2 new physics features ( #7037 )
...
* 3d v1.1.1-exp physics expriment (#6787 )
* activate when not awake (#6781 )
* activate when not awake
* cannon too
* off event listener when onDestroy
* add clearVelocity & clearForces
* add CC_CONFIG to ammo\cannon
* add convex mesh & reuse mesh
* cache enable false by default
* terrain collider
* cone collider
* fix scale of ammo box & sphere
* simple collider
* add worldBounds & boundingSphere to collider
* add clear*** to rigid body
* enhance physics material
* enhance event
* plane collider
* stash
* tweaks
* update @cocos/ammo to v1.0.7-beta.1
* typing
* enchance update shape dynamic
* absolute scale cannon-box
* expose allowsleep
* fix warning of generate declaration
* remove physics_builtin
* DO NOT MERGE
* Better reuse
* Correct construct and deconstruct
* avoid ammo memory leaks
* minor refactor contact data
* fix cannon terrain tileSize
* stash
* optimize auto wakeup
* [Ammo] fix update by re add
* 400~
* overwrite ArrayCollisionMatrix.prototype.reset
* Export enum by namespace
* stash
* fix remove child shape of btCompound
* fix event with CCD
* dynamic instantiate
* STASH
* add group to rigid body
* update attachedRigidBody of collider in editor
* stash physics config
* tweaks of ammo config
* stash
* stash
* collision matrix
* stash
* rename deltaTime to fixedTimeStep
* group mask collider
* allow get mask
* set default group to Layers.Enum.DEFAULT
* add group change fallback
* cannon collision matrix
* fix
* update @cocos/ammo to 1.0.7-beta.2
* more prop
* fix
* disable on 1.1.1-exp
* tweaks
* fix circular dependency
* tweaks
* rename simple to simplex
* rename collider -> colliders
* stash
* ammo p2p
* hinge constraint
* adapt cannon p2p pivotB
* ammo p2p setPivotB
* constraint
* tweaks
* remove macro of physics
* refactor physics selector
* import ammo from ammo-instantiated
* update @cocos/ammo
* update @cocos/cannon
2020-08-03 11:00:07 +08:00