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

Introduction computer graphics (p1) (đồ họa máy TÍNH SLIDE)

22 15 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 22
Dung lượng 11,1 MB

Nội dung

Introduction Computer Graphics Computer Graphics • Computer graphics deals with all aspects of creating images with a computer – – – Hardware Software Applications Basic Graphics System Input devices Output device Image formed in Frame Buffer Grahpics Areas User interaction Image processing Modeling Virtual reality 3D scanning Rendering Animation Visualization Computational photography The Programmer’s Interface • Programmer sees the graphics system through an interface: Application Programming Interface (API) Object Specification • Most APIs support a limited set of primitives including – – – – Points (1D object) Line segments (2D objects) Polygons (3D objects) Some curves and surfaces • • • Quadrics Parametric polynomial All are defined through locations in space or vertices Example type of object location of vertex glBegin(GL_POLYGON) glVertex3f(0.0, 0.0, 0.0); glVertex3f(0.0, 1.0, 0.0); glVertex3f(0.0, 0.0, 1.0); glEnd(); end of object definition Modeling Package Digital Content Creation Raster Graphics • Image produced as an array (the raster) of picture elements (pixels) in the frame buffer Rasterization 10 Let talk about pixels • • • Pixels are strored as a 1-dimensional array of ints Each in is formated arcording to Java's standard pixel model Layout of the pixel array on the display 11 Display Technologies CRT LCD 12 Evolution 16 Wire-Frame Shutterbug: Copyright 1990 Pixar - Rendered by Thomas Williams and H B Siegel using Pixar's RenderMan TM 17 Coloring Shutterbug: Copyright 1990 Pixar - Rendered by Thomas Williams and H B Siegel using Pixar's RenderMan TM 18 Hidden Surface Removal 19 Constant Rendering Shutterbug: Copyright 1990 Pixar - Rendered by Thomas Williams and H B Siegel using Pixar's RenderMan TM 20 Facet Shading Shutterbug: Copyright 1990 Pixar - Rendered by Thomas Williams and H B Siegel using Pixar's RenderMan TM 21 Smooth Shading Shutterbug: Copyright 1990 Pixar - Rendered by Thomas Williams and H B Siegel using Pixar's RenderMan TM 22 Correct Highlight Shutterbug: Copyright 1990 Pixar - Rendered by Thomas Williams and H B Siegel using Pixar's RenderMan TM 23 Texture & Shadow Shutterbug: Copyright 1990 Pixar - Rendered by Thomas Williams and H B Siegel using Pixar's RenderMan TM 24 Reflection Shutterbug: Copyright 1990 Pixar - Rendered by Thomas Williams and H B Siegel using Pixar's RenderMan TM 25 .. .Computer Graphics • Computer graphics deals with all aspects of creating images with a computer – – – Hardware Software Applications Basic Graphics System Input devices... Animation Visualization Computational photography The Programmer’s Interface • Programmer sees the graphics system through an interface: Application Programming Interface (API) Object Specification... glVertex3f(0.0, 0.0, 1.0); glEnd(); end of object definition Modeling Package Digital Content Creation Raster Graphics • Image produced as an array (the raster) of picture elements (pixels) in the frame buffer

Ngày đăng: 29/03/2021, 08:19

w