Followers

Wednesday, 10 November 2010

ANIMATION PRACTICES - SECONDARY- KINEMATICS

FINAL BOOK

Finally the desired effect was achieved for the page turning. I would have liked more pages to turn but When I duplicated special it was unsuccessful. I was recommended to group all the objects but still it din't work..so..for now I am happy with one page and will try for other pages a bit later as I have so much to do...



Had a problem with pages especially after Marios textured. Tried different methods clusters and joints best method animating joints etc....best method as recommended by Alex by adding locators and spline handle and point on curve locators to animate. This gives you more flexibility in the movement of the bend. Thanks Alex you're a star!

Secondary animation practices

For this section I will...
  1. Model and animate a candle that flickers
  2. Model and animator an open book with turning pages
  3. Model a bottle and texture and smash from a height.
CANDLE
I will be modelling a simple candle and for this section I will be experimenting with secondary animation with the candle flame.

I firstly created a candle by using a poly cylinder and adding geometry by using the cut faces tool. I began to shape the candle by extruding faces.

I used the sculpt tool to paint faces. Holding down b i adjusted the mass displacement to the desired size. I added extra details by changing the values in operations.

The wick created by using a cylinder and create deformers - non-linear-bend-curvature....had a problem as it didn't work. I changed low bound to 0. I should have increased sub-divisions height so i added faces by using the cut faces tool and adjusted the bend to the desired effect.

Deleted by type and history...

Shader was used by using blinn and simulated a real candle shade.


Resource for modeling candle: www.videojug.com/webvideo/how-to-make-a-basic-candle-in-maya

www.cgsutra.com/autodesk_maya_tutorials/m0001_candle_flames

To create the flame in the demo below I used the How to create an awesome fire effect using maya fluids in cg tuts. By Alan Monroig. I am pleased with the result. http://cg.tutsplus.com/tutorials/autodesk-maya/how-to-create-an-awesome-fire-effect-using-maya-fluids/


The Flame....
Interesting to find in my research Alex Alvarez tutorial and tips of candleflame suggests staring at a candle flame and looking at what it does. He clearly states that what becomes evidence are some of the behavioural and visual elements which define its appearance. In terms of Maya lingo, a flame looks more like a transparent, incandescent surface than a nebulous object made out of thousands of particles. Flames have feathered yet hard edges, Avery smoothly graduated interior, varying transparency and fluid behaviour more akin to liquid or fabric than gas.


There are many ways of tackling how to animate the flame from soft body geometry which involves rigging the flame and how it renders, Using Maya fluids through a 3D container although controlling the flame can be a somewhat of an arduous task, Using lights and adjusting shaders, or particle illusions or maya fluids. You can use various software such as Houdini and nuke However I simply do not have the time.. I didn't partake in this option as this is more suited if the flame is to be viewed from close proximity. However the tutorial I was looking at involved modeling, soft bodies, goals, springs, fields, lights, hyper shade, render utilities, connection editor and shader glow. Fancy as it sounds I felt I didn't have enough time to master such an advanced method of application but will look at addressing if I have time.


Experimenting with candle flames...

For this section I will be researching candle flames .
The scene is set with ambient candlelight lit with the evening light through the window and the warm glow of the candle.
The candle sits on the lectern where the book also rest whilst the librarian studies under candlelight. I want the candle flame to look realistic and to flicker please see some examples below of candle flames.















I like the glow and the simplicity of the flame moving up and down. However in the animation there is a breeze from the window so I need the candle to flicker.

I've been watching a candle flame studying it's movement it's quite amazing how beautiful it is. The slow melodious meditative ghostly movements quite hypnotic and peaceful...


Tried a basic technique of creating the flame in photshop and importing into maya to place on plane and key frame. I didn't really like this technique as the flame didn't really look realistic and I had problems with everytime I opened the document. However a good learning outcome of experimenting with different techniques to create the flame.

Using fluids





