> For the complete documentation index, see [llms.txt](https://portalgraphvr.gitbook.io/portalgraphdokyumento/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://portalgraphvr.gitbook.io/portalgraphdokyumento/quick-start/3d-projector-to-vr.md).

# 3DプロジェクターをVR空間にしてみよう

このページではPortalgraphでPCに接続された3Dプロジェクター等を使う際の設定方法を解説します。プロジェクターなど大きな画面を使う場合は、VIVEトラッカーを使用します。

Portalgraphは画面の大きさ、座標とユーザーの視点を元に映像を生成します。そのため、システムに画面サイズと座標を把握させるキャリブレーションが必要になるので、その方法を解説します。

#### 必要なもの

Windows 10以降のPC（GPU搭載、または過去5年以内のIntel Coreシリーズ程度のCPU）\
SteamVRのインストール\
Portalgraphランタイムのインストール\
<https://portalgraph.booth.pm/items/6256749>\
VIVEトラッカー\
3Dプロジェクターまたは3Dテレビと対応3Dメガネ

### 設定方法

Portalgraphランタイムがインストールされてない場合は、事前にインストールします。\
<https://portalgraph.booth.pm/items/6256749>

次に、Portalgraph使用アプリをダウンロードし、解凍し、実行します。\
<https://booth.pm/ja/items/6253714>

#### 初回設定

スタートメニューの検索窓に「Tracker Portalgraph」と入力し、VIVEトラッカー用トラッキングアプリを起動します。初回起動時に以下のように設定の修正を促すメッセージが表示されます。VIVEトラッカーは標準でVRヘッドセットとセットで使うように設定されているため、VRヘッドセット無しで使用するための設定の変更が必要になります。「修正する」をクリックした後、画面のメッセージに従って、SteamVRを終了してください。

<figure><img src="/files/ffI8tPpt6PilZVVCq5HL" alt=""><figcaption></figcaption></figure>

#### 画面設定

Portalgraphアプリケーションを起動し、実行中にF12キーを押すと設定画面が開きます。

<figure><img src="/files/iK4xOkIPwIUExHnd3bK6" alt=""><figcaption></figcaption></figure>

右側のビュー数にPortalgraph画面を表示する画面数を入力し、スクリーンに表示したい画面番号を入力します（１はメインディスプレイ、2以降がサブディスプレイ。実行環境に依存します）。

<figure><img src="/files/yk6B4uH4LYAnhbQhMcIh" alt=""><figcaption></figcaption></figure>

**「適用」をクリックすることで値は反映されます。クリックしないと反映されません。使用するスクリーンが変わった場合、アプリケーションの再起動が必要になります。再起動後、再びF12を押してこの画面を開いてください。**

トラッカー位置は、VIVEトラッカーを取り付ける場所を指定します。通常はForehead（額）をおすすめします。トラッカーは赤の矢印がある方向にUSB端子が向くように取り付けてください。

<figure><img src="/files/DYIRBGznVNMdATnTBPTQ" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/JzH98Z5qC7fMqNf6GOpM" alt=""><figcaption></figcaption></figure>

トラッカーアプリ自動起動にチェックが付いているとアプリ起動時に自動でトラッカーアプリが起動します。OpenVRを選択すると、自動でVIVEトラッカー用トラッキングアプリが起動するようになります。

<figure><img src="/files/FU5CsoqT7hILgfx8tA4f" alt=""><figcaption></figcaption></figure>

「次へ」をクリックしてキャリブレーション画面を開きます。

<figure><img src="/files/iWJVOKvlBeclwjuff6qM" alt=""><figcaption></figcaption></figure>

\
3Dドロップダウンから、使用する3Dプロジェクター、3Dテレビ等に合った3D方式を選択してください。

<figure><img src="/files/iYO0QD1krKb1yRgrmOdb" alt=""><figcaption></figcaption></figure>

* Side-By-Side・・・左右分割3D
* Top-And-Bottom・・・上下分割3D
* Anaglyph・・・赤青3Dメガネ。右のドロップダウンから色の分割方式が選択できます。
* 2D・・3Dを使用しない
* 2 outputs・・・2系統の映像出力に左右の目の映像を分割して出力します。設定中の画面に左目映像、サブ画面ドロップダウンで選んだ画面に右目映像を出力します。

設定後、VIVEトラッカーを使用して画面のキャリブレーションを行います。「トラッカー」をクリックするとトラッカー設定画面が開きます。画面サイズをメートル単位で入力し、キャリブレーションをクリックして、画面中央にトラッカーを合わせてカウントダウンを待つとキャリブレーションされます。

<figure><img src="/files/npuGujcd5GhWTUVhBlBO" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/7WBZnAB437qBTrMAL2h0" alt=""><figcaption></figcaption></figure>

設定画面を閉じて、VIVEトラッカーと3Dメガネを装着して画面を見ると画面の中にVR空間が広がるのが感じられます。

<figure><img src="/files/2PTQKc5mW3hRO0q9H87G" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://portalgraphvr.gitbook.io/portalgraphdokyumento/quick-start/3d-projector-to-vr.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
