Commit Graph

36 Commits

Author SHA1 Message Date
徐兵 3dc654cbcd move reflection-probe to 3d module (#13711)
* add validate

* fix switch probe error

* export  reflectionProbe

* remove export reflectionProbeManager

* export
2022-12-08 16:31:46 +08:00
徐兵 6d9c0c8f93 add planar reflection culling and refresh models after delete probe (#13671) 2022-12-07 15:12:20 +08:00
bofeng-song 19b63ca762 move lod to 3d module (#13704)
* move lod to 3d module
2022-12-07 14:09:54 +08:00
徐兵 ecb00f7631 fix add reflection probe report error for native scene (#13688)
* add validate

* fix switch probe error
2022-12-06 19:05:49 +08:00
Knox a3d924e5e5 Repair the problem of non-standardized property settings (#13667)
* refine code, add default values and update types
2022-12-06 11:17:22 +08:00
徐兵 1305534329 optimize probe refresh in editor mode (#13620) 2022-12-05 18:35:16 +08:00
徐兵 68a89458ff optimize planar reflection culling (#13576) 2022-11-29 17:05:21 +08:00
bofeng-song b7118ecd32 fix lod can not be construct after reset lodGroup by editor's panel (#13548)
(cherry picked from commit 20a0e449aeaef8aabb5d167c018fc7991d1fc684)
2022-11-24 21:49:35 +08:00
bofeng-song 3b00de9cd2 fix lod's objectSize can not be auto calculated (#13545)
* fix lod's objectSize can not be auto calculated

(cherry picked from commit 319da00ffd58e6a0847904d70cb2661a0b31ec22)
2022-11-24 18:21:05 +08:00
徐兵 bbc720d67b clear the baked result of the preview sphere (#13504) 2022-11-23 14:46:22 +08:00
徐兵 fe50911874 fix editor build error (#13500) 2022-11-23 10:51:11 +08:00
bofeng-song ecb6e7d24a Fix the wrong value of the localBoundaryCenter attribute when the value deserialized from file (#13489)
(cherry picked from commit af27d1f01558739f73395ff6767434cbe5eb99d0)
2022-11-23 10:43:55 +08:00
徐兵 d9eab1e8d6 add code comment and fix shader compiling error (#13478) 2022-11-23 00:16:37 +08:00
徐兵 0f8d8cd3d9 reflection probe support instancing and moving update (#13426) 2022-11-22 10:16:55 +08:00
bofeng-song e02753e5bd modify default screen occupation (#13448) 2022-11-21 11:57:44 +08:00
zhangxin 4afe6366ff remember last size of reflection-probe (#13439) 2022-11-18 19:18:07 +08:00
bofeng-song 702b85e9b7 fix wrong objectSize calculated (#13428)
* fix wrong objectSize calculated

* refine
2022-11-18 11:19:39 +08:00
徐兵 b2b0d09e1d reflection probe planar reflection for native engine (#13281) 2022-11-14 17:37:11 +08:00
zhangxin bc9b41f0e0 Update reflection probe (#13333)
* [editor]update reflection-probe

update reflection-probe
- update reflection-probe gizmo icon
- update inspector of mesh renderer
- update inspector of reflection-probe
- reflection probe 's size will be readonly

* Update reflection-probe.ts

* eslint
2022-11-10 22:15:40 +08:00
changhua 85fa1eaf53 [3.7.0] fix lodGroup component and update inspector lod panel (#13304)
* fix lodGroup component; update lod inspector panel;

* update review
2022-11-10 21:03:58 +08:00
徐兵 4a3415ee39 fix reflection probe cube face orientation and some optimization (#13249) 2022-11-07 19:00:10 +08:00
minggo 7294de16f6 Adjust core import (#13230)
* fix import style of core module
* fix decorator usage
2022-11-07 15:01:31 +08:00
changhua 392980a909 [Optimize] update lod inspector panel (#13216)
* update lod inspector panel to fix screen size and optimization panel tips

* update

* if default object size is 0,run recalculateBounds
2022-11-02 21:33:30 +08:00
徐兵 363dc8ec3a [fix] compile error in cocos runtime and optimize bake probe cubemap (#13208) 2022-11-02 14:21:25 +08:00
bofeng-song e67aa08984 remove unneed code & fix objectSize can not set to scene's LodGroup (#13211)
* fix wrong Lod's wrong size, if user doesn't call recalculatedBounds

* remove unneed code &  fix objectSize can not set to scene's LodGroup
2022-11-02 11:06:32 +08:00
zhangxin 9181bf5e7c update reflection-probe's inspector and move develop's code to editor,add gizmo icon (#13185) 2022-10-31 16:12:58 +08:00
徐兵 92f74f55b2 reflection probe texture binding (#13168) 2022-10-28 19:07:17 +08:00
bofeng-song 19f1329a52 fix set LODs will change the input's variable & refine function name (#13164) 2022-10-28 09:54:58 +08:00
徐兵 120d7fe959 add reflection probe (#13155) 2022-10-27 15:36:56 +08:00
minggo ef1635d267 move prefab related classes into scene-graph (#13156) 2022-10-27 11:30:34 +08:00
bofeng-song 28555c355a Lod (#13072) 2022-10-27 10:39:56 +08:00
minggo 83a2717fac Fix module import (#13140)
* fix core module import style

* import murmurhash2_32_gc from core module

* do not export visibleRect
2022-10-25 16:38:38 +08:00
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
minggo b65379fae2 move prefabl-link.ts to cocos/misc (#12937) 2022-09-29 14:05:04 +08:00
minggo 95a76235b6 Adjust some files (#12910)
`cocos/core` should not depend other modules, so move some files out of `cocos/core`:
- move some files from `cocos/core` to `cocos/game`
  - director.ts
  - splash-screen.ts
  - game.ts
 - move `cocos/core/root.ts` to `cocos/root.ts` as there is not better module to contain `root.ts`.
 - move `cocos/core/platform/view.ts` to `cocos/ui/view.ts` as screen related logic is moved to `cocos/core/platform/screen.ts`
2022-09-28 09:34:35 +08:00
minggo 0d7c5c8f56 move cocos/core/scene-graph to cocos/scene-graph (#12868)
* move `cocos/core/scene-graph` to `cocos/scene-graph`
* move some files in `cocos/core/components` to `cocos/scene-graph`:
  - component.ts
  - component-event-handler.ts
  - component-event-handler-schema.ts
* move some files in `cocos/core/components` to `cocos/misc`: 
  - missing-script.ts
  - model-renderer.ts
  - renderer.ts
  - camera-component.ts
* move  `cocos/core/components/system.ts` to ``cocos/core/system.ts``
2022-09-26 11:02:22 +08:00