openFrameworks Essentials
eBook - ePub

openFrameworks Essentials

Denis Perevalov, Igor (Sodazot) Tatarnikov

Partager le livre
  1. 206 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

openFrameworks Essentials

Denis Perevalov, Igor (Sodazot) Tatarnikov

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que openFrameworks Essentials est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  openFrameworks Essentials par Denis Perevalov, Igor (Sodazot) Tatarnikov en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Computer Science et Computer Networking. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2015
ISBN
9781784396145

openFrameworks Essentials


Table of Contents

openFrameworks Essentials
Credits
Foreword
The pro goes ashore
The era of self-education
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Started with openFrameworks
What is openFrameworks?
Installing openFrameworks
The openFrameworks folder structure
Running your first example
The video synthesizer application
Three reasons to create your own video synthesizer with openFrameworks
Summary
2. Creating Your First openFrameworks Project
Creating and running a new project
Creating a project
Running a project
Discovering the project's code structure
Setting up the screen
Centering the coordinate system
A simple drawing
Setting drawing color
Drawing primitives
Geometric patterns
The stripe pattern
A stripe pattern made from parallel lines
Inserting the function declaration
Inserting the function definition
Inserting the function calling
A stripe pattern made from rotating lines
A stripe pattern made from rotating triangles
Summary
3. Adding a GUI and Handling Keyboard Events
Creating a GUI using the ofxGui addon
Implementing a simple GUI panel with sliders
Using the sliders' values
Implementing the autosave feature
Creating groups of controls
Using the sliders' values
Implementing a checkbox, a color selector, and a 2D slider
Using the controls' values
Experimenting with the project
Handling keyboard events
Hiding the GUI
Saving a screenshot
Saving a preset using the system save dialog
Loading a preset using the system load dialog
Implementing the matrix pattern generator
Using the sliders' values
Experimenting with the matrix pattern generator
Summary
4. Working with Raster Graphics – Images, Videos, and Shaders
Raster images in openFrameworks
Drawing an image file
Playing a video file
Grabbing a live video from a camera
Mixing layers using additive blending
Creating the mixer's GUI
Implementing the mixer's functionality
Creating the video effect with a shader
Redirecting drawing to the offscreen buffer
Drawing the offscreen buffer contents and enabling smoothing
Implementing the kaleidoscope effect
Creating the fragment shader
How it works
Creating the vertex shader
Using created shaders in the project
Summary
5. Creating 3D Graphics
Introduction to 3D graphics with openFrameworks
openFrameworks classes for surface representation
Drawing a wireframe sphere
Creating a camera
Controlling the camera with a mouse
Disabling mouse control for the camera when the GUI is visible
Camera automation
Drawing a solid sphere
The things needed for shading the surface
Drawing a solid sphere with shading
Texturing the sphere
Preparing a texture
Setting texture coordinates
Activating texturing
Mixing 2D and 3D with the GUI
Deforming a sphere
Deforming by formulas
Extruding the sphere
Summary
6. Animating Parameters
Using time values for a parameter's automation
Implementing a simple LFO
Implementing a pseudorandom LFO with Perlin noise
Using the level of sound for a parameter's automation
Playing and analyzing an audio file
Getting the level of a sound signal
Capturing sound from a sound card's input and measuring its level
Reading data from a text file
Controlling automation
Summary
7. Distributed and Physical Computing with Networking and Arduino
Distributed computing with networking
Networking in openFrameworks
The ofxNetwork addon
The ofxOsc addon
Implementing the OSC messages receiver
Creating an OSC sender with openFrameworks
Sending OSC messages between two separate computers
Connection troubleshooting
Creating OSC senders with TouchOSC, Python, and Max/MSP
Creating an OSC sender for a mobile device using the TouchOSC app
Creating an OSC sender with Python
Creating an OSC sender with Max/MSP
Physical computing with Arduino
Programming an Arduino board
Receiving data from Arduino in the openFrameworks project
Connection troubleshooting
Connecting more devices
Summary
8. Deploying the Project on iOS, Android, and Raspberry Pi
Running the project on an iOS device
Implementing video synthesizer for iOS
Building a project for iPad
Deploying the project on an iOS device
Using accelerometer
Running the project on an Android device
Installing s...

Table des matiĂšres