objectformat.txt
来自「allows the user to select files containi」· 文本 代码 · 共 34 行
TXT
34 行
Format of the object files (.pts)
----------------------------------------
Each object is formed by creating an polygonal mesh using a bidimensional matrix of 3D
points. Each point is connected with it's horizontal and vertical neighbours, as shown
by the following drawing:
o----o----o----o----o----o-- ... --o
| | | | | | |
o----o----o----o----o----o-- ... --o
| | | | | | |
o----o----o----o----o----o-- ... --o
| | | | | | |
o----o----o----o----o----o-- ... --o
| | | | | | |
. . . . . . .
. . . . . . .
. . . . . . .
| | | | | | |
o----o----o----o----o----o-- ... --o
The contents of the pts files it's nothing more than a listing of the matrix that composes
the object. In the header of the file there are three lines with information about the matrix
dimensions and object topology. After that you have the matrix's points, one by line and the
matrix filling should be done by lines.
If the flag is 1, it means that the last column column connects to the first one, making a
closed object.
Example:
--------
1
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?