TUTORIAL: Photo-realism Techniques in Vector

  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

In this tutorial we'll be discussing some ideas for making photo-realistic vector graphics.

I'm assuming you are familiar with Adobe Illustrator, or an analogous vector editor. I'll be using Adobe Illustrator CS4 for my end of this tutorial, however, older versions should work fine on your end. I'm also assuming that you have a decent understanding of vector creation methods including stroke and fill management, layer manipulation and Bezier curves.

Tools That We'll Be Using



Brushes
Brushes are generally defined by a geometric shape applied as a brush stroke. Brushes are applied to geometry the same way that a stroke is. There are different types of brushes including calligraphy, pattern, art and scatter. They can reduce the amount of time spent performing redundant actions.

To use a brush stroke, create a line. With the line selected, go to your Brushes palette (Window/Brushes). Select any of the brush strokes you see. After you've successfully applied a brush, try altering the geometry of the line and observed how the shape of the line effects the rendering of the brush stroke.

Attachments:
apple_brushes.jpg


Transparency
A singular transparency can be applied to any object(s) and groups. By "singular" I mean the transparency is applied to the whole object, equally.

In Illustrator you can apply transparencies to selected objects via the transparencies palette.

Attachments:
apple_trans.jpg


Opacity Masks
Often, you'll want to make objects with variable transparencies or knockouts. That is to say, one part of the object might be more, or less, opaque than another part of the object.

The area on the left shows the red rectangle that will be masked and black and white objects that will be used as masks. The area on the right shows the application of the opacity masks. Notice that white makes the opacity 100% and that black makes it 0%. This can be also be inverted.

Attachments:
apple_omask.jpg


Blending Modes
As we stack layers of graphical information on top of others, we can choose how each layer will react with objects below. In all the examples, the red rectangle's blending mode is the one being manipulated.

Attachments:
apple_blendmode.jpg


Gaussian Blur
As it is with raters graphics, Gaussian blurs can be very effective for softening edges and blending layered objects together.

Attachments:
apple_blur.jpg


Gradient Mesh
Gradient meshes are a very powerful way to create more organically shaped gradients. Essentially, you create a mesh that overlays a piece of geometry. Each vertex in the mesh is able to receive its own color. Each vertex also has Bezier controls so you can fine tune your gradient even further. The only problem is, it can get complicated quickly if you try to pack too much definition into one shape.

The image below shows how one might use a gradient mesh to fill an egg yolk.

Attachments:
apple_gradmesh.jpg


Starting Point


We'll start with our basic shapes. My scene is going to be an apple on a white background. The apple is going to have a stem and a leaf.

Using my pen tool and my direct selection tool I create and edit the outlines. I also create a couple of inset lines to mark other geometric features that I'll be working with in the future.

Attachments:
apple001.jpg


Walkthrough



I'll add some simple gradients.

Attachments:
apple003.jpg


Now, I'll isolate the apple's body and remove the stroke.

Attachments:
apple004.jpg


Next, I'll create the elements for an opacity mask, using existing geometry, and apply it.

Attachments:
apple005.jpg


Attachments:
apple006.jpg


Now I'll add a subtle reflection of the surface that the apple is sitting on. This is done with an opacity mask.

Attachments:
apple007.jpg


Now I'll add hot spots to represent the presumed light source.

Attachments:
apple008.jpg


I'll make the surface of the apple a little more interesting by using brush strokes to simulate the striations in most varieties of apples. Different brush groups are given different blending modes and opacities.

Attachments:
apple009.jpg


I add some speckles using a simple circle, copied multiple times, grouped and blurred.

Attachments:
apple010.jpg


I'll create the depression in the apple's body, where the stem joins the body. To do this I used a gradient mesh and some brush strokes with an opacity mask applied to them.

Attachments:
apple011.jpg


I'll create a shadow beneath the apple's body. This is a black circle with a blur. The shadow is then controlled with the object's opacity value.

Attachments:
apple012.jpg


The stem is a collection of very simple geometries and colors. This could be refined, of course, but it seems impractical for this walkthrough.

Attachments:
apple013.jpg


The components of the leaf are created with the same methods we've used already. including blurs, brushes and blending modes.

I've also employed a simple offset trick. For the body of the leaf, I used the base geometry three times. On top was the actual leaf. Beneath that is a brighter version of the leaf nudged upwards. Beneath that is a darker version of the leaf nudged downwards. This give the leaf some thickness.

Attachments:
apple014.jpg


One last detail. I'll return to the body and add a shadow under the leaf.

Attachments:
apple015.jpg


This is the finished product.

Attachments:
apple016.jpg


Conclusion



While my end result may not be the best example you ever seen, I think it will serve as enough of an example of what can be accomplished. The product is bright, sharp and vibrant. It retains its quality and edit-ability at any scale.

I hope you found this helpful. If you made anything because of it, post it in the forum!
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

Sorry for adding more graphics, folks. The leaf was really bugging me, so I took another pass at it.

Attachments:
apple017.jpg


Attachments:
apple017a.jpg
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

All the sudden I have a hankering for a Red Delicious. Odd. ;) Great work dM. I'm glad to see the tutos progressing beyond the beginner formalities and into some stuff we can all follow.
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

UPSGuy wrote:
I'm glad to see the tutos progressing beyond the beginner formalities and into some stuff we can all follow.


*tears up "Basic Bezier" tutorial*

:lol:
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

:scratchhead: Guess you lost me on that one. My intent was to say that I'm glad we're past the point where we're familiarizing ourselves with PS. I've used it for years with photos so I'm familiar with the enviro, but I've never used it much for artwork (excluding said photography).
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

I personally would love a good "Basic Bezier" tutorial. Great tutorial dM!
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

Okay, this is really the last one.

Attachments:
apple018.jpg
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • Loc: Florida

Post 3+ Months Ago

You will not be able to stop yourself from adding a worm now that you've read this comment. Resistance is futile.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23455
  • Loc: Woodbridge VA

Post 3+ Months Ago

lmao he will I just know he will
  • SB
  • Moderator
  • Genius
  • User avatar
  • Posts: 8742
  • Loc: Aberdeen, Scotland

Post 3+ Months Ago

I'd actually be somewhat upset if i didn't see a worm or a bitemark :lol:

Amazing tutorial dM. Looking forward to seeing more.
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

SB wrote:
...or a bitemark :lol:


First pass. I tossed in a couple water droplets for good measure.
Attachments:
apple019.jpg
  • SB
  • Moderator
  • Genius
  • User avatar
  • Posts: 8742
  • Loc: Aberdeen, Scotland

Post 3+ Months Ago

haha, legendary.

Very funny. Thanks dM.
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • Loc: Florida

Post 3+ Months Ago

Give it time. That bite mark will will turn brown around the edges and the worm will reveal itself. Resistance is futile.
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

<badjoke>

Heh, if M$ spots an Apple with a worm, you may land yourself a new marketing campaign dM!

</badjoke>
  • digitalMedia
  • a.k.a. dM
  • Genius
  • User avatar
  • Posts: 5149
  • Loc: SC-USA

Post 3+ Months Ago

Well, I added a worm. I'm not sure about the scale, though. ;)

Attachments:
apple020.jpg


Representatives of Microsoft, please PM me.
  • UPSGuy
  • Lurker ಠ_ಠ
  • Web Master
  • User avatar
  • Posts: 2733
  • Loc: Nashville, TN

Post 3+ Months Ago

hahaha nicely played dM. :lol:

Post Information

  • Total Posts in this topic: 16 posts
  • Moderator: Tutorial Writers
  • Users browsing this forum: No registered users and 1 guest
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.