mirror of
https://github.com/GuijiAI/duix.ai.git
synced 2026-03-12 17:51:43 +08:00
no message
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
//基础模型 git 地址下载较慢,请下载后自己管理加速
|
||||
#define BASEMODELURL @"https://github.com/GuijiAI/duix.ai/releases/download/v1.0.0/gj_dh_res.zip"
|
||||
//////数字人模型 git 地址下载较慢,请下载后自己管理加速
|
||||
#define DIGITALMODELURL @"https://github.com/GuijiAI/duix.ai/releases/download/v1.0.0/bendi3_20240518.zip"
|
||||
#define DIGITALMODELURL @"https://digital-public.obs.cn-east-3.myhuaweicloud.com/duix/digital/model/1719193748558/airuike_20240409.zip"
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -478,7 +478,7 @@ typedef NS_ENUM(NSInteger, JPMetalViewContentMode) {
|
||||
|
||||
MTLRegion mat_region = {{ 0, 0, 0 }, {static_cast<NSUInteger>(width), static_cast<NSUInteger>(height), 1}}; // 纹理上传的范围
|
||||
if (imageBytes) { // UIImage的数据需要转成二进制才能上传,且不用jpg、png的NSData
|
||||
[self.backTexture replaceRegion:mat_region
|
||||
[self.bfgTexture replaceRegion:mat_region
|
||||
mipmapLevel:0
|
||||
withBytes:imageBytes
|
||||
bytesPerRow:4 * width];
|
||||
|
||||
Reference in New Issue
Block a user