forked from: FLARToolKit Sample Simple_PV3D

[コップの重さをメーターで表示する試み]
水を入れた量に応じて、メータの表示が変化する
＊コップの重さは、コップ下においた感圧センサ(SFE-SEN-09376(Switch Science))の抵抗値を
japanino(Funnel Server)経由で取得し、その値を元に計算。
＊メータは、FLARToolKitを使用して、コップを囲むように描画。
また、コップ形状にあわせた3Dオプジェクトを用意、blendMode.ERASEを使って、メータと重なった部分の
アルファ値を下げる。(コップの背後に回った部分を薄く描画することで、実際にある感じが出るよう試みた)
＊動作のイメージは( http://wonderfl.net/c/xsMi )
→なんか、フレームレートがすごく遅い。
→この感圧センサで500g以下の重さを測るのは、誤差が大きくて、あまりうまく行かなかった。
FLARToolKit Sample - Simple cube PV3D
* --------------------------------------------------------------------------------
* Copyright (C)2010 rokubou
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* 
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU Gene