SlideShare a Scribd company logo
1 of 26
POLYGON MESH
Advance Computer Graphics
Farah Al-Tufaili
Kufa university – College of computer science and
mathematics
Definition
• A polygon mesh is a surface that is constructed
out of a set of polygons that are joined together
by common edges
• A polygon mesh is a collection of vertices,
edges and faces that defines the shape of a
polyhedral object in 3D computer graphics and
solid modeling.
14 March 2015 2Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
Elements Of Mesh Modeling
14 March 2015 3Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
Vertex and FaceTables
Each face lists vertex
references
• Shared vertices
• Still no topology
information
14 March 2015 4Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
Construction Of Polygonal Meshes
• Although it is possible to construct a mesh by manually specifying vertices
and faces, it is much more common to build meshes using a variety of tools.
A wide variety of 3D graphics software packages are available for use in
constructing polygon meshes.
• One of the more popular methods of constructing meshes is box modeling,
which uses two simple tools:
Subdivide
extrude
14 March 2015 5Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
One of the more popular methods of constructing meshes is box
modeling, which uses two simple tools
• The subdivide tool splits faces and edges into smaller pieces by adding new
vertices. For example, a square would be subdivided by adding one vertex in
the center and one on each edge, creating four smaller squares.
• The extrude tool is applied to a face or a group of faces. It creates a new face
of the same size and shape which is connected to each of the existing edges
by a face.Thus, performing the extrude operation on a square face would
create a cube connected to the surface at the location of the face.
14 March 2015 6Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
Construction Of Polygonal Meshes
• A second common modeling method is sometimes referred to as inflation
modeling or extrusion modeling.
• In this method, the user creates a 2D shape which traces the outline of an
object from a photograph or a drawing.
• The user then uses a second image of the subject from a different angle and
extrudes the 2D shape into 3D, again following the shape’s outline
14 March 2015 7Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
Extrusion modeling
• This method is especially
common for creating faces and
heads. In general, the artist will
model half of the head and then
duplicate the vertices, invert
their location relative to some
plane, and connect the two
pieces together.This ensures
that the model will be
symmetrical.
14 March 2015 8Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
Construction Of Polygonal Meshes
• Another common method of creating a polygonal mesh is by connecting
together various primitives, which are predefined polygonal meshes created
by the modeling environment. Common primitives include:
• Cubes
• Pyramids
• Cylinders
• 2D primitives, such as squares, triangles, and disks
• Specialized or esoteric primitives, such as the UtahTeapot or Suzanne, Blender's monkey
mascot.
• Spheres
14 March 2015 9Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
polygon meshes representation
Polygon meshes may be represented in a variety of ways, using
different methods to store the vertex, edge and face data.
These include:
1. Vertex-vertex meshes
2.Face-vertex meshes
3. Winged-edge meshes
4.Render dynamic meshes
14 March 2015 10Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
1- Vertex-vertex meshes
• Represent an object as a set of
vertices connected to other vertices.
This is the simplest representation,
but not widely used since the face
and edge information is implicit.
Thus, it is necessary to traverse the
data in order to generate a list of
faces for rendering. In addition,
operations on edges and faces are
not easily accomplished.
14 March 2015 11Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
2-Face-vertex meshes
• Represent an object as a
set of faces and a set of
vertices.This is the most
widely used mesh
representation, being the
input typically accepted by
modern graphics
hardware.
14 March 2015 12Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
• Introduced by Baumgart 1975, winged-edge meshes explicitly represent
the vertices, faces, and edges of a mesh.This representation is widely used
in modeling programs to provide the greatest flexibility in dynamically
changing the mesh geometry, because split and merge operations can be
done quickly.
14 March 2015 13
3-Winged-edge meshes
Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
4- Render dynamic meshes
• Winged-edge meshes are not the only representation which allows for
dynamic changes to geometry. A new representation which combines
winged-edge meshes and face-vertex meshes is the render dynamic mesh,
which explicitly stores both, the vertices of a face and faces of a vertex (like
FaceVertics meshes), and the faces and vertices of an edge (like winged-
edge).
14 March 2015 14Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
Shading Models
• Flat Shading (less computation
needed)
• Gouraud shading
• Phong Shading (heavy
computation needed)
14 March 2015 15
Flat
Gouraud
Phong
Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
How to compute the normal
vectors?
• The mesh is a set of polygons
• We can compute the normal vectors for each polygon (triangle)
• We can color the whole polygon using the same normal
• vector (flat shading)
14 March 2015 16Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
Flat Shading
• Compute the color at the middle of the polygon
• All points in the same polygon are colored by the same color
• One illumination calculation per polygon Assign all pixels inside each
polygon the same color
14 March 2015 17Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
Flat Shading
• A fast and simple method.
• Gives reasonable result only if all of the following assumptions
are valid:The object is really a polyhedron.
• Light source is far away from the surface so that N•L is constant over each
polygon.
• Viewing position is far away from the surface so thatV•R is constant over
each polygon.
14 March 2015 18Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
Flat Shading
• Objects look like they are composed of polygons
• OK for polyhedral objects
• Not so good for ones with smooth surfaces
14 March 2015 19Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
Gouraud Shading (Smooth Shading)
• Compute the color at each vertex first
• Compute the color inside the polygon by interpolating the colors of the
vertices composing the polygon
14 March 2015 20Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
• Produces smoothly shaded polygonal mesh Piecewise linear approximation
• Need fine mesh to capture subtle lighting effects
14 March 2015 21
Gouraud Shading (Smooth Shading)
Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
Phong Shading
• Interpolating the normal vectors at the vertices
• Do the computation of illumination at each point in the polygon
• Apply the illumination model along each scan line to calculate pixel
intensities for each surface point
14 March 2015 22Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
Phong Shading
• One lighting calculation per
pixel.
• Approximate surface normals
for points inside polygons by
bilinear interpolation of
normals from vertices
14 March 2015 23Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
What’s Bad About Polygons?
•What are some disadvantages of polygonal
representations?
14 March 2015 24Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
Polygons Aren’t Great
• They are always an approximation to curved surfaces
• But can be as good as you want, if you are willing to pay in size
• Normal vectors are approximate
• They throw away information
• Most real-world surfaces are curved, particularly natural surfaces
• They can be very unstructured
• It is difficult to perform many geometric operations
• Results can be unduly complex, for instance
14 March 2015 25Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
Thank you
for
listening
14 March 2015 26Computer graphics: Polygon mesh_______________ Farah Al-Tufaili

More Related Content

What's hot

Window to viewport transformation&matrix representation of homogeneous co...
Window to viewport transformation&matrix representation of homogeneous co...Window to viewport transformation&matrix representation of homogeneous co...
Window to viewport transformation&matrix representation of homogeneous co...Mani Kanth
 
2D transformation (Computer Graphics)
2D transformation (Computer Graphics)2D transformation (Computer Graphics)
2D transformation (Computer Graphics)Timbal Mayank
 
3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics FundamentalsMuhammed Afsal Villan
 
COMPUTER GRAPHICS-"Projection"
COMPUTER GRAPHICS-"Projection"COMPUTER GRAPHICS-"Projection"
COMPUTER GRAPHICS-"Projection"Ankit Surti
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removalPunyajoy Saha
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removalAnkit Garg
 
3D Transformation
3D Transformation3D Transformation
3D TransformationSwatiHans10
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformationAnkit Garg
 
Cohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping AlgorithmCohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping AlgorithmMaruf Abdullah (Rion)
 
Computer graphics notes
Computer graphics notesComputer graphics notes
Computer graphics notessmruti sarangi
 
Composite transformations
Composite transformationsComposite transformations
Composite transformationsMohd Arif
 
Character generation
Character generationCharacter generation
Character generationAnkit Garg
 

What's hot (20)

Window to viewport transformation&matrix representation of homogeneous co...
Window to viewport transformation&matrix representation of homogeneous co...Window to viewport transformation&matrix representation of homogeneous co...
Window to viewport transformation&matrix representation of homogeneous co...
 
2D transformation (Computer Graphics)
2D transformation (Computer Graphics)2D transformation (Computer Graphics)
2D transformation (Computer Graphics)
 
3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals3D Graphics : Computer Graphics Fundamentals
3D Graphics : Computer Graphics Fundamentals
 
Curves and surfaces
Curves and surfacesCurves and surfaces
Curves and surfaces
 
Illumination Models & Shading
Illumination Models & ShadingIllumination Models & Shading
Illumination Models & Shading
 
COMPUTER GRAPHICS-"Projection"
COMPUTER GRAPHICS-"Projection"COMPUTER GRAPHICS-"Projection"
COMPUTER GRAPHICS-"Projection"
 
Computer graphics realism
Computer graphics realismComputer graphics realism
Computer graphics realism
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removal
 
3 d display methods
3 d display methods3 d display methods
3 d display methods
 
Depth Buffer Method
Depth Buffer MethodDepth Buffer Method
Depth Buffer Method
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removal
 
3D Transformation
3D Transformation3D Transformation
3D Transformation
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformation
 
visible surface detection
visible surface detectionvisible surface detection
visible surface detection
 
Cohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping AlgorithmCohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping Algorithm
 
Shading
ShadingShading
Shading
 
Computer graphics notes
Computer graphics notesComputer graphics notes
Computer graphics notes
 
Composite transformations
Composite transformationsComposite transformations
Composite transformations
 
Z buffer
Z bufferZ buffer
Z buffer
 
Character generation
Character generationCharacter generation
Character generation
 

Viewers also liked

Polygon Notes
Polygon NotesPolygon Notes
Polygon Notesacavis
 
Polygons presentation
Polygons presentationPolygons presentation
Polygons presentationJessica
 
Computer graphics chapter 4
Computer graphics chapter 4Computer graphics chapter 4
Computer graphics chapter 4PrathimaBaliga
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer GraphicsAdri Jovin
 
Polygon Mesh Representation
Polygon Mesh RepresentationPolygon Mesh Representation
Polygon Mesh RepresentationPirouz Nourian
 
Hidden surfaces
Hidden surfacesHidden surfaces
Hidden surfacesMohd Arif
 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphicanku2266
 
Illumination model
Illumination modelIllumination model
Illumination modelAnkur Kumar
 
Computer Graphics: Visible surface detection methods
Computer Graphics: Visible surface detection methodsComputer Graphics: Visible surface detection methods
Computer Graphics: Visible surface detection methodsJoseph Charles
 
Notes 2D-Transformation Unit 2 Computer graphics
Notes 2D-Transformation Unit 2 Computer graphicsNotes 2D-Transformation Unit 2 Computer graphics
Notes 2D-Transformation Unit 2 Computer graphicsNANDINI SHARMA
 
Polygons (its meaning, nature and types) for grade v
Polygons (its meaning, nature and types) for grade vPolygons (its meaning, nature and types) for grade v
Polygons (its meaning, nature and types) for grade v121394
 
9 5 Classifying Quadrilaterals
9 5 Classifying Quadrilaterals9 5 Classifying Quadrilaterals
9 5 Classifying Quadrilateralsmrwilliams
 
Quadrilaterals And Polygons
Quadrilaterals And PolygonsQuadrilaterals And Polygons
Quadrilaterals And Polygonsnhokanson
 
Computer graphics notes
Computer graphics notesComputer graphics notes
Computer graphics notesMurkur Rajesh
 
What visual methods are employed by UK supermarkets to influence product choi...
What visual methods are employed by UK supermarkets to influence product choi...What visual methods are employed by UK supermarkets to influence product choi...
What visual methods are employed by UK supermarkets to influence product choi...Ryan Oldfield Design
 

Viewers also liked (20)

Polygon Notes
Polygon NotesPolygon Notes
Polygon Notes
 
Polygons presentation
Polygons presentationPolygons presentation
Polygons presentation
 
Computer graphics chapter 4
Computer graphics chapter 4Computer graphics chapter 4
Computer graphics chapter 4
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Object representations
Object representationsObject representations
Object representations
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Polygon Mesh Representation
Polygon Mesh RepresentationPolygon Mesh Representation
Polygon Mesh Representation
 
Hidden surfaces
Hidden surfacesHidden surfaces
Hidden surfaces
 
Visible surface detection in computer graphic
Visible surface detection in computer graphicVisible surface detection in computer graphic
Visible surface detection in computer graphic
 
Illumination model
Illumination modelIllumination model
Illumination model
 
Computer Graphics: Visible surface detection methods
Computer Graphics: Visible surface detection methodsComputer Graphics: Visible surface detection methods
Computer Graphics: Visible surface detection methods
 
Notes 2D-Transformation Unit 2 Computer graphics
Notes 2D-Transformation Unit 2 Computer graphicsNotes 2D-Transformation Unit 2 Computer graphics
Notes 2D-Transformation Unit 2 Computer graphics
 
Polygons (its meaning, nature and types) for grade v
Polygons (its meaning, nature and types) for grade vPolygons (its meaning, nature and types) for grade v
Polygons (its meaning, nature and types) for grade v
 
Types of Polygons
Types of PolygonsTypes of Polygons
Types of Polygons
 
9 5 Classifying Quadrilaterals
9 5 Classifying Quadrilaterals9 5 Classifying Quadrilaterals
9 5 Classifying Quadrilaterals
 
Quadrilaterals And Polygons
Quadrilaterals And PolygonsQuadrilaterals And Polygons
Quadrilaterals And Polygons
 
Ba (Hons.) Dissertation
Ba (Hons.) DissertationBa (Hons.) Dissertation
Ba (Hons.) Dissertation
 
Voxel based global-illumination
Voxel based global-illuminationVoxel based global-illumination
Voxel based global-illumination
 
Computer graphics notes
Computer graphics notesComputer graphics notes
Computer graphics notes
 
What visual methods are employed by UK supermarkets to influence product choi...
What visual methods are employed by UK supermarkets to influence product choi...What visual methods are employed by UK supermarkets to influence product choi...
What visual methods are employed by UK supermarkets to influence product choi...
 

Similar to Polygon mesh

Ha4 mesh construction
Ha4   mesh constructionHa4   mesh construction
Ha4 mesh constructionJordanSmith96
 
Using a Mobile Phone as a 2D Virtual Tracing Tool: Static Peephole vs. Magic ...
Using a Mobile Phone as a 2D Virtual Tracing Tool: Static Peephole vs. Magic ...Using a Mobile Phone as a 2D Virtual Tracing Tool: Static Peephole vs. Magic ...
Using a Mobile Phone as a 2D Virtual Tracing Tool: Static Peephole vs. Magic ...Klen Čopič Pucihar
 
Solid model theory.pdf .
Solid model theory.pdf                     .Solid model theory.pdf                     .
Solid model theory.pdf .Athar739197
 
3D modelling and animation using Autodesk maya
3D modelling and animation using Autodesk maya3D modelling and animation using Autodesk maya
3D modelling and animation using Autodesk mayaParvesh Taneja
 
Sketch a doodle - EICS 2020
Sketch a doodle - EICS 2020Sketch a doodle - EICS 2020
Sketch a doodle - EICS 2020DonatienGrolaux
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmDeepika Walanjkar
 
L3 u66 modelling 3 d the basics task 1 research
L3 u66 modelling 3 d the basics task 1 researchL3 u66 modelling 3 d the basics task 1 research
L3 u66 modelling 3 d the basics task 1 researchcassie_coyne
 
Tutorial 1 - Computer Aided Design (Final Release)
Tutorial 1 - Computer Aided Design (Final Release)Tutorial 1 - Computer Aided Design (Final Release)
Tutorial 1 - Computer Aided Design (Final Release)Charling Li
 
Geometric modeling
Geometric modelingGeometric modeling
Geometric modelingnmahi96
 
3 CG_U1_P2_PPT_3 OpenGL.pptx
3 CG_U1_P2_PPT_3 OpenGL.pptx3 CG_U1_P2_PPT_3 OpenGL.pptx
3 CG_U1_P2_PPT_3 OpenGL.pptxssuser255bf1
 
IRJET- Lane Segmentation for Self-Driving Cars using Image Processing
IRJET-  	  Lane Segmentation for Self-Driving Cars using Image ProcessingIRJET-  	  Lane Segmentation for Self-Driving Cars using Image Processing
IRJET- Lane Segmentation for Self-Driving Cars using Image ProcessingIRJET Journal
 
Computer Aided Solid Modelling
Computer Aided Solid ModellingComputer Aided Solid Modelling
Computer Aided Solid ModellingDibyajyoti Laha
 
Week 3 Polygonal Modelling
Week 3   Polygonal ModellingWeek 3   Polygonal Modelling
Week 3 Polygonal ModellingScottRoberts37
 
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an ObjectAnkur Tyagi
 

Similar to Polygon mesh (20)

Ha4 mesh construction
Ha4   mesh constructionHa4   mesh construction
Ha4 mesh construction
 
Using a Mobile Phone as a 2D Virtual Tracing Tool: Static Peephole vs. Magic ...
Using a Mobile Phone as a 2D Virtual Tracing Tool: Static Peephole vs. Magic ...Using a Mobile Phone as a 2D Virtual Tracing Tool: Static Peephole vs. Magic ...
Using a Mobile Phone as a 2D Virtual Tracing Tool: Static Peephole vs. Magic ...
 
Solid model theory.pdf .
Solid model theory.pdf                     .Solid model theory.pdf                     .
Solid model theory.pdf .
 
3D modelling and animation using Autodesk maya
3D modelling and animation using Autodesk maya3D modelling and animation using Autodesk maya
3D modelling and animation using Autodesk maya
 
Sketch a doodle - EICS 2020
Sketch a doodle - EICS 2020Sketch a doodle - EICS 2020
Sketch a doodle - EICS 2020
 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
 
L3 u66 modelling 3 d the basics task 1 research
L3 u66 modelling 3 d the basics task 1 researchL3 u66 modelling 3 d the basics task 1 research
L3 u66 modelling 3 d the basics task 1 research
 
Tutorial 1 - Computer Aided Design (Final Release)
Tutorial 1 - Computer Aided Design (Final Release)Tutorial 1 - Computer Aided Design (Final Release)
Tutorial 1 - Computer Aided Design (Final Release)
 
Inventor notes[1]
Inventor notes[1]Inventor notes[1]
Inventor notes[1]
 
Inventor notes
Inventor notesInventor notes
Inventor notes
 
Photomodeler
PhotomodelerPhotomodeler
Photomodeler
 
Geometric modeling
Geometric modelingGeometric modeling
Geometric modeling
 
3 CG_U1_P2_PPT_3 OpenGL.pptx
3 CG_U1_P2_PPT_3 OpenGL.pptx3 CG_U1_P2_PPT_3 OpenGL.pptx
3 CG_U1_P2_PPT_3 OpenGL.pptx
 
IRJET- Lane Segmentation for Self-Driving Cars using Image Processing
IRJET-  	  Lane Segmentation for Self-Driving Cars using Image ProcessingIRJET-  	  Lane Segmentation for Self-Driving Cars using Image Processing
IRJET- Lane Segmentation for Self-Driving Cars using Image Processing
 
Computer Aided Solid Modelling
Computer Aided Solid ModellingComputer Aided Solid Modelling
Computer Aided Solid Modelling
 
Week 3 Polygonal Modelling
Week 3   Polygonal ModellingWeek 3   Polygonal Modelling
Week 3 Polygonal Modelling
 
Btp viewmorph
Btp viewmorphBtp viewmorph
Btp viewmorph
 
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object3D Reconstruction from Multiple uncalibrated 2D Images of an Object
3D Reconstruction from Multiple uncalibrated 2D Images of an Object
 
Datt2500 week 02
Datt2500 week 02Datt2500 week 02
Datt2500 week 02
 
Solidworks software
Solidworks softwareSolidworks software
Solidworks software
 

More from Farah M. Altufaili

More from Farah M. Altufaili (10)

A Correlative Information-Theoretic Measure for Image Similarity
A Correlative Information-Theoretic Measure for Image SimilarityA Correlative Information-Theoretic Measure for Image Similarity
A Correlative Information-Theoretic Measure for Image Similarity
 
Fp growth
Fp growthFp growth
Fp growth
 
Stereo vision
Stereo visionStereo vision
Stereo vision
 
Writing a good cv
Writing a good cvWriting a good cv
Writing a good cv
 
Virtual Private Network VPN
Virtual Private Network VPNVirtual Private Network VPN
Virtual Private Network VPN
 
Fuzzy image processing- fuzzy C-mean clustering
Fuzzy image processing- fuzzy C-mean clusteringFuzzy image processing- fuzzy C-mean clustering
Fuzzy image processing- fuzzy C-mean clustering
 
Principal component analysis
Principal component analysisPrincipal component analysis
Principal component analysis
 
Tiny encryption algorithm
Tiny encryption algorithmTiny encryption algorithm
Tiny encryption algorithm
 
Nanotechnology and its impact on modern computer
Nanotechnology and its impact on modern computerNanotechnology and its impact on modern computer
Nanotechnology and its impact on modern computer
 
Adversarial search
Adversarial search Adversarial search
Adversarial search
 

Recently uploaded

一比一原版(ANU毕业证书)澳大利亚国立大学毕业证原件一模一样
一比一原版(ANU毕业证书)澳大利亚国立大学毕业证原件一模一样一比一原版(ANU毕业证书)澳大利亚国立大学毕业证原件一模一样
一比一原版(ANU毕业证书)澳大利亚国立大学毕业证原件一模一样yhavx
 
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...gajnagarg
 
Just Call Vip call girls Kasganj Escorts ☎️8617370543 Two shot with one girl ...
Just Call Vip call girls Kasganj Escorts ☎️8617370543 Two shot with one girl ...Just Call Vip call girls Kasganj Escorts ☎️8617370543 Two shot with one girl ...
Just Call Vip call girls Kasganj Escorts ☎️8617370543 Two shot with one girl ...Nitya salvi
 
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for FriendshipRaebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for FriendshipNitya salvi
 
Jual Obat Aborsi Bandung ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan ...
Jual Obat Aborsi Bandung ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan ...Jual Obat Aborsi Bandung ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan ...
Jual Obat Aborsi Bandung ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan ...ZurliaSoop
 
Mohanlalganj ! Call Girls in Lucknow - 450+ Call Girl Cash Payment 9548273370...
Mohanlalganj ! Call Girls in Lucknow - 450+ Call Girl Cash Payment 9548273370...Mohanlalganj ! Call Girls in Lucknow - 450+ Call Girl Cash Payment 9548273370...
Mohanlalganj ! Call Girls in Lucknow - 450+ Call Girl Cash Payment 9548273370...gargpaaro
 
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...gajnagarg
 
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...Nitya salvi
 
Independent Escorts Goregaon WhatsApp +91-9930687706, Best Service
Independent Escorts Goregaon WhatsApp +91-9930687706, Best ServiceIndependent Escorts Goregaon WhatsApp +91-9930687706, Best Service
Independent Escorts Goregaon WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证eqaqen
 
Design-System - FinTech - Isadora Agency
Design-System - FinTech - Isadora AgencyDesign-System - FinTech - Isadora Agency
Design-System - FinTech - Isadora AgencyIsadora Agency
 
Eye-Catching Web Design Crafting User Interfaces .docx
Eye-Catching Web Design Crafting User Interfaces .docxEye-Catching Web Design Crafting User Interfaces .docx
Eye-Catching Web Design Crafting User Interfaces .docxMdBokhtiyarHossainNi
 
Q4-W4-SCIENCE-5 power point presentation
Q4-W4-SCIENCE-5 power point presentationQ4-W4-SCIENCE-5 power point presentation
Q4-W4-SCIENCE-5 power point presentationZenSeloveres
 
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证ehyxf
 
Gamestore case study UI UX by Amgad Ibrahim
Gamestore case study UI UX by Amgad IbrahimGamestore case study UI UX by Amgad Ibrahim
Gamestore case study UI UX by Amgad Ibrahimamgadibrahim92
 
Simple Conference Style Presentation by Slidesgo.pptx
Simple Conference Style Presentation by Slidesgo.pptxSimple Conference Style Presentation by Slidesgo.pptx
Simple Conference Style Presentation by Slidesgo.pptxbalqisyamutia
 
TRose UXPA Experience Design Concord .pptx
TRose UXPA Experience Design Concord .pptxTRose UXPA Experience Design Concord .pptx
TRose UXPA Experience Design Concord .pptxtrose8
 
Top profile Call Girls In eluru [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In eluru [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In eluru [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In eluru [ 7014168258 ] Call Me For Genuine Models We ...gajnagarg
 
Minimalist Orange Portfolio by Slidesgo.pptx
Minimalist Orange Portfolio by Slidesgo.pptxMinimalist Orange Portfolio by Slidesgo.pptx
Minimalist Orange Portfolio by Slidesgo.pptxbalqisyamutia
 
How to Build a Simple Shopify Website
How to Build a Simple Shopify WebsiteHow to Build a Simple Shopify Website
How to Build a Simple Shopify Websitemark11275
 

Recently uploaded (20)

一比一原版(ANU毕业证书)澳大利亚国立大学毕业证原件一模一样
一比一原版(ANU毕业证书)澳大利亚国立大学毕业证原件一模一样一比一原版(ANU毕业证书)澳大利亚国立大学毕业证原件一模一样
一比一原版(ANU毕业证书)澳大利亚国立大学毕业证原件一模一样
 
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Mysore [ 7014168258 ] Call Me For Genuine Models We...
 
Just Call Vip call girls Kasganj Escorts ☎️8617370543 Two shot with one girl ...
Just Call Vip call girls Kasganj Escorts ☎️8617370543 Two shot with one girl ...Just Call Vip call girls Kasganj Escorts ☎️8617370543 Two shot with one girl ...
Just Call Vip call girls Kasganj Escorts ☎️8617370543 Two shot with one girl ...
 
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for FriendshipRaebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
Raebareli Girl Whatsapp Number 📞 8617370543 | Girls Number for Friendship
 
Jual Obat Aborsi Bandung ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan ...
Jual Obat Aborsi Bandung ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan ...Jual Obat Aborsi Bandung ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan ...
Jual Obat Aborsi Bandung ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan ...
 
Mohanlalganj ! Call Girls in Lucknow - 450+ Call Girl Cash Payment 9548273370...
Mohanlalganj ! Call Girls in Lucknow - 450+ Call Girl Cash Payment 9548273370...Mohanlalganj ! Call Girls in Lucknow - 450+ Call Girl Cash Payment 9548273370...
Mohanlalganj ! Call Girls in Lucknow - 450+ Call Girl Cash Payment 9548273370...
 
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
Top profile Call Girls In Meerut [ 7014168258 ] Call Me For Genuine Models We...
 
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
Call Girls In Ratnagiri Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service En...
 
Independent Escorts Goregaon WhatsApp +91-9930687706, Best Service
Independent Escorts Goregaon WhatsApp +91-9930687706, Best ServiceIndependent Escorts Goregaon WhatsApp +91-9930687706, Best Service
Independent Escorts Goregaon WhatsApp +91-9930687706, Best Service
 
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
一比一定(购)西悉尼大学毕业证(WSU毕业证)成绩单学位证
 
Design-System - FinTech - Isadora Agency
Design-System - FinTech - Isadora AgencyDesign-System - FinTech - Isadora Agency
Design-System - FinTech - Isadora Agency
 
Eye-Catching Web Design Crafting User Interfaces .docx
Eye-Catching Web Design Crafting User Interfaces .docxEye-Catching Web Design Crafting User Interfaces .docx
Eye-Catching Web Design Crafting User Interfaces .docx
 
Q4-W4-SCIENCE-5 power point presentation
Q4-W4-SCIENCE-5 power point presentationQ4-W4-SCIENCE-5 power point presentation
Q4-W4-SCIENCE-5 power point presentation
 
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
怎样办理莫纳什大学毕业证(Monash毕业证书)成绩单留信认证
 
Gamestore case study UI UX by Amgad Ibrahim
Gamestore case study UI UX by Amgad IbrahimGamestore case study UI UX by Amgad Ibrahim
Gamestore case study UI UX by Amgad Ibrahim
 
Simple Conference Style Presentation by Slidesgo.pptx
Simple Conference Style Presentation by Slidesgo.pptxSimple Conference Style Presentation by Slidesgo.pptx
Simple Conference Style Presentation by Slidesgo.pptx
 
TRose UXPA Experience Design Concord .pptx
TRose UXPA Experience Design Concord .pptxTRose UXPA Experience Design Concord .pptx
TRose UXPA Experience Design Concord .pptx
 
Top profile Call Girls In eluru [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In eluru [ 7014168258 ] Call Me For Genuine Models We ...Top profile Call Girls In eluru [ 7014168258 ] Call Me For Genuine Models We ...
Top profile Call Girls In eluru [ 7014168258 ] Call Me For Genuine Models We ...
 
Minimalist Orange Portfolio by Slidesgo.pptx
Minimalist Orange Portfolio by Slidesgo.pptxMinimalist Orange Portfolio by Slidesgo.pptx
Minimalist Orange Portfolio by Slidesgo.pptx
 
How to Build a Simple Shopify Website
How to Build a Simple Shopify WebsiteHow to Build a Simple Shopify Website
How to Build a Simple Shopify Website
 

Polygon mesh

  • 1. POLYGON MESH Advance Computer Graphics Farah Al-Tufaili Kufa university – College of computer science and mathematics
  • 2. Definition • A polygon mesh is a surface that is constructed out of a set of polygons that are joined together by common edges • A polygon mesh is a collection of vertices, edges and faces that defines the shape of a polyhedral object in 3D computer graphics and solid modeling. 14 March 2015 2Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 3. Elements Of Mesh Modeling 14 March 2015 3Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 4. Vertex and FaceTables Each face lists vertex references • Shared vertices • Still no topology information 14 March 2015 4Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 5. Construction Of Polygonal Meshes • Although it is possible to construct a mesh by manually specifying vertices and faces, it is much more common to build meshes using a variety of tools. A wide variety of 3D graphics software packages are available for use in constructing polygon meshes. • One of the more popular methods of constructing meshes is box modeling, which uses two simple tools: Subdivide extrude 14 March 2015 5Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 6. One of the more popular methods of constructing meshes is box modeling, which uses two simple tools • The subdivide tool splits faces and edges into smaller pieces by adding new vertices. For example, a square would be subdivided by adding one vertex in the center and one on each edge, creating four smaller squares. • The extrude tool is applied to a face or a group of faces. It creates a new face of the same size and shape which is connected to each of the existing edges by a face.Thus, performing the extrude operation on a square face would create a cube connected to the surface at the location of the face. 14 March 2015 6Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 7. Construction Of Polygonal Meshes • A second common modeling method is sometimes referred to as inflation modeling or extrusion modeling. • In this method, the user creates a 2D shape which traces the outline of an object from a photograph or a drawing. • The user then uses a second image of the subject from a different angle and extrudes the 2D shape into 3D, again following the shape’s outline 14 March 2015 7Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 8. Extrusion modeling • This method is especially common for creating faces and heads. In general, the artist will model half of the head and then duplicate the vertices, invert their location relative to some plane, and connect the two pieces together.This ensures that the model will be symmetrical. 14 March 2015 8Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 9. Construction Of Polygonal Meshes • Another common method of creating a polygonal mesh is by connecting together various primitives, which are predefined polygonal meshes created by the modeling environment. Common primitives include: • Cubes • Pyramids • Cylinders • 2D primitives, such as squares, triangles, and disks • Specialized or esoteric primitives, such as the UtahTeapot or Suzanne, Blender's monkey mascot. • Spheres 14 March 2015 9Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 10. polygon meshes representation Polygon meshes may be represented in a variety of ways, using different methods to store the vertex, edge and face data. These include: 1. Vertex-vertex meshes 2.Face-vertex meshes 3. Winged-edge meshes 4.Render dynamic meshes 14 March 2015 10Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 11. 1- Vertex-vertex meshes • Represent an object as a set of vertices connected to other vertices. This is the simplest representation, but not widely used since the face and edge information is implicit. Thus, it is necessary to traverse the data in order to generate a list of faces for rendering. In addition, operations on edges and faces are not easily accomplished. 14 March 2015 11Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 12. 2-Face-vertex meshes • Represent an object as a set of faces and a set of vertices.This is the most widely used mesh representation, being the input typically accepted by modern graphics hardware. 14 March 2015 12Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 13. • Introduced by Baumgart 1975, winged-edge meshes explicitly represent the vertices, faces, and edges of a mesh.This representation is widely used in modeling programs to provide the greatest flexibility in dynamically changing the mesh geometry, because split and merge operations can be done quickly. 14 March 2015 13 3-Winged-edge meshes Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 14. 4- Render dynamic meshes • Winged-edge meshes are not the only representation which allows for dynamic changes to geometry. A new representation which combines winged-edge meshes and face-vertex meshes is the render dynamic mesh, which explicitly stores both, the vertices of a face and faces of a vertex (like FaceVertics meshes), and the faces and vertices of an edge (like winged- edge). 14 March 2015 14Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 15. Shading Models • Flat Shading (less computation needed) • Gouraud shading • Phong Shading (heavy computation needed) 14 March 2015 15 Flat Gouraud Phong Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 16. How to compute the normal vectors? • The mesh is a set of polygons • We can compute the normal vectors for each polygon (triangle) • We can color the whole polygon using the same normal • vector (flat shading) 14 March 2015 16Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 17. Flat Shading • Compute the color at the middle of the polygon • All points in the same polygon are colored by the same color • One illumination calculation per polygon Assign all pixels inside each polygon the same color 14 March 2015 17Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 18. Flat Shading • A fast and simple method. • Gives reasonable result only if all of the following assumptions are valid:The object is really a polyhedron. • Light source is far away from the surface so that N•L is constant over each polygon. • Viewing position is far away from the surface so thatV•R is constant over each polygon. 14 March 2015 18Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 19. Flat Shading • Objects look like they are composed of polygons • OK for polyhedral objects • Not so good for ones with smooth surfaces 14 March 2015 19Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 20. Gouraud Shading (Smooth Shading) • Compute the color at each vertex first • Compute the color inside the polygon by interpolating the colors of the vertices composing the polygon 14 March 2015 20Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 21. • Produces smoothly shaded polygonal mesh Piecewise linear approximation • Need fine mesh to capture subtle lighting effects 14 March 2015 21 Gouraud Shading (Smooth Shading) Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 22. Phong Shading • Interpolating the normal vectors at the vertices • Do the computation of illumination at each point in the polygon • Apply the illumination model along each scan line to calculate pixel intensities for each surface point 14 March 2015 22Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 23. Phong Shading • One lighting calculation per pixel. • Approximate surface normals for points inside polygons by bilinear interpolation of normals from vertices 14 March 2015 23Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 24. What’s Bad About Polygons? •What are some disadvantages of polygonal representations? 14 March 2015 24Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 25. Polygons Aren’t Great • They are always an approximation to curved surfaces • But can be as good as you want, if you are willing to pay in size • Normal vectors are approximate • They throw away information • Most real-world surfaces are curved, particularly natural surfaces • They can be very unstructured • It is difficult to perform many geometric operations • Results can be unduly complex, for instance 14 March 2015 25Computer graphics: Polygon mesh_______________ Farah Al-Tufaili
  • 26. Thank you for listening 14 March 2015 26Computer graphics: Polygon mesh_______________ Farah Al-Tufaili

Editor's Notes

  1. . We assume that no edge belongs to more than two polygons. If an edge belongs to one polygon only, then the edge is on the boundary of the surface; if an edge belongs to two polygons then the edge lies in the interior of the surface.
  2. The subdivide tool splits faces and edges into smaller pieces by adding new vertices. For example, a square would be subdivided by adding one vertex in the center and one on each edge, creating four smaller squares. The extrude tool is applied to a face or a group of faces. It creates a new face of the same size and shape which is connected to each of the existing edges by a face. Thus, performing the extrude operation on a square face would create a cube connected to the surface at the location of the face.
  3. . This method is especially common for creating faces and heads. In general, the artist will model half of the head and then duplicate the vertices, invert their location relative to some plane, and connect the two pieces together. This ensures that the model will be symmetrical.