CavePainting/technical user documentation: Difference between revisions

From VrlWiki
Jump to navigation Jump to search
Jadrian Miles (talk | contribs)
New page: {{stub}} == Config File Variables == * Importing Bat Marker Data ** '''<code>BatMarkersFile</code>''': a CSV file in which each row is a time step and each group of four columns are the X...
 
No edit summary
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{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>
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
</pre>


== Config File Variables ==
Config file variables:
* Importing Bat Marker Data
* '''<code>BatMarkersFile</code>''': path to a marker file.
** '''<code>BatMarkersFile</code>''': a 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.
* '''<code>BatMarkersScale</code>''': a scaling parameter to map the coordinates in the marker file to world coordinates in CavePainting.
** '''<code>BatMarkersScale</code>''': a scaling parameter to map the coordinates in the markers file to world coordinates in CavePainting.
* '''<code>BatMarkersSize</code>''': the radius, in the world coordinate frame, of the spheres representing the markers.
** '''<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>BatMarkersTimestepIncrement</code>''': the number of rows in the markers file to skip between creating frames.
* '''<code>BatMarkersFrame</code>''': ???
** '''<code>BatMarkersFrame</code>''': ???


[[Category:CavePainting]][[Category:User Documentation]]
[[Category:CavePainting]][[Category:User Documentation]]

Latest revision as of 15:08, 19 September 2013

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: ???