187 Commits

Author SHA1 Message Date
dbff69f090
Add assets 2023-01-04 23:51:54 +08:00
830522ef79
[UI][FIX] Fix direction light setting
- fix dir light not turning off
- fix dir light direction slider malfunctioning
v1.0.1
2022-12-20 12:27:04 +08:00
14f7c8b33a
[CORE][FIX] Update terrain hitpoint precision
- change search method
- prevent outbound retrieving
2022-12-20 10:13:12 +08:00
4cbc16e4c6
[UI][ADD] Add items in about page v1.0.0 2022-12-20 09:05:32 +08:00
c2c11c689f
[UI][FIX] Fix thumbnail camera position 2022-12-20 08:48:39 +08:00
281c424b87
[CORE][FIX] Surface sticking fixed 2022-12-20 08:29:44 +08:00
1e92f8922d
[UI][ADD] Camera wasd move 2022-12-20 01:05:05 +08:00
7eccb8e98b
[UI][ADD] WASD move model 2022-12-20 00:46:14 +08:00
e1cfd3932c
[CORE][FIX] Fix placing (partial)
- Change placing calculation logic (without sticking)
- Sticking still not working
2022-12-20 00:30:17 +08:00
cd75d7a83d
[CORE][CHG] Prevent logging same msg 2022-12-19 22:17:19 +08:00
36225d7ea3
[CORE][FIX] Null safety
- prevent hit test to null terrain
- prevent not initialized model (wrong path)
2022-12-19 22:17:02 +08:00
a5e071f4dd
[CORE][FIX] fix terrain not initialized
- add nullptr initialize
2022-12-19 21:40:19 +08:00
Linloir
bca72138a4
Merge Terrain Update
Terrain merge
2022-12-19 21:36:25 +08:00
Linloir
e88edfcb02
Merge branch 'master' into terrain_merge 2022-12-19 21:36:09 +08:00
3455cbf9e1
[CORE][ADD] Settings page 2022-12-19 21:31:03 +08:00
胤龙
35b940a0fe 地形图hittest越界问题 2022-12-19 20:31:42 +08:00
8bdf5cc390
[CORE][ADD] Embed terrain hit test 2022-12-19 19:29:33 +08:00
54c5e6d52e
[CORE][FIX] Fix terrain render issue
- unbind after render
2022-12-19 19:29:12 +08:00
8c6e6ec16c
Merge terrain 2022-12-19 19:11:27 +08:00
e8f5bff2aa
Merge branch 'master' of https://github.com/Linloir/SceneEditor 2022-12-19 17:27:13 +08:00
17cb4d0bd9
[PROJ][CHG] Change git ignore 2022-12-19 17:26:13 +08:00
Linloir
e41ad80e64
Merge UI development v2
UI Devlopment V2 - Model Setter
2022-12-19 17:12:36 +08:00
fe571568ae
[CORE][FIX] Fix fragment shader
- wrong uniform struct member name causing failure in setting spot light
2022-12-19 17:11:15 +08:00
ace9e258e9
[UI][ADD] Embed model setter in editor page 2022-12-19 17:10:24 +08:00
3b06ec6ad8
[UI][ADD] Model setter widget 2022-12-19 17:09:56 +08:00
c1d8d8ed42
[CORE][ADD] Renderable add API
- getters
  - position
  - rotation
  - scaleVal
- normal
  - disposeLight
2022-12-19 17:09:12 +08:00
cad41559b1
[UI][ADD] Add API in SceneViewer
- signals
  - onSelect
  - onUpdate
  - onHover
- slots
  - setDragFlag
  - clearDragFlag
  - deleteObject
2022-12-19 17:08:24 +08:00
929fa790b1
[UI][ADD] Model attribute slider
- Combined label, slider and value label
- Provide redesigned signals
2022-12-19 17:07:00 +08:00
946febaf8d
[UI][FIX] Push button 'setEnabled' func
- Add API 'setEnabled'
- Fix 'setEnabled' func
2022-12-19 17:06:21 +08:00
c89e445668
[UI][ADD] Slider widget
- Non-linear value transformation
- Color scheme selection
- Redesigned signals
2022-12-19 17:05:36 +08:00
0f6a58a645
[UI][ADD] Add fonts 2022-12-19 17:04:43 +08:00
胤龙
9e5b8ccc52 删掉了一些多余的贴图 2022-12-19 12:10:07 +08:00
胤龙
16fba2241e 地形图完成 2022-12-19 12:06:22 +08:00
胤龙
e6b97f5363 地形cpu版本不加贴图 2022-12-19 09:18:50 +08:00
fe305c49aa
[CORE][ADD] Add model from model selector
- Add slot API in sceneviewer
- Add connection in editor page widget
2022-12-19 00:42:38 +08:00
64f65a2555
[CORE][ADD] Click selection test
- Hover detection
- Click detection
- Move / Scale / Rotate(have bug)
- Bounding box display
- Gesture done
2022-12-18 23:48:20 +08:00
5dd1200a6e
[CORE][CHG] Use thumbnail shader
- Fix no texture in thumbnail after main shader changed
2022-12-18 23:47:12 +08:00
7b9d8766d0
[CORE][ADD] Thumbnail shader 2022-12-18 23:46:40 +08:00
947cd9b445
[TEST] Bounding Box Test 2022-12-18 20:05:25 +08:00
7321455581
[CORE][ADD] Bounding box display
- Add render API in bounding box
- Add getter API in renderer to get bounding box
2022-12-18 20:05:08 +08:00
9d95220073
[CORE][FIX] Hit test fix
- Add critical debug logs
- Change transforming ray to local space to transforming vex to world space (because of scaling)
- Fix not updating bounding box causing hit test failure
2022-12-18 18:07:18 +08:00
98a1321af2
[CORE][ADD] Hit Test 2022-12-18 17:30:46 +08:00
胤龙
f91f10445b 转换世界坐标方法更新 2022-12-18 17:11:16 +08:00
胤龙
ada32313b8 地形图的hitpoint
使用线性搜索法
2022-12-18 16:59:14 +08:00
db04a46510
[CORE][CHG] Adapt to camera API change 2022-12-18 16:49:37 +08:00
1dc9959936
[CORE][FIX] Fix header dependency 2022-12-18 16:49:20 +08:00
d98b057a67
[CORE][ADD] Camera ray generation 2022-12-18 16:44:34 +08:00
60ecd08ed1
[UI][CHG] Minor tweaking
- Change default window size (bigger)
2022-12-18 16:11:15 +08:00
e68149bd24
[CORE][ADD] HitRecord Class 2022-12-18 16:10:51 +08:00
10a78360ec
[CORE][CHG] Change Model API
- Remove old APIs related to boundary box
- Add new APIs for boundary generating
- Add APIs for hit test
- Add APIs for mesh data fetching
2022-12-18 16:10:22 +08:00