{"id":142059970866,"date":"2016-04-28T11:37:21","date_gmt":"2016-04-28T09:37:21","guid":{"rendered":"http:\/\/blog.sketchfab.com\/?p=142059970866"},"modified":"2019-11-20T15:35:30","modified_gmt":"2019-11-20T14:35:30","slug":"viewer-api-wild-dodge-charger-customization-station","status":"publish","type":"post","link":"https:\/\/sketchfab.com\/blogs\/community\/viewer-api-wild-dodge-charger-customization-station\/","title":{"rendered":"Viewer API: Dodge Charger Customization Station"},"content":{"rendered":"<p><em>Dan Petker is\u00a0a graduating student of Lethbridge College Multimedia Production Program.<\/em><\/p>\n<blockquote><p>I have developed a project that I am very proud of and it relied heavily on Sketchfab for its success. To summarize the project, I created a <a href=\"http:\/\/www.danielpetker.com\/Capstone.html\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">3D car customization website<\/a>.<\/p><\/blockquote>\n<p><em>Dan uses the <strong>hide<\/strong> and <strong>show<\/strong> functions of the <a href=\"https:\/\/sketchfab.com\/developers\/viewer?utm_source=blog&amp;utm_medium=referral\">Viewer API<\/a>\u00a0to create a pretty robust configurator for his 1964 Dodge Charger model. You can change the color scheme and toggle many different components like the\u00a0rims, bumper, and spoiler. <a href=\"http:\/\/www.danielpetker.com\/Capstone.html\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">Check it out<\/a>!<\/em><\/p>\n<p><em>This is an article in our <a href=\"http:\/\/blog.sketchfab.com\/category\/api-spotlight\/\">API Spotlight series<\/a>, highlighting projects that customize our viewer through our <a href=\"https:\/\/sketchfab.com\/developers\">API<\/a>.<\/em><\/p>\n<p>Most interestingly, he&#8217;s\u00a0created a Utility object that abstracts API calls to make it simpler to use:<\/p>\n<pre>Util.ShowMeshByPattern( theApi, 'CarBodyPaint_Black', false );<\/pre>\n<p>It&#8217;s in the same vein as <a href=\"https:\/\/forum.sketchfab.com\/t\/viewer-api-and-javascript-development\/7748\">shaderbytes&#8217;\u00a0Utility<\/a>, which\u00a0is a great way to make using the API simpler and more readable in big projects.<\/p>\n<p>Great work, Dan! Can&#8217;t wait to see where you go from here :)<\/p>\n<p>Are you working on your own project using Sketchfab&#8217;s APIs? We&#8217;d love to hear about it &#8211; <a href=\"https:\/\/help.sketchfab.com\/hc\/en-us\/requests\/new\">drop us a line<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dan Petker is\u00a0a graduating student of Lethbridge College Multimedia Production Program. I have developed a project that I am very proud of and it relied<\/p>\n","protected":false},"author":8,"featured_media":142059970893,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[617],"tags":[35],"class_list":["post-142059970866","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api-spotlight","tag-api"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/sketchfab.com\/blogs\/community\/wp-content\/uploads\/2016\/04\/detker_crop.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/posts\/142059970866","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/comments?post=142059970866"}],"version-history":[{"count":8,"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/posts\/142059970866\/revisions"}],"predecessor-version":[{"id":142059992184,"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/posts\/142059970866\/revisions\/142059992184"}],"wp:attachment":[{"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/media?parent=142059970866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/categories?post=142059970866"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sketchfab.com\/blogs\/community\/wp-json\/wp\/v2\/tags?post=142059970866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}