3-08-2018 3D Computer Graphics
3-08-2018 3D Computer Graphics
3D Creation in Reality
3D Computer Graphics
Dr. Edward Hsieh
March 8, 2017
In computing, FLOPS or flops (an acronym for floating-point operations per second) is a measure
of computer performance, useful in fields of scientific calculations that make heavy use of
floating-point calculations.
Source: http://allegroviva.com
1
2018/3/8
Source: http://allegroviva.com
Source: https://www.ntu.edu.sg/home/ehchua/programming/
2
2018/3/8
Source: https://www.ntu.edu.sg/home/ehchua/programming/
3
2018/3/8
This chart shows the most common display resolutions, "1024 × 768" means the
width is 1024 pixels and the height is 768 pixels, with the color of each resolution
type indicating the display ratio (e.g. red indicates a 4:3 ratio) (Source: Wikipedia)
4
2018/3/8
3D geometry modeling
The most classical method for modeling 3D geometry is the use of polygons. An object is
approximated by a polygonal mesh, that is a set of connected polygons. Most of the time,
triangles are used for simplicity and generality, but quadrilaterals (quads) are preferred.
N-gons have 5 or more vertices.
5
2018/3/8
The ray-tracing algorithm does not use a rasterization phase. It sends one ray from the eye
and through each pixel of the image. The intersection between this ray and the objects of
the scene is computed, and only the closest intersection is considered.
The z-buffer method stores the depth(z) of each pixel and the object with a smallest Z gets
displayed.
Source: A Short Introduction to Computer Graphics (Frédo Durand, MIT)
6
2018/3/8
Source: https://www.ntu.edu.sg/home/ehchua/programming/
7
2018/3/8
Shading models
The objects can be shaded according to their interaction with light. Various
shading models are utilized which describe how light is reflected by object,
depending on the relative orientation of the surface, light source
and viewpoint.
Shading and material models do not simulate shadows that are harder to handle because
they imply long-range interactions. Ray-tracing computation is done for each pixel and each
light source. A shadow ray is sent from the visible point to the light source. If the ray
intersects an object, then the visible point is in shadow.
Source: A Short Introduction to Computer Graphics (Frédo Durand, MIT)
8
2018/3/8
9
2018/3/8
Incredible progress in
programmable shading
Incredible progress in
programmable shading
10
2018/3/8
11
2018/3/8
Source: http://www.eurogamer.net
Design of XP in Pokémon Go
Lvl XP Total XP Rewards
Ultra Ball x10, Max
1 - - -
28 250,000 1,350,000 Potion x15, Revive
2 1,000 1,000 Poke Ball x10
x10, Razz Berry x15
3 2,000 3,000 Poke Ball x15
4 3,000 6,000 Poke Ball x15 Ultra Ball x10, Max
Poke Ball x20, Potion 29 300,000 1,650,000 Potion x15, Revive
5 4,000 10,000 x10, Revive x10, x10, Razz Berry x15
Incense
Ultra Ball x30, Max
Poke Ball x15, Potion
6 5,000 15,000 x10, Revive x5,
Potion x20, Max
Incubator Revive x20, Razz
Poke Ball x15, Potion 30 350,000 2,000,000 Berry x20, Incense
7 6,000 21,000 x10, Revive x5, x3, Lucky Egg x3,
Incense Egg Incubator x3,
Poke Ball x15, Potion Lure Module x3
x10, Revive x5, Razz
8 7,000 28,000
Berry x10, Lure
Module
12
2018/3/8
Source: http://www.escapistmagazine.com
Developer: Niantic
Artist:
Dennis Hwang*
Composer:
Junichi Masuda
Niantic, Inc. is an American software development company based in San Francisco, who is best known
for developing the augmented reality mobile games Ingress and Pokémon Go. The company was formed
in 2010 by Keyhole, Inc. founder John Hanke as an internal startup within Google, known as Niantic Labs.
*Dennis Hwang, who was the designer of some of the festive logos for Google. (source: Wikipedia)
13
2018/3/8
14