Psdtuts+ Updates - Create a 3D Software Box in Photoshop Using Actions | |
Create a 3D Software Box in Photoshop Using Actions Posted: 08 Nov 2010 05:00 AM PST Actions can be used to quickly automate repetitive tasks. In this tutorial, we will demonstrate how to create an action that will automatically create a 3D software box from a flat template.
Video DemonstrationTake a look at this short video demonstrating what this action will do. Step 1: Create the CanvasOur first step is creating an action to create the canvas template. Open action panel, click folder icon to create new set. Name it Psdtuts+ box. Click new icon to create new action and name it 1-Create Canvas. Click Record. Remember that you should not do anything that is not needed because Photoshop will remember that. Make sure to follow this tutorial closely. Step 2Our first step is creating the new file. Click File > New. The box dimension are 19.3 x 5.8 x 24.2 cm. For the canvas size, use 25.1 x 30 cm. Set resolution to 300 dpi, this will enable the final artwork to be printed. Step 3Create two horizontal and vertical guides. Click View > New guide with position: 5.8 cm. You will see that the actions list is updated. Step 4Add some information on the size of the template. We will not use space on top left corner, so add that as well. Because this action is intended to be used by many people, not for our personal use, we have to make sure that everything we do here can be done on other people’s computer. The same goes for adding text. Use font that available in every OS (PC and Mac). In this tutorial, I used Arial. Step 5Let’s simplify the template and flatten all layers. Click Layer > Flatten Image. Step 6We’ve finished the first action; creating the box template. Press the Stop button. Below, you can see list of steps that we performed. I suggest you to test this action by clicking the Play button. Step 7: Front CoverWe’re done with creating the box template. Our next step is creating an action to automatically render the template into 3D. This takes lots of steps. We’ll simplify it by separate it into 8 smaller actions. Our first action will create the front cover. Click new action icon and name it 2.1-Front Cover. Click record button to start recording action. Step 8In practice, at this point the box design is possibly in some layers. So, our first step is to flatten all layers. The problem is now we only have one layer and Flatten Image command is not available. To fix this, press Stop button to stop the recording process, create new layer, press Record to continue recording, click Layer > Flatten Image. This way, we can record Flatten Image command and skip creating new layer. Next step is to reset foreground and background color to default, black and white. Use the rectangular marquee to select front cover. Hit Cmd/Ctrl + J to duplicate selection to new layer. Rename layer to front. Step 9Press Stop button. Place a reference image onto the canvas. Move it behind layer front. Activate layer front. Press Record button to continue recording process. Step 10Press Cmd/Ctrl + T. Transform layer front until it fits the onto the reference image. Step 11Double click layer to open Layer Style dialog box. Add Gradient Overlay. Press Stop to stop the recording process. Step 12We’re done recording actions for front cover. This is the list of steps that we did. Make sure to test our action by running action 1-Create canvas and then action 2.1-Front Cover. Step 13: Side CoverFirst, hide the reference image. Create a new action, name it 2.2-Side Cover. We will be recording the creation of the side cover. Step 14Activate Background layer. Use rectangular marquee tool to select side cover. Duplicate selection to new layer (Cmd/Ctrl + J). Rename layer to side. Step 15Press Stop, we don’t want this step recorded. Place layer side above reference image. Step 16Make sure layer side is active. Continue recording. Transform side cover to perspective. Step 17Add Gradient Overlay and Color Overlay. These layer styles will add some shades onto side cover. Step 18We’re finish with this part. Press Stop button. Take a look at steps we have recorded. Test the progress by running all the actions we have created. Step 19Hide reference image. Our next step is creating an action for top cover. Click new icon and name this 2.3-Top Cover. Click Record button. Step 20Activate Background layer. Select top cover, hit Cmd/Ctrl + J. Rename layer to top. Step 21Press Stop button. Now place reference image behind layer top. Make sure to reactivate layer top and press Record button to continue recording. Step 22Hit Cmd/Ctrl + T and transform top cover. Step 23Add layer style Gradient Overlay. Press Stop button. Step 24Below is the list of recorded steps. Don’t forget to test the progress. Step 25: ShadowHide reference image. Create new action, name it 2.4-Shadow. Step 26Activate Background layer. Create new layer. Rename layer to main shadow. Press Stop button. Place reference image under layer main shadow. Reactivate layer main shadow. Step 27Press Record. If this is an ordinary illustration, we can just draw the shadow manually using brush tool. Because actions cannot record manual drawing, we need to use another method. Use polygon lasso tool to create selection in shadow shape, right under the box. Click Edit > Fill, Use: Black. Step 28Deselect (Cmd/Ctrl + D). Click Filter > Blur > Gaussian Blur to soften the shadow. Step 29Set layer opacity to 34%. Step 30Hit Cmd/Ctrl + J to duplicate layer main shadow. Add another Gaussian Blur, this time use very big Radius. This will be the cast shadow on the floor. Step 31We’re done with this action. Press Stop to stop recording. Step 32: Drop ShadowCreate new action, name it 2.5-Drop Shadow. Step 33Select Background layer. Create new layer, rename to drop shadow. Press Stop button. Place layer above reference image. Step 34Press Record button. We need to create another shadow that goes behind the box. Use polygon lasso tool to create the selection and fill it white black to white gradient. Change layer blend mode to Multiply to hide lighter pixels. Step 35Deselect (Cmd/Ctrl + D). Add Gaussian Blur. Reduce layer opacity to 58%. Step 36Press Stop and hide reference image, we no longer need it now. Below, we can see that there is too much shadow on the back. Again, if this is just another illustration we can simply use an eraser tool and delete it. Because Photoshop cannot record manual drawing, we will use another technique, masking. This will takes more time but at least Photoshop can record that. Step 37Press Record button. Add layer mask then draw a linear black to white gradient. Shadows covered with black will be hidden. Step 38Drag layer mask icon to trash icon to delete it. Select Apply to delete hidden pixel. If you still not satisfied with the result, you can repeat this process. Add layer mask again, draw gradient, and then delete the mask. Step 39We’re done with this action. Press Stop. Step 40: Cut Front and Side CoverWe will add a nice reflection on the floor. Create new action again. In this action, we will simply cut each reflection into separate layers. Step 41Activate Background layer. Select side cover. Cut selection to new layer by pressing Cmd/Ctrl + Shift + J. Rename layer to side reflection. Step 42Activate Background layer. Select front cover, cut it to new layer (Cmd/Ctrl + Shift + J). Rename layer to front reflection. Step 43We’re done with the action. Press Stop. Step 44: Create Front ReflectionNext action is creating front reflection. Create new action. Step 45Our current canvas is too small for reflection. We need to add extra space. Click Edit > Canvas Size. Select top rectangle since we want to add canvas to lower part of the image. Step 46Remember that in our last action, layer front reflection is selected. So, we can directly continue to transformation. Hit Cmd/Ctrl + T, right click and choose Flip Vertical. Hold Cmd/Ctrl and move each corner. See picture below for reference. Step 47Double click layer. Set Opacity to 30% and add Gradient Overlay. Step 48Add layer mask. Draw white to black gradient until front reflection fading gradually. Step 49Press Stop button. We’re finish with this action. Step 50: Create Side ReflectionCreate new action. Click Record. Step 51Remember that in our last action, active layer is front selection. So, we need to select side reflection to activate it. Perform similar transformation process. Step 52Set layer opacity to 30% and add Gradient Overlay. Step 53Add layer mask. Draw gradient to gradually fade the reflection. Step 54Press Stop. Let’s review our action. Step 55: Action 2.9-Clean upCreate new actions. This will be our last action. Step 56Select Background layer. Draw a simple black to white radial gradient. Step 57We don’t want the user distracted by thin guides on the workspace. Click View > Clear Guides to remove them. Step 58This one is short. Step 59: Combining All Steps Into One Big ActionLet’s simplify the action. Create new set. Alt-drag action 1-Create Canvas to duplicate it. Create new action and name it 2-Render. We won’t record any command so press Stop button. Alt-drag list of commands from action 2.1. Alt-drag list of commands from action 2.2 and put it under previous list. Keep doing this until every command is in one giant action. If you test the action by running first action then second action, you will get image below.
Step 60: Create Product Box for Psdtuts+ Texture PackWe’re done with the action. Now, we’ll use this action to create a simple Psdtuts+ texture pack box. With the help from our action, designing process is much easier. Select action 1-Create Canvas and press Play button to automatically create cover template. Step 61Let’s fill Background with a simple gradient. Step 62On top left corner of the front cover, draw a square shape. Use pen tool and click its right bottom corner to delete it. Duplicate the shape, hit Shift + Left Arrow and Shift + Right Arrow a few times to move the shape. From the option bar, select subtract icon. We will have a ribbon shape. Step 63Change its color to #ebbf25. Add Gradient Overlay. Step 64Create new layer, hit Cmd/Ctrl + Alt + G to convert it to clipping mask. Paint white on indicated areas to add depth. Step 65Use pencil tool, size 2 px to draw a straight line on some part of the ribbon. Step 66Create new layer and place it under the ribbon. Draw a shadow. Create another layer and draw softer and bigger shadow. Step 67Add some text on it. Give it layer style Stroke. Step 68Create new layer and draw a white to black radial gradient from top left. Set blend mode to Overlay. Step 69Let’s add some texture. Here, I’m using a nice texture from Vandelay Premier. Set blend mode to Overlay and reduce its opacity. Step 70I use premium watercolor brush from Psdtuts+ to create some splatter. Place the splatter under the ribbon to get a nice 3D effect. Step 71Add some logos to each cover. Add text and give it some Stroke to keep it stand up. Step 72Select action 2-Render and press Play button. Wait for a few seconds or minutes, depends on the speed of your computer. Step 73It’s magic! You’ve got yourself a 3D product box. Congratulations! Final ImageThat’s it. I hope this tutorial inspires you to create something cool automatically using actions. |
You are subscribed to email updates from Psdtuts+ To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |