openFrameworks Essentials
eBook - ePub

openFrameworks Essentials

Denis Perevalov, Igor (Sodazot) Tatarnikov

Condividi libro
  1. 206 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

openFrameworks Essentials

Denis Perevalov, Igor (Sodazot) Tatarnikov

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
openFrameworks Essentials è disponibile online in formato PDF/ePub?
Sì, puoi accedere a openFrameworks Essentials di Denis Perevalov, Igor (Sodazot) Tatarnikov in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Computer Science e Computer Networking. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
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...

Indice dei contenuti