Test creating a flame in Maya using dynamics fluid effect...changing compositions of emitter and
fluid shape- Container properties, fluid attributes, turbulence,density, velocity, temp,fuel,shading colour, incandescence, opacity etc....took time tweaking to get a realistic look...I will look at creating smoke into the flame to make it even more realistic by using thick cloud puff effect. I am pleased with how it looks so far just need to sort out the lighting so the area of the scene is lit by the glow of the candle....

Dynamics using 3D container with emitter. using the fluid shape2 attribute I changed the resolution to 10 (all three boxes).

Boundary I changed to Y side

Contents method and the temperature to dynamic grid and the velocity to dynamic grid.

I then moved the emitter to the bottom of where the flame will originate. I adjusted the frames to suit the type of flame. Under the fluid emitter 1 attribute the heat voxel was changed to 2 and the fuel voxel changed to 4 turbulence was adjusted to 1.150. Changes were made in the fluid shape2 attribute to change the density, velocity and temperature. May I just stressed I had to play around with these options to get the desired effect. I had problems with the size of the flame and it was only when i adjusted the box and increased frames as well as tweaking components that the desired effect took place.
The shading was adjusted - transparency to white grey, drop off shape to sphere, edge drop off to 0.440 and the colour to black.
I then adjusted the incandescence. temp and opacity.

I am very pleased with the result as it was such a pain in the arse to get it to look real...if I could make it look even better but for the purpose of what is needed for the animation it is fine. The next stage will be to create the lighting glow in the environment once Nathan has finished modeling the inside.































Please see below tutorial for the shrek book that I tried.







I have set the pages with a rig and duplicated pages to turn. This is just an experiment for the final piece. The pages are not together when the pages turn so I will have to experiment and problem solve.





















































































































Above are tests of animated pages turning in a book. For the actual animation the librarian sits perched on the lectern with the bible in front of her. The opening scene has a leaf that falls through the window and passes the book during this process a breeze through the window turns the pages from the book. This will not be a close up but a mid- shot scene so the perfect accuracy of this application is not necessary but rather a tool for learning.

I created a nurb page and increased resolutions from the channel box on the X axis and scaled on the XY axis. Patches were also increased. By selecting drop down menu to animation I was able to add joints to the page. I created 14 joints in all (Insert key) allows to move each joint. I then smoothed skin to the plane. The frames were increased to 400 allowing the animation of the turning pages. In the outliner I expanded the joints and then selected all the joints. In the channel box I created a key. I moved the time line cursor to 100 and selected the first joint then in rotate Z to 180. Assigning a key in rotate Z. This allowed the page to move from one to the other. I then added the movement of the page by adjusting the values and setting keys in the time line.

The pages didn't move properly so I added influence to the edge of the page. This did fix the problem . However, I will need to sort out the binding of the pages so each page doesn't separate like it is doing at the moment.

The pages were increased by using duplicate special. In the outliner all the new joints were expanded and selected. In the time line the keys that were originally set were highlighted. These keys were selected by holding down shift M.M.B. then dragged along next to the first lot. this sequence continued for how many pages were to turn.
Deselecting the joints I selected all the joints in the outliner - deselected planes and pressed H to hide the joints. I guess I could have created a layer to hide them but this was just a short cut.

I realised that the animation takes place as a flat plane so when modeling the book with the intention to lay the pages that are to turn on top the shape was completely wrong and the joints had already been placed. The left edge of the page kept deforming...I used the painted skin weights...adding influence to the central line. I still had problems so I edited in the graph editor.

Below are images of the process of modeling the book.



I tried again using joints to turn a page that I had manipulated to the bend of a page. Still had major problems...So I will try non - linear deformers....

Using non linear under animation tab...had a play around with the bend tool....pretty cool tool. Modify edit attribute gives me the tools...attribute editor playing around with the drop down menus. Bend 1....Changing curvature allows to change the curve according to high bound and low bound according to the origin. Envelope is the amount of impact it has with the surface.

