Mesh file format: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>NXTBoy
Stupid formatting...
>NXTBoy
No edit summary
Line 1: Line 1:
==Version 1==
==Version 1==
This is the human readable format. It is that format that blender is often used to export to.
<{{1x|pre}}>
<{{1x|pre}}>
version 1.00
version 1.00
'''Number of triangles'''
{{EmphasisBox|Number of triangles|red|dark=yes}}{{EmphasisBox|{{EmphasisBox|['''Coordinate of first vertex''' ] ['''Normal vector at first vertex''' ] ['''texture location at first vertex''' , 0]|red|dark=yes|margin-top:0}}{{EmphasisBox|['''Coordinate of second vertex'''] ['''Normal vector at second vertex'''] ['''texture location at second vertex''', 0]|red|dark=yes}}{{EmphasisBox|['''Coordinate of third vertex''' ] ['''Normal vector at third vertex''' ] ['''texture location at third vertex''' , 0]|red|dark=yes|margin-bottom:0}}}}{{EmphasisBox|{{EmphasisBox|['''Coordinate of first vertex''' ] ['''Normal vector at first vertex''' ] ['''texture location at first vertex''' , 0]|red|dark=yes|margin-top:0}}{{EmphasisBox|['''Coordinate of second vertex'''] ['''Normal vector at second vertex'''] ['''texture location at second vertex''', 0]|red|dark=yes}}{{EmphasisBox|['''Coordinate of third vertex''' ] ['''Normal vector at third vertex''' ] ['''texture location at third vertex''' , 0]|red|dark=yes|margin-bottom:0}}}}{{EmphasisBox|{{EmphasisBox|['''Coordinate of first vertex''' ] ['''Normal vector at first vertex''' ] ['''texture location at first vertex''' , 0]|red|dark=yes|margin-top:0}}{{EmphasisBox|['''Coordinate of second vertex'''] ['''Normal vector at second vertex'''] ['''texture location at second vertex''', 0]|red|dark=yes}}{{EmphasisBox|['''Coordinate of third vertex''' ] ['''Normal vector at third vertex''' ] ['''texture location at third vertex''' , 0]|red|dark=yes|margin-bottom:0}}}}...
{{EmphasisBox|['''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]}}
</pre>
</pre>
==Version 2==
Work in progress

Revision as of 19:45, 19 October 2010

Version 1

This is the human readable format. It is that format that blender is often used to export to.

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