Support:XYZRGB

From Headus Docs

Revision as of 06:27, 26 April 2013 by Headus (Talk | contribs)
Jump to: navigation, search
Fig 1. Map Extract Inputs
Fig 1. Map Extract Inputs
Fig 2. Map Extract Outputs
Fig 2. Map Extract Outputs

Head Scan Blended Color Maps

Here's the procedure to extract the blended color maps using CySlice.

  1. The six camera mesh/texture pairs must have the exact same names as we received in the sample data.
  2. The merged mesh with UVs must be called 1x1.obj (green highlight in "Inputs" image). The UVs should fit snugly within the 0-to-1 UV space.
  3. Copy the BAT and render settings files into that folder.
  4. Edit the setvar.bat file to adjust some settings:
    1. The CySlice install location.
    2. The number of render threads. If you have fewer than 4 CPU cores or less than 4Gb of RAM, you will need to reduce the default of 8 threads.
  5. Double click run-all.bat to start the map extract process:
    1. All the OBJ files are converted to PLY.
    2. 6 maps, one for each camera, are extracted using CySlice.
    3. These are then blended.

In the same folder you will find the output files:

  1. All the PLY and LOG files can be safely deleted (red highlight in "Outputs" image).
  2. The resampled color maps for each of the 6 cameras (blue highlight).
  3. The blended color maps (green highlight). By default there are a selection of four maps with 1%, 2%, 4% and 8% blend widths. Create new step-3-blendXX.bat files and edit run-all.bat if you want a different selection of choices.