3d modeling and animation

30
3D Modeling and Animation An Introduction ( Stephanie O’Malley ) University of Michigan 3D Lab Digital Media Commons, Library http://um3d.dc.umich.edu

Upload: truongcong

Post on 01-Jan-2017

239 views

Category:

Documents


0 download

TRANSCRIPT

3D Modeling and Animation

An Introduction

( Stephanie O’Malley )

University of Michigan 3D LabDigital Media Commons, Library

http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

CGI Stands for “Computer Generated Imagery”. It is the application of computer graphics to create images for a variety of uses.

While the use of CGI is most commonly associated with the Entertainment industry, it also has uses in a variety of other fields, such as:

•Manufacturing•Advertising•Medicine•Forensics•Engineering

What does CGI Mean?

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Computer Generated Images often end up as pixels on the screen, but those pixels can be created from a wide range of elements including:

○ 3D Models○ Digital Paintings○ Photo Manipulation○ Procedural Shapes and Patterns○ Many many more…

3D Models will be the focus of this presentation.

What’s in a CG Image?

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Quality 3D Models can be generated in many different ways and can leverage many different skill sets including:

○ Artists - using reference images, concept art, or their own imagination they create a 3D Model

○ Programmers - often generate 3D Models using computer algorithms or code.

Digital 3D models can also be created from real objects that already exist or scientific data. Sometimes this is achieved by capturing an object using a series of photographs in a process known as “Photogrammetry”, or through the use of a 3D laser scanner.

Who Makes 3D Models?

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

3D artists use a variety of 3D software to generate models including: 3D Studio Max, Maya, Blender, Rhino, etc.

Each program allows for different ways to create the 3D Model. Programs such as Zbrush, allow an artist to “sculpt” a digital model, just as they would with clay. This allows for highly detailed 3D models to be generated and is often used for creating assets in movies and video games.

Artists as Creators

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Engineers and Designers also use a variety of 3D software to generate models including: SolidWorks, Sketchup, Catia, Pro/E, Inventor, etc.

While these programs are focused more on specific industries or uses of 3D Models they provide unique tools to speed up the process. Software such as Solidworks allows one to enter specific coordinates, dimensions, etc. to get accurate modelsready for manufacturing.

Engineers as Creators

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Programmers tackle the creation of 3D Objects a little differently. They often use algorithms and code to generate the desired models and shapes.

This can be done using low-level APIs such as OpenGL and DirectX, or higher-level toolkits and libraries such as VTK.

Creating models through programming gives the unique ability to drastically change the 3D Model interactively based on user input, musical notes, sensor data, etc.

Programmers as Creators

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Photogrammetry is the practice of determining geometric properties of an object from a series of photographs. These photos are imported into specialized software such as 123D Catch, PhotoScan, etc. which then uses points within the photos to triangulate a 3D object’s position in space.

Photogrammetry

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

3D Scanners can take many forms:

○ Lasers - A laser is used to pinpoint targets placed on, or around, the object to get orientation. The laser then measures its distance to the surface creating a mesh.

○ Structured Light - A grid is projected onto the object. The distortions in the grid reveal the shape of the object.

○ Depth Cameras - Similar to Structured Light, devices like the Kinect project a pattern on the world and look at distortions to determine depth. From there a mesh can be created.

3D Scanning

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

A 3D “model” is fundamentally comprised of triangles, also known as faces or polygons. Each polygon is made up of vertices and edges.

When these polygons are positioned and stitched together, they create a surface.

What is a 3D Model Made of?

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Primitives are basic 3D shapes that can be easily created and customized procedurally.

Each program has their own set of primitives available. Some even have doors, trees, and staircases.

Combining these basic shapes allows you to create some complex scenes.

The Power of Primitives

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

We perceive motion as a series of images played back in rapid sequence.

Each image differs slightly from the one before it.

Animation is the creation of these images.

Animation

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Eadweard Muybridge, Animal Locomotion #617, 1887

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

3D animation is the process of applying motion to a 3D object. This is done either through:

○ Skilled Animators

○ Motion Capture

○ Procedurally (via Code)

3D Animation

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Animating 3D objects is very similar to animating in 2D, or the process of stop-motion animation. An object’s location or appearance is set for specific moments in time (called keyframes). When these movements are played back in sequence, you get a 3D animation.

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

In traditional animation, lead animators draw the important poses and then handed the drawings off to an “inbetweener” to fill in the blanks.

