nav2

Showing posts with label flash. Show all posts
Showing posts with label flash. Show all posts

Thursday, February 10, 2011

my vector graphics workflow

I thought that the time is right to take a break from all this 3d business and talk about vector graphics.

So what is the deal with vector graphics and how do artists generally feel about it?

Vector graphics technology is used in industry alot, because of its infinite-resolution nature. Printing, animation, design, websites, etc etc. The data of the illustration is stored in mathematical (geometric?) equations. A lot like 3d technology (vertices), shapes are rendered with points (nodes). Every line is made out of nodes and every node contains spline data. The splines dictate what the line between the two nodes will be. In 3d technology, I guess when comparing it to the splines, you can say that vertex normals are kind of like that, because they dictate how the surface is going to be rendered inside the silhouette of the character.

vertices-->edges-->polygons--> a 3d character(mesh)
Nodes-->lines-->shapes/fills-->a 2d character/object


Read in more detail Here.

While different software has different advantages, the basic tools for doing vector art remain the same and in this article , I am going to share my workflow with you.



This picture took me about 3 hours

Why Inkscape and not illustrator?

Since I dont own a copy of illustrator on my laptop, I had to use inkscape, which is much like what gimp is to photoshop..


My work process:

1. Draw a rough sketch with the tablet:


So in this part, I just plugin my tablet and make a rough sketch of my robots. Vector graphics software has pressure sensitivity, but since it makes the lines as fills, its almost useless further on.




2. trace the lineart-


Then the next step for me would be to lock the sketch layer , create a new layer and start working on it. In order to see better, I make the sketch layer semi transparent. My fills are by default empty (no color), so whenever I close a shape, it doesnt cover the sketch with some color.

As you can see from the picture, I first put my nodes at the right places, while knowing exactly where nodes are needed. Then To get the shape right, I adjust their splines or just drag-bend the lines. It's very important not too put unneeded nodes, because that would slow down your work.
In many cases, some fills will have roughly the same shape and number of nodes as others, so I usually just duplicate whatever is possible and readjust the splines so it fits.

When Modelling characters or inking them, It's always good to be economical- use just the right amount of nodes/vertices.


3.Put some colors in the fills-

Next on, selecting all fills that will have the same color, I would give them color. Since I hate the dullness of the lines in vector graphics, I tend to keep them either very thin, or completely get rid of them. In this picture example, you will notice that the guy in the car has some lines, while the female robot has almost no lines. I did it this way, just to compare the two styles and think about how to get around the lack of lines. To me lines are just a way to define shape. But when the shape has color, we dont always need the lines. We need to add some shadows here and there to fill the gaps - her neck had to be separated from the head (as a shape), so I added a shadow gradient.Without the shadow, the head and neck both look very flat. One big disadvantage of not having lines is when your foreground object/character does not stand out from the background, which in some cases might have the same/close color. It does look kind of nice though.


So the way I add soft shadows and put some blending between colors in vector art, is by using either BLUR or GRADIENTs.
Blurring does make the file a bit heavier.

Certain colors go well with certain other colors. Colors can be used to set the mood of the picture, to lead the viewer's eye to something. It's generally a good idea to avoid having too many different hues in a picture- it gets too colorful, too distracting.

=================================
So what are the disadvantages for artists and why is it usually a bigger task to make something in vector, than it is to just sketch it?

If you look at it, vector technology is so much better than bitmap (pixels) because of the infinite quality pictures you get out of it. Why is it not used more than bitmap by artists? Well, the answer to that question lies within the process of how that is achieved and in the complexity of the task of vectorizing something like say a photograph of your granny.

In order to get a nice, smooth and polished picture, inside a file that is throughly well structured (easy to edit and reuse for other purposes) you need to do a lot more than just sketch it and then brush in some colors.

To structure it well, you need to build it out of closed fills and define their lines as well. Some of them can contain a pattern or a gradient. They can also be blurred or made transparent.
The more nodes you have on a fill, the more time you need to edit them in order to get the right shape.

One drawback that I believe has always kept artists from vector graphics for cartoon style is the lack of line thickness data type in the nodes. So lines in vector graphics dont have varied thickness. A line is as thick in the end, as it was in the start and the middle. In order to get that natural flow effect, and when drawing with a tablet in flash or illustrator, instead of lines the software creates fills for you. So your brush strokes are being stored as closed shapes instead of lines. That dramatically increases the complexity of your drawing- it makes it harder to edit. It kind of kills the usefulness of a tablet to ink a drawing in vector graphics.

