Problem Framing: What a Virtual Gallery Must Get Right
Defines the product, the three clients, the two artwork families, and the three tensions the design has to resolve.
What we are building
A virtual gallery is a set of shared 3D rooms. Visitors walk around as avatars, look at artworks up close, hear curator notes, talk to people standing nearby, and sometimes buy a print or a digital edition. The same product runs in a desktop or mobile browser and in a VR headset browser, so the design has three clients, not one.
Three kinds of work sit inside that product. Rendering: the room shell, frames, walls, and sculptures must draw at 90 frames per second on a headset and 60 on a laptop. Real-time presence: other visitors' avatars must move smoothly and arrive within 150 ms inside one region. Content and commerce: some artworks are gigapixel scans, some are glTF sculptures, and every one carries a rights status that controls where and how it may be displayed.
Why the obvious design fails
A team that treats this as a 3D website with a chat box usually builds one world server and sends every texture and every avatar to every visitor. Three numbers break that quickly. A single gigapixel scan is about 1e9 pixels, which is roughly 3 GB of raw RGB before compression. A 50-avatar room where each avatar sends 5 pose updates per second produces 250 messages per second that the room host must fan out. A public exhibit that opens at 9 a.m. can grow from 200 visitors to 60,000 in ten minutes.
Real anchors
- Google Arts & Culture, which began as the Google Art Project in 2011, made gigapixel artwork scans browsable on the web by splitting each image into tiles, so the browser downloads only the tiles the viewport needs. This design uses the same deep-zoom idea for 2D art.
- Sketchfab hosts millions of user-uploaded 3D models and converts uploads into web-friendly derivatives for a WebGL viewer. That is the model for the glTF ingestion pipeline in this design.
- The Smithsonian released about 2.8 million images and records under the CC0 public domain dedication in February 2020. Public open-access collections make license metadata a first-class part of every asset, not a footnote.
- Mozilla Hubs showed browser-based WebXR rooms with shared avatars and voice on an open-source client and an Elixir backend called Reticulum. Its room-per-instance model is the pattern this design uses for capacity.
The three tensions
- Fidelity versus weight. The best-looking artwork is also the heaviest file. The system must stream the least data that still looks sharp for the current view.
- Presence versus scale. Every visitor in a room should see every other visitor, but the number of visible pairs grows with the square of the room size. A 50-avatar cap and neighbor filtering keep that bounded.
- Access versus rights. A curator may show an artwork only where the license allows public display. Rights are a runtime check that runs before a URL is signed, not a metadata note that someone reads later.
What a strong answer proves in 45 minutes
Name the three clients and their frame budgets. Name the two asset families and their pipelines. Make the room the unit of concurrency and the rights gate a hard boundary. Then pick numbers, label the assumptions, and show the arithmetic that leads to the component count.
Key Highlights
- •A gigapixel master of about 1e9 pixels is roughly 3 GB of raw RGB before compression
- •Frame budgets: 11.1 ms per frame at 90 Hz on a headset, 16.7 ms at 60 fps on the web
- •The room is the unit of concurrency, capped at 50 avatars per room instance (assumption)
- •Rights status gates every asset URL at signing time, so a restricted artwork never reaches a client
Section Rescue Kit
Buzzwords to use:
Safe statements:
- "Before I choose components, let me agree on the frame budget and the bytes on the first screen, because those constrain every later choice."
- "I will treat the room as the unit of scale, size everything per room, and then multiply by the number of rooms."
- "Rights are a runtime check in this design, so I will show exactly where the gate sits in the request path."