<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Narendra Kumar on Medium]]></title>
        <description><![CDATA[Stories by Narendra Kumar on Medium]]></description>
        <link>https://medium.com/@narendrakumar.senthilkumar?source=rss-af836c6d9afd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*7Nd44OVFsLnjvWyF</url>
            <title>Stories by Narendra Kumar on Medium</title>
            <link>https://medium.com/@narendrakumar.senthilkumar?source=rss-af836c6d9afd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 04:12:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@narendrakumar.senthilkumar/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How I made my own Omnitrix (feat-Vuforia,Unity,Mi Band 4)]]></title>
            <link>https://medium.com/@narendrakumar.senthilkumar/how-i-made-my-own-omnitrix-feat-vuforia-unity-mi-band-4-83af42e725f6?source=rss-af836c6d9afd------2</link>
            <guid isPermaLink="false">https://medium.com/p/83af42e725f6</guid>
            <category><![CDATA[mi-4-band]]></category>
            <category><![CDATA[augmented-reality]]></category>
            <category><![CDATA[unity]]></category>
            <category><![CDATA[ben-10]]></category>
            <category><![CDATA[vuforia]]></category>
            <dc:creator><![CDATA[Narendra Kumar]]></dc:creator>
            <pubDate>Thu, 06 Feb 2020 20:23:20 GMT</pubDate>
            <atom:updated>2020-02-06T20:23:46.345Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>It’s Hero Time!!!</blockquote><p><em>-Benjamin Kirby Tennyson</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/1*lGVpLfb8Bh8TXZ6MvWVtMg.gif" /></figure><p>Hello everyone, I just learned how to create an AR marker based android application using Vuforia SDK from Youtube tutorials and some Medium posts. I decided to make something cool from this. That’s when Ben helped me. yeah, the good old Ben 10 who owns the Omnitrix.</p><p>What I learned from those tutorials is that you can place any 3d objects, images, videos over a target image. That’s the core concept.</p><p>I fused this concept with Ben’s Omnitrix and my Mi Band 4. The band 4 displays different images for different menu items. So I grabbed those images for my target images.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*DiOjwOJMLrxJ5Bb0PqbEeg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*rK7vJ3pO-xtO7Z9VjiEWAg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/536/1*i3an6cV46YJhwJYL7NLF8g.jpeg" /><figcaption>This is how my band 4 shows menu items. ( *custom menu images, your Mi band 4 might not have the same images)</figcaption></figure><ol><li>Open V<a href="https://developer.vuforia.com/">uforia developer portal</a>, log in to your Vuforia account or create one.</li><li>Add a new database under the target manager, name your database as you wish.</li><li>Inside your database add targets. (I added the above shown 3 images.)</li></ol><p>Then click ‘Download database(All)’, Click Unity Editor radio button. (you will get a unity package with your database name.)</p><p>Under License Manager in Vuforia portal, click ‘Get Development Key’, name your license, check the terms and condition checkbox and hit the confirm button.</p><p>OK, now the targets are set. Now I have to summon those aliens, so I surfed the web for modeling Asmiths who upload free alien 3D objects.<br> Ripjaws — <a href="https://skfb.ly/6KQXU">https://skfb.ly/6KQXU</a><br> Grey Matter — <a href="https://skfb.ly/6POFN">https://skfb.ly/6POFN</a><br> Four Arms — <a href="https://skfb.ly/6Q8wT">https://skfb.ly/6Q8wT</a></p><p>Extract those zip files and get the .fbx files</p><h3>Meanwhile in Unity…</h3><ol><li>Open Unity 3D(I’m using 2019.1.14f1), create a new 3D project.</li><li>You would be greeted by SampleScene, click that lil triangle near SampleScene to view it’s child components.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/471/1*85k7Wg7NnyptC50K6fmNhw.png" /></figure><p>3. Delete that Main Camera.</p><p>4. Click File &gt; Build settings &gt; Android (under platform) and then hit the Switch Platform button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*syElohleKLlToUyxy8d5og.png" /></figure><p>5. Click ‘player Settings…’ button at the bottom left of the build settings window.</p><p>6. Change package name as you wish under other settings.</p><p>7. Scroll all the way down to XR Settings, check ‘Vuforia Augmented Reality Supported’ checkbox. It will show a warning to turn off Vulkan API under other settings. Do as it says.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/332/1*h-W8h6DnE_cBUpVd8eu5iA.png" /><figcaption>select Vulkan and click the minus button below</figcaption></figure><p>8. Close both Project Settings and Build Settings.</p><p>9. Right-click over the hierarchy panel and select Vuforia Engine &gt; AR Camera. Click Import.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/217/1*pY_xppbPGJlZ-Js2NdmjBg.png" /></figure><p>10. Again Right-click &gt; Vuforia Engine &gt; Image. Click Import.</p><p>11. Go to Assets &gt; Import Package &gt; Custom Package. Select the Unity package you downloaded from the Vuforia portal. Then click Import in the following prompt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*KxNnSkedE39aMFJCsEY8EQ.png" /><figcaption>you will see something like this.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*i0vHlJl2LwTf6butgt0b6Q.png" /><figcaption>your Unity editor should look something like this.</figcaption></figure><p>12. with the ImageTarget selected click database &gt; *your_database_name* in the Inspector panel.(in my case the DB name is Omnitrix).</p><p>13. Select any one target image , below the database field you just selected in the above step.</p><p>14. On the topbar click Window &gt; Vuforia Configuration.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/279/1*lDi4JIJz8kuSmgYvO1Fy8g.png" /><figcaption>you will find this in the inspector panel</figcaption></figure><p>15. Paste your license key from Vuforia developer portal &gt; License Manger ,that you created before, in the App License Key text field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/277/1*x6JTUzE6OJiyt0pqR6cSYQ.png" /><figcaption>After pasting your license key, don’t hit that Add License button, just let it go.</figcaption></figure><p>16. Create new folder under assets folder in project panel which is at the bottom.</p><p>17. place those .fbx files(3d objects)of the aliens inside that folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*xmUe15ZZAEGnZgG5HvLV2A.png" /><figcaption>You can just drag and drop those .fbx files from Windows explorer into project panel of unity.</figcaption></figure><p>18.Then grab any one of the aliens and place it under Image Target. And adjust the object so as it fits over the Image Target.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*tghaWZj-5zM62qk79Wah3g.gif" /><figcaption>adjustment101</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*7BKo54BP509YMNcCIVny1Q.gif" /><figcaption>adjustment102</figcaption></figure><p>19. Right-click in the aliens folder and create &gt; Material.(I named it as alien_green) Change the colour to a transparent green shade just like in the omnitrix hologram.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*D0FJ1J5SqjCPN7anreq-AA.gif" /></figure><p>Next, let’s make that Holographic like layer around the alien. I created that using Blender as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*oh9-Cb9Ya_WXMiWdHtMZnw.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*rTIysRZuEyQJMVPSrrjVpg.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*fBO5RosN0QRaGSCM-8ZUsw.gif" /><figcaption>At last export to an fbx file, so that we can import this into our Unity project</figcaption></figure><p>Now, let’s Import that Hollow cylinder or whatever into our Unity project. (drag and drop the exported .fbx file into) and adjust it exactly as I wish.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*FbfOPAclqhEcOSsI-WO2nw.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*46E5LueaoqW5OBLKUyr5Tg.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*xwgYyNqhBCUnEslzgAFbog.gif" /></figure><p>You might notice that the untitled object (That hollowish rectangle) is not under the ImageTarget in the hierarchy panel, in the above Gif. If we leave it like this, that object will be always visible, but we want it to be visible only when we see the target image. so drag it into ImageTarget.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/268/1*-e3JhZlSHALlcztVsp8ppg.png" /><figcaption>object under ImageTarget</figcaption></figure><p>So far so good, let’s build it and try what it is like.</p><p>Click file &gt; Build Settings… &gt; Add Open Scenes. Now the default SampleScene we have been working will be added.</p><p>Connect your android device to your PC, enable USB Debugging in your android device, then Click ‘Build and Run’. give any name in the prompted window and click save.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*TTZd9krCl6AealNM30zaaw.jpeg" /></figure><p>The app probably will be opened on your phone and will ask camera permission. tap allow.</p><p>When you point the camera over the target image you will see the 3d object.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_VqBVylyL-1GIahNy3kT-g.png" /><figcaption>Screenshot of that build</figcaption></figure><p>Similar place the other 2 Image Targets in the same scene and the other 2 aliens ( .fbx files) over those targets respectively and Build again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HlnqAyhHk4UakFZ_70KLZw.png" /><figcaption>screenshot from my original project, way before writing this story.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/1*lGVpLfb8Bh8TXZ6MvWVtMg.gif" /></figure><blockquote>Sayanora minna!!!</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83af42e725f6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>