Computer Graphics & 3D Painting

53
Computer Graphics & 3D Painting Xia Jiazhi Central South University

description

Computer Graphics & 3D Painting. Xia Jiazhi Central South University. Xia Jiazhi. Lecturer at Central South University Received Ph.D. at Nanyang Technological University, Singapore, in 2011 Research: Computer Graphics and Human-Computer Interaction. What is Computer Graphics?. - PowerPoint PPT Presentation

Transcript of Computer Graphics & 3D Painting

Page 1: Computer Graphics & 3D Painting

Computer Graphics& 3D Painting

Xia Jiazhi

Central South University

Page 2: Computer Graphics & 3D Painting

Xia Jiazhi

• Lecturer at Central South University

• Received Ph.D. at Nanyang Technological University, Singapore, in 2011

• Research: Computer Graphics and Human-Computer Interaction

Page 3: Computer Graphics & 3D Painting

What is Computer Graphics?

Page 4: Computer Graphics & 3D Painting

What is Computer Graphics

• A technique to generate digital images from 3D models using computer.

Page 5: Computer Graphics & 3D Painting

Which one is the real BMW?

Page 6: Computer Graphics & 3D Painting

Is it Fake or Photo?

Page 7: Computer Graphics & 3D Painting

The image may cheat us

Page 8: Computer Graphics & 3D Painting

Why Computer Graphics?

Page 9: Computer Graphics & 3D Painting

Why computer graphics

• About 50% of the brain neurons are associated with vision.• Dominant form of computer output.• Enable scientists (also engineers, doctors, and general users) to

observe their simulation and computation.• Computer graphics is application driven!

– Movie

– Game

– Computer-aided design (CAD)

– Medical imaging

– Computer art

– Graphical user interface (GUI)

– Scientific visualization

Page 10: Computer Graphics & 3D Painting

Movies

• If you can imagine it, it can be done with computer graphics.

• More than one billion dollars on special effects. More and more of these images exist only within the memory of a computer. No end in sight for this trend!

• Computer graphics is now as much a part of the video and movie production industry as stuntmen and makeup.

Page 11: Computer Graphics & 3D Painting

Video Games

• Games are the driving force in computer graphics.

• Games market is the stimulus for the powerful graphics processors (GPU)

Spacewar 1961 Counter Strike 2005

Crysis 3 2013

Page 12: Computer Graphics & 3D Painting

Computer-Aided Design(CAD)• Today, most mechanical and electronic designs are executed entirely on computer.

Increasingly, architectural and product designs are also migrating to the computer. Automated tools are also available that verify tolerances and design constraintsdirectly from CAD designs.

• CAD can significantly reduce the design cycles for industrial products, e.g., the mobile phones

Page 13: Computer Graphics & 3D Painting

Graphical User Interface(GUI)

Page 14: Computer Graphics & 3D Painting

Visualization

Page 15: Computer Graphics & 3D Painting

How Computer Graphics Works?

Page 16: Computer Graphics & 3D Painting

Simulating the Everyday World

• Three broad areas:– Modeling(Geometric) = Shape– Animation = Motion/Behavior– Rendering = Appearance

Page 17: Computer Graphics & 3D Painting

Representing the Shape

Page 18: Computer Graphics & 3D Painting

Geometric Modeling

Page 19: Computer Graphics & 3D Painting

Geometric Modeling

Page 20: Computer Graphics & 3D Painting

Geometric Modeling

Page 21: Computer Graphics & 3D Painting

Animating the world

Page 22: Computer Graphics & 3D Painting

Animation

Page 23: Computer Graphics & 3D Painting

Natural phenomena simulation

Page 24: Computer Graphics & 3D Painting

Rendering

Page 25: Computer Graphics & 3D Painting

Rendering• Rendering is the process of generate an image from a scene, which contains

geometry, viewpoint, texture and lighting information. It is similar to photography or cinematography.

• Simulation of realistic lighting, shadows, atmosphere, color, texture and optical effects such as refraction of light or motion-blur seen on moving objects.

Page 26: Computer Graphics & 3D Painting

Representing the Surface Details

Page 27: Computer Graphics & 3D Painting
Page 28: Computer Graphics & 3D Painting
Page 29: Computer Graphics & 3D Painting

Texture Maps

• How is texture mapped to the surface?– Dimensionality: 1D, 2D, 3D

– Texture coordinates (s, t)• Surface parameters (u, v)

• How to assign the Surface parameters?– Parameterization!

Page 30: Computer Graphics & 3D Painting

3D Painting

• Assign colors to vertices directly in a painting interface– WYSIWYG(What You See Is What You Get) system

• Painting on self-occluded model

– A lot of manual work, even impossible

Page 31: Computer Graphics & 3D Painting

Start from Reality

From Jeremy Birn

Model

Page 32: Computer Graphics & 3D Painting

Start from Reality

Model + illumination

model

From Jeremy Birn

Page 33: Computer Graphics & 3D Painting

Start from Reality

Model + illumination + Texture

Model + illumination

Model

From Jeremy Birn

Page 34: Computer Graphics & 3D Painting

3D Painting

• An interactive technique for 3D model surface properties editing

• 3D model surface properties are required by reconstructing the surface details of the real object– Color– Illumination– Transparency– Normal ( bump mapping)– Displacement mapping– ……

Page 35: Computer Graphics & 3D Painting

The 3D Painting System

Page 36: Computer Graphics & 3D Painting

The Challenge of 3D Painting

• The dimension– 3D interaction + 3D display– 2D interaction interface is still the major method

of industry [P. Hanrahan et al. 1990]

• Operation– The occlusion is a challenge to interaction even

in real world

• The Creation skill– General users lack the professional creation skill

Page 37: Computer Graphics & 3D Painting

1. Occlusion

Page 38: Computer Graphics & 3D Painting

Our Method

Page 39: Computer Graphics & 3D Painting

Depth Layer

Layer 1 Layer 2

Page 40: Computer Graphics & 3D Painting

Depth peeling

Layer 1 Layer 2

Page 41: Computer Graphics & 3D Painting

Region Segmentation

The pixel adjacent

information

Region adjacent

information

Region Segmentation

Depth Information

Page 42: Computer Graphics & 3D Painting

Layer-aware Interaction

Page 43: Computer Graphics & 3D Painting

Layer-aware Interaction

Page 44: Computer Graphics & 3D Painting

A complete painting demo

Page 45: Computer Graphics & 3D Painting

2. The difficulty of creation

• 3D painting requires professional creation skill

Page 46: Computer Graphics & 3D Painting

Decal System

• Copy+Paste

Schmidt et al. 2006

Page 47: Computer Graphics & 3D Painting

Exponential Map

Can only control the center point and the direction

Page 48: Computer Graphics & 3D Painting

Sketch-based texture mapping

• Free control of the texture deformation

• More close to painting experience of general users

Page 49: Computer Graphics & 3D Painting

Sketch-based texture mapping

Extended exponential map

Texture map

Page 50: Computer Graphics & 3D Painting

Extended exponential map

Page 51: Computer Graphics & 3D Painting

Comparison

Extended exponential map[Sun et al. 2013]

Exponential map[Schmidt et al. 2006]

Page 52: Computer Graphics & 3D Painting

A painting demo

Page 53: Computer Graphics & 3D Painting

Thanks! & Question?