rayzee 5.9.1 → 5.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/rayzee.es.js +20 -16
- package/dist/rayzee.es.js.map +1 -1
- package/dist/rayzee.umd.js +2 -2
- package/dist/rayzee.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/EngineDefaults.js +2 -2
- package/src/Passes/OIDNDenoiser.js +8 -8
package/package.json
CHANGED
package/src/EngineDefaults.js
CHANGED
|
@@ -439,8 +439,8 @@ export const DEFAULT_TEXTURE_MATRIX = [ 0, 0, 1, 1, 0, 0, 0, 1 ];
|
|
|
439
439
|
// Render mode configurations
|
|
440
440
|
export const FINAL_RENDER_CONFIG = {
|
|
441
441
|
maxSamples: 30, bounces: 20, transmissiveBounces: 8, samplesPerPixel: 1,
|
|
442
|
-
renderMode: 1, enableAlphaShadows: true, tiles: 3, tilesHelper:
|
|
443
|
-
enableOIDN: true, oidnQuality: '
|
|
442
|
+
renderMode: 1, enableAlphaShadows: true, tiles: 3, tilesHelper: true,
|
|
443
|
+
enableOIDN: true, oidnQuality: 'high',
|
|
444
444
|
interactionModeEnabled: false,
|
|
445
445
|
};
|
|
446
446
|
|
|
@@ -657,14 +657,6 @@ export class OIDNDenoiser extends EventDispatcher {
|
|
|
657
657
|
// row-by-row copyBufferToBuffer (no stride support in WebGPU buffer copies).
|
|
658
658
|
if ( ! outputData?.data || ! tile ) return;
|
|
659
659
|
|
|
660
|
-
// Emit tile progress for OverlayManager's TileHelper
|
|
661
|
-
this.dispatchEvent( {
|
|
662
|
-
type: 'tileProgress',
|
|
663
|
-
tile,
|
|
664
|
-
imageWidth: outputData.width,
|
|
665
|
-
imageHeight: outputData.height
|
|
666
|
-
} );
|
|
667
|
-
|
|
668
660
|
const device = this.gpuDevice;
|
|
669
661
|
const fullWidth = outputData.width;
|
|
670
662
|
const fullHeight = outputData.height;
|
|
@@ -745,6 +737,14 @@ export class OIDNDenoiser extends EventDispatcher {
|
|
|
745
737
|
this._pendingStagingBuffers.delete( staging );
|
|
746
738
|
this.ctx.putImageData( tileImageData, tile.x, tile.y );
|
|
747
739
|
|
|
740
|
+
// Emit tile progress for OverlayManager's TileHelper
|
|
741
|
+
this.dispatchEvent( {
|
|
742
|
+
type: 'tileProgress',
|
|
743
|
+
tile: { x: tile.x, y: tile.y, width: clampedW, height: clampedH },
|
|
744
|
+
imageWidth: fullWidth,
|
|
745
|
+
imageHeight: fullHeight
|
|
746
|
+
} );
|
|
747
|
+
|
|
748
748
|
} ).catch( () => {
|
|
749
749
|
|
|
750
750
|
// mapAsync rejected (abort or GPU lost) — destroy the buffer
|