Archive for the ‘FLARToolKit’ Category

FLARCodeImage:Utility for FLARToolKit

Tuesday, February 3rd, 2009

example that using FLARCodeImage

I made a utility class for FLARToolKit.
FLARCodeImage is a child of Sprite.

This class makes FLARCode an image. And, you can use it as a substitute of the marker.

How to use

  1. Create a instannce of FLARCode and load .pat file.
    1
    2
    3
    4
    5
    6
    
    [Embed(source = "assets/patt.hiro", mimeType = "application/octet-stream")]private var CodeData:Class;
    //...
     
    var code:FLARCode = new FLARCode(16, 16);
    var codeFile:ByteArray = new CodeData() as ByteArray;
    code.loadARPatt(codeFile.readMultiByte(codeFile.length, "shift-jis"));
  2. Create a instance of FLARCodeImage.
    1
    
    var codeImg:FLARCodeImage = new FLARCodeImage(code, 300, 300);
  3. Create a instance of MovieMaterial(Papervision3D’s material classs), and create a instance of Plane using it as material.
    1
    2
    3
    4
    
    var mat:TriangleMaterial = new MovieMaterial(codeImg);
    mat.doubleSided = true;
    var plane:Plane = new Plane(mat, 300, 300, 4, 4);
    this._modelView = new PV3DPanel(this.stage.stageWidth, this.stage.stageHeight, plane);
  4. Use its image as a input for FLARToolKit instead of WebCamera.

FLARToolKit and Papervision3D:coordinate axis

Wednesday, December 24th, 2008

I made FLARToolKit demo that researchs coordiante axis of FLARToolKit and Papervision3D.

(more…)

FLARToolKit demo “Saito-San” released!

Tuesday, December 16th, 2008

I made a FLARToolKit demo.
In this demo, I use Japanese very cute character “Saito-san” as Marker and appearing Image.

caution:You need a webcam to play this contents.

(more…)

FLARToolKit Panorama Photo Viewer

Monday, December 15th, 2008

FLARToolKit Panorama Photo Viewer is demo for FLARToolKit.
please put up the marker to the forehead when you execute this demo.

via:Waffing on Flickr – Photo Sharing!

caution:You need a webcam to play this contents.

(more…)

ARToolKit Marker Generator Online released!

Sunday, December 14th, 2008

UPDATED:new Marker Generator Online Released.

ARToolKit Marker Generator Online makes you create original marker for ARToolKit.

caution:You need a webcam to play this contents.

caution:Flash Player 10 or later is required.

(more…)