{"id":9030,"date":"2018-03-21T13:53:29","date_gmt":"2018-03-21T13:53:29","guid":{"rendered":"https:\/\/www.jurn.link\/dazposer\/?p=9030"},"modified":"2018-03-21T13:53:29","modified_gmt":"2018-03-21T13:53:29","slug":"poser-and-daz-to-gltf-2-0-for-facebook","status":"publish","type":"post","link":"https:\/\/jurn.link\/dazposer\/index.php\/2018\/03\/21\/poser-and-daz-to-gltf-2-0-for-facebook\/","title":{"rendered":"Poser and DAZ to glTF 2.0 for Facebook?"},"content":{"rendered":"<p>Facebook seems to be all set to become the next tumbleweed-haunted MySpace, the way it&#8217;s going with censorship, data leaks, fake news, and &#8216;pay to reach your audience&#8217; lockdowns on content. But for now it&#8217;s still adding new features. For instance users can now post 3D models on their Facebook posts, though only <a href=\"https:\/\/developers.facebook.com\/blog\/post\/2018\/02\/20\/3d-posts-facebook\/\">using &#8220;glTF 2.0&#8221; files<\/a>. <\/p>\n<p>How might Poser and DAZ Studio users get a glTF 2.0 file?  Well you:<\/p>\n<p>1) Output from Poser or DAZ Studio to Collada .DAE (easier said than done, a lot of times). Note that Collada export is Pro version only, in Poser 11.<\/p>\n<p>2) Then you can use the official <a href=\"https:\/\/github.com\/KhronosGroup\/COLLADA2GLTF\/\">Collada2glTF<\/a> to get a glTF file. Though it&#8217;s a command-line tool on GitHub, eeek!<\/p>\n<p>3) Then it appears that when you upload the completed glTF 2.0 file to services such as Facebook, a back-end engine (which you don&#8217;t need to know about) will grab it and make it lightweight enough for speedy loading in the Web browser. Presumably it does this by reducing the poly-count and texture sizes.  Facebook also has a size-limit on the file, and presumably its back-end will crunch your model down to that size.<\/p>\n<p>If your initial Collada export is getting all scrumpled up, as often happens, then Facebook has a <a href=\"https:\/\/github.com\/facebookincubator\/FBX2glTF\">FBX2glTF<\/a> which accepts the more reliable .FBX format. But be warned that it&#8217;s also currently a fearsome-looking command-line tool on GitHub.<\/p>\n<p>Looking rather more user friendly is SketchUp&#8217;s <a href=\"https:\/\/extensions.sketchup.com\/en\/content\/gltf-exporter\">free glTF 2.0 exporter plugin<\/a>, though at only 61 views in a month it&#8217;s not currently a plugin that&#8217;s getting much lurv. And good luck with trying to get Poser and DAZ characters into SketchUp.<\/p>\n<p>There&#8217;s also an online service <a href=\"http:\/\/52.4.31.236\/convertmodel.html\">glTF Model Converter<\/a> which can handle .OBJs, but note &#8220;the timeout limit is 2 minutes and the maximum file size is 10 MB&#8221;. I also got loading errors on the Web page widget, but that could be due to my browser.  Might be worth a try though, with a small prop. A DAZ\/Poser content developer might be able to showcase small bits of their forthcoming product that way, on Facebook.<\/p>\n<p>If you can run native Python there&#8217;s also a <a href=\"https:\/\/github.com\/feiss\/batchgltf\">BatchGltf<\/a>, offering a graphical user interface. I&#8217;m guessing that might be suitable for integrating into the forthcoming Poser 12 as a Python script for glTF 2.0 exporting?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Facebook seems to be all set to become the next tumbleweed-haunted MySpace, the way it&#8217;s going with censorship, data leaks, fake news, and &#8216;pay to reach your audience&#8217; lockdowns on content. But for now it&#8217;s still adding new features. For instance users can now post 3D models on their Facebook posts, though only using &#8220;glTF [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,13,3,4],"tags":[],"class_list":["post-9030","post","type-post","status-publish","format-standard","hentry","category-3d-utilities","category-companion-software","category-poser","category-spotted-in-the-news"],"_links":{"self":[{"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/posts\/9030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/comments?post=9030"}],"version-history":[{"count":0,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/posts\/9030\/revisions"}],"wp:attachment":[{"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/media?parent=9030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/categories?post=9030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jurn.link\/dazposer\/index.php\/wp-json\/wp\/v2\/tags?post=9030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}