Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

Refine Eve logo ASCII imprint effect (#458)

Matias Gonzaleze2d7c577ced3
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/index.tsx b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/index.tsx
index 20f988e59..242488980 100644
--- a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/index.tsx
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/index.tsx
@@ -6,7 +6,8 @@ import fallbackDarkImage from "../../../../../public/eve-5/fallback-dark-content
import fallbackLightImage from "../../../../../public/eve-5/fallback-light-content.webp";
import { useEffect, useRef, useState, type ComponentProps, type CSSProperties } from "react";
import { decodeGltfMesh, meshAspect } from "./mesh";
-import { BLOOM_RADIUS, createEve5Renderer, type RenderControls } from "./render";
+import { BLOOM_RADIUS, DEFAULT_CAMERA_FOV, cameraRadiusForFov, createEve5Renderer, type RenderControls } from "./render";
+import type { InstallAudience } from "../install-switcher";
class BrowserAdapter implements VGPUAdapter {
async requestDevice(): Promise<Device> {
@@ -26,9 +27,10 @@ const DEFAULT_LOGO_ASPECT = 78 / 25;
const DEFAULT_CONTROLS: RenderControls = {
yaw: 0,
pitch: 0,
- radius: 1.9,
- fov: 35,
+ radius: cameraRadiusForFov(DEFAULT_CAMERA_FOV),
+ fov: DEFAULT_CAMERA_FOV,
envYaw: 0,
+ envPitch: 0,
insideRendering: true,
outsideRendering: true,
material: "glass",
@@ -38,11 +40,36 @@ const DEFAULT_CONTROLS: RenderControls = {
const LOGO_RENDER_HEIGHT = 500;
const MAX_DEVICE_PIXEL_RATIO = 2;
const FALLBACK_IMAGE_PADDING = BLOOM_RADIUS / MAX_DEVICE_PIXEL_RATIO;
-const MAX_ENV_YAW = 0.45;
+const MAX_ENV_YAW = 0.3;
+const MAX_ENV_PITCH = 0.2;
const ENV_YAW_LERP_SPEED = 3;
+const AGENTS_ENV_YAW_OFFSET = -Math.PI * 0.1;
+export const AGENTS_ENV_YAW_LERP_SPEED = 3;
+const LOGO_MODE_TRANSITION_DURATION_SECONDS = 0.45;
+const IMPRINT_GLYPH_SCALE = 1.35;
+const ASCII_MOUSE_LERP_SPEED = 6;
+
const CANVAS_FADE_FALLBACK_MS = 800;
const CANVAS_REVEAL_RENDER_COUNT = 3;
+type EveTransitionDebugGui = {
+ destroy(): void;
+};
+
+type EveTransitionDebugState = {
+ overrideEnabled: boolean;
+ progress: number;
+ gridScaleMultiplier: number;
+ glyphScale: number;
+ durationSeconds: number;
+};
+
+declare global {
+ interface Window {
+ __eveLogoTransitionDebugGui?: EveTransitionDebugGui;
+ }
+}
+
function getCurrentTheme(): "light" | "dark" {
if (typeof document === "undefined") return "light";
const root = document.documentElement;
@@ -91,7 +118,7 @@ function usePrefersReducedMotion() {
return prefersReducedMotion;
}
-export function EveLogoShader() {
+export function EveLogoShader({ audience = "humans" }: { audience?: InstallAudience }) {
const theme = useResolvedTheme();
const prefersReducedMotion = usePrefersReducedMotion();
const canvasRef = useRef<HTMLCanvasElement>(null);
@@ -99,12 +126,31 @@ export function EveLogoShader() {
const [logoAspect, setLogoAspect] = useState(DEFAULT_LOGO_ASPECT);
const [revealed, setRevealed] = useState(false);
const [showLightFallback, setShowLightFallback] = useState(false);
+ const targetAgentsEnvYawMixRef = useRef(audience === "agents" ? 1 : 0);
+ const targetLogoModeProgressRef = useRef(audience === "agents" ? 1 : 0);
+ const agentsSelected = audience === "agents";
+ targetAgentsEnvYawMixRef.current = agentsSelected ? 1 : 0;
+ targetLogoModeProgressRef.current = agentsSelected ? 1 : 0;
+
+ useEffect(() => {
+ const agentsSelected = audience === "agents";
+ targetAgentsEnvYawMixRef.current = agentsSelected ? 1 : 0;
+ targetLogoModeProgressRef.current = agentsSelected ? 1 : 0;
+ }, [audience]);
useEffect(() => {
let cancelled = false;
let animationFrame = 0;
let cleanup: (() => void) | undefined;
- let targetEnvYaw = controlsRef.current.envYaw;
+ let mouseEnvYaw = controlsRef.current.envYaw;
+ let targetMouseEnvYaw = mouseEnvYaw;
+ let mouseEnvPitch = controlsRef.current.envPitch;
+ let targetMouseEnvPitch = mouseEnvPitch;
+ let asciiMouseX = 0;
+ let asciiMouseY = 0;
+ let targetAsciiMouseX = 0;
+ let targetAsciiMouseY = 0;
+ let agentsEnvYawMix = targetAgentsEnvYawMixRef.current;
let previousFrameTime = performance.now();
const canvas = canvasRef.current;
@@ -121,12 +167,19 @@ export function EveLogoShader() {
}
setShowLightFallback(false);
- const updateEnvYaw = (clientX: number) => {
+ const updateEnvRotation = (clientX: number, clientY: number) => {
const viewportWidth = Math.max(1, window.innerWidth || 1);
- const normalizedX = Math.max(-1, Math.min(1, (clientX / viewportWidth) * 2 - 1));
- targetEnvYaw = normalizedX * MAX_ENV_YAW;
+ const viewportHeight = Math.max(1, window.innerHeight || 1);
+ const clampedX = Math.max(0, Math.min(viewportWidth, clientX));
+ const clampedY = Math.max(0, Math.min(viewportHeight, clientY));
+ const normalizedX = (clampedX / viewportWidth) * 2 - 1;
+ const normalizedY = (clampedY / viewportHeight) * 2 - 1;
+ targetMouseEnvYaw = normalizedX * MAX_ENV_YAW;
+ targetMouseEnvPitch = normalizedY * MAX_ENV_PITCH;
+ targetAsciiMouseX = normalizedX;
+ targetAsciiMouseY = normalizedY;
};
- const onPointerMove = (event: PointerEvent) => updateEnvYaw(event.clientX);
+ const onPointerMove = (event: PointerEvent) => updateEnvRotation(event.clientX, event.clientY);
window.addEventListener("pointermove", onPointerMove, { passive: true });
async function start() {
@@ -154,9 +207,52 @@ export function EveLogoShader() {
const alphaMode = renderTheme === "light" ? "premultiplied" : "opaque";
context.configure({ device: app.device.gpu, format, alphaMode });
const renderer = createEve5Renderer(app.device, format, mesh, { theme: renderTheme });
+ let modeTransitionProgress = targetLogoModeProgressRef.current;
+ let disposed = false;
+ let transitionDebugGui: EveTransitionDebugGui | undefined;
+ const transitionDebug: EveTransitionDebugState = {
+ overrideEnabled: false,
+ progress: modeTransitionProgress,
+ gridScaleMultiplier: 1.03,
+ glyphScale: IMPRINT_GLYPH_SCALE,
+ durationSeconds: LOGO_MODE_TRANSITION_DURATION_SECONDS,
+ };
previousFrameTime = performance.now();
- let disposed = false;
+ const destroyTransitionDebugGui = () => {
+ if (!transitionDebugGui) return;
+ if (window.__eveLogoTransitionDebugGui === transitionDebugGui) {
+ delete window.__eveLogoTransitionDebugGui;
+ }
+ transitionDebugGui.destroy();
+ transitionDebugGui = undefined;
+ };
+ const setupTransitionDebugGui = async () => {
+ if (!new URLSearchParams(window.location.search).has("debug")) return;
+ const { GUI } = await import("lil-gui");
+ if (cancelled || disposed) return;
+ window.__eveLogoTransitionDebugGui?.destroy();
+ const gui = new GUI({ title: "Eve logo imprint" });
+ let guiDestroyed = false;
+ const guiHandle: EveTransitionDebugGui = {
+ destroy() {
+ if (guiDestroyed) return;
+ guiDestroyed = true;
+ gui.destroy();
+ },
+ };
+ transitionDebugGui = guiHandle;
+ window.__eveLogoTransitionDebugGui = guiHandle;
+ gui.add(transitionDebug, "overrideEnabled").name("Override imprint");
+ gui.add(transitionDebug, "progress", 0, 1, 0.001).name("Imprint progress");
+ const imprint = gui.addFolder("Imprint");
+ imprint.add(transitionDebug, "gridScaleMultiplier", 0.5, 2, 0.01).name("Grid scale multiplier");
+ imprint.add(transitionDebug, "glyphScale", 0.5, 2.5, 0.01).name("Glyph scale");
+ imprint.open();
+ gui.add(transitionDebug, "durationSeconds", 0.05, 2, 0.01).name("Transition duration (s)");
+ };
+ void setupTransitionDebugGui();
+
let successfulRenderCount = 0;
let finishCanvasFade: (() => void) | undefined;
const dispose = () => {
@@ -166,6 +262,7 @@ export function EveLogoShader() {
finishCanvasFade?.();
resetCanvasVisibility(canvas);
if (!cancelled) setRevealed(false);
+ destroyTransitionDebugGui();
renderer.dispose();
app.device.destroy();
};
@@ -187,7 +284,14 @@ export function EveLogoShader() {
const deltaSeconds = Math.max(0, (frameTime - previousFrameTime) / 1000);
previousFrameTime = frameTime;
- controlsRef.current.envYaw = safeLerp(controlsRef.current.envYaw, targetEnvYaw, deltaSeconds * ENV_YAW_LERP_SPEED);
+ mouseEnvYaw = safeLerp(mouseEnvYaw, targetMouseEnvYaw, deltaSeconds * ENV_YAW_LERP_SPEED);
+ mouseEnvPitch = safeLerp(mouseEnvPitch, targetMouseEnvPitch, deltaSeconds * ENV_YAW_LERP_SPEED);
+ asciiMouseX = safeLerp(asciiMouseX, targetAsciiMouseX, deltaSeconds * ASCII_MOUSE_LERP_SPEED);
+ asciiMouseY = safeLerp(asciiMouseY, targetAsciiMouseY, deltaSeconds * ASCII_MOUSE_LERP_SPEED);
+ const targetAgentsEnvYawMix = targetAgentsEnvYawMixRef.current;
+ agentsEnvYawMix = safeLerp(agentsEnvYawMix, targetAgentsEnvYawMix, deltaSeconds * AGENTS_ENV_YAW_LERP_SPEED);
+ controlsRef.current.envYaw = mouseEnvYaw + agentsEnvYawMix * AGENTS_ENV_YAW_OFFSET;
+ controlsRef.current.envPitch = mouseEnvPitch;
resizeCanvas(canvas);
// The renderer pads the logical scene size by BLOOM_RADIUS on each side before allocating
@@ -198,7 +302,27 @@ export function EveLogoShader() {
const logicalHeight = Math.max(1, canvas.height - BLOOM_RADIUS * 2);
try {
- renderer.render(context.getCurrentTexture().createView(), controlsRef.current, logicalWidth, logicalHeight);
+ const transitionDurationSeconds = clampRange(transitionDebug.durationSeconds, 0.05, 2);
+ modeTransitionProgress = stepLogoModeProgress(
+ modeTransitionProgress,
+ targetLogoModeProgressRef.current,
+ deltaSeconds,
+ transitionDurationSeconds,
+ );
+ const animatedMixProgress = easeLogoModeProgress(modeTransitionProgress);
+ const mixProgress = transitionDebug.overrideEnabled ? clampUnit(transitionDebug.progress) : animatedMixProgress;
+ const timeSeconds = frameTime / 1000;
+ renderer.render(context.getCurrentTexture().createView(), controlsRef.current, logicalWidth, logicalHeight, {
+ progress: mixProgress,
+ gridScaleMultiplier: clampRange(transitionDebug.gridScaleMultiplier, 0.5, 2),
+ glyphScale: clampRange(transitionDebug.glyphScale, 0.5, 2.5),
+ time: timeSeconds,
+ mouse: [asciiMouseX, asciiMouseY],
+ });
+
+ canvas.dataset.eveRenderMode = mixProgress >= 0.5 ? "agents" : "humans";
+ canvas.dataset.eveAsciiProgress = mixProgress.toFixed(3);
+ canvas.dataset.eveAsciiMode = mixProgress > 0.001 ? "active" : "inactive";
} catch {
cancelled = true;
setRevealed(false);
@@ -282,10 +406,13 @@ export function EveLogoShader() {
visible={!revealed}
className="hidden dark:block"
/>
- <canvas ref={canvasRef} className="absolute inset-0 size-full opacity-0 transition-opacity duration-700 ease-linear" />
- <div
- className={`pointer-events-none absolute inset-0 hidden bg-gradient-to-b from-transparent md:block ${theme === "light" ? "to-background-200" : "to-black"}`}
+ <canvas
+ ref={canvasRef}
+ data-eve-audience={audience}
+ data-eve-target-ascii={audience === "agents" ? "true" : "false"}
+ className="absolute inset-0 size-full opacity-0 transition-opacity duration-700 ease-linear"
/>
+ <div className="pointer-events-none absolute inset-0 hidden bg-gradient-to-b from-transparent from-20% to-background-200/80 md:block dark:from-40% dark:to-black" />
</div>
);
}
@@ -356,6 +483,27 @@ function safeLerp(from: number, to: number, amount: number) {
return from + (to - from) * safeAmount;
}
+function clampUnit(value: number) {
+ return clampRange(value, 0, 1);
+}
+
+function clampRange(value: number, min: number, max: number) {
+ return Math.max(min, Math.min(max, value));
+}
+
+function stepLogoModeProgress(current: number, target: number, deltaSeconds: number, durationSeconds: number) {
+ const safeTarget = target >= 0.5 ? 1 : 0;
+ const safeDuration = clampRange(durationSeconds, 0.05, 2);
+ const step = Math.max(0, deltaSeconds) / safeDuration;
+ if (Math.abs(safeTarget - current) <= step) return safeTarget;
+ return current + Math.sign(safeTarget - current) * step;
+}
+
+function easeLogoModeProgress(progress: number) {
+ const t = Math.max(0, Math.min(1, progress));
+ return t * t * (3 - 2 * t);
+}
+
function resetCanvasVisibility(canvas: HTMLCanvasElement | null) {
if (!canvas) return;
canvas.style.opacity = "";
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/render.ts b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/render.ts
index d04bcb886..9f23cd921 100644
--- a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/render.ts
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/render.ts
@@ -25,12 +25,21 @@ export type MeshData = {
export type EveMaterial = "glass" | "normal" | "camera reflected normal" | "metallic" | "back-albedo" | "back-depth" | "thickness";
+export type ImprintRenderOptions = {
+ progress?: number;
+ gridScaleMultiplier?: number;
+ glyphScale?: number;
+ time?: number;
+ mouse?: readonly [number, number];
+};
+
export type RenderControls = {
yaw: number;
pitch: number;
radius: number;
fov: number;
envYaw: number;
+ envPitch: number;
insideRendering: boolean;
outsideRendering: boolean;
material: EveMaterial;
@@ -53,14 +62,19 @@ export type StudioCubemap = {
faceParams: Buffer;
};
-const PARAMS_BYTE_SIZE = 144;
-const CUBE_PARAMS_BYTE_SIZE = 16;
+const PARAMS_BYTE_SIZE = 176;
+const CUBE_MAX_LIGHTS = 16;
+const CUBE_LIGHT_FLOAT_COUNT = 12;
+const CUBE_PARAMS_FLOAT_COUNT = 4 + CUBE_MAX_LIGHTS * CUBE_LIGHT_FLOAT_COUNT;
+const CUBE_PARAMS_BYTE_SIZE = CUBE_PARAMS_FLOAT_COUNT * Float32Array.BYTES_PER_ELEMENT;
export const CUBE_SIZE = 256;
export const CUBE_FACE_COUNT = 6;
export const CUBE_FORMAT: GPUTextureFormat = "rgba16float";
export const BLOOM_RADIUS = 16;
export const SCENE_FORMAT: GPUTextureFormat = "rgba16float";
export const BLOOM_STRENGTH = 0.85;
+export const BLOOM_STRENGTH_OFF = BLOOM_STRENGTH;
+export const BLOOM_STRENGTH_ON = BLOOM_STRENGTH_OFF * 0.25;
export const BLOOM_THRESHOLD = 0;
const BACK_DEPTH_FORMAT: GPUTextureFormat = "depth32float";
@@ -78,26 +92,62 @@ const MATERIAL_KIND: Record<EveMaterial, number> = {
"back-depth": 0,
thickness: 4,
};
-const CAMERA_NEAR = 0.05;
-const CAMERA_FAR = 20;
+const CAMERA_CLIP_PADDING = 0.02;
+export const BASELINE_CAMERA_RADIUS = 1.9;
+export const BASELINE_CAMERA_FOV = 35;
+export const DEFAULT_CAMERA_FOV = BASELINE_CAMERA_FOV / 2;
const EVE_THICKNESS_SCALE_MULTIPLIER = 1.3;
const PREVIEW_BACK_ALBEDO = 0;
const PREVIEW_BACK_DEPTH = 1;
+const DEFAULT_IMPRINT_CELL_SIZE = 16;
+const DEFAULT_IMPRINT_GLYPH_SCALE = 1.35;
type Mat4 = Float32Array;
type Vec3 = [number, number, number];
+type EnvLightConfig = {
+ name: string;
+ position: readonly [number, number, number];
+ color: string;
+ intensity: number;
+ radius: number;
+ softness: number;
+ luminance: number;
+};
+
+// Editable environment-light knobs. Hex colors are sRGB and are converted to
+// linear values before the one-time cubemap bake. Light and dark intentionally
+// start as duplicated white studio setups so each theme can be tuned independently.
+export const EVE_LIGHT_ENV_LIGHTS = [
+ { name: "top-left high", position: [-1.4, 2, -0.4], color: "#FFFFFF", intensity: 1, radius: 0.3, softness: 0.02, luminance: 10 },
+ { name: "front high", position: [0, 0, 2], color: "#FFFFFF", intensity: 2, radius: 0.8, softness: 0.02, luminance: 1 },
+ { name: "back high", position: [1, 0, -2], color: "#FFFFFF", intensity: 10, radius: 0.5, softness: 0.1, luminance: 0.2 },
+ { name: "back-right", position: [0.4, -0.3, -1], color: "#FFFFFF", intensity: 1, radius: 0.1, softness: 1, luminance: 0.5 },
+ { name: "front-bottom-right", position: [1, -2, -0.5], color: "#FFFFFF", intensity: 1, radius: 0.2, softness: 1, luminance: 5 },
+ { name: "front-bottom-left", position: [-0.3, -0.2, -0.2], color: "#FFFFFF", intensity: 1, radius: 0.3, softness: 4, luminance: 3 },
+] as const satisfies readonly EnvLightConfig[];
+
+export const EVE_DARK_ENV_LIGHTS = [
+ { name: "top-left high", position: [-1.3, 2, -0.3], color: "#FFFFFF", intensity: 2, radius: 0.3, softness: 0.02, luminance: 10 },
+ { name: "front-left high", position: [-0.4, 1, 1], color: "#FFFFFF", intensity: 1, radius: 0.9, softness: 0.02, luminance: 1 },
+ { name: "front-right", position: [5, 0, 10], color: "#FFFFFF", intensity: 1.5, radius: 0.5, softness: 0.1, luminance: 0.2 },
+ { name: "back-right", position: [0.4, -0.3, -1], color: "#FFFFFF", intensity: 5, radius: 0.1, softness: 1, luminance: 0.5 },
+ { name: "front-bottom-right", position: [1, -2, -0.5], color: "#FFFFFF", intensity: 1, radius: 0.2, softness: 1, luminance: 5 },
+ { name: "front-bottom-left", position: [-0.3, -0.2, -0.2], color: "#FFFFFF", intensity: 1, radius: 0.3, softness: 4, luminance: 3 },
+] as const satisfies readonly EnvLightConfig[];
+
export function createEve5Renderer(
device: Device,
format: GPUTextureFormat,
mesh: MeshData,
options: { thicknessScale?: number; theme?: "light" | "dark"; paddingRadius?: number; bloom?: boolean } = {},
) {
- const studioCubemap = createStudioCubemap(device);
- renderStudioCubemap(device, studioCubemap);
+ const studioCubemap = createStudioCubemap(device, "eve-5-studio-hdr-cubemap");
+ const isLight = options.theme === "light";
+ const envLights = isLight ? EVE_LIGHT_ENV_LIGHTS : EVE_DARK_ENV_LIGHTS;
+ renderStudioCubemap(device, studioCubemap, envLights);
const orbitTarget = meshOrbitTarget(mesh);
const thicknessScale = options.thicknessScale ?? meshThicknessScale(mesh.bounds);
- const isLight = options.theme === "light";
const paddingRadius = options.paddingRadius ?? BLOOM_RADIUS;
const bloomEnabled = options.bloom ?? true;
@@ -263,7 +313,6 @@ export function createEve5Renderer(
size: 16,
usage: ["uniform", "copy_dst"],
});
- compositeParamsBuffer.write(new Float32Array([bloomEnabled ? BLOOM_STRENGTH : 0, 0, 0, 0]));
const blurSampler = device.gpu.createSampler({
label: "eve-5-bloom-sampler",
magFilter: "linear",
@@ -285,18 +334,27 @@ export function createEve5Renderer(
});
let bloomTargets: BloomTargets | undefined;
- const writeParams = (target: { buffer: Buffer }, controls: RenderControls, logicalWidth: number, logicalHeight: number, passKind: number) => {
- const padded = getPaddedRenderSize(logicalWidth, logicalHeight, paddingRadius);
+ const writeParams = (
+ target: { buffer: Buffer },
+ controls: RenderControls,
+ logicalWidth: number,
+ logicalHeight: number,
+ passKind: number,
+ projectionPaddingRadius = paddingRadius,
+ imprint: ImprintRenderOptions = {},
+ ) => {
+ const padded = getPaddedRenderSize(logicalWidth, logicalHeight, projectionPaddingRadius);
const fovRad = degreesToRadians(controls.fov);
const verticalScale = padded.height / logicalHeight;
const fovEff = 2 * Math.atan(verticalScale * Math.tan(fovRad * 0.5));
const aspect = padded.width / padded.height;
const eye = orbitEye(orbitTarget, controls.radius, controls.yaw, controls.pitch);
- const proj = perspective(fovEff, aspect, CAMERA_NEAR, CAMERA_FAR);
+ const basis = cameraBasis(eye, orbitTarget);
+ const clip = cameraClipPlanes(mesh.bounds, eye, basis.forward);
+ const proj = perspective(fovEff, aspect, clip.near, clip.far);
const view = lookAt(eye, orbitTarget, [0, 1, 0]);
const viewProj = multiply(proj, view);
- const basis = cameraBasis(eye, orbitTarget);
- const data = new Float32Array(36);
+ const data = new Float32Array(44);
data.set(viewProj, 0);
data[16] = eye[0];
data[17] = eye[1];
@@ -316,6 +374,19 @@ export function createEve5Renderer(
data[31] = MATERIAL_KIND[controls.material];
data[32] = thicknessScale;
data[33] = controls.envYaw;
+ data[34] = controls.envPitch;
+ data[35] = isLight ? 0 : 1;
+ const distToFrontPlane = Math.max(0.001, -dot(eye, basis.forward));
+ const pxPerModelUnit = padded.height / (2 * distToFrontPlane * Math.tan(fovEff * 0.5));
+ const gridScale = (pxPerModelUnit / DEFAULT_IMPRINT_CELL_SIZE) * Math.max(0.001, imprint.gridScaleMultiplier ?? 1);
+ data[36] = Math.max(0, Math.min(1, imprint.progress ?? 0));
+ data[37] = gridScale;
+ data[38] = Math.max(0.1, imprint.glyphScale ?? DEFAULT_IMPRINT_GLYPH_SCALE);
+ data[39] = imprint.time ?? 0;
+ data[40] = imprint.mouse?.[0] ?? 0;
+ data[41] = imprint.mouse?.[1] ?? 0;
+ data[42] = 0;
+ data[43] = 0;
target.buffer.write(data);
};
@@ -341,8 +412,15 @@ export function createEve5Renderer(
return bloomTargets;
};
- const renderBackMaterial = (target: GPUTextureView, depth: GPUTextureView, controls: RenderControls, logicalWidth: number, logicalHeight: number) => {
- writeParams(insideParams, controls, logicalWidth, logicalHeight, PASS_INSIDE);
+ const renderBackMaterial = (
+ target: GPUTextureView,
+ depth: GPUTextureView,
+ controls: RenderControls,
+ logicalWidth: number,
+ logicalHeight: number,
+ projectionPaddingRadius = paddingRadius,
+ ) => {
+ writeParams(insideParams, controls, logicalWidth, logicalHeight, PASS_INSIDE, projectionPaddingRadius);
const pass = new RenderPass(device, {
label: "eve-5-back-material-pass",
colorAttachments: [{ view: target, loadOp: "clear", storeOp: "store", clearValue: [0, 0, 0, 1] }],
@@ -363,8 +441,15 @@ export function createEve5Renderer(
pass.end();
};
- const renderBackDepth = (target: GPUTextureView, depth: GPUTextureView, controls: RenderControls, logicalWidth: number, logicalHeight: number) => {
- writeParams(backDepthParams, controls, logicalWidth, logicalHeight, PASS_INSIDE);
+ const renderBackDepth = (
+ target: GPUTextureView,
+ depth: GPUTextureView,
+ controls: RenderControls,
+ logicalWidth: number,
+ logicalHeight: number,
+ projectionPaddingRadius = paddingRadius,
+ ) => {
+ writeParams(backDepthParams, controls, logicalWidth, logicalHeight, PASS_INSIDE, projectionPaddingRadius);
const pass = new RenderPass(device, {
label: "eve-5-back-depth-pass",
colorAttachments: [{ view: target, loadOp: "clear", storeOp: "store", clearValue: [0, 0, 0, 1] }],
@@ -384,11 +469,20 @@ export function createEve5Renderer(
pass.end();
};
- const renderScene = (view: GPUTextureView, backMaterial: GPUTexture, backDepth: GPUTexture, controls: RenderControls, logicalWidth: number, logicalHeight: number) => {
- writeParams(outsideParams, controls, logicalWidth, logicalHeight, PASS_OUTSIDE);
- writeParams(wireParams, controls, logicalWidth, logicalHeight, PASS_WIREFRAME);
- writeParams(envBgParams, controls, logicalWidth, logicalHeight, PASS_OUTSIDE);
- writeParams(opaqueOutsideParams, controls, logicalWidth, logicalHeight, PASS_OUTSIDE);
+ const renderScene = (
+ view: GPUTextureView,
+ backMaterial: GPUTexture,
+ backDepth: GPUTexture,
+ controls: RenderControls,
+ logicalWidth: number,
+ logicalHeight: number,
+ projectionPaddingRadius = paddingRadius,
+ imprint: ImprintRenderOptions = {},
+ ) => {
+ writeParams(outsideParams, controls, logicalWidth, logicalHeight, PASS_OUTSIDE, projectionPaddingRadius, imprint);
+ writeParams(wireParams, controls, logicalWidth, logicalHeight, PASS_WIREFRAME, projectionPaddingRadius);
+ writeParams(envBgParams, controls, logicalWidth, logicalHeight, PASS_OUTSIDE, projectionPaddingRadius);
+ writeParams(opaqueOutsideParams, controls, logicalWidth, logicalHeight, PASS_OUTSIDE, projectionPaddingRadius);
const outsideBindGroup = createParamsBindGroup(
device,
@@ -475,8 +569,16 @@ export function createEve5Renderer(
pass.end();
};
- const renderThicknessDebug = (view: GPUTextureView, backMaterial: GPUTexture, backDepth: GPUTexture, controls: RenderControls, logicalWidth: number, logicalHeight: number) => {
- writeParams(outsideParams, controls, logicalWidth, logicalHeight, PASS_OUTSIDE);
+ const renderThicknessDebug = (
+ view: GPUTextureView,
+ backMaterial: GPUTexture,
+ backDepth: GPUTexture,
+ controls: RenderControls,
+ logicalWidth: number,
+ logicalHeight: number,
+ projectionPaddingRadius = paddingRadius,
+ ) => {
+ writeParams(outsideParams, controls, logicalWidth, logicalHeight, PASS_OUTSIDE, projectionPaddingRadius);
const outsideBindGroup = createParamsBindGroup(
device,
frontDisplayPipeline,
@@ -522,7 +624,8 @@ export function createEve5Renderer(
pass.end();
};
- const renderComposite = (view: GPUTextureView, targets: BloomTargets, bloomTexture: GPUTexture = targets.vertical) => {
+ const renderComposite = (view: GPUTextureView, targets: BloomTargets, bloomTexture: GPUTexture = targets.vertical, strength = BLOOM_STRENGTH_OFF) => {
+ compositeParamsBuffer.write(new Float32Array([strength, 0, 0, 0]));
const bindGroup = device.gpu.createBindGroup({
label: "eve-5-bloom-composite-bind-group",
layout: compositePipeline.getBindGroupLayout(0),
@@ -562,34 +665,39 @@ export function createEve5Renderer(
pass.end();
};
+ const renderGlassTarget = (target: GPUTextureView, controls: RenderControls, logicalWidth: number, logicalHeight: number, imprint: ImprintRenderOptions = {}) => {
+ const safeWidth = Math.max(1, Math.round(logicalWidth));
+ const safeHeight = Math.max(1, Math.round(logicalHeight));
+ const targets = ensureBloomTargets(safeWidth, safeHeight);
+ const backSurfaceDepthView = targets.backSurfaceDepth.createView();
+ renderBackMaterial(targets.backMaterial.createView(), backSurfaceDepthView, controls, safeWidth, safeHeight);
+ renderBackDepth(targets.backDepth.createView(), backSurfaceDepthView, controls, safeWidth, safeHeight);
+ if (controls.material === "back-albedo" || controls.material === "back-depth") {
+ renderTargetPreview(target, targets, controls);
+ return;
+ }
+ if (controls.material === "thickness") {
+ renderThicknessDebug(target, targets.backMaterial, targets.backDepth, controls, safeWidth, safeHeight);
+ return;
+ }
+ renderScene(targets.scene.createView(), targets.backMaterial, targets.backDepth, controls, safeWidth, safeHeight, paddingRadius, imprint);
+ if (isLight) {
+ renderLightComposite(target, targets);
+ return;
+ }
+ if (!bloomEnabled) {
+ renderComposite(target, targets, targets.scene, 0);
+ return;
+ }
+ const effectiveBloomStrength = mix(BLOOM_STRENGTH_OFF, BLOOM_STRENGTH_ON, clampUnit(imprint.progress ?? 0));
+ renderBlur(targets.scene, targets.horizontal, [1, 0], true);
+ renderBlur(targets.horizontal, targets.vertical, [0, 1], false);
+ renderComposite(target, targets, targets.vertical, effectiveBloomStrength);
+ };
+
return {
- render(target: GPUTextureView, controls: RenderControls, logicalWidth: number, logicalHeight: number) {
- const safeWidth = Math.max(1, Math.round(logicalWidth));
- const safeHeight = Math.max(1, Math.round(logicalHeight));
- const targets = ensureBloomTargets(safeWidth, safeHeight);
- const backSurfaceDepthView = targets.backSurfaceDepth.createView();
- renderBackMaterial(targets.backMaterial.createView(), backSurfaceDepthView, controls, safeWidth, safeHeight);
- renderBackDepth(targets.backDepth.createView(), backSurfaceDepthView, controls, safeWidth, safeHeight);
- if (controls.material === "back-albedo" || controls.material === "back-depth") {
- renderTargetPreview(target, targets, controls);
- return;
- }
- if (controls.material === "thickness") {
- renderThicknessDebug(target, targets.backMaterial, targets.backDepth, controls, safeWidth, safeHeight);
- return;
- }
- renderScene(targets.scene.createView(), targets.backMaterial, targets.backDepth, controls, safeWidth, safeHeight);
- if (isLight) {
- renderLightComposite(target, targets);
- return;
- }
- if (!bloomEnabled) {
- renderComposite(target, targets, targets.scene);
- return;
- }
- renderBlur(targets.scene, targets.horizontal, [1, 0], true);
- renderBlur(targets.horizontal, targets.vertical, [0, 1], false);
- renderComposite(target, targets);
+ render(target: GPUTextureView, controls: RenderControls, logicalWidth: number, logicalHeight: number, imprint?: ImprintRenderOptions) {
+ renderGlassTarget(target, controls, logicalWidth, logicalHeight, imprint);
},
dispose() {
gpuMesh.vertexBuffer.destroy();
@@ -659,9 +767,9 @@ function createBackDepthTexture(device: Device, label: string, width: number, he
});
}
-export function createStudioCubemap(device: Device): StudioCubemap {
+export function createStudioCubemap(device: Device, label = "eve-5-studio-hdr-cubemap"): StudioCubemap {
const texture = device.gpu.createTexture({
- label: "eve-5-studio-hdr-cubemap",
+ label,
size: { width: CUBE_SIZE, height: CUBE_SIZE, depthOrArrayLayers: CUBE_FACE_COUNT },
dimension: "2d",
format: CUBE_FORMAT,
@@ -683,7 +791,7 @@ export function createStudioCubemap(device: Device): StudioCubemap {
return { texture, view, sampler, faceParams };
}
-export function renderStudioCubemap(device: Device, cubemap: StudioCubemap) {
+export function renderStudioCubemap(device: Device, cubemap: StudioCubemap, lights: readonly EnvLightConfig[], globalIntensity = 1) {
const pipeline = createRenderPipeline(device, {
label: "eve-5-studio-cubemap-bake-pipeline",
shader: device.createShader(compile(eveCubemapWgsl)),
@@ -699,7 +807,7 @@ export function renderStudioCubemap(device: Device, cubemap: StudioCubemap) {
});
for (let face = 0; face < CUBE_FACE_COUNT; face += 1) {
- cubemap.faceParams.write(new Float32Array([face, 0, 0, 0]));
+ cubemap.faceParams.write(cubeParamsData(face, lights, globalIntensity));
const pass = new RenderPass(device, {
label: `eve-5-studio-cubemap-face-${face}`,
colorAttachments: [
@@ -718,6 +826,48 @@ export function renderStudioCubemap(device: Device, cubemap: StudioCubemap) {
}
}
+function cubeParamsData(face: number, lights: readonly EnvLightConfig[], globalIntensity: number) {
+ if (lights.length > CUBE_MAX_LIGHTS) {
+ throw new Error(`Studio cubemap supports up to ${CUBE_MAX_LIGHTS} lights, received ${lights.length}`);
+ }
+
+ const data = new Float32Array(CUBE_PARAMS_FLOAT_COUNT);
+ data[0] = face;
+ data[1] = lights.length;
+
+ lights.forEach((light, index) => {
+ const [r, g, b] = lightColorLinear(light);
+ const offset = 4 + index * CUBE_LIGHT_FLOAT_COUNT;
+ data[offset] = light.position[0];
+ data[offset + 1] = light.position[1];
+ data[offset + 2] = light.position[2];
+ data[offset + 3] = light.radius;
+ data[offset + 4] = r;
+ data[offset + 5] = g;
+ data[offset + 6] = b;
+ data[offset + 7] = light.intensity * globalIntensity;
+ data[offset + 8] = light.softness;
+ data[offset + 9] = light.luminance;
+ });
+
+ return data;
+}
+
+function lightColorLinear(light: EnvLightConfig): Vec3 {
+ return srgbHexToLinear(light.color);
+}
+
+function srgbHexToLinear(hex: string): Vec3 {
+ const normalized = hex.replace(/^#/, "");
+ if (!/^[0-9a-fA-F]{6}$/.test(normalized)) {
+ throw new Error(`Expected a 6-digit sRGB hex color, received ${hex}`);
+ }
+ return [0, 2, 4].map((offset) => {
+ const channel = Number.parseInt(normalized.slice(offset, offset + 2), 16) / 255;
+ return channel <= 0.04045 ? channel / 12.92 : ((channel + 0.055) / 1.055) ** 2.4;
+ }) as Vec3;
+}
+
function createEnvParamsBinding(device: Device, pipeline: GPURenderPipeline, cubemap: StudioCubemap, label: string) {
const buffer = device.createBuffer({ size: PARAMS_BYTE_SIZE, usage: ["uniform", "copy_dst"], label });
const bindGroup = device.gpu.createBindGroup({
@@ -895,6 +1045,31 @@ export function meshThicknessScale(bounds: Bounds) {
return Math.max(normalizedZExtent * EVE_THICKNESS_SCALE_MULTIPLIER, 0.000001);
}
+function cameraClipPlanes(bounds: Bounds, eye: Vec3, forward: Vec3) {
+ const corners: Vec3[] = [
+ [bounds.min[0], bounds.min[1], bounds.min[2]],
+ [bounds.min[0], bounds.min[1], bounds.max[2]],
+ [bounds.min[0], bounds.max[1], bounds.min[2]],
+ [bounds.min[0], bounds.max[1], bounds.max[2]],
+ [bounds.max[0], bounds.min[1], bounds.min[2]],
+ [bounds.max[0], bounds.min[1], bounds.max[2]],
+ [bounds.max[0], bounds.max[1], bounds.min[2]],
+ [bounds.max[0], bounds.max[1], bounds.max[2]],
+ ];
+ let near = Infinity;
+ let far = -Infinity;
+ for (const corner of corners) {
+ const position = normalizePositionForGpu(corner, bounds);
+ const depth = dot(sub(position, eye), forward);
+ near = Math.min(near, depth);
+ far = Math.max(far, depth);
+ }
+ return {
+ near: Math.max(0.001, near - CAMERA_CLIP_PADDING),
+ far: Math.max(0.002, far + CAMERA_CLIP_PADDING),
+ };
+}
+
function cameraAxisDepthRange(bounds: Bounds, forward: Vec3) {
const corners: Vec3[] = [
[bounds.min[0], bounds.min[1], bounds.min[2]],
@@ -1008,6 +1183,14 @@ function dot(a: Vec3, b: Vec3): number {
return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];
}
+function clampUnit(value: number) {
+ return Math.max(0, Math.min(1, value));
+}
+
+function mix(from: number, to: number, amount: number) {
+ return from + (to - from) * amount;
+}
+
function length(a: Vec3): number {
return Math.hypot(a[0], a[1], a[2]);
}
@@ -1017,6 +1200,12 @@ function normalize(a: Vec3): Vec3 {
return [a[0] / l, a[1] / l, a[2] / l];
}
+export function cameraRadiusForFov(fovDegrees: number, baselineRadius = BASELINE_CAMERA_RADIUS, baselineFovDegrees = BASELINE_CAMERA_FOV) {
+ const baselineHalfFov = degreesToRadians(baselineFovDegrees) * 0.5;
+ const targetHalfFov = degreesToRadians(fovDegrees) * 0.5;
+ return (baselineRadius * Math.tan(baselineHalfFov)) / Math.tan(targetHalfFov);
+}
+
function degreesToRadians(degrees: number) {
return (degrees * Math.PI) / 180;
}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/bloom/composite.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/bloom/composite.wgsl
index 163287808..bb0f6367e 100644
--- a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/bloom/composite.wgsl
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/bloom/composite.wgsl
@@ -18,6 +18,7 @@ struct CompositeParams {
@group(0) @binding(3) var<uniform> params: CompositeParams;
const DISPLAY_GAMMA = 2.2;
+const BLOOM_RADIAL_FULL_RADIUS = 0.55;
@vertex
fn vs_main(@builtin(vertex_index) vertexIndex: u32) -> VertexOutput {
@@ -51,6 +52,9 @@ fn linear_to_display(color: vec3f) -> vec3f {
fn fs_main(input: VertexOutput) -> @location(0) vec4f {
let scene = textureSample(sceneTexture, texSampler, input.uv).rgb;
let bloom = textureSample(bloomTexture, texSampler, input.uv).rgb;
- let linearColor = scene + bloom * params.strength;
+ let sceneSize = vec2f(textureDimensions(sceneTexture));
+ let aspectCorrectUv = (input.uv - vec2f(0.5)) * vec2f(sceneSize.x / max(sceneSize.y, 1.0), 1.0);
+ let bloomRadial = smoothstep(0.0, BLOOM_RADIAL_FULL_RADIUS, length(aspectCorrectUv));
+ let linearColor = scene + bloom * params.strength * bloomRadial;
return vec4f(linear_to_display(aces_tonemap(linearColor)), 1.0);
}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/cubemap/render.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/cubemap/render.wgsl
index 80ec96765..58640a28c 100644
--- a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/cubemap/render.wgsl
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/cubemap/render.wgsl
@@ -1,8 +1,17 @@
+const MAX_ENV_LIGHTS = 16u;
+
+struct EnvLight {
+ positionRadius: vec4f,
+ colorIntensity: vec4f,
+ params: vec4f,
+};
+
struct CubeParams {
face: f32,
+ lightCount: f32,
_pad0: f32,
_pad1: f32,
- _pad2: f32,
+ lights: array<EnvLight, 16>,
};
struct VertexOutput {
@@ -51,7 +60,7 @@ fn cube_dir(face: f32, uv: vec2f) -> vec3f {
return normalize(vec3f(-p.x, -p.y, -1.0));
}
-fn spot(dir: vec3f, center: vec3f, radius: f32, softness: f32, luminance: f32) -> vec3f {
+fn spot(dir: vec3f, center: vec3f, radius: f32, softness: f32, luminance: f32, color: vec3f, intensity: f32) -> vec3f {
let d = distance(normalize(dir), normalize(center));
let soft = clamp(softness, 0.0, 1.0);
// Gaussian softboxes keep an HDR tail instead of clamping to exact zero at radius.
@@ -60,26 +69,34 @@ fn spot(dir: vec3f, center: vec3f, radius: f32, softness: f32, luminance: f32) -
// softness widens/narrows the falloff without changing the desaturated white color.
let sigma = max(radius * mix(0.35, 0.85, soft), 0.001);
let t = exp(-0.5 * (d / sigma) * (d / sigma));
- // White, desaturated studio softboxes. Units are scene-linear relative cd/m^2-ish values.
- return vec3f(1.0) * (t * luminance);
+ // Units are scene-linear relative cd/m^2-ish values.
+ return color * (t * luminance * intensity);
}
@fragment
fn fs_main(input: VertexOutput) -> @location(0) vec4f {
let dir = cube_dir(params.face, input.uv);
- // Dim black studio with high-dynamic-range white cards/softboxes.
+ // Dim black studio with high-dynamic-range configurable cards/softboxes.
var radiance = vec3f(0.0);
+ let lightCount = min(u32(params.lightCount), MAX_ENV_LIGHTS);
- // dir center radius softness luminance
- radiance += spot(dir, vec3f(-1.4, 2., -0.4), 0.3, 0.02, 10.0); // top-left high
- radiance += spot(dir, vec3f(-0.4, 1., 1.), 0.9, 0.02, 1.0); // front-left high
+ for (var index = 0u; index < MAX_ENV_LIGHTS; index += 1u) {
+ if (index >= lightCount) {
+ break;
+ }
- radiance += spot(dir, vec3f(0.5, 0., 1.)*10., 0.5, 0.1, 0.2); // front-right
- radiance += spot(dir, vec3f(0.4, -0.3, -1.), 0.1, 1., 0.5); // back-right
+ let light = params.lights[index];
+ radiance += spot(
+ dir,
+ light.positionRadius.xyz,
+ light.positionRadius.w,
+ light.params.x,
+ light.params.y,
+ light.colorIntensity.rgb,
+ light.colorIntensity.w,
+ );
+ }
- radiance += spot(dir, vec3f(1.0, -2., -0.5), 0.2, 1., 5.); // front-bottom-right
- radiance += spot(dir, vec3f(-0.3, -0.2, -0.2), 0.3, 4., 3.); // front-bottom-left
-
return vec4f(radiance, 1.0);
}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/env/background.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/env/background.wgsl
index 91d27f7ea..d2f1be41d 100644
--- a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/env/background.wgsl
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/env/background.wgsl
@@ -1,4 +1,4 @@
-import { sample_cubemap_array_yaw } from "../shared/cube-sample.wgsl";
+import { sample_env } from "../shared/cube-sample.wgsl";
// Environment background pass for eve-5.
// Draws the fixed-world studio HDR cubemap from the same true orbit camera as the logo.
@@ -15,6 +15,11 @@ struct Params {
materialKind: f32,
thicknessScale: f32,
envYaw: f32,
+ envPitch: f32,
+ glassAbsorption: f32,
+ // Match the shared glass Params layout because this pass receives the same buffer.
+ ascii0: vec4f,
+ ascii1: vec4f,
};
struct VertexOutput {
@@ -48,7 +53,7 @@ fn fs_main(input: VertexOutput) -> @location(0) vec4f {
params.cameraRight * (input.ndc.x * params.aspect / focalY) +
params.cameraUp * (input.ndc.y / focalY)
);
- let hdr = sample_cubemap_array_yaw(studioCube, studioSampler, dir, params.envYaw);
+ let hdr = sample_env(studioCube, studioSampler, dir, params.envYaw, params.envPitch);
// Scene target is linear HDR (ACES/gamma applied later in the composite pass).
return vec4f(hdr, 1.0);
}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/back-depth.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/back-depth.wgsl
index e605f2d5d..d6e73e064 100644
--- a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/back-depth.wgsl
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/back-depth.wgsl
@@ -1,8 +1,6 @@
import { Params, VertexInput, VertexOutput, glass_vs_main, is_back_facing_to_camera } from "../shared/glass-common.wgsl";
@group(0) @binding(0) var<uniform> params: Params;
-@group(0) @binding(1) var studioCube: texture_2d_array<f32>;
-@group(0) @binding(2) var studioSampler: sampler;
@vertex
fn vs_main(input: VertexInput) -> VertexOutput {
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/back.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/back.wgsl
index 424d842d8..466c7457b 100644
--- a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/back.wgsl
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/back.wgsl
@@ -38,10 +38,10 @@ fn fs_main(input: VertexOutput) -> @location(0) vec4f {
return vec4f(encode_normal(reflected), 1.0);
}
case 3u: {
- return vec4f(env_reflection_from_dir(studioCube, studioSampler, reflected, params.envYaw), 1.0);
+ return vec4f(env_reflection_from_dir(studioCube, studioSampler, reflected, params.envYaw, params.envPitch), 1.0);
}
default: {
- return shade_glass(studioCube, studioSampler, n, v, reflected, params.envYaw, true);
+ return shade_glass(studioCube, studioSampler, n, v, reflected, params.envYaw, params.envPitch, true, params.glassAbsorption);
}
}
}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/front.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/front.wgsl
index 48b688d4d..5e5eb13c8 100644
--- a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/front.wgsl
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/glass/front.wgsl
@@ -1,6 +1,7 @@
import { oriented_normal, env_reflect_dir, env_reflection_from_dir, encode_normal } from "../shared/material-core.wgsl";
import { Params, VertexInput, VertexOutput, WIRE_PASS_THRESHOLD, glass_vs_main, is_back_facing_to_camera } from "../shared/glass-common.wgsl";
import { shade_glass } from "../shared/glass-material.wgsl";
+import { ascii_imprint_coverage } from "../shared/ascii-imprint.wgsl";
@group(0) @binding(0) var<uniform> params: Params;
@group(0) @binding(1) var studioCube: texture_2d_array<f32>;
@@ -8,12 +9,22 @@ import { shade_glass } from "../shared/glass-material.wgsl";
@group(0) @binding(3) var backMaterial: texture_2d<f32>;
@group(0) @binding(4) var backDepth: texture_2d<f32>;
-const VOGEL_SAMPLE_COUNT = 8u;
+const VOGEL_SAMPLE_COUNT = 16u;
const GOLDEN_ANGLE = 2.399963229728653;
const MAX_BACK_BLUR_RADIUS_UV = 0.01;
+const BACK_BLUR_SIGMA = 0.4;
const BACK_MIN_TRANSMISSION = 0.38;
const BACK_ABSORPTION_TINT = vec3f(0.9);
const TAU = 6.28318530718;
+const FRONT_GATE_START = 0.55;
+const FRONT_GATE_FULL = 0.80;
+const IMPRINT_EMISSIVE = vec3f(2.5);
+const ASCII_OPACITY_BOTTOM_Y = 0.;
+const ASCII_OPACITY_TOP_Y = 0.3;
+const ASCII_OPACITY_BOTTOM_LIGHT = 0.3;
+const ASCII_OPACITY_BOTTOM_DARK = 0.1;
+const ASCII_OPACITY_TOP = 1.0;
+const ASCII_OPACITY_CURVE_POWER = 2.0;
fn hash12(p: vec2f) -> f32 {
let h = dot(p, vec2f(127.1, 311.7));
@@ -41,7 +52,8 @@ fn vogel_gaussian_blur(uv: vec2f, blurRadius: f32, baseRotation: f32) -> vec3f {
let vogelRadius = sqrt((fi + 0.5) / f32(VOGEL_SAMPLE_COUNT));
let theta = fi * GOLDEN_ANGLE + baseRotation;
let sampleUv = uv + vec2f(cos(theta), sin(theta)) * vogelRadius * blurRadius;
- let weight = exp(-vogelRadius * vogelRadius * 2.0);
+ let sigma = max(BACK_BLUR_SIGMA, 0.0001);
+ let weight = exp(-(vogelRadius * vogelRadius) / (2.0 * sigma * sigma));
color += textureSampleLevel(backMaterial, studioSampler, sampleUv, 0.0).rgb * weight;
totalWeight += weight;
}
@@ -87,10 +99,10 @@ fn fs_main(input: VertexOutput) -> @location(0) vec4f {
return vec4f(encode_normal(reflected), 1.0);
}
case 3u: {
- return vec4f(env_reflection_from_dir(studioCube, studioSampler, reflected, params.envYaw), 1.0);
+ return vec4f(env_reflection_from_dir(studioCube, studioSampler, reflected, params.envYaw, params.envPitch), 1.0);
}
default: {
- var glass = shade_glass(studioCube, studioSampler, n, v, reflected, params.envYaw, false);
+ var glass = shade_glass(studioCube, studioSampler, n, v, reflected, params.envYaw, params.envPitch, false, params.glassAbsorption);
let backSize = vec2i(textureDimensions(backMaterial));
let pixel = vec2i(input.clipPosition.xy);
if (all(pixel >= vec2i(0)) && all(pixel < backSize)) {
@@ -100,16 +112,48 @@ fn fs_main(input: VertexOutput) -> @location(0) vec4f {
let baseVogelRotation = hash12(uv) * TAU;
let blurredBackContribution = vogel_gaussian_blur(uv, blurRadius, baseVogelRotation);
let thicknessFade = pow(clamp(normalizedThickness, 0.0, 1.0), 0.5);
- let transmission = mix(1.0, BACK_MIN_TRANSMISSION, thicknessFade);
- let absorptionTint = mix(vec3f(1.0), BACK_ABSORPTION_TINT, thicknessFade);
+ let absorptionFade = thicknessFade * params.glassAbsorption;
+ let transmission = mix(1.0, BACK_MIN_TRANSMISSION, absorptionFade);
+ let absorptionTint = mix(vec3f(1.0), BACK_ABSORPTION_TINT, absorptionFade);
let backContribution = blurredBackContribution * transmission * absorptionTint;
// The main scene uses additive alpha blending (`src-alpha + one`). The offscreen back
// texture already contains the blended back-side contribution, so divide by the front
// alpha before returning to preserve the previous two-draw visual result.
glass = vec4f(glass.rgb + backContribution / max(glass.a, 0.001), glass.a);
- // glass = vec4f(normalizedThickness/10., 0., 0., 1.);
}
- return glass;
+ if (params.ascii0.x <= 0.0) {
+ return glass;
+ }
+
+ let imprintProgress = clamp(params.ascii0.x, 0.0, 1.0);
+ let glassVisibility = 1.0 - imprintProgress;
+ let frontMask = smoothstep(FRONT_GATE_START, FRONT_GATE_FULL, ngeo.z);
+ let verticalT = clamp(
+ (input.modelPos.y - ASCII_OPACITY_BOTTOM_Y) / (ASCII_OPACITY_TOP_Y - ASCII_OPACITY_BOTTOM_Y),
+ 0.0,
+ 1.0,
+ );
+ let verticalCurve = pow(verticalT, ASCII_OPACITY_CURVE_POWER);
+ let themeT = clamp(params.glassAbsorption, 0.0, 1.0);
+ let asciiOpacityBottom = mix(ASCII_OPACITY_BOTTOM_LIGHT, ASCII_OPACITY_BOTTOM_DARK, themeT);
+ let asciiOpacity = mix(asciiOpacityBottom, ASCII_OPACITY_TOP, verticalCurve);
+ let coverage = ascii_imprint_coverage(
+ input.modelPos.xy,
+ params.ascii0.y,
+ params.ascii0.z,
+ params.ascii0.w,
+ params.ascii1.xy,
+ imprintProgress,
+ ) * frontMask * asciiOpacity;
+ // Fade the normal front-glass/env/back-blur contribution out as ASCII takes over.
+ // ASCII coverage itself is not faded by this visibility term, so at p=1 only the
+ // emissive imprint remains while non-ASCII glass becomes transparent.
+ let fadedGlassAlpha = glass.a * glassVisibility;
+ let fadedGlassContribution = glass.rgb * fadedGlassAlpha;
+ let imprintColor = IMPRINT_EMISSIVE * clamp(params.glassAbsorption, 0.0, 1.0);
+ let aNew = mix(fadedGlassAlpha, 1.0, coverage);
+ let desired = mix(fadedGlassContribution, imprintColor, coverage);
+ return vec4f(desired / max(aNew, 0.001), aNew);
}
}
}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/ascii-imprint.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/ascii-imprint.wgsl
new file mode 100644
index 000000000..f9f77b02a
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/ascii-imprint.wgsl
@@ -0,0 +1,158 @@
+export fn sd_box(p: vec2f, halfSize: vec2f) -> f32 {
+ let q = abs(p) - halfSize;
+ return length(max(q, vec2f(0.0))) + min(max(q.x, q.y), 0.0);
+}
+
+export fn sd_equilateral_triangle(p0: vec2f) -> f32 {
+ let k = sqrt(3.0);
+ var p = p0;
+ p.x = abs(p.x) - 0.42;
+ p.y = p.y + 0.24;
+ if (p.x + k * p.y > 0.0) {
+ p = vec2f(p.x - k * p.y, -k * p.x - p.y) / 2.0;
+ }
+ p.x = p.x - clamp(p.x, -0.84, 0.0);
+ return -length(p) * sign(p.y);
+}
+
+export fn hash_u32(value: u32) -> u32 {
+ var x = value;
+ x ^= x >> 16u;
+ x *= 0x7feb352du;
+ x ^= x >> 15u;
+ x *= 0x846ca68bu;
+ x ^= x >> 16u;
+ return x;
+}
+
+export fn hash3(cell: vec3i) -> f32 {
+ let ux = bitcast<u32>(cell.x);
+ let uy = bitcast<u32>(cell.y);
+ let uz = bitcast<u32>(cell.z);
+ let mixed = (ux * 0x8da6b343u) ^ (uy * 0xd8163841u) ^ (uz * 0xcb1ab31fu);
+ return f32(hash_u32(mixed) & 0x00ffffffu) / 16777215.0;
+}
+
+fn hash3_feature_point(cell: vec3i) -> vec3f {
+ return vec3f(
+ hash3(cell + vec3i(17, 59, 113)),
+ hash3(cell + vec3i(101, 191, 53)),
+ hash3(cell + vec3i(47, 223, 149)),
+ );
+}
+
+const VORONOI_EDGE_WIDTH = 0.08;
+const VORONOI_EDGE_SOFTNESS = 0.04;
+
+export fn voronoi_cell_value_and_edge_3d(p: vec3f) -> vec2f {
+ let baseCell = vec3i(floor(p));
+ let localPosition = fract(p);
+ var nearestDistanceSquared = 1000.0;
+ var secondNearestDistanceSquared = 1000.0;
+ var winningCell = baseCell;
+
+ for (var z = -1; z <= 1; z = z + 1) {
+ for (var y = -1; y <= 1; y = y + 1) {
+ for (var x = -1; x <= 1; x = x + 1) {
+ let neighborOffset = vec3i(x, y, z);
+ let neighborCell = baseCell + neighborOffset;
+ let featurePoint = vec3f(neighborOffset) + hash3_feature_point(neighborCell);
+ let delta = featurePoint - localPosition;
+ let distanceSquared = dot(delta, delta);
+ if (distanceSquared < nearestDistanceSquared) {
+ secondNearestDistanceSquared = nearestDistanceSquared;
+ nearestDistanceSquared = distanceSquared;
+ winningCell = neighborCell;
+ } else if (distanceSquared < secondNearestDistanceSquared) {
+ secondNearestDistanceSquared = distanceSquared;
+ }
+ }
+ }
+ }
+
+ // Hard-cell Voronoi: the nearest feature cell gets one random value for glyph type.
+ // The F2-F1 gap controls a pure-white edge overlay, while interiors keep the full
+ // random-selected glyph instead of being masked away.
+ let cellValue = hash3(winningCell + vec3i(211, 37, 173));
+ let edgeGap = sqrt(secondNearestDistanceSquared) - sqrt(nearestDistanceSquared);
+ let edgeMask = 1.0 - smoothstep(VORONOI_EDGE_WIDTH, VORONOI_EDGE_WIDTH + VORONOI_EDGE_SOFTNESS, edgeGap);
+ return vec2f(cellValue, edgeMask);
+}
+
+const ASCII_BASE_DOT_RADIUS = 0.075;
+const ASCII_EDGE_SQUARE_HALF_SIZE = 0.22;
+
+export fn shape_distance(p: vec2f, value: f32) -> f32 {
+ if (value < 0.002) {
+ return 1.0;
+ }
+ // Luminance/noise selects the glyph only. Keep each glyph's dimensions fixed so
+ // glyph size is controlled by grid geometry and the glyphScale uniform, not value.
+ if (value < 0.18) {
+ return length(p) - ASCII_BASE_DOT_RADIUS;
+ }
+ if (value < 0.36) {
+ return length(p) - 0.145;
+ }
+ if (value < 0.58) {
+ return sd_box(p, vec2f(0.27, 0.055));
+ }
+ if (value < 0.78) {
+ return length(p) - 0.235;
+ }
+ if (value < 0.93) {
+ let scale = 0.66;
+ return sd_equilateral_triangle(p / scale) * scale;
+ }
+ return sd_box(p, vec2f(0.255, 0.255));
+}
+
+const IMPRINT_VORONOI_FREQUENCY = 2.4;
+const ASCII_VORONOI_Z_SPEED = 0.35;
+const REVEAL_STAGGER_WINDOW = 0.25;
+
+// Returns glyph coverage 0..1 for a model-space X/Y position. The caller applies the
+// geometric front-face mask so this module stays independent of material normals.
+export fn ascii_imprint_coverage(modelPosXY: vec2f, gridScale: f32, glyphScale: f32, time: f32, mouse: vec2f, prog: f32) -> f32 {
+ let safeProgress = clamp(prog, 0.0, 1.0);
+ if (safeProgress <= 0.0) {
+ return 0.0;
+ }
+
+ let safeGridScale = max(gridScale, 0.001);
+ let safeGlyphScale = max(glyphScale, 0.1);
+ let gridPosition = modelPosXY * safeGridScale;
+ let cellCoord = floor(gridPosition);
+ let cellCenter = (cellCoord + vec2f(0.5)) / safeGridScale;
+ let glyphUv = fract(gridPosition);
+ let p = (glyphUv - vec2f(0.5)) * 2.0;
+
+ let samplePosition = vec3f(cellCenter * IMPRINT_VORONOI_FREQUENCY, time * ASCII_VORONOI_Z_SPEED);
+ let voronoi = voronoi_cell_value_and_edge_3d(samplePosition);
+ let cellValue = voronoi.x;
+ let edgeMask = voronoi.y;
+
+ let scaledP = p / safeGlyphScale;
+ let baseDotDistance = (length(scaledP) - ASCII_BASE_DOT_RADIUS) * safeGlyphScale;
+ let selectedGlyphDistance = shape_distance(scaledP, cellValue) * safeGlyphScale;
+ let baseDotAa = max(fwidth(baseDotDistance), 0.01);
+ let selectedGlyphAa = max(fwidth(selectedGlyphDistance), 0.01);
+ let baseDotCoverage = 1.0 - smoothstep(0.0, baseDotAa, baseDotDistance);
+ let selectedGlyphCoverage = 1.0 - smoothstep(0.0, selectedGlyphAa, selectedGlyphDistance);
+ let interiorGlyph = max(selectedGlyphCoverage, baseDotCoverage);
+ let edgeGlyphDistance = sd_box(scaledP, vec2f(ASCII_EDGE_SQUARE_HALF_SIZE)) * safeGlyphScale;
+ let edgeGlyphAa = max(fwidth(edgeGlyphDistance), 0.01);
+ let edgeGlyphCoverage = (1.0 - smoothstep(0.0, edgeGlyphAa, edgeGlyphDistance)) * edgeMask;
+ // Draw the full random-selected glyph throughout each Voronoi region; the minimum dot only
+ // prevents empty branches. F2-F1 edge proximity boosts a small SDF-shaped square at
+ // boundaries instead of bypassing the SDF and filling the whole ASCII quad.
+ let glyph = max(interiorGlyph, edgeGlyphCoverage);
+
+ let cellRand = hash3(vec3i(vec2i(cellCoord), 0));
+ // Spread each cell's 0.25-wide reveal window across the full transition instead of scaling
+ // progress by the stagger range. This keeps p=0.5 as a true mid-state while preserving exact
+ // endpoints: p=0 reveals no cells, p=1 reveals every cell fully.
+ let revealStart = cellRand * (1.0 - REVEAL_STAGGER_WINDOW);
+ let reveal = smoothstep(revealStart, revealStart + REVEAL_STAGGER_WINDOW, safeProgress);
+ return glyph * reveal;
+}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/cube-sample.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/cube-sample.wgsl
index d3e84159c..1984f667b 100644
--- a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/cube-sample.wgsl
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/cube-sample.wgsl
@@ -65,6 +65,16 @@ export fn rotate_y(direction: vec3f, yaw: f32) -> vec3f {
return normalize(vec3f(direction.x * c - direction.z * s, direction.y, direction.x * s + direction.z * c));
}
+export fn rotate_x(direction: vec3f, pitch: f32) -> vec3f {
+ let s = sin(pitch);
+ let c = cos(pitch);
+ return normalize(vec3f(direction.x, direction.y * c - direction.z * s, direction.y * s + direction.z * c));
+}
+
+export fn rotate_env(direction: vec3f, yaw: f32, pitch: f32) -> vec3f {
+ return rotate_x(rotate_y(direction, yaw), pitch);
+}
+
export fn sample_cubemap_array(envCube: texture_2d_array<f32>, envSampler: sampler, direction: vec3f) -> vec3f {
let lookup = cube_lookup_uv_face(direction);
return textureSample(envCube, envSampler, lookup.xy, i32(lookup.z)).rgb;
@@ -74,6 +84,16 @@ export fn sample_cubemap_array_yaw(envCube: texture_2d_array<f32>, envSampler: s
return sample_cubemap_array(envCube, envSampler, rotate_y(direction, yaw));
}
+export fn sample_env(
+ envCube: texture_2d_array<f32>,
+ envSampler: sampler,
+ direction: vec3f,
+ yaw: f32,
+ pitch: f32,
+) -> vec3f {
+ return sample_cubemap_array(envCube, envSampler, rotate_env(direction, yaw, pitch));
+}
+
export fn sample_cubemap_array_level(envCube: texture_2d_array<f32>, envSampler: sampler, direction: vec3f) -> vec3f {
let lookup = cube_lookup_uv_face(direction);
return textureSampleLevel(envCube, envSampler, lookup.xy, i32(lookup.z), 0.0).rgb;
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/glass-common.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/glass-common.wgsl
index b7162ceda..4ebd34c93 100644
--- a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/glass-common.wgsl
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/glass-common.wgsl
@@ -10,6 +10,12 @@ export struct Params {
materialKind: f32,
thicknessScale: f32,
envYaw: f32,
+ envPitch: f32,
+ glassAbsorption: f32,
+ // x = imprint progress, y = grid scale (cells/model unit), z = glyph scale, w = time seconds.
+ ascii0: vec4f,
+ // x/y = normalized mouse offset; z/w reserved.
+ ascii1: vec4f,
};
export struct VertexInput {
@@ -22,6 +28,7 @@ export struct VertexOutput {
@location(0) normal: vec3f,
@location(1) viewDir: vec3f,
@location(2) cameraAxisDepth: f32,
+ @location(3) modelPos: vec3f,
};
export const OUTSIDE_PASS_THRESHOLD = 0.5;
@@ -35,6 +42,7 @@ export fn glass_vs_main(input: VertexInput, params: Params) -> VertexOutput {
// Depth along the camera forward axis in object/world space. Unlike view-space distance,
// this is independent of orbit radius, so front/back subtraction gives stable thickness.
output.cameraAxisDepth = dot(input.position, normalize(params.cameraForward));
+ output.modelPos = input.position;
return output;
}
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/glass-material.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/glass-material.wgsl
index b6b1c0865..48e1ebb00 100644
--- a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/glass-material.wgsl
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/glass-material.wgsl
@@ -25,7 +25,9 @@ export fn shade_glass(
v: vec3f,
reflected: vec3f,
envYaw: f32,
+ envPitch: f32,
inside: bool,
+ absorptionStrength: f32,
) -> vec4f {
let ndotv = clamp(dot(n, v), 0.0, 1.0);
@@ -35,7 +37,7 @@ export fn shade_glass(
// angles. Lift the specular floor so the polished-acrylic reflection reads across the face,
// while still ramping up toward grazing via Fresnel.
let specularReflectance = clamp(REFLECTION_FLOOR + fresnel, vec3f(0.0), vec3f(1.0));
- let clearcoatSample = env_reflection_from_dir(studioCube, studioSampler, reflected, envYaw);
+ let clearcoatSample = env_reflection_from_dir(studioCube, studioSampler, reflected, envYaw, envPitch);
// Learning from the cube-camera mirror test: artificial >1.0 reflection boosts make the
// reflection brighter than the environment actually is (exaggerated). Keep the clearcoat a
// true 1:1 reflection weighted only by the (energy-conserving) specular reflectance.
@@ -47,11 +49,11 @@ export fn shade_glass(
let fallbackDir = normalize(mix(v, reflected, 0.25));
let refractValid = dot(refracted, refracted) > 0.0;
let transmissionDir = normalize(select(fallbackDir, refracted, refractValid));
- let baseSample = env_reflection_from_dir(studioCube, studioSampler, transmissionDir, envYaw);
+ let baseSample = env_reflection_from_dir(studioCube, studioSampler, transmissionDir, envYaw, envPitch);
let baseThickness = select(0.22, 0.14, inside);
let approxThickness = clamp(baseThickness / max(ndotv, 0.08), 0.05, 2.0);
- let absorptionCoeff = vec3f(0.18);
+ let absorptionCoeff = vec3f(0.18) * absorptionStrength;
let transmission = beer_lambert_transmittance(absorptionCoeff, approxThickness);
let baseWeight = select(0.42, 0.28, inside);
let baseContribution = baseSample * transmission * (vec3f(1.0) - fresnel) * baseWeight;
diff --git a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/material-core.wgsl b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/material-core.wgsl
index e2b9bcf21..67164a411 100644
--- a/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/material-core.wgsl
+++ b/apps/docs/app/[lang]/(home)/components/eve-logo-shader/shaders/shared/material-core.wgsl
@@ -1,4 +1,4 @@
-import { sample_cubemap_array_yaw } from "./cube-sample.wgsl";
+import { sample_env } from "./cube-sample.wgsl";
// Shared material/reflection primitives for eve-5 mesh materials.
// Keep camera-facing normal orientation and reflection direction here so glass,
@@ -13,12 +13,25 @@ export fn env_reflect_dir(n: vec3f, v: vec3f) -> vec3f {
return normalize(reflect(-normalize(v), normalize(n)));
}
-export fn env_reflection_from_dir(envCube: texture_2d_array<f32>, envSampler: sampler, reflected: vec3f, envYaw: f32) -> vec3f {
- return sample_cubemap_array_yaw(envCube, envSampler, reflected, envYaw);
+export fn env_reflection_from_dir(
+ envCube: texture_2d_array<f32>,
+ envSampler: sampler,
+ reflected: vec3f,
+ envYaw: f32,
+ envPitch: f32,
+) -> vec3f {
+ return sample_env(envCube, envSampler, reflected, envYaw, envPitch);
}
-export fn env_reflection(envCube: texture_2d_array<f32>, envSampler: sampler, n: vec3f, v: vec3f, envYaw: f32) -> vec3f {
- return env_reflection_from_dir(envCube, envSampler, env_reflect_dir(n, v), envYaw);
+export fn env_reflection(
+ envCube: texture_2d_array<f32>,
+ envSampler: sampler,
+ n: vec3f,
+ v: vec3f,
+ envYaw: f32,
+ envPitch: f32,
+) -> vec3f {
+ return env_reflection_from_dir(envCube, envSampler, env_reflect_dir(n, v), envYaw, envPitch);
}
export fn encode_normal(n: vec3f) -> vec3f {
diff --git a/apps/docs/app/[lang]/(home)/components/hero-audience.tsx b/apps/docs/app/[lang]/(home)/components/hero-audience.tsx
new file mode 100644
index 000000000..74e9e454c
--- /dev/null
+++ b/apps/docs/app/[lang]/(home)/components/hero-audience.tsx
@@ -0,0 +1,22 @@
+"use client";
+
+import { useState } from "react";
+import { EveLogoShader } from "./eve-logo-shader";
+import { InstallSwitcher, type InstallAudience } from "./install-switcher";
+
+export function HeroAudience({ tagline }: { tagline: string }) {
+ const [audience, setAudience] = useState<InstallAudience>("humans");
+
+ return (
+ <>
+ <div className="relative z-10 max-w-5xl text-center font-normal! text-heading-40 md:text-heading-48 lg:text-heading-56">
+ <EveLogoShader audience={audience} />
+ <h1 className="relative text-balance w-full max-w-[10em]">The framework for building agents</h1>
+ </div>
+ <p className="text-balance pt-[0.35em] relative z-10 w-full text-center text-copy-16 text-gray-900 md:max-w-2xl md:text-copy-18 lg:text-copy-20">
+ {tagline}
+ </p>
+ <InstallSwitcher className="items-center mt-2 z-10" value={audience} onValueChange={setAudience} />
+ </>
+ );
+}
diff --git a/apps/docs/app/[lang]/(home)/components/home-content.tsx b/apps/docs/app/[lang]/(home)/components/home-content.tsx
index 61dc756f6..c429bc869 100644
--- a/apps/docs/app/[lang]/(home)/components/home-content.tsx
+++ b/apps/docs/app/[lang]/(home)/components/home-content.tsx
@@ -4,8 +4,7 @@ import { ArchitectureDiagram } from "./architecture";
import { CTA } from "./cta";
import { FeatureGrid } from "./feature-grid";
import { FileTree } from "./file-tree";
-import { EveLogoShader } from "./eve-logo-shader";
-import { InstallSwitcher } from "./install-switcher";
+import { HeroAudience } from "./hero-audience";
import { NextjsInterop } from "./nextjs-interop";
const title = "eve";
@@ -30,16 +29,7 @@ export const homeMetadata: Metadata = {
export const HomeContent = () => (
<div className="mx-auto w-full max-w-[1080px] pb-32">
<section className="relative isolate flex min-h-[80vh] flex-col items-center justify-center gap-y-5 px-4 pt-24 pb-12 text-center sm:px-12 sm:pb-16 sm:pt-42">
- <div className="relative z-10 max-w-5xl text-center font-normal! text-heading-40 md:text-heading-48 lg:text-heading-56">
- <EveLogoShader />
- <h1 className="relative text-balance w-full max-w-[10em]">
- The framework for building agents
- </h1>
- </div>
- <p className="text-balance relative z-10 w-full text-center text-copy-16 text-gray-900 md:max-w-2xl md:text-copy-18 lg:text-copy-20">
- {tagline}
- </p>
- <InstallSwitcher className="items-center mt-2 z-10" />
+ <HeroAudience tagline={tagline} />
</section>
<FileTree />
<NextjsInterop />
diff --git a/apps/docs/app/[lang]/(home)/components/install-switcher.tsx b/apps/docs/app/[lang]/(home)/components/install-switcher.tsx
index d3a238019..412ba7aae 100644
--- a/apps/docs/app/[lang]/(home)/components/install-switcher.tsx
+++ b/apps/docs/app/[lang]/(home)/components/install-switcher.tsx
@@ -18,22 +18,39 @@ import { cn } from "@/lib/utils";
const HUMAN_COMMAND = "npx eve@latest init my-agent";
const AGENT_COMMAND = "npx skills add vercel/eve";
+export type InstallAudience = "humans" | "agents";
+
/**
* Hero install prompt that toggles between the human-facing `eve init` command
* and the agent-facing skills command, with a copy-to-clipboard pill.
*/
-export const InstallSwitcher = ({ className }: { className?: string }): JSX.Element => (
+export const InstallSwitcher = ({
+ className,
+ value,
+ onValueChange,
+}: {
+ className?: string;
+ value?: InstallAudience;
+ onValueChange?: (value: InstallAudience) => void;
+}): JSX.Element => (
<CommandPromptRoot
className={cn("w-auto items-start", className)}
+ value={value}
defaultValue="humans"
- onValueChange={(value) => {
- track("Selected installer command", { target: value });
+ onValueChange={(nextValue) => {
+ const audience = nextValue === "agents" ? "agents" : "humans";
+ track("Selected installer command", { target: audience });
+ onValueChange?.(audience);
}}
>
<CommandPromptList>
- <CommandPromptTrigger value="humans">For humans</CommandPromptTrigger>
+ <CommandPromptTrigger value="humans" onClickCapture={() => onValueChange?.("humans")}>
+ For you
+ </CommandPromptTrigger>
<CommandPromptTriggerDivider />
- <CommandPromptTrigger value="agents">For agents</CommandPromptTrigger>
+ <CommandPromptTrigger value="agents" onClickCapture={() => onValueChange?.("agents")}>
+ For your agent
+ </CommandPromptTrigger>
</CommandPromptList>
<CommandPromptSurface className="py-2.5">
diff --git a/apps/docs/package.json b/apps/docs/package.json
index c1da3c0e2..05f456a3b 100644
--- a/apps/docs/package.json
+++ b/apps/docs/package.json
@@ -37,6 +37,7 @@
"fumadocs-mdx": "14.0.4",
"fumadocs-ui": "16.9.1",
"jotai": "2.20.0",
+ "lil-gui": "0.21.0",
"lucide-react": "1.16.0",
"mermaid": "11.15.0",
"motion": "12.40.0",
diff --git a/apps/docs/public/eve-5/eve-chamfer.bin b/apps/docs/public/eve-5/eve-chamfer.bin
index 7a30cba94..e8bfc0fda 100644
Binary files a/apps/docs/public/eve-5/eve-chamfer.bin and b/apps/docs/public/eve-5/eve-chamfer.bin differ
diff --git a/apps/docs/public/eve-5/eve-logo.gltf b/apps/docs/public/eve-5/eve-logo.gltf
index 76fb637c8..7e4ae8bad 100644
--- a/apps/docs/public/eve-5/eve-logo.gltf
+++ b/apps/docs/public/eve-5/eve-logo.gltf
@@ -6,14 +6,14 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.03836686666666666,
- 0.008604490000000003,
- 0.0016666666666666679
+ 0.038533533333333335,
+ 0.008604490000000001,
+ 0.001833333333333333
],
"min": [
- 0.01540953333333333,
- 0.008604490000000001,
- -0.0016666666666666679
+ 0.015242866666666662,
+ 0.00860449,
+ -0.001833333333333333
],
"type": "VEC3"
},
@@ -24,13 +24,13 @@
"count": 4,
"max": [
0.0387002,
- 0.008937823333333336,
- 0.0016666666666666679
+ 0.008771156666666663,
+ 0.0018333333333333361
],
"min": [
- 0.03836686666666666,
- 0.008604490000000003,
- -0.0016666666666666679
+ 0.038533533333333335,
+ 0.00860449,
+ -0.0018333333333333361
],
"type": "VEC3"
},
@@ -40,14 +40,14 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.03836686666666666,
- 0.008937823333333334,
- -0.0016666666666666679
+ 0.038533533333333335,
+ 0.008771156666666667,
+ -0.0018333333333333329
],
"min": [
- 0.01540953333333333,
- 0.008604490000000001,
- -0.002
+ 0.015242866666666658,
+ 0.00860449,
+ -0.002000000000000001
],
"type": "VEC3"
},
@@ -57,14 +57,14 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.03836686666666666,
- 0.008937823333333334,
- 0.002
+ 0.038533533333333335,
+ 0.008771156666666667,
+ 0.002000000000000001
],
"min": [
- 0.01540953333333333,
- 0.008604490000000001,
- 0.0016666666666666679
+ 0.015242866666666658,
+ 0.00860449,
+ 0.0018333333333333329
],
"type": "VEC3"
},
@@ -74,14 +74,14 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.01540953333333333,
+ 0.015242866666666662,
0.008604490000000001,
- 0.0016666666666666679
+ 0.0018333333333333329
],
"min": [
- 0.014867126621093863,
- 0.008344875991626253,
- -0.0016666666666666679
+ 0.01497166331054693,
+ 0.008474682995813129,
+ -0.0018333333333333335
],
"type": "VEC3"
},
@@ -92,13 +92,13 @@
"count": 3,
"max": [
0.0387002,
- 0.008937823333333336,
- -0.0016666666666666644
+ 0.008771156666666667,
+ -0.0018333333333333329
],
"min": [
- 0.03836686666666666,
- 0.008604490000000003,
- -0.001999999999999999
+ 0.038533533333333335,
+ 0.00860449,
+ -0.002000000000000001
],
"type": "VEC3"
},
@@ -109,13 +109,13 @@
"count": 3,
"max": [
0.0387002,
- 0.008937823333333336,
- 0.001999999999999999
+ 0.008771156666666667,
+ 0.002000000000000001
],
"min": [
- 0.03836686666666666,
- 0.008604490000000003,
- 0.0016666666666666644
+ 0.038533533333333335,
+ 0.00860449,
+ 0.001833333333333333
],
"type": "VEC3"
},
@@ -126,13 +126,13 @@
"count": 4,
"max": [
0.0387002,
- 0.012166666666666662,
- 0.0016666666666666644
+ 0.012333333333333337,
+ 0.0018333333333333361
],
"min": [
0.0387002,
- 0.008937823333333336,
- -0.0016666666666666644
+ 0.008771156666666663,
+ -0.0018333333333333361
],
"type": "VEC3"
},
@@ -142,14 +142,14 @@
"componentType": 5126,
"count": 9,
"max": [
- 0.03836686666666665,
- 0.012166666666666666,
- -0.001999999999999999
+ 0.03853353333333334,
+ 0.012333333333333337,
+ -0.0019999999999999888
],
"min": [
- -0.005955547799954872,
- -0.01154846666666667,
- -0.002
+ -0.00630347389997744,
+ -0.011715133333333344,
+ -0.002000000000000001
],
"type": "VEC3"
},
@@ -159,13 +159,13 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.01540953333333333,
- 0.008937823333333334,
- -0.0016666666666666674
+ 0.015242866666666662,
+ 0.008771156666666667,
+ -0.001833333333333333
],
"min": [
- 0.014607512612720116,
- 0.008344875991626253,
+ 0.014841856306360058,
+ 0.008474682995813129,
-0.002
],
"type": "VEC3"
@@ -176,14 +176,14 @@
"componentType": 5126,
"count": 9,
"max": [
- 0.03836686666666665,
- 0.012166666666666666,
- 0.0020000000000000052
+ 0.03853353333333334,
+ 0.012333333333333337,
+ 0.0020000000000000087
],
"min": [
- -0.005955547799954865,
- -0.011548466666666667,
- 0.001999999999999999
+ -0.006303473899977433,
+ -0.011715133333333341,
+ 0.002
],
"type": "VEC3"
},
@@ -193,14 +193,14 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.01540953333333333,
- 0.008937823333333334,
+ 0.015242866666666662,
+ 0.008771156666666667,
0.002
],
"min": [
- 0.014607512612720116,
- 0.008344875991626253,
- 0.0016666666666666668
+ 0.014841856306360058,
+ 0.008474682995813129,
+ 0.0018333333333333329
],
"type": "VEC3"
},
@@ -210,14 +210,14 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.014867126621093863,
- 0.008344875991626253,
- 0.0016666666666666668
+ 0.01497166331054693,
+ 0.008474682995813129,
+ 0.001833333333333333
],
"min": [
- -0.0012128266210938733,
- -0.011622185991626257,
- -0.0016666666666666696
+ -0.001317363310546939,
+ -0.01175199299581313,
+ -0.0018333333333333353
],
"type": "VEC3"
},
@@ -228,13 +228,13 @@
"count": 4,
"max": [
0.0387002,
- 0.012166666666666664,
- -0.0016666666666666644
+ 0.012333333333333337,
+ -0.0018333333333333361
],
"min": [
- 0.03836686666666666,
- 0.008937823333333334,
- -0.001999999999999999
+ 0.038533533333333335,
+ 0.008771156666666663,
+ -0.002000000000000001
],
"type": "VEC3"
},
@@ -245,13 +245,13 @@
"count": 4,
"max": [
0.0387002,
- 0.012166666666666664,
- 0.001999999999999999
+ 0.012333333333333337,
+ 0.002000000000000001
],
"min": [
- 0.03836686666666666,
- 0.008937823333333334,
- 0.0016666666666666644
+ 0.038533533333333335,
+ 0.008771156666666663,
+ 0.0018333333333333361
],
"type": "VEC3"
},
@@ -262,13 +262,13 @@
"count": 4,
"max": [
0.0387002,
- 0.012499999999999997,
- 0.001666666666666667
+ 0.0125,
+ 0.0018333333333333361
],
"min": [
- 0.03836686666666666,
- 0.012166666666666662,
- -0.0016666666666666672
+ 0.03853353333333334,
+ 0.012333333333333337,
+ -0.0018333333333333361
],
"type": "VEC3"
},
@@ -278,14 +278,14 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.03836686666666666,
- 0.012499999999999999,
- -0.0016666666666666672
+ 0.03853353333333334,
+ 0.0125,
+ -0.0018333333333333335
],
"min": [
- 0.013291333333333327,
- 0.012166666666666664,
- -0.002
+ 0.013124666666666663,
+ 0.012333333333333335,
+ -0.002000000000000001
],
"type": "VEC3"
},
@@ -295,13 +295,13 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.014867126621093863,
- 0.008553949370532384,
- -0.0016666666666666674
+ 0.01497166331054693,
+ 0.008579219685266192,
+ -0.0018333333333333335
],
"min": [
- -0.00147244062946762,
- -0.011622185991626257,
+ -0.0014471703147338104,
+ -0.01175199299581313,
-0.002
],
"type": "VEC3"
@@ -312,13 +312,13 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.013291333333333329,
- 0.012499999999999999,
- -0.001666666666666665
+ 0.013124666666666663,
+ 0.0125,
+ -0.0018333333333333333
],
"min": [
- 0.012749093698256832,
- 0.012031345227225518,
+ 0.012853546849128417,
+ 0.012265672613612763,
-0.002
],
"type": "VEC3"
@@ -329,13 +329,13 @@
"componentType": 5126,
"count": 4,
"max": [
- -0.0012128266210938725,
- -0.01141311261272012,
- -0.001666666666666667
+ -0.001317363310546939,
+ -0.011647456306360063,
+ -0.0018333333333333335
],
"min": [
- -0.0017552333333333376,
- -0.011881799999999998,
+ -0.0015885666666666722,
+ -0.0118818,
-0.002
],
"type": "VEC3"
@@ -346,13 +346,13 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.013008842169288144,
- 0.012240251528968684,
- -0.001666666666666665
+ 0.012983421084644071,
+ 0.012370125764484347,
+ -0.0018333333333333333
],
"min": [
- -0.0064424936982568366,
- -0.011622051528968686,
+ -0.006546946849128421,
+ -0.011751925764484335,
-0.002
],
"type": "VEC3"
@@ -363,13 +363,13 @@
"componentType": 5126,
"count": 4,
"max": [
- -0.0017552333333333366,
- -0.011548466666666663,
- -0.0016666666666666627
+ -0.0015885666666666711,
+ -0.011715133333333334,
+ -0.0018333333333333272
],
"min": [
- -0.0059555477999548734,
- -0.011881800000000001,
+ -0.006303473899977441,
+ -0.011881800000000005,
-0.002
],
"type": "VEC3"
@@ -380,14 +380,14 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.03836686666666666,
- 0.012499999999999999,
- 0.002
+ 0.03853353333333334,
+ 0.0125,
+ 0.002000000000000001
],
"min": [
- 0.013291333333333327,
- 0.012166666666666664,
- 0.001666666666666667
+ 0.013124666666666663,
+ 0.012333333333333335,
+ 0.0018333333333333335
],
"type": "VEC3"
},
@@ -397,14 +397,14 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.014867126621093863,
- 0.008553949370532382,
+ 0.01497166331054693,
+ 0.008579219685266192,
0.002
],
"min": [
- -0.001472440629467627,
- -0.011622185991626255,
- 0.0016666666666666661
+ -0.0014471703147338104,
+ -0.01175199299581313,
+ 0.0018333333333333329
],
"type": "VEC3"
},
@@ -414,14 +414,14 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.013291333333333329,
- 0.012499999999999999,
+ 0.013124666666666663,
+ 0.0125,
0.002
],
"min": [
- 0.01274909369825683,
- 0.012031345227225518,
- 0.001666666666666667
+ 0.012853546849128417,
+ 0.012265672613612767,
+ 0.001833333333333333
],
"type": "VEC3"
},
@@ -431,14 +431,14 @@
"componentType": 5126,
"count": 4,
"max": [
- -0.0012128266210938733,
- -0.011413112612720124,
+ -0.001317363310546939,
+ -0.011647456306360063,
0.002
],
"min": [
- -0.0017552333333333376,
- -0.011881799999999998,
- 0.0016666666666666661
+ -0.0015885666666666722,
+ -0.0118818,
+ 0.001833333333333333
],
"type": "VEC3"
},
@@ -448,14 +448,14 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.013008842169288144,
- 0.012240251528968685,
- 0.0020000000000000052
+ 0.012983421084644071,
+ 0.012370125764484345,
+ 0.0020000000000000087
],
"min": [
- -0.0062152962709861835,
- -0.011548466666666667,
- 0.0016666666666666679
+ -0.006433348135493089,
+ -0.011715133333333341,
+ 0.001833333333333333
],
"type": "VEC3"
},
@@ -465,14 +465,14 @@
"componentType": 5126,
"count": 4,
"max": [
- -0.0017552333333333366,
- -0.011548466666666663,
- 0.0020000000000000052
+ -0.0015885666666666711,
+ -0.011715133333333334,
+ 0.0020000000000000087
],
"min": [
- -0.006318066666666668,
- -0.0118818,
- 0.0016666666666666672
+ -0.006484733333333324,
+ -0.011881800000000014,
+ 0.0018333333333333335
],
"type": "VEC3"
},
@@ -482,14 +482,14 @@
"componentType": 5126,
"count": 4,
"max": [
- -0.0012128266210938725,
- -0.011622185991626255,
- 0.0016666666666666672
+ -0.001317363310546939,
+ -0.01175199299581313,
+ 0.0018333333333333335
],
"min": [
- -0.0017552333333333376,
- -0.011881799999999998,
- -0.0016666666666666696
+ -0.0015885666666666711,
+ -0.0118818,
+ -0.0018333333333333353
],
"type": "VEC3"
},
@@ -500,13 +500,13 @@
"count": 3,
"max": [
0.0387002,
- 0.012499999999999997,
- -0.0016666666666666644
+ 0.0125,
+ -0.0018333333333333335
],
"min": [
- 0.03836686666666666,
- 0.012166666666666662,
- -0.001999999999999999
+ 0.038533533333333335,
+ 0.012333333333333337,
+ -0.002000000000000001
],
"type": "VEC3"
},
@@ -517,13 +517,13 @@
"count": 3,
"max": [
0.0387002,
- 0.012499999999999997,
- 0.001999999999999999
+ 0.0125,
+ 0.002000000000000001
],
"min": [
- 0.03836686666666666,
- 0.012166666666666662,
- 0.0016666666666666644
+ 0.038533533333333335,
+ 0.012333333333333337,
+ 0.0018333333333333335
],
"type": "VEC3"
},
@@ -533,14 +533,14 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.03836686666666666,
- 0.012499999999999999,
- 0.001666666666666667
+ 0.03853353333333334,
+ 0.0125,
+ 0.0018333333333333335
],
"min": [
- 0.013291333333333329,
- 0.012499999999999997,
- -0.0016666666666666672
+ 0.013124666666666663,
+ 0.0125,
+ -0.0018333333333333335
],
"type": "VEC3"
},
@@ -550,14 +550,14 @@
"componentType": 5126,
"count": 4,
"max": [
- 0.013291333333333329,
- 0.012499999999999999,
- 0.0016666666666666679
+ 0.013124666666666663,
+ 0.0125,
+ 0.0018333333333333335
],
"min": [
- 0.01274909369825683,
- 0.012240251528968684,
- -0.0016666666666666672
+ 0.012853546849128417,
+ 0.012370125764484345,
+ -0.0018333333333333335
],
"type": "VEC3"
},
@@ -567,14 +567,14 @@
"componentType": 5126,
"count": 5,
"max": [
- 0.012749093698256832,
- 0.012240251528968685,
- 0.0016666666666666715
+ 0.012853546849128417,
+ 0.012370125764484347,
+ 0.0018333333333333428
],
"min": [
- -0.0064424936982568366,
- -0.01162205152896869,
- -0.001666666666666667
+ -0.006546946849128421,
+ -0.01175192576448436,
+ -0.0018333333333333335
],
"type": "VEC3"
},
@@ -582,796 +582,796 @@
"bufferView": 0,
"byteOffset": 1716,
"componentType": 5126,
- "count": 48,
+ "count": 17,
"max": [
- -0.0059555477999548734,
- -0.01154846666666667,
- -0.0016666666666666627
+ -0.00630347389997744,
+ -0.011715133333333344,
+ -0.0018333333333333272
],
"min": [
- -0.0064424936982568366,
- -0.011881800000000001,
- -0.001999999999999999
+ -0.006546946849128421,
+ -0.01188180000000001,
+ -0.0019999999999999888
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 2292,
+ "byteOffset": 1920,
"componentType": 5126,
"count": 5,
"max": [
- -0.0017552333333333376,
- -0.011881799999999994,
- 0.0016666666666666672
+ -0.0015885666666666711,
+ -0.0118818,
+ 0.0018333333333333335
],
"min": [
- -0.006318066666666671,
- -0.011881800000000001,
- -0.001666666666666667
+ -0.006484733333333331,
+ -0.011881800000000014,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 2352,
+ "byteOffset": 1980,
"componentType": 5126,
- "count": 47,
+ "count": 57,
"max": [
- -0.0059555477999548665,
- -0.011339560364923507,
- 0.0020000000000000052
+ -0.006303473899977433,
+ -0.01161068018246176,
+ 0.0020000000000000087
],
"min": [
- -0.0064424936982568366,
- -0.0118818,
- 0.0016666666666666672
+ -0.006546946849128412,
+ -0.011881800000000014,
+ 0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 2916,
+ "byteOffset": 2664,
"componentType": 5126,
"count": 4,
"max": [
- -0.006318066666666668,
- -0.011622051528968686,
- 0.0016666666666666672
+ -0.006484733333333324,
+ -0.011751925764484335,
+ 0.0018333333333333335
],
"min": [
- -0.0064424936982568366,
- -0.0118818,
- -0.001666666666666667
+ -0.006546946849128421,
+ -0.011881800000000014,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 2964,
+ "byteOffset": 2712,
"componentType": 5126,
"count": 4,
"max": [
- -0.018243533333333332,
- -0.011872099999999997,
- 0.0016666666666666672
+ -0.018076866666666663,
+ -0.0118721,
+ 0.0018333333333333335
],
"min": [
- -0.03866666666666666,
- -0.011872099999999998,
- -0.0016666666666666672
+ -0.038833333333333345,
+ -0.0118721,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3012,
+ "byteOffset": 2760,
"componentType": 5126,
"count": 4,
"max": [
- -0.0179102,
- -0.011538766666666663,
- 0.001666666666666667
+ -0.017910199999999998,
+ -0.011705433333333334,
+ 0.0018333333333333335
],
"min": [
- -0.018243533333333332,
- -0.011872099999999997,
- -0.0016666666666666672
+ -0.018076866666666663,
+ -0.0118721,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3060,
+ "byteOffset": 2808,
"componentType": 5126,
"count": 4,
"max": [
- -0.018243533333333332,
- -0.011538766666666663,
- -0.001666666666666667
+ -0.018076866666666663,
+ -0.011705433333333336,
+ -0.0018333333333333335
],
"min": [
- -0.03866666666666666,
- -0.011872099999999998,
- -0.002
+ -0.038833333333333345,
+ -0.0118721,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3108,
+ "byteOffset": 2856,
"componentType": 5126,
"count": 4,
"max": [
- -0.018243533333333332,
- -0.011538766666666663,
- 0.002
+ -0.018076866666666663,
+ -0.011705433333333336,
+ 0.002000000000000001
],
"min": [
- -0.03866666666666666,
- -0.011872099999999998,
- 0.001666666666666667
+ -0.038833333333333345,
+ -0.0118721,
+ 0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3156,
+ "byteOffset": 2904,
"componentType": 5126,
"count": 4,
"max": [
- -0.03866666666666666,
- -0.011538766666666665,
- 0.0016666666666666672
+ -0.038833333333333345,
+ -0.011705433333333336,
+ 0.0018333333333333335
],
"min": [
-0.039,
- -0.011872099999999998,
- -0.001666666666666667
+ -0.0118721,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3204,
+ "byteOffset": 2952,
"componentType": 5126,
"count": 3,
"max": [
- -0.0179102,
- -0.011538766666666663,
- -0.0016666666666666661
+ -0.017910199999999998,
+ -0.011705433333333334,
+ -0.0018333333333333333
],
"min": [
- -0.018243533333333332,
- -0.011872099999999997,
+ -0.018076866666666667,
+ -0.0118721,
-0.002
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3240,
+ "byteOffset": 2988,
"componentType": 5126,
"count": 3,
"max": [
- -0.0179102,
- -0.011538766666666663,
+ -0.017910199999999998,
+ -0.011705433333333334,
0.002
],
"min": [
- -0.018243533333333332,
- -0.011872099999999997,
- 0.0016666666666666661
+ -0.018076866666666667,
+ -0.0118721,
+ 0.001833333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3276,
+ "byteOffset": 3024,
"componentType": 5126,
"count": 4,
"max": [
- -0.0179102,
- -0.008309933333333337,
- 0.0016666666666666661
+ -0.017910199999999998,
+ -0.008143266666666668,
+ 0.001833333333333333
],
"min": [
- -0.0179102,
- -0.011538766666666663,
- -0.0016666666666666661
+ -0.017910199999999998,
+ -0.011705433333333334,
+ -0.0018333333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3324,
+ "byteOffset": 3072,
"componentType": 5126,
"count": 4,
"max": [
- -0.018243533333333332,
- -0.008309933333333333,
- -0.0019999999999999987
+ -0.018076866666666667,
+ -0.00814326666666667,
+ -0.002
],
"min": [
- -0.03866666666666666,
- -0.011538766666666663,
- -0.002
+ -0.03883333333333334,
+ -0.011705433333333336,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3372,
+ "byteOffset": 3120,
"componentType": 5126,
"count": 3,
"max": [
- -0.03866666666666666,
- -0.011538766666666663,
- -0.0016666666666666644
+ -0.03883333333333334,
+ -0.011705433333333336,
+ -0.0018333333333333335
],
"min": [
-0.039,
- -0.011872099999999998,
- -0.001999999999999999
+ -0.0118721,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3408,
+ "byteOffset": 3156,
"componentType": 5126,
"count": 4,
"max": [
- -0.018243533333333332,
- -0.008309933333333333,
- 0.002
+ -0.018076866666666667,
+ -0.00814326666666667,
+ 0.002000000000000001
],
"min": [
- -0.03866666666666666,
- -0.011538766666666663,
- 0.0019999999999999987
+ -0.03883333333333334,
+ -0.011705433333333336,
+ 0.002
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3456,
+ "byteOffset": 3204,
"componentType": 5126,
"count": 3,
"max": [
- -0.03866666666666666,
- -0.011538766666666663,
- 0.001999999999999999
+ -0.03883333333333334,
+ -0.011705433333333336,
+ 0.002000000000000001
],
"min": [
-0.039,
- -0.011872099999999998,
- 0.0016666666666666644
+ -0.0118721,
+ 0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3492,
+ "byteOffset": 3240,
"componentType": 5126,
"count": 4,
"max": [
-0.039,
- -0.008309933333333339,
- 0.0016666666666666644
+ -0.008143266666666666,
+ 0.0018333333333333335
],
"min": [
-0.039,
- -0.011538766666666665,
- -0.0016666666666666644
+ -0.011705433333333336,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3540,
+ "byteOffset": 3288,
"componentType": 5126,
"count": 4,
"max": [
- -0.0179102,
- -0.008309933333333335,
- -0.0016666666666666661
+ -0.017910199999999998,
+ -0.008143266666666668,
+ -0.0018333333333333333
],
"min": [
- -0.018243533333333332,
- -0.011538766666666663,
- -0.002
+ -0.018076866666666667,
+ -0.011705433333333336,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3588,
+ "byteOffset": 3336,
"componentType": 5126,
"count": 4,
"max": [
- -0.0179102,
- -0.008309933333333335,
- 0.002
+ -0.017910199999999998,
+ -0.008143266666666668,
+ 0.002000000000000001
],
"min": [
- -0.018243533333333332,
- -0.011538766666666663,
- 0.0016666666666666661
+ -0.018076866666666667,
+ -0.011705433333333336,
+ 0.001833333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3636,
+ "byteOffset": 3384,
"componentType": 5126,
"count": 4,
"max": [
- -0.0179102,
- -0.007976600000000002,
- 0.0016666666666666666
+ -0.017910199999999998,
+ -0.0079766,
+ 0.0018333333333333335
],
"min": [
- -0.018243533333333336,
- -0.008309933333333337,
- -0.0016666666666666666
+ -0.018076866666666667,
+ -0.008143266666666668,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3684,
+ "byteOffset": 3432,
"componentType": 5126,
"count": 4,
"max": [
- -0.03866666666666666,
- -0.008309933333333335,
- -0.0016666666666666644
+ -0.03883333333333334,
+ -0.008143266666666666,
+ -0.0018333333333333335
],
"min": [
-0.039,
- -0.011538766666666665,
- -0.001999999999999999
+ -0.011705433333333336,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3732,
+ "byteOffset": 3480,
"componentType": 5126,
"count": 4,
"max": [
- -0.018243533333333332,
- -0.007976600000000002,
- -0.0016666666666666666
+ -0.018076866666666667,
+ -0.0079766,
+ -0.0018333333333333335
],
"min": [
- -0.03866666666666666,
- -0.008309933333333335,
- -0.0019999999999999996
+ -0.038833333333333345,
+ -0.008143266666666668,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3780,
+ "byteOffset": 3528,
"componentType": 5126,
"count": 4,
"max": [
- -0.03866666666666666,
- -0.008309933333333335,
- 0.001999999999999999
+ -0.03883333333333334,
+ -0.008143266666666666,
+ 0.002000000000000001
],
"min": [
-0.039,
- -0.011538766666666665,
- 0.0016666666666666644
+ -0.011705433333333336,
+ 0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3828,
+ "byteOffset": 3576,
"componentType": 5126,
"count": 4,
"max": [
- -0.018243533333333332,
- -0.007976600000000002,
- 0.0019999999999999996
+ -0.018076866666666667,
+ -0.0079766,
+ 0.002000000000000001
],
"min": [
- -0.03866666666666666,
- -0.008309933333333335,
- 0.0016666666666666666
+ -0.038833333333333345,
+ -0.008143266666666668,
+ 0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3876,
+ "byteOffset": 3624,
"componentType": 5126,
"count": 4,
"max": [
- -0.03866666666666666,
- -0.007976600000000004,
- 0.0016666666666666666
+ -0.038833333333333345,
+ -0.0079766,
+ 0.0018333333333333335
],
"min": [
-0.039,
- -0.008309933333333339,
- -0.0016666666666666666
+ -0.008143266666666666,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3924,
+ "byteOffset": 3672,
"componentType": 5126,
"count": 3,
"max": [
- -0.0179102,
- -0.007976600000000002,
- -0.0016666666666666661
+ -0.017910199999999998,
+ -0.0079766,
+ -0.0018333333333333333
],
"min": [
- -0.018243533333333336,
- -0.008309933333333337,
- -0.0019999999999999996
+ -0.018076866666666667,
+ -0.008143266666666668,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3960,
+ "byteOffset": 3708,
"componentType": 5126,
"count": 3,
"max": [
- -0.0179102,
- -0.007976600000000002,
- 0.0019999999999999996
+ -0.017910199999999998,
+ -0.0079766,
+ 0.002000000000000001
],
"min": [
- -0.018243533333333336,
- -0.008309933333333337,
- 0.0016666666666666661
+ -0.018076866666666667,
+ -0.008143266666666668,
+ 0.001833333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 3996,
+ "byteOffset": 3744,
"componentType": 5126,
"count": 4,
"max": [
- -0.018243533333333336,
- -0.007976600000000002,
- 0.0016666666666666666
+ -0.018076866666666667,
+ -0.0079766,
+ 0.0018333333333333335
],
"min": [
- -0.03866666666666666,
- -0.007976600000000004,
- -0.0016666666666666666
+ -0.038833333333333345,
+ -0.0079766,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4044,
+ "byteOffset": 3792,
"componentType": 5126,
"count": 3,
"max": [
- -0.03866666666666666,
- -0.007976600000000004,
- -0.0016666666666666644
+ -0.03883333333333334,
+ -0.0079766,
+ -0.0018333333333333335
],
"min": [
-0.039,
- -0.008309933333333339,
- -0.0019999999999999987
+ -0.008143266666666668,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4080,
+ "byteOffset": 3828,
"componentType": 5126,
"count": 3,
"max": [
- -0.03866666666666666,
- -0.007976600000000004,
- 0.0019999999999999987
+ -0.03883333333333334,
+ -0.0079766,
+ 0.002000000000000001
],
"min": [
-0.039,
- -0.008309933333333339,
- 0.0016666666666666644
+ -0.008143266666666668,
+ 0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4116,
+ "byteOffset": 3864,
"componentType": 5126,
"count": 4,
"max": [
0.0387012,
- -0.008309933333333339,
- 0.001666666666666667
+ -0.008143266666666666,
+ 0.0018333333333333335
],
"min": [
0.0387012,
- -0.011538766666666662,
- -0.001666666666666667
+ -0.011705433333333336,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4164,
+ "byteOffset": 3912,
"componentType": 5126,
"count": 4,
"max": [
0.0387012,
- -0.007976600000000004,
- 0.001666666666666667
+ -0.0079766,
+ 0.0018333333333333335
],
"min": [
- 0.03836786666666667,
- -0.008309933333333339,
- -0.001666666666666667
+ 0.03853453333333334,
+ -0.008143266666666666,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4212,
+ "byteOffset": 3960,
"componentType": 5126,
"count": 4,
"max": [
0.0387012,
- -0.008309933333333335,
- -0.001666666666666667
+ -0.008143266666666666,
+ -0.0018333333333333335
],
"min": [
- 0.03836786666666667,
- -0.011538766666666663,
- -0.001999999999999999
+ 0.038534533333333336,
+ -0.011705433333333336,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4260,
+ "byteOffset": 4008,
"componentType": 5126,
"count": 4,
"max": [
0.0387012,
- -0.008309933333333335,
- 0.001999999999999999
+ -0.008143266666666666,
+ 0.002000000000000001
],
"min": [
- 0.03836786666666667,
- -0.011538766666666663,
- 0.001666666666666667
+ 0.038534533333333336,
+ -0.011705433333333336,
+ 0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4308,
+ "byteOffset": 4056,
"componentType": 5126,
"count": 4,
"max": [
0.0387012,
- -0.011538766666666662,
- 0.0016666666666666672
+ -0.011705433333333336,
+ 0.0018333333333333335
],
"min": [
- 0.03836786666666667,
- -0.011872099999999997,
- -0.001666666666666667
+ 0.03853453333333334,
+ -0.0118721,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4356,
+ "byteOffset": 4104,
"componentType": 5126,
"count": 3,
"max": [
0.0387012,
- -0.007976600000000004,
- -0.0016666666666666666
+ -0.0079766,
+ -0.0018333333333333335
],
"min": [
- 0.03836786666666667,
- -0.008309933333333339,
- -0.0019999999999999987
+ 0.038534533333333336,
+ -0.008143266666666668,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4392,
+ "byteOffset": 4140,
"componentType": 5126,
"count": 3,
"max": [
0.0387012,
- -0.007976600000000004,
- 0.0019999999999999987
+ -0.0079766,
+ 0.002000000000000001
],
"min": [
- 0.03836786666666667,
- -0.008309933333333339,
- 0.0016666666666666666
+ 0.038534533333333336,
+ -0.008143266666666668,
+ 0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4428,
+ "byteOffset": 4176,
"componentType": 5126,
"count": 4,
"max": [
- 0.03836786666666667,
- -0.007976600000000002,
- 0.0016666666666666666
+ 0.03853453333333334,
+ -0.0079766,
+ 0.0018333333333333335
],
"min": [
- 0.01794373333333333,
- -0.007976600000000004,
- -0.0016666666666666666
+ 0.017777066666666667,
+ -0.007976600000000002,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4476,
+ "byteOffset": 4224,
"componentType": 5126,
"count": 4,
"max": [
- 0.03836786666666666,
- -0.008309933333333333,
- -0.0019999999999999987
+ 0.03853453333333334,
+ -0.00814326666666667,
+ -0.001999999999999999
],
"min": [
- 0.017943733333333326,
- -0.011538766666666663,
+ 0.01777706666666667,
+ -0.011705433333333336,
-0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4524,
+ "byteOffset": 4272,
"componentType": 5126,
"count": 3,
"max": [
0.0387012,
- -0.011538766666666662,
- -0.001666666666666667
+ -0.011705433333333336,
+ -0.0018333333333333335
],
"min": [
- 0.03836786666666667,
- -0.011872099999999997,
- -0.001999999999999999
+ 0.038534533333333336,
+ -0.0118721,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4560,
+ "byteOffset": 4308,
"componentType": 5126,
"count": 4,
"max": [
- 0.03836786666666666,
- -0.008309933333333333,
+ 0.03853453333333334,
+ -0.00814326666666667,
0.002000000000000001
],
"min": [
- 0.017943733333333326,
- -0.011538766666666663,
- 0.0019999999999999987
+ 0.01777706666666667,
+ -0.011705433333333336,
+ 0.001999999999999999
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4608,
+ "byteOffset": 4356,
"componentType": 5126,
"count": 3,
"max": [
0.0387012,
- -0.011538766666666662,
- 0.001999999999999999
+ -0.011705433333333336,
+ 0.002000000000000001
],
"min": [
- 0.03836786666666667,
- -0.011872099999999997,
- 0.001666666666666667
+ 0.038534533333333336,
+ -0.0118721,
+ 0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4644,
+ "byteOffset": 4392,
"componentType": 5126,
"count": 4,
"max": [
- 0.03836786666666667,
- -0.011872099999999997,
- 0.0016666666666666672
+ 0.03853453333333334,
+ -0.0118721,
+ 0.0018333333333333335
],
"min": [
- 0.01794373333333333,
+ 0.017777066666666667,
-0.0118721,
- -0.001666666666666667
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4692,
+ "byteOffset": 4440,
"componentType": 5126,
"count": 4,
"max": [
- 0.03836786666666667,
- -0.007976600000000002,
- -0.0016666666666666666
+ 0.03853453333333334,
+ -0.0079766,
+ -0.0018333333333333335
],
"min": [
- 0.01794373333333333,
- -0.008309933333333335,
- -0.0020000000000000005
+ 0.017777066666666667,
+ -0.008143266666666668,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4740,
+ "byteOffset": 4488,
"componentType": 5126,
"count": 4,
"max": [
- 0.03836786666666667,
- -0.007976600000000002,
- 0.0020000000000000005
+ 0.03853453333333334,
+ -0.0079766,
+ 0.002000000000000001
],
"min": [
- 0.01794373333333333,
- -0.008309933333333335,
- 0.0016666666666666666
+ 0.017777066666666667,
+ -0.008143266666666668,
+ 0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4788,
+ "byteOffset": 4536,
"componentType": 5126,
"count": 4,
"max": [
- 0.01794373333333333,
+ 0.017777066666666667,
-0.007976600000000002,
- 0.0016666666666666674
+ 0.0018333333333333335
],
"min": [
0.0176104,
- -0.008309933333333335,
- -0.0016666666666666674
+ -0.008143266666666668,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4836,
+ "byteOffset": 4584,
"componentType": 5126,
"count": 4,
"max": [
- 0.03836786666666667,
- -0.011538766666666663,
- -0.001666666666666667
+ 0.03853453333333334,
+ -0.011705433333333336,
+ -0.0018333333333333335
],
"min": [
- 0.01794373333333333,
+ 0.017777066666666667,
-0.0118721,
-0.002000000000000001
],
@@ -1379,1418 +1379,1418 @@
},
{
"bufferView": 0,
- "byteOffset": 4884,
+ "byteOffset": 4632,
"componentType": 5126,
"count": 4,
"max": [
- 0.01794373333333333,
- -0.008309933333333335,
- -0.0016666666666666674
+ 0.017777066666666667,
+ -0.008143266666666668,
+ -0.001833333333333332
],
"min": [
0.0176104,
- -0.011538766666666667,
- -0.002000000000000001
+ -0.011705433333333336,
+ -0.0019999999999999996
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4932,
+ "byteOffset": 4680,
"componentType": 5126,
"count": 4,
"max": [
- 0.03836786666666667,
- -0.011538766666666663,
+ 0.03853453333333334,
+ -0.011705433333333336,
0.002000000000000001
],
"min": [
- 0.01794373333333333,
+ 0.017777066666666667,
-0.0118721,
- 0.0016666666666666672
+ 0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 4980,
+ "byteOffset": 4728,
"componentType": 5126,
"count": 4,
"max": [
- 0.01794373333333333,
- -0.008309933333333335,
- 0.002000000000000001
+ 0.017777066666666667,
+ -0.008143266666666668,
+ 0.0019999999999999996
],
"min": [
0.0176104,
- -0.011538766666666667,
- 0.0016666666666666674
+ -0.011705433333333336,
+ 0.001833333333333332
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5028,
+ "byteOffset": 4776,
"componentType": 5126,
"count": 4,
"max": [
- 0.01794373333333333,
- -0.011538766666666667,
- 0.0016666666666666674
+ 0.017777066666666667,
+ -0.011705433333333334,
+ 0.0018333333333333335
],
"min": [
0.0176104,
-0.0118721,
- -0.0016666666666666674
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5076,
+ "byteOffset": 4824,
"componentType": 5126,
"count": 3,
"max": [
- 0.01794373333333333,
+ 0.017777066666666667,
-0.007976600000000002,
- -0.0016666666666666666
+ -0.001833333333333332
],
"min": [
0.0176104,
- -0.008309933333333335,
- -0.0020000000000000005
+ -0.008143266666666668,
+ -0.0019999999999999996
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5112,
+ "byteOffset": 4860,
"componentType": 5126,
"count": 3,
"max": [
- 0.01794373333333333,
+ 0.017777066666666667,
-0.007976600000000002,
- 0.0020000000000000005
+ 0.0019999999999999996
],
"min": [
0.0176104,
- -0.008309933333333335,
- 0.0016666666666666666
+ -0.008143266666666668,
+ 0.0018333333333333322
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5148,
+ "byteOffset": 4896,
"componentType": 5126,
"count": 4,
"max": [
0.0176104,
- -0.008309933333333335,
- 0.0016666666666666674
+ -0.008143266666666668,
+ 0.0018333333333333322
],
"min": [
0.0176104,
- -0.011538766666666667,
- -0.0016666666666666674
+ -0.011705433333333334,
+ -0.0018333333333333322
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5196,
+ "byteOffset": 4944,
"componentType": 5126,
"count": 3,
"max": [
- 0.01794373333333333,
- -0.011538766666666663,
- -0.001666666666666667
+ 0.017777066666666667,
+ -0.011705433333333334,
+ -0.0018333333333333322
],
"min": [
0.0176104,
-0.0118721,
- -0.002000000000000001
+ -0.001999999999999999
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5232,
+ "byteOffset": 4980,
"componentType": 5126,
"count": 3,
"max": [
- 0.01794373333333333,
- -0.011538766666666663,
- 0.002000000000000001
+ 0.017777066666666667,
+ -0.011705433333333334,
+ 0.001999999999999999
],
"min": [
0.0176104,
-0.0118721,
- 0.0016666666666666672
+ 0.001833333333333332
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5268,
+ "byteOffset": 5016,
"componentType": 5126,
"count": 4,
"max": [
- -0.021558933333333332,
- -0.0015536999999999981,
- 0.001666666666666667
+ -0.021392266666666673,
+ -0.0015536999999999997,
+ 0.0018333333333333333
],
"min": [
- -0.03866666666666666,
- -0.0015536999999999997,
- -0.001666666666666667
+ -0.03883333333333334,
+ -0.0015537,
+ -0.0018333333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5316,
+ "byteOffset": 5064,
"componentType": 5126,
"count": 4,
"max": [
-0.0212256,
- -0.0012203666666666666,
- 0.0016666666666666687
+ -0.0013870333333333323,
+ 0.001833333333333333
],
"min": [
- -0.021558933333333332,
+ -0.021392266666666673,
-0.0015536999999999997,
- -0.0016666666666666685
+ -0.0018333333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5364,
+ "byteOffset": 5112,
"componentType": 5126,
"count": 4,
"max": [
- -0.021558933333333332,
- -0.0012203666666666662,
- -0.0016666666666666668
+ -0.02139226666666667,
+ -0.0013870333333333323,
+ -0.001833333333333333
],
"min": [
- -0.03866666666666666,
- -0.0015536999999999997,
- -0.0020000000000000005
+ -0.03883333333333334,
+ -0.0015537,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5412,
+ "byteOffset": 5160,
"componentType": 5126,
"count": 4,
"max": [
- -0.021558933333333332,
- -0.0012203666666666662,
- 0.0020000000000000005
+ -0.02139226666666667,
+ -0.0013870333333333323,
+ 0.002000000000000001
],
"min": [
- -0.03866666666666666,
- -0.0015536999999999997,
- 0.0016666666666666668
+ -0.03883333333333334,
+ -0.0015537,
+ 0.001833333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5460,
+ "byteOffset": 5208,
"componentType": 5126,
"count": 4,
"max": [
- -0.03866666666666666,
- -0.0012203666666666636,
- 0.0016666666666666668
+ -0.03883333333333334,
+ -0.0013870333333333353,
+ 0.0018333333333333335
],
"min": [
-0.039,
- -0.0015536999999999981,
- -0.001666666666666667
+ -0.0015537,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5508,
+ "byteOffset": 5256,
"componentType": 5126,
"count": 3,
"max": [
-0.0212256,
- -0.0012203666666666662,
- -0.0016666666666666668
+ -0.0013870333333333323,
+ -0.001833333333333332
],
"min": [
- -0.021558933333333332,
+ -0.021392266666666673,
-0.0015536999999999997,
- -0.0020000000000000005
+ -0.001999999999999999
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5544,
+ "byteOffset": 5292,
"componentType": 5126,
"count": 3,
"max": [
-0.0212256,
- -0.0012203666666666662,
- 0.0020000000000000005
+ -0.0013870333333333323,
+ 0.001999999999999999
],
"min": [
- -0.021558933333333332,
+ -0.021392266666666673,
-0.0015536999999999997,
- 0.001666666666666667
+ 0.0018333333333333322
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5580,
+ "byteOffset": 5328,
"componentType": 5126,
"count": 4,
"max": [
-0.0212256,
- 0.002008466666666667,
- 0.0016666666666666687
+ 0.002175133333333332,
+ 0.0018333333333333322
],
"min": [
-0.0212256,
- -0.0012203666666666666,
- -0.0016666666666666685
+ -0.0013870333333333323,
+ -0.001833333333333332
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5628,
+ "byteOffset": 5376,
"componentType": 5126,
"count": 4,
"max": [
- -0.021558933333333332,
- 0.002008466666666667,
- -0.0019999999999999987
+ -0.02139226666666667,
+ 0.0021751333333333333,
+ -0.001999999999999999
],
"min": [
- -0.03866666666666666,
- -0.001220366666666667,
- -0.0020000000000000005
+ -0.03883333333333334,
+ -0.0013870333333333314,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5676,
+ "byteOffset": 5424,
"componentType": 5126,
"count": 3,
"max": [
- -0.03866666666666666,
- -0.0012203666666666636,
- -0.0016666666666666644
+ -0.03883333333333334,
+ -0.0013870333333333323,
+ -0.001833333333333333
],
"min": [
-0.039,
- -0.0015536999999999981,
- -0.0019999999999999987
+ -0.0015537,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5712,
+ "byteOffset": 5460,
"componentType": 5126,
"count": 4,
"max": [
- -0.021558933333333332,
- 0.0020084666666666654,
- 0.0020000000000000005
+ -0.02139226666666667,
+ 0.0021751333333333333,
+ 0.002000000000000001
],
"min": [
- -0.03866666666666666,
- -0.001220366666666667,
- 0.0019999999999999987
+ -0.03883333333333334,
+ -0.0013870333333333314,
+ 0.001999999999999999
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5760,
+ "byteOffset": 5508,
"componentType": 5126,
"count": 3,
"max": [
- -0.03866666666666666,
- -0.0012203666666666636,
- 0.0019999999999999987
+ -0.03883333333333334,
+ -0.0013870333333333323,
+ 0.002000000000000001
],
"min": [
-0.039,
- -0.0015536999999999981,
- 0.0016666666666666644
+ -0.0015537,
+ 0.0018333333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5796,
+ "byteOffset": 5544,
"componentType": 5126,
"count": 4,
"max": [
-0.039,
- 0.0020084666666666633,
- 0.0016666666666666644
+ 0.002175133333333336,
+ 0.0018333333333333335
],
"min": [
-0.039,
- -0.0012203666666666636,
- -0.0016666666666666644
+ -0.0013870333333333353,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5844,
+ "byteOffset": 5592,
"componentType": 5126,
"count": 4,
"max": [
-0.0212256,
- 0.002008466666666667,
- -0.0016666666666666685
+ 0.002175133333333333,
+ -0.001833333333333332
],
"min": [
- -0.021558933333333332,
- -0.0012203666666666666,
- -0.0020000000000000005
+ -0.02139226666666667,
+ -0.0013870333333333323,
+ -0.001999999999999999
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5892,
+ "byteOffset": 5640,
"componentType": 5126,
"count": 4,
"max": [
-0.0212256,
- 0.002008466666666667,
- 0.0020000000000000005
+ 0.002175133333333333,
+ 0.001999999999999999
],
"min": [
- -0.021558933333333332,
- -0.0012203666666666666,
- 0.0016666666666666687
+ -0.02139226666666667,
+ -0.0013870333333333323,
+ 0.0018333333333333322
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5940,
+ "byteOffset": 5688,
"componentType": 5126,
"count": 4,
"max": [
-0.0212256,
- 0.0023417999999999994,
- 0.0016666666666666687
+ 0.002341799999999999,
+ 0.001833333333333333
],
"min": [
- -0.021558933333333332,
- 0.002008466666666667,
- -0.0016666666666666685
+ -0.02139226666666667,
+ 0.002175133333333332,
+ -0.0018333333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 5988,
+ "byteOffset": 5736,
"componentType": 5126,
"count": 4,
"max": [
- -0.03866666666666666,
- 0.002008466666666666,
- -0.0016666666666666644
+ -0.03883333333333334,
+ 0.002175133333333336,
+ -0.0018333333333333335
],
"min": [
-0.039,
- -0.0012203666666666662,
- -0.0019999999999999987
+ -0.0013870333333333353,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6036,
+ "byteOffset": 5784,
"componentType": 5126,
"count": 4,
"max": [
- -0.021558933333333332,
- 0.0023417999999999994,
- -0.0016666666666666666
+ -0.02139226666666667,
+ 0.0023418000000000002,
+ -0.001833333333333333
],
"min": [
- -0.03866666666666666,
- 0.002008466666666666,
- -0.0020000000000000005
+ -0.03883333333333334,
+ 0.002175133333333333,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6084,
+ "byteOffset": 5832,
"componentType": 5126,
"count": 4,
"max": [
- -0.03866666666666666,
- 0.002008466666666666,
- 0.0019999999999999987
+ -0.03883333333333334,
+ 0.002175133333333336,
+ 0.002000000000000001
],
"min": [
-0.039,
- -0.0012203666666666662,
- 0.0016666666666666644
+ -0.0013870333333333353,
+ 0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6132,
+ "byteOffset": 5880,
"componentType": 5126,
"count": 4,
"max": [
- -0.021558933333333332,
- 0.0023417999999999994,
- 0.0020000000000000005
+ -0.02139226666666667,
+ 0.0023418000000000002,
+ 0.002000000000000001
],
"min": [
- -0.03866666666666666,
- 0.002008466666666666,
- 0.0016666666666666666
+ -0.03883333333333334,
+ 0.002175133333333333,
+ 0.001833333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6180,
+ "byteOffset": 5928,
"componentType": 5126,
"count": 4,
"max": [
- -0.03866666666666666,
- 0.002341799999999998,
- 0.0016666666666666666
+ -0.03883333333333334,
+ 0.0023418000000000002,
+ 0.0018333333333333335
],
"min": [
-0.039,
- 0.0020084666666666633,
- -0.0016666666666666666
+ 0.002175133333333336,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6228,
+ "byteOffset": 5976,
"componentType": 5126,
"count": 3,
"max": [
-0.0212256,
- 0.0023417999999999994,
- -0.0016666666666666666
+ 0.002341799999999999,
+ -0.001833333333333332
],
"min": [
- -0.021558933333333332,
- 0.0020084666666666663,
- -0.0020000000000000005
+ -0.02139226666666667,
+ 0.002175133333333332,
+ -0.001999999999999999
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6264,
+ "byteOffset": 6012,
"componentType": 5126,
"count": 3,
"max": [
-0.0212256,
- 0.0023417999999999994,
- 0.0020000000000000005
+ 0.002341799999999999,
+ 0.001999999999999999
],
"min": [
- -0.021558933333333332,
- 0.002008466666666666,
- 0.0016666666666666666
+ -0.02139226666666667,
+ 0.002175133333333332,
+ 0.0018333333333333322
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6300,
+ "byteOffset": 6048,
"componentType": 5126,
"count": 4,
"max": [
- -0.021558933333333332,
- 0.0023417999999999994,
- 0.0016666666666666666
+ -0.02139226666666667,
+ 0.0023418000000000002,
+ 0.0018333333333333333
],
"min": [
- -0.03866666666666666,
- 0.002341799999999998,
- -0.0016666666666666666
+ -0.03883333333333334,
+ 0.002341799999999999,
+ -0.0018333333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6348,
+ "byteOffset": 6096,
"componentType": 5126,
"count": 3,
"max": [
- -0.03866666666666666,
- 0.002341799999999998,
- -0.0016666666666666644
+ -0.03883333333333334,
+ 0.0023418000000000002,
+ -0.001833333333333333
],
"min": [
-0.039,
- 0.0020084666666666633,
- -0.0019999999999999987
+ 0.002175133333333333,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6384,
+ "byteOffset": 6132,
"componentType": 5126,
"count": 3,
"max": [
- -0.03866666666666666,
- 0.002341799999999998,
- 0.0019999999999999987
+ -0.03883333333333334,
+ 0.0023418000000000002,
+ 0.002000000000000001
],
"min": [
-0.039,
- 0.0020084666666666633,
- 0.0016666666666666644
+ 0.002175133333333333,
+ 0.0018333333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6420,
+ "byteOffset": 6168,
"componentType": 5126,
"count": 4,
"max": [
- 0.03836786666666667,
- -0.0015536999999999981,
- 0.001666666666666667
+ 0.038534533333333336,
+ -0.0015536999999999984,
+ 0.0018333333333333333
],
"min": [
- 0.02126013333333333,
- -0.0015536999999999992,
- -0.001666666666666667
+ 0.021093466666666668,
+ -0.0015537,
+ -0.0018333333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6468,
+ "byteOffset": 6216,
"componentType": 5126,
"count": 4,
"max": [
0.0387012,
- -0.0012203666666666636,
- 0.001666666666666667
+ -0.0013870333333333353,
+ 0.0018333333333333335
],
"min": [
- 0.03836786666666667,
- -0.0015536999999999981,
- -0.001666666666666667
+ 0.038534533333333336,
+ -0.0015537,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6516,
+ "byteOffset": 6264,
"componentType": 5126,
"count": 4,
"max": [
- 0.03836786666666667,
- -0.0012203666666666662,
- -0.0016666666666666668
+ 0.038534533333333336,
+ -0.0013870333333333323,
+ -0.001833333333333333
],
"min": [
- 0.02126013333333333,
- -0.0015536999999999992,
- -0.001999999999999999
+ 0.021093466666666668,
+ -0.0015537,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6564,
+ "byteOffset": 6312,
"componentType": 5126,
"count": 4,
"max": [
- 0.03836786666666667,
- -0.0012203666666666662,
- 0.001999999999999999
+ 0.038534533333333336,
+ -0.0013870333333333323,
+ 0.002000000000000001
],
"min": [
- 0.02126013333333333,
- -0.0015536999999999992,
- 0.0016666666666666668
+ 0.021093466666666668,
+ -0.0015537,
+ 0.001833333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6612,
+ "byteOffset": 6360,
"componentType": 5126,
"count": 4,
"max": [
- 0.02126013333333333,
- -0.0012203666666666666,
- 0.0016666666666666668
+ 0.021093466666666668,
+ -0.0013870333333333312,
+ 0.0018333333333333333
],
"min": [
0.0209268,
- -0.0015536999999999992,
- -0.001666666666666667
+ -0.0015536999999999984,
+ -0.001833333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6660,
+ "byteOffset": 6408,
"componentType": 5126,
"count": 3,
"max": [
0.0387012,
- -0.0012203666666666636,
- -0.0016666666666666668
+ -0.0013870333333333323,
+ -0.0018333333333333333
],
"min": [
- 0.03836786666666667,
- -0.0015536999999999981,
- -0.0019999999999999987
+ 0.038534533333333336,
+ -0.0015537,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6696,
+ "byteOffset": 6444,
"componentType": 5126,
"count": 3,
"max": [
0.0387012,
- -0.0012203666666666636,
- 0.0019999999999999987
+ -0.0013870333333333323,
+ 0.002000000000000001
],
"min": [
- 0.03836786666666667,
- -0.0015536999999999981,
- 0.001666666666666667
+ 0.038534533333333336,
+ -0.0015537,
+ 0.001833333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6732,
+ "byteOffset": 6480,
"componentType": 5126,
"count": 4,
"max": [
0.0387012,
- 0.002008466666666666,
- 0.001666666666666667
+ 0.002175133333333336,
+ 0.0018333333333333335
],
"min": [
- 0.03870119999999999,
- -0.0012203666666666636,
- -0.001666666666666667
+ 0.0387012,
+ -0.0013870333333333353,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6780,
+ "byteOffset": 6528,
"componentType": 5126,
"count": 4,
"max": [
- 0.03836786666666666,
- 0.0020084666666666654,
- -0.0019999999999999987
+ 0.03853453333333334,
+ 0.0021751333333333333,
+ -0.001999999999999999
],
"min": [
- 0.02126013333333333,
- -0.001220366666666667,
- -0.001999999999999999
+ 0.02109346666666667,
+ -0.0013870333333333314,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6828,
+ "byteOffset": 6576,
"componentType": 5126,
"count": 3,
"max": [
- 0.02126013333333333,
- -0.0012203666666666662,
- -0.0016666666666666661
+ 0.021093466666666668,
+ -0.0013870333333333312,
+ -0.0018333333333333322
],
"min": [
0.0209268,
- -0.0015536999999999992,
+ -0.0015536999999999984,
-0.001999999999999999
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6864,
+ "byteOffset": 6612,
"componentType": 5126,
"count": 4,
"max": [
- 0.03836786666666666,
- 0.0020084666666666654,
- 0.001999999999999999
+ 0.03853453333333334,
+ 0.0021751333333333333,
+ 0.002000000000000001
],
"min": [
- 0.02126013333333333,
- -0.001220366666666667,
- 0.0019999999999999987
+ 0.02109346666666667,
+ -0.0013870333333333314,
+ 0.001999999999999999
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6912,
+ "byteOffset": 6660,
"componentType": 5126,
"count": 3,
"max": [
- 0.02126013333333333,
- -0.0012203666666666662,
+ 0.021093466666666668,
+ -0.0013870333333333312,
0.001999999999999999
],
"min": [
0.0209268,
- -0.0015536999999999992,
- 0.0016666666666666661
+ -0.0015536999999999984,
+ 0.001833333333333332
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6948,
+ "byteOffset": 6696,
"componentType": 5126,
"count": 4,
"max": [
0.0209268,
- 0.002008466666666667,
- 0.0016666666666666661
+ 0.002175133333333334,
+ 0.001833333333333332
],
"min": [
0.0209268,
- -0.0012203666666666666,
- -0.0016666666666666661
+ -0.0013870333333333312,
+ -0.0018333333333333322
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 6996,
+ "byteOffset": 6744,
"componentType": 5126,
"count": 4,
"max": [
0.0387012,
- 0.002008466666666666,
- -0.001666666666666667
+ 0.002175133333333336,
+ -0.0018333333333333335
],
"min": [
- 0.03836786666666667,
- -0.0012203666666666662,
- -0.0019999999999999987
+ 0.038534533333333336,
+ -0.0013870333333333353,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7044,
+ "byteOffset": 6792,
"componentType": 5126,
"count": 4,
"max": [
0.0387012,
- 0.002008466666666666,
- 0.0019999999999999987
+ 0.002175133333333336,
+ 0.002000000000000001
],
"min": [
- 0.03836786666666667,
- -0.0012203666666666662,
- 0.001666666666666667
+ 0.038534533333333336,
+ -0.0013870333333333353,
+ 0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7092,
+ "byteOffset": 6840,
"componentType": 5126,
"count": 4,
"max": [
- 0.03870119999999999,
- 0.0023417999999999994,
- 0.001666666666666667
+ 0.0387012,
+ 0.0023418000000000002,
+ 0.0018333333333333335
],
"min": [
- 0.03836786666666667,
- 0.002008466666666666,
- -0.001666666666666667
+ 0.038534533333333336,
+ 0.002175133333333336,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7140,
+ "byteOffset": 6888,
"componentType": 5126,
"count": 4,
"max": [
- 0.02126013333333333,
- 0.002008466666666667,
- -0.0016666666666666661
+ 0.021093466666666668,
+ 0.002175133333333334,
+ -0.0018333333333333322
],
"min": [
0.0209268,
- -0.0012203666666666666,
+ -0.0013870333333333323,
-0.001999999999999999
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7188,
+ "byteOffset": 6936,
"componentType": 5126,
"count": 4,
"max": [
- 0.03836786666666667,
- 0.0023417999999999994,
- -0.0016666666666666666
+ 0.038534533333333336,
+ 0.0023418000000000002,
+ -0.001833333333333333
],
"min": [
- 0.02126013333333333,
- 0.002008466666666666,
- -0.001999999999999999
+ 0.021093466666666668,
+ 0.002175133333333333,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7236,
+ "byteOffset": 6984,
"componentType": 5126,
"count": 4,
"max": [
- 0.02126013333333333,
- 0.002008466666666667,
+ 0.021093466666666668,
+ 0.002175133333333334,
0.001999999999999999
],
"min": [
0.0209268,
- -0.0012203666666666666,
- 0.0016666666666666661
+ -0.0013870333333333323,
+ 0.001833333333333332
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7284,
+ "byteOffset": 7032,
"componentType": 5126,
"count": 4,
"max": [
- 0.03836786666666667,
- 0.0023417999999999994,
- 0.001999999999999999
+ 0.038534533333333336,
+ 0.0023418000000000002,
+ 0.002000000000000001
],
"min": [
- 0.02126013333333333,
- 0.002008466666666666,
- 0.0016666666666666666
+ 0.021093466666666668,
+ 0.002175133333333333,
+ 0.001833333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7332,
+ "byteOffset": 7080,
"componentType": 5126,
"count": 4,
"max": [
- 0.021260133333333334,
- 0.0023417999999999994,
- 0.0016666666666666666
+ 0.02109346666666667,
+ 0.0023418000000000002,
+ 0.0018333333333333333
],
"min": [
0.0209268,
- 0.002008466666666667,
- -0.0016666666666666666
+ 0.002175133333333334,
+ -0.001833333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7380,
+ "byteOffset": 7128,
"componentType": 5126,
"count": 3,
"max": [
- 0.03870119999999999,
- 0.0023417999999999994,
- -0.0016666666666666666
+ 0.0387012,
+ 0.0023418000000000002,
+ -0.0018333333333333333
],
"min": [
- 0.03836786666666667,
- 0.002008466666666666,
- -0.0019999999999999987
+ 0.038534533333333336,
+ 0.002175133333333333,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7416,
+ "byteOffset": 7164,
"componentType": 5126,
"count": 3,
"max": [
- 0.03870119999999999,
- 0.0023417999999999994,
- 0.0019999999999999987
+ 0.0387012,
+ 0.0023418000000000002,
+ 0.002000000000000001
],
"min": [
- 0.03836786666666667,
- 0.002008466666666666,
- 0.0016666666666666666
+ 0.038534533333333336,
+ 0.002175133333333333,
+ 0.001833333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7452,
+ "byteOffset": 7200,
"componentType": 5126,
"count": 4,
"max": [
- 0.03836786666666667,
- 0.0023417999999999994,
- 0.0016666666666666666
+ 0.038534533333333336,
+ 0.0023418000000000002,
+ 0.0018333333333333333
],
"min": [
- 0.021260133333333334,
- 0.0023417999999999994,
- -0.0016666666666666666
+ 0.02109346666666667,
+ 0.0023418000000000002,
+ -0.0018333333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7500,
+ "byteOffset": 7248,
"componentType": 5126,
"count": 3,
"max": [
- 0.021260133333333334,
- 0.0023417999999999994,
- -0.0016666666666666661
+ 0.02109346666666667,
+ 0.0023418000000000002,
+ -0.0018333333333333322
],
"min": [
0.0209268,
- 0.002008466666666666,
+ 0.002175133333333333,
-0.001999999999999999
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7536,
+ "byteOffset": 7284,
"componentType": 5126,
"count": 3,
"max": [
- 0.021260133333333334,
- 0.0023417999999999994,
+ 0.02109346666666667,
+ 0.0023418000000000002,
0.001999999999999999
],
"min": [
0.0209268,
- 0.002008466666666666,
- 0.0016666666666666661
+ 0.002175133333333333,
+ 0.001833333333333332
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7572,
+ "byteOffset": 7320,
"componentType": 5126,
"count": 4,
"max": [
- -0.0046136333333333295,
- 0.008604490000000003,
- 0.0016666666666666679
+ -0.004446966666666665,
+ 0.008604490000000001,
+ 0.001833333333333333
],
"min": [
- -0.03866666666666666,
- 0.008604490000000001,
- -0.0016666666666666679
+ -0.03883333333333334,
+ 0.00860449,
+ -0.001833333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7620,
+ "byteOffset": 7368,
"componentType": 5126,
"count": 4,
"max": [
-0.004280299999999997,
- 0.008937823333333334,
- 0.0016666666666666679
+ 0.008771156666666668,
+ 0.001833333333333334
],
"min": [
- -0.0046136333333333295,
+ -0.004446966666666665,
0.008604490000000001,
- -0.0016666666666666679
+ -0.0018333333333333337
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7668,
+ "byteOffset": 7416,
"componentType": 5126,
"count": 4,
"max": [
- -0.0046136333333333295,
- 0.008937823333333334,
- -0.0016666666666666679
+ -0.004446966666666665,
+ 0.008771156666666667,
+ -0.0018333333333333329
],
"min": [
- -0.03866666666666666,
- 0.008604490000000001,
- -0.0020000000000000005
+ -0.03883333333333334,
+ 0.00860449,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7716,
+ "byteOffset": 7464,
"componentType": 5126,
"count": 4,
"max": [
- -0.0046136333333333295,
- 0.008937823333333334,
- 0.0020000000000000005
+ -0.004446966666666665,
+ 0.008771156666666667,
+ 0.002000000000000001
],
"min": [
- -0.03866666666666666,
- 0.008604490000000001,
- 0.0016666666666666679
+ -0.03883333333333334,
+ 0.00860449,
+ 0.0018333333333333329
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7764,
+ "byteOffset": 7512,
"componentType": 5126,
"count": 4,
"max": [
- -0.03866666666666666,
- 0.008937823333333336,
- 0.0016666666666666679
+ -0.03883333333333334,
+ 0.008771156666666663,
+ 0.0018333333333333335
],
"min": [
-0.039,
- 0.008604490000000003,
- -0.0016666666666666679
+ 0.00860449,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7812,
+ "byteOffset": 7560,
"componentType": 5126,
"count": 3,
"max": [
-0.004280299999999997,
- 0.008937823333333334,
- -0.001666666666666667
+ 0.008771156666666668,
+ -0.0018333333333333329
],
"min": [
- -0.0046136333333333295,
+ -0.004446966666666665,
0.008604490000000001,
- -0.0020000000000000005
+ -0.0019999999999999996
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7848,
+ "byteOffset": 7596,
"componentType": 5126,
"count": 3,
"max": [
-0.004280299999999997,
- 0.008937823333333334,
- 0.0020000000000000005
+ 0.008771156666666668,
+ 0.002
],
"min": [
- -0.0046136333333333295,
+ -0.004446966666666665,
0.008604490000000001,
- 0.001666666666666667
+ 0.001833333333333333
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7884,
+ "byteOffset": 7632,
"componentType": 5126,
"count": 4,
"max": [
-0.004280299999999997,
- 0.012166666666666664,
- 0.001666666666666667
+ 0.012333333333333335,
+ 0.001833333333333334
],
"min": [
-0.004280299999999997,
- 0.008937823333333334,
- -0.001666666666666667
+ 0.008771156666666668,
+ -0.0018333333333333337
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7932,
+ "byteOffset": 7680,
"componentType": 5126,
"count": 4,
"max": [
- -0.004613633333333325,
- 0.012166666666666664,
- -0.001999999999999999
+ -0.004446966666666668,
+ 0.012333333333333337,
+ -0.0019999999999999996
],
"min": [
- -0.03866666666666666,
- 0.008937823333333334,
- -0.0020000000000000005
+ -0.03883333333333334,
+ 0.008771156666666667,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 7980,
+ "byteOffset": 7728,
"componentType": 5126,
"count": 3,
"max": [
- -0.03866666666666666,
- 0.008937823333333336,
- -0.0016666666666666644
+ -0.03883333333333334,
+ 0.008771156666666667,
+ -0.001833333333333333
],
"min": [
-0.039,
- 0.008604490000000003,
- -0.001999999999999999
+ 0.00860449,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 8016,
+ "byteOffset": 7764,
"componentType": 5126,
"count": 4,
"max": [
- -0.004613633333333325,
- 0.012166666666666664,
- 0.0020000000000000005
+ -0.004446966666666668,
+ 0.012333333333333337,
+ 0.002000000000000001
],
"min": [
- -0.03866666666666666,
- 0.008937823333333334,
- 0.001999999999999999
+ -0.03883333333333334,
+ 0.008771156666666667,
+ 0.002
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 8064,
+ "byteOffset": 7812,
"componentType": 5126,
"count": 3,
"max": [
- -0.03866666666666666,
- 0.008937823333333336,
- 0.001999999999999999
+ -0.03883333333333334,
+ 0.008771156666666667,
+ 0.002000000000000001
],
"min": [
-0.039,
- 0.008604490000000003,
- 0.0016666666666666644
+ 0.00860449,
+ 0.0018333333333333329
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 8100,
+ "byteOffset": 7848,
"componentType": 5126,
"count": 4,
"max": [
-0.039,
- 0.012166666666666662,
- 0.0016666666666666644
+ 0.012333333333333339,
+ 0.0018333333333333335
],
"min": [
-0.039,
- 0.008937823333333336,
- -0.0016666666666666644
+ 0.008771156666666663,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 8148,
+ "byteOffset": 7896,
"componentType": 5126,
"count": 4,
"max": [
-0.004280299999999997,
- 0.012166666666666664,
- -0.001666666666666667
+ 0.012333333333333337,
+ -0.0018333333333333337
],
"min": [
- -0.0046136333333333295,
- 0.008937823333333334,
- -0.0020000000000000005
+ -0.004446966666666666,
+ 0.008771156666666667,
+ -0.0019999999999999996
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 8196,
+ "byteOffset": 7944,
"componentType": 5126,
"count": 4,
"max": [
-0.004280299999999997,
- 0.012166666666666664,
- 0.0020000000000000005
+ 0.012333333333333337,
+ 0.002
],
"min": [
- -0.0046136333333333295,
- 0.008937823333333334,
- 0.001666666666666667
+ -0.004446966666666666,
+ 0.008771156666666667,
+ 0.001833333333333334
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 8244,
+ "byteOffset": 7992,
"componentType": 5126,
"count": 4,
"max": [
-0.004280299999999997,
0.0125,
- 0.001666666666666667
+ 0.001833333333333334
],
"min": [
- -0.004613633333333331,
- 0.012166666666666664,
- -0.0016666666666666672
+ -0.004446966666666666,
+ 0.012333333333333335,
+ -0.0018333333333333337
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 8292,
+ "byteOffset": 8040,
"componentType": 5126,
"count": 4,
"max": [
- -0.03866666666666666,
- 0.012166666666666664,
- -0.0016666666666666644
+ -0.03883333333333334,
+ 0.012333333333333339,
+ -0.0018333333333333335
],
"min": [
-0.039,
- 0.008937823333333334,
- -0.001999999999999999
+ 0.008771156666666663,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 8340,
+ "byteOffset": 8088,
"componentType": 5126,
"count": 4,
"max": [
- -0.004613633333333328,
- 0.0125,
- -0.001666666666666667
+ -0.004446966666666666,
+ 0.012500000000000002,
+ -0.0018333333333333335
],
"min": [
- -0.03866666666666666,
- 0.012166666666666664,
- -0.002
+ -0.03883333333333334,
+ 0.012333333333333337,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 8388,
+ "byteOffset": 8136,
"componentType": 5126,
"count": 4,
"max": [
- -0.03866666666666666,
- 0.012166666666666664,
- 0.001999999999999999
+ -0.03883333333333334,
+ 0.012333333333333339,
+ 0.002000000000000001
],
"min": [
-0.039,
- 0.008937823333333334,
- 0.0016666666666666644
+ 0.008771156666666663,
+ 0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 8436,
+ "byteOffset": 8184,
"componentType": 5126,
"count": 4,
"max": [
- -0.004613633333333328,
- 0.0125,
- 0.002
+ -0.004446966666666666,
+ 0.012500000000000002,
+ 0.002000000000000001
],
"min": [
- -0.03866666666666666,
- 0.012166666666666664,
- 0.001666666666666667
+ -0.03883333333333334,
+ 0.012333333333333337,
+ 0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 8484,
+ "byteOffset": 8232,
"componentType": 5126,
"count": 4,
"max": [
- -0.03866666666666666,
- 0.012499999999999997,
- 0.0016666666666666672
+ -0.03883333333333334,
+ 0.012500000000000002,
+ 0.0018333333333333335
],
"min": [
-0.039,
- 0.012166666666666662,
- -0.001666666666666667
+ 0.012333333333333339,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 8532,
+ "byteOffset": 8280,
"componentType": 5126,
"count": 3,
"max": [
-0.004280299999999997,
0.0125,
- -0.001666666666666667
+ -0.0018333333333333335
],
"min": [
- -0.004613633333333331,
- 0.012166666666666664,
- -0.002
+ -0.004446966666666666,
+ 0.012333333333333335,
+ -0.0019999999999999996
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 8568,
+ "byteOffset": 8316,
"componentType": 5126,
"count": 3,
"max": [
@@ -2799,60 +2799,60 @@
0.002
],
"min": [
- -0.004613633333333331,
- 0.012166666666666664,
- 0.001666666666666667
+ -0.004446966666666666,
+ 0.012333333333333335,
+ 0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 8604,
+ "byteOffset": 8352,
"componentType": 5126,
"count": 4,
"max": [
- -0.004613633333333331,
- 0.0125,
- 0.0016666666666666672
+ -0.004446966666666666,
+ 0.012500000000000002,
+ 0.0018333333333333335
],
"min": [
- -0.03866666666666666,
- 0.012499999999999997,
- -0.0016666666666666672
+ -0.03883333333333334,
+ 0.0125,
+ -0.0018333333333333335
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 8652,
+ "byteOffset": 8400,
"componentType": 5126,
"count": 3,
"max": [
- -0.03866666666666666,
- 0.012499999999999997,
- -0.0016666666666666644
+ -0.03883333333333334,
+ 0.012500000000000002,
+ -0.0018333333333333335
],
"min": [
-0.039,
- 0.012166666666666662,
- -0.001999999999999999
+ 0.012333333333333337,
+ -0.002000000000000001
],
"type": "VEC3"
},
{
"bufferView": 0,
- "byteOffset": 8688,
+ "byteOffset": 8436,
"componentType": 5126,
"count": 3,
"max": [
- -0.03866666666666666,
- 0.012499999999999997,
- 0.001999999999999999
+ -0.03883333333333334,
+ 0.012500000000000002,
+ 0.002000000000000001
],
"min": [
-0.039,
- 0.012166666666666662,
- 0.0016666666666666644
+ 0.012333333333333337,
+ 0.0018333333333333335
],
"type": "VEC3"
},
@@ -3098,936 +3098,936 @@
"bufferView": 1,
"byteOffset": 1716,
"componentType": 5126,
- "count": 48,
+ "count": 17,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 2292,
+ "byteOffset": 1920,
"componentType": 5126,
"count": 5,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 2352,
+ "byteOffset": 1980,
"componentType": 5126,
- "count": 47,
+ "count": 57,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 2916,
+ "byteOffset": 2664,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 2964,
+ "byteOffset": 2712,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3012,
+ "byteOffset": 2760,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3060,
+ "byteOffset": 2808,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3108,
+ "byteOffset": 2856,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3156,
+ "byteOffset": 2904,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3204,
+ "byteOffset": 2952,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3240,
+ "byteOffset": 2988,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3276,
+ "byteOffset": 3024,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3324,
+ "byteOffset": 3072,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3372,
+ "byteOffset": 3120,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3408,
+ "byteOffset": 3156,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3456,
+ "byteOffset": 3204,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3492,
+ "byteOffset": 3240,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3540,
+ "byteOffset": 3288,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3588,
+ "byteOffset": 3336,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3636,
+ "byteOffset": 3384,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3684,
+ "byteOffset": 3432,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3732,
+ "byteOffset": 3480,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3780,
+ "byteOffset": 3528,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3828,
+ "byteOffset": 3576,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3876,
+ "byteOffset": 3624,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3924,
+ "byteOffset": 3672,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3960,
+ "byteOffset": 3708,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 3996,
+ "byteOffset": 3744,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4044,
+ "byteOffset": 3792,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4080,
+ "byteOffset": 3828,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4116,
+ "byteOffset": 3864,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4164,
+ "byteOffset": 3912,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4212,
+ "byteOffset": 3960,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4260,
+ "byteOffset": 4008,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4308,
+ "byteOffset": 4056,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4356,
+ "byteOffset": 4104,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4392,
+ "byteOffset": 4140,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4428,
+ "byteOffset": 4176,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4476,
+ "byteOffset": 4224,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4524,
+ "byteOffset": 4272,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4560,
+ "byteOffset": 4308,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4608,
+ "byteOffset": 4356,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4644,
+ "byteOffset": 4392,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4692,
+ "byteOffset": 4440,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4740,
+ "byteOffset": 4488,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4788,
+ "byteOffset": 4536,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4836,
+ "byteOffset": 4584,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4884,
+ "byteOffset": 4632,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4932,
+ "byteOffset": 4680,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 4980,
+ "byteOffset": 4728,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5028,
+ "byteOffset": 4776,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5076,
+ "byteOffset": 4824,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5112,
+ "byteOffset": 4860,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5148,
+ "byteOffset": 4896,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5196,
+ "byteOffset": 4944,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5232,
+ "byteOffset": 4980,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5268,
+ "byteOffset": 5016,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5316,
+ "byteOffset": 5064,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5364,
+ "byteOffset": 5112,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5412,
+ "byteOffset": 5160,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5460,
+ "byteOffset": 5208,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5508,
+ "byteOffset": 5256,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5544,
+ "byteOffset": 5292,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5580,
+ "byteOffset": 5328,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5628,
+ "byteOffset": 5376,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5676,
+ "byteOffset": 5424,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5712,
+ "byteOffset": 5460,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5760,
+ "byteOffset": 5508,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5796,
+ "byteOffset": 5544,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5844,
+ "byteOffset": 5592,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5892,
+ "byteOffset": 5640,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5940,
+ "byteOffset": 5688,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 5988,
+ "byteOffset": 5736,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6036,
+ "byteOffset": 5784,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6084,
+ "byteOffset": 5832,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6132,
+ "byteOffset": 5880,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6180,
+ "byteOffset": 5928,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6228,
+ "byteOffset": 5976,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6264,
+ "byteOffset": 6012,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6300,
+ "byteOffset": 6048,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6348,
+ "byteOffset": 6096,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6384,
+ "byteOffset": 6132,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6420,
+ "byteOffset": 6168,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6468,
+ "byteOffset": 6216,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6516,
+ "byteOffset": 6264,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6564,
+ "byteOffset": 6312,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6612,
+ "byteOffset": 6360,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6660,
+ "byteOffset": 6408,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6696,
+ "byteOffset": 6444,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6732,
+ "byteOffset": 6480,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6780,
+ "byteOffset": 6528,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6828,
+ "byteOffset": 6576,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6864,
+ "byteOffset": 6612,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6912,
+ "byteOffset": 6660,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6948,
+ "byteOffset": 6696,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 6996,
+ "byteOffset": 6744,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7044,
+ "byteOffset": 6792,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7092,
+ "byteOffset": 6840,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7140,
+ "byteOffset": 6888,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7188,
+ "byteOffset": 6936,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7236,
+ "byteOffset": 6984,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7284,
+ "byteOffset": 7032,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7332,
+ "byteOffset": 7080,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7380,
+ "byteOffset": 7128,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7416,
+ "byteOffset": 7164,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7452,
+ "byteOffset": 7200,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7500,
+ "byteOffset": 7248,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7536,
+ "byteOffset": 7284,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7572,
+ "byteOffset": 7320,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7620,
+ "byteOffset": 7368,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7668,
+ "byteOffset": 7416,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7716,
+ "byteOffset": 7464,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7764,
+ "byteOffset": 7512,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7812,
+ "byteOffset": 7560,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7848,
+ "byteOffset": 7596,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7884,
+ "byteOffset": 7632,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7932,
+ "byteOffset": 7680,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 7980,
+ "byteOffset": 7728,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 8016,
+ "byteOffset": 7764,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 8064,
+ "byteOffset": 7812,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 8100,
+ "byteOffset": 7848,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 8148,
+ "byteOffset": 7896,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 8196,
+ "byteOffset": 7944,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 8244,
+ "byteOffset": 7992,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 8292,
+ "byteOffset": 8040,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 8340,
+ "byteOffset": 8088,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 8388,
+ "byteOffset": 8136,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 8436,
+ "byteOffset": 8184,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 8484,
+ "byteOffset": 8232,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 8532,
+ "byteOffset": 8280,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 8568,
+ "byteOffset": 8316,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 8604,
+ "byteOffset": 8352,
"componentType": 5126,
"count": 4,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 8652,
+ "byteOffset": 8400,
"componentType": 5126,
"count": 3,
"type": "VEC3"
},
{
"bufferView": 1,
- "byteOffset": 8688,
+ "byteOffset": 8436,
"componentType": 5126,
"count": 3,
"type": "VEC3"
@@ -4274,970 +4274,970 @@
"bufferView": 2,
"byteOffset": 464,
"componentType": 5123,
- "count": 270,
+ "count": 84,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1004,
+ "byteOffset": 632,
"componentType": 5123,
"count": 9,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1024,
+ "byteOffset": 652,
"componentType": 5123,
- "count": 264,
+ "count": 324,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1552,
+ "byteOffset": 1300,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1564,
+ "byteOffset": 1312,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1576,
+ "byteOffset": 1324,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1588,
+ "byteOffset": 1336,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1600,
+ "byteOffset": 1348,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1612,
+ "byteOffset": 1360,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1624,
+ "byteOffset": 1372,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1632,
+ "byteOffset": 1380,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1640,
+ "byteOffset": 1388,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1652,
+ "byteOffset": 1400,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1664,
+ "byteOffset": 1412,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1672,
+ "byteOffset": 1420,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1684,
+ "byteOffset": 1432,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1692,
+ "byteOffset": 1440,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1704,
+ "byteOffset": 1452,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1716,
+ "byteOffset": 1464,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1728,
+ "byteOffset": 1476,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1740,
+ "byteOffset": 1488,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1752,
+ "byteOffset": 1500,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1764,
+ "byteOffset": 1512,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1776,
+ "byteOffset": 1524,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1788,
+ "byteOffset": 1536,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1800,
+ "byteOffset": 1548,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1808,
+ "byteOffset": 1556,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1816,
+ "byteOffset": 1564,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1828,
+ "byteOffset": 1576,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1836,
+ "byteOffset": 1584,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1844,
+ "byteOffset": 1592,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1856,
+ "byteOffset": 1604,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1868,
+ "byteOffset": 1616,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1880,
+ "byteOffset": 1628,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1892,
+ "byteOffset": 1640,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1904,
+ "byteOffset": 1652,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1912,
+ "byteOffset": 1660,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1920,
+ "byteOffset": 1668,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1932,
+ "byteOffset": 1680,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1944,
+ "byteOffset": 1692,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1952,
+ "byteOffset": 1700,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1964,
+ "byteOffset": 1712,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1972,
+ "byteOffset": 1720,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1984,
+ "byteOffset": 1732,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 1996,
+ "byteOffset": 1744,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2008,
+ "byteOffset": 1756,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2020,
+ "byteOffset": 1768,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2032,
+ "byteOffset": 1780,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2044,
+ "byteOffset": 1792,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2056,
+ "byteOffset": 1804,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2068,
+ "byteOffset": 1816,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2080,
+ "byteOffset": 1828,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2088,
+ "byteOffset": 1836,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2096,
+ "byteOffset": 1844,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2108,
+ "byteOffset": 1856,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2116,
+ "byteOffset": 1864,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2124,
+ "byteOffset": 1872,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2136,
+ "byteOffset": 1884,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2148,
+ "byteOffset": 1896,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2160,
+ "byteOffset": 1908,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2172,
+ "byteOffset": 1920,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2184,
+ "byteOffset": 1932,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2192,
+ "byteOffset": 1940,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2200,
+ "byteOffset": 1948,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2212,
+ "byteOffset": 1960,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2224,
+ "byteOffset": 1972,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2232,
+ "byteOffset": 1980,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2244,
+ "byteOffset": 1992,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2252,
+ "byteOffset": 2000,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2264,
+ "byteOffset": 2012,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2276,
+ "byteOffset": 2024,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2288,
+ "byteOffset": 2036,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2300,
+ "byteOffset": 2048,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2312,
+ "byteOffset": 2060,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2324,
+ "byteOffset": 2072,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2336,
+ "byteOffset": 2084,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2348,
+ "byteOffset": 2096,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2360,
+ "byteOffset": 2108,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2368,
+ "byteOffset": 2116,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2376,
+ "byteOffset": 2124,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2388,
+ "byteOffset": 2136,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2396,
+ "byteOffset": 2144,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2404,
+ "byteOffset": 2152,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2416,
+ "byteOffset": 2164,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2428,
+ "byteOffset": 2176,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2440,
+ "byteOffset": 2188,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2452,
+ "byteOffset": 2200,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2464,
+ "byteOffset": 2212,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2472,
+ "byteOffset": 2220,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2480,
+ "byteOffset": 2228,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2492,
+ "byteOffset": 2240,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2504,
+ "byteOffset": 2252,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2512,
+ "byteOffset": 2260,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2524,
+ "byteOffset": 2272,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2532,
+ "byteOffset": 2280,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2544,
+ "byteOffset": 2292,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2556,
+ "byteOffset": 2304,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2568,
+ "byteOffset": 2316,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2580,
+ "byteOffset": 2328,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2592,
+ "byteOffset": 2340,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2604,
+ "byteOffset": 2352,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2616,
+ "byteOffset": 2364,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2628,
+ "byteOffset": 2376,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2640,
+ "byteOffset": 2388,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2648,
+ "byteOffset": 2396,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2656,
+ "byteOffset": 2404,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2668,
+ "byteOffset": 2416,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2676,
+ "byteOffset": 2424,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2684,
+ "byteOffset": 2432,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2696,
+ "byteOffset": 2444,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2708,
+ "byteOffset": 2456,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2720,
+ "byteOffset": 2468,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2732,
+ "byteOffset": 2480,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2744,
+ "byteOffset": 2492,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2752,
+ "byteOffset": 2500,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2760,
+ "byteOffset": 2508,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2772,
+ "byteOffset": 2520,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2784,
+ "byteOffset": 2532,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2792,
+ "byteOffset": 2540,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2804,
+ "byteOffset": 2552,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2812,
+ "byteOffset": 2560,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2824,
+ "byteOffset": 2572,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2836,
+ "byteOffset": 2584,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2848,
+ "byteOffset": 2596,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2860,
+ "byteOffset": 2608,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2872,
+ "byteOffset": 2620,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2884,
+ "byteOffset": 2632,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2896,
+ "byteOffset": 2644,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2908,
+ "byteOffset": 2656,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2920,
+ "byteOffset": 2668,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2928,
+ "byteOffset": 2676,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2936,
+ "byteOffset": 2684,
"componentType": 5123,
"count": 6,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2948,
+ "byteOffset": 2696,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
},
{
"bufferView": 2,
- "byteOffset": 2956,
+ "byteOffset": 2704,
"componentType": 5123,
"count": 3,
"type": "SCALAR"
}
],
"asset": {
- "generator": "build123d CAD chamfer export for eve-4",
+ "generator": "build123d CAD chamfer export for eve-5",
"version": "2.0"
},
"bufferViews": [
{
"buffer": 0,
- "byteLength": 8724,
+ "byteLength": 8472,
"byteOffset": 0,
"byteStride": 12,
"target": 34962
},
{
"buffer": 0,
- "byteLength": 8724,
- "byteOffset": 8724,
+ "byteLength": 8472,
+ "byteOffset": 8472,
"byteStride": 12,
"target": 34962
},
{
"buffer": 0,
- "byteLength": 2964,
- "byteOffset": 17448,
+ "byteLength": 2712,
+ "byteOffset": 16944,
"target": 34963
}
],
"buffers": [
{
- "byteLength": 20412,
+ "byteLength": 19656,
"uri": "eve-chamfer.bin"
}
],
@@ -6612,7 +6612,7 @@
],
"extras": {
"source": "EVE SVG imported by build123d, extruded as BREP solids, chamfered in CAD, exported as glTF + bin.",
- "chamfer": 0.3333333333333333,
+ "chamfer": 0.16666666666666666,
"depth": 4.0,
"contours": 6
}
diff --git a/apps/docs/public/eve-5/fallback-dark-content.webp b/apps/docs/public/eve-5/fallback-dark-content.webp
index d3cd2edd0..274726661 100644
Binary files a/apps/docs/public/eve-5/fallback-dark-content.webp and b/apps/docs/public/eve-5/fallback-dark-content.webp differ
diff --git a/apps/docs/public/eve-5/fallback-dark.webp b/apps/docs/public/eve-5/fallback-dark.webp
index d3cd2edd0..274726661 100644
Binary files a/apps/docs/public/eve-5/fallback-dark.webp and b/apps/docs/public/eve-5/fallback-dark.webp differ
diff --git a/apps/docs/public/eve-5/fallback-light-content.webp b/apps/docs/public/eve-5/fallback-light-content.webp
index c9a987a9e..ffef4702b 100644
Binary files a/apps/docs/public/eve-5/fallback-light-content.webp and b/apps/docs/public/eve-5/fallback-light-content.webp differ
diff --git a/apps/docs/public/eve-5/fallback-light.webp b/apps/docs/public/eve-5/fallback-light.webp
index c9a987a9e..ffef4702b 100644
Binary files a/apps/docs/public/eve-5/fallback-light.webp and b/apps/docs/public/eve-5/fallback-light.webp differ
diff --git a/apps/docs/scripts/render-eve-5.ts b/apps/docs/scripts/render-eve-5.ts
index 9d218766b..47914ed6c 100644
--- a/apps/docs/scripts/render-eve-5.ts
+++ b/apps/docs/scripts/render-eve-5.ts
@@ -32,10 +32,15 @@ import { PNG } from "pngjs";
import { decodeGltfMesh } from "../app/[lang]/(home)/components/eve-logo-shader/mesh";
import {
BLOOM_RADIUS,
- BLOOM_STRENGTH,
+ BLOOM_STRENGTH_OFF,
+ BLOOM_STRENGTH_ON,
BLOOM_THRESHOLD,
+ DEFAULT_CAMERA_FOV,
+ cameraRadiusForFov,
createEve5Renderer,
getPaddedRenderSize,
+ type EveMaterial,
+ type MeshData,
type RenderControls,
} from "../app/[lang]/(home)/components/eve-logo-shader/render";
@@ -52,16 +57,23 @@ const PADDED_SIZE = getPaddedRenderSize(LOGICAL_WIDTH, LOGICAL_HEIGHT, PADDING_R
const WIDTH = PADDED_SIZE.width;
const HEIGHT = PADDED_SIZE.height;
const THEME = readThemeEnv();
+const IMPRINT_PROGRESS = readUnitIntervalEnv("EVE_LOGO_RENDER_IMPRINT_PROGRESS");
+const IMPRINT_GRID_SCALE_MULTIPLIER = readPositiveNumberEnv("EVE_LOGO_IMPRINT_GRID_SCALE_MULTIPLIER", 1);
+const IMPRINT_GLYPH_SCALE = readPositiveNumberEnv("EVE_LOGO_IMPRINT_GLYPH_SCALE", 1.35);
+const REQUESTED_RENDER_STAGE = readRenderStageEnv();
+const RENDER_STAGE: EveMaterial = REQUESTED_RENDER_STAGE;
+const RENDER_YAW = readFiniteNumberEnv("EVE_LOGO_RENDER_YAW", 0);
const MODEL_PATH = resolve(process.cwd(), "public/eve-5/eve-logo.gltf");
const DEFAULT_CONTROLS: RenderControls = {
- yaw: 0,
+ yaw: RENDER_YAW,
pitch: 0,
- radius: 1.9,
- fov: 35,
+ radius: cameraRadiusForFov(DEFAULT_CAMERA_FOV),
+ fov: DEFAULT_CAMERA_FOV,
envYaw: 0,
+ envPitch: 0,
insideRendering: true,
outsideRendering: true,
- material: "glass",
+ material: RENDER_STAGE,
wireframe: false,
showEnv: false,
};
@@ -73,38 +85,61 @@ async function main() {
let renderer: ReturnType<typeof createEve5Renderer> | undefined;
try {
- renderer = createEve5Renderer(app.device, FORMAT, mesh, { theme: THEME, paddingRadius: PADDING_RADIUS, bloom: BLOOM_ENABLED });
- const output = await renderView(renderer, app.device, DEFAULT_CONTROLS, "output.png");
- await renderView(renderer, app.device, { ...DEFAULT_CONTROLS, yaw: -0.49, pitch: 0.31 }, "rotated.png");
- await renderView(renderer, app.device, { ...DEFAULT_CONTROLS, wireframe: true }, "wireframe.png");
+ renderer = createEve5Renderer(app.device, FORMAT, mesh, {
+ theme: THEME,
+ paddingRadius: PADDING_RADIUS,
+ bloom: BLOOM_ENABLED,
+ });
+
+ const renderResult = await renderDefaultViews(renderer, app.device, DEFAULT_CONTROLS);
const log = {
runId: RUN_ID,
outDir: OUT_DIR,
- dimensions: { width: WIDTH, height: HEIGHT, format: FORMAT, theme: THEME },
+ dimensions: {
+ width: WIDTH,
+ height: HEIGHT,
+ format: FORMAT,
+ theme: THEME,
+ stage: RENDER_STAGE,
+ requestedStage: REQUESTED_RENDER_STAGE,
+ },
bloom: {
enabled: BLOOM_ENABLED,
runtimeRadius: BLOOM_RADIUS,
radius: PADDING_RADIUS,
- strength: BLOOM_ENABLED ? BLOOM_STRENGTH : 0,
+ strength: BLOOM_ENABLED ? effectiveBloomStrength(IMPRINT_PROGRESS ?? 0) : 0,
+ strengthOff: BLOOM_STRENGTH_OFF,
+ strengthOn: BLOOM_STRENGTH_ON,
threshold: BLOOM_THRESHOLD,
logical: { width: LOGICAL_WIDTH, height: LOGICAL_HEIGHT },
padded: { width: WIDTH, height: HEIGHT },
},
+ imprint:
+ IMPRINT_PROGRESS !== undefined
+ ? {
+ enabled: true,
+ progress: IMPRINT_PROGRESS,
+ gridScaleMultiplier: IMPRINT_GRID_SCALE_MULTIPLIER,
+ glyphScale: IMPRINT_GLYPH_SCALE,
+ noise: { time: readNoiseTimeEnv(), mouse: [0, 0] },
+ stage: "front-glass-material-imprint",
+ }
+ : { enabled: false },
mesh: {
vertices: mesh.positions.length / 3,
triangles: mesh.indices.length / 3,
bounds: mesh.bounds,
},
- files: {
- output: "output.png",
- rotated: "rotated.png",
- wireframe: "wireframe.png",
- log: "log.json",
- },
- output: pixelStats(WIDTH, HEIGHT, output),
+ files: renderResult.files,
+ output: renderResult.output,
};
+ const logWithOptionalBounds: typeof log & { bounds?: unknown } = log;
+ if ("bounds" in renderResult) {
+ logWithOptionalBounds.bounds = renderResult.bounds;
+ }
+
await writeFile(resolve(OUT_DIR, "log.json"), `${JSON.stringify(log, null, 2)}\n`);
console.log(JSON.stringify(log, null, 2));
@@ -115,23 +150,66 @@ async function main() {
}
}
+async function renderDefaultViews(
+ renderer: ReturnType<typeof createEve5Renderer>,
+ device: Awaited<ReturnType<typeof App.create>>["device"],
+ controls: RenderControls,
+) {
+ const output = await renderView(renderer, device, controls, outputFileName(), WIDTH, HEIGHT, LOGICAL_WIDTH, LOGICAL_HEIGHT);
+ await renderView(renderer, device, { ...controls, yaw: RENDER_YAW || -0.49, pitch: RENDER_YAW ? controls.pitch : 0.31 }, "rotated.png", WIDTH, HEIGHT, LOGICAL_WIDTH, LOGICAL_HEIGHT);
+ await renderView(renderer, device, { ...controls, wireframe: true }, "wireframe.png", WIDTH, HEIGHT, LOGICAL_WIDTH, LOGICAL_HEIGHT);
+
+ return {
+ files: {
+ output: outputFileName(),
+ rotated: "rotated.png",
+ wireframe: "wireframe.png",
+ log: "log.json",
+ },
+ output: pixelStats(WIDTH, HEIGHT, output),
+ };
+}
+
+function outputFileName() {
+ return IMPRINT_PROGRESS === undefined ? "output.png" : `imprint-${formatProgressForFile(IMPRINT_PROGRESS)}.png`;
+}
+
+function effectiveBloomStrength(imprintProgress: number) {
+ return BLOOM_STRENGTH_OFF + (BLOOM_STRENGTH_ON - BLOOM_STRENGTH_OFF) * imprintProgress;
+}
+
+function imprintOptions() {
+ if (IMPRINT_PROGRESS === undefined) return undefined;
+ return {
+ progress: IMPRINT_PROGRESS,
+ gridScaleMultiplier: IMPRINT_GRID_SCALE_MULTIPLIER,
+ glyphScale: IMPRINT_GLYPH_SCALE,
+ time: readNoiseTimeEnv(),
+ mouse: [0, 0] as const,
+ };
+}
+
async function renderView(
renderer: ReturnType<typeof createEve5Renderer>,
device: Awaited<ReturnType<typeof App.create>>["device"],
controls: RenderControls,
file: string,
+ width: number,
+ height: number,
+ logicalWidth: number,
+ logicalHeight: number,
) {
const target = device.createTexture({
label: `eve-5-static-${file}`,
- size: [WIDTH, HEIGHT],
+ size: [width, height],
format: FORMAT,
usage: ["render_attachment", "copy_src"],
});
try {
- renderer.render(target.createView(), controls, LOGICAL_WIDTH, LOGICAL_HEIGHT);
+ renderer.render(target.createView(), controls, logicalWidth, logicalHeight, imprintOptions());
await device.queue.flush();
const pixels = new Uint8Array(await target.read());
- await writePng(resolve(OUT_DIR, file), WIDTH, HEIGHT, pixels);
+ await writePng(resolve(OUT_DIR, file), width, height, pixels);
return pixels;
} finally {
target.destroy();
@@ -150,6 +228,16 @@ async function loadMeshFromDisk(path: string) {
});
}
+function readFiniteNumberEnv(name: string, fallback: number) {
+ const value = process.env[name];
+ if (!value) return fallback;
+ const parsed = Number.parseFloat(value);
+ if (!Number.isFinite(parsed)) {
+ throw new Error(`${name} must be a finite number.`);
+ }
+ return parsed;
+}
+
function readPositiveIntegerEnv(name: string, fallback: number, minimumExclusive = 0) {
const value = process.env[name];
if (!value) return fallback;
@@ -160,6 +248,26 @@ function readPositiveIntegerEnv(name: string, fallback: number, minimumExclusive
return parsed;
}
+function readPositiveNumberEnv(name: string, fallback: number) {
+ const value = process.env[name];
+ if (!value) return fallback;
+ const parsed = Number.parseFloat(value);
+ if (!Number.isFinite(parsed) || parsed <= 0) {
+ throw new Error(`${name} must be a positive number.`);
+ }
+ return parsed;
+}
+
+function readUnitIntervalEnv(name: string) {
+ const value = process.env[name];
+ if (value === undefined || value === "") return undefined;
+ const parsed = Number.parseFloat(value);
+ if (!Number.isFinite(parsed) || parsed < 0 || parsed > 1) {
+ throw new Error(`${name} must be a finite number between 0 and 1.`);
+ }
+ return parsed;
+}
+
function readNonNegativeIntegerEnv(name: string, fallback: number) {
const value = process.env[name];
if (!value) return fallback;
@@ -179,6 +287,42 @@ function readBooleanEnv(name: string, fallback: boolean) {
throw new Error(`${name} must be a boolean value.`);
}
+function readRenderStageEnv(): EveMaterial {
+ const values: Record<string, EveMaterial> = {
+ glass: "glass",
+ "back-albedo": "back-albedo",
+ "back-depth": "back-depth",
+ thickness: "thickness",
+ normal: "normal",
+ "camera-reflected-normal": "camera reflected normal",
+ metallic: "metallic",
+ };
+ const value = process.env.EVE_LOGO_RENDER_STAGE ?? "glass";
+ const stage = values[value];
+ if (!stage) {
+ throw new Error(`EVE_LOGO_RENDER_STAGE must be one of: ${Object.keys(values).join(", ")}.`);
+ }
+ return stage;
+}
+
+function stageFileName(stage: EveMaterial) {
+ return stage.replaceAll(" ", "-");
+}
+
+function formatProgressForFile(progress: number) {
+ return progress.toFixed(3).replace(/0+$/, "").replace(/\.$/, "").replace(".", "p");
+}
+
+function readNoiseTimeEnv() {
+ const value = process.env.EVE_LOGO_RENDER_NOISE_TIME;
+ if (!value) return 0;
+ const parsed = Number.parseFloat(value);
+ if (!Number.isFinite(parsed)) {
+ throw new Error("EVE_LOGO_RENDER_NOISE_TIME must be a finite number.");
+ }
+ return parsed;
+}
+
function readThemeEnv(): "light" | "dark" {
const value = process.env.EVE_LOGO_RENDER_THEME ?? "dark";
if (value === "light" || value === "dark") return value;
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 6e0371299..28fca47e8 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -185,6 +185,9 @@ importers:
jotai:
specifier: 2.20.0
+ lil-gui:
+ specifier: 0.21.0
+ version: 0.21.0
lucide-react:
specifier: 1.16.0
version: 1.16.0([email protected])
@@ -9649,6 +9652,9 @@ packages:
resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==}
engines: {node: '>= 12.0.0'}
+ resolution: {integrity: sha512-tpvxN7v1GvE/Tv+GRopfOp0W7fVEjF4PltkuX8vOCIfim22rD1ztvfkoEMcv9lzQeuNUSeIrUmUjBwmlW/oUew==}
+
resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==}
engines: {node: '>=14'}
@@ -22040,6 +22046,8 @@ snapshots:
lightningcss-win32-arm64-msvc: 1.32.0
lightningcss-win32-x64-msvc: 1.32.0
+