1. Trang chủ
  2. » Giáo Dục - Đào Tạo

Lecture computer graphics and virtual reality slides lesson 11 hidden surface removal

40 0 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

Tiêu đề Hidden Surface Removal
Tác giả Trinh Thanh Trung
Trường học School of ICT, HUST
Thể loại Lecture Slides
Định dạng
Số trang 40
Dung lượng 1,13 MB

Nội dung

Trang 4 Why hidden surface removal■ A correct rendering requires correct visibility calculations■ When multiple opaque polygons cover the same screen space, only the closest one is visib

Lesson 11 Hidden surface removal Trinh Thanh Trung School of ICT, HUST Content Overview Painter’s algorithm Z-buffer BSP tree Portal culling Additional techniques Overview Why hidden surface removal ■ A correct rendering requires correct visibility calculations ■ When multiple opaque polygons cover the same screen space, only the closest one is visible (remove the other hidden surfaces) wrong visibility correct visibility Why hidden surface removal ■ We don’t want to waste computational resources rendering primitives which don’t contribute to the final image ■ Drawing polygonal faces on screen consumes CPU cycles □ e.g Illumination Hidden surface removal ■ Painter’s algorithm ■ Z-buffer ■ BSP tree ■ Portal culling ■ Additional techniques □ Back face culling Painter’s algorithm Painter’s algorithm ■ Draw surfaces in back to front order – nearer polygons “paint” over farther ones ■ Need to decide the order to draw – far objects first Painter’s algorithm: Problem ■ Key issue is order determination ■ Doesn’t always work □ see image at right Painter’s algorithm: Problem ■ Another situation it ■ does not work ■ In both cases, we need to segment the triangles and make them sortable

Ngày đăng: 02/03/2024, 13:59

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN