mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-18 06:17:06 +00:00
Fix:修复Live2D的错误,重构Live2D系统 (#410)
* 修复后台API反代地址未能正确显示的问题 * 更新渲染页面配置 * 添加个人聊天模式配置 * 将用户数据获取改到common中 * 修复错误的渲染页面参数 * 修复bug * 添加Live2D * 修复渲染页面错误 * 修复渲染传入值 * 更新渲染 * 修复图表渲染bug * 调整live2d模型大小 * 修复live2d无法关闭问题 * 修复错误的传值 * 修复ai命名 * 更新渲染 * 添加用户独立设定 * 更新渲染配置适配个人设置 * 修复合并导致的渲染文件异常删除 * 修复用户数据缺失问题 * 修复旧版本数据缺失问题 * 修复bing参数不存在问题,兼容miao的截图 * 修复受限token重试时不被排除的问题 * 修复个人模式下结束对话的模式错误 * 更新渲染页面,将预览版转为正式版 * 修复传统渲染无法调用截图功能的问题 * 文字模式也进行一次缓存 * 更新README * Update README.md * 更新渲染 * 更新渲染页面 * 添加版本信息 * 遗漏参数 * 丢失引用 * 补充路由 * 添加云转码功能 * 判断node-silk是否正常合成 * 云转码提示 * 修复图片渲染出错 * 云转码支持发送Buffer * 添加云转码模式支持 * 更新描述 * 更新后台渲染页面 * 更新配置 * 更新渲染页面 * 添加云渲染 * 修复错误的接口调用 * 修复遗漏的数据转换 * 修复获取的图片数据异常问题 * 更新后台配置 * 更新渲染页面 * 修复云渲染访问地址错误 * 更新渲染页面 * 修复遗漏的模型文件 * 修复live2d问题 * 更新live2d以及相关配置 * 修复遗漏的数据参数 * 修复新live2d情况下云渲染错误的问题 * 适配云渲染1.1.2等待参数 * 添加云服务api检查 * 更新渲染页面 * 添加live2d加载检测 * 修复错误的属性判断 * 添加云渲染DPR --------- Co-authored-by: ikechan8370 <geyinchibuaa@gmail.com>
This commit is contained in:
parent
2bf3a636a6
commit
76f0328a8e
90 changed files with 261838 additions and 1795 deletions
322
server/static/live2d/Murasame/Murasame.model3.json
Normal file
322
server/static/live2d/Murasame/Murasame.model3.json
Normal file
|
|
@ -0,0 +1,322 @@
|
|||
{
|
||||
"Version": 3,
|
||||
"FileReferences": {
|
||||
"Moc": "Murasame.moc3",
|
||||
"Textures": [
|
||||
"Murasame.4096/texture_00.png"
|
||||
],
|
||||
"Physics": "Murasame.physics3.json",
|
||||
"PhysicsV2": {
|
||||
"File": "Murasame.physics3.json"
|
||||
},
|
||||
"Motions": {
|
||||
"Idle": [
|
||||
{
|
||||
"File": "motion/motion01.motion3.json",
|
||||
"Interruptable": true
|
||||
}
|
||||
],
|
||||
"blandness": [
|
||||
{
|
||||
"File": "motion/motion01.motion3.json",
|
||||
"Interruptable": true
|
||||
}
|
||||
],
|
||||
"happy": [
|
||||
{
|
||||
"File": "motion/motion04.motion3.json",
|
||||
"Interruptable": true
|
||||
}
|
||||
],
|
||||
"shy": [
|
||||
{
|
||||
"File": "motion/motion07.motion3.json",
|
||||
"Interruptable": true
|
||||
}
|
||||
],
|
||||
"frustrated": [
|
||||
{
|
||||
"File": "motion/motion08.motion3.json",
|
||||
"Interruptable": true
|
||||
}
|
||||
],
|
||||
"disgusted": [
|
||||
{
|
||||
"File": "motion/motion09.motion3.json",
|
||||
"Interruptable": true
|
||||
}
|
||||
],
|
||||
"frightened": [
|
||||
{
|
||||
"File": "motion/motion10.motion3.json",
|
||||
"Interruptable": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"Expressions": [
|
||||
{
|
||||
"Name": "exp1.exp3",
|
||||
"File": "exp/exp1.exp3.json"
|
||||
},
|
||||
{
|
||||
"Name": "exp2.exp3",
|
||||
"File": "exp/exp2.exp3.json"
|
||||
},
|
||||
{
|
||||
"Name": "exp3.exp3",
|
||||
"File": "exp/exp3.exp3.json"
|
||||
},
|
||||
{
|
||||
"Name": "exp4.exp3",
|
||||
"File": "exp/exp4.exp3.json"
|
||||
},
|
||||
{
|
||||
"Name": "exp5.exp3",
|
||||
"File": "exp/exp5.exp3.json"
|
||||
},
|
||||
{
|
||||
"Name": "exp6.exp3",
|
||||
"File": "exp/exp6.exp3.json"
|
||||
},
|
||||
{
|
||||
"Name": "exp7.exp3",
|
||||
"File": "exp/exp7.exp3.json"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Controllers": {
|
||||
"ParamHit": {},
|
||||
"ParamLoop": {},
|
||||
"KeyTrigger": {},
|
||||
"ParamTrigger": {},
|
||||
"AreaTrigger": {},
|
||||
"HandTrigger": {},
|
||||
"EyeBlink": {
|
||||
"MinInterval": 500,
|
||||
"MaxInterval": 6000,
|
||||
"Enabled": true
|
||||
},
|
||||
"LipSync": {
|
||||
"Gain": 5.0
|
||||
},
|
||||
"MouseTracking": {
|
||||
"SmoothTime": 0.15,
|
||||
"Items": [
|
||||
{
|
||||
"Id": "ParamAngleX",
|
||||
"Min": -30.0,
|
||||
"Max": 30.0,
|
||||
"BlendMode": 1,
|
||||
"Input": 0
|
||||
},
|
||||
{
|
||||
"Id": "ParamAngleY",
|
||||
"Min": -30.0,
|
||||
"Max": 30.0,
|
||||
"BlendMode": 1,
|
||||
"Axis": 1,
|
||||
"Input": 0
|
||||
},
|
||||
{
|
||||
"Id": "ParamAngleZ",
|
||||
"Min": -30.0,
|
||||
"Max": 30.0,
|
||||
"BlendMode": 1,
|
||||
"Input": 0
|
||||
},
|
||||
{
|
||||
"Id": "ParamEyeBallX",
|
||||
"Min": -1.0,
|
||||
"Max": 1.0,
|
||||
"BlendMode": 1,
|
||||
"Input": 0
|
||||
},
|
||||
{
|
||||
"Id": "ParamEyeBallY",
|
||||
"Min": -1.0,
|
||||
"Max": 1.0,
|
||||
"BlendMode": 1,
|
||||
"Axis": 1,
|
||||
"Input": 0
|
||||
},
|
||||
{
|
||||
"Id": "ParamBodyAngleX",
|
||||
"Min": -10.0,
|
||||
"Max": 10.0,
|
||||
"BlendMode": 1,
|
||||
"Input": 0
|
||||
},
|
||||
{
|
||||
"Id": "ParamBodyAngleY",
|
||||
"Min": -10.0,
|
||||
"Max": 10.0,
|
||||
"BlendMode": 1,
|
||||
"Axis": 1,
|
||||
"Input": 0
|
||||
},
|
||||
{
|
||||
"Id": "ParamBodyAngleZ",
|
||||
"Min": -10.0,
|
||||
"Max": 10.0,
|
||||
"BlendMode": 1,
|
||||
"Input": 0
|
||||
}
|
||||
],
|
||||
"Enabled": true
|
||||
},
|
||||
"AutoBreath": {
|
||||
"Enabled": true
|
||||
},
|
||||
"ExtraMotion": {
|
||||
"Enabled": true
|
||||
},
|
||||
"Accelerometer": {
|
||||
"Enabled": true
|
||||
},
|
||||
"Microphone": {},
|
||||
"Transform": {},
|
||||
"FaceTracking": {
|
||||
"AngleX": [
|
||||
{
|
||||
"Id": "ParamAngleX",
|
||||
"Min": -30.0,
|
||||
"Max": 30.0,
|
||||
"DefaultValue": 0.0,
|
||||
"Input": 0
|
||||
}
|
||||
],
|
||||
"AngleY": [
|
||||
{
|
||||
"Id": "ParamAngleY",
|
||||
"Min": -30.0,
|
||||
"Max": 30.0,
|
||||
"DefaultValue": 0.0,
|
||||
"Input": 0
|
||||
}
|
||||
],
|
||||
"AngleZ": [
|
||||
{
|
||||
"Id": "ParamAngleZ",
|
||||
"Min": -30.0,
|
||||
"Max": 30.0,
|
||||
"DefaultValue": 0.0,
|
||||
"Inverted": true,
|
||||
"Input": 0
|
||||
}
|
||||
],
|
||||
"PositionX": [
|
||||
{
|
||||
"Id": "ParamBodyAngleX",
|
||||
"Min": -10.0,
|
||||
"Max": 10.0,
|
||||
"DefaultValue": 0.0,
|
||||
"Input": 0
|
||||
}
|
||||
],
|
||||
"PositionY": [
|
||||
{
|
||||
"Id": "ParamBodyAngleY",
|
||||
"Min": -10.0,
|
||||
"Max": 10.0,
|
||||
"DefaultValue": 0.0,
|
||||
"Input": 0
|
||||
}
|
||||
],
|
||||
"PositionZ": [
|
||||
{
|
||||
"Id": "ParamBodyAngleZ",
|
||||
"Min": -10.0,
|
||||
"Max": 10.0,
|
||||
"DefaultValue": 0.0,
|
||||
"Input": 0
|
||||
}
|
||||
],
|
||||
"EyeLOpen": [
|
||||
{
|
||||
"Id": "ParamEyeLOpen",
|
||||
"Min": 0.0,
|
||||
"Max": 1.0,
|
||||
"DefaultValue": 1.0,
|
||||
"Input": 0
|
||||
}
|
||||
],
|
||||
"EyeROpen": [
|
||||
{
|
||||
"Id": "ParamEyeROpen",
|
||||
"Min": 0.0,
|
||||
"Max": 1.0,
|
||||
"DefaultValue": 1.0,
|
||||
"Input": 0
|
||||
}
|
||||
],
|
||||
"EyeballX": [
|
||||
{
|
||||
"Id": "ParamEyeBallX",
|
||||
"Min": -1.0,
|
||||
"Max": 1.0,
|
||||
"DefaultValue": 0.0,
|
||||
"Input": 0
|
||||
}
|
||||
],
|
||||
"EyeballY": [
|
||||
{
|
||||
"Id": "ParamEyeBallY",
|
||||
"Min": -1.0,
|
||||
"Max": 1.0,
|
||||
"DefaultValue": 0.0,
|
||||
"Input": 0
|
||||
}
|
||||
],
|
||||
"BrowLY": [
|
||||
{
|
||||
"Id": "ParamBrowLY",
|
||||
"Min": -1.0,
|
||||
"Max": 1.0,
|
||||
"DefaultValue": 0.0,
|
||||
"Input": 0
|
||||
}
|
||||
],
|
||||
"BrowRY": [
|
||||
{
|
||||
"Id": "ParamBrowRY",
|
||||
"Min": -1.0,
|
||||
"Max": 1.0,
|
||||
"DefaultValue": 0.0,
|
||||
"Input": 0
|
||||
}
|
||||
],
|
||||
"MouthOpenY": [
|
||||
{
|
||||
"Id": "ParamMouthOpenY",
|
||||
"Min": 0.0,
|
||||
"Max": 1.0,
|
||||
"DefaultValue": 0.0,
|
||||
"Input": 0
|
||||
}
|
||||
],
|
||||
"MouthForm": [
|
||||
{
|
||||
"Id": "ParamMouthForm",
|
||||
"Min": -1.0,
|
||||
"Max": 1.0,
|
||||
"DefaultValue": 0.0,
|
||||
"Inverted": true,
|
||||
"Input": 0
|
||||
}
|
||||
],
|
||||
"Enabled": true
|
||||
},
|
||||
"HandTracking": {},
|
||||
"ParamValue": {},
|
||||
"PartOpacity": {},
|
||||
"ArtmeshOpacity": {},
|
||||
"ArtmeshColor": {},
|
||||
"ArtmeshCulling": {
|
||||
"DefaultMode": 0
|
||||
},
|
||||
"IntimacySystem": {}
|
||||
},
|
||||
"Options": {
|
||||
"ScaleFactor": 0.7
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue