{"id":267,"date":"2013-06-20T23:54:56","date_gmt":"2013-06-20T14:54:56","guid":{"rendered":"http:\/\/humrevlife.com\/?p=267"},"modified":"2013-06-20T23:54:56","modified_gmt":"2013-06-20T14:54:56","slug":"mwp-motionbuilder-with-python%e3%80%80%e3%81%9d%e3%81%ae7%e3%80%80%e3%80%8cfbsystem%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9%e3%80%8d","status":"publish","type":"post","link":"https:\/\/humrevlife.com\/?p=267","title":{"rendered":"MWP (Motionbuilder With Python)\u3000\u305d\u306e7\u3000\u300cFBSystem\u306e\u4f7f\u3044\u65b9\u300d"},"content":{"rendered":"<p>\u4eca\u65e5\u306fMB\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u304f\u306e\u306b\u3053\u308c\u3092\u77e5\u3089\u306a\u3044\u3068\u304b\u3042\u308a\u5f97\u306a\u3044\uff01<\/p>\n<p>\u3063\u3066\u7a0b\u3001\u6839\u5e79\u3092\u6210\u3057\u3066\u3044\u308bFBSystem\u30af\u30e9\u30b9\u306e\u4f7f\u3044\u65b9\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u5927\u5b66\u306e\u3053\u308d\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3082\u3042\u307e\u308a\u7406\u89e3\u3057\u3066\u3044\u306a\u3044\u72b6\u614b\u3067\u72ec\u5b66\u3092\u3057\u3066\u307f\u305f\u6642\u3001<\/p>\n<p>\u3053\u3053\u3067\u3053\u3051\u305f\u899a\u3048\u304c\u3042\u308a\u307e\u3059\uff57\uff57\uff57<\/p>\n<p>\u4f55\u304b\u3068\u304a\u4e16\u8a71\u306b\u306a\u308b\u30af\u30e9\u30b9\u306a\u306e\u3067\u3057\u3063\u304b\u308a\u6291\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 18px;\"><strong>\u25a0FBSystem\u30af\u30e9\u30b9\u3068\u306f\uff1f<\/strong><\/span><\/p>\n<p>\u30e2\u30fc\u30b7\u30e7\u30f3\u30d3\u30eb\u30c0\u30fc\u306e\u30b7\u30b9\u30c6\u30e0\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306e\u30af\u30e9\u30b9\u3067\u3059\u3002<\/p>\n<p>\u4e3b\u306bScene\u5185\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>[python]<\/p>\n<p>FBSystem().Scene.Attribute<\/p>\n<p>[\/python]<\/p>\n<p>\u3053\u3046\u3044\u3046\u8a18\u8ff0\u304c\u307b\u3068\u3093\u3069\u306b\u306a\u308b\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 18px;\"><strong>\u25a0\u30b7\u30fc\u30f3\u5185\u306e\u30ab\u30e1\u30e9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b<\/strong><\/span><\/p>\n<p>[python]<br \/>\nfrom pyfbsdk import FBSystem<\/p>\n<p>lCamera = FBSystem().Scene.Cameras[0]<br \/>\nprint lCamera.Name<br \/>\n[\/python]<\/p>\n<p>FBSystem\u306f\u30af\u30e9\u30b9\u3092\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u3057FBScenePropety\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3067\u73fe\u5728\u958b\u3044\u3066\u3044\u308bScene\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u203b\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u3000\uff65\uff65\uff65\u3000\u30af\u30e9\u30b9\u540d()\u3000\u3068\u66f8\u3051\u3070\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"font-size: 18px;\">\u25a0\u5168\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u53d6\u5f97<\/span><\/strong><\/p>\n<p>[python]<br \/>\nfrom pyfbsdk import FBSystem<br \/>\nlComp = FBSystem().Scene.Components<br \/>\n[\/python]<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 18px;\"><strong>\u25a0FBSystem\u304b\u3089\u3088\u304f\u30a2\u30af\u30bb\u30b9\u3059\u308bObject\u4e00\u89a7<\/strong><\/span><\/p>\n<p>[python]<br \/>\nCameras<br \/>\nMaterials<br \/>\nShaders<br \/>\nTextures<br \/>\nTakes<br \/>\nLights<br \/>\nDevices<br \/>\n[\/python]<\/p>\n<p>Navigate\u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3044\u308d\u3044\u308d\u8a66\u3057\u3066\u307f\u308b\u3068\u7406\u89e3\u304c\u6df1\u307e\u308a\u307e\u3059\u3002<br \/>\n<a href=\"http:\/\/humrevlife.com\/wp-content\/uploads\/2013\/06\/07_Navigator.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-271\" alt=\"07_Navigator\" src=\"http:\/\/humrevlife.com\/wp-content\/uploads\/2013\/06\/07_Navigator-129x300.png\" width=\"129\" height=\"300\" srcset=\"https:\/\/humrevlife.com\/wp-content\/uploads\/2013\/06\/07_Navigator-129x300.png 129w, https:\/\/humrevlife.com\/wp-content\/uploads\/2013\/06\/07_Navigator.png 205w\" sizes=\"auto, (max-width: 129px) 100vw, 129px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\u4eca\u65e5\u306fMB\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u304f\u306e\u306b\u3053\u308c\u3092\u77e5\u3089\u306a\u3044\u3068\u304b\u3042\u308a\u5f97\u306a\u3044\uff01 \u3063\u3066\u7a0b\u3001\u6839\u5e79\u3092\u6210\u3057\u3066\u3044\u308bFBSystem\u30af\u30e9\u30b9\u306e\u4f7f\u3044\u65b9\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u5927\u5b66\u306e\u3053\u308d\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3082\u3042\u307e\u308a\u7406\u89e3\u3057\u3066\u3044\u306a\u3044\u72b6\u614b\u3067\u72ec\u5b66\u3092\u3057\u3066\u307f\u305f\u6642\u3001 \u3053\u3053\u3067\u3053\u3051\u305f\u899a\u3048 &#8230;","protected":false},"author":1,"featured_media":271,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5],"tags":[40,54,25,237,26,28,18],"class_list":["post-267","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-motionbuilder","category-python","tag-fb","tag-fbsystem","tag-mb","tag-motionbuilder","tag-py","tag-pyfbsdk","tag-python-2"],"_links":{"self":[{"href":"https:\/\/humrevlife.com\/index.php?rest_route=\/wp\/v2\/posts\/267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/humrevlife.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/humrevlife.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/humrevlife.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/humrevlife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=267"}],"version-history":[{"count":3,"href":"https:\/\/humrevlife.com\/index.php?rest_route=\/wp\/v2\/posts\/267\/revisions"}],"predecessor-version":[{"id":272,"href":"https:\/\/humrevlife.com\/index.php?rest_route=\/wp\/v2\/posts\/267\/revisions\/272"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/humrevlife.com\/index.php?rest_route=\/wp\/v2\/media\/271"}],"wp:attachment":[{"href":"https:\/\/humrevlife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/humrevlife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/humrevlife.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}