zheng han
720d372bf7
3d rename class under geometry namespace ( #7816 )
2020-11-19 11:58:33 +08:00
Yun Hsiao Wu
32598c25cb
switch to eslint ( #7727 )
...
* switch to eslint
* eslint: extends airbnb
2020-11-09 10:19:12 +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
Jare Guo
0319477911
fix decorator warning of ValueTypes ( #7553 )
...
* fix decorator warning of ValueTypes (sync #6285 )
* refresh copyright
2020-10-21 16:31:41 +08:00
Jare Guo
2cdc3d1b8b
Refine EngineErrorMap and sync 2D changes ( #7542 )
...
* refine Color.toCSS/toHex (sync #6216 #6207 )
* refine component.resetInEditor (sync #6244 )
* Revert "Improve error maps (#5527 )"
This reverts commit 224cea23ab .
# Conflicts:
# EngineErrorMap.md
# cocos/core/assets/sprite-frame.ts
* Revert "Component rename for new standard and 2d compatibility (#7103 )"
This reverts commit 3240dba206 .
# Conflicts:
# EngineErrorMap.md
* Remove some old deprecations (sync #6271 )
2020-10-16 10:55:32 +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
Yun Hsiao Wu
f7ddf5a041
fix camera.clearColor ( #7462 )
2020-09-28 17:05:46 +08:00
ChiaNing
15a1806d18
API doc format change ( #7456 )
2020-09-28 16:52:52 +08:00
Yun Hsiao Wu
c2e3de2caa
GFX: public interfaces ( #7444 )
...
* public interfaces: render pass, IA, PSO
* public interfaces: Queue, Sampler, Shader, DSLayout
* public interfaces: DS, CB, Texture, Buffer, Device
* public interfaces: other supporting structs
* fix framebuffer state cache
2020-09-28 11:32:47 +08:00
troublemaker52025
76ad9d115e
fix camera disable error for v1.2 ( #7376 )
...
* fix camera disable error
* update
* Revert "update"
This reverts commit 0af3eabdddc55932b8e69ff8416de240bea82135.
* delete camera-Component onSceneChange()
2020-09-15 14:39:34 +08:00
Yun Hsiao Wu
331ec76790
fix blend target ( #7308 )
...
* fix blend target
* GFXColor now compatible with Color
2020-09-04 15:04:09 +08:00
pandamicro
3539945cf4
Merge remote-tracking branch 'origin/3d-v1.2' into merge1.2
...
# Conflicts:
# tests/general/sealed-global-variables.json
2020-09-03 11:30:28 +08:00
pandamicro
bfc472f2db
Fix some issues
2020-09-02 19:54:25 +08:00
Leslie Leigh (李的序)
4e56acb851
Fix missed cc.* ( #7282 )
...
* Fix missed `cc.*`
* Fix
2020-09-02 19:04:38 +08:00
pandamicro
1d2a82d957
Merge branch '3d-v1.2' into merge1.2
...
# Conflicts:
# cocos/core/3d/framework/mesh-renderer.ts
# cocos/core/components/ui-base/ui-renderable.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/forward/scene-culling.ts
# cocos/core/pipeline/render-additive-light-queue.ts
# cocos/core/pipeline/render-stage.ts
# cocos/core/pipeline/shadow/shadow-flow.ts
# cocos/core/renderer/core/memory-pools.ts
# cocos/core/renderer/scene/camera.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/render-scene.ts
# cocos/core/root.ts
# cocos/particle/billboard.ts
# cocos/terrain/terrain.ts
# cocos/ui/components/button.ts
# package-lock.json
# package.json
# tests/general/sealed-global-variables.json
2020-09-02 18:39:09 +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
Leslie Leigh (李的序)
bc5b531191
Add decorator @editable @serializable ( #7178 )
2020-09-02 11:44:12 +08:00
minggo
909fde2dc9
move RenderWindow to renderer/core ( #7216 )
2020-08-25 14:35:40 +08:00
Leslie Leigh (李的序)
4f2eff842d
Full optimize decorators ( #7166 )
...
* Full optimize decorators
* Conflicts
* Rename immutable -> readOnly
* Update
* Update
* Update
2020-08-18 19:10:34 +08:00
JoneLau
9740818fda
modify description ( #7106 )
2020-08-13 11:53:16 +08:00
SB
f0882d6272
Optimize some documents
2020-08-06 17:23:06 +08:00
Leslie Leigh (李的序)
26df6fb1c0
Optimize editor decorators ( #7002 )
2020-08-05 10:36:52 +08:00
Yun Hsiao Wu
2777122b1f
refactor render texture ( #6942 )
2020-07-10 14:23:22 +08:00
Leslie Leigh (李的序)
9b2b7779a9
Type-only namespaces should be 'declare' ( #6947 )
2020-07-03 18:45:22 +08:00
pandamicro
b2830f5271
Merge remote-tracking branch 'origin/3d-v1.1.1' into 3d
...
# Conflicts:
# cocos/core/3d/builtin/effects.ts
# cocos/core/3d/framework/light-component.ts
# cocos/core/3d/framework/model-component.ts
# cocos/core/animation/animation-state.ts
# cocos/core/assets/image-asset.ts
# cocos/core/data/object.ts
# cocos/core/event/callbacks-invoker.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/platform/event-manager/events.ts
# cocos/core/primitive/primitive.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/render-scene.ts
# cocos/core/root.ts
# cocos/core/scene-graph/node-event-processor.ts
# cocos/core/splash-screen-webgl.ts
# cocos/particle/index.ts
# cocos/terrain/terrain.ts
# exports/base.ts
2020-06-17 14:47:36 +08:00
Yun Hsiao Wu
f70f2dd6e3
move window out from GFX ( #6844 )
...
* window info accepts render pass
* move window out from GFX
* update effects
* fix formating
* match shader location to IA attributes
2020-06-12 10:56:47 +08:00
Yun Hsiao Wu
9ca7c2ce6e
directional light stack ( #6813 )
...
* directional light stack
* hasChangedFlags: bitwise or instead of direct assignment
2020-06-03 15:02:57 +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
Leslie Leigh (李的序)
2c1ef7941f
Improve typing ( #6751 )
2020-05-27 11:03:56 +08:00
Leslie Leigh (李的序)
9306b0ba8f
Allow some static member of class to be type ( #6724 )
2020-05-22 18:03: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
Yun Hsiao Wu
48f9321cf6
better camera doc ( #6588 )
2020-04-21 16:12:17 +08:00
Yun Hsiao Wu
fe46a6c973
should trigger camera matrix update onEnable ( #6561 )
2020-04-15 17:02:47 +08:00
Yun Hsiao Wu
3bedccdeaa
fix skinning model type when not enabled immediately ( #6542 )
...
* fix skinning model type update
* unbatch util
* camera property display order
* fix model type order
2020-04-14 12:47:58 +08:00
Yun Hsiao Wu
34686586b1
update skybox effect ( #6509 )
2020-04-08 16:33:13 +08:00
Yun Hsiao Wu
d9ebca6ed7
should update FOV when set FOV axis ( #6503 )
2020-04-07 18:13:49 +08:00
Yun Hsiao Wu
89a43b50e8
camera FOV axis ( #6501 )
...
* fov axis
* deprecation
2020-04-07 17:49:52 +08:00
黄森斌
5aaae03612
components add @help for editor show document url ( #6428 )
2020-03-26 18:42:08 +08:00
jiaxin.lai
216cb739b4
fix set of color & clear color ( #6383 )
...
* fix set of color & clear color
* add protect
* tweaks
2020-03-20 19:16:42 +08:00
Yun Hsiao Wu
df6b7b5e60
better joint texture layout ( #6372 )
...
* better joint texture layout
* still need to update world matrix when batching
* shouldn't update instancing attributes for implant psos
* fix copy framebuffer to buffer
* fix texture multiple upload
* wording
2020-03-20 18:26:29 +08:00
Yun Hsiao Wu
45d182308b
GPU instancing support ( #6300 )
...
* instancing works
* misc opts
* material.setproperty typing
* baked skinning model instancing works
* fix isNormalized
* custom chunk rules injection framework
* profiler instance count
* seperate custom joint textures
* fix joint mapped buffers
* WebGL 1 doesn't allow int attributes
* should rebuild instances after pso change
* set instance attribute
* constants naming
2020-03-12 10:21:19 +08:00
Leslie Leigh (李的序)
284aa38d25
Build time constants ( #6256 )
...
* consts
* Bump @cocos/build-engine version
* Fix
* Upload @cocos/build-engine
* Rm scripts/build-engine/.gitignore
2020-03-11 14:05:22 +08:00
pandamicro
b44dcc1115
Merge pull request #6220 from cocos-creator/3d-v1.0.4
...
Merge 3d v1.0.4
2020-02-25 10:12:28 +08:00
Yun Hsiao Wu
c1c1a82946
API docs ( #6174 )
...
* API docs
* wording & tooltip
* update material
2020-02-21 10:20:29 +08:00
jiaxin.lai
576be92838
rename geom-utils to geometry ( #6161 )
2020-02-13 10:08:57 +08:00
JoneLau
a7a8cdbd05
[BUG] support api that have not yet been removed ( #6097 )
2020-01-14 15:53:52 +08:00
Yun Hsiao Wu
e75b394008
fix convertToUINode ( #6085 )
2020-01-12 15:09:32 +08:00
JoneLau
ea700afb50
fix coordinate replace function ( #6025 )
...
save
2020-01-04 11:22:14 +08:00
JoneLau
12aca7d4a4
convert coordinate from 3d camera to ui ( #5896 )
2019-12-19 15:05:37 +08:00
pandamicro
3bffb3f48a
Merge remote-tracking branch 'origin/3d' into 3d-v1.0.2
...
# Conflicts:
# cocos/core/pipeline/render-view.ts
2019-12-12 16:59:17 +08:00