rayzee 11.10.0 → 11.12.0
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/{ArchiveImporter-B4Qz5BGT.js → ArchiveImporter-vUowipjh.js} +27 -12
- package/dist/{BidirectionalIntegrator-ZrCN3uyc.js → BidirectionalIntegrator-DPh6PSYb.js} +295 -295
- package/dist/{BufferLayout-Bzgccg1o.js → BufferLayout-BROyMqO1.js} +3 -1
- package/dist/{ColorManagement-B_HjAiy2.js → ColorManagement-3xw0xXRg.js} +859 -374
- package/dist/{NeuralRetouch-BtzPRZSB.js → NeuralRetouch-wwAwssFM.js} +1 -1
- package/dist/{NeuralSuperRes-B2V-vlHN.js → NeuralSuperRes-DqV4v_gQ.js} +6 -6
- package/dist/{PathTracer-CuO_bS6Z.js → PathTracer-DW-ElMON.js} +3037 -3002
- package/dist/{PhysicalSky-NdPIyVqP.js → PhysicalSky-Ispr77Lf.js} +45 -45
- package/dist/{RayzeeRenderer-BOJsV6Sj.js → RayzeeRenderer-CPbY683A.js} +380 -320
- package/dist/{SceneMetadata-DiQpoDtm.js → SceneMetadata-BNA22-m3.js} +1 -1
- package/dist/SolarLimb-ZYl-Pwl0.js +821 -0
- package/dist/addons/archives.es.js +1 -1
- package/dist/addons/bidirectional.es.js +1 -1
- package/dist/addons/color.es.js +2 -2
- package/dist/addons/physical-sky.es.js +1 -1
- package/dist/rayzee-core.es.js +6 -6
- package/dist/rayzee.es.js +677 -667
- package/dist/rayzee.umd.js +110 -110
- package/dist/{sceneCachePolicy-EwLlPi01.js → sceneCachePolicy-BLvdjkVh.js} +12 -5
- package/package.json +1 -1
- package/src/Color/BakedViews.js +5 -2
- package/src/Color/BasicColor.js +27 -0
- package/src/Color/ColorManagement.js +255 -11
- package/src/Color/Displays.js +149 -7
- package/src/Color/OcioRuntime.js +19 -4
- package/src/Color/OcioViews.js +251 -37
- package/src/EngineDefaults.js +3 -0
- package/src/Passes/AIUpscaler.js +6 -2
- package/src/PathTracerApp.js +2 -0
- package/src/Processor/BufferLayout.js +7 -6
- package/src/Processor/GeometryExtractor.js +8 -1
- package/src/Processor/MaterialPacking.js +5 -8
- package/src/Processor/PBRT/PBRTMaterials.js +2 -0
- package/src/Processor/PBRT/PBRTSceneBuilder.js +4 -3
- package/src/Processor/SceneProcessor.js +6 -2
- package/src/Processor/USD/USDScene.js +17 -1
- package/src/Processor/utils.js +1 -156
- package/src/RayzeeRenderer.js +54 -9
- package/src/Stages/Compositor.js +86 -3
- package/src/Stages/PathTracer.js +9 -0
- package/src/Storage/SceneGraphCodec.js +2 -0
- package/src/TSL/Clearcoat.js +4 -4
- package/src/TSL/Common.js +36 -25
- package/src/TSL/EmissiveSampling.js +1 -1
- package/src/TSL/LightsSampling.js +1 -1
- package/src/TSL/MaterialEvaluation.js +34 -14
- package/src/TSL/MaterialProperties.js +37 -1
- package/src/TSL/MaterialTransmission.js +3 -9
- package/src/TSL/PathTracerCore.js +3 -2
- package/src/TSL/SceneResources.js +12 -1
- package/src/TSL/ShadeKernel.js +63 -14
- package/src/TSL/Struct.js +6 -0
- package/src/TSL/TextureSampling.js +29 -23
- package/src/addons/color.js +2 -2
- package/src/index.js +2 -2
- package/src/managers/DenoisingManager.js +18 -4
- package/src/managers/MaterialDataManager.js +21 -1
- package/src/managers/VideoRenderManager.js +10 -1
- package/src/neural/NeuralSuperRes.js +5 -5
- package/dist/SolarLimb-DRYy8tln.js +0 -774
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./BidirectionalIntegrator-
|
|
1
|
+
import { n as e } from "./BidirectionalIntegrator-DPh6PSYb.js";
|
|
2
2
|
import { r as t } from "./Logger-dDDGj9Av.js";
|
|
3
3
|
import { n } from "./AssetConfig-DSEntE65.js";
|
|
4
4
|
import { t as r } from "./ToneMapGPU-4GPwoG_c.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./BidirectionalIntegrator-
|
|
1
|
+
import { n as e } from "./BidirectionalIntegrator-DPh6PSYb.js";
|
|
2
2
|
import { t } from "./EngineEvents-CLckhYbL.js";
|
|
3
3
|
import { r as n } from "./Logger-dDDGj9Av.js";
|
|
4
4
|
import { n as r } from "./AssetConfig-DSEntE65.js";
|
|
@@ -219,7 +219,7 @@ async function v(e, { outputWidth: t, outputHeight: n, samples: r = 64, upscaler
|
|
|
219
219
|
saturation: e.settings.get("saturation") ?? 1,
|
|
220
220
|
gain: e._displayGain?.() ?? null
|
|
221
221
|
}, { rgba8: b, width: x, height: S, ms: C, toneMs: w } = await p.upscaleToRGBA8(f, v);
|
|
222
|
-
return m.upscale = C, m.tonemap = w, o && y(e.denoisingManager?.upscalerCanvas, b, x, S), {
|
|
222
|
+
return m.upscale = C, m.tonemap = w, o && y(e.denoisingManager?.upscalerCanvas, b, x, S, e.color?.canvasColorSpace), {
|
|
223
223
|
rgba8: b,
|
|
224
224
|
width: x,
|
|
225
225
|
height: S,
|
|
@@ -232,11 +232,11 @@ async function v(e, { outputWidth: t, outputHeight: n, samples: r = 64, upscaler
|
|
|
232
232
|
d.width && d.height && e.setCanvasSize(d.width, d.height), d.maxSamples !== void 0 && e.settings?.set?.("maxSamples", d.maxSamples), d.renderLimitMode !== void 0 && e.settings?.set?.("renderLimitMode", d.renderLimitMode, { reset: !1 }), d.finalDenoise !== void 0 && e.denoisingManager?.applyOIDNEnabled(d.finalDenoise), e.pauseRendering = d.paused;
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
|
-
function y(e, t, n, r) {
|
|
236
|
-
return e ? (e.width = n, e.height = r, e.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(t.buffer ?? t), n, r), 0, 0), e.style.display = "block", !0) : !1;
|
|
235
|
+
function y(e, t, n, r, i = "srgb") {
|
|
236
|
+
return e ? (e.width = n, e.height = r, e.getContext("2d").putImageData(new ImageData(new Uint8ClampedArray(t.buffer ?? t), n, r, { colorSpace: i }), 0, 0), e.style.display = "block", !0) : !1;
|
|
237
237
|
}
|
|
238
|
-
function b(e, t, n, r) {
|
|
239
|
-
return y(e, t, n, r);
|
|
238
|
+
function b(e, t, n, r, i) {
|
|
239
|
+
return y(e, t, n, r, i);
|
|
240
240
|
}
|
|
241
241
|
//#endregion
|
|
242
242
|
export { v as i, c as n, o as r, a as t };
|