Kelsidavis-WoWee/include/rendering
Kelsi 884b72bc1c Incremental terrain upload + M2 instance dedup hash for city stutter
Terrain finalization was uploading all 256 chunks (GPU fence waits) in one
atomic advanceFinalization call that couldn't be interrupted by the 5ms time
budget. Now split into incremental batches of 16 chunks per call, allowing
the time budget to yield between batches.

M2 instance creation had O(N) dedup scans iterating ALL instances to check
for duplicates. In cities with 5000+ doodads, this caused O(N²) total work
during tile loading. Replaced with hash-based DedupKey map for O(1) lookups.

Changes:
- TerrainRenderer::loadTerrainIncremental: uploads N chunks per call
- FinalizingTile tracks terrainChunkNext for cross-frame progress
- TERRAIN phase yields after preload and after each chunk batch
- M2Renderer::DedupKey hash map replaces linear scan in createInstance
  and createInstanceWithMatrix
- Dedup map maintained through rebuildSpatialIndex and clear paths
2026-03-07 11:59:19 -08:00
..
camera.hpp Fix camera occlusion and stabilize WMO/M2 collision behavior 2026-02-03 16:04:21 -08:00
camera_controller.hpp Suppress movement after teleport/portal, add shadow distance slider 2026-03-06 20:38:58 -08:00
celestial.hpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
character_preview.hpp Fix character preview facing and add 4x MSAA to preview render target 2026-02-23 10:48:26 -08:00
character_renderer.hpp Fix glow sprite flashing, move fadeAlpha to push constants, throttle character bones 2026-03-04 08:17:32 -08:00
charge_effect.hpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
clouds.hpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
frustum.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
lens_flare.hpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
levelup_effect.hpp Add 3D level-up effect using LevelUp.m2 spell model 2026-02-19 20:36:25 -08:00
lighting_manager.hpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
lightning.hpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
loading_screen.hpp Fix loading screen graphical artifacts on window resize 2026-02-25 03:45:13 -08:00
m2_renderer.hpp Incremental terrain upload + M2 instance dedup hash for city stutter 2026-03-07 11:59:19 -08:00
material.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
mesh.hpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
minimap.hpp Fix sun quad visibility, minimap opacity, audio scaling, and rename music toggle 2026-02-23 08:01:20 -08:00
mount_dust.hpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
performance_hud.hpp Add gameplay systems: combat, spells, groups, loot, vendors, and UI 2026-02-04 10:31:03 -08:00
quest_marker_renderer.hpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
renderer.hpp Suppress movement after teleport/portal, add shadow distance slider 2026-03-06 20:38:58 -08:00
scene.hpp Optimize release builds: LTO, -O3, visibility, micro-perf fixes 2026-02-18 20:10:47 -08:00
shader.hpp Implement shadow mapping pipeline for terrain and models 2026-02-04 16:08:35 -08:00
sky_system.hpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
skybox.hpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
starfield.hpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
swim_effects.hpp Add ambient insect particles near water vegetation, fix firefly particles, and improve water foam 2026-02-23 07:18:44 -08:00
terrain_manager.hpp Incremental terrain upload + M2 instance dedup hash for city stutter 2026-03-07 11:59:19 -08:00
terrain_renderer.hpp Incremental terrain upload + M2 instance dedup hash for city stutter 2026-03-07 11:59:19 -08:00
texture.hpp Add centralized anisotropic filtering, fog, and Blinn-Phong specular to all renderers 2026-02-04 15:05:46 -08:00
video_player.hpp Play looping MP4 behind auth screen 2026-02-05 15:34:29 -08:00
vk_buffer.hpp Vulcan Nightmare 2026-02-21 22:04:17 -08:00
vk_context.hpp Fix Stockades crash: suppress area triggers on initial login, handle VK_ERROR_DEVICE_LOST 2026-03-02 08:19:14 -08:00
vk_frame_data.hpp Vulcan Nightmare 2026-02-21 22:04:17 -08:00
vk_pipeline.hpp Fix specular direction by correcting front face winding for Vulkan Y-flip 2026-02-23 04:02:21 -08:00
vk_render_target.hpp Fix character preview facing and add 4x MSAA to preview render target 2026-02-23 10:48:26 -08:00
vk_shader.hpp Vulcan Nightmare 2026-02-21 22:04:17 -08:00
vk_texture.hpp Vulcan Nightmare 2026-02-21 22:04:17 -08:00
vk_utils.hpp Fix all build warnings 2026-02-23 19:16:47 -08:00
water_renderer.hpp Add water refraction toggle with per-frame scene history 2026-03-06 19:15:34 -08:00
weather.hpp Enhanced sky atmosphere with DBC-driven colors, sun lighting, and zone weather 2026-02-22 23:20:13 -08:00
wmo_renderer.hpp Ironforge Great Forge lava, magma water rendering, LavaSteam particle effects 2026-03-07 00:48:04 -08:00
world_map.hpp Fix map exploration by checking subzone bits instead of only the parent zone bit 2026-02-26 11:01:52 -08:00