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
pandamicro
9fd32ee805
Merge branch '3d-v1.1.1' into 3d
...
# Conflicts:
# cocos/core/3d/builtin/effects.ts
# cocos/core/director.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/render-pipeline.ts
# cocos/core/pipeline/render-queue.ts
# cocos/core/pipeline/render-view.ts
# cocos/core/splash-screen-webgl.ts
2020-07-06 15:58:46 +08:00
jiaxin.lai
15db2ff71e
ray-model return distance in world space ( #6892 )
...
* optimize & return distance in world space
* tweaks
2020-06-17 17:48:50 +08:00
SijieWang
a9f3969245
Merge remote-tracking branch 'cocos-for-editor/3d-v1.1.1' into 3d
...
# Conflicts:
# cocos/audio/assets/clip.ts
# cocos/core/3d/builtin/effects.ts
# cocos/core/3d/framework/batched-skinning-model-component.ts
# cocos/core/3d/framework/editor-camera-component.ts
# cocos/core/3d/framework/index.ts
# cocos/core/3d/framework/model-component.ts
# cocos/core/animation/animation-clip.ts
# cocos/core/animation/animation-manager.ts
# cocos/core/animation/animation-state.ts
# cocos/core/animation/skeletal-animation-component.ts
# cocos/core/animation/skeletal-animation-state.ts
# cocos/core/assets/mesh.ts
# cocos/core/assets/simple-texture.ts
# cocos/core/assets/sprite-frame.ts
# cocos/core/assets/texture-base.ts
# cocos/core/data/class-decorator.ts
# cocos/core/data/instantiate.ts
# cocos/core/event/event-target.ts
# cocos/core/game.ts
# cocos/core/load-pipeline/CCLoader.ts
# cocos/core/load-pipeline/plist-parser.ts
# cocos/core/load-pipeline/unpackers.ts
# cocos/core/load-pipeline/url.ts
# cocos/core/math/deprecated.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/scene-graph/base-node.ts
# cocos/core/scene-graph/scene-globals.ts
# cocos/terrain/terrain.ts
# predefine.ts
2020-06-03 13:25:42 +08:00
jiaxin.lai
a0a7cc2f0b
fix vertex index of ray model ( #6809 )
...
* fix vertex index
* tweaks
2020-06-02 19:59:09 +08:00
jiaxin.lai
7079d5e1af
Fix ray_subMesh/mesh/model ( #6801 )
...
* fix ray_subMesh/mesh/model
* tweaks
* tweaks
* tweaks
* fix ray_model
* tweaks
* tweaks
* docs
* tweaks
2020-06-02 12:54:05 +08:00
Leslie Leigh (李的序)
5e2adea787
Rename internal usages of global variable 'cc' into 'legacyGlobalExpo… ( #6680 )
...
* Rename internal usages of global variable 'cc' into 'legacyGlobalExports'
* Fix CI
* Rename 'legacyGlobalExports' -> 'legacyCC'
2020-05-14 15:46:45 +08:00
ChiaNing
20346a8d1e
API hidden ( #6626 )
2020-04-28 14:30:21 +08:00
jiaxin.lai
4aac1be3f6
add ray_mesh to intersect ( #6317 )
...
* stash
* add ray_mesh
* stash
* ceche geometric info at runtime
* add ray_mesh & ray_model
* remove redundant data
* tweaks
* renaming
2020-03-17 16:54:57 +08:00
jiaxin.lai
c889dee142
geometry en api ( #6283 )
2020-03-11 16:08:49 +08:00
jiaxin.lai
576be92838
rename geom-utils to geometry ( #6161 )
2020-02-13 10:08:57 +08:00