Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
射影行列にモデルビュー行列を掛けた結果である列メジャー(opengl)行列がある場合。その行列の中心点を計算するにはどうすればよいですか?私が尋ねる理由は、結果のマトリックスにしかアクセスできず、ビューの中心の位置を見つける必要があるためです。
ありがとうございました。
(x,y,z,1)*MVP == (0,0,0,w) -- クリップ スペースの中心に変換されるポイント。
これは単に MVP^(-1) の最後の列である必要があります。