From 8037d13729214338360906478f8b8f97587cbc70 Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Mon, 12 Oct 2026 23:57:25 +0300 Subject: [PATCH] wip --- Documentation/Global illumination/index.org | 41 ++++++++++----------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/Documentation/Global illumination/index.org b/Documentation/Global illumination/index.org index b7eec99..62a09e5 100644 --- a/Documentation/Global illumination/index.org +++ b/Documentation/Global illumination/index.org @@ -554,8 +554,7 @@ by GI threads: reached each lamp (written in generation 1; direct light is always derived from these bytes, never stored separately). -The fields, on -[[https://www3.svjatoslav.eu/projects/aukio-3d/apidocs/eu/svjatoslav/aukio/e3d/renderer/raster/gi/Lightmap.html][Lightmap]]: +The fields, on [[https://www3.svjatoslav.eu/projects/aukio-3d/apidocs/eu/svjatoslav/aukio/e3d/renderer/raster/gi/Lightmap.html][Lightmap]]: #+BEGIN_SRC java /** Accumulated indirect total and the two generation buffers @@ -715,17 +714,17 @@ viewPanel.enableGlobalIllumination(4); Tuning knobs (system properties): -|| Property | Default | Effect || -||---------------------------+---------+-----------------------------------------|| -|| =e3d.gi.generations= | 6 | total generations: 1 = direct, each more = +1 bounce || -|| =e3d.gi.samples= | 8 | bounce rays per texel per generation, averaged || -|| =e3d.gi.deltaThreshold= | 0.5 | early stop: generation mean delta (light units) || -|| =e3d.gi.initialIrradiance=| 255 | initial un-baked brightness (255 = true colors) || -|| =e3d.gi.despeckle= | true | neighbor-smoothing of indirect at composite time || -|| =e3d.gi.minRebuildMs= | 1000 | snapshot rebuild rate limit (streaming worlds) || -|| =e3d.gi.stage3TexelFactor=| 4 | stage-3 lightmap coarsening: units-per-texel multiplier || -|| =e3d.gi.debug= | false | generation statistics to stdout || -|| =e3d.gi.dumpLightmaps= | (unset) | dump composite lightmaps as PNGs to the given dir || +| Property | Default | Effect | | +|----------------------------+---------+---------------------------------------------------------+---| +| =e3d.gi.generations= | 6 | total generations: 1 = direct, each more = +1 bounce | | +| =e3d.gi.samples= | 8 | bounce rays per texel per generation, averaged | | +| =e3d.gi.deltaThreshold= | 0.5 | early stop: generation mean delta (light units) | | +| =e3d.gi.initialIrradiance= | 255 | initial un-baked brightness (255 = true colors) | | +| =e3d.gi.despeckle= | true | neighbor-smoothing of indirect at composite time | | +| =e3d.gi.minRebuildMs= | 1000 | snapshot rebuild rate limit (streaming worlds) | | +| =e3d.gi.stage3TexelFactor= | 4 | stage-3 lightmap coarsening: units-per-texel multiplier | | +| =e3d.gi.debug= | false | generation statistics to stdout | | +| =e3d.gi.dumpLightmaps= | (unset) | dump composite lightmaps as PNGs to the given dir | | * Coordinate spaces: lights are world, geometry is local :PROPERTIES: @@ -772,11 +771,11 @@ unsupported; this is the same rule, one level up. :CUSTOM_ID: related-classes :END: -|| Class | Purpose || -||----------------------+---------------------------------------------------------------|| -|| [[https://www3.svjatoslav.eu/projects/aukio-3d/apidocs/eu/svjatoslav/aukio/e3d/renderer/raster/gi/GlobalIllumination.html][GlobalIllumination]] | Generation baker: barrier scheduling, rollovers, composites || -|| [[https://www3.svjatoslav.eu/projects/aukio-3d/apidocs/eu/svjatoslav/aukio/e3d/renderer/raster/gi/Lightmap.html][Lightmap]] | Per-triangle texel state + double-buffered composite textures || -|| [[https://www3.svjatoslav.eu/projects/aukio-3d/apidocs/eu/svjatoslav/aukio/e3d/renderer/raster/gi/LightmappedTriangle.html][LightmappedTriangle]] | Textured triangle whose texture is the GI composite || -|| [[https://www3.svjatoslav.eu/projects/aukio-3d/apidocs/eu/svjatoslav/aukio/e3d/renderer/raster/gi/TriangleBvh.html][TriangleBvh]] | BVH over world triangles: nearest-hit and any-hit ray queries (Möller–Trumbore) || -|| [[https://www3.svjatoslav.eu/projects/aukio-3d/apidocs/eu/svjatoslav/aukio/e3d/renderer/raster/lighting/GiLightProvider.html][GiLightProvider]] | Cache-read interface feeding the flat-shading path || -|| [[https://www3.svjatoslav.eu/projects/aukio-3d/apidocs/eu/svjatoslav/aukio/e3d/renderer/raster/shapes/composite/LightmappedCompositeShape.html][LightmappedCompositeShape]] | Wraps polygons into lightmapped triangles || +| Class | Purpose | +|---------------------------+---------------------------------------------------------------------------------| +| [[https://www3.svjatoslav.eu/projects/aukio-3d/apidocs/eu/svjatoslav/aukio/e3d/renderer/raster/gi/GlobalIllumination.html][GlobalIllumination]] | Generation baker: barrier scheduling, rollovers, composites | +| [[https://www3.svjatoslav.eu/projects/aukio-3d/apidocs/eu/svjatoslav/aukio/e3d/renderer/raster/gi/Lightmap.html][Lightmap]] | Per-triangle texel state + double-buffered composite textures | +| [[https://www3.svjatoslav.eu/projects/aukio-3d/apidocs/eu/svjatoslav/aukio/e3d/renderer/raster/gi/LightmappedTriangle.html][LightmappedTriangle]] | Textured triangle whose texture is the GI composite | +| [[https://www3.svjatoslav.eu/projects/aukio-3d/apidocs/eu/svjatoslav/aukio/e3d/renderer/raster/gi/TriangleBvh.html][TriangleBvh]] | BVH over world triangles: nearest-hit and any-hit ray queries (Möller–Trumbore) | +| [[https://www3.svjatoslav.eu/projects/aukio-3d/apidocs/eu/svjatoslav/aukio/e3d/renderer/raster/lighting/GiLightProvider.html][GiLightProvider]] | Cache-read interface feeding the flat-shading path | +| [[https://www3.svjatoslav.eu/projects/aukio-3d/apidocs/eu/svjatoslav/aukio/e3d/renderer/raster/shapes/composite/LightmappedCompositeShape.html][LightmappedCompositeShape]] | Wraps polygons into lightmapped triangles | -- 2.20.1