This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class Sequencer : MonoBehaviour { | |
/* | |
* Sequencer v0.3 | |
* This script allows to dynamically load numbered image sequences into a texture. | |
* The images must reside insie the "Assets/Resources" folder. | |
* path: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Frameworks ---------------------------------------- | |
Processing (Java) | |
http://processing.org | |
OpenFramewroks (C++) | |
http://openframeworks.cc | |
Cinder (C++) | |
http://libcinder.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# ------------------------------------------------------------------------------ | |
# Uses FFmpeg to create an H.264 encoded MPEG-4 movie at 30 fps from | |
# an image sequence; filesize/quality can be tuned with the second parameter. | |
# | |
# ------------------------------------------------------------------------------ | |
# Usage: | |
# > sh makemovie.sh imageFolder 20 | |
# - imageFolder is a folder containing the images | |
# - 20 is an optional constant rate factor value, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# ------------------------------------------------------------------------------ | |
# Uses ImageMagick to create an animated GIF from an image sequence and by using | |
# a common palette. | |
# Note: Providing a palette speeds up the encoding but can be disabled | |
# by removing the “remap” option. | |
# The resulting GIF is passed to “ImageOptim” for filesize reduction. | |
# Note: could eventually be replaced with Gifsicle or left out entirely. | |
# | |
# ------------------------------------------------------------------------------ |