안드로이드 Platform : Porting / Devices / Source / CTS / TV / GMS 
Graphics pipeline (OpenGL State)
작성자
작성일 2008-03-03 (월) 11:51
ㆍ추천: 0  ㆍ조회: 3298      
IP: 221.xxx.120
첨부#1 opengl_state.pdf (55KB) (Down:762)
Stages of the graphics pipeline

Modeling transformation

In this stage the 3D geometry provided as input is established in what is known as 3D world space—a conceptual orientation and arrangement in 3D space. This could include transformations on the local object space of geometric primitives such as translation and rotation.

Per-vertex lighting

For more details on this topic, see Vertex shader.
Geometry in the complete 3D scene is lit according to the defined locations of light sources and reflectance and other surface properties. Current hardware implementations of the graphics pipeline compute lighting only at the vertices of the polygons being rendered. The lighting values between vertices are then interpolated during rasterization. Per-fragment (ie. per-pixel) lighting can be done on modern graphics hardware as a post-rasterization process by means of a shader program.

Viewing transformation

For more details on this topic, see Geometry shader.
Objects are transformed from 3D world space coordinates into a 3D coordinate system based on the position and orientation of a virtual camera. This results in the original 3D scene as seen from the camera’s point of view, defined in what is called eye space or camera space.

Projection transformation

For more details on this topic, see Pixel shader.
In this stage of the graphics pipeline, geometry is transformed from the eye space of the rendering camera into 2D image space, mapping the 3D scene onto a plane as seen from the virtual camera.

Clipping

For more details on this topic, see Clipping (computer graphics).
Geometric primitives that now fall outside of the viewing frustum will not be visible and are discarded at this stage. Clipping is not necessary to achieve a correct image output, but it accelerates the rendering process by eliminating the unneeded rasterization and post-processing on primitives that will not appear anyway.

Texturing, fragment shading

For more details on this topic, see Texture mapping unit.
At this stage of the pipeline individual fragments (or pre-pixels) are assigned a color based on values interpolated from the vertices during rasterization or from a texture in memory.

Scan conversion or rasterization

For more details on this topic, see Render Output unit.
Rasterization is the process by which the 2D image space representation of the scene is converted into raster format and the correct resulting pixel values are determined.

Display

The final colored pixels can then be displayed on a computer monitor or other display.
 
OpenGL State (첨부파일 참고)
 
덧글 쓰기 0
3500
※ 회원등급 레벨 0 이상 읽기가 가능한 게시판입니다.
    N     분류     제목    글쓴이 작성일 조회
481 안드로이드 Native Library 개요 2008-03-03 16149
480 자하랑 - 안드로이드 PXA270 포팅노트 2008-03-03 8090
479 Android System Library 개요 2008-03-03 6667
478 Description of Core Libraries 2008-03-03 3342
477 LibWebCore : Webkit 2008-03-03 3278
476 Webkit (SDK M5 관련 변경) 2008-03-03 2697
475 Android WebKit Build Script 2008-03-03 5243
474 WebKit Build Note 2008-03-03 3273
473 Ten New Things in WebKit 3 2008-03-03 4118
472 SGL : Scalable Graphics Library for 2D 2008-03-03 4563
471 Skia 관련 Header File/Func. 목록 2008-03-03 3775
470 Handheld Embedded Linux System 2008-03-03 2169
469 Graphic 관련 Kernel Config 2008-03-03 3152
468 The Skia Source Code Dilemma 2008-03-03 3798
467 Graphics pipeline (OpenGL State) 2008-03-03 3298
466 Media Libraries 2008-03-03 3220
12345678910,,,31