Procedural Terrain Flythrough
- Lab Skill
- v1.0.0
- Product marketing
One declarative sheet generates a whole 3D world — regions blend into a single height field, vertex-coloured terrain carries rocks, forests and landmarks, and a keyframed camera flies low through it.
ตัวอย่าง · 2
รันออนไลน์
รันตัวอย่างของ Procedural Terrain Flythrough ใน SandBase sandbox แล้วดูผลลัพธ์ได้ที่นี่
วิธีการทำงาน
- 01
Write the sheet
Write one sheet.json describing a world: size, seed, water level and atmosphere, semantic regions each with a landform, colour and scatter recipe, parametric landmarks such as an arch, tower, ruin, crystal, settlement, ring or beacon, and a keyframed camera path with captions. Two examples ship: a volcanic rift valley at dawn in English and flooded rice terraces at dusk in Chinese.
- 02
Build and check stills
Run npm install, then node scripts/build.mjs sheet.json --out build. Regions blend into each other through a gaussian weight field, so borders are terrain, not texture, and rocks, crystals and trees are scattered per region with slope rejection. node scripts/stills.mjs --build build --at 2,10,18 writes a contact sheet without a full render.
- 03
Render the film
node scripts/render.mjs --build build --out film.mp4 renders a verified H.264 film offline, with no network calls, external models or asset packs. The engine keeps the camera a minimum height above ground, so low passes never tunnel into a hill. The film is silent, and the two bundled examples run 42.8 seconds each.
คำถามที่พบบ่อย
What does Procedural Terrain Flythrough make?
Procedural Terrain Flythrough makes a film of a camera flying low through a world generated in code from one sheet: blended semantic regions drive one height field, vertex-coloured terrain carries instanced rocks, crystals and trees, and parametric landmarks anchor the route. It renders through HyperFrames.
Does Procedural Terrain Flythrough use any models or assets?
No. Procedural Terrain Flythrough grows its world from a seed in local code, so it needs no API key and makes no model calls. Procedural Terrain Flythrough generates every landform, rock, tree and landmark from the sheet and a seed, with no network calls, external models or asset packs, so the same sheet always builds the same world.
Which landmarks can Procedural Terrain Flythrough place?
Procedural Terrain Flythrough has seven parametric landmark kinds: arch, tower, ruin, crystal, settlement, ring and beacon. Each sits on the sampled terrain height at its position. Regions choose a landform operator, a colour and a scatter recipe, and neighbouring regions blend smoothly.
Can the Procedural Terrain Flythrough camera clip into hills?
No. Procedural Terrain Flythrough follows a smooth time-keyed camera path and the engine keeps it a minimum height above the ground, so low passes never tunnel into a hill. Iterate on stills at a few times before rendering the full film.
Which sizes and languages does Procedural Terrain Flythrough support?
Procedural Terrain Flythrough renders even sizes from 320 to 3840 pixels, 1920×1080 by default, at 12 to 60 fps, 30 by default. The lang field picks en or zh-CN for the caption font. The film is silent; add a score in an editor if needed.
Skills เพิ่มเติม
Skills ทั้งหมดสำหรับ Product marketing →Pixel Story
Turn a product brief into a pixel film with clear actions, scene traversal and a memorable payoff.

Device fan
Turn a brand, one headline and context into a calm device-showcase card.

Floating phones
Turn a brand, one headline and context into a warm-ivory card with floating phone screens and playful, friendly doodles.

Floating analytics dashboard
Turn a brand, one headline and context into a split-column card: a narrow charcoal brand column anchoring a large white analytics dashboard that floats across a vivid violet gradient field.

Minimal handheld product
Turn a brand, one headline and context into a high-key studio card: a softly lit hand holding an original compact pale device against a seamless gray background, with broad empty space and a tiny red light as the only accent.

Appliance exploded poster
Turn a household appliance into a polished 16:9 exploded-view poster: part groups separated along one axis, with a title and three to five exact labels.

