Prepare the camera workbook
Set up the EXT_OR and CAMERA sheets with the column names and units the app reads.
SimplexCity Texture projects every wall into the oblique photos using each camera's position, rotations and sensor values. It reads these values from an Excel workbook. If a row is missing or wrong, the app usually skips that camera without a warning, so set up the column names and units carefully.
Workbook layout
- The file must be an Excel workbook (
.xlsx). An.xlsfile with a renamed extension can't be read. - It needs two sheets:
EXT_ORandCAMERA. Sheet names are not case-sensitive. - Column headers go in the first row and data starts in the second row. Headers are not case-sensitive.
- Several header names are accepted for some values; the tables below list all of them.
CAMERA sheet
| Column | Accepted names | Unit and rule |
|---|---|---|
| Camera ID | CAMERA_ID | Once per camera; must not repeat |
| Focal length | FOCAL_LENGHT, FOCAL_LENGTH, FOCAL_MM, F | Millimetres, greater than 0 |
| Pixel size | PIXEL_SIZE_MICRONMETER_WIDTH, PIXEL_SIZE_MICROMETER_WIDTH, PIXEL_SIZE_UM, PIXEL_SIZE | Micrometres (µm), greater than 0 |
| Image width | SENSOR_SIZE_WIDTH, WIDTH, WIDTH_PX | Pixels, greater than 0 |
| Image height | SENSOR_SIZE_HEIGHT, HEIGHT, HEIGHT_PX | Pixels, greater than 0 |
| Principal point offset (x, y) | PPAx_mm, PPAX_MM, CX_MM and PPAy_mm, PPAY_MM, CY_MM | Offset from the image centre, millimetres; optional (0 if empty) |
EXT_OR sheet
| Column | Accepted names | Unit and rule |
|---|---|---|
| Camera ID | CAMERA_ID | Must exist in the CAMERA sheet |
| Photo name | PHOTO_FILE | File name; any folder part is ignored, and it matches with or without the extension |
| Camera position | X / EASTING, Y / NORTHING, Z / HEIGHT / ALTITUDE | Same coordinate system as the buildings |
| Rotations | OMEGA / OMEGA_DEG, PHI / PHI_DEG, KAPPA / KAPPA_DEG | Degrees; Inpho/Match-AT convention (omega about X, phi about Y, kappa about Z) |
Use a dot as the decimal separator. If a cell contains no dot, a comma is also accepted as the decimal separator.
Rows the app skips without a warning
- EXT_OR rows whose
CAMERA_IDisn't in the CAMERA sheet, or whosePHOTO_FILEcell is empty. - Cameras whose focal length, pixel size, width or height is empty, zero or negative.
Check during the first run
When texturing starts, Outputs and logs shows this line: Loaded {n} cameras, found {m} oblique images, matched {k} camera images. Here n is the number of camera rows read, m the number of photos found in the folder and k the number of cameras whose photo was found.
- If n is zero or lower than expected, check the headers, the units and the CAMERA_ID values.
- If k is zero, the
PHOTO_FILEnames don't match the photo file names.
These problems stop the run before any building is processed and leave a line starting with “Error:” in the log: Worksheet 'EXT_OR' was not found. (or 'CAMERA') when a sheet name is wrong, xl/workbook.xml not found. or a ZIP error when the file isn't a real .xlsx, and an error message when the same CAMERA_ID appears twice in the CAMERA sheet. The progress window closes when the run stops, so you may see the line only briefly.