ラベル Program の投稿を表示しています。 すべての投稿を表示
ラベル Program の投稿を表示しています。 すべての投稿を表示

2011年6月6日月曜日

boost::function

http://d.hatena.ne.jp/osyo-manga/20100930/1285800075
int main(){     // 関数の保持     boost::function<int(int, int)>    division_func = &division;     assert(division_func(10, 2) == 5);      // ラムダも保持できる     boost::function<bool(int)> is_even = [](int n)->bool{ return n % 2 == 0; };     assert(is_even(4) == true);      // あらかじめ、関数に渡す引数を設定しておく事も出来る     boost::function<bool()>    three_is_even = boost::bind(is_even, 3);     assert(three_is_even() == false);    // is_even(3)      // template の場合は、渡す時に template 型も設定する     boost::function<bool(int, int)>    is_equal_int(&is_equal<int>);     assert(is_equal_int(10, 10) == true);      // 非 static メソッドを保持する場合は、第一引数にクラスのポインタを設定する     boost::function<void(game*, int)>    any_game_even(&game::even1);     game    g;     any_game_even(&g, 10);    // g.even1(10);      // あらかじめクラスのポインタを渡しておくと呼び出し時に楽     boost::function<void(int)>    any_game_even2 = boost::bind(&game::even2, &g, ::_1);     any_game_even2(10);          return 0; }

2011年5月28日土曜日

SH2、H8、PowerPC、組み込み用OS

http://www.saturn.dti.ne.jp/~hsakai/kozos/index.html

CS-based deferred shading. Deferred shading using DX11 CS

http://s09.idav.ucdavis.edu/talks/04-JAndersson-ParallelFrostbite-Siggraph09.pdf

Intel TBB スレッドセーフのコンテナ

並列コンテナ
http://japan.internet.com/column/developer/20070306/27.html

Tree構造

http://gslib.sourceforge.jp/sapling/Japanese/html/index.html

構造の構築に工夫あり


AR技術

キヤノンのMR技術 トリケラトプス
http://itpro.nikkeibp.co.jp/article/NEWS/20091028/339613/

マーカー不要
http://itpro.nikkeibp.co.jp/article/NEWS/20091028/339629/



GCCのC++0x対応

http://www.juna.net/diary/cc/
http://gcc.gnu.org/projects/cxx0x.html


プログラムメモ

すごい
http://www.mokehehe.com/assari/index.php?FrontPage

屋外ライティング

http://www.mokehehe.com/assari/index.php?%B2%B0%B3%B0%A5%E9%A5%A4%A5%C6%A5%A3%A5%F3%A5%B0

キレイ
http://www-ljk.imag.fr/Publications/Basilic/com.lmc.publi.PUBLI_Article@11e7cdda2f7_f64b69/index_en.html


アンチエイリアシング

http://www-ljk.imag.fr/Publications/Basilic/com.lmc.publi.PUBLI_Article@11e7cdda2f7_f64b69/index_en.html

情報源
http://rightwingkinu.blog46.fc2.com/blog-date-200908.html


トラバース

http://d.hatena.ne.jp/mokehehe/20100129/uniformgrid

E3

まとめ
http://game.watch.impress.co.jp/docs/series/3dcg/20090608_280637.html
Assassin's Creed 2のグライダーに乗って花火の中をかいくぐるシーン

http://www.inside-games.jp/media/screenshot2.php?gameid=88926&image=2
ソニーのゲーム用モーションキャプチャ

DirectX11概要

すっごくわかりやすい
http://wlog.flatlib.jp/archive/1/2008-11-7

DirectShow PowerDVDのActiveX

WindowsSDKのDirectShowサンプル
http://www.firefly-vj.net/imagery/index.php?itemid=149
のDirectX10フィルタ
そのたもろもろDirectShowのサンプルプログラムを
ビルドしたけど、PowerDVDのActiveXをつかえるのは

http://wantech.ikuto.com/software/eropega2.html

これだけ。C#だし。
なんで?

一様乱数

http://www.phys.cs.is.nagoya-u.ac.jp/~watanabe/pdf/prob.pdf

HaskellでOpenGL

http://www.sharp-bang.jp/d2/2007/05/20/haskell%e3%81%a7opengl/

JSONおさらい

http://d.hatena.ne.jp/m-hiyama/20080728/1217205390

BOOST::asio サンプル

http://3dmmo.blog42.fc2.com/
 ・スレッドプール
 ・セッションサーバ

http://codingplayground.blogspot.com/2008/08/boostasio-keep-alive-boostserialization.html
 ・asio+serialization