Of course, you can simplify the shapes with a keyboard shortcut in the matter of seconds. All vector packages have a "smooth" command that will clean up some nodes.But that doesnt change the fact that lines are being turned into fills when you use a pressure sensitive tablet.

That has always kept me away from inking my own art in a vector package. The only times I have used Illustrator,inkscape or flash and need it to be in vector format was:
1.when doing design of Icons/software graphics on Vector linux (inkscape)
2. Building character libraries (flash/illustrator) for Scoyo(well, I did some) and my own short flash film from last year :D

There is also the vectorizing software, that would try and do all the tracing work for you. In most cases it does its job, though not perfectly. I would use an automated vectorisation only on clean black and white sketches. The best application for this task seems to be Vector Magic.

Monday, May 24, 2010

Look back at the past few months and plans for the summer

What, no shiny pictures this time? I decided to take a step back and look at the achievements this year. I will also look at the things that need some more work.

University first year is over, and while I didn't complete everything I wanted to complete, it was a fairly successful year for me.

The "Malfunction" aka "Toast!" flash animation:
I taught myself the new rigging capabilities of flash. I also met all the bugs that cs4 had to offer.
Time to complete: 1 week storyboard + 1 week for the drawings(character libraries) +1 week to animate= 3 weeks.

Then after it was completed I had to cut it down from 90 to 30 seconds. Cutting it down brought me to my first encounter with Adobe after effects. That was a valuable lesson, which helped me do the next project- Stoneage.

"Malfunction" was sent to one festival this far.

Things I can improve in it- some of the shots need refinement. The continuity of action is not perfect. I think of adding some shots in the beginning.

Stoneage - 3d animation short
Stoneage took about a month + 1 week to complete.

here is an improved render:

stoneage - 2010 from todor imreorov on Vimeo.



It was submitted to a CG contest. And It qualified me as a finalist in excellence in rigging category!! Now I am competing with final year students and people who have graduated (twice even). People with enormous amount of experience behind them. Just look at the list:
http://www.cgcoach.com/beta/cgsa/finalists/category/excellence-in-riggingtd.html
I am the guy with the robot avatar. My character set ups has to be the simplest of the lot. What I believe makes them good is exactly how simple and clear, but effective they are. The characters did everything that I needed for the 1 minute short.
The first and second prizes for this contest are both Internships at big studios in London! I can only hope now.

On the other hand, I couldn't qualify at the animation category and I don't blame them for that. The animation in stoneage is far from good.

I kind of ruined some of the shots in the last minute before rendering.
Some of my tutors told me to speed it up and make some changes. It was in the last moment, so the hasty changes to the old shots were bad. I scaled and snapped some keyframes, causing choppiness in the run cycle. Also messed up some of the key poses. The splines are hardly tuned or refined. Stoneage needs some work before I feel safe to send it to the festivals this year. Before making the refinements, I decided to spend some time looking into more professional ways of working on animation in Maya. For that purpose I chose the best tutorials that one could possibly find in the library- the book "How to cheat in Maya 2010 - tools and techniques for the Maya animator- by Eric Luhta.


By the time I was making these short animations, I got invitations from a bunch of festivals:

* Halifax,uk- "fundada artists film festival 2010" - deadline 31 may

* Moscow - "International Fest of Contemporary animation & media-art LINOLEUM" - deadline 1st of september

* Uk - Flip animation festival (email from Mark Goodliff)- deadline - july 9th

* animation festival "Anifest 2010" based in Canterbury (email from Mark again) - deadline 17th september

* Project twenty1- USA. This one is actually pay to get in event, and involves traveling to the states, so I will skip it for now.

Whats next for the summer?
One in my list is refining Stoneage before sending it to the festivals. If I win the cgcoach award, it will be one interesting summer for me.

Finding a job is high in my priority list, since I need it badly in order to stay in the UK- pay for rent and food next year. I dont want to rely on my dad and bursaries. I will stand on my own two feet.
Refining some of the skills that I need is the second priority:
Get faster at the modelling and texturing pipeline. Learn maya hair, cloth and how to add some automated secondary motion that is fairly clean , controllable and not too expensive as cpu power goes. I have already started research on those topics months ago. My tutor prohibited me from using any dynamics or overly complicated things in my rigs for the animation assignment. Now that the animation assignment is over, I can experiment with those features freely.

I am also planning my second year animation from now on. There is already a story for it, and there are some weird things that I need to make maya do in order to achieve the quirky shots. Before looking into those, I will take my time to build the set and the characters. Having that plus the animatic will earn me some interest and support for the project in the future.

Sunday, March 7, 2010

Mammoth mesh

