The following 106 words could not be found in the dictionary of 615 words (including 615 LocalSpellingWords) and are highlighted below:

accordingly   accumulation   all   an   and   area   arguments   art   assignment   associated   available   be   bottom   bottome   buffer   buffered   buffering   by   called   can   canvas   changes   color   commnad   coordinates   creates   current   depth   describe   Display   double   example   far   Finally   for   from   full   generative   given   gl   glut   height   if   in   index   indicate   Int   int   Kim   Ldouble   left   matrix   means   measured   Min   mode   Mode   model   multiplies   near   needs   of   on   or   origin   Ortho   orthographic   parallel   parameters   pixels   reshape   right   routine   screen   shy   single   size   space   specifies   specify   stencil   that   The   the   Therefore   this   This   to   top   unsigned   use   using   viewing   viewport   Viewport   volume   want   we   whether   width   window   with   within   You   you   Young  

    YoungMinKim/assignment 1 - generative art

YoungMinKim/assignment 1 - generative art에 대해 써주세요.

1.

2. glutIntDisplayMode(unsigned int mode) specifies whether to use an RGBA or color-index color model. You can also specify whether you want a single- or double- buffered window. Finally, you can use this routine to indicate that you want the window to have an associated depth, stencil, and/or accumulation buffer.

GLUT_DOUBLE means that you are using a window with double buffering. GLUT_RGB specifies that you want RGBA color model for the window.

3. ===glOrtho( 0., 1., 0., 1., -1., 1. );=== glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near, GLdouble far) creates a matrix for an orthographic parallel viewing volume and multiplies the current matrix by it. The given parameters specifies that the space has coordinates from left to right to be 0 to 1, and from bottome to top to be 0 to 1 and from near to far to be -1 to 1.

===glViewport( 0, 0, w, h );=== The arguments for glViewport() describe the origin of the available screen space within the window-(0,0) in this example-and the width and height of the available screen area, all measured in pixels on the screen. This is shy this commnad needs to be called within reshape(): if the window changes size, the viewport needs to change accordingly. Therefore we can use the full screen as a canvas.

Recent