Mesh file format

Revision as of 11:35, 29 October 2023 by Pongo02 (talk | contribs) (This page has been nominated to stay, thank you very much!)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Version 1

This is the human readable format. It is that format that blender is often used to export to. Whitespace is completely ignored, with the exception of the line breaks on the first two lines. There may be CRLF-related issues as well.

version 1.00
Number of triangles
[Coordinate of first vertex ] [Normal vector at first vertex ] [texture location at first vertex , 0]
[Coordinate of second vertex] [Normal vector at second vertex] [texture location at second vertex, 0]
[Coordinate of third vertex ] [Normal vector at third vertex ] [texture location at third vertex , 0]
[Coordinate of first vertex ] [Normal vector at first vertex ] [texture location at first vertex , 0]
[Coordinate of second vertex] [Normal vector at second vertex] [texture location at second vertex, 0]
[Coordinate of third vertex ] [Normal vector at third vertex ] [texture location at third vertex , 0]
[Coordinate of first vertex ] [Normal vector at first vertex ] [texture location at first vertex , 0]
[Coordinate of second vertex] [Normal vector at second vertex] [texture location at second vertex, 0]
[Coordinate of third vertex ] [Normal vector at third vertex ] [texture location at third vertex , 0]
...

Version 2

Work in progress