Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

film-street-bake: bake a Blender film street into game assets

Only what the film camera sees is baked: colour once, and the light once per weather, using the film’s own weather setups.

Ví dụ

Bake a film street

Bake a film street

The streets from the blender-street-film videos, made into a game you can walk through: Sunset Street and the harbour. Every model, baked light and story they use is included, so you can remix them straight away without generating anything.

Cách hoạt động

  1. 01

    Snapshot the film and write bake.json

    Film Street Bake starts from a Blender street that meets references/film-contract.md. A film whose script rebuilds the scene per state gets one snapshot per state from scripts/snapshot.py. Then write bake.json: project, out, frame, yield_to (a process to wait for, such as the film's render script), states with exactly one base, and objects such as dynamic, rigs, glass, people and flips.

  2. 02

    Test two objects, then bake everything

    Run blender -b street.blend -P scripts/bake.py -- config=bake.json state=dusk samples=16 only=a,b and inspect out/albedo and the log lines FLIP auto and BAKED. Then scripts/run.sh street.blend bake.json bakes every state, encodes non-base albedo sets, the walk grid and the overhead wires. It runs Cycles on a local GPU in Blender 4.2+, with numpy and Pillow.

  3. 03

    Check the bake in the game

    Copy out/assets into the film-street app's public/assets, run node slim.mjs there and open the game. Every state's log must end with DONE and contain no Traceback. Look for black sheets, confirm lamps keep their highlights, and check that walkgrid.json blocks people, pots and poles but not the kerb. Then match the look with film-street-look.

Câu hỏi thường gặp

What does Film Street Bake produce?

Film Street Bake produces game assets for film-street: per-object albedo, one lightmap set per lighting state using the film's own state functions, the street glTF, a sidewalk collision grid and the overhead wires. Sunset Street bakes dusk, night and snow lightmaps, while its storm state reuses the night set through the lm field.

Does Film Street Bake change my film project?

No. Film Street Bake never writes into the film project: it bakes from a snapshot and imports the state functions with bytecode writing turned off. The yield_to setting lets it wait for a film render process, so it can run next to the film on the same machine.

How long does Film Street Bake take?

Film Street Bake takes tens of minutes per lightmap state on a laptop GPU for its Sunset Street example, and Harbour Street took about 35 minutes per state. Cycles on the CPU also works but takes many hours. Supported device values are METAL, CUDA, OPTIX and HIP, and it was tested on Blender 5.2.3.

Is Film Street Bake free to run?

Film Street Bake renders with Blender Cycles on your own hardware and calls no SandBase model, so a bake is not billed. It needs time, a GPU, and numpy plus Pillow for encode_albedo.py. To re-bake a few objects, delete their files and run bake.py with skip=1, or name them with only.

What can Film Street Bake not capture?

Film Street Bake cannot capture view-dependent light such as glossy reflections and glass. The game adds wet reflections and light globes live, and other glints are lost. Only what the film camera can see is worth baking, so the backs of buildings stay unbaked and the game never shows them.

Lab Skill · Games

Seagull Swoop

Build a 3D flight-and-delivery game with light fries, heavy fish, crosswinds and optional ring routes. The gull must bring lunch home; cargo weight changes which openings it can safely reach.

Lab Skill · Games

Wedding Cake Wobble

Build a 3D fragile-cargo delivery game around a wobbling wedding cake. Brake before turns, avoid crossing guests and steer around tables. Lost tiers change the score, while a partial delivery can still succeed.

Lab Skill · Games

Hermit Tide

Build a 3D route-and-timing game where a hermit crab changes shells to cross a tidal shore. Narrow gaps favour the cap, stronger shells resist waves, and dry stones provide shelter and checkpoints.

Lab Skill · Games

Clover Circuit: Estate Cut

Drive a coral ride-on mower through a fenced estate garden. Steering, braking and the moving blade cut actual grass tufts; Overview reveals the genuine trail. Edit three gardens and three scene palettes offline. Coverage counts trimmed tuft centers rather than continuous ground area.

Lab Skill · Games

Glide Gates: Lagoon Run

Flap a golden bird through emerald pipe pairs above a turquoise lagoon. Actual fixed-step gravity, swept circle contacts and full-gate scoring power both manual flight and clearly labeled practice. Edit three courses and three scene palettes offline.

Lab Skill · Games

3D Interactive Garden Islands

Walk a curved garden, harvest fruit, share gifts, catch butterflies, fish, grow flowers and craft furniture. Four lighting states and one offline HTML with bilingual keyboard and touch controls.