README.md 985 Bytes
Newer Older
1
# ALICE Open Data Blender animation
2
3

Run animation example:
4
`blender -noaudio --background -P animate_particles.py -- -radius=0.05 -duration=1 -camera="BarrelCamera" -datafile="esd-detail.dat" -simulated_t=0.02 -fps=24 -resolution=100`
5
6
7
8


In the example above, argument 'radius' has value 0.05, 'duration' has value 10 and so on.

Breno Rilho Lemos's avatar
Breno Rilho Lemos committed
9
*-radius*:
10
  particle radius; must be a number; type float
Breno Rilho Lemos's avatar
Breno Rilho Lemos committed
11
12

*-duration*:
13
  animation duration; must be a number; type int
Breno Rilho Lemos's avatar
Breno Rilho Lemos committed
14
15

*-camera*:
16
  defines animation view; must be a string; available options: OverviewCamera, BarrelCamera, ForwardCamera
Breno Rilho Lemos's avatar
Breno Rilho Lemos committed
17
18

*-datafile*:
19
20
  filename for event data file; must be a string

21
22
23
24
25
26
27
28
29
*-simulated_t*:
  simulated time of event; must be a number; type float

*-fps*:
  frames per second; must be a number; type int

*-resolution*:
  animation resolution percent; must be a number; type int

30
31
Implement command line arguments:
https://blender.stackexchange.com/questions/6817/how-to-pass-command-line-arguments-to-a-blender-python-script