Mesh file format

From Legacy Roblox Wiki
Jump to navigationJump to search

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