README.md 738 Bytes
Newer Older
1
# ALICE Open Data Blender animation
2
3
4
5
6
7
8

Run animation example:
`blender -noaudio --background -P animate_particles.py -- -radius=0.05 -duration=1 -camera="BarrelCamera" -datafile="esd-detail.dat"`


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
21
22
  filename for event data file; must be a string

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