star-mesh

Define and load a binary data format for meshes
git clone git://git.meso-star.fr/star-mesh.git
Log | Files | Refs | README | LICENSE

commit 58791dbfc4904098d549e63ecbf5bbf79a12782e
parent 08353b96aecf2520323d3dccaa76d2a3874937b6
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 10 Mar 2022 14:45:57 +0100

Draft of the fileformat

Diffstat:
Adoc/stri.txt | 20++++++++++++++++++++
1 file changed, 20 insertions(+), 0 deletions(-)

diff --git a/doc/stri.txt b/doc/stri.txt @@ -0,0 +1,20 @@ +<stri> ::= <pagesize> <#vertices> <#triangles> + <padding> + <positions> + <padding> + <indices> + <padding> +<pagesize> ::= INT64 +<#vertices> ::= INT64 +<#triangles> ::= INT64 +<padding> ::= [ BYTE ... ] + +<positions> ::= <vertex-pos> + [ <vertex-pos> ... ] + +<indices> ::= <triangle-ids> + [ <triangle-ids> ... ] + +<vertex-pos> ::= DOUBLE DOUBLE DOUBLE +<triangle-ids> ::= INT64 INT64 INT64 +