• 18 Jun

    Realistic renderings can be done easily in Adobe Illustrator.

    With vector shapes, the objects can be preserved and edited infinitely which is a great advantage over raster objects.

    A few simple tweaks from the Effects menu and an understanding of basic object rendering can create a bold and stunning finish.

    In this tutorial, created exclusively for WDD by Wendy Ding, she’ll be guiding you step by step through the stages required to create a realistic candy bar using Illustrator.

    1. Sketch

    Start by sketching the overall shape complete with linear guides, which will be used to show how to define the vector shapes that we’ll be drawing on top. Define the main shape, wrinkles, highlights and shadow areas. It helps to use an actual candy bar or an image of one for reference.

    sketch


    2. Import to Illustrator

    Scan the sketch into Photoshop and adjust Image > Adjust > Brightness / Contrast until the lines are clearly visible. Open Illustrator and import the sketch using File > Place.

    In the Layers panel, double click on the sketch layer to bring up the layer options pop-up window and check Template. For tracing purposes, the sketch can be dimmed to be less visible if preferred.

    import


    3. Stacking Order

    It is crucial in vector files to have a logical stacking order of the layers. The elements all work together cumulatively, so be sure to arrange separate elements accordingly.

    For example, the main wrapper, highlights, shadows and text all have their own respective layer. It also helps to name the layers appropriately.

    order


    4. Tracing Technique

    An efficient way to trace and color in Illustrator is to first create the shape using the Pen tool with a default white fill and black stroke (or no fill, depending on your preference).

    trace1


    Then, when the shape is finalized, select a color or gradient and apply it.

    traceb


    5. Main Shape

    Create a new layer on top of the sketch template layer, so as to use the sketch template layer a guide. Trace along the main wrapper shape with the Pen tool, taking care to add details such as the zig-zagged ends.

    Omit the bottom portion and top right corner of the wrapper for now, as this will be dealt with separately. Fill the shape with a very subtle yellow gradient of #F7EC94 to #F6E22C at an angle of -104.25.

    main


    6. Bottom Portion

    On a new layer above the main wrapper layer, trace along the sketch to create the bottom portion. Apply a tan-hued gradient of #C8C26A to #A9A574 at an angle of -105.59.

    bottom


    7. Top Corner

    Create a new layer on top and trace the top right corner of the wrapper. To make the top corner look creased, draw a new black stroke with no fill across the bottom corner – this will be the dividing line.

    corner1


    With both the corner shape and the black line selected, click the Divide button in the Pathfinder panel to separate the shapes. Right click (ctrl-click) and select Ungroup.

    corner2


    Now, apply a gradient of #FAEE8A to #E5D64B at an angle of -107.48 to the bigger shape, and #5A530B to #F6E775 at an angle of 91.66 to the smaller piece.

    Last, change the Opacity of the smaller piece under the Transparency panel to 35% Color Burn.

    corner3


    8. Candy Bar Name

    On a new layer, trace the shape of the candy bar name. Try to trace the letters slightly skewed and wrinkled to make it appear more realistic. Use the Divide method from the last step to create hollow letters like “O” or “e”, except instead of a line, use a shape as the divider.

    name1


    The colors can be set to various gradients, as long as they give the letters the appropriate contouring of the form beneath them. Notice how this application gives the illusion of highlights.

    name2


    Next, make a new layer underneath the name layer and trace a slightly bigger outline around the letters in a white fill and no stroke.

    name3


    9. Main Shadows

    For best results, use an actual candy bar or image of one for reference as this makes it easier to plot out the shadow areas.

    A general rule regarding shadows: for direct folds, the shadows are crisp and darker; for slight creases, the shadows are lighter and blurrier. Also, shadows can differ in size and shape: some are large and rounded, while others are small and linear.

    Use the Pen tool to first create the various shadow areas.

    shadow1


    With a combination of experimentation and using actual reference, set the color and value of each shadow to match the amount that you see in the folds in your reference candy bar. Gradients can also be applied to get the look right.

    There are two ways to blur a shape: 1) select it and click Effect > Stylize > Feather. With Preview turned on, toggle the amount till satisfied. 2) Effect > Blur > Gaussian Blur.

    Another tip is to play with the Opacity to tone some shadows down. This may take some patience to get the results right.

    shadow2


    10. Gradient Mesh

    For tricky shadows, use the Gradient Mesh tool from the Tools panel. With this, the way the gradients bend and move can be custom-controlled, curved and angled.

    Make the grid fuller by adding points with the Pen tool and take them away by selecting and deleting each point. Drag and position the anchor points with the Direct Select Cursor (A). Experiment with it to produce a look that feels right.

    mesh


    11. Highlights

    Generally, candy bar wrappers are shiny and give off a sheen. On a new layer with the Pen tool, create a large shape that encompasses the main highlighted area. Create a few more smaller areas for secondary highlights.

    highlights1


    Change the fill for the highlights to white with no stroke. Now, similar to the shadows, experiment with Blur and Opacity to determine the right look.

    It is important to tone down the highlights so that it looks like a slight wash over the other objects instead of a patch of white. This is what makes highlights natural and realistic.

    highlights2


    12. Shadows 2

    Now the topmost portion needs a bit more shadow. On a new layer, create shapes with the Pen tool similar to the first set of shadows, but smaller in size and less in quantity.

    These shadows are different because they are not the main ones. They are also subtler.

    shadowsB1


    Instead of darker colors, apply gradients in a tan or light brown to pale yellow, which gently add hints of folding and creases.

    shadowsB2


    13. Cast Shadow

    The cast shadow falls on the opposite side of the light source, which in this case is along the bottom and right side of the wrapper.

    On a new layer, underneath all the other layers, first trace along the bottom of the wrapper to make the bottom shadow. Then, trace along the right side of the wrapper for the right shadow.

    Do not trace it in the same exact shape as the wrapper since this is a shadow, which should look different.

    cast1


    Select both shapes and move them so that they sit slightly below and to the right of the wrapper. Now, set the fill to a gradient of 70% grey to 37% grey with no stroke.

    Last, add Gaussian blur (Effect > Blur > Gaussian Blur) to both shapes: the bottom shape at 2.8 pixels, and the right shape at 1.6 pixels. This is the final step in making the candy bar realistic because it grounds the object.

    cast2



    Written exclusively for WDD by Wendy Ding.

    If you followed this tutorial,  please share your results with us by posting the links to your results below…



  • 49 Comments »

     
    #1
    Patternhead
    June 18th, 2009 at 11:36 am

    Really excellent tut.

    Nice techniques and the end result is pretty impressive.

     
     
    #2
    Patternhead
    June 18th, 2009 at 11:37 am

    BTW who is Henry?

     
    1 Reply
     
    #3
    Patrik
    June 18th, 2009 at 11:42 am

    Very nice tutorial, sweet indeed ;-)

     
     
    #4
    Oliver
    June 18th, 2009 at 11:50 am

    great tutorial. amazing results

     
     
    #5
    Daniel
    June 18th, 2009 at 12:27 pm

    Looks tasty, brilliant work!

     
     
    #6
    Jeremy
    June 18th, 2009 at 1:06 pm

    I’m always amazed by vector illustrations which can render light so realistically. Great tutorial. It doesn’t seem so difficult after all! I definitely need to practice on that…

     
     
    #7
    jeCa
    June 18th, 2009 at 1:13 pm

    cool outcome :)

     
     
    #8
    insic
    June 18th, 2009 at 1:29 pm

    the result is seems like a photograph. good job.

     
     
    #9
    SAMIINOUR the DZiner
    June 18th, 2009 at 1:57 pm

    Waw! very realistic and in the same time easy. Good job.

     
     
    #10
    Mars
    June 18th, 2009 at 2:15 pm

    perfect, well laid… i love it

     
     
    #11
    Michael Prewitt
    June 18th, 2009 at 4:06 pm

    Wow. Great tutorial. I love Illustrator, but so far my designs are not even close to this good.

     
     
    #12
    bebopdesigner
    June 18th, 2009 at 5:52 pm

    Brilliant tut! thanks for posting.

     
     
    #13
    maya
    June 18th, 2009 at 5:53 pm

    so good! very nice! :)

     
     
    #14
    vinz
    June 18th, 2009 at 6:03 pm

    oooooooooh ! that is a nice one, congrats !

     
     
    #15
    Blue Blots
    June 18th, 2009 at 6:38 pm

    Superb!!!!!!

     
     
    #16
    Adam
    June 18th, 2009 at 7:53 pm

    That looks amazing, when I first saw it I thought it was photo. I’d love to learn how to do some Illustrator images like that, I think I’ll use this tutorial as a guide.

    Thanks.

     
     
    #17
    holls
    June 18th, 2009 at 10:26 pm

    This site is so much better than Smashing Magazine.

     
     
    #18
    Wendy
    June 18th, 2009 at 11:02 pm

    Hey guys,

    Thanks so much for all the positive feedback, glad you found the tut useful! I love vectors so it was a pleasure to share this.

    Patternhead, O’Henry is a popular chocolate bar here in Canada (where I’m from) and US (maybe?)

    Definitely try it out, I’d be interested in seeing your candybar results :)

    Wendy

     
     
    #19
    El Pastor Culión
    June 18th, 2009 at 11:47 pm

    WOOOOOOOW!

     
     
    #20
    Web Design Mumbai
    June 19th, 2009 at 12:18 am

    wow, absolutely brilliant.

    great work.

    thanks for the tut.

     
     
    #21
    The Frosty
    June 19th, 2009 at 12:22 am

    Wow, that’s crazy, I’ve never been good with vector art.

     
     
    #22
    Web Design Samui
    June 19th, 2009 at 6:28 am

    Wow, This is the best tutorial of Illustrator I ever seen.

     
     
    #23
    oxidizzy
    June 19th, 2009 at 8:27 am

    hohohoh.. it’s damn cool tutorial !!!

     
     
    #24
    ccoz
    June 19th, 2009 at 11:38 am

    Nice work!

     
     
    #25
    Nikola
    June 19th, 2009 at 4:12 pm

    excellent tutorial!

     
     
    #26
    Fetching Vectors
    June 19th, 2009 at 8:07 pm

    It is amazing how you have created a vector image that is so photo-realistic.

     
     
    #27
    Léo Renaud-Allaire
    June 19th, 2009 at 10:46 pm

    Quite impressive result for a vector illustration.

     
     
    #28
    Adam
    June 19th, 2009 at 10:59 pm

    Awesome tutorial very nice and realistic

     
     
    #29
    erk
    June 20th, 2009 at 1:26 am

    very good work (to find the tutorial and the tutorial)

     
     
    #30
    Miguel Gómez-Arboccó
    June 20th, 2009 at 8:40 am

    Excellent! Thank you!

     
     
    #31
    Sohbet Muhabbet
    June 20th, 2009 at 10:03 am

    so good! very nice!

     
     
    #32
    Dnyanesh
    June 20th, 2009 at 4:47 pm

    Simply delicious!

     
     
    #33
    Marta
    June 24th, 2009 at 3:47 pm

    Wow, congratulations! But the point is to have an imagination to draw the shadows! :)

     
     
    #34
    Mike
    June 26th, 2009 at 1:35 am

    For someone moving from vector shapes in PS to drawing in Illustrator I’ve learned a lot, thank you!

     
     
    #35
    Simona
    June 26th, 2009 at 11:59 pm

    very cool, nice tutorial, easy to follow and great outcome.

     
     
    #36
    Brightknight
    June 29th, 2009 at 1:00 pm

    Very nice tutorial! way to go!

     
     
    #37
    Bjørn Friese
    June 30th, 2009 at 11:06 pm

    The drawing is by far the hardest part of this tutorial.
    It’s amazing.

     
     
    #38
    Bai
    July 1st, 2009 at 5:24 am

    I cant say anything, except it is just like a photo !!

     
     
    #39
    gregor
    July 1st, 2009 at 5:26 am

    Very nice indeed! But instead of Step 5, I would not go to the trouble of retracing the main shape before refining – I would just duplicate the layer and rename the copy.

     
     
    #40
    anildesigner
    July 2nd, 2009 at 11:03 am

    Really.. Its greate tut…

    thanks…

     
     
    #41
    ktyellow
    July 2nd, 2009 at 6:14 pm

    He he I want one for me, very good!!!

     
     
    #42
    Maryam
    July 9th, 2009 at 9:18 am

    Thank you so so much, I have been looking for such a tutorial on line for about a year, I even asked Sharon Steuer the author of Adobe Illustrator CS3-Cs4 Wow! Book and she didn’t know, I found my answer here.

    Thank you soooooooooooooo much much :) )))

     
     
    #43
    tutorialslounge
    July 22nd, 2009 at 3:59 pm

    really nice training there.

     
     
    #44
    Mwasamani
    August 5th, 2009 at 6:15 pm

    Great tutorial and idea too.

    thanks

     
     
    #45
    Northon
    August 12th, 2009 at 5:02 pm

    Great tut! Realistic result.

     
     
    #46
    Maxwell
    September 23rd, 2009 at 8:38 pm

    Really stunning!

    Thanks for sharing.

     
     
    #47
    nicepricewebsites
    September 24th, 2009 at 12:27 pm

    I love this tut, the end result looks so realistic – just gotta try following all the way through now rather than skipping through!

     
     
    #48
    Lolpear
    October 16th, 2009 at 4:50 pm

    Im going to gamelon to have ice cream for dinner

     
     
    #49
    Non ame
    November 7th, 2009 at 2:10 am

    i can do that in 2 steps:

    1. take hi res photo of candy bar
    2. auto trace

     
    Name (required)

    E-mail (required - never shown publicly)

    Web-site

    Your Comment (smaller size | larger size)

Home| Advertising| About| Contact

© 2010 All Rights Reserved