I still couldn't get the look I wanted even selecting the handle in different positions. Gonna have to try blend shapes and deform to create the non-linear deformer. Transform bend1handle to the local origin of turning the page. grouped the turn page and bend handle.......

After showing Dan the work (mostly the book then the other stuff) He was concerned that I was spending to long on it. At this stage I would like to underline whilst there are other members of the class that are apt in the field that they chose to work on for Dans project I specifically chose areas that I new I was not good at to develop my technique and understanding. Whilst it might have appeared that I was spending a long time on this issue it was the problem being discussed or perhaps the method of which I was discussing. Perhaps I spent to long showing Dan the book then the other stuff for his project.

Dan suggested that I speak to Alex or Steve. Which I did. Alex suggested inserting a straight rig along the spine of the book or aniamting each node.

I am pleased with the outcome and will consider the following from my research.

  • Animate real action book with turning pages using a fan. Close up like the first video used for research.
  • Animate the pages turning from front profile so you just view the page turn from a mid-shot.
  • Use After Effects
  • Maya rig pages as above.
The exploration of the best methods to turn the pages of the book have not been exasporated but the development and the research has been most beneficial.

Other things to consider.....
  • Book will be lit in candle light with evening pink/orange tone of the evening light through the window
  • Animate the book with a breeze coming in from the window and a leaf passing by.
  • The book (bible) to be textured with pages of the bible in particular from Proverbs - Before a downfall the heart is haughty my humility comes before honor. This piece of scripture has resonated with me during my walk of faith.
  • When lighting to add dust particles to give age and depth to the animation.
  • Book to look old and worn out.
  • Majestic lighting.

Modeling Room and trying clusters to animate curtain.
I created curtains by drawing curve line using the curve tool x2 the place one at the top and one at the bottom of the window. Selected both the curved lines and lofting the surface.
I tried using clusters and animating each cluster but it didn't work prperly. I gave up on this method.
http://www.spafi.org/index.php?option=com_content&task=view&id=383&Itemid=26

May have to use maya ncloth next time...

Created a plane and extruded. Modelled window. Added details by selecting edges and bevelling. Selected vertices and used the chamfer tool to smooth shape. in faces I subdivided thecentre face to foor and bevelled edge by reducing the offset. I turned off keep faces together option and selected the faces off the window and extruded tpo get the for panels. Extruded faces to get the right shape.
http://www.youtube.com/watch?v=cSEnxswRQzM&playnext=1&list=PL54349C5B9F5BB91F&index=15
I created a simple room and window to experiment with modelling and lighting as well as getting the curtain to move.
http://www.youtube.com/watch?v=YVk5RzAl6I4 - creating curtain tutorial
I followed this tutorial in Maya for bellowing curtains....
http://www.republicofcode.com/tutorials/maya/cloth_aziz/
To simulate cloth effect in Maya using a uniform field that reacts to forces.

I created a simple curtain using curves. To enable the cloth to have a reaction I added soft bodies to it. SOFT/RIGID BODIES>CREATE SOFT BODY.
A Green outliner container surrounded the curtains to add particles to the plane so it reacts to the effects-wind. I added the wind by going to fields>uniform.
I then copied the of the object from the channel box and pasted it in the in uniform field. Click on the create button. I moved the uniform field to the middle of the curtain. I then hit the T key whilst having the uniform field still selected to view its attribute.
I applied the dynamic motion by selecting the curtains and then going through soft/rigid Bodies>paint soft body weights tool. I painted the curtain. Played around with the attenuation value still weird things happening!! When i played it back the curtains distorting and stretched too ridiculous levels please see footage....I haven't added springs yet as I haven't yet resolved the above issue.
I will perhaps try ncloth next time...









1 comment:

  1. Ever wanted to get free Facebook Followers & Likes?
    Did you know you can get these ON AUTO-PILOT & TOTALLY FREE by using Like 4 Like?

    ReplyDelete