Examples
Samples that run in this page. Each one loads only when you press the button; the sources are in examples/ of the repository, and each has a README with the rebuild steps. The same samples are also shown on the overview.
Games and machines#
Operation Dynamo#
The evacuation from the East Mole, watched with a free camera: a 2 km beach of 3,200 soldiers who wait, sit, crouch, talk and queue, abandoned lorries and guns, a Fletcher-class destroyer that comes alongside by herself while the column climbs the mole and crosses the gangway, lifeboats, yachts and a paddle steamer with soldiers and crews on their decks, and a low air war of Stukas, Heinkels, Dorniers, Messerschmitts, Spitfires and Hurricanes over it, with Bofors guarding the mole. The sea, the ship's physics, the crowd's posture AI and the flight models are Ferret's.
crowd posture AI ships flight weather sea
Source: examples/dunkirk. Read more: examples/dunkirk/README.md, plans/PLAN-DUNKIRK.md
Channel Escort#
A raid of twelve B-17G bombers on a port on the French coast, and you fly the lead Mustang of three escorts: first-person cockpit, Bf 109 waves, flak, destroyers and U-boats with long wakes, random weather. The flight model, the weapons and the wakes are Ferret's; the autopilot flies your Mustang and fights.
flight physics AI weather VR
Source: examples/airwar. Read more: examples/airwar/README.md, plans/PLAN-AIRWAR.md
Falcon Escape#
The YT-1300 against four waves of TIE fighters in an asteroid belt by a ringed gas giant, then the jump to lightspeed: a pursuit AI that overshoots and comes round again, homing missiles, shields, wings tumbling off the wrecks, synthesised sound, three cameras, and an autopilot that fights for you. Every model, texture, effect and sound here was drawn and modelled by the Ferret project, in code. Their look may be the intellectual property of Lucasfilm Ltd.; using this demo or any part of it for anything other than getting to know the Ferret engine is prohibited.
space AI effects sound phone VR
Source: examples/falcon. Read more: examples/falcon/README.md, examples/falcon/assets/NOTICE.txt
Flying Squirrel#
A ducted-fan hovercraft flies over a forest level inside a landscape of the engine: a river from the mountains into a lake, forest to the mountain ring, sky and clouds of the weather module. The rotor wash is Ferret's: it bends the crowns and branches (they break and stop the craft by the beam law), blows grass, rings and foams the water and tears spray off it.
physics rotor wash branches break water procedural world
Source: examples/forest-squirrel. Read more: plans/PLAN-PHYSICS-RESPONSE.md
Interiors#
The Apartment#
An Unreal archviz apartment, running in your browser on baked light: walk through one continuous room, floor plan.
Unreal Engine 5 baked light first person phone
60 FPS on a laptop RTX 3050. Download by quality tier: low 19 MB, mobile 13 MB (this page), desktop 20 MB.
How it was made
- The project. The ArchViz apartment of Unreal Engine 5, as it is: its meshes, materials, lights and the baked lighting of the original.
- Export. Ferret's Unreal exporter writes the level to glTF; the post-process step builds three quality tiers (low, mobile, desktop) with compressed textures and meshes cut to a triangle budget, plus a collision model for walking and a grid of light probes that carries the baked light onto things that move.
- Package. The result is an ordinary Ferret level package: a folder with a manifest,
scene.glb,collision.glband the probes. The level packages are large binaries and live outside Git (see the README of the example). - Embed. The example is a small TypeScript game (
examples/apartment): first-person movement, a loading screen with progress, a floor plan drawn from the level's own walls. This page runs it with the mobile tier.
Source: examples/apartment
Ferret Room#
A boutique guesthouse interior made in Unreal Engine 5.8, walked in the browser: lounge, bar and dining table on baked light.
Unreal Engine 5 baked light first person phone
60 FPS on a laptop RTX 3050. Download by quality tier: low 9 MB, mobile 11 MB (this page), desktop 16 MB.
How it was made
- The project. The Wabi Sabi Boutique Guesthouse interior of Unreal Engine 5.8 (Mint Studio), as it is: its meshes, materials and lights.
- Export. Ferret's Unreal exporter writes the level to glTF; the post-process step builds three quality tiers (low, mobile, desktop) with compressed textures and meshes cut to a triangle budget, plus a collision model for walking. The original uses Lumen and has no baked light, so the light is baked here into a grid of probes.
- Package. An ordinary Ferret level package (a manifest,
scene.glb,collision.glb, the light probes); the packages are large binaries and live outside Git (see the README of the example). - Embed. A small TypeScript game (
examples/wabi-sabi): first-person movement, a loading screen with progress, a floor plan. The page picks the quality tier from the browser; this page carries the mobile tier.
Source: examples/wabi-sabi
Open House#
An open-plan home (living room, dining area, kitchen) from Unreal Engine, walked in the browser on baked light.
Unreal Engine 4 baked light first person phone
60 FPS on a laptop RTX 3050. Download by quality tier: low 8 MB, mobile 9 MB (this page), desktop 26 MB.
How it was made
- The project. The Home Interior scene of Unreal Engine 4.27 (Olga Chekunova), as it is: its meshes, materials and lights.
- Export. Ferret's Unreal exporter writes the level to glTF; the post-process step builds three quality tiers (low, mobile, desktop) with compressed textures and meshes cut to a triangle budget, plus a collision model for walking. The 4K textures are compressed to KTX2 and capped per tier.
- Package. An ordinary Ferret level package (a manifest,
scene.glb,collision.glb, the light probes); the packages are large binaries and live outside Git (see the README of the example). - Embed. A small TypeScript game (
examples/home-interior): first-person movement, a loading screen with progress, a floor plan. The page picks the quality tier from the browser; this page carries the mobile tier.
Source: examples/home-interior
More games and machines#
Hindenburg#
An airship of 245 m flying over a procedural zone of 100 by 100 km: mountains, forest, fields, lakes, herds of animals and a fortress, with a day and night cycle of two minutes. The physics is Ferret's: buoyancy, ballast, the helm, wind and the crash on impact.
physics procedural world day and night airship
Source: examples/zeppelin. Read more: examples/zeppelin/README.md, plans/PLAN-ZEPPELIN.md
Dragon Duel#
A Viking against a Crusader Knight in a forest clearing under mountains, in a landscape and weather of the engine's own modules (choose the weather and the hour of the day), while a Dragon breathes fire over them; the fighters are built from the asset library.
asset library combat AI flight
Source: examples/fight. Read more: The combat guide
School Yard#
A castle courtyard made in Unreal Engine 5 and brought over by the export pipeline, walled in by collision built from the same scene; the exit door is the one piece of game logic.
Unreal Engine 5 first person cut-scene
Source: examples/school-outside. Read more: The overview, examples/school-outside/README.md
Gearbox#
141 solid parts generated from one file of numbers, driven by Ferret's physics: shafts, gears, sleeves, forks, the crown, the planets and the oil move from the state of the machine.
physics generated model cutaway
Source: examples/gearbox. Read more: The gearbox guide
Atom Lab#
A teaching lab with four modes: any of the 118 atoms with its shells and spectrum, X-rays and electrons sent at atoms and matter, thirteen substances that build their crystal, liquid or gas from a volume, a pressure and a temperature, and radioactive decay with a chain reaction. A spoken commentary in English explains what is on the screen.
physics atoms X-rays states of matter decay VR voice
Source: examples/education. Read more: The Atoms and matter guide