openFrameworks Essentials
eBook - ePub

openFrameworks Essentials

Denis Perevalov, Igor (Sodazot) Tatarnikov

Buch teilen
  1. 206 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

openFrameworks Essentials

Denis Perevalov, Igor (Sodazot) Tatarnikov

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist openFrameworks Essentials als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu openFrameworks Essentials von Denis Perevalov, Igor (Sodazot) Tatarnikov im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Computer Science & Computer Networking. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

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

Inhaltsverzeichnis