Stretching would be the texture mapping process.
Glvertex2f gltexcoord2f rubber sheet.
Lections on openframeworks and interactive multimedia.
Multiple sheets of paper placed on a desk with projected graphics figure 2 16.
We will discuss art graphics sound computer vision opencv osc and arduino all in connection to openframeworks with many examples.
0 0f is the left side of the texture.
Preliminaries vectors and vector products.
The lower left corner not the pixel of the texture is at 0 0 the upper right corner is at 1 1.
When drawing a triangle to the screen the exact position on screen doesn t matter the texture rubber sheet is cut out according to the texture coordinates and stretched onto the triangle as specified by the texture coordinates.
2d graphics free download as pdf file pdf text file txt or view presentation slides online.
Issuu is a digital publishing platform that makes it simple to publish magazines catalogs newspapers books and more online.
0 5f is the middle of the texture and 1 0f is the right side of the texture.
0 5f is the middle of the texture and 1 0f is the top of the texture.
The second value of gltexcoord2f is the y coordinate.
Lections on open frameworks free ebook download as pdf file pdf text file txt or view presentation slides online.
Easily share your publications and get them in front of issuu s.
1 evaluates conditional expressions 3dborder 3 draw borders with three dimensional appearance a2ps 1 format files for printing on a postscript printer a64l 3 conver.
Lection on 2d graphics in openframeworks drawing images transparency offscreen buffer.
Generative art creative coding.
A bitmap of each sheet is extracted from the camera image thresholded and used to identify the sheet without the use of glyphs by comparing it to the appearance of known sheets.
319 319 320 325 329.
Imagine that sheet of paper was made of rubber so that you could stretch it.
Sheets can be augmented with literal functionality or magical functionality.
Get a second piece of transparent paper and try to align them so.
A 1 a 2 a 3 a 4.
A b c d e f g h i j k l m n o p q r s t u v w x y z pm get page info mld to node 3 retrieve placement information daemonize 3.
Think textures as being rubber sheets.
0 0f is the bottom of the texture.