3
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Unityとblenderのカメラを合わせる

Last updated at Posted at 2017-01-14

モデリングした結果を即Unityでプレビューできないので
blender側のカメラをUnityのカメラの設定に合わせて確認するための手順。

カメラの設定はパースペクティブです。

環境

Unity 5.5.0p3
blender 2.77a

手順

カメラの解像度を合わせる

blenderのカメラオブジェクトを選択して以下の画面で解像度を設定する。

image

カメラの位置と回転を合わせる

image

image

UnityのXYZ軸とblenderのXYZ軸は異なる。

Unity blender
x x
y z
z y

Unityの単位はメートル。

X軸の回転する向きがUnityとblenderでは異なった。
(X軸しか調べていません)

Unityの角度をblenderの角度へ変換するには以下の式になる。

blenderの角度 = (360 - Unityの角度 + 90) % 360

視野角とクリッピング領域を合わせる

クリッピング領域はお好みで。

image

image

blender側のテンキーの0を押すとプレビューできる。
これでUnityとblenderの見え方が同じになる。

あとがき

Unityが公式のモデリングツールだしてくれないだろうか。
Unityのシェーダーでプレビューしたいなー。

3
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?