1. Trang chủ
  2. » Công Nghệ Thông Tin

Lecture Computer graphics: Lecture 19 - Fasih ur Rehman

16 50 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 16
Dung lượng 26,34 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

This chapter discuss the purpose of the components required for successful communications; describe these uses of computer communications: wireless messaging services, wireless Internet access points, cybercafés, global positioning systems, collaboration, groupware, voice mail, and Web services;

Trang 1

Computer Graphics

Lecture 19 Fasih ur Rehman

Trang 2

Last Class

• Rasterization

• Fragment Processing

• Clipping

Trang 3

Today’s Agenda

• Clipping

Trang 4

• Identification of the portions of geometric primitives by analytical calculations within the view windows

Trang 5

• Not to clip means

be wasted

Trang 6

Clipping Approach

• For each line segment

Trang 7

• The process of determining which

primitives, or parts of primitives, fit within the clipping or view volume

• The portions of all primitives that can

possibly be displayed (lie in the cube)

Trang 8

Line Clipping

• A clipper decides which primitives, or parts

of primitives can possibly be displayed and

be passed on to rasterizer

volume pass through the clipper, or are

accepted

are eliminated, or rejected or culled

volume must be clipped such that any part

lying outside the volume is removed

Trang 9

Accepted

Trang 10

Rejected

Trang 11

Clipped

Trang 12

Clipping Algorithms

• Test both end points of line

(same) edge

Trang 13

Clipping Algorithms

• Test both end points of line

(same) edge

Trang 14

Clipping Algorithms

• Combining the above two

view window, accept the line “trivially”

view window, reject the line “trivially”

accept and reject each segment trivially

Trang 15

• Clipping

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.

Ngày đăng: 30/01/2020, 08:19