Playing With Apple ARKit

0
322

I bought a new iPhone 7 on the 10th Anniversary of iPhone and tried a couple of stuff with the ARKit ?‍?.body[data-twttr-rendered=”true”] background-color: transparent;.twitter-tweet margin: auto !important;

function notifyResize(height) height = height ? height : document.documentElement.offsetHeight; var resized = false; if (window.donkey && donkey.resize) donkey.resize(height); resized = true;if (parent && parent._resizeIframe) var obj = iframe: window.frameElement, height: height; parent._resizeIframe(obj); resized = true;if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.resize) window.webkit.messageHandlers.resize.postMessage(height); resized = true;return resized;twttr.events.bind(‘rendered’, function (event) notifyResize();); twttr.events.bind(‘resize’, function (event) notifyResize(););if (parent && parent._resizeIframe) var maxWidth = parseInt(window.frameElement.getAttribute(“width”)); if ( 500 < maxWidth) window.frameElement.setAttribute(“width”, “500”);

<

blockquote>To get started with ARKit + Unity try this tutorial. And for ARKit + SceneKit go with this one.

First I went with creating a 2D scene in which you can add random emoji to the world by tapping on the screen. It was using SpriteKit.

also read:-  OnePlus 5 Launched in India On Sale Today : Unboxing and Full Review

body[data-twttr-rendered=”true”] background-color: transparent;.twitter-tweet margin: auto !important;

function notifyResize(height) height = height ? height : document.documentElement.offsetHeight; var resized = false; if (window.donkey && donkey.resize) donkey.resize(height); resized = true;if (parent && parent._resizeIframe) var obj = iframe: window.frameElement, height: height; parent._resizeIframe(obj); resized = true;if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.resize) window.webkit.messageHandlers.resize.postMessage(height); resized = true;return resized;twttr.events.bind(‘rendered’, function (event) notifyResize();); twttr.events.bind(‘resize’, function (event) notifyResize(););if (parent && parent._resizeIframe) var maxWidth = parseInt(window.frameElement.getAttribute(“width”)); if ( 500 < maxWidth) window.frameElement.setAttribute(“width”, “500”);

Then I was creating few apps based on 3D models with SceneKit. The best one among them is Green Work Space ?.body[data-twttr-rendered=”true”] background-color: transparent;.twitter-tweet margin: auto !important;

function notifyResize(height) height = height ? height : document.documentElement.offsetHeight; var resized = false; if (window.donkey && donkey.resize) donkey.resize(height); resized = true;if (parent && parent._resizeIframe) var obj = iframe: window.frameElement, height: height; parent._resizeIframe(obj); resized = true;if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.resize) window.webkit.messageHandlers.resize.postMessage(height); resized = true;return resized;twttr.events.bind(‘rendered’, function (event) notifyResize();); twttr.events.bind(‘resize’, function (event) notifyResize(););if (parent && parent._resizeIframe) var maxWidth = parseInt(window.frameElement.getAttribute(“width”)); if ( 500 < maxWidth) window.frameElement.setAttribute(“width”, “500”);

also read:-  Best Free Internet Recharge Packs Airtel | Reliance Jio | BSNL

I tried to do the above one with Plane Detection but it had some bugs, later found a tutorial with same tree 3D model (http://jamesonquave.com/blog/arkit-tutorial-in-swift-4-for-xcode-9-using-scenekit/) and fixed it ? .

Finally, I tried ARKit with Unity and came out with the below scene!

body[data-twttr-rendered=”true”] background-color: transparent;.twitter-tweet margin: auto !important;

function notifyResize(height) height = height ? height : document.documentElement.offsetHeight; var resized = false; if (window.donkey && donkey.resize) donkey.resize(height); resized = true;if (parent && parent._resizeIframe) var obj = iframe: window.frameElement, height: height; parent._resizeIframe(obj); resized = true;if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.resize) window.webkit.messageHandlers.resize.postMessage(height); resized = true;return resized;twttr.events.bind(‘rendered’, function (event) notifyResize();); twttr.events.bind(‘resize’, function (event) notifyResize(););if (parent && parent._resizeIframe) var maxWidth = parseInt(window.frameElement.getAttribute(“width”)); if ( 500 < maxWidth) window.frameElement.setAttribute(“width”, “500”);

also read:-  3 Brutal Mobile Marketing Mistakes That Can Wreck Your Business » TechWorm

So I have a tried most of the basic stuff so far and looking forward to work more with the ARKit and come out with a cool app ? ?‍? ?.


Playing With Apple ARKit was originally published in Hacker Noon on Medium, where people are continuing the conversation by highlighting and responding to this story.

Source link

SHARE
Previous articleAttention! WhatsApp Will No Longer Work On These Phones
Next articlePlants vs zombies: hero, a quick review.

WordPress database error: [Duplicate entry 'https://secure.gravatar.com/avatar/2ad6dfd10a6b9730c485041438788' for key 'url']
INSERT INTO wp_wp_cache_gravatars (url, avatar, files) VALUES('https://secure.gravatar.com/avatar/2ad6dfd10a6b9730c485041438788d0f?s=96&d=mm&r=g', '<img alt=\'\' src=\'http://capstricks.net/wp-content/uploads/wp-disable-avatars-cache/5b4030c083daa.jpg\' srcset=\'http://capstricks.net/wp-content/uploads/wp-disable-avatars-cache/5b4030c09f98b.jpg 2x\' class=\'avatar avatar-96 photo\' height=\'96\' width=\'96\' />', '[\"5b4030c083daa.jpg\",\"5b4030c09f98b.jpg\"]')

Leave a Reply