{"id":1721,"date":"2009-06-01T23:26:03","date_gmt":"2009-06-01T14:26:03","guid":{"rendered":"http:\/\/clockmaker.jp\/blog\/?p=1721"},"modified":"2009-06-01T23:26:03","modified_gmt":"2009-06-01T14:26:03","slug":"shader","status":"publish","type":"post","link":"https:\/\/clockmaker.jp\/blog\/2009\/06\/shader\/","title":{"rendered":"Papervision3D\u3067\u30d3\u30c3\u30c8\u30de\u30c3\u30d7\u306e\u30c6\u30af\u30c1\u30e3\u306b\u30e9\u30a4\u30c8\u3092\u9069\u7528\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p class=\"photo\"><a rel=\"shadowbox;width=720;height=480;\" href=\"http:\/\/clockmaker.jp\/labs\/090601_shader\/bin\/main_flat.swf\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-1722\" title=\"Papervision3D \u30b7\u30a7\u30a4\u30c7\u30a3\u30f3\u30b0\u30de\u30c6\u30ea\u30a2\u30eb\" src=\"https:\/\/clockmaker.jp\/blog\/wp-content\/uploads\/2009\/06\/090601_shader.jpg\" alt=\"Papervision3D \u30b7\u30a7\u30a4\u30c7\u30a3\u30f3\u30b0\u30de\u30c6\u30ea\u30a2\u30eb\" width=\"460\" height=\"200\" \/><\/a><\/p>\n<p>Papervision3D\u3067\u3088\u304f\u5c0b\u306d\u3089\u308c\u308b\u3053\u3068\u306b\u3001\u30d3\u30c3\u30c8\u30de\u30c3\u30d7\u306e\u30c6\u30af\u30b9\u30c1\u30e3\u3092\u8cbc\u308a\u4ed8\u3051\u305f\u72b6\u614b\u3067\u3001\u30e9\u30a4\u30c8\u306b\u3088\u308b\u9670\u5f71\u3092\u3064\u3051\u3089\u308c\u308b\u304b\u3068\u3044\u3046\u8cea\u554f\u304c\u3042\u308a\u307e\u3059\u3002\u30b7\u30a7\u30a4\u30c0\u30fc\u3068\u3044\u3046\u6a5f\u80fd\u3092\u4f7f\u3048\u3070\u3001\u305d\u308c\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li><a rel=\"shadowbox;width=720;height=480;\" href=\"http:\/\/clockmaker.jp\/labs\/090601_shader\/bin\/main_flat.swf\">FlatShader demo (require FlashPlayer 10)<\/a><\/li>\n<li><a rel=\"shadowbox;width=720;height=480;\" href=\"http:\/\/clockmaker.jp\/labs\/090601_shader\/bin\/main_phong.swf\">PhongShader demo (require FlashPlayer 10)<\/a><\/li>\n<li><a href=\"http:\/\/clockmaker.jp\/labs\/090601_shader\/src.zip\">src (Flash CS4 Project)<\/a><\/li>\n<\/ul>\n<p><!--more--><\/p>\n<h3>\u5b9f\u88c5\u65b9\u6cd5<\/h3>\n<p>\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u4f5c\u6210\u624b\u9806\u304c\u3061\u3087\u3063\u3068\u5897\u3048\u308b\u3060\u3051\u3067\u3001\u5b9f\u88c5\u81ea\u4f53\u306f\u7c21\u5358\u3067\u3059\u3002<\/p>\n<ul>\n<li>1.\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u4f5c\u6210<\/li>\n<li>2.\u30b7\u30a7\u30a4\u30c0\u30fc\u3092\u4f5c\u6210\u3002\u30b7\u30a7\u30a4\u30c0\u30fc\u304c\u30d3\u30c3\u30c8\u30de\u30c3\u30d7\u306e\u30c6\u30af\u30b9\u30c1\u30e3\u3068\u30e9\u30a4\u30c8\u306b\u3088\u308b\u30b7\u30a7\u30a4\u30c7\u30a3\u30f3\u30b0\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u5408\u6210\u3059\u308b\u30af\u30e9\u30b9<\/li>\n<li>3.\u30b7\u30a7\u30a4\u30c0\u30fc\u3092\u4f7f\u3063\u3066\u30b7\u30a7\u30a4\u30c7\u30a3\u30c3\u30c9\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u4f5c\u6210<\/li>\n<li>4.\u30b7\u30a7\u30a4\u30c7\u30a3\u30c3\u30c9\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u9069\u7528<\/li>\n<\/ul>\n<p>\u3068\u3044\u3063\u305f\u3068\u3053\u308d\u3002\u5177\u4f53\u7684\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u4ee5\u4e0b\u3002<\/p>\n<pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n\/\/ \u30d3\u30c3\u30c8\u30de\u30c3\u30d7\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u4f5c\u6210\nvar material = new BitmapMaterial(\u30d3\u30c3\u30c8\u30de\u30c3\u30d7\u30c7\u30fc\u30bf)\n\/\/ \u30b7\u30a7\u30a4\u30c0\u30fc\u3092\u4f5c\u6210\nvar shader = new FlatShader(\u30e9\u30a4\u30c8, 0xFFFFFF, 0x000000)\n\/\/ \u30b7\u30a7\u30a4\u30c0\u30fc\u3092\u9069\u7528\u3057\u305f\u30de\u30c6\u30ea\u30a2\u30eb\u3092\u4f5c\u6210\nvar shadedMaterial = new ShadedMaterial(material, shader)\n\/\/ \u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u9069\u7528\nscene.addChild(new Sphere(shadedMaterial, 400, 16, 16))\n<\/pre>\n<h3>\u8003\u5bdf<\/h3>\n<p>\u30d5\u30a9\u30f3\u30de\u30c6\u30ea\u30a2\u30eb\u306e\u30c7\u30e2\u3082\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u3042\u307e\u308a\u30ea\u30a2\u30ea\u30c6\u30a3\u30fc\u306a\u306e\u3082\u4e0d\u6c17\u5473\u306a\u4e0a\u306bCPU\u51e6\u7406\u3092\u98df\u3046\u306e\u3067\u3001\u30d5\u30e9\u30c3\u30c8\u30b7\u30a7\u30fc\u30c7\u30a3\u30f3\u30b0\u3042\u305f\u308a\u304c\u7121\u96e3\u304b\u3082\u3057\u308c\u306a\u3044\u3067\u3059\u306d\u3002\u8a66\u3057\u3066\u306a\u3044\u3067\u3059\u304c\u3001\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3060\u3051\u3067\u306a\u304f\u3001Collada\u306b\u3082\u9069\u7528\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>(\u5f53\u65b9\u3001\u5b9f\u306fCollada\u30d5\u30a1\u30a4\u30eb\u3092\u6301\u3063\u3066\u307e\u305b\u3093\u306e\u3067\u3001\u8a66\u305b\u306a\u3044\u306e\u3067\u3059\u3002\u3002)<\/p>\n<p>[\u8ffd\u8a18] twitter\u3067\u30b3\u30e1\u30f3\u30c8\u9802\u3044\u305f\u306e\u3067\u3059\u304c\u3001Collada\u306f\u7121\u7406\u3063\u307d\u3044\u304b\u3082\u3002<br \/>\n[\u8ffd\u8a182] note.x\u3055\u3093\u304b\u3089twitter\u306b\u3066\u4e0d\u53ef\u80fd\u3067\u306f\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u30b3\u30e1\u30f3\u30c8\u3068\u30b5\u30f3\u30d7\u30eb\u3092\u9802\u304d\u307e\u3057\u305f\u3002\u3061\u306a\u307f\u306b\u5f53\u30d6\u30ed\u30b0\u3067\u3082\u6539\u3081\u3066\u8a66\u3057\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Papervision3D\u3067\u3088\u304f\u5c0b\u306d\u3089\u308c\u308b\u3053\u3068\u306b\u3001\u30d3\u30c3\u30c8\u30de\u30c3\u30d7\u306e\u30c6\u30af\u30b9\u30c1\u30e3\u3092\u8cbc\u308a\u4ed8\u3051\u305f\u72b6\u614b\u3067\u3001\u30e9\u30a4\u30c8\u306b\u3088\u308b\u9670\u5f71\u3092\u3064\u3051\u3089\u308c\u308b\u304b\u3068\u3044\u3046\u8cea\u554f\u304c\u3042\u308a\u307e\u3059\u3002\u30b7\u30a7\u30a4\u30c0\u30fc\u3068\u3044\u3046\u6a5f\u80fd\u3092\u4f7f\u3048\u3070\u3001\u305d\u308c\u304c\u3067\u304d\u307e\u3059\u3002 FlatShader de [&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\/1721"}],"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=1721"}],"version-history":[{"count":0,"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/posts\/1721\/revisions"}],"wp:attachment":[{"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/media?parent=1721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/categories?post=1721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/tags?post=1721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}