Skip to content

Commit

Permalink
Adding licence and a little bit of readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Gingold committed Apr 18, 2013
1 parent b1d0e5d commit 83afd9e
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 14 deletions.
32 changes: 32 additions & 0 deletions LICENCE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/*
* ofxBezierWarp
*
* Copyright 2013 (c) Matthew Gingold http://gingold.com.au
* Adapted from: http://forum.openframeworks.cc/index.php/topic,4002.0.html
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
*
* If you're using this software for something cool consider sending
* me an email to let me know about your project: [email protected]
*
*/
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
ofxBezierWarp
=============

ofxBezierWarp
Performs a warp using openGL bezier surfaces on anything you care to distort/undistort.

Syntax is much like an FBO, with an allocate, begin, end, draw style interface.

It's pretty fast.

Code was adapted from the method described here: http://forum.openframeworks.cc/index.php/topic,4002.0.html
39 changes: 32 additions & 7 deletions src/ofxBezierWarp.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,35 @@
//
// ofxBezierWarp.cpp
// emptyExample
//
// Created by game over on 7/03/13.
// Copyright (c) 2013 trace media. All rights reserved.
//
/*
* ofxBezierWarp.cpp
*
* Copyright 2013 (c) Matthew Gingold http://gingold.com.au
* Adapted from: http://forum.openframeworks.cc/index.php/topic,4002.0.html
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
*
* If you're using this software for something cool consider sending
* me an email to let me know about your project: [email protected]
*
*/

#include "ofxBezierWarp.h"

Expand Down
38 changes: 32 additions & 6 deletions src/ofxBezierWarp.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,35 @@
//
// ofxBezierWarp.h
//
// Created by game over on 7/03/13.
// Copyright (c) 2013 trace media. All rights reserved.
//
/*
* ofxBezierWarp.h
*
* Copyright 2013 (c) Matthew Gingold http://gingold.com.au
* Adapted from: http://forum.openframeworks.cc/index.php/topic,4002.0.html
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*
*
* If you're using this software for something cool consider sending
* me an email to let me know about your project: [email protected]
*
*/

#ifndef _H_OFXBEZIERWARP
#define _H_OFXBEZIERWARP
Expand Down

0 comments on commit 83afd9e

Please sign in to comment.