214
submitted 11 months ago* (last edited 11 months ago) by jackpot@lemmy.ml to c/linux@lemmy.ml

if you could pick a standard format for a purpose what would it be and why?

e.g. flac for lossless audio because...

(yes you can add new categories)

summary:

  1. photos .jxl
  2. open domain image data .exr
  3. videos .av1
  4. lossless audio .flac
  5. lossy audio .opus
  6. subtitles srt/ass
  7. fonts .otf
  8. container mkv (doesnt contain .jxl)
  9. plain text utf-8 (many also say markup but disagree on the implementation)
  10. documents .odt
  11. archive files (this one is causing a bloodbath so i picked randomly) .tar.zst
  12. configuration files toml
  13. typesetting typst
  14. interchange format .ora
  15. models .gltf / .glb
  16. daw session files .dawproject
  17. otdr measurement results .xml
you are viewing a single comment's thread
view the rest of the comments
[-] DumbAceDragon@sh.itjust.works 19 points 11 months ago* (last edited 11 months ago)

.gltf/.glb for models. It's way less of a headache than .obj and .dae, while also being way more feature rich than either.

Either that or .blend, because some things other than blender already support it and it'd make my life so much easier.

[-] mercury@lemmy.blahaj.zone 0 points 11 months ago

USD is basically this, and is supported everywhere, give it a look!

[-] DumbAceDragon@sh.itjust.works 1 points 11 months ago

USD is more for scenes than models. It's meant primarily for stuff like 3dsmax and blender, and is far more complex than gltf.

It's also not really supported everywhere. Pretty much every game engine lacks support for USD, while most (except unity for some reason) have at least some gltf support.

USD is also, at least as far as I'm concerned, dead in the water. I have never encountered a single USD file in the wild, though that might just be because I mainly only work in blender and godot.

I'm not against USD, and I'd love to see it get some more love, but it serves a different purpose than gltf.

[-] mercury@lemmy.blahaj.zone 1 points 11 months ago

Right, haha, I forgot about those! Sorry, I was only really thinking of different modeling software.

[-] tal@lemmy.today 1 points 11 months ago

game engine

So, you were refuting the "supported everywhere" bit. I'm not going to argue with that.

But I will point out that there is a difference between a format that is good for interchange and a format that is good for a game to internally use for rapid loading. I mean, games store things in a lot of ways that you wouldn't want to use for interchange. Games will have textures compressed in texture formats that can be sent straight to the video card, but are relatively space-inefficient; you'd want to use PNG or JPEG or something like that for interchange. You'll often use ZIP to bundle multiple files together; it's not necessarily because it's an ideal archive format, but because it provides indexed access to individual archive elements. Many games use WAV or other uncompressed audio formats that are cheap to load but not terribly space-efficient.

this post was submitted on 03 Oct 2023
214 points (95.3% liked)

Linux

47307 readers
517 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS