From e57e7c2bd4bf0a8682563598d376236779a289b6 Mon Sep 17 00:00:00 2001 From: skal Date: Fri, 13 Feb 2026 16:37:09 +0100 Subject: CNN v2 test tool: Refactoring and video loop support Refactoring: - Extract FULLSCREEN_QUAD_VS shader (reused in mipmap, display, layer viz) - Add helper methods: getDimensions(), setVideoControlsEnabled() - Add section headers and improve code organization (~40 lines saved) - Move Mip Level selector to bottom of left sidebar - Remove "Features (p0-p3)" panel header Features: - Add video loop support (continuous playback) Documentation: - Update CNN_V2_WEB_TOOL.md with latest changes - Document refactoring benefits and code organization - Update UI layout section with current structure Co-Authored-By: Claude Sonnet 4.5 --- tools/cnn_v2_test/index.html | 100 +++++++++++++++++++++++-------------------- 1 file changed, 54 insertions(+), 46 deletions(-) (limited to 'tools') diff --git a/tools/cnn_v2_test/index.html b/tools/cnn_v2_test/index.html index 9a5b2c0..c112905 100644 --- a/tools/cnn_v2_test/index.html +++ b/tools/cnn_v2_test/index.html @@ -316,24 +316,13 @@ - +
@@ -374,8 +373,29 @@