openFrameworks Essentials

Create stunning, interactive openFrameworks-based applications with this fast-paced guide
Preview in Mapt

openFrameworks Essentials

Denis Perevalov, Igor Tatarnikov

1 customer reviews
Create stunning, interactive openFrameworks-based applications with this fast-paced guide
Mapt Subscription
FREE
$29.99/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$16.80
$29.99
$29.99 p/m after trial
RRP $23.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


openFrameworks Essentials Book Cover
openFrameworks Essentials
$ 23.99
$ 16.80
Unity 2017 Game Development Essentials - Third Edition Book Cover
Unity 2017 Game Development Essentials - Third Edition
$ 39.99
$ 28.00
Buy 2 for $34.30
Save $29.68
Add to Cart

Book Details

ISBN 139781784396145
Paperback206 pages

Book Description

openFrameworks is a cross-platform programming toolkit and library to perform creative coding in C++. It contains all you need to efficiently implement real-time tasks, such as generating 2D and 3D graphics, processing video and sound, and using networking.

openFrameworks Essentials is a guide that can be used for learning and using openFrameworks to develop creative and artistic real-time applications. It is a fast-paced tutorial that begins with installing openFrameworks, and then takes a step-by-step approach towards using openFrameworks to build a video synthesizer project. We will investigate and implement features such as 2D and 3D graphics, GUI, shaders, reaction on sound, the OSC networking protocol, and the Arduino.

This book will empower you with the practical skills required to build creative apps and projects using openFrameworks.

Table of Contents

Chapter 1: Getting Started with openFrameworks
What is openFrameworks?
Installing openFrameworks
Running your first example
The video synthesizer application
Summary
Chapter 2: Creating Your First openFrameworks Project
Creating and running a new project
Discovering the project's code structure
Setting up the screen
Centering the coordinate system
A simple drawing
Geometric patterns
Summary
Chapter 3: Adding a GUI and Handling Keyboard Events
Creating a GUI using the ofxGui addon
Implementing a simple GUI panel with sliders
Implementing the autosave feature
Creating groups of controls
Implementing a checkbox, a color selector, and a 2D slider
Handling keyboard events
Implementing the matrix pattern generator
Summary
Chapter 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 video effect with a shader
Summary
Chapter 5: Creating 3D Graphics
Introduction to 3D graphics with openFrameworks
Drawing a wireframe sphere
Creating a camera
Drawing a solid sphere
Texturing the sphere
Mixing 2D and 3D with the GUI
Deforming a sphere
Summary
Chapter 6: Animating Parameters
Using time values for a parameter's automation
Using the level of sound for a parameter's automation
Capturing sound from a sound card's input and measuring its level
Reading data from a text file
Controlling automation
Summary
Chapter 7: Distributed and Physical Computing with Networking and Arduino
Distributed computing with networking
Networking in openFrameworks
Implementing the OSC messages receiver
Creating an OSC sender with openFrameworks
Creating OSC senders with TouchOSC, Python, and Max/MSP
Physical computing with Arduino
Programming an Arduino board
Summary
Chapter 8: Deploying the Project on iOS, Android, and Raspberry Pi
Running the project on an iOS device
Deploying the project on an iOS device
Running the project on an Android device
Running the project on Raspberry Pi
Summary
Chapter 9: Further Resources
Enhancing the video synthesizer project
Getting more information on openFrameworks
Debugging and speeding up your code
Summary

What You Will Learn

  • Install openFrameworks and create a new project
  • Generate 2D and 3D graphics
  • Mix images and videos and process them with shaders
  • Add GUI controls and adjust them from external devices and apps using the OSC protocol
  • Control parameters with a timer, Perlin noise, and sound and text files
  • Use the Arduino to control your application
  • Build a video synthesizer project
  • Run your project on iOS, Android, and Raspberry Pi devices

Authors

Table of Contents

Chapter 1: Getting Started with openFrameworks
What is openFrameworks?
Installing openFrameworks
Running your first example
The video synthesizer application
Summary
Chapter 2: Creating Your First openFrameworks Project
Creating and running a new project
Discovering the project's code structure
Setting up the screen
Centering the coordinate system
A simple drawing
Geometric patterns
Summary
Chapter 3: Adding a GUI and Handling Keyboard Events
Creating a GUI using the ofxGui addon
Implementing a simple GUI panel with sliders
Implementing the autosave feature
Creating groups of controls
Implementing a checkbox, a color selector, and a 2D slider
Handling keyboard events
Implementing the matrix pattern generator
Summary
Chapter 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 video effect with a shader
Summary
Chapter 5: Creating 3D Graphics
Introduction to 3D graphics with openFrameworks
Drawing a wireframe sphere
Creating a camera
Drawing a solid sphere
Texturing the sphere
Mixing 2D and 3D with the GUI
Deforming a sphere
Summary
Chapter 6: Animating Parameters
Using time values for a parameter's automation
Using the level of sound for a parameter's automation
Capturing sound from a sound card's input and measuring its level
Reading data from a text file
Controlling automation
Summary
Chapter 7: Distributed and Physical Computing with Networking and Arduino
Distributed computing with networking
Networking in openFrameworks
Implementing the OSC messages receiver
Creating an OSC sender with openFrameworks
Creating OSC senders with TouchOSC, Python, and Max/MSP
Physical computing with Arduino
Programming an Arduino board
Summary
Chapter 8: Deploying the Project on iOS, Android, and Raspberry Pi
Running the project on an iOS device
Deploying the project on an iOS device
Running the project on an Android device
Running the project on Raspberry Pi
Summary
Chapter 9: Further Resources
Enhancing the video synthesizer project
Getting more information on openFrameworks
Debugging and speeding up your code
Summary

Book Details

ISBN 139781784396145
Paperback206 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Mastering openFrameworks: Creative Coding Demystified Book Cover
Mastering openFrameworks: Creative Coding Demystified
$ 26.99
$ 18.90
Learning Android Intents Book Cover
Learning Android Intents
$ 26.99
$ 18.90
Cinder Creative Coding Cookbook Book Cover
Cinder Creative Coding Cookbook
$ 29.99
$ 21.00
Mastering Unity 5.x Book Cover
Mastering Unity 5.x
$ 39.99
$ 28.00
GLSL Essentials Book Cover
GLSL Essentials
$ 20.99
$ 14.70
OpenGL Development Cookbook Book Cover
OpenGL Development Cookbook
$ 29.99
$ 21.00