Kelsidavis-WoWee/src/rendering
Kelsi 5cfb13f714 Keep M2 models permanently in VRAM to eliminate loading hitches
Modern GPUs have 8-16GB VRAM - leverage this to cache all M2 models permanently.

Changes:
- Disabled cleanupUnusedModels() call when tiles unload
- Models now stay in VRAM after initial load, even when tiles unload
- Increased taxi mounting delay from 3s to 5s for more precache time
- Added logging: M2 model count, instance count, and GPU upload duration
- Added debug logging when M2 models are uploaded per tile

This fixes the "building pops up then pause" issue - models were being:
1. Loaded when tile loads
2. Unloaded when tile unloads (behind taxi)
3. Re-loaded when flying through again (causing hitch)

Now models persist in VRAM permanently (few hundred MB for typical session).
First pass loads to VRAM, subsequent passes are instant.
2026-02-08 22:08:42 -08:00
..
camera.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
camera_controller.cpp Fix taxi mount orientation and eliminate tile loading hitches 2026-02-08 22:00:33 -08:00
celestial.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
character_preview.cpp Optimize WMO rendering and collision performance 2026-02-05 17:20:30 -08:00
character_renderer.cpp Fix online interactions, UI, and inventory sync 2026-02-06 18:34:45 -08:00
clouds.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
frustum.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
lens_flare.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
lightning.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
loading_screen.cpp Add loading screen to online mode, fix ImGui frame conflict, truncate log on start 2026-02-06 14:49:53 -08:00
m2_renderer.cpp Fix taxi mount orientation and eliminate tile loading hitches 2026-02-08 22:00:33 -08:00
material.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
mesh.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
minimap.cpp Improve targeting, minimap, and bridge collisions 2026-02-07 20:51:53 -08:00
performance_hud.cpp Optimize WMO rendering and collision performance 2026-02-05 17:20:30 -08:00
renderer.cpp Add mount pitch and roll for realistic taxi flight animation 2026-02-08 22:05:38 -08:00
scene.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
shader.cpp Performance optimizations and collision improvements 2026-02-02 23:03:45 -08:00
skybox.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
starfield.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
swim_effects.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
terrain_manager.cpp Keep M2 models permanently in VRAM to eliminate loading hitches 2026-02-08 22:08:42 -08:00
terrain_renderer.cpp Preload terrain textures on background thread and fix ramp Z-snapping 2026-02-08 01:16:23 -08:00
texture.cpp Add centralized anisotropic filtering, fog, and Blinn-Phong specular to all renderers 2026-02-04 15:05:46 -08:00
video_player.cpp Play looping MP4 behind auth screen 2026-02-05 15:34:29 -08:00
water_renderer.cpp Add spellbook, fix WMO floor clipping, and polish UI/visuals 2026-02-04 11:31:08 -08:00
weather.cpp Initial commit: wowee native WoW 3.3.5a client 2026-02-02 13:03:22 -08:00
wmo_renderer.cpp Disable all WMO floor caching including per-frame cache 2026-02-08 20:37:04 -08:00
world_map.cpp Add mount rider bob and hoofbeat sounds, improve world map 2026-02-07 18:38:36 -08:00