Gamasutra: The Art & Business of Making Gamesspacer
Good tactics of producing 2D game scene
Printer-Friendly VersionPrinter-Friendly Version
View All     RSS
April 24, 2014
arrowPress Releases
April 24, 2014
PR Newswire
View All
View All     Submit Event





If you enjoy reading this site, you might also want to check out these UBM TechWeb sites:


 
Good tactics of producing 2D game scene
by Junxue Li on 07/19/13 02:21:00 am   Featured Blogs

The following blog post, unless otherwise noted, was written by a member of Gamasutra’s community.
The thoughts and opinions expressed are those of the writer and not Gamasutra or its parent company.

 

   Please first take a look of this picture, this is a screenshot from a facebook hidden object game Jane Austen Unbound. The setting is in early 1800s England. (This picture is not produced by our team, because it is a picture in the public domain, we take it as example to illustrate the ideas in this article.)



 For scenes like this, after the design is greenlighted, we would think of the production of the picture. We can break down the picture to individual elements. Here we have couch, clock, piano, frames, stair, etc. To make an individual thing, for example, the couch, the most easy way, is to find a photograph, which is in the right shape and perspective, and with enough pixel resolution. Then you compose the photograph to the picture, apply some overpainting, then it’s done.
    In most cases, you can find tons of photos of desired shape, but none is in the right perspective. Then lots of extra effort is demanded. You would cut parts of different photos, legs, plates, add some deformation, then stitch them together to get the thing you want.
   Sometimes you get a good photo, but the details are too blur, rendering it useless.
   In these situations, you can think a bit of 3D. The basic ideas is to download free models from the web, do some simple render, then add overpainting.
   Here are few good sites to download free 3D models:
  
   For the above particular scene, let’s see the result of a few model searches in archive3d.net



  On this site, there are usually scores of models of certain object, for example there are over 2000 models in the “Couch” category. You can choose the one fits your need best.
   After having decided what objects in your scene should be 3D, the best tactics is to gather all these models, put them together in a 3D scene, render out a single color image, then proceed to 2D editing&overpainting.
   Keep in mind, the final image depends much on 2D overpainting, so you don’t need to employ high end method of 3D production as the movie industry would demand, such as very complex shaders, advanced lightings. Try to get the 3D images by cheap method, to produce your scene fast and reduce cost (But by no means compromise quality.)
   Let me give you a simple example to illustrate this idea. Sorry I can’t show our full 3D scenes, let’s go with a single furniture.
   Download this cabinet model form www.3dmodelfree.com.
   It’s UVs is not very good. That I use cylinder projection to fix the legs. If you get a model with bad UVs, only use basic projection tools, such as plane projection, cylinder projection, automatic projection. This can save the labor to the minimal shape. Don’t manual tweak UVs, and don’t mind the seam of the textures. Keep mind we can address these issues easily in 2D overpainting phase.
   Then find a good wood texture for it, use a basic blinn shader, crank the highlight of the shader a bit. And the drawer handle is assigned only a simple white shader. 
   About lighting, only give a key light and a fill light. Keep in mind we will give more subtle lighting in 2D afterward. Don’t try advanced lightings such as global illumination and final gather, they are slow.
   Ok, then render a color image.



  Then an ambient occlusion(AO) image.


   Compose the AO image on top of the color image, which gives a sense of structure and volume, it’s a good compensation to our cheap way of texturing and lighting.



   Then we go to the final 2D overpainting stage.
   To our experience, either you overpaint photo objects, or first 3D render then overpaint, the quality and style of the resulted graphics are of no difference. And about which method to choose, it’s very singular: we only 3D render those objects in the scene that a good photo is not available.
   So in your production, don’t insist on a all 2D or all 3D scene, try to find the most labor saving combination.
   Things good for 3D:  furniture, machines, architectures, manmade items;
   Things good for 2D:  rivers, mountains, plants, grounds.  
   There’s a trick worth mentioning. If you design a scene from scratch for your client. For example, if you need a vintage sofa in your picture. Before drawing the line art, first look into the 2D photo and 3D model library. Only if you can find a desirable sofa in the library, that you put it into your design. And later in production stage, it’s very straight forward process, only a matter to overpaint the sofa you already have; on the contrary, if you design the sofa totally by mental work, and later you can’t find an identical sofa photo or 3D model, that means you must build this thing all from scratch, a lot more of works!
   This trick doesn’t apply if your picture style is hand-painting. By even in this style, 3D rendering would do you some help. It would give you precise shapes and perspective. One of my friends make pictures in this way: he first builds everything in the picture in 3D, then he doesn’t assign any texture and lighting. He just renders a grey scale image by ambient occlusion, then he hand paint the whole picture. 

 


Related Jobs

Linden Lab
Linden Lab — San Francisco, California, United States
[04.23.14]

Sr. Front-end Web Developer
Linden Lab
Linden Lab — San Francisco, California, United States
[04.23.14]

Sr. Software Engineer, Back-end
Linden Lab
Linden Lab — San Francisco, California, United States
[04.23.14]

Lead Engineer
2K
2K — Novato, California, United States
[04.23.14]

Lead Mission Designer






Comments


Ian Richard
profile image
Wow, that's pretty clever. Simple, but effective.

As a programmer, I'd never have thought of that.

Joy Zimba
profile image
Brilliant little trick with the passes. Will definitely try it.


none
 
Comment: