After you read this chapter you should be able to: Describe various types of network attacks, and identify ways to safeguard against these attacks, including firewalls and intrusion detection software; discuss techniques to prevent unauthorized computer access and use; identify safeguards against hardware theft and vandalism;...
Trang 1Computer Graphics
Lecture 12 Fasih ur Rehman
Trang 2Last Class
• Geometric Objects
– Line
Trang 3Today’s Agenda
• Cross Product
• Plane
• Sphere
• Transformations
Trang 4Cross Product
• The product of two vectors (a and b) is
another vector which is orthogonal to both the vectors (a and b)
Vector Product of the two vectors
product.
Trang 53D Plane
• Linear combination of three points
Trang 63D Sphere
Trang 7Transformations
Trang 8Matrix Algebra (A Review)
Trang 10• Scaling is achieved by multiplying each graphic component by a scalar
• Scaling will be uniform if this scalar is same for all components
• Different components are scaled
differently, scaling in uniform
Trang 11`
`
`
Trang 12Scaling Operation
Trang 132D Rotation
Trang 15• Cross Product
Trang 16• Fundamentals of Computer Graphics Third Edition by Peter Shirley and Steve
Marschner
• Interactive Computer Graphics, A
Top-down Approach with OpenGL (Sixth
Edition) by Edward Angel