3D engine that AI agents drive
Add change notes for the water mirror reuse check (part of #388)
Nguyen Xuan An25a6248377b6
diff --git a/changes/388-mirror-reuse.md b/changes/388-mirror-reuse.mdnew file mode 100644index 00000000..a28a01d0--- /dev/null+++ b/changes/388-mirror-reuse.md@@ -0,0 +1 @@+- Draw a world with water faster when the sky is a large environment map (issue #388): the check that decides whether the water mirror picture can be reused no longer walks the sky's pixels one by one every frame, so a still frame of the container port no longer spends about 170 ms of CPU on it. A typed array of more than 65,536 values in a frame (a sky or texture payload) is now compared by identity; smaller ones, such as the eye position, still compare by value.diff --git a/changes/388-mirror-reuse.size.md b/changes/388-mirror-reuse.size.mdnew file mode 100644index 00000000..0ac27bd6--- /dev/null+++ b/changes/388-mirror-reuse.size.md@@ -0,0 +1,2 @@+- entry:water-reflection: grew 100 bytes gzip (13057 to 13157) for the typed-array comparison; a still frame of the container port at 1080p on an RTX 3060 goes from 112-187 ms to 0.6-1.7 ms+- entry:core, scene:lit-box and scene:agent-scene: unchanged to the byte