同步
This commit is contained in:
zzz
2023-04-14 00:19:11 +08:00
parent ca744b7870
commit 13acdc6b62
30 changed files with 113 additions and 83 deletions

8
.obsidian/app.json vendored
View File

@@ -1,11 +1,3 @@
{
"attachmentFolderPath": "FGui/图片",
"pdfExportSettings": {
"includeName": true,
"pageSize": "Letter",
"landscape": false,
"margin": "0",
"downscalePercent": 100
},
"promptDelete": false
}

View File

@@ -1,4 +1,3 @@
{
"accentColor": "",
"baseFontSize": 16
"accentColor": ""
}

View File

@@ -1,5 +1 @@
[
"obsidian-kanban",
"obsidian-git",
"calendar"
]
[]

29
.obsidian/core-plugins-migration.json vendored Normal file
View File

@@ -0,0 +1,29 @@
{
"file-explorer": true,
"global-search": true,
"switcher": true,
"graph": true,
"backlink": true,
"canvas": true,
"outgoing-link": true,
"tag-pane": true,
"page-preview": true,
"daily-notes": true,
"templates": true,
"note-composer": true,
"command-palette": true,
"slash-command": false,
"editor-status": true,
"starred": true,
"markdown-importer": false,
"zk-prefixer": false,
"random-note": false,
"outline": true,
"word-count": true,
"slides": false,
"audio-recorder": false,
"workspaces": false,
"file-recovery": true,
"publish": false,
"sync": false
}

View File

@@ -4,11 +4,17 @@
"switcher",
"graph",
"backlink",
"canvas",
"outgoing-link",
"tag-pane",
"page-preview",
"daily-notes",
"templates",
"note-composer",
"command-palette",
"editor-status",
"markdown-importer",
"starred",
"outline",
"word-count",
"file-recovery"
]

View File

@@ -57,7 +57,7 @@
"state": {
"type": "markdown",
"state": {
"file": "FGui/FGui规范及常用模板.md",
"file": "log_learn/shader入门精要.md",
"mode": "source",
"source": false
}
@@ -119,6 +119,14 @@
"sortOrder": "alphabetical"
}
}
},
{
"id": "29d5ab84b58f63a6",
"type": "leaf",
"state": {
"type": "starred",
"state": {}
}
}
]
}
@@ -140,7 +148,7 @@
"state": {
"type": "backlink",
"state": {
"file": "FGui/FGui规范及常用模板.md",
"file": "log_learn/shader入门精要.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
@@ -158,6 +166,39 @@
"type": "calendar",
"state": {}
}
},
{
"id": "2f99709965efdfa8",
"type": "leaf",
"state": {
"type": "outgoing-link",
"state": {
"file": "log_learn/shader入门精要.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
}
},
{
"id": "e94ba1c68f225fc6",
"type": "leaf",
"state": {
"type": "tag",
"state": {
"sortOrder": "frequency",
"useHierarchy": true
}
}
},
{
"id": "311f320938cad49b",
"type": "leaf",
"state": {
"type": "outline",
"state": {
"file": "log_learn/shader入门精要.md"
}
}
}
]
}
@@ -166,11 +207,23 @@
"width": 300,
"collapsed": true
},
"left-ribbon": {
"hiddenItems": {
"daily-notes:打开/创建今天的日记": false,
"templates:插入模板": false,
"switcher:打开快速切换": false,
"graph:查看关系图谱": false,
"canvas:新建白板": false,
"command-palette:打开命令面板": false
}
},
"active": "1a6234b1c364beb9",
"lastOpenFiles": [
"log_learn/SkillConfig.md",
"log_learn/shader入门精要.md",
"FGui/FGui规范及常用模板.md",
"FGui/图片/Pasted image 20221114121030.png",
"FGui/图片/Pasted image 20221114121249.png",
"FGui/FGui规范及常用模板.md",
"未命名.md",
"待办事项/TODO.md",
"战斗/技能/SkillBase.md",

View File

@@ -1,52 +0,0 @@
# 理解概念
包=对应系统 组件=里边可复用的一些模板
# 规范
## 命名规范
1、组件 + ”_“ + 命名
例如:
![[Pasted image 20221114121704.png]]
一些比较复杂的组件就用Com作前缀,Com=Component
## 流程规范
1、目录结构
一般来说每个系统一个包,左上角点击新建包,什么系统就命名什么就好
![[Pasted image 20221114122742.png]]
但是像较多地方都用到同一个资源比如说通用按钮那么这个按钮就要放在Common这个公用的包里面
如图中的背包的一个图标:
![[Pasted image 20221114123133.png]]
大图还是放Image这个包下
![[Pasted image 20221114141112.png]]
2、资源放置
对应的组件和图片放在同一个包里就好
![[Pasted image 20221114123441.png
3、上传资源
整个文件夹提交SVN
![[Pasted image 20221114141243.png]]
# 一些常用模板
## 页签:三个单选按钮 + 一个控制器完成
![[Pasted image 20221114142309.png]]
![[Pasted image 20221114142738.png]]
找到刚刚做好的控制器,每个按钮链接一个状态
![[Pasted image 20221114142906.png]]![[Pasted image 20221114143146.png]]
随意点击按钮可以切换效果
![[Pasted image 20221114143202.png]]
## 列表:
![[Pasted image 20221114144948.png]]
拖进素材
![[Pasted image 20221114145009.png]]
编辑数据,一般只是预览,发布时自动清空的选项要勾上
![[Pasted image 20221114145058.png]]![[Pasted image 20221114145138.png]]![[Pasted image 20221114145205.png]]
预览上下滑动
![[Pasted image 20221114145254.png]]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 349 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 184 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

View File

@@ -1,12 +0,0 @@
## 发布流程
美术导入资源到包->检查图片依赖,公用图片放公用图集()->拿到美术文件->点击发布(批处理)
->生成图集及.bytes文件到工程
## 工程手脚架
接入启动流程
UI层级管理框架
FGui C#基类 lua基类
自动生成lua代码
通用组件
教会策划美术拼图

2
log_learn/SkillConfig.md Normal file
View File

@@ -0,0 +1,2 @@

View File

@@ -0,0 +1,17 @@
1、模型空间到切线空间的推导
精要如果一个变换中仅存在平移和旋转那么这个变换的逆矩阵就等于它的转置矩阵M = (M^-1)^T
https://www.jianshu.com/p/4d742fec15ca
2、切线空间的优势
--todo
3、渲染队列
在Background通道渲染背景 、 Geometry里渲染不透明 、 AlphaTest中渲染需要透明测试的
这三个通道都开启了深度测试和深度写入
建议Transparent中写关闭深度写入开启了透明混合的shader该通道还会按从后往前顺序渲染
Overlay渲染后处理
4、pass