Support:XYZRGB

From Headus Docs

(Difference between revisions)
Jump to: navigation, search
Revision as of 06:15, 26 April 2013 (edit)
Headus (Talk | contribs)
(Head Scan Blended Color Maps)
← Previous diff
Revision as of 06:27, 26 April 2013 (edit) (undo)
Headus (Talk | contribs)
(Head Scan Blended Color Maps)
Next diff →
Line 7: Line 7:
# The six camera mesh/texture pairs must have the exact same names as we received in the sample data. # The six camera mesh/texture pairs must have the exact same names as we received in the sample data.
-# The merged mesh with UVs must be called '''1x1.obj''' (green highlight in "Inputs" image).+# 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.
# Copy the BAT and render settings files into that folder. # Copy the BAT and render settings files into that folder.
# Edit the '''setvar.bat''' file to adjust some settings: # Edit the '''setvar.bat''' file to adjust some settings:
Line 21: Line 21:
# All the PLY and LOG files can be safely deleted (red highlight in "Outputs" image). # All the PLY and LOG files can be safely deleted (red highlight in "Outputs" image).
# The resampled color maps for each of the 6 cameras (blue highlight). # The resampled color maps for each of the 6 cameras (blue highlight).
-# 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 more or less choices.+# 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.

Revision as of 06:27, 26 April 2013

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.