Skip to content

[fix-bug]删除bpy依赖,并修改纹理生成种obj文件转换为gltf文件#163

Open
penghaodian wants to merge 1 commit intoTencent-Hunyuan:mainfrom
penghaodian:texture-generation-pipeline-fix-bug
Open

[fix-bug]删除bpy依赖,并修改纹理生成种obj文件转换为gltf文件#163
penghaodian wants to merge 1 commit intoTencent-Hunyuan:mainfrom
penghaodian:texture-generation-pipeline-fix-bug

Conversation

@penghaodian
Copy link
Copy Markdown

@penghaodian penghaodian commented Sep 25, 2025

问题描述

修复bpy依赖无法安装,导致hy3dpaint/demo.py无法运行的问题

修改内容

  • 注释掉 requirements.txt 中的 bpy==4.0 依赖,避免安装问题
  • 替换 convert_obj_to_glb 函数为 quick_convert_with_obj2gltf
  • convert_utils 导入 create_glb_with_pbr_materials
  • 添加 quick_convert_with_obj2gltf 函数以提供更好的GLB转换功能

测试

  • 验证纹理生成管道正常工作
  • 确认GLB文件正确生成

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

Successfully merging this pull request may close these issues.

1 participant