Skip to content

Instantly share code, notes, and snippets.

View elliotwoods's full-sized avatar

Elliot Woods elliotwoods

View GitHub Profile
@elliotwoods
elliotwoods / gist:2353289
Created April 10, 2012 18:02
errors in CB
||Warning: .drectve `-defaultlib:LIBCMT ' unrecognized|
||Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized|
||Warning: .drectve `-defaultlib:LIBCMT ' unrecognized|
||Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized|
||Warning: .drectve `-defaultlib:LIBCMT ' unrecognized|
||Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized|
||Warning: .drectve `-defaultlib:LIBCMT ' unrecognized|
||Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized|
||Warning: .drectve `-defaultlib:LIBCMT ' unrecognized|
||Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized|
@elliotwoods
elliotwoods / gist:2353303
Created April 10, 2012 18:05
CB full build log
-------------- Build: debug in openFrameworksLib ---------------
Target is up to date.
-------------- Build: debug in graphicsExample ---------------
Linking console executable: bin\graphicsExample_DEBUG.exe
Warning: .drectve `-defaultlib:LIBCMT ' unrecognized
Warning: .drectve `-defaultlib:OLDNAMES ' unrecognized
<html>
<head>
<title>graphicsExample build log</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
<body>
<tt>
Build started on: <u>10-04-2012 at 19:17.26</u><br />
Build ended on: <u>10-04-2012 at 19:18.54</u><p />
<b>-------------- Build: debug in openFrameworksLib ---------------</b><br />
mingw32-g++.exe -Wno-multichar -I..\..\..\glu\include -I..\..\..\freetype\include -I..\..\..\freetype\include\freetype2 -I..\..\..\FreeImage\include -I..\..\..\quicktime\include -I..\..\..\rtAudio\include -I..\..\..\fmodex\include -I..\..\..\videoInput\include -I..\..\..\glew\include -I..\..\..\glut\include -I..\..\..\cairo\include\cairo -I..\..\..\openFrameworks -I..\..\..\openFrameworks\app -I..\..\..\openFrameworks\events -I..\..\..\openFrameworks\graphics -I..\..\..\openFrameworks\utils -I..\..\..\openFrameworks\sound -I..\..\..\openFrameworks\video -I..\..\..\openFrameworks\communication -I..\..\..\openFrameworks\types -I..\..\..\openFrameworks\3d -I..\..\..\openFrameworks\gl -I.
@elliotwoods
elliotwoods / gist:2469513
Created April 23, 2012 08:27
Padé replacement function
// - - - - pade BEGIN - - - -
float coefficient(int iDimension, int iCoefficient)
{
int iRow, iColumn;
iRow = iDimension*2 + (iCoefficient/4);
iColumn = iCoefficient % 4;
return tV[iRow][iColumn];
@elliotwoods
elliotwoods / pade.fx
Created April 23, 2012 09:53
pade.fx
//
// PADE TEST
// coefficients are accepted through
// the view matrix input
// this allows for different pade's per projector
// Copyright 2010 Elliot Woods, Kimchi and Chips (South Korea)
// LICENCE
//
@elliotwoods
elliotwoods / gist:2551278
Created April 29, 2012 15:25
Errors in github on vvvv-sdk
kimchips@CHUO /c/vvvv/vvvv-sdk (develop)
$ git status
# On branch develop
# Your branch is ahead of 'origin/develop' by 627 commits.
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# "vvvv45/addonpack/lib/nodes/plugins/B\303\251zierSpline (Value) help.v4p
@elliotwoods
elliotwoods / gist:2562220
Created April 30, 2012 19:55
stack overflow on UnZip
[External Code]
> VVVV.Hosting.dll!VVVV.Hosting.IO.Streams.ValueConfigStream<int>.SetSlice(int index, int value) Line 157 + 0x8e bytes C#
VVVV.Hosting.dll!VVVV.Hosting.IO.Streams.PluginConfigStream<int>.Flush() Line 54 + 0x2f bytes C#
VVVV.PluginInterfaces.dll!VVVV.PluginInterfaces.V2.Spread<int>.Flush() Line 61 + 0xe bytes C#
VVVV.Hosting.dll!VVVV.Hosting.IO.SpreadRegistry..ctor.AnonymousMethod__c(VVVV.PluginInterfaces.V2.IDiffSpread s) Line 112 + 0x9 bytes C#
VVVV.Hosting.dll!VVVV.Hosting.IO.IOContainer<VVVV.Hosting.Pins.Config.ConfigPin<int>>.HandleFlushing(object sender, System.EventArgs args) Line 98 + 0x22 bytes C#
VVVV.Hosting.dll!VVVV.Hosting.IO.IOFactory.OnFlushing(System.EventArgs e) Line 89 + 0x1a bytes C#
VVVV.Hosting.dll!VVVV.Hosting.Factories.PluginContainer.VVVV.PluginInterfaces.V1.IPlugin.Evaluate(int spreadMax) Line 562 + 0x13 bytes C#
[External Code]
VVVV.Hosting.dll!VVVV.Hosting.IO.Streams.ValueConfigStream<int>.SetSlice(int index, int value) Line 157 + 0x8e bytes C#
actual folder contents:
load.png
load_all.png
save.png
save_all.png
zome_one.png
zoom_fit.png
zoom_in.png
zoom_out.png
@elliotwoods
elliotwoods / kinect depth threshold
Created May 29, 2012 15:13 — forked from mrboni/kinect depth threshold
basic hlsl shader used with 16bit depth texture from kinect as a way of thresholding
//@author: vvvv group
//@help: this is a very basic template. use it to start writing your own effects. if you want effects with lighting start from one of the GouraudXXXX or PhongXXXX effects
//@tags:
//@credits:
// --------------------------------------------------------------------------------------------------
// PARAMETERS:
// --------------------------------------------------------------------------------------------------
//transforms
@elliotwoods
elliotwoods / billboard.v4p
Created July 1, 2012 16:06
billboard a quad in the background of a 3d render in VVVV
<!DOCTYPE PATCH SYSTEM "C:\vvvv\vvvv-sdk\vvvv45\lib\45alpha28.dtd" >
<PATCH>
<NODE systemname="Quad (DX9)" nodename="Quad (DX9)" componentmode="Hidden" id="0">
<BOUNDS type="Node" left="1395" top="2805" width="9645" height="270">
</BOUNDS>
<PIN pinname="Layer" visible="1">
</PIN>
<PIN pinname="Transform" visible="1">
</PIN>
<PIN pinname="Render State" visible="1">