Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -217,9 +217,9 @@ def make3d(images):
|
|
| 217 |
_HEADER_ = """
|
| 218 |
## Generate a **High Poly Mesh**
|
| 219 |
|
| 220 |
-
➡️ With this tool, you can generate high poly mesh for your Roblox game
|
| 221 |
|
| 222 |
-
- This tool
|
| 223 |
|
| 224 |
### The Process
|
| 225 |
|
|
@@ -229,21 +229,21 @@ _HEADER_ = """
|
|
| 229 |
|
| 230 |
💡 Tips:
|
| 231 |
|
| 232 |
-
- If there's a background in your image -> ✅ Remove background
|
| 233 |
|
| 234 |
- The 3D mesh generation results highly depend on the quality of generated multi-view images. Please try a different **seed value** if the result is unsatisfying (Default: 42).
|
| 235 |
|
| 236 |
3. Click on generate
|
| 237 |
|
| 238 |
-
4.
|
| 239 |
|
| 240 |
5. Open Roblox Studio
|
| 241 |
|
| 242 |
-
6. In
|
| 243 |
|
| 244 |
7. You can now drag and drop your generated 3D file in your scene 🎉.
|
| 245 |
|
| 246 |
-
8. (Optional) You can also
|
| 247 |
"""
|
| 248 |
|
| 249 |
with gr.Blocks() as demo:
|
|
|
|
| 217 |
_HEADER_ = """
|
| 218 |
## Generate a **High Poly Mesh**
|
| 219 |
|
| 220 |
+
➡️ With this tool, you can generate **high poly mesh for your Roblox game**.
|
| 221 |
|
| 222 |
+
- This tool uses <a href='https://github.com/TencentARC/InstantMesh' target='_blank'>InstantMesh</a>, an open-source AI model for **fast** feedforward 3D mesh generation from a single image.
|
| 223 |
|
| 224 |
### The Process
|
| 225 |
|
|
|
|
| 229 |
|
| 230 |
💡 Tips:
|
| 231 |
|
| 232 |
+
- If there's a background in your image -> ✅ Check "Remove background"
|
| 233 |
|
| 234 |
- The 3D mesh generation results highly depend on the quality of generated multi-view images. Please try a different **seed value** if the result is unsatisfying (Default: 42).
|
| 235 |
|
| 236 |
3. Click on generate
|
| 237 |
|
| 238 |
+
4. The 3D mesh is generated, and you can download the file (it's GLB format) using the ⬇️
|
| 239 |
|
| 240 |
5. Open Roblox Studio
|
| 241 |
|
| 242 |
+
6. In your Roblox Project, click on Import 3D and select the downloaded file.
|
| 243 |
|
| 244 |
7. You can now drag and drop your generated 3D file in your scene 🎉.
|
| 245 |
|
| 246 |
+
8. (Optional) You can also transform this High poly mesh to a low poly using the second tool below this one on this page, but the mesh material will disappear and you'll need to create your own materials in Roblox.
|
| 247 |
"""
|
| 248 |
|
| 249 |
with gr.Blocks() as demo:
|