> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# TripoSplat 采样预览（TripoSplatSamplingPreview）

<div class="node-meta"><code>TripoSplatSamplingPreview</code><span>model/latent/triposplat</span><span>角色：模型补丁</span></div>

此节点会对TripoSplat模型进行补丁处理，使其与标准KSampler节点一起使用时，在每个采样步骤中显示解码后的高斯溅射（gaussian splat）实时预览。其实现原理是包装采样器的回调函数，在每一步之后将模型输出解码为预览图像。

## 参数

| 参数              | 类型           | 默认 / 范围                | 说明                                                                      |
| --------------- | ------------ | ---------------------- | ----------------------------------------------------------------------- |
| `model`         | MODEL · 扩散模型 | —（连线输入）                | 已应用补丁的TripoSplat模型，新增了实时预览功能                                            |
| `vae`           | VAE · 自编码器   | —（连线输入）                | TripoSplat VAE解码器                                                       |
| `octree_level`  | INT          | 2 \~ 8                 | 预览解码所使用的八叉树深度（值越低 = 计算量越小/越粗糙）。默认值：5                                    |
| `num_gaussians` | INT          | 1024 \~ 262144，步长 32   | 用于预览的高斯数量（四舍五入为32的倍数）。默认值：16384                                         |
| `yaw`           | FLOAT        | -360.0 \~ 360.0，步长 1.0 | 预览相机的偏航角（度）。默认值：90.0                                                    |
| `pitch`         | FLOAT        | -89.0 \~ 89.0，步长 1.0   | 预览相机的俯仰角（度）。默认值：15.0                                                    |
| `point_size`    | INT          | 1 \~ 16                | 最大splat半径（像素）。每个高斯的大小由其缩放值决定，并在此处设置上限；值越低 = 更精细/更尖锐，值越高 = 更粗大/更块状。默认值：3 |

## 输出

| 输出    | 类型    | 说明   |
| ----- | ----- | ---- |
| MODEL | MODEL | 扩散模型 |

## 怎么接

- **上游**：CheckpointLoaderSimple / UNETLoader
- **下游**：KSampler / 下一个补丁节点
- **接线**：串在模型链中间：上游接 CheckpointLoaderSimple / UNETLoader 的 MODEL，输出接 KSampler 的 `model` 或下一个补丁；多个补丁叠加时顺序会改变结果。

## 使用案例

属于「模型补丁」类节点，向下游提供可采样的模型对象。从 `model`、`vae`、`octree_level`（5） 开始填就能跑起来。典型接法：`CheckpointLoaderSimple` → 本节点 → `KSampler`。输出类型是 MODEL，只能接同类型的输入端口，颜色对不上就是接错了。

## 端口与连线示意

![TripoSplatSamplingPreview 端口与连线示意](/svg/TripoSplatSamplingPreview.svg)

## 同类节点

[TripoSplat 解码](/nodes/04/VAEDecodeTripoSplat.md)
