CavePainting/technical user documentation: Difference between revisions
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
== | == Importing Bat Marker Data == | ||
CavePainting can import data representing the 3D positions of points through time. A marker file is a plain-text <abbr title="comma-separated value">CSV</abbr> file in which each row is a time step and each group of four columns are the X, Y, and Z positions for a marker, followed by the number 1 in the fourth column. For example, the following describes two markers' positions (sets of four columns) over three timesteps (rows): | |||
<pre> | <pre> | ||
0.5,0.5,0.5,1,0.2,-0.2,0.3,1 | 0.5,0.5,0.5,1,0.2,-0.2,0.3,1 | ||
| Line 9: | Line 8: | ||
0.7,0.3,0.4,1,0.4,0.0,0.1,1 | 0.7,0.3,0.4,1,0.4,0.0,0.1,1 | ||
</pre> | </pre> | ||
** '''<code>BatMarkersScale</code>''': a scaling parameter to map the coordinates in the | |||
Config File Variables: | |||
* '''<code>BatMarkersFile</code>''': path to a marker file. | |||
* '''<code>BatMarkersScale</code>''': a scaling parameter to map the coordinates in the marker file to world coordinates in CavePainting. | |||
* '''<code>BatMarkersSize</code>''': the radius, in the world coordinate frame, of the spheres representing the markers. | |||
* '''<code>BatMarkersTimestepIncrement</code>''': the number of rows in the marker file to skip between creating frames. | |||
* '''<code>BatMarkersFrame</code>''': ??? | |||
[[Category:CavePainting]][[Category:User Documentation]] | [[Category:CavePainting]][[Category:User Documentation]] | ||
Revision as of 18:46, 2 December 2008
Importing Bat Marker Data
CavePainting can import data representing the 3D positions of points through time. A marker file is a plain-text CSV file in which each row is a time step and each group of four columns are the X, Y, and Z positions for a marker, followed by the number 1 in the fourth column. For example, the following describes two markers' positions (sets of four columns) over three timesteps (rows):
0.5,0.5,0.5,1,0.2,-0.2,0.3,1 0.6,0.4,0.5,1,0.3,-0.1,0.2,1 0.7,0.3,0.4,1,0.4,0.0,0.1,1
Config File Variables:
BatMarkersFile: path to a marker file.BatMarkersScale: a scaling parameter to map the coordinates in the marker file to world coordinates in CavePainting.BatMarkersSize: the radius, in the world coordinate frame, of the spheres representing the markers.BatMarkersTimestepIncrement: the number of rows in the marker file to skip between creating frames.BatMarkersFrame: ???