Yesterday I created a mesh for the second character of my upcomming animation short for Bradford University. The mammoth is a low-poly mesh that consists of 820 quads, 4 textures and uv maps. I did the whole thing from scratch in 5 hours, using mainly Maya, but also Z-brush for the UV mapping and Photoshop for the texturing and transparency maps.



You can see a better quality render at my flickr gallery, which is previewed in a small window on the left side of this blog.

I found out how to embed 3d in flash content, so from now on, I will be able to post actual 3d viewers instead of static pictures :P

Wednesday, February 24, 2010

Exporting the animation to video file, compression settings and colors

The last part of the job was of course getting a video file out of flash.



FPS---
The first problem I had was with the fps in the video file. Since the animation of Toast!/malfunction had movie clips with applied effects on them (some of the backgrounds) that really slowed it down. To get over that problem, I exported the background as jpg and imported it back to my libraries and replaced the movie clips with jpg files. Don't use too many effects on your movie clip symbols, that will slow it down. The ending result still had some slight slow downs on some of the shots. The slow downs didn't occur in the swf file, which leads me to believe that it had something to do with the way flash renders the animation to video files. I could still play with the settings there.

Encoding--
The second problem was getting a small file size with a relatively good quality. The defaut settings of exporting a mov file will give you a huge file,that is not internet-friendly. I had to set up three things (quicktime settings):

>settings: compression type:mpeg4 video,quality:best
>filter: you can play with the color settings ,but this will slow down the rendering time,so I didnt use any filters.
>size: 720x576 PAL , 4x3 , keep aspect ration with letterbox

>sound> I didnt touch the sound settings

Colour--
I had to go and upload the file at Bradford university's horton labs. One thing those computers are useful for is downloading and uploading. After seeing the animation again, I found out that the colours look awful there. The boy's shirt was over saturated red, the robot's head is too purple. The lesson to be learned here was monitor calibration. While drawing my character's , I should have thought more about how they are going to look like on other people's screens. I have to find out- is the monitor at the labs set up badly or is it my own monitor. I tend to set mine in a way that doesnt strain my eyes. Changing the default settings to lower saturation, I also lower my brightness and contrast slightly. The weird thing was that it also had a slightly different hue (the robot's purple head). All and all, after I fix all the annoyances of the animation, I will export it properly as a big file and edit and encode it with Adobe after effects.

Adding sound to Toast! animation

The name of Toast! was changed to "Malfunction". Decided that I don't want to give away the ending too much with the title.


Adding sound to the animation

The sound in Toast! is really low on quality standards. After seeing it for the first time with sound, I thought that it was horrible.

Some of the sound effects were recorded by myself. For the robot , I used the creaking door of the kitchen at the halls. The title screen sound was made by a real empty tin can (from mexican beans) and a pencil.




The bucket sounds, electricity and so on were taken from the internet, after carefully examining their license.

The Music in the end is made by me, with my Nintendo ds. I used "Jam sessions" imitation of guitar. You might notice that the rhythm is the same as the title sceen sound.



The voices were recorded and edited with Audacity. My brother did his goofy/mickey mouse rip-off voice, as my voice is too deep to imitate a boy's.

All and all, I hate the sound in "Malfunction". It's messy and badly edited.You can even hear some static sounds in the background. Flash has a real nice way of setting the volume ease out and ease in and I played with that too alot.

How to work fast with flash

Toast animation is complete now. It's well over one minute, but I've set up everything in a symbol hierarchy that will let me easily cut out shots or shorten them without much effort. All in all,it took me 1 week to come up with it and make the animatic, and two more weeks to draw everything and animate it in flash. And I didn't work on it all that much really (I'd say no more than 2-3 hours a day, and some days I didn't work on it at all). Some people might think that I went through like 18 hours of work every day or something.Those people just have no idea how to use flash efficiently.

The reason I managed to complete it that quick is because I knew how to take advantage of fash's features.

So here's how to work faster with flash animations:

