T0 = tic;
cd(getenv('Mocap'))
fid = fopen(sprintf('Run%s.txt',date),'w');

cd('E:\GigE_mocap_data\buddy140\buddy140_06082013')
fprintf(fid,'%s\n',pwd);
load camera_params
for ii = [9 13 23 27 28]
   [rend_env,neighbors,final_cost] = rendering_environment(sprintf('Data%d',ii),cameraVec,[4 5 6]);
end
fprintf(fid,'\n');

T1 = toc(T0);
fprintf(1,'1 sessions processed in %10.2f seconds\n',T1);
fprintf(fid,'1 sessions processed in %10.2f seconds\n',T1);