diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2025-07-26 14:44:33 +0100 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2025-07-26 14:44:33 +0100 |
| commit | 7b06f4e9958562f3df09eecc368e92af013e5b39 (patch) | |
| tree | 14050e7bd1d77cee6b806b07d177bd8734a73e6d /index.html | |
| parent | ebcef463bb6c447e788c90fe4235f2504de186d3 (diff) | |
| download | js-raytracer-7b06f4e9958562f3df09eecc368e92af013e5b39.tar.xz js-raytracer-7b06f4e9958562f3df09eecc368e92af013e5b39.zip | |
Add configurable render chunk size
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -83,6 +83,20 @@ </div> <div class="form-group"> <label class="form-group"> + <label id="chunk-size-label" class="form-label label-sm" for="res">Chunk size</label> + <select id="chunk-size" class="form-select select-sm"> + <option value="0" selected>Auto</option> + <option value="8">8x8</option> + <option value="16">16x16</option> + <option value="32">32x32</option> + <option value="64">64x64</option> + <option value="128">128x128</option> + <option value="256">256x256</option> + </select> + </label> + </div> + <div class="form-group"> + <label class="form-group"> <label id="chunk-allocation-mode-label" class="form-label label-sm" for="res">Chunk allocation mode</label> <select id="chunk-allocation-mode" class="form-select select-sm"> <option value="SEQUENTIAL" selected>Sequential</option> @@ -106,7 +120,8 @@ </select> </div> <button id="render" class="btn btn-primary">Render</button> - <button id="view-full" class="btn btn-link">View full image</button> + <button id="stop-render" class="btn btn-link d-hide">Stop render</button> + <button id="view-full" class="btn btn-link d-hide">View full image</button> <pre class="code"><code id="console"></code></pre> </div> </div> |