錐台 という言葉はピラメッドのような形の上部を、底面と平行な面で切り取った形状を示します。これはパースペクティブカメラにより表示できてレンダリングされる領域です。次の仮想の実験によりどうしてそうなるかを説明します。
真っ直ぐな棒(ホウキの取っ手か鉛筆)をカメラに端をつけて、持ったまま写真を撮る状況を想像してください。もし棒をカメラレンズに垂直に真ん中に当てていれば写真には点しか見ることができません。棒の残りは隠れてしまいます。もし上部に移動した場合、下半分は見えるようになりますが、棒を上に傾けることで再び隠すことができます。続けて棒を上に移動してさらに上に向けると丸い端はいずれ端の上端に到達します。この時点で、棒の軌跡より上のオブジェクトは写真に表示されません。
棒を同様に移動して左、右、下、または水平、垂直に組み合わせて回転させることができます。“隠れた” 棒の角度は単にそれぞれの軸での、写真の中心からの距離に依存します。
この仮想実験の意味することは、カメラのイメージのあらゆる点はワールド座標系での直線に相当して、直線上では 1 点のみがイメージ上に表示できます。直線上の、その点より後ろにあるものは隠されます。
イメージの外端はイメージの隅に相当する境界線により定義されます。もし直線をカメラに向かって後ろ向きに辿った場合、最終的にひとつの点につながります。Unity では、この点はカメラの transform 位置と一致し、パースペクティブの中心と呼びます。画面の上端の中心と、パースペクティブの中心と、下端の中心とを、結んでできる角度は field of view (略して FOV) と呼ばれます。
前述のように、境界線の外にあるものはカメラにより表示されませんが、その他にも何をレンダリングするかについて二つの制約があります。ニアクリッピングプレーンとファークリッピングプレーンはカメラの XY 平面と平行で、中心から直線上である距離でセットされます。ニアクリッピングプレーンよりカメラに近いもの、ファークリッピングプレーンより遠いものは、レンダリングされません。
二つのクリッピングプレーンと境界線により切り取られたピラメッドの形状ができて、これを視錐台と呼びます。
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.