|
|
|
|
@ -314,7 +314,7 @@ def render_to_texture(meshes, output_image_path):
@@ -314,7 +314,7 @@ def render_to_texture(meshes, output_image_path):
|
|
|
|
|
# 渲染并保存 |
|
|
|
|
vis.capture_screen_image(output_image_path, do_render=True) |
|
|
|
|
|
|
|
|
|
text = f"v {version}" # 使用PIL添加文字 |
|
|
|
|
text = f"v{version}" # 使用PIL添加文字 |
|
|
|
|
try: |
|
|
|
|
image = Image.open(output_image_path) |
|
|
|
|
draw = ImageDraw.Draw(image) |
|
|
|
|
|