デグレなおしときます(その4)

前回の デグレなおしときます(その3) ヘアライン問題のつづきです。

とりあえず「切り出したデータでの問題」については、原因がわかったので対策してみます。

v62.patch

$ mv rt_v61 rt_v62
$ cat v62.patch | ( cd rt_v62 ; patch -p1 )
$ cd rt_v62
$ make clean
$ make

まずhh.yamlで確認

$ cat hh.yaml
all:
- kind: and
  args:
  - kind: pipe_side
  - kind: circle
    l2m:
    - ax.slide_z(1)
  - kind: circle
    l2m:
    - ax.slide_z(1)
    - ax.rot_y(180)
  m2g:
  - ax.slide_z(1)
  - 'ax.zoom([ 0.2 , 0.2 , 0.5 ])'
  - ax.rot_y(90)
  - ax.zoom_x(2)
  - ax.slide([12,8,0])
  - 'ax.slide([-21.0/2,-23.0/2,0])'
  - ax.zoom_y(-1)

# EOF

$ ./cg.py eyep=[0,0,20],[50,50,10],20 sec=30 yaml=hh.yaml data_name=all name=out_v62/hh n=1 init_sec=5 show_sec=-1

OK

それでは、またまたしてもリテイク

パックマンもどき(その3)

$ ./pac_dat.py
$ ( cd pac ; wget http://kondoh2.html.xdomain.jp/rt/pac.log )
$ ./pac_dat.py
$ ./cg.py eyep=[0,0,20],[50,50,10],20 sec=30 yaml=pac.yaml data_name=all name=out_v62/pac_tst3_ fps=0.2
  :
wh : 307200/307200(100.0%) : fin 50.61s
frm : 6/6(100.0%) : fin 5m 15.58s
estimated 13.15 hour at 640*480 30fps

$ ls -lt out_v62/ | head
-rw-r--r--  1 kondoh  staff     144  7 14 13:14 pac_tst3_.mp4
-rw-r--r--  1 kondoh  staff  136235  7 14 13:14 pac_tst3_00006.jpg
-rw-r--r--  1 kondoh  staff  123273  7 14 13:13 pac_tst3_00005.jpg
-rw-r--r--  1 kondoh  staff  132482  7 14 13:13 pac_tst3_00004.jpg
-rw-r--r--  1 kondoh  staff  161416  7 14 13:12 pac_tst3_00003.jpg
-rw-r--r--  1 kondoh  staff   88253  7 14 13:11 pac_tst3_00002.jpg
-rw-r--r--  1 kondoh  staff   83061  7 14 13:10 pac_tst3_00001.jpg
  :

ちょっと残ってるけど、まぁ激減してるのでOK

角柱と角すいもAND,OR,XOR演算

$ ./cg.py eyep=[0,0,0],[300,300,100],10 sec=20 yaml=op3.yaml data_name=all name=out_v62/op3
  :
wh : 307200/307200(100.0%) : fin 17.28s
frm : 600/600(100.0%) : fin 4h 25m 25.08s

$ ls -lt out_v62/ | head
-rw-r--r--  1 kondoh  staff   244335  7 14 21:09 op3_2.mp4
-rw-r--r--  1 kondoh  staff  3139977  7 14 21:08 op3_1.mp4
-rw-r--r--  1 kondoh  staff  3590353  7 14 21:06 op3.mp4
  :

円柱と円すいもAND,OR,XOR演算

$ ./cg.py eyep=[0,0,0],[300,300,100],10 sec=20 yaml=op2.yaml data_name=all name=out_v62/op2
  :
wh : 307200/307200(100.0%) : fin 10.43s
frm : 600/600(100.0%) : fin 2h 2m 42.97s

$ ls -lt out_v62/ | head
-rw-r--r--  1 kondoh  staff   689530  7 14 23:39 op2_2.mp4
-rw-r--r--  1 kondoh  staff  3140577  7 14 23:39 op2_1.mp4
-rw-r--r--  1 kondoh  staff  4038669  7 14 23:36 op2.mp4
  :

球と立方体のAND,OR,XOR演算

$ ./cg.py eyep=[0,0,0],[300,300,100],10 sec=20 yaml=op.yaml data_name=all name=out_v62/op
  :
wh : 307200/307200(100.0%) : fin 18.19s
frm : 600/600(100.0%) : fin 3h 57m 58.42s

$ ls -lt out_v62/ | head
-rw-r--r--  1 kondoh  staff  2556988  7 15 07:20 op_2.mp4
-rw-r--r--  1 kondoh  staff  3140221  7 15 07:20 op_1.mp4
-rw-r--r--  1 kondoh  staff  6097977  7 15 07:18 op.mp4
  :

物体のAND演算

$ ./cg.py eyep=[0,0,0],[300,300,100],10 sec=20 yaml=and.yaml data_name=all name=out_v62/and
  :
wh : 307200/307200(100.0%) : fin 12.46s
frm : 600/600(100.0%) : fin 2h 28m 23.92s

$ ls -lt out_v62/ | head
-rw-r--r--  1 kondoh  staff  1368719  7 15 10:08 and_2.mp4
-rw-r--r--  1 kondoh  staff  3141831  7 15 10:08 and_1.mp4
-rw-r--r--  1 kondoh  staff  4812755  7 15 10:06 and.mp4
  :

カットモデル

$ ./cg.py eyep=[0,0,0],[130,90,30],10 sec=20 yaml=cool_car_cut.yaml data_name=all name=out_v62/cut
  :
wh : 307200/307200(100.0%) : fin 25.96s
frm : 600/600(100.0%) : fin 14h 59m 58.46s

$ ls -lt out_v62/ | head
-rw-r--r--  1 kondoh  staff  3102728  7 16 01:09 cut.mp4
  :

スポーツカー

$ ./cg.py eyep=[0,0,0],[130,90,30],10 sec=20 yaml=cool_car_r.yaml data_name=all name=out_v62/car_
  :
wh : 307200/307200(100.0%) : fin 20.60s
frm : 600/600(100.0%) : fin 4h 34m 40.03s

$ ls -lt out_v62/ | head
-rw-r--r--  1 kondoh  staff  3142803  7 16 07:45 car__1.mp4
-rw-r--r--  1 kondoh  staff   112368  7 16 07:45 car__2.mp4
-rw-r--r--  1 kondoh  staff  3466727  7 16 07:43 car_.mp4
  :

時間をズラして分身

$ ./cg.py eyep=[0,0,0],[200,200,100],10 sec=20 yaml=spin_coin.yaml data_name=all name=out_v62/coin
  :
wh : 307200/307200(100.0%) : fin 9.16s
frm : 600/600(100.0%) : fin 1h 42m 59.38s

$ ls -lt out_v62/ | head
-rw-r--r--  1 kondoh  staff   287975  7 16 11:02 coin_2.mp4
-rw-r--r--  1 kondoh  staff  3140969  7 16 11:02 coin_1.mp4
-rw-r--r--  1 kondoh  staff  3651030  7 16 10:59 coin.mp4
  :

物体を動かす

$ ./cg.py eyep=[0,0,0],[300,300,100],10 sec=20 yaml=dat6.yaml data_name=all name=out_v62/dat6
  :
wh : 307200/307200(100.0%) : fin 8.51s
frm : 600/600(100.0%) : fin 1h 36m 55.01s

$ ls -lt out_v62/ | head
-rw-r--r--  1 kondoh  staff   367084  7 16 13:17 dat6_2.mp4
-rw-r--r--  1 kondoh  staff  3139558  7 16 13:17 dat6_1.mp4
-rw-r--r--  1 kondoh  staff  3758695  7 16 13:14 dat6.mp4
  :

どわぁ〜