Download AC3D Manual

Transcript
Loading and saving files
An AC3D file (usually named <something>.ac) is a text file describing the
geometry of a model. AC3D files retain all available information about a
model built with AC3D e.g. textures, surface settings, materials, object data etc.
Other file formats exported by AC3D may not retain all of this information.
Models should always be saved in this format to ensure that no detail is lost.
Developers can view a description of the file format on the AC3D home page.
AC3D files are loaded by selecting File->Open. This will replace the current
model. To load models in addition to the current model, use File->Merge.
A list of the most recently opened files appears on the File menu. Selecting one
of these causes it to be loaded.
Importing other formats
See the File->Import menu for a list of file types that AC3D cam import.
Full versions of AC3D come with a number of extra Import/Export plugins that
handle more file formats.
The following formats may be useful for importing your own model data.
Triangle files
The format of triangle file is: each line contains 9 floating point numbers and one
hex value e.g.: 0.0 0.0 0.0 1.0 0.0 0.0 1.0 1.0 0.0 0xffffff represents 3 vertices
of a triangle. hex value is 0xRRGGBB col - in this case white duplicate vertices
are aggregated when loaded.
Vector files
This is another simple format for importing 2D vector data. Each line should
consist of a number of vertices followed by the same number x/y coordinate
pairs e.g.
3 0.5 0.5 2.5 2.5 10 5
This represents a line with 3 vertices (0.5, 0.5)(2.5, 2.5)(10, 5)
Exporting files
AC3D User Manual
48