Spaces:
Running
Running
llms.txt: PBR option served by the v2 LoRA; name materials for metal
Browse files- README.md +4 -0
- app/llms.txt +2 -2
README.md
CHANGED
|
@@ -71,6 +71,10 @@ Terrain and ground: `POST /api/terrain {"upload_id": "up_...", "prompt": "an alp
|
|
| 71 |
`files.bundle_zip` (splat maps, seamless detail textures, `blender_terrain.py`, `three_terrain.js`). See the
|
| 72 |
"Terrain and ground" section of /llms.txt.
|
| 73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
MCP client configuration:
|
| 75 |
```json
|
| 76 |
{"mcpServers": {"projtex": {"type": "http", "url": "https://townbox-projection-texturing.hf.space/mcp",
|
|
|
|
| 71 |
`files.bundle_zip` (splat maps, seamless detail textures, `blender_terrain.py`, `three_terrain.js`). See the
|
| 72 |
"Terrain and ground" section of /llms.txt.
|
| 73 |
|
| 74 |
+
PBR materials: add `"pbr": true` to a texture job (or POST /api/jobs/{id}/pbr afterwards) for
|
| 75 |
+
`files.textured_pbr_glb` with a de-lit base colour and a metallicRoughness texture (roughness, metallic maps from a
|
| 76 |
+
LoRA on Qwen-Image-Edit-2511, run on the caller's ZeroGPU quota).
|
| 77 |
+
|
| 78 |
MCP client configuration:
|
| 79 |
```json
|
| 80 |
{"mcpServers": {"projtex": {"type": "http", "url": "https://townbox-projection-texturing.hf.space/mcp",
|
app/llms.txt
CHANGED
|
@@ -73,8 +73,8 @@ default backend qwen-turbo, about 30 s with qwen-space).
|
|
| 73 |
has a de-lit base colour and a glTF metallicRoughness texture (G roughness, B metallic) on every material, so the
|
| 74 |
model reacts to your scene's light (varnished wood and porcelain catch highlights, brass and chrome reflect);
|
| 75 |
files.albedo_pbr, roughness, metallic, metallic_roughness are the maps for your own material. Material names and
|
| 76 |
-
part_prompts settle metal or not where they say it ("Brass", "walnut veneer", "gloss paint")
|
| 77 |
-
|
| 78 |
- Game-ready single asset: "single_mesh": true returns one object with one material (metallic/roughness are the
|
| 79 |
area-weighted means of yours); POST /api/jobs/{id}/bake {"single_mesh": true} switches an existing job.
|
| 80 |
- Prepare meshes like this: one GLB with all parts (several objects and materials are fine), modifiers applied,
|
|
|
|
| 73 |
has a de-lit base colour and a glTF metallicRoughness texture (G roughness, B metallic) on every material, so the
|
| 74 |
model reacts to your scene's light (varnished wood and porcelain catch highlights, brass and chrome reflect);
|
| 75 |
files.albedo_pbr, roughness, metallic, metallic_roughness are the maps for your own material. Material names and
|
| 76 |
+
part_prompts settle metal or not where they say it ("Brass", "walnut veneer", "gloss paint"), so name your
|
| 77 |
+
materials: metal is the hardest map to read from a picture. pbr.metallic_fraction and pbr.roughness_mean in the status summarise the result.
|
| 78 |
- Game-ready single asset: "single_mesh": true returns one object with one material (metallic/roughness are the
|
| 79 |
area-weighted means of yours); POST /api/jobs/{id}/bake {"single_mesh": true} switches an existing job.
|
| 80 |
- Prepare meshes like this: one GLB with all parts (several objects and materials are fine), modifiers applied,
|