softbox 4.4.2 → 4.6.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/README.md +12 -3
- package/dist/{ThreePathTracingService-BroJh4xX.cjs → ThreePathTracingService-DdrIay3N.cjs} +68 -68
- package/dist/{ThreePathTracingService-CxJy-I2s.js → ThreePathTracingService-DlCiqA08.js} +329 -327
- package/dist/index-BA_1qZxy.cjs +11 -0
- package/dist/{index-C3wD-bda.js → index-DoB8YjQ9.js} +1556 -1459
- package/dist/index.d.cts +15 -3
- package/dist/index.d.ts +15 -3
- package/dist/simple-viewer.cjs +1 -1
- package/dist/simple-viewer.es.js +1 -1
- package/package.json +1 -1
- package/dist/index-B_YjoRyg.cjs +0 -11
package/dist/index.d.cts
CHANGED
|
@@ -355,9 +355,13 @@ export declare interface LoadingIndicatorOptions {
|
|
|
355
355
|
export declare type ModelUnits = 'meters' | 'centimeters' | 'millimeters' | 'feet' | 'inches';
|
|
356
356
|
|
|
357
357
|
/**
|
|
358
|
-
* Progressive path tracing for photoreal
|
|
359
|
-
*
|
|
360
|
-
*
|
|
358
|
+
* Progressive path tracing for photoreal rendering (three-gpu-pathtracer).
|
|
359
|
+
* Interactive: while the camera moves you see a fast preview, and whenever it
|
|
360
|
+
* rests the tracer re-accumulates to a converged frame — orbiting after
|
|
361
|
+
* convergence starts a fresh accumulation from the new viewpoint. The tracer
|
|
362
|
+
* stays warm for the viewer's lifetime; it ships in a lazy chunk that loads
|
|
363
|
+
* only when enabled. While animations play, accumulation is suspended (the
|
|
364
|
+
* raster renderer shows the motion) and resumes on the paused pose.
|
|
361
365
|
*
|
|
362
366
|
* The whole object is structural in `<SimpleViewer>`: changing ANY field
|
|
363
367
|
* rebuilds the viewer (and reloads the model).
|
|
@@ -529,6 +533,14 @@ export declare interface SimpleViewerOptions {
|
|
|
529
533
|
* Ignored; will be removed in 5.0.
|
|
530
534
|
*/
|
|
531
535
|
animationLoop?: ((time: number) => void) | null;
|
|
536
|
+
/**
|
|
537
|
+
* Replace the canvas with an `<img>` snapshot when a path-traced
|
|
538
|
+
* accumulation completes; the first click restores the live viewer by
|
|
539
|
+
* reloading the model (default `false`). A legacy from one-shot path
|
|
540
|
+
* tracing — the interactive tracer keeps the converged frame on the live
|
|
541
|
+
* canvas and re-accumulates on camera moves, so most consumers should
|
|
542
|
+
* leave this off.
|
|
543
|
+
*/
|
|
532
544
|
replaceWithScreenshotOnComplete?: boolean;
|
|
533
545
|
/**
|
|
534
546
|
* When to boot the WebGL engine and fetch the model (default `'eager'`).
|
package/dist/index.d.ts
CHANGED
|
@@ -355,9 +355,13 @@ export declare interface LoadingIndicatorOptions {
|
|
|
355
355
|
export declare type ModelUnits = 'meters' | 'centimeters' | 'millimeters' | 'feet' | 'inches';
|
|
356
356
|
|
|
357
357
|
/**
|
|
358
|
-
* Progressive path tracing for photoreal
|
|
359
|
-
*
|
|
360
|
-
*
|
|
358
|
+
* Progressive path tracing for photoreal rendering (three-gpu-pathtracer).
|
|
359
|
+
* Interactive: while the camera moves you see a fast preview, and whenever it
|
|
360
|
+
* rests the tracer re-accumulates to a converged frame — orbiting after
|
|
361
|
+
* convergence starts a fresh accumulation from the new viewpoint. The tracer
|
|
362
|
+
* stays warm for the viewer's lifetime; it ships in a lazy chunk that loads
|
|
363
|
+
* only when enabled. While animations play, accumulation is suspended (the
|
|
364
|
+
* raster renderer shows the motion) and resumes on the paused pose.
|
|
361
365
|
*
|
|
362
366
|
* The whole object is structural in `<SimpleViewer>`: changing ANY field
|
|
363
367
|
* rebuilds the viewer (and reloads the model).
|
|
@@ -529,6 +533,14 @@ export declare interface SimpleViewerOptions {
|
|
|
529
533
|
* Ignored; will be removed in 5.0.
|
|
530
534
|
*/
|
|
531
535
|
animationLoop?: ((time: number) => void) | null;
|
|
536
|
+
/**
|
|
537
|
+
* Replace the canvas with an `<img>` snapshot when a path-traced
|
|
538
|
+
* accumulation completes; the first click restores the live viewer by
|
|
539
|
+
* reloading the model (default `false`). A legacy from one-shot path
|
|
540
|
+
* tracing — the interactive tracer keeps the converged frame on the live
|
|
541
|
+
* canvas and re-accumulates on camera moves, so most consumers should
|
|
542
|
+
* leave this off.
|
|
543
|
+
*/
|
|
532
544
|
replaceWithScreenshotOnComplete?: boolean;
|
|
533
545
|
/**
|
|
534
546
|
* When to boot the WebGL engine and fetch the model (default `'eager'`).
|
package/dist/simple-viewer.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-BA_1qZxy.cjs");exports.ControlType=e.ControlType;exports.ErrorCode=e.ErrorCode;exports.Hotspot=e.Hotspot;exports.SimpleViewer=e.SimpleViewerWrapper;exports.ThreeViewerError=e.ThreeViewerError;exports.TypedEventEmitter=e.TypedEventEmitter;exports.VIEWER_PRESETS=e.VIEWER_PRESETS;exports.defaultOptions=e.defaultOptions;exports.resolvePreset=e.resolvePreset;
|
package/dist/simple-viewer.es.js
CHANGED
package/package.json
CHANGED