maj00r
0bbf07bf11
fix(editor): the images of the materials let go of with all their textures, the browser's Refresh a frame later
...
An image of a material read the material with all its textures, the normal and specular maps and the variants, and only the first one was let go of: those stayed in the memory for every material scrolled past. They are let go of together now (Unload_Material). texture_manager::unload also takes the textures read and not made yet, waiting for a worker still reading one, and deletes the gl texture itself: release() would read it back from the card with gfx.resource.move only for it to be dropped.
The Refresh of the texture browser let go of the images in the middle of the frame, while panels drawn before it could still refer to them; it now marks them, and they go at the start of the next frame.
Checked on td.scn by a scripted run: 8040 images of the picker read a batch every few frames end at 2.0 GB, against 2.3-2.6 GB before this and 1.1 GB at the start; a trackbed material picked from the folder is drawn on the track after its image was let go.
2026-11-16 02:10:59 +01:00
..
2026-10-04 02:27:52 +02:00
2026-10-11 13:22:33 +02:00
2026-10-11 13:22:33 +02:00
2026-04-27 23:03:47 +02:00
2026-11-11 21:34:39 +01:00
2026-11-03 22:00:48 +01:00
2026-03-14 19:16:48 +00:00
2026-10-11 13:22:33 +02:00
2026-10-11 13:22:33 +02:00
2026-11-07 17:12:11 +01:00
2026-11-08 09:35:59 +01:00
2026-11-03 21:50:31 +01:00
2026-10-07 17:13:32 +02:00
2026-10-11 13:22:33 +02:00
2026-10-11 13:22:33 +02:00
2026-10-11 13:22:33 +02:00
2026-03-14 19:01:57 +00:00
2026-10-11 13:22:33 +02:00
2026-03-14 19:16:48 +00:00
2026-11-16 02:10:59 +01:00
2026-11-16 02:10:59 +01:00
2026-11-10 16:22:35 +01:00
2026-11-10 16:22:35 +01:00
2026-10-11 13:22:33 +02:00
2026-10-11 13:22:33 +02:00
2026-10-10 17:35:52 +02:00
Heightmap terrain: .tch chunk packs, streaming with LOD, terrain painting, water and modifiers - terrain/<name>/terrain.yaml + <px>_<pz>.tch packs of 16x16 chunks (250 m, 0.5/1/2/5 m spacing), slices with crc-32 and optional zstd (vendored zstd 1.5.6 in ref/zstd) - heightmap_terrain [name] endheightmap_terrain directive replaces editorterrain - streamer: worker threads, camera + look-ahead loading, geomipmap LOD with skirts, pooled geometry - mat_terrain shader: up to 8 painted layer materials per chunk via texture arrays (opengl33); other renderers fall back to the dominant material - water bodies (outline + level), terrain modifiers (vertical profile shaping kept non-destructive) - F11 Terrain work mode rebuilt: chunks, sculpt, smooth, paint, point spacing, water tools
2026-10-09 21:02:25 +02:00
2026-10-11 13:22:33 +02:00
2026-10-11 13:22:33 +02:00
2026-03-14 19:16:48 +00:00
2026-03-14 19:16:48 +00:00
2026-10-11 13:22:33 +02:00
2026-10-11 13:22:33 +02:00
2026-05-02 14:40:31 +02:00
2026-03-14 19:16:48 +00:00
2026-03-14 19:01:57 +00:00
2026-10-11 13:22:33 +02:00
2026-10-11 13:22:33 +02:00
2026-03-14 19:01:57 +00:00
2026-10-11 13:22:33 +02:00
2026-03-14 19:16:48 +00:00
2026-11-16 02:10:59 +01:00
2026-11-16 02:10:59 +01:00
2026-10-11 13:22:33 +02:00
2026-03-14 19:01:57 +00:00
2026-11-07 11:38:49 +01:00
2026-10-11 13:22:33 +02:00
2026-10-04 20:00:13 +02:00
2026-03-14 19:01:57 +00:00
Heightmap terrain: .tch chunk packs, streaming with LOD, terrain painting, water and modifiers - terrain/<name>/terrain.yaml + <px>_<pz>.tch packs of 16x16 chunks (250 m, 0.5/1/2/5 m spacing), slices with crc-32 and optional zstd (vendored zstd 1.5.6 in ref/zstd) - heightmap_terrain [name] endheightmap_terrain directive replaces editorterrain - streamer: worker threads, camera + look-ahead loading, geomipmap LOD with skirts, pooled geometry - mat_terrain shader: up to 8 painted layer materials per chunk via texture arrays (opengl33); other renderers fall back to the dominant material - water bodies (outline + level), terrain modifiers (vertical profile shaping kept non-destructive) - F11 Terrain work mode rebuilt: chunks, sculpt, smooth, paint, point spacing, water tools
2026-10-09 21:02:25 +02:00
2026-11-16 02:10:59 +01:00
2026-10-11 13:22:33 +02:00
2026-03-14 19:01:57 +00:00