annotate Renderer/Engine/TODO @ 1479:163220e54cc0 draft

remove hard code for TaskLog
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Tue, 24 Jul 2012 17:15:15 +0900
parents 5b024efa2429
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1413
5b024efa2429 fix free on non copy DMA
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1226
diff changeset
1 Sat Feb 18 17:31:10 JST 2012
5b024efa2429 fix free on non copy DMA
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1226
diff changeset
2
5b024efa2429 fix free on non copy DMA
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1226
diff changeset
3 Texture でenbugしたらしい。こういうのどうやってdebugするんだろう?
5b024efa2429 fix free on non copy DMA
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1226
diff changeset
4
1225
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
5 Sat Jul 30 15:57:25 JST 2011
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
6
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
7 SceneGraph
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 Node の angle/scale はアホなので廃止
1226
636dfdc30176 new API for SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1225
diff changeset
10 matrix <- transpose matrix
636dfdc30176 new API for SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1225
diff changeset
11 real_matrix <- transpose matrix for normal vector
636dfdc30176 new API for SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1225
diff changeset
12
636dfdc30176 new API for SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1225
diff changeset
13 両方同じじゃないの? 片方は不要
1225
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
14
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
15 angle/scale は matrix への操作として実装する
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
16
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
17 flip
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
18
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
19 droot->sgroot->flip(); // 前フレームで描画した SceneGraph は削除
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
20 // 前フレームに作られた SceneGraph は描画用に移行
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
21 // 現フレームで新しく SceneGraph がコピーされるので初期化
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
22 camera = droot->sgroot->getCamera();
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
23 droot->sgroot->lightCalc();
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
24 root = droot->createSceneGraph();
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
25 set_cameraMan();
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
26 root->addChild(camera);
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
27 droot->setSceneData(root);
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 get_matrix は user 側では呼ばない
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 object->scale()
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
32 object->angle()
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
33 object->set_matrix()
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 あたり。放置してたのがいけなかったが...
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
36
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
37 Sprite
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
38
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
39 Camera に固定した sprite
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
40
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
41 defSprite
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
42 putSprite
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
43
1226
636dfdc30176 new API for SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1225
diff changeset
44 createPolygonFromSceneGraph
636dfdc30176 new API for SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1225
diff changeset
45
636dfdc30176 new API for SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1225
diff changeset
46 親の行列から計算してない
636dfdc30176 new API for SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1225
diff changeset
47 既に行列は計算されている前提
636dfdc30176 new API for SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1225
diff changeset
48
636dfdc30176 new API for SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1225
diff changeset
49 ここで親子の行列のかけ算を行うべき
636dfdc30176 new API for SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1225
diff changeset
50
636dfdc30176 new API for SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1225
diff changeset
51 なんだけど、互換性はどーする? (そんなのいるの?)
636dfdc30176 new API for SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1225
diff changeset
52
636dfdc30176 new API for SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1225
diff changeset
53 SceneGraphRoot::setSceneData(SceneGraphPtr sg)
636dfdc30176 new API for SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1225
diff changeset
54
636dfdc30176 new API for SceneGraph
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 1225
diff changeset
55 で計算するか。いや、計算 method を別に用意するか。
1225
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 966
diff changeset
56
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
57 Tue Sep 22 21:32:17 JST 2009
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
58
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
59 * SceneGraph の中の Property をlenear array する :Done
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
60 * ユーザ入力を spe の global allocate に書く (SWITCHで) :hiroki
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
61 * spe 側で lenear array を move_task で update する :kazz
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
62 * option (spe 側で衝突判定するデータを gloval alloc する) :TODO
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
63 * 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
64 * linear array から SceneGraph を再構築する :yutaka
539
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
65 * rendering_task と task_next で待ち合わせる :kaito
3bc98f6d31ff Reorganization..
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
66 * ダブルバッファリングされている Property、SceneGraph を入れ替える :kaito
965
e0427cdee770 removing user task from Renderer Engine
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 539
diff changeset
67 * rendering_task と move_task の起動 :kaito