FLARToolKit, Away3D and about GPL License

Today we added FLARToolKit and Away3D, Away3DLite to our supported libraries, also updated Papervision3D to version: 2.1.932 .

example for FLARToolKit: FLARToolKit SimpleCube sample

print this marker: http://saqoosha.net/lab/FLARToolKit/flarlogo-marker.pdf and connect your webcam and try!

To make FLARToolkit work, you need 2 files.

1st is camera_para.dat, it's a camera calibration data ( I think, haven't fully read the source code yet ), and it's here: http://assets.wonderfl.net/static/flar/camera_para.dat
You possibly won't have to change this one.

2nd is the AR marker pattern data, for the above example, it's here: http://assets.wonderfl.net/static/flar/flarlogo.pat

For you to create your own original marker, you need to create the marker pattern data for it.
We're thinking about developing a place to upload your own marker pattern data, but none exists for now. Upload it somewhere or embed it in your code. It's a simple text file.

The above example uses PV3DARApp class as it's base class, it's a simple wrapper to use Papervision3D with FLARToolKit. Source code included in the downloadable library, FLARToolKit asdoc here, and also pasted at the end of this post.

see FLARToolKit's license here:
http://www.libspark.org/wiki/saqoosha/FLARToolKit/en#Thelicense

So, it's GPL, and you know GPL has both freedom and restrictions.
We added some features to not worry about casual GPL violation.
see: http://wonderfl.net/help#help_license for details.

---

本日、FLARToolKitとAway3D,Away3DLiteを、wonderflでサポートしているライブラリ一覧に追加いたしました。おまけにPapervision3Dをバージョン2.1.932にあげています。

FLARToolKitのコード例:
FLARToolKit SimpleCube sample

このマーカー:
http://saqoosha.net/lab/FLARToolKit/flarlogo-marker.pdf
を印刷し、webcamをつないでお試しください!

さて、FLARToolKitを動かすためには、2つのファイルが必要になります。

1つ目は、camera_para.dat これはカメラのキャリブレーション用データで(たぶん)、こちらにあります:
http://assets.wonderfl.net/static/flar/camera_para.dat
これは変更する必要が無いでしょう(たぶん)

2つ目は、flarlogo.pat これはマーカーのパターンデータです。上の例のパターンデータはこちらにあります:
http://assets.wonderfl.net/static/flar/flarlogo.pat

オリジナルのマーカーを作成する場合には、このマーカーパターンデータを作成することになるでしょう。
wonderflでは、このデータをアップロードできる場所をつくるか検討しておりますが、現在は存在しておりませんので、どこか自前のサーバにアップするか、コードに埋め込んでもよいでしょう。開いてみればわかりますが、シンプルなテキストデータです。

上のコード例では、PV3DARAppクラスをベースクラスとしています。PV3DARAppクラスは、Papervision3DとFLARToolKitを組み合わせて使うためのシンプルなラッパークラスです。ソースコードはライブラリ一覧からダウンロードできるほか、FLARToolKitのasdocと、このブログポストの最後にも乗せましたので御覧ください。

FLARToolKitのライセンスはこちらです:
http://www.libspark.org/wiki/saqoosha/FLARToolKit/en#Thelicense

wonderflでは、GPLライセンスとしてご利用いただけます。
ご存知のように、GPLライセンスは、自由とともに制限があります。
GPLライセンスに関連して、気軽にGPL違反を行ってしまわないように、コードの保存やライセンス変更に関して変更を行っています。
詳しくはこちらを御覧ください。

---

PV3DARApp Class:
Licensed under GPLv3.