{"id":1382,"date":"2009-04-28T11:22:43","date_gmt":"2009-04-28T02:22:43","guid":{"rendered":"http:\/\/clockmaker.jp\/blog\/?p=1382"},"modified":"2009-04-28T11:22:43","modified_gmt":"2009-04-28T02:22:43","slug":"pv3d-ribon","status":"publish","type":"post","link":"https:\/\/clockmaker.jp\/blog\/2009\/04\/pv3d-ribon\/","title":{"rendered":"[PV3D] \u30ea\u30dc\u30f3\u306e\u5b9f\u88c5\u65b9\u6cd5"},"content":{"rendered":"<p class=\"photo\"><a href=\"http:\/\/wonderfl.kayac.com\/code\/2e6c32bd39d6ad9cc8695965262528e0c259615a\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1385\" title=\"090428_112903\" src=\"https:\/\/clockmaker.jp\/blog\/wp-content\/uploads\/2009\/04\/090428_112903.png\" alt=\"090428_112903\" width=\"460\" height=\"200\" \/><\/a><\/p>\n<p>3D\u306e\u30ea\u30dc\u30f3\u3092\u4f5c\u308b\u3068\u304d\u306b\u30a2\u30d7\u30ed\u30fc\u30c1\u306e\u4ed5\u65b9\u304c\u52c9\u5f37\u306b\u306a\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002<\/p>\n<ul>\n<li><a title=\"note.x | [PV3D2.0] attitudeControl\" href=\"http:\/\/blog.r3c7.net\/?p=343\" target=\"_blank\">note.x | [PV3D2.0] attitudeControl<\/a><\/li>\n<li><a title=\"\u3010papervision\u3011\u65b9\u5411\u30d9\u30af\u30c8\u30eb\u304b\u3089Matrix\u56de\u8ee2\u3078\u306e\u5909\u63db \u00ab NOTE.haramakoto\" href=\"http:\/\/haramakoto.com\/wordpress\/?p=394\" target=\"_blank\">\u3010papervision\u3011\u65b9\u5411\u30d9\u30af\u30c8\u30eb\u304b\u3089Matrix\u56de\u8ee2\u3078\u306e\u5909\u63db \u00ab NOTE.haramakoto<\/a><\/li>\n<\/ul>\n<p>\u884c\u5217\u3084\u30af\u30aa\u30fc\u30bf\u30cb\u30a2\u30f3\u3092\u7406\u89e3\u3057\u305f\u65b9\u304c\u30b9\u30de\u30fc\u30c8\u3060\u3068\u601d\u3046\u306e\u3067\u3059\u304c\u3001\u6614\u4f5c\u3063\u305f\u30c7\u30e2\u304c\u6bd4\u8f03\u7684\u7c21\u5358\u306a\u65b9\u6cd5\u3067\u5b9f\u88c5\u3067\u304d\u3066\u3044\u305f\u306e\u3067\u7d39\u4ecb\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<h3>lookAt (\u5bfe\u8c61\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u5411\u304f\u3088\u3046\u306b\u56de\u8ee2\u3059\u308b\u3068\u3044\u3046\u30e1\u30bd\u30c3\u30c9)\u3067\u5b9f\u73fe<\/h3>\n<ul>\n<li><a title=\"| wonderfl build flash online\" href=\"http:\/\/wonderfl.kayac.com\/code\/2e6c32bd39d6ad9cc8695965262528e0c259615a\" target=\"_blank\">[PV3D] Ribon Road<\/a> (6\u79d2\u304f\u3089\u3044\u5f85\u3064\u3068\u8d70\u308a\u59cb\u3081\u307e\u3059)<\/li>\n<\/ul>\n<p>\u305d\u3082\u305d\u3082\u30ea\u30dc\u30f3\u306e\u5b9f\u88c5\u65b9\u6cd5\u3068\u3057\u3066\u306f<\/p>\n<ul>\n<li>\u30ea\u30dc\u30f3\u306f\u7121\u6570\u306e\u5e73\u9762( Plane )\u3092\u9396\u306e\u3088\u3046\u306b\u3064\u306a\u3052\u3066\u3067\u304d\u3066\u3044\u308b<\/li>\n<li>\u30ea\u30dc\u30f3\u3092\u914d\u7f6e\u3059\u308b\u30d9\u30b8\u30a7\u66f2\u7dda\u306f Tweener \u306e _bezier \u3092\u4f7f\u3063\u3066\u3044\u308b<\/li>\n<\/ul>\n<p>\u3067\u3001\u9023\u7d9a\u3059\u308b Plane \u3092\u3069\u3046\u3084\u3063\u3066\u5411\u304d\u3092\u305d\u308d\u3048\u3066\u3044\u308b\u304b\u3068\u3044\u3046\u3068<\/p>\n<ul>\n<li>\u30c0\u30df\u30fc\u306eDisplayObject\u3092\u7528\u610f\u3057\u3066\u3001\u73fe\u5728\u306e Plane \u306e\u5ea7\u6a19\u3068\u6b21\u306e Plane \u306e\u5ea7\u6a19\u3092\u30b3\u30d4\u30fc\u3059\u308b<\/li>\n<li>\u30c0\u30df\u30fc\u306e DisplayObject \u306e lookAt \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u3001\u5411\u304d\u3092\u305d\u308d\u3048\u308b<\/li>\n<li>\u5143\u306e Plane \u306b transform \u3092\u30b3\u30d4\u30fc\u3059\u308b<\/li>\n<li>lookAt \u306f\u6307\u5b9a\u306e\u65b9\u5411\u3092\u5411\u304f\u30e1\u30bd\u30c3\u30c9\u306a\u306e\u3067\u3001\u8abf\u6574\u306e\u305f\u3081 pitch(90) \u3067\u56de\u8ee2\u3055\u305b\u308b<\/li>\n<\/ul>\n<p>\u7c21\u7565\u5316\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u7d39\u4ecb\u3059\u308b\u3068\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n\/\/ \u30c0\u30df\u30fc\u3067\u306b\u5ea7\u6a19\u3092\u30b3\u30d4\u30fc\u3057\u3066\u304a\u304f\nvar d1:DisplayObject3D = new DisplayObject3D()\nd1.x = \u73fe\u5728\u306e\u5ea7\u6a19.x\nd1.y = \u73fe\u5728\u306e\u5ea7\u6a19.y\nd1.z = \u73fe\u5728\u306e\u5ea7\u6a19.z\nvar d2:DisplayObject3D = new DisplayObject3D()\nd2.x = \u6b21\u306e\u5ea7\u6a19.x\nd2.y = \u6b21\u306e\u5ea7\u6a19.y\nd2.z = \u6b21\u306e\u5ea7\u6a19.z\n\n\/\/ \u65b9\u5411\u3092\u5411\u304b\u305b\u308b\nd1.lookAt(d2);\n\n\/\/ \u5143\u306e\u5e73\u9762\u306b\u5411\u304d\u3084\u4f4d\u7f6e\u3092\u30b3\u30d4\u30fc\u3059\u308b\n\u73fe\u5728\u306e\u5e73\u9762.copyTransform(d1.transform)\n\n\/\/ 90\u5ea6\u56de\u8ee2\u3055\u305b\u308b\n\u73fe\u5728\u306e\u5e73\u9762.pitch(90)\n<\/pre>\n<p>\u3053\u308c\u3060\u3068\u30c0\u30df\u30fc\u306e DisplayObject3D \u3092ENTER_FRAME \u3067\u91cf\u7523\u3059\u308b\u3053\u3068\u306b\u306a\u308b\u306e\u3067\u8ca0\u8377\u3082\u3088\u308d\u3057\u304f\u306a\u3044\u3068\u601d\u3063\u3066\u3044\u305f\u308a\u3059\u308b\u306e\u3067\u3001\u3084\u306f\u308a\u884c\u5217\u306a\u3069\u306e\u65b9\u6cd5\u3067\u5b9f\u88c5\u3059\u308b\u307b\u3046\u304c\u30b9\u30de\u30fc\u30c8\u304b\u3068\u3002\u884c\u5217\u306f\u4f7f\u3044\u3053\u306a\u305b\u308b\u3088\u3046\u306b\u306a\u308a\u305f\u3044\u3067\u3059\u306d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>3D\u306e\u30ea\u30dc\u30f3\u3092\u4f5c\u308b\u3068\u304d\u306b\u30a2\u30d7\u30ed\u30fc\u30c1\u306e\u4ed5\u65b9\u304c\u52c9\u5f37\u306b\u306a\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 note.x | [PV3D2.0] attitudeControl \u3010papervision\u3011\u65b9\u5411\u30d9\u30af\u30c8\u30eb\u304b\u3089Matrix\u56de\u8ee2\u3078\u306e\u5909\u63db \u00ab NOTE.h [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/posts\/1382"}],"collection":[{"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/comments?post=1382"}],"version-history":[{"count":0,"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/posts\/1382\/revisions"}],"wp:attachment":[{"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/media?parent=1382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/categories?post=1382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/tags?post=1382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}