CDN Progressive Format
Jump to navigation
Jump to search
ASCII
The ascii format is a series of lines. There are two types of progressive format updates:
t
Description: Add a triangle at the end of the triangle list. Format:
t v1x v1y v1z n1x n1y n1z s1 t1 v2x v2y v2z n2x n2y n2z s2 t2 v3x v3y v3z n3x n3y n3z s3 t3
u
Description: Update a vertex in an existing triangle. Format:
u tri_index vert_index vx vy vz nx ny nz s t
Example
u 1019 1 340.026 673.774 273.745 -0.129702 0.942153 0.309072 0.47658809643 0.622889051512 u 1018 2 340.026 673.774 273.745 -0.129702 0.942153 0.309072 0.47658809643 0.622889051512 u 1017 1 340.026 673.774 273.745 -0.129702 0.942153 0.309072 0.47658809643 0.622889051512 u 1016 2 340.026 673.774 273.745 -0.129702 0.942153 0.309072 0.47658809643 0.622889051512 t 297.959 661.148 284.938 -0.202967 0.908945 0.364176 0.746665141185 0.54192551248 340.026 673.774 273.745 -0.129702 0.942153 0.309072 0.47658809643 0.622889051512 332.844 676.673 253.65 -0.161151 0.972223 0.169743 0.71931608616 0.527522427365
Binary
To come