{"id":4994,"date":"2014-01-06T18:31:47","date_gmt":"2014-01-06T09:31:47","guid":{"rendered":"http:\/\/clockmaker.jp\/blog\/?p=4994"},"modified":"2014-01-26T13:14:55","modified_gmt":"2014-01-26T04:14:55","slug":"webgl-away3d-particle","status":"publish","type":"post","link":"https:\/\/clockmaker.jp\/blog\/2014\/01\/webgl-away3d-particle\/","title":{"rendered":"HTML5\u3068JS\u30673D\u8868\u73fe\u306b\u6311\u6226\uff01 WebGL\u5bfe\u5fdc\u306e\u672c\u683c\u6d3e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30afAway3D\u3092\u4f7f\u3063\u305f\u30d1\u30fc\u30c6\u30a3\u30af\u30eb\u30c7\u30e2"},"content":{"rendered":"<p style=\"text-align: center;\"><a href=\"http:\/\/clockmaker.jp\/labs\/140102_away3d_ts_particle_flare\/\" target=\"_blank\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-5003 photo aligncenter\" alt=\"\" src=\"https:\/\/clockmaker.jp\/blog\/wp-content\/uploads\/2014\/01\/140106_awat3d_particle.jpg\" width=\"460\" height=\"200\" \/><\/a><\/p>\n<p style=\"text-align: left;\"><a href=\"https:\/\/clockmaker.jp\/blog\/2014\/01\/html5-webgl-away3d-typescript-samples\/\">\u5148\u65e5\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305f<\/a>WebGL\u306b\u5bfe\u5fdc\u3057\u305f3D\u30e9\u30a4\u30d6\u30e9\u30ea\u300c<a href=\"http:\/\/typescript.away3d.com\/\" target=\"_blank\">Away3D TypeScript<\/a>\u300d\u3067\u3059\u304c\u3001HTML\u3068JavaScript\u30673D\u306e\u30d1\u30fc\u30c6\u30a3\u30af\u30eb\u8868\u73fe\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3053\u308c\u3089\u306e\u30c7\u30e2\u306eJavaScript\u306f<a href=\"http:\/\/www.typescriptlang.org\/\" target=\"_blank\">TypeScript<\/a>\u3067\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n<p style=\"text-align: left;\">\u30c7\u30e2\u306f\u4ee5\u4e0b\u304b\u3089\u8a66\u305b\u307e\u3059\u306e\u3067\u3001\u305c\u3072WebGL\u5bfe\u5fdc\u306e\u30d6\u30e9\u30a6\u30b6(Chrome, Firefox, IE11)\u3092\u4f7f\u3063\u3066\u3054\u89a7\u4e0b\u3055\u3044\u3002<\/p>\n<p style=\"text-align: left;\">\u3061\u306a\u307f\u306b\u3053\u308c\u3089\u306e\u30c7\u30e2\u306f\u3082\u3068\u3082\u3068Flash\u3067\u4f5c\u3063\u3066\u3044\u305f\u3082\u306e\u3092\u79fb\u690d\u3057\u305f\u3082\u306e\u3068\u306a\u308a\u307e\u3059\u3002\u6b63\u76f4\u3001<span style=\"color: #ff0000;\"><strong>Flash\u3067\u5b9f\u73fe\u3067\u304d\u3066\u3082HTML\u3067\u3053\u3046\u3044\u3063\u305f\u8868\u73fe\u306f\u96e3\u3057\u3044<\/strong><\/span>\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001Away3D TypeScript\u304c\u9ad8\u6a5f\u80fd\u306a\u304a\u304b\u3052\u3067\u5b9f\u88c5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p style=\"text-align: left;\"><!--more--><\/p>\n<h3>Away3D \u30c7\u30e21<\/h3>\n<p style=\"text-align: center;\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4996 photo\" alt=\"\" src=\"https:\/\/clockmaker.jp\/blog\/wp-content\/uploads\/2014\/01\/140105_away3d_particles_1.png\" width=\"460\" height=\"200\" \/><\/p>\n<ul>\n<li><a href=\"http:\/\/clockmaker.jp\/labs\/140102_away3d_ts_particle_flare\/\" target=\"_blank\">Demo<\/a> (WebGL\u5bfe\u5fdc\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u3054\u89a7\u304f\u3060\u3055\u3044)<\/li>\n<li><a href=\"http:\/\/clockmaker.jp\/labs\/140102_away3d_ts_particle_flare\/main.ts\" target=\"_blank\">Source<\/a> (TypeScript 0.9.5\u3067\u4f5c\u6210)<\/li>\n<li><a href=\"https:\/\/clockmaker.jp\/blog\/2013\/09\/away3d_lens_flare\/\">\u79fb\u690d\u5143\u306eFlash\u7248\u306e\u30c7\u30e2<\/a><\/li>\n<\/ul>\n<p>\u203b\u30de\u30a6\u30b9\u3067\u753b\u9762\u3092\u30c9\u30e9\u30c3\u30b0\u30fb\u30a2\u30f3\u30c9\u30fb\u30c9\u30ed\u30c3\u30d7\u3059\u308b\u3068\u30a2\u30f3\u30b0\u30eb\u3092\u52d5\u304b\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>Away3D<span style=\"font-size: 1.17em; font-weight: normal;\">\u30c7\u30e22<\/span><\/h3>\n<p style=\"text-align: center;\"><a href=\"http:\/\/clockmaker.jp\/labs\/140102_away3d_ts_particle\/\" target=\"_blank\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4997 photo\" alt=\"\" src=\"https:\/\/clockmaker.jp\/blog\/wp-content\/uploads\/2014\/01\/140105_away3d_particles_2.png\" width=\"460\" height=\"200\" \/><\/a><\/p>\n<ul>\n<li><a href=\"http:\/\/clockmaker.jp\/labs\/140102_away3d_ts_particle\/\" target=\"_blank\">Demo<\/a> (WebGL\u5bfe\u5fdc\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u3054\u89a7\u304f\u3060\u3055\u3044)<\/li>\n<li><a href=\"http:\/\/clockmaker.jp\/labs\/140102_away3d_ts_particle\/main.ts\" target=\"_blank\">Source<\/a> (TypeScript 0.9.5\u3067\u4f5c\u6210)<\/li>\n<li><a href=\"https:\/\/clockmaker.jp\/blog\/2013\/01\/away3d_particles\/\">\u79fb\u690d\u5143\u306eFlash\u7248\u306e\u30c7\u30e2<\/a><\/li>\n<\/ul>\n<p>\u4ee5\u4e0b\u3001\u6280\u8853\u7684\u306a\u30dd\u30a4\u30f3\u30c8\u3084\u8a66\u3057\u3066\u307f\u305f\u4f7f\u7528\u611f\u3092\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><!--more--><\/p>\n<h3>Flash\u304b\u3089\u306e\u79fb\u690d\u304c\u3068\u3066\u3082\u7c21\u5358<\/h3>\n<p>\u30c7\u30e2\u306fFlash\u306eActionScript 3.0\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30da\u3057\u3001<span style=\"color: #ff0000;\">TypeScript\u306e\u6587\u6cd5\u3084HTML\u306eAPI\u306b\u5408\u308f\u305b\u3066\u4fee\u6b63\u3059\u308b\u3053\u3068\u3067\u79fb\u690d<\/span>\u3057\u307e\u3057\u305f\u3002TypeScript\u306fActionScript\u3068\u6587\u6cd5\u7684\u306b\u4f3c\u3066\u3044\u308b\u3068\u3053\u308d\u304c\u591a\u3044\u306e\u3067\u3001\u4e00\u3064\u306e\u30c7\u30e2\u30671\u301c2\u6642\u9593\u307b\u3069\u3067\u79fb\u690d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<h3>Flash\u7248\u3068WebGL\u7248\u306eAway3D\u306f\u307b\u3068\u3093\u3069\u540c\u3058API<\/h3>\n<p><span style=\"color: #ff0000;\">\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u6a5f\u80fd\u306fFlash\u7248\u3068WebGL\u7248\u3067\u307b\u307c\u540c\u3058<\/span>\u3067\u3059\uff08\u30af\u30e9\u30b9\u540d\u3084\u5f15\u6570\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u6709\u7121\u306b\u95a2\u3057\u3066\u306f\u307b\u3068\u3093\u3069\u540c\u3058\u3002\u540d\u524d\u7a7a\u9593\u304c\u4e00\u90e8\u3067\u7570\u306a\u308b\uff09\u3002WebGL\u7248\u306eAway3D\u306fFlash\u7248\u306e\u3068\u6bd4\u3079\u308b\u3068\u6a5f\u80fd\u304c\u5c11\u306a\u3044\u306e\u3067\u3059\u304c\u30017-8\u5272\u307b\u3069\u306e\u6a5f\u80fd\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306b\u601d\u3044\u307e\u3057\u305f\u3002\u958b\u767a\u30b9\u30d4\u30fc\u30c9\u304c\u65e9\u3044\u306e\u3067\u3001\u8fd1\u3044\u5c06\u6765\u540c\u7b49\u306e\u6a5f\u80fd\u304c\u7528\u610f\u3055\u308c\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" alt=\"\" src=\"https:\/\/clockmaker.jp\/blog\/wp-content\/uploads\/2014\/01\/53c170d6d6d38b5f6bcc6b81b46b2f74.png\" width=\"542\" height=\"355\" \/><\/p>\n<h3>Flash\u3068\u6bd4\u3079\u3066\u958b\u767a\u306e\u3057\u3084\u3059\u3055\u306f<\/h3>\n<p>\u5c11\u3057\u6238\u60d1\u3063\u305f\u306e\u306f\u3001\u753b\u50cf\u306e\u6271\u3044\u3067\u3059\u3002Flash\u306e\u5834\u5408\u306f\u753b\u50cf\u3092Embed\u30e1\u30bf\u30bf\u30b0\u3092\u5229\u7528\u3057\u3066ActionScript\u306b\u753b\u50cf\u3092\u57cb\u3081\u8fbc\u3080\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3057\u304b\u3057JavaScript\u3067\u306f\u540c\u3058\u3088\u3046\u306a\u624b\u6cd5\u304c\u3067\u304d\u306a\u3044\u305f\u3081(Base64\u3092\u4f7f\u3046\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u308c\u3082\u4e0d\u4fbf\u306a\u306e\u3067\u2026)\u3001<span style=\"color: #ff0000;\">JS\u3067\u306f\u753b\u50cf\u30a2\u30bb\u30c3\u30c8\u3092\u5168\u3066\u5916\u90e8\u8aad\u307f\u8fbc\u307f\u3067\u51e6\u7406\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/span>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u898b\u308c\u3070\u308f\u304b\u308a\u307e\u3059\u304c\u3001<span style=\"color: #ff0000;\">\u521d\u671f\u5316\u6642\u306b\u753b\u50cf\u3092\u30d7\u30ea\u30ed\u30fc\u30c9\u3059\u308b\u3088\u3046\u306a\u8a2d\u8a08<\/span>\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" alt=\"\" src=\"https:\/\/clockmaker.jp\/blog\/wp-content\/uploads\/2014\/01\/734cfa211cf75d64370a174875d04474.png\" width=\"568\" height=\"339\" \/><\/p>\n<p>\u3082\u3046\u4e00\u3064\u56f0\u3063\u305f\u306e\u306f<span style=\"color: #ff0000;\">WebGL\u306e\u30c7\u30d0\u30c3\u30b0\u306e\u3057\u306b\u304f\u3055<\/span>\u3067\u3059\u3002\u3053\u308c\u306fAdobe Flash Builder\u3084Adobe Scout\u306a\u3069\u30c4\u30fc\u30eb\u304c\u5145\u5b9f\u3057\u3066\u3044\u308bFlash\u306b\u6bd4\u3079\u308b\u3068\u4ed5\u65b9\u304c\u306a\u3044\u3068\u601d\u3044\u307e\u3057\u305f\u3002\u30b3\u30fc\u30c9\u88dc\u5b8c\u306b\u95a2\u3057\u3066\u3082\u540c\u69d8\u3067\u3001WebGL\u7248\u306e\u958b\u767a\u3067\u306fTypeScript+WebStorm\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u307e\u305a\u307e\u305a\u306e\u30ec\u30d9\u30eb\u3067\u30b3\u30fc\u30c9\u88dc\u5b8c\/\u30b3\u30fc\u30c9\u751f\u6210\u306b\u983c\u308a\u306a\u304c\u3089\u958b\u767a\u3067\u304d\u307e\u3059\u304c\u3001Flash\u7248\u306e\u958b\u767a\u306b\u304a\u3051\u308bFlash Builder\u306e\u30b3\u30fc\u30c9\u88dc\u5b8c\/\u30b3\u30fc\u30c9\u751f\u6210\u306e\u307b\u3046\u304c\u5f37\u529b\u3060\u3068\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n<h3>Flash\u7248\u3068WebGL\u7248\u306e\u30d1\u30fc\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u9055\u3044\u306f<\/h3>\n<p style=\"text-align: center;\"><a href=\"http:\/\/clockmaker.jp\/labs\/140104_away3d_ts_cubes\/index.html\" target=\"_blank\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4995 photo\" alt=\"\" src=\"https:\/\/clockmaker.jp\/blog\/wp-content\/uploads\/2014\/01\/140105_away3d_cubes.png\" width=\"460\" height=\"200\" \/><\/a><\/p>\n<p>\u307b\u3068\u3093\u3069\u540c\u3058\u3067\u3057\u305f\u3002\u4ee5\u524d\u3001\u8a18\u4e8b\u300c<a href=\"https:\/\/clockmaker.jp\/blog\/2013\/01\/threejs_vs_away3d\/\">HTML5\u95a2\u9023\u6280\u8853\u306eWebGL(three.js)\u3068Flash(Away3D)\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6bd4\u8f03<\/a>\u300d\u3067\u7d39\u4ecb\u3057\u305f\u3088\u3046\u306bStage3D\u3068WebGL\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u6027\u80fd\u306f\u307b\u307c\u540c\u3058\u3067\u3057\u305f\u304c\u3001\u5927\u91cf\u306e\u30dd\u30ea\u30b4\u30f3\u3092\u5fc5\u8981\u3068\u3059\u308b\u30c7\u30e2\u3092\u4f5c\u6210\u3057\u305f\u3068\u3053\u308d\u307b\u307c\u540c\u3058\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li><a href=\"http:\/\/clockmaker.jp\/labs\/140104_away3d_ts_cubes\/index.html\" target=\"_blank\">WebGL\u5bfe\u5fdc\u306eAway3D TypeScript\u306e\u8a55\u4fa1\u7528\u30c7\u30e2<\/a><\/li>\n<li><a href=\"http:\/\/clockmaker.jp\/labs\/130101_away3d_cubes\/bin-release\/ParticleCubes.html\" target=\"_blank\">Flash Stage3D\u5bfe\u5fdc\u306eAway3D\u306e\u8a55\u4fa1\u30c7\u30e2<\/a><\/li>\n<\/ul>\n<h3>\u307e\u3068\u3081<\/h3>\n<p>Away3D\u3092\u4f7f\u3048\u3070\u3001<span style=\"color: #ff0000;\">Flash\u7248\u3082WebGL\u7248\u3082\u307b\u307c\u540c\u3058\u30b3\u30fc\u30c9\u306e\u30ed\u30b8\u30c3\u30af\u3067\u4e21\u65b9\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f5c\u308c\u308b\u306e\u304c\u30e1\u30ea\u30c3\u30c8<\/span>\u3060\u3068\u601d\u3044\u307e\u3057\u305f\u3002WebGL\u306fIE11\u3084Android Firefox\u3082\u5bfe\u5fdc\u3059\u308b\u306a\u3069\u5bfe\u5fdc\u3059\u308b\u74b0\u5883\u304c\u5897\u3048\u3066\u3044\u307e\u3059\u304c\u3001<span style=\"color: #ff0000;\">\u5b89\u5b9a\u6027\u3084\u69d8\u3005\u306a\u30d6\u30e9\u30a6\u30b6\u306e\u5bfe\u5fdc\u72b6\u6cc1\u3092\u8003\u616e\u3059\u308b\u3068Flash Stage3D\u306e\u307b\u3046\u304c\u30a2\u30c9\u30d0\u30f3\u30c6\u30fc\u30b8\u304c\u3042\u308b\u306e\u304c\u73fe\u72b6<\/span>\u3067\u3059(IE8\u3067\u3082Safari\u3067\u3082Flash Stage3D\u304c\u52d5\u4f5c\u3057\u307e\u3059\u3057\u306d)\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-5010\" alt=\"\" src=\"https:\/\/clockmaker.jp\/blog\/wp-content\/uploads\/2014\/01\/c453e388bb36020444ab9d0192c2aeae.jpg\" width=\"540\" height=\"375\" \/>\u25b2IE11\u3067\u3082\u52d5\u4f5c\u3002\u53f3\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068Flash Player\u3067\u306a\u3044\u3053\u3068\u304c\u308f\u304b\u308b\u3002<\/p>\n<p><span style=\"color: #ff0000;\">Away3D\u3092\u899a\u3048\u3066\u304a\u3051\u3070\u3001\u5b89\u5b9a\u6027\u306e\u9ad8\u3044Flash\u3068\u5e02\u5834\u304b\u3089\u306e\u30cb\u30fc\u30ba\u306e\u3042\u308bWebGL\u306e\u3069\u3061\u3089\u306b\u3082\u5bfe\u5fdc\u3067\u304d\u308b<\/span>\u3068\u601d\u3046\u306e\u3067\u3001\u5546\u7528\u5229\u7528\u3092\u8003\u3048\u308b\u306a\u3089\u6709\u529b\u306a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u9078\u629e\u80a2\u306b\u306a\u308a\u5f97\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u5f53\u30d6\u30ed\u30b0\u3067\u306f\u3057\u3070\u3089\u304fWebGL\u5bfe\u5fdc\u306eAway3D TypeScript\u3092\u7d39\u4ecb\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5148\u65e5\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305fWebGL\u306b\u5bfe\u5fdc\u3057\u305f3D\u30e9\u30a4\u30d6\u30e9\u30ea\u300cAway3D TypeScript\u300d\u3067\u3059\u304c\u3001HTML\u3068JavaScript\u30673D\u306e\u30d1\u30fc\u30c6\u30a3\u30af\u30eb\u8868\u73fe\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u3053\u308c\u3089\u306e\u30c7\u30e2\u306eJavaScript\u306fTypeS [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5034,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/posts\/4994"}],"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=4994"}],"version-history":[{"count":1,"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/posts\/4994\/revisions"}],"predecessor-version":[{"id":5036,"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/posts\/4994\/revisions\/5036"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/media\/5034"}],"wp:attachment":[{"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/media?parent=4994"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/categories?post=4994"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/clockmaker.jp\/blog\/wp-json\/wp\/v2\/tags?post=4994"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}