Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
18Activity
0 of .
Results for:
No results containing your search query
P. 1
OpenFrameworks lection: 2d graphics

OpenFrameworks lection: 2d graphics

Ratings: (0)|Views: 11,439|Likes:
Published by Denis Perevalov
Lection on 2d graphics in openFrameworks, drawing images, transparency, offscreen buffer. Generative Art, Creative Coding.
Lection on 2d graphics in openFrameworks, drawing images, transparency, offscreen buffer. Generative Art, Creative Coding.

More info:

Published by: Denis Perevalov on Mar 25, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

10/01/2013

pdf

text

original

 
Lections on OpenFrameworks
Two-dimensional graphics
Denis Perevalovperevalovds@gmail.com
See in-depth details in my book
Book’s examples are free, see
 
Display Settings
in main.cpp:ofSetupOpenGL
(& Window, 1024,768, OF_WINDOW);1024, 768 -screen sizes, OF_WINDOW -output window.To display full screen in 1280x1024:
ofSetupOpenGL
(& Window, 1280,768,
OF_FULLSCREEN
);
 
Display Settings
Switching between full screen during the program (in the update ()):
ofSetFullscreen
(boolfullscreen)Example: by pressing the '1 '/ '2' -on / off full screen mode:
void testApp:: keyPressed(intkey)
{if (key == '1 ') {
ofSetFullscreen
(True);}if (key == '2 ') {
ofSetFullscreen
(False);}}

Activity (18)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Alvaro Montero liked this
Steele Xia liked this
Danilo Rodrigues liked this
Ashvini Sharma liked this
Antielectron Di liked this
Eric Gunther liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->