|
|
Josh English <eng### [at] spiritonecom> wrote:
: Mesh
: Compression, as I understand it, determines if a mesh has useless triangle and
: removes them from the mesh, replacing them with larger triangles that fit the
: job.
My compressor doesn't do this (you'll have to use a SSS variant if you
want that functionality). It just writes a mesh in a more compact format,
that's it. It preserves all the triangles (well, it can remove degenerate
triangles if asked).
--
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););} /*- Warp -*/
Post a reply to this message
|
|