Felix Urbasik on Nostr: "Use GLTF for your 3D assets. It's based on JSON. And JSON is great!" they said. ...
"Use GLTF for your 3D assets. It's based on JSON. And JSON is great!" they said.
Well, I regret to inform you that the majority of the game's asset loading times are parsing JSON.
Yes, decoding meshes, textures and animations and uploading them to the GPU is faster than parsing the stupid JSON. I hate it.
#GameDevelopment #Programming #GLTF #OpenGL #GameDev
Published at
2024-01-30 11:45:09Event JSON
{
"id": "f0ca8b22efe8732e8c057997f273c16453fc0ce5108de949848184983b4cefca",
"pubkey": "1cd800fd0c66a75367393b0eb92c31b7c473d6f329799b24f9ea4f967300a0d2",
"created_at": 1706615109,
"kind": 1,
"tags": [
[
"t",
"gamedevelopment"
],
[
"t",
"programming"
],
[
"t",
"gltf"
],
[
"t",
"opengl"
],
[
"t",
"gamedev"
],
[
"proxy",
"https://ma.fellr.net/users/fell/statuses/111844727840682008",
"activitypub"
]
],
"content": "\"Use GLTF for your 3D assets. It's based on JSON. And JSON is great!\" they said.\n\nWell, I regret to inform you that the majority of the game's asset loading times are parsing JSON.\n\nYes, decoding meshes, textures and animations and uploading them to the GPU is faster than parsing the stupid JSON. I hate it.\n\n#GameDevelopment #Programming #GLTF #OpenGL #GameDev",
"sig": "f9743f78bef05f984593d28405e5299554ecf1db4212d5d4d90e41258143f7a7d55e3d2bbae1701fa1676844aa4546a263cce7fde78c1cb9beeefb8d331d6de3"
}