feat(demos): add RGB cube demo, light source demo, and extended benchmark feat
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Tue, 12 May 2026 19:09:30 +0000 (22:09 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Tue, 12 May 2026 19:09:30 +0000 (22:09 +0300)
commit1b330a83159aea7acd64a2bb313dea654c34bac3
treeb6f6559d5b7d3bf02074b6b2bd2c19b51818fe1e
parentea43d267646514898b8f0d5a43556c27b902b320
feat(demos): add RGB cube demo, light source demo, and extended benchmark

Add RGBCubeDemo: volumetric 10x10x10 color cube with textured triangles
and per-cell color mapping (X=Red, Y=Green, Z=Blue).

Add LightSourceDemo: white sphere illuminated by two colored lights
(yellow + blue) demonstrating multiple light contribution and shading.

Extend GraphicsBenchmark with short/extended test modes. Extended mode
measures thread scaling from 1 to available cores with a 1.5x step
factor, outputting a matrix of FPS per test x thread count.

Update AGENTS.md to reflect current code organization. Remove
ArrowDemo.java and doc/overview.png. Add screenshots for lights and
RGB cube. Move inline TODOs from index.org to sixth-3d/TODO.org.

Update TexturedCubesTest to use TextureGenerator.glowingBorder instead
of inline AWT texture creation.
12 files changed:
AGENTS.md
doc/Screenshots/Essentials/Lights.png [new file with mode: 0644]
doc/Screenshots/RGB cube.png [new file with mode: 0644]
doc/index.org
doc/overview.png [deleted file]
src/main/java/eu/svjatoslav/sixth/e3d/examples/ArrowDemo.java [deleted file]
src/main/java/eu/svjatoslav/sixth/e3d/examples/RGBCubeDemo.java [new file with mode: 0644]
src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/GraphicsBenchmark.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/TestResult.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/benchmark/TexturedCubesTest.java
src/main/java/eu/svjatoslav/sixth/e3d/examples/essentials/LightSourceDemo.java [new file with mode: 0644]
src/main/java/eu/svjatoslav/sixth/e3d/examples/launcher/ApplicationListPanel.java