mirror of
https://github.com/storytold/spark.git
synced 2026-10-18 07:40:38 +00:00
Rename builds
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-1086
File diff suppressed because one or more lines are too long
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-1
File diff suppressed because one or more lines are too long
Vendored
-1
File diff suppressed because one or more lines are too long
+84
-78
File diff suppressed because one or more lines are too long
Vendored
+1
File diff suppressed because one or more lines are too long
Vendored
+1086
File diff suppressed because one or more lines are too long
Vendored
+1
File diff suppressed because one or more lines are too long
+84
-78
File diff suppressed because one or more lines are too long
Vendored
+1
File diff suppressed because one or more lines are too long
+1285
-1281
File diff suppressed because one or more lines are too long
Vendored
+1
File diff suppressed because one or more lines are too long
+11
-11
@@ -1,9 +1,9 @@
|
|||||||
import { ForgeViewpoint, ForgeViewpointOptions } from './ForgeViewpoint';
|
|
||||||
import { RgbaArray } from './RgbaArray';
|
import { RgbaArray } from './RgbaArray';
|
||||||
|
import { SparkViewpoint, SparkViewpointOptions } from './SparkViewpoint';
|
||||||
import { SplatAccumulator } from './SplatAccumulator';
|
import { SplatAccumulator } from './SplatAccumulator';
|
||||||
import { SplatGenerator } from './SplatGenerator';
|
import { SplatGenerator } from './SplatGenerator';
|
||||||
import * as THREE from "three";
|
import * as THREE from "three";
|
||||||
export type ForgeRendererOptions = {
|
export type SparkRendererOptions = {
|
||||||
renderer: THREE.WebGLRenderer;
|
renderer: THREE.WebGLRenderer;
|
||||||
clock?: THREE.Clock;
|
clock?: THREE.Clock;
|
||||||
autoUpdate?: boolean;
|
autoUpdate?: boolean;
|
||||||
@@ -15,12 +15,12 @@ export type ForgeRendererOptions = {
|
|||||||
blurAmount?: number;
|
blurAmount?: number;
|
||||||
falloff?: number;
|
falloff?: number;
|
||||||
clipXY?: number;
|
clipXY?: number;
|
||||||
view?: ForgeViewpointOptions;
|
view?: SparkViewpointOptions;
|
||||||
};
|
};
|
||||||
export declare class ForgeRenderer extends THREE.Mesh {
|
export declare class SparkRenderer extends THREE.Mesh {
|
||||||
renderer: THREE.WebGLRenderer;
|
renderer: THREE.WebGLRenderer;
|
||||||
material: THREE.ShaderMaterial;
|
material: THREE.ShaderMaterial;
|
||||||
uniforms: ReturnType<typeof ForgeRenderer.makeUniforms>;
|
uniforms: ReturnType<typeof SparkRenderer.makeUniforms>;
|
||||||
autoUpdate: boolean;
|
autoUpdate: boolean;
|
||||||
preUpdate: boolean;
|
preUpdate: boolean;
|
||||||
originDistance: number;
|
originDistance: number;
|
||||||
@@ -36,20 +36,20 @@ export declare class ForgeRenderer extends THREE.Mesh {
|
|||||||
active: SplatAccumulator;
|
active: SplatAccumulator;
|
||||||
private freeAccumulators;
|
private freeAccumulators;
|
||||||
private accumulatorCount;
|
private accumulatorCount;
|
||||||
defaultView: ForgeViewpoint;
|
defaultView: SparkViewpoint;
|
||||||
autoViewpoints: ForgeViewpoint[];
|
autoViewpoints: SparkViewpoint[];
|
||||||
private rotateToAccumulator;
|
private rotateToAccumulator;
|
||||||
private translateToAccumulator;
|
private translateToAccumulator;
|
||||||
private modifier;
|
private modifier;
|
||||||
private lastFrame;
|
private lastFrame;
|
||||||
private lastUpdateTime;
|
private lastUpdateTime;
|
||||||
private defaultCameras;
|
private defaultCameras;
|
||||||
viewpoint: ForgeViewpoint;
|
viewpoint: SparkViewpoint;
|
||||||
private pendingUpdate;
|
private pendingUpdate;
|
||||||
private envViewpoint;
|
private envViewpoint;
|
||||||
private static cubeRender;
|
private static cubeRender;
|
||||||
private static pmrem;
|
private static pmrem;
|
||||||
constructor(options: ForgeRendererOptions);
|
constructor(options: SparkRendererOptions);
|
||||||
static makeUniforms(): {
|
static makeUniforms(): {
|
||||||
renderSize: {
|
renderSize: {
|
||||||
value: THREE.Vector2;
|
value: THREE.Vector2;
|
||||||
@@ -101,9 +101,9 @@ export declare class ForgeRenderer extends THREE.Mesh {
|
|||||||
private canAllocAccumulator;
|
private canAllocAccumulator;
|
||||||
private maybeAllocAccumulator;
|
private maybeAllocAccumulator;
|
||||||
releaseAccumulator(accumulator: SplatAccumulator): void;
|
releaseAccumulator(accumulator: SplatAccumulator): void;
|
||||||
newViewpoint(options: ForgeViewpointOptions): ForgeViewpoint;
|
newViewpoint(options: SparkViewpointOptions): SparkViewpoint;
|
||||||
onBeforeRender(renderer: THREE.WebGLRenderer, scene: THREE.Scene, camera: THREE.Camera): void;
|
onBeforeRender(renderer: THREE.WebGLRenderer, scene: THREE.Scene, camera: THREE.Camera): void;
|
||||||
prepareViewpoint(viewpoint?: ForgeViewpoint): void;
|
prepareViewpoint(viewpoint?: SparkViewpoint): void;
|
||||||
update({ scene, viewToWorld, }: {
|
update({ scene, viewToWorld, }: {
|
||||||
scene: THREE.Scene;
|
scene: THREE.Scene;
|
||||||
viewToWorld?: THREE.Matrix4;
|
viewToWorld?: THREE.Matrix4;
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
import { ForgeRenderer } from './ForgeRenderer';
|
import { SparkRenderer } from './SparkRenderer';
|
||||||
import { SplatAccumulator } from './SplatAccumulator';
|
import { SplatAccumulator } from './SplatAccumulator';
|
||||||
import { SplatGeometry } from './SplatGeometry';
|
import { SplatGeometry } from './SplatGeometry';
|
||||||
import * as THREE from "three";
|
import * as THREE from "three";
|
||||||
export type ForgeViewpointOptions = {
|
export type SparkViewpointOptions = {
|
||||||
autoUpdate?: boolean;
|
autoUpdate?: boolean;
|
||||||
camera?: THREE.Camera;
|
camera?: THREE.Camera;
|
||||||
viewToWorld?: THREE.Matrix4;
|
viewToWorld?: THREE.Matrix4;
|
||||||
@@ -19,8 +19,8 @@ export type ForgeViewpointOptions = {
|
|||||||
depthBias?: number;
|
depthBias?: number;
|
||||||
sort360?: boolean;
|
sort360?: boolean;
|
||||||
};
|
};
|
||||||
export declare class ForgeViewpoint {
|
export declare class SparkViewpoint {
|
||||||
forge: ForgeRenderer;
|
spark: SparkRenderer;
|
||||||
autoUpdate: boolean;
|
autoUpdate: boolean;
|
||||||
camera?: THREE.Camera;
|
camera?: THREE.Camera;
|
||||||
viewToWorld: THREE.Matrix4;
|
viewToWorld: THREE.Matrix4;
|
||||||
@@ -47,8 +47,8 @@ export declare class ForgeViewpoint {
|
|||||||
private sortingCheck;
|
private sortingCheck;
|
||||||
private readback;
|
private readback;
|
||||||
private orderingFreelist;
|
private orderingFreelist;
|
||||||
constructor(options: ForgeViewpointOptions & {
|
constructor(options: SparkViewpointOptions & {
|
||||||
forge: ForgeRenderer;
|
spark: SparkRenderer;
|
||||||
});
|
});
|
||||||
dispose(): void;
|
dispose(): void;
|
||||||
setAutoUpdate(autoUpdate: boolean): void;
|
setAutoUpdate(autoUpdate: boolean): void;
|
||||||
Vendored
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
import * as THREE from "three";
|
import * as THREE from "three";
|
||||||
export declare class ForgeControls {
|
export declare class SparkControls {
|
||||||
fpsMovement: FpsMovement;
|
fpsMovement: FpsMovement;
|
||||||
pointerControls: PointerControls;
|
pointerControls: PointerControls;
|
||||||
lastTime: number;
|
lastTime: number;
|
||||||
|
|||||||
Vendored
+3
-3
@@ -1,5 +1,5 @@
|
|||||||
export { ForgeRenderer, type ForgeRendererOptions } from './ForgeRenderer';
|
export { SparkRenderer, type SparkRendererOptions } from './SparkRenderer';
|
||||||
export { ForgeViewpoint, type ForgeViewpointOptions } from './ForgeViewpoint';
|
export { SparkViewpoint, type SparkViewpointOptions } from './SparkViewpoint';
|
||||||
export * as dyno from './dyno';
|
export * as dyno from './dyno';
|
||||||
export { SplatLoader, unpackSplats, SplatFileType, getSplatFileType, } from './SplatLoader';
|
export { SplatLoader, unpackSplats, SplatFileType, getSplatFileType, } from './SplatLoader';
|
||||||
export { PlyReader } from './ply';
|
export { PlyReader } from './ply';
|
||||||
@@ -15,6 +15,6 @@ export { constructGrid, constructAxes, constructSpherePoints, imageSplats, textS
|
|||||||
export * as generators from './generators';
|
export * as generators from './generators';
|
||||||
export { VRButton } from './vrButton';
|
export { VRButton } from './vrButton';
|
||||||
export { type JointId, JointEnum, JOINT_IDS, NUM_JOINTS, JOINT_INDEX, JOINT_RADIUS, JOINT_SEGMENTS, JOINT_SEGMENT_STEPS, JOINT_TIPS, FINGER_TIPS, Hand, HANDS, type Joint, type HandJoints, type HandsJoints, XrHands, HandMovement, } from './hands';
|
export { type JointId, JointEnum, JOINT_IDS, NUM_JOINTS, JOINT_INDEX, JOINT_RADIUS, JOINT_SEGMENTS, JOINT_SEGMENT_STEPS, JOINT_TIPS, FINGER_TIPS, Hand, HANDS, type Joint, type HandJoints, type HandsJoints, XrHands, HandMovement, } from './hands';
|
||||||
export { ForgeControls, FpsMovement, PointerControls } from './controls';
|
export { SparkControls, FpsMovement, PointerControls } from './controls';
|
||||||
export { isMobile, isAndroid, isOculus, flipPixels, pixelsToPngUrl, toHalf, fromHalf, floatToUint8, floatToSint8, Uint8ToFloat, Sint8ToFloat, setPackedSplat, unpackSplat, } from './utils';
|
export { isMobile, isAndroid, isOculus, flipPixels, pixelsToPngUrl, toHalf, fromHalf, floatToUint8, floatToSint8, Uint8ToFloat, Sint8ToFloat, setPackedSplat, unpackSplat, } from './utils';
|
||||||
export * as utils from './utils';
|
export * as utils from './utils';
|
||||||
|
|||||||
Reference in New Issue
Block a user