E D R , A S I H C RSS

OpenGL스터디


skyLibrary_inclue

1. < 1>. openGL기

Intro
? openGL . openGL .
openGL superbible 3 + openGL Game programming . openGL superbible 5 ,
.

1.1. Chapter 1.OpenGL 3D그

  • openGL ? .

1.1.1. (popping)

  • : 2 3 .

: example :         .          . 

3 . 고 3 . .



popping1.png
[PNG image (11.89 KB)]



poping3.png
[PNG image (10.91 KB)]


1.1.2. & (render)

  • : 3 (2) (render) .

1.1.3.

2. 3D게 3 . 2 3 . 그 게 2 3 까? . . 3 .
.

1.1.4. ,그

3 . . 고, 3 .

texture.png
[PNG image (12.08 KB)]

1.1.5.

() . ()
. . '''
. , , '''
.


1.1.6.

(blending) . .
(과).

1.1.7.

기계 ( ) . 1011001과 ,
. 고, . 그
.(
.) 그 .
.




antialiasing.png
[PNG image (13.94 KB)]




1.1.8. 간 3D & 간 3D

  • 간 3D . , 게 .
  • 간 3D 3D . . 고 3D 고 구 , 3D .

1.1.9. ()

간 3D 그 API .
  • , api API () . 과 그 (scene graph) .
  • , 그 . API . 고, , .

1.1.10.

  • 계( 계) . . .

1.1.11. (viewport) (clipping)

  • , openGL , openGL .

:
example)   (0.0) ~   (100,100)        (50,50) 
.   (0,0)  x과 y + -  . 
  • , 0,0 . , . , , .

1.1.12.

  • 교 기 projection() . , 2 . .
  • .




farprojection.png
[PNG image (14.54 KB)]


1.2. Chapter 2. openGL


  • openGL . 그 & . , OpenGL API.

1.2.1. OpenGL



  • openGL 기계 .


  • openGL , . () . Mac 각각 고 간 .


  • openGL .

: ( ) . - from < 과>


.



  • openGL ? . GDI(graphic Device Interface) .



  • openGL GDI게 구 . GDI .


1.2.2. openGL



  • openGL . .



  • openGL . openGL 고 개 각 그 openGL 고 그 , .



  • openGL . 고 .

1.2.3.


  • .

pipeLine2.png
[PNG image (16.11 KB)]


  • 1. openGL .(vertex .)



  • 2. 그 , vertex , . , , () .



  • 3. 그 ( 계) , , .



  • 4. , .

1.2.4.


  • openGL . .(각 .)


  • openGL naming convention() . .


<openGL > <> < c > < >
GLbyte 8 signed char b
GLshort 16 short s
GLint, GLsizei 32 long l
GLfloat, GLclampf 32 float f
GLdouble, GLclampd 64 double d
GLubyte, GLboolean 8 unsigned char ub
GLushort 16 unsigned short us
GLuint, GLenum, GLbitfield 32 unsigned long ui


  • openGL GL .

  • size .

  • clamp 0.0 1.0 .

  • enum boolean .

  • bitfield . openGL 기계 .

1.2.5.


  • : < >< ><() ><() >

  • .

  • glColor3f(GLfloat a, GLfloat b, GLfloat c); ----> , gl Color float 3개 . .

  • () . , glColor() .

  • : openGl float .
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:23:55
Processing time 0.0839 sec