Commit Graph

46 Commits

Author SHA1 Message Date
singlecoder
1efbfe256f fix: fix ray and plane when ray origin is on the plane and parallel (#2924) 2026-03-16 22:00:03 +08:00
AZhan
08acb16505 BoundingBox support toJson (#2667)
* fix: boundingbox tojson
2025-05-19 19:43:36 +08:00
zhuxudong
ae3dc4a655 Color api rename (#2607)
* refactor: color api change
2025-04-09 17:35:59 +08:00
zhuxudong
958265a93f refactor: color api change (#2606) 2025-04-09 16:50:11 +08:00
zhuxudong
365bac80b4 Support Texture hardware sRGB encoding and decoding color space (#2593)
* feat(texture): support hardware sRGB encoding and decoding
2025-04-09 14:15:36 +08:00
singlecoder
8703a2dc4f Support GUI (#2375)
* feat(2d): support GUI
2025-01-09 19:17:21 +08:00
ChenMo
63a5662f56 Optimize the writing of function call _onValueChanged (#2497)
* refactor: optimize the writing of function call `_onValueChanged`
2025-01-09 17:40:31 +08:00
singlecoder
fc35b0243b Add function copy to vector link object for vector (#2428)
* feat(math): add copy to vector link object for vector
2024-11-07 16:16:50 +08:00
AZhan
396cb8e75f fix: Color.toGamma and Color.toLinear listener error 2024-09-26 16:06:43 +08:00
zhuxudong
a69eb60495 Support post process (#2129)
* feat: support bloom shader

* feat: support bloom shader
2024-07-11 17:57:51 +08:00
AZhan
165d7ab0a8 fix: quaternion to euler bug (#2073) 2024-04-15 11:38:27 +08:00
AZhan
7f76e9c92c Adds protection for value infinity in BoundingBox (#1892)
* fix: bounding box adds protection for value infinity
2023-12-04 14:48:48 +08:00
AZhan
ee062fa018 Fix quaternion to euler bug (#1851)
* fix: quaternion to euler bug
2023-10-31 17:26:48 +08:00
AZhan
25d010db14 Fix matrix decompose is wrong (#1822) 2023-10-18 16:47:34 +08:00
大聪明
5d7d8dc41a Add copyToArray and copyFromArray to Color (#1746)
* feat: add `copyToArray` and `copyFromArray`

---------

Co-authored-by: GuoLei1990 <gl3336563@163.com>
2023-09-12 21:21:17 +08:00
ChenMo
a1ce393fc8 Add new particle renderer (#1682)
* feat: add new particle renderer
2023-09-07 14:47:58 +08:00
AZhan
26dbdf846a Add value change listener for Sprite (#1622)
* feat: add value changelistener for sprite
2023-06-27 17:45:19 +08:00
Hu Song
08aaa778f3 Add toJSON in base math class (#1380)
* feat: add toJSON in base math class
2023-02-21 15:31:48 +08:00
ChenMo
232cef0bc9 Update CollisionUtil.ts 2023-02-01 13:14:16 +08:00
HypnosNova
7ac9dc7ed9 Add frustumContainsPoint to CollisionUtil (#1340)
* feat: add `frustumContainsPoint` to  `CollisionUtil`
2023-02-01 13:12:07 +08:00
ChenMo
f7116c13e6 Improve skinned mesh renderer local bounds compute (#1275)
* refactor: improve skinned mesh renderer local bounds compute
2022-12-19 15:19:37 +08:00
ChenMo
3f9de0bfb3 Fix quaternion to euler error (#1233)
* fix:  quaternion to euler error
2022-12-01 14:13:19 +08:00
ChenMo
57ea0f8c8a Enhanced shadows and fixed shadow and math related bugs (#1156)
* fix: BoundingFrustum cull plane('calculateFromMatrix') inverse bug, the plane normal should towards the inside of the frustum, not outward
* fix: CollisionUtil.intersectsFrustumAndBoxand CollisionUtil.frustumContainsBox, befor logic is strange with disjoint because of front, not back
* feat: add shadowDistance property, shadow quality can be optimized in large scenes
* fix: shadow cull planes generate bug due to the confusion of the plane rules above
* fix: shadow near plane cull bug not clamp to min ndc z by add max(positionCS.z, -1.0) in shadow caster shader
* fix: shadowMode set to None invalid error cause by not disable shadow macro
* feat: move shadow config from engine to scene, i think shadow quality config should per scene
* feat: modify receiveShadow and castShadow to true in Renderer, there is a master switch in the light
* fix: shadow delay rendering 1 frame bug
2022-11-07 13:12:06 +08:00
ChenMo
b37c04382c Enhance SkinnedMeshRenderer bounds and fix MeshRenderer bounds update bug (#1132)
* feat: enhance `SkinnedMeshRenderer` bounds
* fix: skinnedMeshRenderer and meshRenderer update bug
2022-11-01 17:54:03 +08:00
luzhuang
58b5d7437a AnimationClip support any target (#1009)
* feat: `AnimationClip` support any  target
2022-10-10 17:38:26 +08:00
yangfengzzz
71eb8cbe90 Add cascaded shadow map (#985)
* feat: add cascaded shadow map
2022-09-07 18:21:07 +08:00
AZhan
186ace804f Add SpriteRenderer drawMode property(support simple and sliced) (#828)
* feat: add sprite draw mode(support simple and sliced)
2022-07-01 18:36:20 +08:00
ChenMo
0e26e2ca7c Refactor cloneTo to copyFrom for math library and rename setValue to set (#844)
* feat: refactor `cloneTo` to `copyFrom` for math library
* feat: rename `setValue` to `set` for math library
2022-06-28 11:18:30 +08:00
ChenMo
9c042e6c6e fix: rotation not normalized bug (#693) 2022-03-16 11:32:31 +08:00
ChenMo
cdb474db67 Fix transform bug (#678)
* fix: transform
2022-03-09 17:23:46 +08:00
ChenMo
1f621f1a4c Optimize the use of Transform API (#638)
* refactor: opt transform API
2022-03-02 16:42:22 +08:00
GuoLei1990
58c91b4a06 refactor: opt viewportToWorldPoint and screenToWorldPoint 2021-11-29 19:49:46 +08:00
yangfengzzz
9492ddc607 Lite Physics Package (#522)
* feat: add physics lite package
2021-10-09 13:36:31 +08:00
yangfengzzz
986cbc45e2 feat: solve math design circular dependency (#488)
* feat: solve math design cirular dependency
2021-09-07 13:41:22 +08:00
zhuxudong
908a0fe6a6 Feat: support spherical harmonic (#392)
* feat: support spherical harmonics
2021-08-06 15:49:53 +08:00
yangfengzzz
3490059b2b Fix Typos (#410)
* fix: fix typos
2021-07-30 15:26:44 +08:00
yangfengzzz
a6aedb94b0 Fix Typos (#409)
* fix: typos fixed
2021-07-30 14:43:09 +08:00
zhuxudong
46c41672c5 feat: add some commonly used methods for Color(#385) 2021-07-15 15:42:08 +08:00
GuoLei1990
7938215f72 Merge branch 'dev/0.4' 2021-06-10 18:52:48 +08:00
Hu Song
3dba8b5091 style: fix prettier error (#310) 2021-05-31 15:33:17 +08:00
singlecoder
f92071404b feat: add lerp api for Matrix and Matrix3x3 (#268) 2021-05-14 11:46:32 +08:00
singlecoder
f820557ad4 fix: fix comment error in BoundingBox (#269)
* fix(comment): fix comment in BoundingBox
2021-05-10 12:12:47 +08:00
singlecoder
1f513d2cc2 refactor: opt code for Vector (#266) 2021-05-07 11:38:17 +08:00
singlecoder
7c1bd5876d fix: raycast error (#265) 2021-05-06 20:31:13 +08:00
Hu Song
1dab2dd93d Merge Dev/0.3 to Main (#154)
Merge dev/0.3 to main branch. ain branch has been achived in 0.2
2021-04-02 15:22:20 +08:00
GuoLei1990
deb458685a Init code. 2021-01-25 14:13:04 +08:00