Saqoosha.net

  1. About
  2. Archives
  3. Search
  4. Say

手のひら式打ち上げ花火

涼しくなってきましたねえ、夏も終わりですよ。つーわけで、ふと思い立ったので作ったのでした。まともに FLARToolKit 使ったのは初めてですね。手のひら式打ち上げ花火。どんなのかは↓デモムービー見ればすぐわかってもらえるかと。(手のひら式とかいいつつムービーでは机の上だったりとか、まあいいや。)


Desktop Fireworks from Saqoosha on Vimeo.

自分でも試したーいって人は、
1. Webcam を用意する。
2. マーカーを用意する。(この PDF を印刷するべし)
3. このページ開く。
4. カメラにマーカーをうつす。
5. 画面が暗くなったらマーカー認識 OK。
6. 画面クリックすると打ち上げられる。(スペースキーでフルスクリーンモード。)
ってな感じ。

なーんかでも花火って立体感ないからあんまし AR 感つーか、そこにある感がないんだなあ。マーカー動かしたりするとわかるんだけど。

ソースコードも置いとくー。Flex Builder project 一式。そうめん使いまくり。

10 Responses to “手のひら式打ち上げ花火”

  1. みのん Says:

    どもっす。
    花火すてきんぐ!

    なんとなく、花火の光とかがカメラに反映されたら結構そこにある感でるんじゃ無いかなーとふと思ったので、独り言を残しておくテスト。
    (めんどくさそうですけど)

  2. Saqoosha Says:

    え、どゆことww

  3. みのん Says:

    およ、説明へたくそでスミマセン・・・

    リアルで実際に花火とかが上がったら、花火の光で周囲が明るくなるじゃないっすか。それをカメラのソースに適用してやるって事です。

    赤い花火が上がったらカメラの画像が一瞬赤く光ったり、緑の花火だったら緑っぽくなったりって事なんですけど・・・うーん、口で説明しにくいっす。

    思いつきと想像で言ってるので、実際の効果のほども微妙くさい気もしますしね(ぉぃ

  4. Saqoosha Says:

    あー、はいはい。なるほろ。ちょとやってみっか。

  5. Desktop Fireworks – today and tomorrow Says:

    [...] I’ve seen for a while now. Saqoosha, a Japanese Flash developer, made this little demo: Desktop Fireworks. You will need a the Flash Player 9, a webcam and you’ll need to print out this marker. [...]

  6. leresteux Says:

    SUPER ! apres le premier test en ligne j ai attendu la suite et vraiment BRAVO… j attends maintenant quelque chose de plus maniable pour un neophite tel que moi.
    merci pour tout ce travail

    SUPER! After the first test in line I waited the continuation and really CHEER… now I wait something of more handy for a neophyte such as me. Thank you for all this work

    ju’

  7. » AS3 Augmented Reality in Flash and Papervision 3D and FLARToolKit [ draw.logic ] Says:

    [...] things I’ve seen for a while now. Saqoosha, a Japanese Flash developer, made this little demo: Desktop Fireworks. You will need a the Flash Player 9, a webcam and you’ll need to print out this marker. I’ve [...]

  8. Rob McCardle Says:

    This is brilliant, thanks for sharing :)

  9. bug Says:

    hey, sorry for bothering you, but I don’t understand how to use the AS files inside of flash. how do I set up a file to use these? I’ve downloaded the source, but do not understand how to build the swf using the source files.
    I have the same issue with flartoolkit2. there is no FLA file so I am a little lost…. thank you and sorry to bother, I would just really like to try using this!

  10. Saqoosha Says:

    Hi,
    I used Flex Builder to build “Desktop Fireworks”. The sample code included in FLARToolKit 2.0 is for Flex Builder too. So no .fla file is included.
    But the sample code can be compile with Flash. Please try instruction below.

    1. Set the dimension at “Document Properties” to 640 x 480 and Frame rate to 30.
    2. Set the document class to “net.saqoosha.flartoolkit.example.SimpleCube”.
    3. Add classpath for Papervision3D.
    4. Publish.

Leave a Reply



Saqoosha.net は Windows なら Internet Explorer 7, Firefox 3, Safari 3, Mac なら Firefox 3, Safari 3 でいい感じになるように作ってありますのでそれ以外のブラウザでは Saqoosha が意図しない見た目になっている可能性がありますのでよろしくです。
どうやら Flash Player の最新版がインストールされていないようです。こちらから最新版をインストールするともうちょっと素敵な Saqoosha.net を見ることができるかもしれません → Flash Player Download