This Cyber Monday Tuts+ courses will be reduced to just $3 (usually $15). Don't miss out.
In this tutorial I'm going to show you how to take your flat design (as in two dimensional, not flat as in the current design trend) and add some life by mocking it up on a 3D plane in perspective. The purpose of this is to present your design in a more dynamic way, giving it more depth and visual appeal. It can be a very effective way to present visuals to clients.
There are a couple of ways to achieve this effect, such as using Photoshop's own 3D tools and creating 3D layers. I am, however, more comfortable using proper 3D software such as 3ds Max as it offers much more control over the camera, allowing you to rotate around the 3D plane with greater control over the lighting and shading. Initially it may look more complicated, but when you've done this once you'll later be able to mock your work up in a matter of minutes.
The principles demonstrated here are application agnostic; you'll be able to apply them to any 3D software out there. To follow along you should know your way around Photoshop and have at least opened a 3D tool program before.
Anyways, for this tutorial I will be mocking up the design of our latest app called TriplAgent, which seems to be spreading like wildfire on those interwebs. You can see the whole design on my Behance portfolio.
1. Creating the 3D Plane
Open up your 3D application. I am using 3ds Max 2012, but as mentioned before you can use just about any 3D tool.
I use Vray as the main rendering engine because it offers realistic lighting and shadows. Make sure you turn on Indirect Illumination, but you could also use Max's default renderer and achieve similar results.
Apply similar settings as those in the screenshots.
Now it's time to create the background. Go to Create > Under Standard Primitives choose VRayPlane. A plane will appear as in the screenshot below. Just drag it to the side, it doesn't really matter where.
Alright, let's create the actual plane where your design will sit. Again, go to Create > Standard Primitives > Box. Under "parameters", enter the dimensions as stated below (this is the screensize for an iPhone 5).
Now we have to apply a UV map, so that the design wraps nicely around the corners of the plane. Go to "Modify" in the panel to the right and choose UVW Mapping from the Modifier List. Make sure "Planar" is selected.
Time to apply the materials, so open up the Material Editor in the top right corner of the main toolbar. Create two VRay materials, one for your background (the VRay plane) and one for your box you just created. Drag and drop the material onto each object.
Let's perform a quick render. Click on the Render Production (the teapot icon)...
Good job, time to put on a nice dress. We need to apply our actual mockup image as a material to the 3D object. Open up the material editor and click on the material that you assigned to the box.
Scroll down until you see the Maps rollout, then click on Diffuse > Maps > Standard > Bitmap and navigate to the folder where you have saved your design.
Note: My file was a .png with dimensions of 1136 x 640 pixels.
You will now see your file wrapped around the sphere in the material slot. Click on the checkered icon and you will see the design wrapped around your box in perspective view. Don't forget to set the blur value to 0.01 to get a crisp render of your image.
Voila! The design wraps nicely around your box. Go ahead and save this file as a png or tif. Time to change the background color and spice things up..
There are two ways to change the background color. Either you can change the color of the material you assigned to your VRayPlane or you could change the color in Photoshop. I'll show you how to do this in Photoshop, because it is much easier to change the color without re-rendering your scene.
Let's move on. Right-click on your VrayPlane and click "Hide Selected".
Hit Render and click on the alpha icon as seen below in the screenshot. Save the image as a .png and we are done here.
Time to move on to your best friend, Photoshop.
2. Adjusting Background and Finalizing
Take the alpha file you just saved and open it up in Photoshop. Go to Channels and select (CMD+A) the alpha channel on the bottom. Copy it to the clipboard.
Open up your rendered image that you previously saved. Again, go to the channels window and paste the alpha channel you just copied. This time we need to select the actual mask, so hold down CMD and click on the mask.
Open the layers window. Holding down the CMD key, left click on Add layer mask as seen below. The plane should be nicely isolated from the background.
Create a new layer and fill it with any color you like. As long as it looks good. Mkay.
Now we are going to add shadows. You could keep the shadow that was in the image but let's use Photoshop's shadows this time. CMD+click on your mask again and create a new layer. Fill the selection with a dark color that matches your background. Open Layer Styles and play around with the drop shadow effect until you find something you like.
Good job, we're done! A more pleasing way to look at a 2D design, don't you think?
This is what you could end up with:
Congratulations! You're Done
In this tutorial, we've walked through how to take a 2D design and transform it into a 3D mockup with perspective. I'm guessing that many of you were a bit intimidated by the whole 3D thing, but it really is quite basic once you get the hang of it.
Some interesting next steps would be to try experimenting with different plane sizes, using different camera angles and also changing the camera lens to achieve a distortion of the perspective. You can see the whole design on my Behance portfolio, and also check out TriplAgent mobile app. Thanks for following along!