2012年4月22日 星期日

[Processing] couldn t find any capture devices

使用processing來執行webcam時
若是遇到couldn t find any capture devices的error
可能是因為下列原因(擷取網路)
If you are not using an Apple computer, you will also need a VDIG, a video driver that translates from your hardware to the video functions used by QuickTime. This software may be included in the software provided by the maker of your hardware, or you can download the free VDIG available

此時安裝WinVDIG_101.exe即可解決

2012年4月11日 星期三

[Artist] Stefanie Wuschitz

官方網站:http://grenzartikel.com/
VIMEO:https://vimeo.com/user585475
女性實驗室:http://www.mzbaltazarslaboratory.org/blogDE/

思考如何改變並掌握自己的人生
可從科技、經濟、政治著手,但這些大部分掌握在男性手中
於是 Stefanie Wuschitz決定自己開始學習關於科技的部分


2012年4月8日 星期日

[oF] Tutorials - Chapter 1 - Getting Started

以下參考http://www.openframeworks.cc/tutorials/introduction/001_chapter1.html

1.開啟code blocks
2.file→open→openFrameWorks資料夾中的\apps\examples\graphicsExample.cbp   (cbp為code block的專案副檔名)




3.build檔案並run執行







4.執行結果












5.如果出現warning
mingw32-g++.exe: ../../../libs/openFrameworksCompiled/lib/win_cb/openFrameworks.lib: No such file or directory
直接開啟\apps\examples\中的graphicsExample.workspace  build過一次即可

[oF] 使用code blocks運行openFrameworks

1.下載code blocks
http://www.codeblocks.org/downloads

2.安裝openFrameworks的libray到code blocks
http://www.openframeworks.cc/setup/codeblocks/

    a)下載codeblocks_additions.zip(http://www.openframeworks.cc/content/files/codeblocks_additions.zip)
    b)下載完後,將add_to_codeblocks_mingw_include資料夾中的東西解壓縮到C:\Program Files\CodeBlocks\MinGW\include(或者自訂位置中的\MinGW\include)
    c)將add_to_codeblocks_mingw_lib資料夾中的東西解壓縮到C:\Program Files\CodeBlocks\MinGW\lib(或者自訂位置中的\mingw\lib)






3.下載openFrameWorks
http://www.openframeworks.cc/download/
將of_preRelease_v007_win_cb.zip解壓縮有幾個主要資料夾



addons
The "core" openFrameworks contains only the most essential functionality. Everything in the addons folder can be added to an application piecemeal. This includes stuff like reading an XML file, loading a 3D model, or using the computer vision library, openCV.
apps
This is where the applications that you make will be stored, and where you will be working most of the time. You will notice that there are already 2 folders in "apps": "examples" and "addonExamples".
libs
This folder contains all the libraries that openFramworks uses as well as the oF core.








2012年4月6日 星期五

追求的無非是

就算活到了二十五歲
就算認為自己已經可以獨立自主
卻還是會像個孩子般
努力了卻沒被父母稱讚而感到難過
即使知道努力是為了自己,亦然

從小到大
我不斷地聽到
「你為什麼跟別人不一樣?」

我想知道答案
也想知道為什麼會有這個問題

「為什麼我不能跟別人不一樣?」
「為什麼要我跟大家一樣?」

所謂的「大家」又是個什麼樣?

2012年3月29日 星期四

[Processing] play movie

使用processing時,若要播放影片,必須import video的library,檔案格式可為mov或mp4
http://processing.org/reference/libraries/video/index.html

下列使用官方提供程式碼


import processing.video.*;  //匯入video library
Movie myMovie;              //定義myMovie變數為Movie型態

void setup() {
  size(200, 200);           
//設定視窗尺寸為寬200,高200,若compile出現error(arrayoutofboundsexception),請將size(200,200)改為size(200,200,P2D)

  myMovie = new Movie(this, "totoro.mov");  //讀取影片檔
  myMovie.loop();
}


void draw() {
  image(myMovie, 0, 0);
}

// Called every time a new frame is available to read
void movieEvent(Movie m) {
  m.read();
}

2012年2月28日 星期二

[Life] 四年一次的二月倒數第二天

也許我所想做的
並不一定會被稱作藝術
而我只想忠於自己的感受去創作