softbox 4.4.1 → 4.5.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 +2 -2
- package/dist/{ThreePathTracingService-DTWmDzs1.js → ThreePathTracingService-DDmobGTv.js} +329 -327
- package/dist/{ThreePathTracingService-CVTgPYSp.cjs → ThreePathTracingService-rw6SCxcL.cjs} +68 -68
- package/dist/{index-uh2exMyt.js → index-CC3LzFRV.js} +3320 -3188
- package/dist/index-CadyonSB.cjs +11 -0
- 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-BiSXFVUP.cjs +0 -11
package/README.md
CHANGED
|
@@ -109,7 +109,7 @@ Turntable and animations compose — a spinning, walking robot is two words.
|
|
|
109
109
|
<SimpleViewer object={url} pathTraced />
|
|
110
110
|
```
|
|
111
111
|
|
|
112
|
-
`pathTraced` turns on progressive path tracing
|
|
112
|
+
`pathTraced` turns on interactive progressive path tracing: the frame converges whenever the camera rests, and orbiting shows plain raster frames until the camera settles again — then a fresh accumulation starts from the new viewpoint. It works with every preset, including the default procedural studio. Capture a PNG programmatically — in raster mode at any resolution, in path-traced mode once the accumulation completes:
|
|
113
113
|
|
|
114
114
|
```tsx
|
|
115
115
|
const handle = viewerRef.current;
|
|
@@ -264,7 +264,7 @@ Interactive orientation cube: click to snap the camera to axis views, synchroniz
|
|
|
264
264
|
|
|
265
265
|
### Path tracing options
|
|
266
266
|
|
|
267
|
-
`pathTracing`: `enabled`, `maxSamples` (completion cap), `bounces`, `transmissiveBounces`, `renderScale`, `lowResScale`, `dynamicLowRes`.
|
|
267
|
+
`pathTracing`: `enabled`, `maxSamples` (completion cap), `bounces`, `transmissiveBounces`, `renderScale`, `lowResScale`, `dynamicLowRes`. The converged frame stays on the live canvas and re-accumulates on camera moves; `replaceWithScreenshotOnComplete: true` (off by default) restores the legacy behavior of swapping in a DOM snapshot instead.
|
|
268
268
|
|
|
269
269
|
## Next.js / SSR
|
|
270
270
|
|