Features
为「看清楚一个模型」而设计的检视器
A viewer built to see a model clearly
从布光、展台、材质到导出,每个环节都围绕一件事:把 3D 数字资产放在一个稳定、可复现的舞台上,任意角度地检视它。
Lighting, staging, materials, export — every part serves one goal: put a 3D digital asset on a stable, reproducible stage and inspect it from any angle.
工业级三点布光Industrial three-point lighting
暖色主光投射 2048 × 2048 动态软阴影,冷色补光柔化暗部,背后轮廓光勾出边缘,再叠一层半球底光避免死黑——每盏灯的颜色与强度都实时可调。
A warm key light casting 2048 × 2048 soft dynamic shadows, a cool fill light lifting the shadows, a rim light carving the silhouette, plus a hemisphere base light against pitch black — color and intensity of every light adjustable in real time.
程序化展台底座Procedural pedestal
微锥度金属圆盘 + 同心拉丝顶面 + 接地 AO 径向渐变地面;顶缘辉光环与地面晕圈由自定义 GLSL 着色器渲染,带时间脉动与三瓣旋转扫光。
A micro-tapered metal disc with a concentric brushed-metal top and a radial ground-AO gradient floor; the glowing rim ring and floor halo are rendered by custom GLSL shaders with time-based pulsing and a three-lobe rotating sweep.
PBR 材质检视模式PBR material inspection modes
标准 PBR / 纯白黏土 / 拓扑线框 / 法线检查四模式一键切换(快捷键 1–4);切换时原始材质被缓存,回到 PBR 自动还原。
One click (or keys 1–4) switches between standard PBR, matte white clay, wireframe topology, and normal-map check modes; original materials are cached and restored when you switch back to PBR.
拖拽载入 glb / gltfDrag-and-drop glb / gltf loading
把模型文件直接拖进浏览器窗口:.glb 单文件直读;.gltf 连同引用的 .bin 与贴图一起拖入,通过 blob URL 映射在无服务器环境下完成解析。也可点击顶栏「打开模型文件」。
Drop model files straight into the browser window: a single .glb parses directly; a .gltf can be thrown in together with its referenced .bin and textures, resolved via a blob-URL mapping with no local server. The top-bar “Open model file” button works too.
自动取景与显存管理Auto framing & GPU memory care
载入新模型前自动卸载旧模型并逐项释放几何 / 材质 / 贴图;随后按包围盒归一化缩放、居中落于展台,依视场角计算相机距离并平滑补间过渡,任意模型开箱即完整入画。
Loading a new model first disposes the old one — geometries, materials and textures, item by item; the new model is then normalized by bounding box, centered on the pedestal, and the camera distance is computed from the field of view with a smooth tween, so any model is fully framed out of the box.
视角预设与无级转台View presets & stepless turntable
正视 / 侧视 / 俯视 / 透视复位四组预设,切换带阻尼补间;转台 0–2 rad/s 无级调速自动旋转,空格键随时暂停 / 恢复,双击视口回到默认 3/4 视角。
Four presets — front, side, top and perspective reset — transition with damped easing; the turntable spins steplessly from 0 to 2 rad/s, Space pauses and resumes, and double-clicking the viewport returns to the default 3/4 view.
4K 透明背景导出4K transparent export
一键渲染长边 3840px 的透明背景 PNG,仅含模型本体:导出瞬间隐藏展台与场景背景,离屏渲染后回读像素、垂直翻转、编码下载,最后完整还原取景现场。
One click renders a transparent-background PNG with a 3840px long edge, model only: the pedestal and scene background are hidden for the shot, pixels are read back off-screen, flipped, encoded and downloaded — then the entire scene state is restored.
零外部资源,离线可用Zero external assets, fully offline
金红金属底色、铸造锤纹法线、AO 渐变、拉丝粗糙度——全部贴图由 Canvas 在运行时程序化生成,断网可用,运行时依赖只有 three 一个包。
Gold-red base color, cast-hammered normal map, AO gradient, brushed roughness — every texture is generated procedurally on a Canvas at runtime. Works with no network; the only runtime dependency is three.