DRACO_ENCODER(1)

πŸ’– DRACO_ENCODER πŸ’–

okay bestie, so this is the manual for draco_encoder β€” that's the DRACO_ENCODER(1) page, part of the Draco Compression set of man pages. sit down, grab a boba, we're compressing some 3D stuff together 🧚✨


✨ NAME ✨

draco_encoder β€” compress 3D geometric meshes and point clouds πŸ¦‹

like. it squishes your 3D files. that's the whole gig. and it does it beautifully.


🌸 SYNOPSIS 🌸

draco_encoder -i input [-o output] [options]

that's it, that's the shape of it. input in, output out, options sprinkled on top like glitter πŸ’…


πŸ‘‘ DESCRIPTION πŸ‘‘

so, Draco is a format for efficient compression of 3D graphics data β€” think geometric meshes, think point clouds, the whole 3D vibe. and draco_encoder is the tool that does the compressing. it's giving main character energy in the compression department, no cap.

here's every option you can throw at it. don't skip a single one, i stg, they all matter 🫢

πŸŽ€ the options πŸŽ€

  • -i input β€” the input file name, and it has to be in .ply or .obj format. that's the one you need, periodt.
  • -o output β€” the output file name. where the magic lands ✨
  • -qp value β€” quantization bits for the position. default is 11.
  • -qt value β€” quantization bits for the texture coordinates. default is 10.
  • -qn value β€” quantization bits for the normal vector. default is 8.
  • -qg value β€” quantization bits for any generic attribute. default is 8.
  • -cl value β€” compression level, and it goes from 0 to 10. default is 7.
  • --skip attribute β€” skip a given attribute. the attributes you can skip are NORMAL, TEX_COORD, and GENERIC. bye bestie, we don't need you πŸ™ˆ
  • --metadata β€” use metadata to encode extra information in mesh files. extra info?? we love extra info πŸ’œ
  • -point_cloud β€” force the input to be encoded as a point cloud. it's not gonna guess, it's gonna commit πŸ”₯
⚠️ okay important one, listen up: negative quantization values will skip the specified attribute. so if you go negative on a -q flag, that attribute is just gone. not reduced, not compressed, skipped. be so serious when you do that πŸ’€

🌈 SEE ALSO 🌈

your other faves, your little squad:


and that's the whole page, bestie!! go forth and compress responsibly πŸ’–βœ¨πŸŽ€

this was DRACO_ENCODER(1) from the Draco Compression manual set β€” mwah, love you, bye πŸ¦‹πŸŒΈπŸ’