In CG, the computer assumes the role of “inbetweener” by filling in the blanks between the important poses (keyframes) by interpolating between them.

For believable animation, animators abide by a series of “animation principles” that dictate rules for conveying realistic weight, anticipation, and distortion.

Keyframe Animation

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Animated characters use a skeletal system to drive their motion.

This is referred to as a “Rig”, and consists of a hierarchical set of connected bones, much like a human skeleton, and controllers to help the animator pose the character.

Each bone is manipulated by an animator to create different poses for animation. The regions of the mesh are bound to specific bones (i.e. Skinned) and follow their movement, deforming as needed.

Skeletal Animation

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Motion Capture can take a variety of forms:

○ reflective markers on joints○ gyroscopes or accelerometers○ magnetic fields○ mechanical structures fixed to the body

The resulting data can be used to track people/animals, robots, deformation of objects, etc. and then analyzed for biomechanical anomalies or even used to animate a digital character.

Motion Capture

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Rendering is the process of converting models into pixels for storage in an image or to display on screen.

When CG movies are created, each frame of the film is sent to a series of computers to be generated into an image.

This process can take hours, even years, depending on the length of the film and the number of computers producing the images.

Rendering

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

To speed up the rendering process, CG images are often sent to a group of computers for processing, referred to as “Render Farms”.

Render Farms split the rendering workload among many separate computers.

Render Farms

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Digital Domain Render Farm

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Real-time rendering is when a scene is rendered and displayed on screen in less than 1/15th of a second.

To obtain interactive rates, certain considerations need to be made when creating models and animation for real-time.

Because rendering occurs so quickly, real-time applications are typically interactive.

Games and Visual Simulations are often classified as real-time applications.

Real-time Rendering

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

CGI is most commonly used in the Entertainment Industry for films or video games. Films like Lord of the Rings or Avatar make heavy use of CG creatures, animated to be very life-like through the use of Motion Capture.

Uses - Entertainment

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

CGI is used heavily in the advertising industry. Most cars you see in auto commercials are CG because this allows them to be depicted in any environment while looking as perfect as possible.

Uses - Advertisement

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Architectural spaces are expensive and traditional models are limited. Creating an architectural space in 3D allows for easy revision and presenting of designs.

Animations can be used to give viewers a virtual tour of the space.

Line of sight, shadow studies, and other tests can be done accuratelybefore ground is broken.

Uses - Architecture

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

With natural and human influences wearing down archeological treasures, documenting and preserving these pieces of history is a constant battle.

Geometric modeling and animation can be used to digitally reconstruct historical sites and objects.

Photogrammetry is a popularchoice for creating historicalmodels.

Uses - Reconstructions

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Geometric modeling and animation allows for easy visualization and exploration of complex datasets.

Elaborate processes such as protein synthesis or the formation of vortices can be demonstrated though animations.

Extraordinary phenomena such as the solar winds or microbial interactions can be shown.

Extinct animals and life-forms can continue to be studied and shared.

Uses - Natural Sciences

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Geometric modeling can offer a unique perspective on a patient’s existing condition.

It can help explain complex forms or demonstrate elaborate processes through strong visual models and animations.

Geometric modeling can even serve as a 3D blueprint for the creation of prosthetics or orthotics.

Uses - Medicine

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

3D Models and Animation can be used with great success in training medical personnel in stressful and otherwise dangerous situations such as mass-casualty events.

3D models also help reinforce prior training byallowing for unlimited scenarios and events thatcan be easily switched or modified.

Uses - Emergency Medicine

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Geometric Modeling has been tightly integrated with the fields of Engineering and product design for many years.

Digital data (CAD, or otherwise) is already available

Uses - Engineering

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

3D models can be used to generate working prototypes or molds. In this process, 3D models are sent to a 3D printer, which converts them into tangible objects by layering material (such as metals, plastics or powders) to build up a 3D form. The resulting objects can then be cast to create molds for manufacturing.

Uses - Manufacturing

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

3D models are becoming more frequently used in the field of forensics to document important evidence.

3D models can also be used to re-enact scenarios or visualize facial characteristics from a body.

Uses - Forensics

University of Michigan 3D Lab, Digital Media Commons, Library | [email protected] | http://um3d.dc.umich.edu

Get Your Badgehttp://mblem.umich.edu

UM3D Lab

University of Michigan 3D LabDigital Media Commons, Library

http://um3d.dc.umich.edu