售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Cinder Creative Coding Cookbook
Table of Contents
Cinder Creative Coding Cookbook
Credits
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
Errata
Piracy
Questions
1. Getting Started
Introduction
Creating a project for a basic application
Getting ready
How to do it…
How it works...
There's more...
Creating a project for a screensaver application
Getting ready
How to do it…
How it works...
Creating a project for an iOS touch application
Getting ready
How to do it…
How it works...
Understanding the basic structure of an application
Getting ready
How to do it…
How it works...
There's more...
See also
Responding to mouse input
Getting ready
How to do it…
How it works
There's more...
Responding to key input
Getting ready
How to do it…
How it works…
There's more...
Responding to touch input
Getting ready
How to do it…
How it works…
There's more...
Accessing files dropped onto the application window
Getting ready
How to do it…
How it works…
There's more…
Adjusting a scene after resizing the window
Getting ready
How to do it…
How it works…
Using resources on Windows
Getting ready
How to do it…
How it works...
There's more...
Using resources on iOS and OS X
Getting ready
How to do it…
How it works...
There's more...
Using assets
Getting ready
How to do it…
How it works…
There's more…
2. Preparing for Development
Introduction
Setting up a GUI for tweaking parameters
Getting ready
How to do it…
How it works...
There's more...
Buttons
Panel position
See also
SimpleGUI
ciUI
AntTweakBar
Saving and loading configurations
Getting ready
How to do it...
How it works...
See also
Cinder-Config
Making a snapshot of the current parameter state
Getting ready
How to do it...
How it works...
Using MayaCamUI
Getting ready
How to do it...
How it works...
Using 3D space guides
Getting ready
How to do it...
How it works...
Communicating with other software
Getting ready
How to do it...
Sender
Listener
How it works...
There's more...
Broadcast
See also
OSC in Flash
OSC in Processing
OSC in openFrameworks
OpenSoundControl Protocol
Preparing your application for iOS
Getting ready
How to do it...
See also
Apple Developer Center
3. Using Image Processing Techniques
Introduction
Transforming image contrast and brightness
Getting ready
How to do it...
How it works...
Integrating with OpenCV
Getting ready
How to do it…
How it works…
There's more…
Detecting edges
Getting ready
How to do it…
How it works…
There's more…
Detecting faces
Getting ready
How to do it…
How it works…
There's more…
Detecting features in an image
Getting ready
How to do it…
How it works…
There's more…
If images match
Other possibilities
See also
Converting images to vector graphics
Getting started
How to do it…
How it works…
See also
4. Using Multimedia Content
Introduction
Loading and displaying video
Getting ready
How to do it…
How it works…
There's more
Creating a simple video controller
Getting ready
How to do it…
How it works…
Saving window content as an image
How to do it…
How it works…
There's more...
Saving window animation as image sequences
Recording sound visualization
Saving window animations as video
Getting ready
How to do it…
How it works…
There's more...
Saving window content as a vector graphics image
Getting ready
How to do it…
How it works…
There's more...
Saving high resolution images with the tile renderer
Getting ready
How to do it...
How it works…
Sharing graphics between applications
Getting ready
How to do it…
How it works…
There's more...
Receiving graphics from other applications
5. Building Particle Systems
Introduction
Creating a particle system in 2D
Getting ready
How to do it…
How it works...
There's more...
See also
Applying repulsion and attraction forces
Getting ready
How to do it…
How it works…
Simulating particles flying in the wind
Getting ready
How to do it…
How it works…
See also
Simulating flocking behavior
Getting ready
How to do it…
How it works…
See also
Making our particles sound reactive
Getting ready
How to do it…
How it works…
See also
Aligning particles to a processed image
Getting ready
How to do it…
How it works…
See also
Aligning particles to the mesh surface
Getting ready
How to do it…
How it works…
Creating springs
Getting ready
How to do it…
How it works…
There's more…
6. Rendering and Texturing Particle Systems
Introduction
Texturing particles
Getting started
How to do it…
How it works…
See also
Adding a tail to our particles
Getting started
How to do it…
Drawing history
Tail as a line
How it works…
Drawing history
Tail as a line
Creating a cloth simulation
Getting Ready
How to do it…
How it works…
There's more…
Texturing a cloth simulation
Getting ready
How to do it…
How it works…
Texturing a particle system using point sprites and shaders
Getting ready
How to do it...
How it works…
There's more…
Connecting the dots
Getting started
How to do it…
How it works…
Connecting particles with spline
Getting started
How to do it…
How it works…
See also
7. Using 2D Graphics
Drawing 2D geometric primitives
Getting ready
How to do it…
How it works…
There's more…
Drawing arbitrary shapes with the mouse
Getting ready
How to do it…
How it works…
There's more…
Implementing a scribbler algorithm
How to do it…
How it works…
Implementing 2D metaballs
Getting ready
How to do it…
How it works…
See also
Animating text around curves
Getting ready
How to do it…
Adding a blur effect
Getting ready
How to do it…
How it works…
Implementing a force-directed graph
Getting ready
How to do it…
How it works…
See also
8. Using 3D Graphics
Introduction
Drawing 3D geometric primitives
Getting ready
How to do it…
How it works…
See also
Rotating, scaling, and translating
Getting ready
How to do it…
How it works…
Drawing to an offscreen canvas
Getting ready
How to do it…
How it works…
See also
Drawing in 3D with the mouse
Getting ready
How to do it…
How it works…
See also
Adding lights
Getting ready
How to do it…
How it works…
There's more…
See also
Picking in 3D
Getting ready
How to do it…
How it works…
Creating a height map from an image
Getting ready
How to do it…
How it works…
Creating a terrain with Perlin noise
Getting ready
How to do it…
How it works…
There's more…
Saving mesh data
Getting ready
How to do it…
How it works…
9. Adding Animation
Animating with the timeline
Getting ready
How to do it…
How it works…
There's more…
See also
Creating animation sequences with the timeline
Getting ready
How to do it…
How it works…
There's more…
Animating along a path
Getting ready
How to do it…
How it works…
See also
Aligning camera motion to a path
Getting ready
How to do it…
How it works…
See also
Animating text – text as a mask for a movie
Getting ready
How to do it…
How it works…
Animating text – scrolling text lines
How to do it…
How it works…
Creating a flow field with Perlin noise
Getting ready
How to do it…
How it works…
Creating an image gallery in 3D
Getting ready
How to do it…
How it works…
Creating a spherical flow field with Perlin noise
Getting ready
How to do it…
How it works...
See also
10. Interacting with the User
Introduction
Creating an interactive object that responds to the mouse
Getting ready
How to do it…
How it works…
Adding mouse events to our interactive object
Getting ready
How to do it…
How it works…
There's more…
Creating a slider
Getting ready
How to do it…
How it works…
See also
Creating a responsive text box
Getting ready
How to do it…
How it works…
Dragging, scaling, and rotating objects using multi-touch
Getting ready
How to do it…
How it works…
There is more…
11. Sensing and Tracking Input from the Camera
Capturing from the camera
Getting ready
How to do it…
How it works…
There's more…
Tracking an object based on color
Getting ready
How to do it…
How it works…
See also
Tracking motion using optical flow
Getting ready
How to do it…
How it works…
There's more…
Object tracking
Getting ready
How to do it…
How it works…
There's more…
Reading QR code
Getting ready
How to do it…
How it works…
Building UI navigation and gesture recognition with Kinect
Getting ready
How to do it…
How it works…
Building an augmented reality with Kinect
Getting ready
How to do it…
How it works…
12. Using Audio Input and Output
Generating a sine oscillator
Getting ready
How to do it…
How it works…
Generating sound with frequency modulation
Getting ready
How to do it…
How it works…
Adding a delay effect
Getting ready
How to do it…
How it works...
Generating sound upon the collision of objects
Getting ready
How to do it…
How it works…
Visualizing FFT
Getting ready
How to do it…
How it works…
Making sound-reactive particles
Getting ready
How to do it…
How it works…
There's more…
Adding GUI to tweak parameters
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