r/threejs • u/Anxious-Ad6084 • 39m ago
My office is now a level in a toy-plane dogfight game (made from 40 phone photos)
As a kid I loved alot Airfix Dogfighter where toy planes fight inside a house. This week I tried to make one set in my own office instead of a made-up map.
How I took the photos
iPhone 15 Plus, so no LiDAR and no scanning app. Just the normal camera.
- I walked around the room at standing height with the 0.5x ultra-wide lens until every wall and corner was covered.
- Then I crouched down and took a set of low shots from about knee height: what a toy plane would actually see flying under the desk and along the sofa.
- Last, a few 1x close-ups of the things with texture: the desk wood, the rug, the sofa fabric, the printer.
About 40 photos in total, all with the same room lights on.
What Fable did with them
- worked out the room's real size and layout from the photos (the floor tiles helped a lot)
- pulled the textures out of the photos: rug, curtains, desk wood
- rebuilt every object in Blender from code: desk, monitors, chair, sofa, gym equipment, the 3D printer
- moved the room into Three.js and built the game around it
- made things react to the fight: glass cracks, fabric tears, metal dents
- did the sound design: music by mood (menu, combat, boss), real recorded effects for each hit
It also turned my 3D printer into an enemy factory that prints tanks, missile trucks, helicopters and jets. That one wasn't my idea.
Single-player missions, and online multiplayer running on a free Render server. It plays in the browser, on phones too.
The video is one take, no cuts. Next I'm photographing the rest of the house so the whole place becomes the map.
Happy to answer anything about the photo-to-level part.

