tailieunhanh - Bài giảng Các giải thuật sinh các thực thể cơ sở - Lê Tấn Hùng

Bài giảng "Các giải thuật sinh các thực thể cơ sở" do Lê Tấn Hùng biên soạn cung cấp cho người học các kiến thức: The Rendering Pipeline - 3D, phép biến đổi Transformation, Rendering - Transformations, rời rạc hóa điểm ảnh, thuật toán DDA, giải thuật Bresenham, giải thuật trung điểm-Midpoint,. nội dung chi tiết. | Le Tan Hung hunglt@ O9l3o3O731 Các giải thuật sinh các thực thê cơ sở The Rendering Pipeline 3-D Q Scene graph ject geometry Modeling I Transforms I Các điểm của hệ thống tọa độ 3D thế giới thực Lighting alculations Viewing I ransform Clipping Projection Transform Các điểm bóng theo mô hình chiếu sáng Các điểm trong mô hình hệ tọa độ Camera hay tọa độ điểm nhìn Các tọa độ điểm của vùng hình chóp cụt với điểm nhìn xác định -Điểm 2-D theo tọa độ màn hình sau phép chiếu được xén tỉa Pipeline Framebuffer 3-D Display Phép biến đổi Transformations screen space- không gian màn hình model space Không gian mô hình . object space or world space 3 loại phép biến đổi - Modeling transforms - Viewing transforms - Projection transforms Rendering Transformations Rendering Transformations Modeling transforms - Size place scale and rotate objects parts of the model . each other - Object coordinates world coordinates Viewing transform - Rotate translate the world to lie directly in front of the camera Typically place camera at origin Typically looking down -Z axis - World coordinates view coordinates 1 Rendering Transformations Multiply matrices concatenate transforms All these transformations involve shifting coordinate systems . basis sets Oh yeah that s what matrices do. Represent coordinates as vectors transforms as matrices .1 r y J sin e cos e II Y e -sin e r Rendering Transformations Why To handle translation and projection Homogeneous coordinates represent coordinates in 3 dimensions with a 4-vector - Denoted x y z w T Note that w 1 in model coordinates - To get 3-D coordinates divide by w x y z T x w y w z w T Transformations are 4x4 matrices The Rendering Pipeline 3-D Result All vertices of scene in shared 3-D world coordinate system Vertices shaded according to lighting model Scene vertices in 3-D view or camera coordinate system Exactly those vertices Ẳ portions of polygons in view frustum Clipping 2-D screen coordinates of clipped vertices .

crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.