VS3D / VScad3 User's Guide

Contents

Overview

Installation

Guided Tour

VS3D Index

VScad3 Index

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

.

VS3D File Menu

1.1.2 Import continued.

"File / Import => VS3D Raw ASCII (.vsa)..." : This will load or merge a ".vsa" relief sculpture surface. After selecting a file, the "Import VS3D Raw Relief surface" dialog will appear. This dialog has the same three settings as the Import VS3D Raw Binary file function.

The ".vsa" files do not contain a region in addition to a surface, but they can be loaded directly as a region via the "File / Region => Import => VS3D Raw ASCII (.vsa)..." menu.

The ".vsa" file format is as follows:

First line: must start with "VS3D" (without the quotes). Anything after that on the first line is ignored.
Next line: An integer specifying the X dimension of the grid in grid points ("X_Grid").
Next line: An integer specifying the Y dimension of the grid in grid points ("Y_Grid").
Next line: Two floating-point numbers specifying the minimum and maximum X data coordinate values.
Next line: Two floating-point numbers specifying the minimum and maximum Y data coordinate values.
Remaining Lines: Floating-point Z height values. There must be X_Grid * Y_Grid values.
The values are arranged such that the lower left grid point is first, followed by the remaining values on the bottom row.
The second row from the bottom follows that. The upper right point in the grid is last.

All values can be separated by a comma (","), a space, a tab, a line-feed, or a carriage return. Note that the binary ".vsb" file format is similar, but considerably more compact. An example of the first part of a ".vsa" file is below:

VS3D 1.0
512
512
-1.0 1.0
-1.0 1.0
0.0 0.0 0.001 0.002 0.003 0.002 ...
0.0 0.01 0.009 0.005 0.0 0.0 0.1 ...
...

 

< PREV

1.1.2 B

NEXT >