PreviousNext
Help > Building a 3D Model > Creating and Modifying Objects > Surface Defining/Modifying > Creating Surfaces > Import Silhouettes:
Import Silhouettes:

The Silhouette import file(s) can be imported by clicking the “Import Silhouettes” tool.  You can select and import one or more silhouette mark text files.

An import text file containing one or more silhouette mark definitions can be selected and the marks will be added to the specified photographs.

The import file must be an ASCII text file in the following format:

 

Number of silhouette marks in file

Silhouette Number (or ‘Next’)

Photo Number

Number of poly-line segments

Poly-line segment 1 x,y

Poly-line segment 2 x,y

Poly-line segment 3 x,y

Silhouette Number (or ‘Next’)

Photo Number

Number of poly-line segments

Poly-line segment 1 x,y

Poly-line segment 2 x,y

Poly-line segment 3 x,y

etc.

 

Lines that start with ; are considered to be comments and are ignored on import. Blank lines are also ignored.

A sample file might look like this:

; Number of silhouette marks to add:

3

; id of the first mark to add:

1

; photo to place the first mark on:

1

; number of x,y points in the first mark:

4

; the x,y points of the first mark:

22,130

106,272

160,150

366,54

 

;id of the second mark to add:

1

;photo to place the second mark on:

2

;number of x,y positions in the second mark:

5

; the x,y positions of the second mark:

268,444

500,498

1006,450

524,280

386,332

 

; The third mark (will use the next available silhouette id):

Next

1

4

402.5,234

540,344

700,264.3

548,252

 

;end of file

This sample file would create 3 silhouette marks.  The first one numbered 1 on photo 1 would have 4 x,y poly line positions (22,130 106,272 160,150 and 366,54).  The second mark would also be for silhouette number 1 (meaning this new mark will be referenced to the first mark created) on photo 2. It will have 5 poly line positions (268,444 500,498 1006,450 524,280 and 386,332).  The third mark would be created with the next available silhouette number on photo 1 with 4 x,y poly line positions (402.5,234 540,344 700,264.3 and 548,252).  If any of the marks listed in the file conflict with existing marks in the project (e.g. A mark with the specified id already exists on the specified photo) they will not be added.