Wonderfulで始めるAlternativa3D 当サイトのポップアップ絵本メーカーや、ホームメーカーは、 Adobe Flash AS3用の3Dライブラリ「Alternativa3D」を使っております。 元々、同様の3Dライブラリ「Papervision3D(以後Pv3D)」を使用して、色々と開発していたのですが、PV3は家の中の表現(床に壁を立てる等)やペラペラの紙を重ねて本を作るといった表現が苦手でした。 最近ではPV3でも新しいレンダリングエンジンQuadrantRenderEngineの搭載なので薄い紙を重ねる表現も可能になりましたが、ホームメーカー、ポップアップ絵本メーカーの開発当初では、苦手というよりもほとんど不可能。 作りたいのに出来ない状況に半ば諦めかけてた所、新しく発表された「Alternativa3D」で同様の表現をテストしてみると、特になんの苦労もなく出来てしま
最近カメラで取得した映像を使って遊んでます。 映像の中の人とかに雪が積もるといいなーと思ってやってみました。 境界線が分かればなんとかなるので、↓こちらを参考にやってみました。 http://web.sfc.keio.ac.jp/~shokai/archives/2007/05/proce55ing-webcam-edge-detect.html ●まずはActionScriptで 元ソースはProcessingなので、ASに書き直す必要があります。 そのままいけないので試行錯誤した結果が下記のような感じです。 (※省略してます) 考え方としては、まず画像全体の色を4段階にして処理をしやすくし、それから境界線を調べていくようです。 //RGBの各チャンネルを3つのBitmapDataのBLUEチャンネルにコピー bd1Red.copyChannel(bd1,bd1.rect,pt,Bitm
MinimalComps are a set of ActionScript 3.0 User Interface Components for Flash. They were created with ease of use, small footprint, and performance in mind. They are ideal for rapid prototyping, experiments and small tools. They are compatible with Flash on the web, AIR, and the AIR packager for iOS and Android (though size adjustments would usually have to be made for mobile platforms). There is
One of my favorite features of AS3 is the low-level inclusion of EventDispatcher in the AS3 framework. I do not miss the days of including EventDispatcher mix-ins in 80% of my classes in 100% of my projects. I especially like the additional features of the AS3 EventDispatcher: cancellation, custom event types (built in), preventDefault, event phases, etc. However we have had several AS3 projects t
Charles Wardシニアテクニカルライター Adobe 目次 はじめに Pixel Bender言語について カーネルの書き出しと読み込み ブレンドの使用 フィルタの使用 塗りの使用 印刷用に表示 作成日:2008年10月15日 ユーザレベル:中級, 上級 製品:Flash Pixel Benderは、Adobe Flash Player 10、Adobe After EffectおよびAdobe Photoshop(近々)がサポートするグラフィックス処理エンジンです。Pixel Benderの言語は、3Dレンダリングピクセル描画処理の最適化に用いられる、フラグメントシェーダ言語(GLSL:OpenGL Shading Language*など)に基づいて開発されています。Flash Playerでは、このPixel Benderのプログラムを利用してフィルタやブレンド、面または線
BetweenAS3を使うことで新しいFlashの演出手法を探る前回の記事の続き。言葉だと説明が難しいのでソースコードをシンプルにしてwonderflに投稿してみました。ロジックを知りたい方は次の投稿をご参考頂ければと思います。 [PV3D][BetweenAS3] Time Remap Demo (タイムリマップ) [PV3D][BetweenAS3] Tween Seek Demo (トゥイーンのシーク制御) どちらも実スクリプトは60行程度の短いものなので、さらっと流れが掴めると思います。 Comment/Trackback 2件 Slow Mo’ « electronslibres より: 2010年01月08日(金) 10:07 […] I recently stumbled on this amazing japanese flash coder Yasunobu Ikeda
Visit gskinner.com News and views on the world of interactive media from the gskinner team Here is a collection of some of the session notes and source files I have put together for various conferences (generally from newest to oldest). I will try to keep it up to date. This list will have a permanent link on the right nav bar of my blog. Newer talks will generally require the latest available Fla
11月28日、ベルサール汐留にて、FITC Tokyo 2009が開催された。以下は、Mario Klingemann氏のセッションのレポート。 Mario Klingemann氏「Connectiong the Dots」 Quasimondoの愛称と、特徴的な 角の生えた"Q"のマークで有名なMario Klingemann(マリオ・クリンゲマン)氏は、氏自身の作品が芸術展に出品されるなど、国際的に評価されるネットアートの代表者として名高い。 写真1 Mario Klingemann氏 「在学中数学は好きでしたか?」とマリオ氏が問いかけると、会場から思いのほか手が上がったのか、おどろいた様子で「Oh My God!」と叫んだ。マリオ氏曰く、普通はNoと答えるのが98.2%で残りの0.2%が好きとのことで、氏自身も在学中には「実際の生活には全く役に立たないもの」と思っていたという。しかし
ビット演算(ビットえんざん)とは、 ひとつあるいはふたつのビットパターンまたは二進数を個々のビットの列として操作することである。 CPUからすればビット演算は簡単な論理回路で実現できるが、 四則演算、特に乗除算は複雑な論理回路を必要とするため、 多くのコンピュータでは、ビット演算は加減算より若干速く、乗除算よりずっと高速である。 Wikipedia(ビット演算) より AS3 でもビット演算で高速化するなどという Tips をよく見かけたりします。 早いのはわかったけど「なぜそうなるのか。」「実際どんな場面で使ったりするものなのか」などはなかなか書いてなかったり。 なので今回は例を含めつつ、説明していこうと思います。 「得意な人はより得意に、そうでない人はそれなりに」を目指します。 二進法 苦手な人はいきなりブラウザバックしたくなる話だと思いますが少し我慢してください。 二進法
INDEX 01 テクスチャで塗る - Graphics.beginBitmapFill()メソッド 02 Graphics.drawTriangles()メソッドとVectorクラス 03 頂点座標を指定する - Graphics.drawTriangles()メソッドの第1引数 04 テクスチャのマッピングを指定する - Graphics.drawTriangles()メソッドの第3引数 05 頂点番号で三角形を指定する - Graphics.drawTriangles()メソッドの第2引数 サンプルファイル サンプルファイル(Flash CS4形式/約140KB) テキスト PNG画像(Zip圧縮約600KB) Flash Player 10のGraphicクラスには、三角形に分割した面に対して画像を変形して貼付けるGraphics.drawTriangles()メソッドが備わりま
noupeで、FlashとAction Script3.0のチュートリアルが紹介されています。 ざっといくつかご紹介。 » Create an Impressive Magnifying Effect with ActionScript 3.0 displacementMapFilterを使って拡大鏡のエフェクトをかける » Creating Gradients in Flash Flashでグラデをかける基本操作を動画で学ぶ » Infinite Gallery / Menu Flash,AS3でギャラリーやメニューを作る方法 » Using the Timer Class to animate rotation タイマークラスを使って、シンプルなシェイプを回転させるチュートリアル » Flash Mouse Trailer with Stars マウスに星がついてくるエフェクト » C
addChild()した後で、重なり順を制御する方法について、メモします。 最前面 container.setChildIndex(sprite, container.numChildren - 1); 最背面 container.setChildIndex(sprite, 0); 1つ全面へ var index:int = container.getChildIndex(sprite); if (index + 1 < container.numChildren) { container.swapChildren(sprite, container.getChildAt(index + 1)); } 1つ背面へ var index:int = container.getChildIndex(sprite); if (index - 1 >= 0) { container.swapChil
Interpolation with Bezier Curves A very simple method of smoothing polygons Initially, there was a question in comp.graphic.algorithms how to interpolate a polygon with a curve in such a way that the resulting curve would be smooth and hit all its vertices. Gernot Hoffmann suggested to use a well-known B-Spline interpolation. Here is his original article. B-Spline works good and it behaves like an
Stay organized with collections Save and categorize content based on your preferences. The page you're looking for isn't available. The link you clicked was to documentation on the legacy version, Universal Analytics. Universal Analytics has sunset and is no longer available as of July 1, 2024. Visit the Analytics Learning Center to get started with the new version, Google Analytics 4. �Z%ڪ� @7�٪�
[demoページ] Flash 8(AS2)でPageFlipと言えば76design.comで公開されているDynamic Page Flip v2が有名ですが、AS3対応が欲しく、調べる必要があったついでに、使い方メモ。 使用するパッケージ flex book component(beta)で公開されているSouceをダウンロードすると、デモソースと必要なパッケージが入っています。 パッケージ一覧 com.foxaweb.pageflip com.rubenswieringa.book com.rubenswieringa.containers com.rubenswieringa.drawing com.rubenswieringa.geom com.rubenswieringa.managers com.rubenswieringa.utils org.flas
asActionScript 2 用のデバッグツールとして有名だった XRay が ActionScript 3 に対応したようです。DisplayObject の階層を表示してくれたり、オブジェクトのプロパティを修正したり、ログ用のコンソールになったりと機能豊富です。しかも、Flash CS3 だけでなく、Flex や AIR でも使えるようです。ということで、早速、試してみました。ダウンロードしてソースコードに2行追加するだけXRay のソースコードを拾ってきます。Google Code にあるので、SVN で拾ってきましょう。http://osflash-xray.googlecode.com/svn/trunk/as3/trunk/では、自分の Flash に仕込んでみましょう。ActionScript のソースコードに import 文を追加します。 import com.bli
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く