Overview of Computer Graphics & Applications 2023
Instructor: 李同益
CG System
Overview
Triangle, quad,
curve surface
Mesh
Simplification
Level of Details (LOD)
The teapot
Real teapot
Martin NewellMartin Newell, The teapot model was created in 1975 by early computer graphics researcher Martin NewellMartin Newell, The teapot model was created in 1975 by early computer graphics researcher Martin Newell, a member of the pioneering graphics program at the University of Utah.
Utah Teapot’s Data
Rendering
Rendering/Shading
Photo-realistic Rendering
Rendering and Texture Mapping
Direct v.s. Indirect Lighting
2023/02/16
Animation
A Standard Graphics Pipeline
OpenGL Transformation �Pipeline
v
e
r
t
e
x
Modelview
Matrix
Projection
Matrix
Perspective
Division
Viewport
Transform
Modelview
Modelview
Projection
●
●
●
object
eye
clip
normalized
device
window
glTranslate{fd}( x, y, z )
glRotate{fd}( angle, x, y, z )
glScale{fd}( x, y, z )
OpenGL Rendering
Basic Idea of Ray tracing
Note: translucent materials allow some light to pass through. Transparent and translucent objects still form shadows, but they may be faint, fuzzy or colored.
“Backward” Ray-Tracing
Eye
Light
This is what most people mean by “ray tracing”.
Raytracng
http://www.realtimerendering.com/raytracing.html
The Ray Tracer Challenge
A Test-Driven Guide to Your First 3D Renderer
by Jamis Buck
Shadow Rays
Scanning the David
height of gantry: 7.5 meters
weight of gantry: 800 kilograms
大衛像 (David of Michelangelo))
大衛像是文藝復興時代米開朗基羅的傑作,於1501年至1504年雕成。雕像為白色大理石雕成的站立的男性裸體,一個佛羅倫薩藝術中最受歡迎的主題。用以表現聖經中的猶太英雄大衛王。原作目前置放於義大利佛羅倫斯美術學院,
Michelangelo’s Pieta
handmade replica
Molder Package
3ds Max 是由 Autodesk 公司開發的專業級 3D 動畫軟體,應用的領域包括電影視覺效果、遊戲場景與角色製作、建築工程與室內設計、工業產品設計等,從 DOS 系統的 3D Studio 到今年推出的 3ds Max 2017 版本已擁有超過 25 年的歷史,隨著版本更新不斷增加新的功能。
Sketch �略圖,�草圖;
Depth Cueing
Clipping (Far-plane)
Coloring
Hidden Surface Removal
Constant Rendering
Facet Shading
Smooth Shading
Correct Highlight
(高亮度)
Edge Silhouettes
輪廓
Texture & Shadow
Texture Mapping
Surface Flattening �and �Texture Mapping
In this image, the head on the left is a low-res model, the head in the middle is a highly detailed high-res model. The head on the right is the low-res model with a normal map generated from the hi-res model. It is visually almost indistinguishable from the high-poly model
Shading with Scan Conversion�for Pixels
Lecture 15
6.837 Fall 2001
Bump/Normal Mapping and
Displacement Mapping
Lecture 15
Slide 46
6.837 Fall 2001
Procedural Texture
程序紋理
Reflection
Global Illumination
Lighting
Photo image of
the real scene
Non-photorealistic
Rendering
Hatching
Smooth Shading
NPR Cartoon Shading
Computer Graphics is about Movies!
Motion capture (mocap)
Inspirational Video
Keep in mind: this film is entirely Computer-generated.
Games are OK here
Medical Visualization
Computer Aided Design
Scientific Visualization
Word Cloud Visualization
http://graphics.csie.ncku.edu.tw/TVCG_Word_Cloud/Main_video.mp4
A tag cloud (word cloud, or weighted list in visual design) is a visual representation of text data, typically used to depict keyword metadata (tags) on websites, or to visualize free form text. Tags are usually single words, and the importance of each tag is shown with font size or color.[2] This format is useful for quickly perceiving the most prominent terms and for locating a term alphabetically to determine its relative prominence. When used as website navigation aids, the terms are hyperlinked to items associated with the tag.
Graphical User Interfaces (GUIs)
WYSIWYG NPR:�Drawing Strokes Directly on 3D Models�
http://www.cs.princeton.edu/gfx/proj/wnpr/
Virtual
Reality
(VR)
Head-Mounted Displays
Caves
Looking at NASA Space Station on display wall
http://www.cs.princeton.edu/~benshedd/
CSDisplayWall8&24/index.html
Display Wall
Image/Video Retargeting
16 : 9
? : ?
2.39 : 1
4 : 3
Image Resizing
4:3
16:9
1:1
Resizing – Standard Solutions
© Blender Foundation
Resizing – Standard Solutions
© Blender Foundation
Resizing – Standard Solutions
© Blender Foundation
Resizing – Standard Solutions
© Blender Foundation
Resizing – Content-Aware Solutions
Seam-carving
[Avidan+Shamir 2007]
Non-homo. warping
[Wolf et al. 2007]
Optimized scale&stretch
[Wang et al. 2008]
Determine ‘important’ regions
Apply operator
[Visual Media Retargeting, SIGGRAPH Asia 09 Course]
Seam carving: nonlinear cropping�[Avidan and Shamir 2007; Rubinstein et al. 2008]
Results
original
SC (Seam carving)
ours
Video Resizing Results in SIGGRAPH Asia 2009
Flickering and waving artifacts