Creator Notes
Building an Explorable Ukiyo-e-Style Yokai Town with Tripo in One Day
Author
Lunah
Date Published

> A one-day project retrospective: using Tripo text-to-3D, image-to-3D, and automatic rigging to turn Japanese-inspired concept art into a browser-based 3D world where visitors can explore and talk to yokai, with practical prompts and solutions to production problems.
As a longtime *Onmyoji* player who has been playing since launch, I have lived with its world of nocturnal yokai processions for years. Eventually I wondered: what would it feel like to step through the screen, walk down that street, and exchange a few words with a creature on the corner?
I finally acted on that long-delayed idea, setting myself a 24-hour challenge: **build this world in one day with Tripo.**
The town is now complete. Pass through a vermilion torii gate on the hill, descend a lantern-lined street, and reach the golden hall at its far end. Nine yokai are scattered around the town, waiting for you to approach and hear their stories.
Explore it directly on a phone or computer: [Enter the yokai town](https://hyakki.keonho.space).

From concept art to deployment, the project took one day. **I generated 34 models, ran automatic rigging eight times, and spent approximately 1,800 Tripo credits.** Tripo handled AI 3D model generation, automatic rigging, and animation retargeting. Blender brought the environment assets together, while three.js handled browser rendering and interactions.
I chose an ukiyo-e-inspired flat-color style because I like its clean color blocks and clear silhouettes. Flat shading and outlines also helped visually unify quickly generated low-poly assets without manually refining every texture.
## 1. Establish the look and turn concept art into an asset list
Before generating 3D models, I needed to decide what belonged in the scene.
I generated three concept images with AI: the elevated torii entrance, a lantern-lit machiya street, and a secluded folding-screen corridor. An additional overhead layout helped plan the route. I deliberately spaced the street's yokai apart to leave room for walking and stopping.

I then extracted the objects into a list of 23 environment assets, including three small yokai: stone lanterns, paper lanterns, machiya townhouses, komainu guardian statues, and the centerpiece golden-roofed hall.
## 2. Batch-generate AI 3D environment assets with Tripo CLI
With only one day available, I used the official `tripo-cli` command-line tool to batch-generate the 23 assets.
An AI coding assistant wrote the scheduling script, while I maintained a YAML list specifying each model's name, English prompt, and face limit. Three jobs ran concurrently. The assets were generated in two batches, with a separate rerun for the torii. The first list began like this:
```yaml
# run with: tripo batch run assets.yaml
concurrency: 3
defaults:
model: tripo-p1
out: ./gen
jobs:
- name: stone_lantern
input: "a Japanese stone toro lantern, mossy teal-grey stone, chunky stylized shapes, game asset"
params: { face_limit: 3000 }
- name: machiya
input: "a two-story Edo period Japanese machiya townhouse, dark wood lattice front, black tiled roof, red noren curtain at the door, stylized low-poly game asset"
params: { face_limit: 15000 }
- name: mansion
input: "a large ominous Japanese palace hall with layered golden curved roofs, red pillars, raised wooden veranda, stylized low-poly game asset"
params: { face_limit: 20000 }
```
After several rounds, I settled on a prompt pattern: subject + materials and colors + `stylized game asset`, followed by a face limit appropriate to the object's purpose.
The three examples above are the actual prompts for the stone lantern, townhouse, and hall, with limits from 3,000 to 20,000 faces. Street-hung paper lanterns needed only 2,000 faces, while entrance komainu received 8,000.

## 3. Generate nine yokai characters with text-to-3D
The town contains nine yokai: a fox-mask character, bake-danuki, rokurokubi, kappa, gatekeeper oni, bakeneko, hitotsume-kozo, lantern yokai, and kasa-obake umbrella yokai. Each character started as a text-to-3D model generated in Tripo.
Character prompts followed a similar pattern, using `stylized game character` and placing the most recognizable features first. For example: `a kappa yokai, green water creature with a turtle shell on its back, yellow beak, a white water dish on top of its head`. Most characters received 8,000 faces because players would examine their faces closely; the gatekeeper received 10,000.

Some required another attempt. My initial umbrella prompt was `a Japanese kasa-obake yokai, a red paper umbrella monster with one eye and one leg hopping, stylized character game asset`. It produced a person carrying an umbrella—the model had not understood that the umbrella itself was the creature.
In the second prompt, I made that distinction explicit and added exclusions:
```text
kasa-obake yokai: an old closed red Japanese paper umbrella that is itself the creature, one big eye in the middle of the folded canopy, long red tongue hanging out, a single wooden leg with a geta sandal sticking out from the bottom of the shaft, no human body, no arms, stylized game asset
```
Specifying the single geta-wearing leg and excluding a human body and arms produced the intended creature. For character prompts, describing what must not appear can be as important as describing what should.

Only the gatekeeper later changed generation routes. Tripo supplies a preview image with a text-to-3D result. I edited that preview with AI into a standing pose with clenched hands, then used the edited image for image-to-3D.
## 4. Animate the 3D characters: automatic rigging and fixes
All nine yokai support proximity-triggered dialogue. I selected six for preset animations: the fox, tanuki, kappa, gatekeeper, bakeneko, and one-eyed monk. Through `tripo-cli`, I first rigged them and then retargeted preset animations, with character jobs running in parallel.
Humanoids used the biped preset with idle, greet, bow, walk, run, and clap animations; the gatekeeper also received a turn animation. The quadruped bakeneko used the quadruped preset. Its idle generation failed, so I retained only walking. For the fox:
```bash
tripo anim rig <model_task_id> --rig-type biped -p model=rig-v1.0 --name kitsune_rig
tripo anim retarget <rig_task_id> --animation preset:biped:idle preset:biped:greet_01 preset:biped:bow --out-format glb --name kitsune_anim
```
Automatic rigging saved work, but two problems consumed significant time.
### The gatekeeper's weapon was attached to its leg
The gatekeeper held a spiked club and wore a tiger-skin garment. The rigging algorithm interpreted both as parts of the body and bound them to leg bones. When the character walked, the club swung with its thigh like a rigid tail.

The solution was to separate character and weapon completely. Using the original Tripo preview, I removed the weapon with AI image editing, changed the pose to an A-pose with arms approximately 30 degrees away from the torso, and made hollow clenched hands as though holding an invisible vertical rod. I then regenerated the character with image-to-3D. The cleaner geometry rigged and animated correctly.
I generated the club separately, attached it to the right-hand bone in the project, and passed its shaft through the hollow fist, gripping near the lower end. **Generate characters and their held weapons or props separately.**
### Preset animations caused sliding
Bowing stayed nearly stationary, but greeting made the fox raise its hand while sliding straight toward the camera. The greeting preset included horizontal root translation. The rig's root bone was rotated 90 degrees in space, so simply locking the usual two horizontal axes did not solve it.

I used each bone's actual orientation in world space to preserve only vertical translation and lock translation in the other directions. The fox could then greet in place. I applied the same treatment to walking and running: remove the animation's horizontal displacement and let front-end code control movement through the scene.
## 5. Assemble an explorable 3D world in Blender and three.js
I imported the generated buildings, props, and plants into Blender and arranged roads, townhouses, corridors, and the distant hall at different elevations, following the overhead concept layout. Yokai characters were added later directly in three.js.

After export, three.js handled rendering and interaction. An AI assistant implemented flat toon shading, outlines, and a washi-paper overlay, plus collision detection and dialogue triggers. Desktop visitors move with the keyboard. On mobile, a virtual joystick occupies the left half of the screen, while swiping on the right rotates the view.
The route includes a small surprise: reaching the mansion entrance teleports visitors into a corridor containing a Japanese-inspired scare event. After speaking to the gatekeeper before the golden hall, it bows, turns, and walks away to taiko drumbeats.

Before deployment, I compressed the models to keep mobile performance manageable, reducing their combined size from 109 MB to 9 MB. The command and exception are explained below.
## 6. Lessons learned and FAQ
Three lessons from this fast-paced day apply to similar projects:
1. State exclusions as well as desired features in prompts, especially for characters.
2. Generate characters and held props separately; model a gripping hand and attach the prop to the hand bone.
3. Inspect preset animation displacement before deployment and remove horizontal translation for actions that should play in place.
### How should I choose face limits?
I based them on size and distance from the camera. Suspended paper lanterns and small roadside props received 1,500–3,000 faces; komainu and vermilion bridges that visitors could inspect closely received 8,000; townhouses received 15,000 and the main hall 20,000. Characters generally received 8,000, with 10,000 for the gatekeeper. The complete asset set was compressed afterward, so the generation limits did not need to be overly restrictive.
### How were flat shading, outlines, and the washi texture created?
The ukiyo-e-inspired look combines three rendering layers without changing the underlying 3D models. First, I replaced Tripo materials with three.js `MeshToonMaterial`, retaining only two lighting levels for flat color blocks. Second, three.js `OutlineEffect` drew dark-brown outlines around the models. Third, a washi-paper texture overlaid the entire view using CSS `mix-blend-mode: multiply`.
### Which tool and settings were used for glTF compression?
I used the open-source glTF Transform CLI:
```bash
npx @gltf-transform/cli@4 optimize input.glb output.glb --texture-compress webp --texture-size 1024 --compress meshopt
```
Textures were converted to WebP with a maximum dimension of 1,024 pixels, and meshes used meshopt compression, reducing the set from 109 MB to 9 MB. The web loader needs `MeshoptDecoder` to read these assets.
There was one exception: I left the complete Blender-exported scene uncompressed. Optimizing it merged meshes and discarded names, preventing collision and interaction code from finding the corresponding objects.
### Can I use tripo-cli without writing code?
Yes. Install it with `npm install -g tripo-cli`, then run `tripo login` and confirm in the browser. An AI coding assistant can write the YAML lists and batch scripts using the built-in documentation available through `tripo docs`. Your role is to check model names, English prompts, and face limits before running, then inspect every generated result. That is how I divided the work on this project.
The town remains open on phones and computers: [Explore the yokai town](https://hyakki.keonho.space).
Ready to create your own 3D world? Turn your ideas into 3D assets in the [Tripo workspace](https://studio.tripo3d.ai/).

Creator Notes
A 1.87-million-triangle Tripo model becomes a Godot prop you can pick up. Copy the prompt, the Blender decimate snippet, and the socket code.

Creator Notes
I built Age of Dragon, a 12×12 km open-world RPG, in four days with AI, 400+ Tripo models, Claude Opus 5.5, Blender, and Three.js.

Creator Notes
See how Tripo turns one reference image into a clean 3D asset—then build a cinematic Blender scene with sunset light, fog, and post-compositing.