- The storyboard animatic is key to good planning. It will help you figure out the timing of the scenes and you can even draw over it in flash (if it's drawn well).

- Good character libraries and fla file structure - is key for efficient production. Keeping everything in symbol hierarchies will enable you to layer animations, time them and position them quickly.It will greatly simplify your work flow. Some people don't want to do it,and will go with frame by frame. I think thats just crazy.

Using symbols and tweens and even armatures will also make your fla file easier to further edit. Imagine you are working on something like this in a group. If you don't have a well structured source file, taking out animations out of it and reusing them will be a living hell for your colleagues.

-Reusing graphics - In flash, you can easily reuse a lot of your graphics. If you draw the base of a head once, you dont have to redraw it every time your character changes expression. To do that, you must separate the base, the eyes, the eyebrows (and even the nose if you like) on layers and symbols. You can move and transform everything too. And even while drawing, keeping everything on separate layers means that you can copy and alter easily.If you have separated your character to: head,torso,upper arm> down arm> hand, upper leg> down leg> foot symbols, you can reuse some of them- no need to draw them all over.

- Reusing animations- The eyes symbol will contain variations of the blinking animation. The mouth symbol- variations of the mouth. And you can tell flash when is that variation or animation going to be played and replay it. You don't have to draw all the expressions all over. The same applies for body animations. If you have something that can be looped, just loop it. If there is a movement of the character or his head that is kind of like in a previous shot- just take the one from the previous shot and alter it slightly. You will be able to do that easily if your symbol hierarchies are good.

Friday, February 19, 2010

Flash CS4 bugs and how I managed to get over them

This is my second rig for the boy, which I made sure will be more stable and more controllable than the first I made:



Obviously I had to take it apart and mess it up to demonstrate the set-up. The only symbols of the rig that contain variations/animation are the hands and the head, thought in some cases it might be useful to have that for the torso as well. One thing that could have been done to improve this is to make it possible to move the character's shoulders by adding one extra chain with a hidden symbol between the neck and the upper arm.



Bugs in flash cs4
Here is my report on problems I met while doing my Toast! animation for Bradford university. I might have to add some more to the list, as it is not completely finished yet.

Bugs with the rigs/ rigged symbols:

*Bug: Head symbol animation won't play properly timed in test movie/exported file, thought it plays just fine in flash cs4. It will freeze on the first frame it is set to start from
+fix: When you have an armature layer, be sure to set it to start from frame 1 and it doesnt have any blank space before it starts. Put it in a symbol and have that symbol start the armature animation inside from frame one.You can tell the head symbol to start from whichever keyframe it starts in the particular scene in the armature itself.


*Bug: After the armature is keyed and animated, for some reason its messing up the pivot points and that causes limbs/head/bodyparts to fall off.Even when you move them to attach them back, that breaks their position in previous keyframes.
+fix: Quickest way is to just start over and
DO NOT DO the following after you start keying the armature (you can only do it before you animate), it will cause this bug:
--don't use the transform tool on the armature layer- be it parts of the armature or the whole layer.If you need to move the whole model, put it in a symbol or set the armature in a way that lets you move it (enable movement on root or skeleton).
--don't touch any pivot points
--don't alter any of the constraints that you have already set up. Be sure to check that you don't have to add or take value before you start animating. You can enable and disable rotation and so on, but you can not touch the constraint values that you have set before animating.
--Don't ctrl(+shift)+up/down -- arrange the symbols -- after you start keying your armature. It might cause weird problems.

*Bug: After copy-ing the symbol that contains armature animation and transform-->flip it horizontally on a keyframe, that flips the symbol everywhere else (in all scenes that it is used in)
+resolution- I couldnt quite find a solution to this problem. In my animation,I had to turn my character to the other direction and make him run. The only way to do that was to create another armature and use most of the symbols from the previous one.


*Bug: If you have multiple symbols on one layer ,and you select them ,right click and choose "distribute to layers", Flash CS4 might either give you "unknown error" or crash altogether,losing all your progress.
+ to avoid: dont "r.click>distribute to layers" many symbols and especially if they contain other symbols. Save your progress before doing that.

Flash CS4 symbol armatures can NOT do the following things:
You can not set loop/start/single frame on every keyframe of the armature's layer. If you need facial animations, you can only tell the armature where to start from, so the whole timing of that animation must be inside the (head) symbol itself, no cheating there.
You can not put any blank keyframes in the armature layer.
If you resize it in timeline, it will also alter the timing of the animation, it will take away or add space between your keyframes (really annoying!)

You can not really move any keyframes of the armature layer. You can only cut and paste them one by one (no multiple select). Some times it just does not work at all. When you paste a keyframe of a pose, it just adds the keyframe there,but doesnt add the pose itself.

Shape armature: Its somewhat limited and hard to move. It makes the file harder to play. You can not attach it to a symbol armature,which is a real pity.You also have to use the bind tool to skin the shape. The bind tool has one of the worst gui's I have ever seen in my life. It's deformation point markers are huge and often overlapping each other, even when you zoom as much as possible. That makes it hard and even impossible to select individually (or see for that matter) some of the control points (or most of them).So when you make a shape to rig, for the love of god, draw the shape with the pen tool- use as less as possible control points!


My overall impressions of Flash CS4:
Shame on you adobe, for releasing such a bug-riddled version of flash! It introduces the new ik features,but It is so buggy and limited, that it is somewhat better to avoid using ik if possible. If you want to have nice IK structures and parenting, go for Anime studio (moho) or toonboom Animate. Both are nicer for animation , more stable and probably cheaper as well. Flash CS4 has caused me some grief, but I think that I managed to establish some control over some of it's new features.

Monday, February 8, 2010

Flash rig notes

Ok, I think I'm finally done with the rigs. The robot rig is easier to control, while the boy's rig is separated into some pieces which I will have to move and key accordingly (like the old times).

While rigging, I took some notes of the process and the things that I learned from the whole thing:

Shape Rig notes(bind tool):


Symbols Rig notes:


And here is me having some fun while posing the characters:




Still work to be done on the character libraries. I think I managed to get the hardest bits out of the way by now.

Saturday, February 6, 2010

Rigging in Flash- Toast progress report



"Toast!" Character libraries are half way there. It took me one day to learn the two ways of rigging in flash. I just had to take advantage of this new function. Though it still has some minor issues to iron out.

There are two ways to use the bone tool in flash, and my curiosity just had me use both. For smooth deformation I used the shape rig for the boy. Rigging a shape can be tricky and I found that in the hard way. Almost a whole day of frustrating trial and error tests paid of in the end. What did I learn? Well, you have to be careful how you draw your character. Just as it is with skinning in 3d, you have curve control points on your character, which will be affected by the rig.For that reason, its preferable to have less of these points where not needed (they might mess up the character after the rig). It's also tricky where you put them and skin them,so the shape bends predictably without deforming too much.
Cons of a shape rig:
- it can NOT contain any symbols which can be keyed! (can't connect the head to the body and the arm to the hand) My solution:separate legs+feet and arms from the rest of the body
-Sometimes when you constrain some points,and you move the rig, you have to edit constrains all over again...
----------------------------------
I just started the robot rig, doing the other way- the symbols rig. This way seems to be easier than the shape rig, but it also has some issues. I found it to be slightly unpredictable and glitchy. I shall note the problem after I find out why it's acting like that some times. I just hope it doesn't blow up my robot before I manage to finish this project in time...

Tuesday, February 2, 2010

Toast! storyboard ver1

Today I got some valuable feedback for the storyboard from my animation tutor at uni, who also has a blog here . He liked my storyboard. I am really glad that there is someone like him to show it to, because he's a guy with experience and his feedback is valuable..

Here is what I got this far:
First of all, the rules of my assignment do not allow me to make the animation longer than 30 seconds. But I have too many shots put in that small time window.And the duration of some of the shots is too short. So 10 seconds must go. For that I must cut out some of the first shots. Some other scenes need a slight change in the camera and the composition (more space between and around characters).


after thinking about it, I decided to make a short version of my animation (for the module assignment) and later a longer one which will be as much as at least 2 minutes!

Before editing my storyboard , I would like to post it in the name of good documentation and progress evaluation. So here it is, no revisions- purely as it came out of my mind:

Toast! storyboard ver1 01.02.2010



I used software called Toonboom storyboard to do it. You can download a trial version, but you should export your work as a video/pdf before you close the app, because if it has over 30 panels, you are not going to be able to open it again.

It's a really awesome application for storyboards- simple and powerful. This storyboard took about 2 hours to make with it.

Sunday, January 31, 2010

Flash animation Pipeline

It's second semester now and I have a special assignment as part of one of my modules- Create a 30 second animation in flash... Sounds simple, right? Well,no! 30 seconds is not enough to create something meaningful for me. I had a lot of trouble coming up with a story that will last only 30 seconds and will put a smile to someone's face.

So the biggest issue was really fitting it in 30 seconds.

I felt like I have an advantage over the other students (well, some of them) .. I already have worked with flash on a professional level. I have worked on an animation show, called scoyo and another one- bio. So I know how the pipeline works- the steps in the production of animation. Nobody at uni told us (yet?) how does the pipeline work with 2d animation. Nobody told us how to do it, the storyboard, how to organise the fla files and take full advantage of the software. My guess is that they will in the following weeks. But I already have it all in my head. So, in case some fellow students from my course read this, I hope it will help them.

This is my production pipeline for 2d animation. Something that I learned from work experience.



Flash animation Pipeline






By Todor Imreorov



1.0 Storyboard







2.0 Character sheets

Make character variation sketches ---> make a character sheet



3.0 Animation in Flash
3.1. Set flash file
3.2. Import storyboard *.mov file and set the global timeline

3.3 Set the scene and create the character libraries



example of symbols/sub symbols hyerarchy