Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

贴图错误? #8

Open
physics1024 opened this issue Oct 10, 2022 · 3 comments
Open

贴图错误? #8

physics1024 opened this issue Oct 10, 2022 · 3 comments

Comments

@physics1024
Copy link

image
加载出现脸部贴图缺失的情况??
模型是hk416mod,不过这个贴图有两张(texture_00, texture_01),但是第二张(texture_01.png)都能正确导入,反倒是第一张的脸。。。
您的cubism core版本太低了,我自己把它换成4.4的了,不知道跟这个是否有关系?(小白求指导)
不过挺好玩的,哈哈哈
另外想问问您不包含物理控制器(xxx.physics3.json)的模型应该怎么导入,我试了一个发现好像必须得加载物理控制?
image
谢谢!

@imuncle
Copy link
Owner

imuncle commented Oct 10, 2022

抱歉这个问题我也不太清楚,cubism 3.X的移植我是参考AzurLaneL2DViewer这个仓库,具体的原理我也不太懂,4.X的就更不懂了:confused:

@physics1024
Copy link
Author

好吧,还是谢谢您了

@physics1024
Copy link
Author

我大概知道是怎么回事了。项目所使用的pixi,在裁切框架时,如果大小跟贴图不符就会报错,但是4.x(项目所使用)版却不会,而且还会正常裁切显示。当我把pixiv5移植过来后,模型无法显示并报错,我才意识到这点。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants