Nikita Lisitsa on Nostr: Split a single large terrain mesh into small chunks (to support terrain modification, ...
Split a single large terrain mesh into small chunks (to support terrain modification, frustum culling, etc), optimizing the mesh generation & data on the way (triangle strips, packed vertices), got 2.5x less generation time & 4x less memory usage 😍
All chunks share the same index buffer + the vertices store only Z coordinate since I can compute X & Y just from a vertex index.
{
"id":"55183cc752579e02c172af16948997512dc03cf0779f04fd80df93972b62dad2",
"pubkey":"87977986ab530929fbaa5c3aa01e151e34ee173665e30cc9325cbf54978cf346",
"created_at":1732368198,
"kind":1,
"tags": [
[
"proxy",
"https://mastodon.gamedev.place/@lisyarus/113532482240398634",
"web"
],
[
"t",
"screenshotsaturday"
],
[
"t",
"indiedev"
],
[
"imeta",
"url https://cdn.masto.host/mastodongamedevplace/media_attachments/files/113/532/477/180/396/967/original/c7f960d3e1198ac2.mp4",
"m video/mp4"
],
[
"proxy",
"https://mastodon.gamedev.place/users/lisyarus/statuses/113532482240398634",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.gamedev.place/users/lisyarus/statuses/113532482240398634",
"pink.momostr"
],
[
"-"
]
],
"content":"Split a single large terrain mesh into small chunks (to support terrain modification, frustum culling, etc), optimizing the mesh generation \u0026 data on the way (triangle strips, packed vertices), got 2.5x less generation time \u0026 4x less memory usage 😍\n\nAll chunks share the same index buffer + the vertices store only Z coordinate since I can compute X \u0026 Y just from a vertex index.\n\n#indiedev #screenshotsaturday\nhttps://cdn.masto.host/mastodongamedevplace/media_attachments/files/113/532/477/180/396/967/original/c7f960d3e1198ac2.mp4\n",
"sig":"eb315ff9829036a47a8d68562d26cbff26c0d2242670fb987bd0b4d9f1831cd38bd736d4201b79baaedaca12ae6178deb2b6637b32648a6d0b0241afd01d7f97"
}