{"id":2825,"date":"2020-10-29T08:25:35","date_gmt":"2020-10-29T00:25:35","guid":{"rendered":"http:\/\/blog.coolcoding.cn\/?p=2825"},"modified":"2020-10-30T08:37:08","modified_gmt":"2020-10-30T00:37:08","slug":"2825","status":"publish","type":"post","link":"https:\/\/blog.coolcoding.cn\/?p=2825","title":{"rendered":"GLTF\u76f8\u5173\u8d44\u6599"},"content":{"rendered":"<h1>\u4ec0\u4e48\u662fGLTF<\/h1>\n<p>GLTF\u4ee3\u8868Graphics Language Transmission Format\uff08\u56fe\u5f62\u8bed\u8a00\u4f20\u8f93\u683c\u5f0f\uff09\u3002\u8fd9\u79cd\u8de8\u5e73\u53f0\u683c\u5f0f\u5df2\u6210\u4e3aWeb\u4e0a\u76843D\u5bf9\u8c61\u6807\u51c6\u3002\u5b83\u7531OpenGL\u548cVulkan\u80cc\u540e\u76843D\u56fe\u5f62\u6807\u51c6\u7ec4\u7ec7Khronos\u6240\u5b9a\u4e49\uff0c\u8fd9\u4f7f\u5f97GLTF\u57fa\u672c\u4e0a\u6210\u4e3a3D\u6a21\u578b\u7684JPG\u683c\u5f0f\uff1aWeb\u5bfc\u51fa\u7684\u901a\u7528\u6807\u51c6\u3002<\/p>\n<p>1.glTF(GL TransmissionFormat)\uff0c\u5373\u56fe\u5f62\u8bed\u8a00\u4ea4\u6362\u683c\u5f0f\uff0c\u5b83\u662f\u4e00\u79cd3D\u5185\u5bb9\u7684\u683c\u5f0f\u6807\u51c6\uff0c\u7531Khronos Group\u7ba1\u7406\uff08Khronos Group\u8fd8\u7ba1\u7406\u7740OpenGL\u7cfb\u5217\u3001OpenCL\u7b49\u91cd\u8981\u7684\u884c\u4e1a\u6807\u51c6\uff09\uff1b<br \/>\n2.glTF\u662f\u4e00\u79cd\u514d\u7248\u7a0e\u7684\u89c4\u8303\uff0c\u7528\u4e8e\u6309\u5e94\u7528\u9ad8\u6548\u4f20\u8f93\u548c\u52a0\u8f7d3D\u573a\u666f\u548c\u6a21\u578b\uff1b<br \/>\n3.glTF\u7684\u8bbe\u8ba1\u662f\u9762\u5411\u5b9e\u65f6\u6e32\u67d3\u5e94\u7528\u7684\uff0c\u5c3d\u91cf\u63d0\u4f9b\u53ef\u4ee5\u76f4\u63a5\u4f20\u8f93\u7ed9\u56fe\u5f62API\u7684\u6570\u636e\u5f62\u5f0f\uff0c\u4e0d\u518d\u9700\u8981\u4e8c\u6b21\u8f6c\u6362\uff0c\u6700\u5927\u9650\u5ea6\u5730\u51cf\u5c11\u4e863D\u8d44\u4ea7\u7684\u5927\u5c0f\uff0c\u4ee5\u53ca\u89e3\u538b\u7f29\u548c\u4f7f\u7528\u8fd9\u4e9b\u8d44\u4ea7\u6240\u9700\u7684\u8fd0\u884c\u65f6\u5904\u7406\uff1b<br \/>\n4.glTF\u5bf9OpenGL ES\u3001WebGL\u975e\u5e38\u53cb\u597d\uff0c\u4e3a3D\u5185\u5bb9\u5de5\u5177\u548c\u670d\u52a1\u5b9a\u4e49\u4e86\u4e00\u79cd\u53ef\u6269\u5c55\u7684\u901a\u7528\u53d1\u5e03\u683c\u5f0f\uff0c\u53ef\u7b80\u5316\u521b\u4f5c\u5de5\u4f5c\u6d41\u7a0b\u5e76\u5b9e\u73b0\u6574\u4e2a\u884c\u4e1a\u5185\u5bb9\u7684\u53ef\u4e92\u64cd\u4f5c\u4f7f\u7528\uff1b<br \/>\n5.glTF\u7684\u76ee\u6807\u662f\uff1a3D\u9886\u57df\u7684JPEG\uff1b<br \/>\n6.\u4f5c\u4e3a\u4e00\u4e2a\u6807\u51c6\uff0c\u81ea2015\u5e7410\u6708\u53d1\u5e03\uff08glTF 1.0\uff09\u4ee5\u6765\uff0c\u5df2\u7ecf\u5f97\u5230\u4e86\u4e1a\u754c\u5e7f\u6cdb\u7684\u8ba4\u53ef\uff1b<br \/>\n7.glTF\u76ee\u524d\u6700\u65b0\u7248\u672c\u4e3a2.0\u5df2\u4e8e2017\u5e746\u6708\u6b63\u5f0f\u53d1\u5e03\u3002<br \/>\n8.glTF\u7531Khronos\u4f5c\u4e3a\u4e00\u4e2a\u5f00\u653e\u9879\u76ee\u8fd0\u884c\u3002\u5728GitHub\u5f00\u53d1\u5e76\u514d\u8d39\u63d0\u4f9b\u6e90\u4ee3\u7801\u3002<br \/>\nGLTF\u7684\u6570\u636e\u5b58\u50a8\u683c\u5f0f\u4e3aJSON\uff0c\u8be6\u60c5\u53ef\u4ee5\u67e5\u770b<a href=\"https:\/\/www.khronos.org\/gltf\/\">\u5b98\u65b9\u7f51\u7ad9<\/a>\u3002<\/p>\n<h1><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/10\/2019070308403639.jpg\" alt=\"3D\u9886\u57df\u7684JPEG\" width=\"457\" height=\"174\" \/><\/h1>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/10\/2019070308450192.jpg\" alt=\"JSON\u5b58\u50a8\u683c\u5f0f\" width=\"455\" height=\"269\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"http:\/\/blog.coolcoding.cn\/wp-content\/uploads\/2020\/10\/20190703084737967.jpg\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" width=\"472\" height=\"248\" \/><\/p>\n<p>https:\/\/www.khronos.org\/gltf\/<\/p>\n<h1>Unity GLTF\u5bfc\u5165\u5668<\/h1>\n<p>https:\/\/github.com\/ousttrue\/UniGLTF<br \/>\nhttps:\/\/github.com\/Siccity\/GLTFUtility<\/p>\n<h1>Unity GLTF\u5bfc\u51fa\u5668<\/h1>\n<p>https:\/\/github.com\/neil3d\/Unity-glTF-Exporter<br \/>\nhttps:\/\/github.com\/sketchfab\/UnityGLTF<br \/>\nhttps:\/\/github.com\/KhronosGroup\/UnityGLTF<br \/>\nhttps:\/\/github.com\/Siccity\/GLTFUtility<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ec0\u4e48\u662fGLTF GLTF\u4ee3\u8868Graphics Language Transmission Format\uff08\u56fe\u5f62\u8bed [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/2825"}],"collection":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2825"}],"version-history":[{"count":4,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/2825\/revisions"}],"predecessor-version":[{"id":2836,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=\/wp\/v2\/posts\/2825\/revisions\/2836"}],"wp:attachment":[{"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.coolcoding.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}