It’s early in the year 2000, and I am trying to build a virtual shopping mall because of the dot-com boom.
Like I said, our company isn’t the typical dot-com startup. Our company is small. There are less than a dozen of us. We’ve been around since the early 90’s, and while we’re not taking over the world we have been self-sufficient for several years.
This is one of the reasons I haven’t run away from this project screaming. The place where I work isn’t some soulless corporate meatgrinder. I don’t work for Dilbert’s pointy-haired boss. I’m not a cog in the machine. I’m a valued member of a small team of friends who have built something valuable together. This team-up with the virtual mall guys has thrown the company off-kilter, but right now this feels like something temporary. I’m not going to quit over one bad project. I’m thinking that someday this project will end and things can go back to the way they were.
Anyway, back to THE YEAR TWO THOUSAND…
After the meeting I was second-guessing myself. Maybe I was just being overly negative because I didn’t see the big picture. Maybe this was workable and I was just nervous because it was something that had never been done before. It’s pretty hard to stay negative when everyone else in the room is older, more experienced, richer, and sure it’s all going to work.
But now I’ve been sent more of the detailed specs and I’m back to thinking it’s a dreadful idea. Every aspect of it seems to be fundamentally flawed. This is a shame, since it’s my job to make it workWell, the environment, anyway..
Usually when a client wants us to build a virtual world for them, they tell us what they want the world to do or what they want the user experience to be like, and leave the design up to our art team. But these guys have handed us a blueprint for exactly how they want the mall to look.
They’ve paid a fancy architect to design the “ultimate mall”. This design was created without anyone involved understanding what modern consumer computers are capable of, much less our graphics engine in particular. The architect built the structure in 3D Studio and emailed me the high-resolution renders. It’s really quite pretty, futuristic, and fantastical, and also completely inappropriate.
The mall is a cylinder, roughly the proportions of a soup can. Internally we jokingly refer to it as the “Can of Beans Design”. It consists of several stacked levels, each with shops along the outer wall. The interior is made entirely of glass. Glass floors. Glass ceilings. Glass support columns. Glass roof. In the very center is an open shaft, allowing visitors to move between levels. The renders give us a spectacular view of sunlight streaming diagonally though the building, creating captivating patterns of shadows as the light is tinted and refracted through the layers of impossible glass.
How wrong is this? Let me count the ways.
The Most Wrongest Possible
1. Everything that makes this interesting to look at comes from the way light interacts with the glass structure, which is an effect that’s impossible to achieve in realtime on home computers.
This mall is supposed to be targeted at the general public, not hardcore gamers. Most of those folks still don’t have dedicated graphics hardware.
Our lead programmers are a couple of really smart guys, but they aren’t top-tier engine programmers like you find at Epic Games or id Software. And even those geniuses couldn’t pull this off. In four years John Carmack will devise id Tech 4, the engine behind Doom 3. That engine will finally give the ability to create one of the effects used in this scene. (Real time shadows.) And that effect will only work for simple geometry, for limited indoor scenes, and only work on dedicated gaming hardware.
Even a decade and a half from now, high-end graphics hardware still won’t be powerful enough to pull off the complex effects we see here. And without that complex lighting, this place is dreary. In a 2000-era graphics engine like ours, colored glass does nothing more than tint things on the other side of it. It doesn’t cast shadows, refract light, or tint the light passing through it. It certainly doesn’t create dazzling reflections or volumetric rays of sunshine.
Without surface reflections, glass has no surface detail. Without surface detail, you have no sense of distance or scale. Everywhere you turn you just see a jumble of slightly blue triangles. You can’t even tell when you’ve run face-first into a wall. It just feels like you’ve stopped moving for no reason.
2. Enormous structures are breathtaking in real life, but tedious when explored via a 15-inch CRT.
If you’ve ever messed around with a game level editor, or if you’ve ever messed with some of the enormous open maps in Garry’s Mod, then you’ve probably encountered this. Large spaces make you feel like an insect crawling across a room. You feel so slow. You start holding down the W key harder in the hopes you can somehow close this impossible distance.
This can of beans is humongous. Someday in the future we’ll be able to make games that have big structures like this that will appear impressive instead of boring. They’ll accomplish this by filling the space with detail that gives the user a sense of scale. Trees. Benches. Signage. Planters. Walkways. Railings. Fountains. Archways. Low walls. Grass. Trash cans. The submitted design contains none of these elements. Moreover, today’s computers aren’t nearly fast enough to render enough fine detail to fill this space in. In the end, it feels like navigating an empty warehouse.
3. The size of the building does not interact well with our draw distance.
When you’re outside the building, the shops on the far side of the structure will pop into view as you approach. Since the building is basically one giant window, you get a really nice view of this happening. And since the building fills your entire screen, the pop-in is brutal to the point of being confusing.
Moreover, the towering multi-floor design creates a worst-case scenario for polygon count. Our software’s view distance is based on a 2D overhead view, which means distant things are removed from the horizon, but not directly above you. When you’re on the first floor, all of the contents of the other dozen or so floors will also be in memory, since they’re directly overhead. If the building had a more flat design, then some of this stuff could be hidden behind the draw distance. And when it popped in, it wouldn’t be as abrupt because the new objects would be small things in the distance instead of large things looming directly over you.
4. The central shaft requires vertical movement.
The designer just put an open circular shaft in the middle of the structure and left it to us to figure out how people should change floors. Users can fly up and down at will, so I guess that’s how you get around?
If anyone had thought to ask me beforehand, I would have told them that vertical movement should be avoided at all costs. Barring that, vertical movement should be mediated by familiar things like ramps or staircases. Using an elevator is a terrible idea in a shared space for numerous reasons, from animation problems to griefing. Above all, under no circumstances should you ask anyone to FLY.
This is supposedly a product for internet newbies. This is supposed to introduce non-gaming folk to the concept of moving around with the arrow keys and turning your head with the mouseAt this point we didn’t have WASD movement or proper mouselook. A year later I added those things when I became a full member of the coding team, but here in 2000 we’re still using a control scheme devised in 1994.. That alone is going to be too much of a hassle for a lot of people, and adding flight is just asking for trouble.
5. The round floorplan will make construction a nightmare.
Round surfaces require more polygons than flat ones, which will exacerbate all of the performance issues caused by all the other stuff that’s wrong with this design. But on top of that, this sort of design will create endless headaches for the people who have to build and maintain it.
Even cutting-edge games have trouble with curved surfaces, and we are not a cutting edge game nor are our intended users equipped with cutting-edge hardware. Our client and server are built around a system of placing objects with 1-centimeter accuracy and snapping their rotation to the closest tenth of a degreeBoth numbers are actually stored as integers, so an object rotated 180 degrees would store its angle as 1800.. It’s easy enough to build straight walls that run directly North/South or East/West, parallel to the world axis. And if you’re careful you can reliably build 45° off the world axis. But building out from a central hub at arbitrary angles will lead to z-fighting, collision irregularities, and infuriating seams between wall panels.
Sure, we could solve this by overhauling our client, the server, how the two of them communicate, all of the various files they use for storing world data, and the building interface itself. That’s a project that would take weeks, and the shakeout period would be even longer. It could be done, but why spend all that precious time just so we can adopt this design, when there are countless other designs that wouldn’t incur such a massive cost? Moreover, there’s no time in the schedule for this kind of ambitious work. What will end up happening is that the client will remain as it is, and instead the art team will be doomed to spend hours trying to hide countless 1-pixel seams and get objects to line up properly.
I can sort of understand how we got here. I’m pretty sure John Business is in the retail business, because in the meeting he knew a lot about the expectations and preferences of real-world shoppers. More than once he used the phrase “full of light and air” to describe how shopping spaces need to feel. And yeah, I guess that does seem to embody the design philosophy of the typical upscale mall. This glass cylinder seems to be an attempt to take that idea to its logical extreme. Someone heard that virtual reality frees you from the limits of the physical world, and so they decided to make a shopper’s paradise. But what they needed to realize is that while virtual worlds remove the limits of the physical world with regards to support columns, floor space, and building materials, they impose a bunch of new limits that are just as restrictive as the old ones. These limits need to be understood before you can build anything worthwhile.
The worst part of this is: Once you walk across the vast open space to the mall, navigate the dizzying circular design and fly up to the shop you’re interested in, squeeze through the realistically-spaced (thus incredibly narrow by “VR” standards) aisles to find your goods, and click on the cash register to pay, it pops up a webpage to handle the financial end of the transaction. We came all this way, and we end up with just another Amazon.com style shopping website.
Which means all of that expensively-produced virtual stuff is just a really inconvenient way of searching for products. What we have here is the worst of all worlds. We’ve combined the hassles and inconvenience of physical shopping with the uncertainty, learning curve, and security concernsBack then, many people were very nervous about typing their credit card information into a computer. of shopping online, and on top of that we’ve added the hardware requirements and navigation challenges of a first-person videogame.
To be fair, there are some neat ideas here. It’s kind of cool to be able to pick up a camera, turn it over in your hands, open up the panel in the back, and otherwise get a sense of how the genuine article might feel in your hands. But those models are brutally time-consuming (and thus expensive) to produce. It makes sense to do this for cameras and other expensive gadgets, but the vast majority of things in a mall don’t fit that description. This means the vast majority of things in the store will be displayed to the consumer via static images, which is something webpages are already doing for a lot less hassle, expense, and complexity. We’re building this immense structure and all of these interior spaces, when there will be perhaps a dozen items in the entire complex that could possibly benefit from being showcased in this place.
 Well, the environment, anyway.
 At this point we didn’t have WASD movement or proper mouselook. A year later I added those things when I became a full member of the coding team, but here in 2000 we’re still using a control scheme devised in 1994.
 Both numbers are actually stored as integers, so an object rotated 180 degrees would store its angle as 1800.
 Back then, many people were very nervous about typing their credit card information into a computer.
Video Compression Gone Wrong
How does image compression work, and why does it create those ugly spots all over some videos and not others?
Trashing the Heap
What does it mean when a program crashes, and why does it happen?
Artless in Alderaan
People were so worried about the boring gameplay of The Old Republic they overlooked just how boring and amateur the art is.
The Opportunity Crunch
No, brutal, soul-sucking, marriage-destroying crunch mode in game development isn't a privilege or an opportunity. It's idiocy.
Quakecon 2011 Keynote Annotated
An interesting but technically dense talk about gaming technology. I translate it for the non-coders.