annotate Renderer/Engine/TODO @ 1225:2f4d45cc4aff draft

Todo
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 30 Jul 2011 16:06:59 +0900
parents 4cd17f86dda6
children 636dfdc30176
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1225
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
1 Sat Jul 30 15:57:25 JST 2011
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
2
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
3 SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
4
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
5 Node の angle/scale はアホなので廃止
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
6 matrix <- local transpose matrix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
7 real_matrix <- global transpose matrix
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
9 angle/scale は matrix への操作として実装する
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
10
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
11 flip
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
12
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
13 droot->sgroot->flip(); // 前フレームで描画した SceneGraph は削除
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
14 // 前フレームに作られた SceneGraph は描画用に移行
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
15 // 現フレームで新しく SceneGraph がコピーされるので初期化
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
16 camera = droot->sgroot->getCamera();
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
17 droot->sgroot->lightCalc();
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
18 root = droot->createSceneGraph();
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
19 set_cameraMan();
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
20 root->addChild(camera);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
21 droot->setSceneData(root);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
22
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
23 get_matrix は user 側では呼ばない
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
24
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
25 object->scale()
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
26 object->angle()
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
27 object->set_matrix()
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
28
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
29 あたり。放置してたのがいけなかったが...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
30
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
31 Sprite
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
32
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
33 Camera に固定した sprite
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
34
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
35 defSprite
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
36 putSprite
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
37
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
38
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
39 Tue Sep 22 21:32:17 JST 2009
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
40
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
41 * SceneGraph の中の Property をlenear array する :Done
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
42 * ユーザ入力を spe の global allocate に書く (SWITCHで) :hiroki
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 * spe 側で lenear array を move_task で update する :kazz
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
44 * option (spe 側で衝突判定するデータを gloval alloc する) :TODO
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
45 * spe 側で lenear array を collision 側で update する :TODO
965
e0427cdee770 removing user task from Renderer Engine
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 539
diff changeset
46 * linear array から SceneGraph を再構築する :yutaka
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
47 * rendering_task と task_next で待ち合わせる :kaito
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
48 * ダブルバッファリングされている Property、SceneGraph を入れ替える :kaito
965
e0427cdee770 removing user task from Renderer Engine
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 539
diff changeset
49 * rendering_task と move_task の起動 :kaito