Several RW utilities provide the ability to sample the 3D world
in a direct way without having to render, or as a post-process
to some of the compositing fields generated during rendering.
These routines are called

RWPrint.out
RWOcean_print.out
RWDistancexyz.out

-----------------------------------------------------



RWPrint.out -f first-frame  -l last-frame  -i increment  scene.dat outfile.dat

This executable doesn't render the scene but initializes it and steps
through each time step. Object coordinates and orientation are output
for each object into "outfile.dat". 



RWOcean_print.out -f first-frame  -l last-frame  -i increment  scene.dat grid_file.dat

This executable outputs a height field grid named: "oName_grid.0001.img"
where oName is the object name of an ocean. The files are always HDF
and separate files are output for each frame. 

grid_file.dat is a text file with the following data in the following format:

X: 1000
Y: 1000
NX: 256
DX: 1.0
NY: 256
DY: 1.0

X and Y is the center 2D grid point in global coordinates. NX and NY are
the number x and y points, and dx and dy are the desired distances between
samples. (X goes from (X - DX*(NX/2.0)) -> (X + NX*(NX/2.0))).



RWDistancexyz.out

This routine converts the distance composite field (z-depth) into cartesian
coordinates, based on the distance, camera field of view, and camera 
cartesian coordinates.  
