fghrsh / live2d_api Goto Github PK
View Code? Open in Web Editor NEWLive2D 看板娘插件 (https://www.fghrsh.net/post/123.html) 上使用的后端 API
Home Page: https://live2d.fghrsh.net
License: MIT License
Live2D 看板娘插件 (https://www.fghrsh.net/post/123.html) 上使用的后端 API
Home Page: https://live2d.fghrsh.net
License: MIT License
自己的项目中引用了model资源,原本没出现这种问题,近期发现整个项目无法clone
然后经过排除发现原因是model中的文件造成clone失败,想问一下有没有出现这种情况,以及如何彻底解决clone问题
目前项目可以git clone --depth=1,但以前提交的记录无法拉取下来(既git fetch --unshallow依然报错)
报错信息有两种:
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 2717 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
以及
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 0
error: 5711 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
还有就是想知道为什么这个文件会造成这个报错
你好,
由于自己的模型头发太高,点头动作会导致呆毛有一部分被canvas截断,请问如何设置加载模型时或显示模型时,将模型向下偏移一段距离?谢谢你!
问题:waifu-tips.js 进行资源加载时error !
如图所示:
描述:live2d source Loading problem
加载模型:Live2D 模型 6-0 加载完成后出现错误
html page error msg :
Package size exceeded the configured limit of 50 MB. Try https://github.com/fghrsh/live2d_api/tree/1.0.0/model/HyperdimensionNeptunia/nepnep/general/pose.json instead.
已尝试解决方案:
切换文件内部资源加载链接为本地:
42行 script.src = "https://cdn.jsdelivr.net/gh/GalaxyMimi/CDN/asteroids.js";
54行 open("https://github.com/stevenjoezhang/live2d-widget");
仍未解决;分析原因可能不是因为这两份资源导致。
如大佬有时间请看一下是否能处理,不胜感激。
说明:通过demo进行测试人物切换一样的问题。
我是按照顺序切换模型的,当切换至模型6时就出现资源403问题。
下载demo在本地测一样的结果,demo1;
我这边环境为 macOS Mojave 10.14.3 目前 测试了两款浏览器:google、Microsoft Edge 均浮现,我觉得可能是因为加载了人物说话声音的资源导致的。因为不发声的人物没有问题
Hello @fghrsh,
I wanted to update the textures .png images to .webp image. Reason for that :
and it is also recommended to use .webp images instead of png images.
2020/4/29 晚上7点,请求api接口的时候报错了,
[Error] Failed to load resource: 此服务器的证书无效。您可能正在连接一个伪装成“live2d.fghrsh.net”的服务器,这会威胁到您的机密信息的安全。 (get, line 0)
你好,目前github上的live2d人物模型分享和此项目的api目录形式有所不同,请问能否实现人物模型的批量导入?
主要是方便离线运行!
博客部署在github page和coding page。
在三个蛋上把api整个文件放进去后测试了一下1-46
https://my-live2d-api.000webhostapp.com/live2d_api/get/?id=1-46
在浏览器能正常获取json,但是修改live2d里面的api接口路径的时候报错
Access to XMLHttpRequest at 'https://my-live2d-api.000webhostapp.com/live2d_api/get/?id=1-46' from origin 'https://8chen.club' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
好像是需要设置Access-Control-Allow-Origin,但并不是很懂php。。。
现在改回了 //live2d.fghrsh.net/api/ 应急
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.