
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
python maya change camera asceptRatio - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
python maya change camera asceptRatio - Qiita
import maya.cmds as cmds import math # Get the name of the current camera current_camera = cmds.m... import maya.cmds as cmds import math # Get the name of the current camera current_camera = cmds.modelPanel(cmds.getPanel(withFocus=True), q=True, camera=True) # Set the film aspect ratio of the current camera to 1.78 cmds.setAttr(current_camera + '.cameraAperture', 1.78, type='double2') # Set the camera aperture to correspond to a 1.78 aspect ratio diagonal = math.sqrt((36**2) + (20.25**2)) horizo