> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-comfy-docs-comfyapi-search.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Trellis2TextureStage - ComfyUI Built-in Node Documentation

> このノードは、Trellis2 生成のテクスチャ段階サンプリングパスを設定します。

このノードは、Trellis2 生成のテクスチャ段階サンプリングパスを設定します。入力された shape latent から座標レイアウトとボクセル単位の shape latent を読み取り、同じ座標レイアウトで 32 チャンネルの空の sparse latent を構築し、必要なテクスチャ段階メタデータを conditioning に付加します。

## 入力

| パラメータ          | 説明                                                                                                                                                                                         | データ型         | 必須 | 範囲 |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------ | -- | -- |
| `positive`     | テクスチャ生成パスで使用される positive conditioning です。テクスチャ段階のメタデータがこれに付加されます。                                                                                                                          | CONDITIONING | はい | -  |
| `negative`     | テクスチャ生成パスで使用される negative conditioning です。テクスチャ段階のメタデータがこれに付加されます。                                                                                                                          | CONDITIONING | はい | -  |
| `shape_latent` | Trellis2ShapeStage または Trellis2UpsampleStage によって生成される latent 辞書です。`coords`（座標レイアウト、shape \[N, 4]）と `samples`（ボクセル単位の shape latent）を含んでいる必要があります。`coord_resolution` と `model_frame` は任意です。 | LATENT       | はい | -  |

注記:

* `shape_latent` は Trellis2ShapeStage または Trellis2UpsampleStage の出力である必要があります。これはテクスチャパスで使用される座標レイアウトとボクセル単位の shape latent を提供します。
* 座標レイアウトは検証されます。`coords` の最初の列にある batch id は非負かつ連続である必要があり、総行数は座標数と一致しなければなりません。
* shape latent は、4D sparse tensor（その座標とともにフラット化されます）として、またはすでにフラット化された形式で受け付けられます。
* `positive` が projection feature pack（Pixal3D conditioning）を保持しており、`shape_latent` に `coord_resolution` が含まれる場合、1024 テクスチャ解像度の projection features が計算され、conditioning に付加されます。
* model frame は `shape_latent` から読み取られます。存在しない場合、projection features が存在すれば `"y_up"`、そうでなければ `"z_up"` がデフォルトになります。

## 出力

| 出力名        | 説明                                                                                                                                                                                  | データ型         |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
| `positive` | テクスチャ段階のメタデータが付加された positive conditioning です（生成モード、座標、座標数、shape latent、model frame、および該当する場合は projection features）。                                                                 | CONDITIONING |
| `negative` | 同じテクスチャ段階のメタデータが付加された negative conditioning です。                                                                                                                                     | CONDITIONING |
| `latent`   | 入力された shape latent と同じ座標レイアウトで、32 チャンネルの新しい空の sparse latent です。その辞書には `samples`、`type`（"trellis2"）、`coords`、`coord_counts`、`model_frame` が含まれます。利用可能な場合は `coord_resolution` も含まれます。 | LATENT       |

> このドキュメントは AI によって生成されました。エラーを見つけた場合や改善のご提案がある場合は、ぜひ貢献してください！ [GitHub で編集](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/Trellis2TextureStage/ja.md)

***

**Source fingerprint (SHA-256):** `ae612021af7c74cd09206d905e7b800fa48367a22daf9b0335b444c854a78b1e`
