<?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 Marcelo Suzumura on Medium]]></title>
        <description><![CDATA[Stories by Marcelo Suzumura on Medium]]></description>
        <link>https://medium.com/@marcelo.suzumura?source=rss-ede4ef4788ea------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*yTiFIts6HXI6Za3O.jpg</url>
            <title>Stories by Marcelo Suzumura on Medium</title>
            <link>https://medium.com/@marcelo.suzumura?source=rss-ede4ef4788ea------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 13:16:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@marcelo.suzumura/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[Vue.js: Guia Oficial de Boas Práticas]]></title>
            <link>https://blog.escoladitech.com.br/vue-js-guia-oficial-de-boas-pr%C3%A1ticas-76be25be70e9?source=rss-ede4ef4788ea------2</link>
            <guid isPermaLink="false">https://medium.com/p/76be25be70e9</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[javascript-frameworks]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[javascript-tips]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Marcelo Suzumura]]></dc:creator>
            <pubDate>Wed, 11 Oct 2017 02:54:13 GMT</pubDate>
            <atom:updated>2017-10-11T15:52:28.193Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*CUoVwMSN-TFSlSUC8IMRWA.png" /></figure><p>Recentemente, os responsáveis por manter o Vue.js disponibilizaram um <a href="https://vuejs.org/v2/style-guide/">Guia Oficial de Boas Práticas</a> (por enquanto disponível somente em inglês) elaborado pela própria equipe do <em>framework</em>.</p><p>A tradução literal seria “Guia de Estilo” (<em>Style Guide</em>), mas podemos dizer que o mais adequado neste caso seria “Guia Oficial de <strong>Boas Práticas</strong> do Vue.js”, o qual adotamos neste artigo.</p><p>O próprio guia já cita que não deve ser adotado <em>verbatim</em> por todos os times e projetos e é recomendado que seja adaptado conforme a situação.</p><h3>Níveis das regras</h3><p>O guia é separado em quatro níveis de regras:</p><ol><li><strong>Essenciais</strong>: visam à <strong>prevenção de erros</strong> e por isso são as regras mais importantes do guia</li><li><strong>Fortemente recomendadas</strong>: melhoram a <strong>legibilidade e facilidade</strong> de codificação</li><li><strong>Recomendadas</strong>: visam a garantir a <strong>consistência entre os códigos</strong> produzidos pelos desenvolvedores que utilizam o framework. É um exemplo do que dissemos em nosso artigo anterior sobre a adoção de um estilo próprio de cada linguagem (mais detalhes em “<a href="http://bit.ly/vista-a-camisa-nova-linguagem">Vista a camisa ao aprender uma nova linguagem</a>”)</li><li><strong>Use com cautela</strong>: algumas funcionalidades do Vue servem para facilitar a adoção do <em>framework</em> em códigos legados ou casos raros de uso. Quando utilizados sem critério podem se tornar uma fonte de bugs, portanto essas funcionalidades devem ser evitadas ou usadas com discernimento</li></ol><h3>Regras e Boas Práticas</h3><p>Algumas regras <strong>“essenciais”</strong> mencionam o uso de nomes de componentes com várias palavras, para evitar clashes com tags HTML que existem ou ainda não existem; o <em>data</em> de um componente deve ser uma função para evitar referência ao mesmo objeto data em todas as instâncias do componente (este é bem importante! anotem nos seus caderninhos); utilizar estilos <em>scoped</em> em todos os componentes que não forem o componente raiz; entre outros.</p><p>Muitas regras da categoria <strong>“fortemente recomendadas”</strong> citam regras de nomeação para componentes para facilitar a organização dentro do editor de código (aproveitando da ordem alfabética da listagem de arquivos, por exemplo); outras regras citam o uso de CamelCase e kebab-case dependendo se o componente é declarado em um <em>template</em> ou em um JS/JSX.</p><p>Na categoria “<strong>recomendados”</strong>, temos sugestões de ordenação das diferentes estruturas de um componente na sua declaração, como o estado local e eventos. Já na declaração de uso, temos a recomendação de outro <em>set</em> de ordenação para os atributos do componente. Lembrando que essa categoria se refere à facilidade de leitura do código por todos os desenvolvedores Vue, portanto esta sim seria uma categoria que lida mais com o estilo.</p><p>Por fim, na categoria de “<strong>uso com cautela</strong>”, temos alguns casos de efeitos colaterais no uso de <em>v-if</em> e afins sem a declaração do <em>key</em>; comunicação entre componentes pais e filhos devem idealmente ser <em>props down</em> e <em>events up</em> (props dos pais para filhos e eventos dos filhos para os pais); e outros.</p><h3>Importância</h3><p>Embora esteja em beta, este guia já é bastante extenso e sua leitura atenta pode levar algumas horas.</p><p>É sempre bom quando os próprios criadores recomendam um guia de boas práticas. Assim podemos ter um pouco da ideia por trás do <em>framework</em>, entendendo os motivos que o levaram a ser como é atualmente. É muito importante que não saibamos apenas usar o <em>framework</em>, mas sempre que possível investigar e entender as motivações. Este guia é um exemplo ótimo de como aplicar essa filosofia em nossa vida de desenvolvedores. Ter essa preocupação nos ajuda a ir para o próximo nível (dica quente 🔥).</p><blockquote>Gostou deste artigo?</blockquote><blockquote>Gostou do guia de boas práticas?</blockquote><blockquote>Gosta de Vue.js?</blockquote><blockquote>Recomende 👏, comente e compartilhe!</blockquote><blockquote>Siga-nos nas redes sociais e não perca as novidades! <a href="http://www.codeprestige.com.br/">http://www.codeprestige.com.br</a> — <a href="https://www.facebook.com/CodePrestigeBrasil/">Facebook</a>, <a href="https://twitter.com/CodePrestige">Twitter</a>, <a href="https://www.youtube.com/channel/UC-7TVZ9yNWzWA4iRW5umbjw">Youtube</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76be25be70e9" width="1" height="1" alt=""><hr><p><a href="https://blog.escoladitech.com.br/vue-js-guia-oficial-de-boas-pr%C3%A1ticas-76be25be70e9">Vue.js: Guia Oficial de Boas Práticas</a> was originally published in <a href="https://blog.escoladitech.com.br/">Escola Ditech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vista a camisa ao aprender uma nova linguagem]]></title>
            <link>https://blog.escoladitech.com.br/vista-a-camisa-ao-aprender-uma-nova-linguagem-ec79e10696bb?source=rss-ede4ef4788ea------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec79e10696bb</guid>
            <category><![CDATA[desenvolvimento-software]]></category>
            <category><![CDATA[linguagens-de-programação]]></category>
            <category><![CDATA[código-fonte]]></category>
            <dc:creator><![CDATA[Marcelo Suzumura]]></dc:creator>
            <pubDate>Fri, 01 Sep 2017 14:59:13 GMT</pubDate>
            <atom:updated>2017-09-01T14:59:13.892Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*AOxv-VFLIC4Mcahdpcar5A.gif" /></figure><p>Ao aprender uma nova linguagem, quem nunca levou velhas manias de linguagens já dominadas para a nova?</p><p>Vamos começar com um exemplo simples, retirado de um código arbitrário do <a href="https://github.com/torvalds/linux/blob/master/kernel/locking/mutex.c">kernel do Linux</a>:</p><pre>static inline int mutex_can_spin_on_owner(struct mutex *lock)<br>{<br> struct task_struct *owner;<br> int retval = 1;</pre><pre>if (need_resched())<br>  return 0;</pre><pre>rcu_read_lock();<br> owner = __mutex_owner(lock);<br>// ...</pre><p>Por este trecho de código, podemos ver que existe o predomínio de nomes de variáveis e funções formados por palavras separadas por <em>underline “_”</em>. Essa convenção tem o nome de <a href="https://en.wikipedia.org/wiki/Snake_case"><em>snake case</em></a>. É muito utilizada em linguagens como C, C++, Perl, Ruby etc</p><p>Supondo que você já domina Java, provavelmente desenvolve seus códigos utilizando <a href="https://en.wikipedia.org/wiki/Camel_case">camel case</a>, na qual a primeira palavra começa com minúsculas e as demais com maiúsculas e saoEscritasDesseJeito, certo? Como no exemplo encontrado no <a href="https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/windows/classes/java/io/FileDescriptor.java">source code do open jdk7</a>:</p><pre>synchronized void closeAll(Closeable releaser) throws IOException {<br>        if (!closed) {<br>            closed = true;<br>            IOException ioe = null;<br>            try (Closeable c = releaser) {<br>                if (otherParents != null) {<br>                    for (Closeable referent : otherParents) {<br>//...</pre><p>Outras linguagens utilizam uma mescla de convenções, como o C# que incentiva o uso de Pascal case e camel case em <a href="https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/capitalization-conventions">situações específicas</a>.</p><p>A mensagem que desejo passar é: por mais que você goste e prefira uma determinada convenção a outra, os códigos na maioria dos casos tem uma autoria compartilhada, ou seja, você, como desenvolvedor, não vive isolado numa ilha. Esse fato é muito acentuado se você for um profissional de uma empresa ou um desenvolvedor de código aberto. Seu código será lido por outros, será alterado e <strong>brutalmente escrutinizado</strong>. Portanto, vista a camisa da linguagem e procure respeitar as convenções. Muitas delas são apoiadas pelos próprios criadores das linguagens, como caso citado do C# (acima).</p><p>Não estou querendo provocar a ira dos desenvolvedores, mas apenas chamar a atenção para os <strong>detalhes</strong>. De fato, escrito de forma x ou y, o código vai funcionar, porém existe toda uma comunidade que está acostumada com seus próprios trejeitos. Posso arriscar a dizer que suas ligações cerebrais já estão otimizadas para <em>parsear</em> determinadas convenções, o que confere mais agilidade, em nível subconsciente. Ao quebrar essas pequenas convenções, existe um atrito que pode causar uma certa resistência de seus pares.</p><p>Este assunto das convenções é apenas a ponta do iceberg, pois existem mais questões ligadas ao próprio funcionamento de cada linguagem. Podemos citar o caso de <strong>Java x Groovy</strong>: Groovy pode ser escrito <strong>exatamente igual</strong> a um código Java, mas deveríamos escrever de tal forma? Provavelmente não, pois perdemos muito da expressividade do Groovy, que é uma das grandes vantagens de seu uso*.</p><p>E como já diziam, “o diabo mora nos detalhes”. Portanto, mostre que você é um profissional acima da média e se preocupa com os pequenos detalhes (sempre levando em conta, claro, os grandes detalhes — desempenho, código limpo, expressões idiomáticas* =P).</p><p><em>*Vou deixar o assunto das expressões idiomáticas e Java x Groovy para a continuação deste post, aguardem.</em></p><blockquote>Gostou deste artigo? Recomende 👏, comente e compartilhe!</blockquote><blockquote>Siga-nos nas redes sociais e não perca as novidades! <a href="http://www.codeprestige.com.br/">http://www.codeprestige.com.br</a> — <a href="https://www.facebook.com/CodePrestigeBrasil/">Facebook</a>, <a href="https://twitter.com/CodePrestige">Twitter</a>, <a href="https://www.youtube.com/channel/UC-7TVZ9yNWzWA4iRW5umbjw">Youtube</a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec79e10696bb" width="1" height="1" alt=""><hr><p><a href="https://blog.escoladitech.com.br/vista-a-camisa-ao-aprender-uma-nova-linguagem-ec79e10696bb">Vista a camisa ao aprender uma nova linguagem</a> was originally published in <a href="https://blog.escoladitech.com.br/">Escola Ditech</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VRSUS — A VR Duel Shooter (Udacity VR Final Project)]]></title>
            <link>https://medium.com/virtual-reality-pop/vrsus-a-vr-duel-shooter-udacity-vr-final-project-57e680de3abd?source=rss-ede4ef4788ea------2</link>
            <guid isPermaLink="false">https://medium.com/p/57e680de3abd</guid>
            <category><![CDATA[virtual-reality]]></category>
            <category><![CDATA[fps]]></category>
            <category><![CDATA[vr]]></category>
            <category><![CDATA[udacity]]></category>
            <category><![CDATA[htc-vive]]></category>
            <dc:creator><![CDATA[Marcelo Suzumura]]></dc:creator>
            <pubDate>Mon, 28 Aug 2017 03:12:12 GMT</pubDate>
            <atom:updated>2018-09-19T03:03:10.286Z</atom:updated>
            <content:encoded><![CDATA[<h3>VRSUS — A VR Duel Shooter (Udacity VR Final Project)</h3><p>And finally: the <strong>Capstone Project from Udacity VR Nanodegree</strong>. The final summit. The end.</p><p>We were challenged to put all our newly gained knowledge to good use and develop our final project in order to graduate from the program. Udacity set the evaluation bar to the highest level when compared to all required projects we did up until now. I’ll explain the requirements briefly:</p><p>The proposed theme was <strong>Emotion</strong>: the project must draw some kind of emotion from users, like joy, fear or sadness. We were free to choose which platform we wanted our project to be run: Cardboard, Daydream, HTC Vive, Oculus Rift and so on. Fortunately, I was able to develop the project for one of the best VR gear there is now: the HTC Vive. Needless to say, the immersion achievable by this hardware is the best nowadays, mainly because of full controller positional tracking and 6-DoF.</p><p>This time, the evaluation process consisted in achieving points in 3 categories: <strong>Fundamentals</strong>, <strong>Completeness </strong>and <strong>Challenges</strong>.</p><ul><li><strong>Fundamentals</strong>: consisted in featuring some common concepts for a VR experience, like <strong>scale</strong> (are you human? giant? ant?), <strong>animation</strong> (moving objects, animated characters), <strong>lighting</strong> (performant lighting, with the highest quality achievable on the target platform), <strong>physics</strong> (applying forces to objects, making use of gravity, colliders etc)</li><li><strong>Completeness</strong>: this dealt with how to make the project feel like a finished product. For instance: use of gamification (in-game rewards), diegetic UI (UI that is intuitive and self-explanatory), AI (implement intelligent agents), 3D modeling (make your own 3D models with softwares like Blender or Maya)</li><li><strong>Challenges</strong>: these were some specific advanced product concepts, like integrating speech recognition, user testing, implementing multiplayer, publishing to an app store (like Google Play — and having at least 100 downloads)</li></ul><p>We had to earn 500 points in each category, and each topic was worth about a 100 points. For instance, correctly implementing scale, animation, lighting, locomotion and physics would net 500 points and the fundamentals category would be complete.</p><p>I wanted to do something which took advantage of the positional tracking and, since I like FPS games very much, I came up with the idea of making a <strong>Duel Simulator</strong>. Thus <strong>VRSUS</strong> was conceived (yes, VR stands for Virtual Reality and is a pun with versus — crappy, I know =P). The game would evoke the emotion of <strong>feeling the tension</strong> of living a mortal dispute between two individuals. A 1 vs 1 battle to the death. And controlling the guns just like you would a real gun. Not pointing them with the mouse or a gamepad. And of course, feeling like you were actually there, with freedom to look everywhere inside the scene.</p><p>But I didn’t want to do just a “simple” project to hand in to Udacity, graduate and that’s that, it’s over, <em>c’est fini</em>. I wanted to make something really fun and worthwhile to play. So talking with my two partners, we had the idea of raising funds online to further expand and commercially release the game. So, without further ado, I present the result of this project:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F2ffs7nvvTlg%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D2ffs7nvvTlg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F2ffs7nvvTlg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1e98cc31afa20d13b0092f2d205e663e/href">https://medium.com/media/1e98cc31afa20d13b0092f2d205e663e/href</a></iframe><p>For now, <strong>there’s a demo version of the game that can be downloaded for free at </strong><a href="https://igg.me/at/vrsus"><strong>Indiegogo</strong></a>. Please download it and have fun if you have an <strong>HTC Vive</strong>!</p><p>The game as seen on the video took at least 120 hours of development. And we expect to devote much more time to implement the best stuff.</p><p>To sum it up, <strong>I’m now officially graduated from Udacity VR Nanodegree since this project passed with flying colors</strong>, phew! It even got some praise from the project reviewer (thanks, dear anonymous reviewer!):</p><blockquote>One word to describe your project — <strong>Excellent!</strong> It can be seen that you have kept a lot of time and effort in crafting this project. Very much appreciated. The user testing you did really helped in keeping high detail into the game (bullet shells and non-infinite bullets). I also liked the lighting in your game, the enemy AI and the audio. (…) <strong>Your game clearly gives a different experience! I loved it.</strong></blockquote><blockquote><em>— a Udacity Project Reviewer</em></blockquote><p>I’ll write another post with considerations about the entire Nanodegree and the good and not so good points I experienced in it. Stay tuned!</p><ul><li>Official website: <a href="http://vrsus.codeprestige.com.br/">http://vrsus.codeprestige.com.br</a></li></ul><p>If you liked this post, please consider giving me a clap and reading my other articles:</p><ul><li><a href="http://bit.ly/2woFnG0">Projects 1 and 2: Apartment</a></li><li><a href="http://bit.ly/2g5yrXI">Project 3: A Maze</a></li><li><a href="http://bit.ly/2xtBdcQ">Project 4: Puzzler</a></li><li><a href="http://bit.ly/2woGW6N">Project 5: VR Education Museum</a> — it received the <strong>Outstanding Project Award</strong> from Udacity — an award given to student projects that the Udacity team deemed worthy of being showcased to inspire other students :)</li><li><a href="http://bit.ly/udacityvr-rubegoldberg">Project 6: Rube Goldberg Challenge</a></li><li><a href="http://bit.ly/udacityvr-performancebounceback">Project 7: Performance Bounceback</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=57e680de3abd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/virtual-reality-pop/vrsus-a-vr-duel-shooter-udacity-vr-final-project-57e680de3abd">VRSUS — A VR Duel Shooter (Udacity VR Final Project)</a> was originally published in <a href="https://medium.com/virtual-reality-pop">Virtual Reality Pop</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Udacity VR: High Immersion Project — Performance Bounceback]]></title>
            <link>https://medium.com/virtual-reality-pop/udacity-vr-high-immersion-project-performance-bounceback-85a8c312d4fe?source=rss-ede4ef4788ea------2</link>
            <guid isPermaLink="false">https://medium.com/p/85a8c312d4fe</guid>
            <category><![CDATA[vr]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <category><![CDATA[htc-vive]]></category>
            <category><![CDATA[udacity]]></category>
            <dc:creator><![CDATA[Marcelo Suzumura]]></dc:creator>
            <pubDate>Mon, 14 Aug 2017 05:01:29 GMT</pubDate>
            <atom:updated>2017-08-18T17:41:33.307Z</atom:updated>
            <content:encoded><![CDATA[<h3>Udacity VR: High Immersion Project — Performance Bounceback</h3><p>Following along the High Immersion Specialization, we were presented to the <strong>7th project: Performance Bounceback</strong>. We were given a game with a specific set of rules and a <strong>VERY POOR performance</strong>. Our task was to use profiler tools to identify problematic code, correct it and improve the performance of the game, so it could be comfortably played.</p><p>For desktop VR, <strong>90 FPS (frames per second) is a must </strong>— below this threshold, users can get VERY SICK VERY QUICKLY: it is a real problem VR developers have to face constantly and strive hardly to keep the framerate high at all costs. Even I feel weird when I’m developing for VR and the framerate drops due to some mistake I accidentally make; <strong>even a few seconds of FPS dropping can cause a bit of imbalance</strong> and depending on the person <strong>the effects can last a few seconds to a few minutes</strong>. I can tell from experience that it’s a very uncomfortable feeling indeed.</p><iframe src="https://cdn.embedly.com/widgets/media.html?url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DvPfKYorpxa4&amp;src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FvPfKYorpxa4&amp;type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/84f438a12d9b4be41f31e226c1b64de4/href">https://medium.com/media/84f438a12d9b4be41f31e226c1b64de4/href</a></iframe><p>The game is a <strong>room full of trampolines</strong> (288 on the ground and 48 flying = 336 trampolines in total!) and the objetive is to take a ball from the ground and throw it on the trampolines. Each time the ball bounces on a trampoline, 1 point is added to the score. Of course, one of the requirements was to keep all the trampolines intact: you could not remove any of them, nor change their position and behavior. One can only imagine how taxing it was for the CPU to make all the physics calculations.</p><p>To worsen the situation, a ball was spawned every 0.5s, crowding the scene with balls rolling everywhere!</p><p>A <strong>handful of techniques were taught</strong> in the course, such as batching, optimizing physics, creating object pools, best practices on coding and how to configure lighting to obtain the best performance whilst still getting the best graphics possible and not sacrificing the original gameplay.</p><p>Most of the problems were to be <strong>analyzed by observing the profiler</strong> tool, which is part of the Unity Editor. So, if you think your game is performing poorly, you can always take a look at what might be causing problems.</p><h3>Analyzing problems</h3><p>Running the game <strong>without changing</strong> anything:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*08_Tcw1BeiH7QKNZ3zWMIQ.png" /><figcaption>45.4 FPS: it was very sickening *barf*</figcaption></figure><p>After <strong>batching </strong>was enabled:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/1*KOLIJLdJqQ-W8pbanpT6BA.png" /><figcaption>Batching enabled: saved by batching went from zero to 219</figcaption></figure><p>After <strong>physics </strong>were fine tuned removing unnecessary rigid bodies:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/1*kGL6dHnMSBtLa1KsoiX8Mg.png" /><figcaption>Tweaking physics: even more batching saved</figcaption></figure><p>Next, <strong>object pooling</strong> was implemented for the balls. The balls spawned forever, but with pooling, only 20 balls were instantiated and recycled in the scene.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*nJ0n0o8nMwaq3bxE9Ntrvg.png" /><figcaption>Ball pooling: limited number of balls in total</figcaption></figure><p>The <strong>biggest time savings were code-wise</strong> in this project. A lot of code made costly operations inside many of the Update() calls, which inflated the time to process each frame. At this point, the framerate surpassed 90 FPS and the game was not sickening anymore.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/297/1*SN2rdzzEfaHimOUsEg1uoA.png" /><figcaption>Code optimizations made the game fly</figcaption></figure><p>And now for the last optimization, tweaking the <strong>lighting </strong>of the objects. This caused quite a bit of problem, since the rubric required that the global illumination were baked into lightmaps. The problem was that baking global illumination resulted in a very dark scene, which was not what we expected would happen <strong>at all — it simply didn’t make any sense</strong>. Digging into the course forums, I found that my course colleagues ran into this problem as well and ended up resorting to the workaround of increasing the intensity of the other point lights. That’s what I did as well. Lighting optimizations made the game run at a higher fps, but I think it was not much worth it because of the unexpected (and unexplainable) problem that happened and, after all, the game was already above 90 FPS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*DbfjCzCY0nOojjsBW2Fg9w.png" /><figcaption>After lighting tweaks</figcaption></figure><p><strong>I think this project was one of the most useful in the entire course</strong>, since it faces a real life situation — a performance problem — and taught neat techniques and tools to resolve it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*rjDC51k-sRKmYQXwiu4btg.gif" /><figcaption>Is it a basketball game?</figcaption></figure><p>At this point, only one final project separated me and the graduation from the program. Stay tuned for a detailed account for the final project!</p><p>You can check out my other projects for the VR Nanodegree here:</p><ul><li><a href="https://virtualrealitypop.com/udacity-vr-nanodegree-1st-and-2nd-projects-7f4b6413117d">Projects 1 and 2: Apartment</a></li><li><a href="https://virtualrealitypop.com/udacity-vr-nanodegree-3rd-project-a-maze-7c330765378d">Project 3: A Maze</a></li><li><a href="https://virtualrealitypop.com/udacity-vr-4th-project-puzzler-8a667f01cd30">Project 4: Puzzler</a></li><li><a href="https://virtualrealitypop.com/udacity-vr-5th-project-museum-7469b8985dd4">Project 5: VR Education Museum</a> — it received the <strong>Outstanding Project Award</strong> from Udacity — an award given to student projects that the Udacity team deemed worthy of being showcased to inspire other students :)</li><li><a href="http://bit.ly/udacityvr-rubegoldberg">Project 6: Rube Goldberg Challenge</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85a8c312d4fe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/virtual-reality-pop/udacity-vr-high-immersion-project-performance-bounceback-85a8c312d4fe">Udacity VR: High Immersion Project — Performance Bounceback</a> was originally published in <a href="https://medium.com/virtual-reality-pop">Virtual Reality Pop</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Udacity VR: High Immersion Project — Rube Goldberg Challenge]]></title>
            <link>https://medium.com/virtual-reality-pop/udacity-vr-high-immersion-project-rube-goldberg-challenge-57cd57650b89?source=rss-ede4ef4788ea------2</link>
            <guid isPermaLink="false">https://medium.com/p/57cd57650b89</guid>
            <category><![CDATA[udacity]]></category>
            <category><![CDATA[htc-vive]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <category><![CDATA[oculus-rift]]></category>
            <category><![CDATA[vr]]></category>
            <dc:creator><![CDATA[Marcelo Suzumura]]></dc:creator>
            <pubDate>Fri, 04 Aug 2017 23:21:07 GMT</pubDate>
            <atom:updated>2017-08-08T22:32:10.648Z</atom:updated>
            <content:encoded><![CDATA[<h3>Udacity VR: High Immersion Project — Rube Goldberg Challenge</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*s80gTHjQfgFCYIqo2JOpwg.gif" /><figcaption>Very immersive indeed ;)</figcaption></figure><p>After completing the VR Foundations part of the Nanodegree, we had to complete <strong>one </strong>of three courses in the Specialization area. Those were:</p><ul><li><strong>Mobile VR: 360 media</strong> — focused on producing 360 videos for storytelling, this specialization delved a lot into video production, from concept to recording and editing, and 360 camera hardware (I watched most of the content, but ended up not completing it).</li><li><strong>Desktop VR: High Immersion with Unity </strong>— focused on highend devices, such as the HTC Vive or Oculus Rift, this specialization taught how to make highly interactive content that takes full advantage of positional tracking, possible only with this category of devices.</li><li><strong>Desktop VR: High Immersion with Unreal </strong>— focused on highend devices just as the Unity specialization, but using Unreal as the game engine. At the time of this writing, this specialization was still on beta phase and completing it would not be considered valid graduation-wise.</li></ul><p>I thought a lot about which path to choose and I ended up investing on a HTC Vive to pursue the High Immersion specialization. As I am a software developer, I was very keen to produce something out of code and did not find the 360 mobile video path that attractive, although I was on the verge of pursuing it for the lack of a highend VR headset. Now that I finished the ND, I think that was the best outcome (more on it in a future article). <strong>It was a steep investment, but the most fun and fulfilling, by far</strong>.</p><p>For the High Immersion with Unity path we had to complete 2 projects: the <strong>Rube Goldberg Challenge</strong> (the subject of this article) and the <strong>Performance Bounceback</strong> (more on it in another article — we had to use profiler tools to optimize the performance of a given game).</p><p>In <strong>Rube Goldberg</strong> we had to build a metagame, in which we give the player the tools necessary for a ball to reach the goal, whilst collecting stars along the path. It’s the players job to position the given tools to make it possible.</p><p>It’s easier to understand by seeing it. Here’s some footage from the game:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FZJP_YVnw-Os%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DZJP_YVnw-Os&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FZJP_YVnw-Os%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/20149fa93086aa171c96d02736aacc82/href">https://medium.com/media/20149fa93086aa171c96d02736aacc82/href</a></iframe><p>This project was more of an introduction on how to use <strong>SteamVR</strong> in Unity to make the camera match the position of the headset and how to make the controllers interact with the virtual objects inside the game. The course videos and activities did a great job on teaching the boilerplate code to accomplish all the interactive features expected in a VR game for a 6-dof headset.</p><p>Here are some of the tools available to players:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*aYz1u-58crWQvjXTiFjOgw.gif" /><figcaption>Metal planks help guide the ball. Is this a bowling lane?</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*DqZUXenaqdZut3bT78g06Q.gif" /><figcaption>Fans blow “air” to push the ball (ok, there’s no air, I admit)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*-Shj87F0iBz4csXb0O1KyA.gif" /><figcaption>Trampolines make the ball bounce. Yaaaaaaay!</figcaption></figure><p>Rube Goldberg Challenge was the 6th project that I completed for the VR Nanodegree and it was one of the most pleasurable to develop, although a bit time consuming (somewhere about 30 hours of development — even with all the 3D models provided, there was a LOT of code to write).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*zOCYzTEl3xHHCHoSM3bmRA.gif" /><figcaption>Project approved: Level complete!</figcaption></figure><p>You can check out my other projects for the VR Nanodegree here:</p><ul><li><a href="https://virtualrealitypop.com/udacity-vr-nanodegree-1st-and-2nd-projects-7f4b6413117d">Projects 1 and 2: Apartment</a></li><li><a href="https://virtualrealitypop.com/udacity-vr-nanodegree-3rd-project-a-maze-7c330765378d">Project 3: A Maze</a></li><li><a href="https://virtualrealitypop.com/udacity-vr-4th-project-puzzler-8a667f01cd30">Project 4: Puzzler</a></li><li><a href="https://virtualrealitypop.com/udacity-vr-5th-project-museum-7469b8985dd4">Project 5: VR Education Museum</a> — it received the <strong>Outstanding Project Award</strong> from Udacity — an award given to student projects that the Udacity team deemed worthy of being showcased to inspire other students :)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=57cd57650b89" width="1" height="1" alt=""><hr><p><a href="https://medium.com/virtual-reality-pop/udacity-vr-high-immersion-project-rube-goldberg-challenge-57cd57650b89">Udacity VR: High Immersion Project — Rube Goldberg Challenge</a> was originally published in <a href="https://medium.com/virtual-reality-pop">Virtual Reality Pop</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Udacity VR: 5th Project — VR Education Museum]]></title>
            <link>https://medium.com/virtual-reality-pop/udacity-vr-5th-project-museum-7469b8985dd4?source=rss-ede4ef4788ea------2</link>
            <guid isPermaLink="false">https://medium.com/p/7469b8985dd4</guid>
            <category><![CDATA[vr]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <category><![CDATA[google-cardboard]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[udacity]]></category>
            <dc:creator><![CDATA[Marcelo Suzumura]]></dc:creator>
            <pubDate>Wed, 01 Mar 2017 03:17:10 GMT</pubDate>
            <atom:updated>2017-06-27T04:31:51.296Z</atom:updated>
            <content:encoded><![CDATA[<h3>Udacity VR: 5th Project — VR Education Museum</h3><h3>Project Overview</h3><p>This is the last project from the “core” track of the Nanodegree. Only the specialization projects will remain before being able to graduate from the program.</p><p>Here’s the Android app in case anyone is interested: <a href="https://play.google.com/store/apps/details?id=com.marcelosuzumura.VREducationMuseum">https://play.google.com/store/apps/details?id=com.marcelosuzumura.VREducationMuseum</a></p><p>For this 5th project, students were required to <strong>research</strong> one of the following subjects:</p><ul><li>a VR company</li><li>a VR technology</li><li>an industry that could be impacted by VR</li></ul><p>Since I’m very interested in <strong>education</strong> and particularly to how VR is/will be applied to education, I chose to investigate it further.</p><p>To present the findings, students were required to make a <strong>VR scene showcasing their research</strong>, such as a virtual museum, a science fair or a gallery-like space (instead of simply writing a report).</p><p>In my research, I found many interesting projects which attempted to teach students on a broad range of subjects, most of them appealing to young learners still in basic education. Of which, I chose to showcase three of them, in the following subjects:</p><ul><li><strong>History</strong>: Apollo 11 VR Experience</li><li><strong>Biology/History/Geography</strong>: Dinos do Brasil</li><li><strong>Anatomy/Biology</strong>: Anatomyou VR</li><li>And as a bonus, <strong>Physics</strong>: my own attempt of creating simple experiments in Newtonian mechanics</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zBjYuoIansXTTNo0ZFLZ8A.png" /><figcaption>The VR Education Museum: developed and curated by me =)</figcaption></figure><h3>Museum Featured Projects</h3><h4>Apollo 11 VR Experience</h4><p>This project invites the user to experience the historic events of men’s landing on the Moon.</p><p>It is part documentary, using real audio and video footage from the actual events back in 1969, and part interactive, for instance, allowing viewers/players to explore the lunar surface or fly the command module.</p><p>It’s available on <a href="http://store.steampowered.com/app/457860/">Steam</a> for the HTC Vive, Oculus Rift and OSVR.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e4Uhm1FIQHPFrNuvvwF_0A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5vgHSxmMQzH3aTpjuzylLw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qwhLs-sKC6srgUEaMpr5Rw.jpeg" /><figcaption>Apollo 11 VR earned many awards</figcaption></figure><p><a href="http://immersivevreducation.com/apollo11vr/">Apollo 11 VR official website</a></p><p><a href="http://store.steampowered.com/app/457860/">Apollo 11 VR on Steam</a></p><h4>Dinos do Brasil</h4><p>Dinos do Brasil is a project showcasing dinosaurs that lived in Brazil, millions of years ago. It is a 30 minutes tour for the Oculus Rift, made in Unreal 4.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*t1jq4PhHY_ef8-7fCwKjkg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NRDS4o4OLoN727bcrknNlA.jpeg" /><figcaption>Uberabatitan, one of the featured Brazilian dinosaurs</figcaption></figure><p>It is permanently exposed in Catavento Cultural Museum, in São Paulo, Brazil, which is considered to be the largest interactive museum in Latin America, with an average of 10,000 visitors per day.</p><p>What makes dinosaurs great to be depicted in VR is their gigantic scale, which fits perfectly the immersive aspect of VR. You can really feel how small you would be compared to these majestic creatures.</p><p><a href="http://www.dinosdobrasil.com.br/index-en.html">Dinos do Brasil official website</a></p><p><a href="http://www.cataventocultural.org.br/home_us">Catavento Cultural Museum official website</a></p><h4>Anatomyou VR</h4><p>Anatomyou VR is a Cardboard app for Android and iOS that let’s users to travel inside the human body. It was designed to enhance the education of health science students, residents and specialists that need to improve their anatomical knowledge, but ultimately can be used by anyone interested in anatomy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*uJR5pw9CGVpQk5aAYkgUFg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*XRdSzTLwpCjTeTlCM7fONA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*x94bPnd5qs_Hy6JoNc77-w.png" /><figcaption>Anatomyou VR: some of the anatomy that can be studied</figcaption></figure><p>Some features of the app are paid, but you can have a great idea of its potential by evaluating the free parts of the app.</p><p><a href="http://anatomyou.com/en/">Anatomyou VR official website</a></p><h4>Physics Experiments</h4><p>I decided to make two experiments, which would only be possible to simulate on a virtual environment:</p><ul><li>an inclined plane with no friction: the classical inclined plane experiment, in which a block slides down an inclined plane, but with the perk that no friction is only possible to achieve in a virtual environment; in the real world, it doesn’t matter how smooth a surface is, there will be always be friction and the block will not slide perfectly.</li><li>conservation of energy experiment: I made a ball that converts potential energy in kinectic energy (back and forth) never losing any energy (in the form of heat), effectively bouncing forever; which again, would not be possible to simulate in the real world, because no material has perfect bounciness and some energy is always lost in the form of heat.</li></ul><p>Pictures of the physics experiments can be seen in the end of the next section.</p><h3>The VR Education Museum</h3><p>The museum is comprised of five rooms, as described below.</p><p><strong>Dystopian classroom</strong>: I started the museum visit with the provocative question: will VR make a classroom be a virtual space full of avatars as depicted in the book <a href="https://www.amazon.com/Ready-Player-One-Ernest-Cline/dp/0307887448/ref=sr_1_1?ie=UTF8&amp;qid=1488336445&amp;sr=8-1&amp;keywords=ready+player+one">Ready Player One, by Ernest Cline</a>?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pxBFUBWfUp9IeOV6jNdzsQ.png" /><figcaption>Ernest Cline’s dystopian classroom: avatars attending a traditional class in a virtual space</figcaption></figure><p>I think not: I bet that VR will enhance education to a whole new level of imersiveness.</p><p><strong>Apollo 11 VR Experience exhibit</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rpk0E5uMXe2UYMF_qdXB1Q.png" /><figcaption>Apollo 11 VR Experience exhibit: traveling to distant places and experiencing historic events</figcaption></figure><p><strong>Dinos do Brasil exhibit</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*al1uyp3QdmRHI-to70_HCw.png" /><figcaption>Dinos do Brasil exhibit: go back in time and be amused by the gigantic scale of dinosaurs</figcaption></figure><p><strong>Anatomyou VR exhibit</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6x6ZebnJZMhrkMdogtaqZg.png" /><figcaption>Anatomyou VR exhibit: get inside the human body</figcaption></figure><p><strong>Physics Experiments exhibit</strong>: my simple experiments on Physics</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xwcqckXcenLoU8Enhzcq7g.png" /><figcaption>Physics Experiments exhibit: my own (simple) creations (I had to pay a tribute to the great Newton, as seen on the right wall)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hQBGG3Coc2LoRod-_QyhMQ.png" /><figcaption>Physics: Inclined Plane experiment — the cube slides down with no friction</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FXAoGmhKA4122SY8ypqljg.png" /><figcaption>Physics: Conservation of Energy experiment — the ball never stops bouncing because it doesn’t lose energy in the form of heat</figcaption></figure><p><a href="https://github.com/marcelosuzumura/vr-education-museum">Source code (for Unity 5.5.0f3 and Google Cardboard) can be obtained here</a> and you can be inspired by the code itself (and use parts of it), but <strong>please <em>do not redistribute the 3rd party projects screenshots</em></strong>. Please, play fair =)</p><p>And again, here’s the Android app if you got curious about seeing the project in action: <a href="https://play.google.com/store/apps/details?id=com.marcelosuzumura.VREducationMuseum">https://play.google.com/store/apps/details?id=com.marcelosuzumura.VREducationMuseum</a></p><p>I wish to thank <a href="https://medium.com/u/4fd6a1770859">Keila Keiko Matsumura</a> (Dinos do Brasil) and the StereoInMotion Management Team (Anatomyou VR) for their kind words.</p><p>If you wish, you can check out my other projects for the VR Nanodegree here:</p><ul><li><a href="https://virtualrealitypop.com/udacity-vr-nanodegree-1st-and-2nd-projects-7f4b6413117d">Projects 1 and 2: Apartment</a></li><li><a href="https://virtualrealitypop.com/udacity-vr-nanodegree-3rd-project-a-maze-7c330765378d">Project 3: A Maze</a></li><li><a href="https://virtualrealitypop.com/udacity-vr-4th-project-puzzler-8a667f01cd30">Project 4: Puzzler</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7469b8985dd4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/virtual-reality-pop/udacity-vr-5th-project-museum-7469b8985dd4">Udacity VR: 5th Project — VR Education Museum</a> was originally published in <a href="https://medium.com/virtual-reality-pop">Virtual Reality Pop</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Udacity VR: 4th project — Puzzler]]></title>
            <link>https://medium.com/virtual-reality-pop/udacity-vr-4th-project-puzzler-8a667f01cd30?source=rss-ede4ef4788ea------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a667f01cd30</guid>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[udacity]]></category>
            <category><![CDATA[vr]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <dc:creator><![CDATA[Marcelo Suzumura]]></dc:creator>
            <pubDate>Sat, 11 Feb 2017 16:17:06 GMT</pubDate>
            <atom:updated>2017-02-15T02:49:22.511Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qj4ESwtTMdtULHEmZEbn9A.png" /></figure><p><strong>Disclaimer</strong>: this article is <strong>the actual 4th project</strong> for Udacity’s VR Nanodegree, differently to my other previous project articles, there is no code submission this time, and this article is going to be graded instead! (see the end of this post for links to my other articles =P).</p><p>Update: it was already graded and approved on the first try =)</p><h3>What is this project about?</h3><p>For this project we are required to design a simple <strong>mobile game/app</strong>, having the user experience in mind. To achieve this goal, we will conduct <strong>user testing</strong> to get feedback frequently, so that changes are easier to make in early stages of development. It is important to note that we take <strong>ergonomics, aural and visual stimuli</strong> into account to implement an intuitive and easy to play game.</p><h3>Puzzler: a children’s game in a new light</h3><p>Everyone should be familiar with the children’s game <a href="https://en.wikipedia.org/wiki/Simon_Says"><strong>Simon Says</strong></a>, so one might wonder how interesting it could be as a VR app?</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FU40Bi4yeiKU%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DU40Bi4yeiKU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FU40Bi4yeiKU%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b6446b3d1966eb25df412186a9bfd045/href">https://medium.com/media/b6446b3d1966eb25df412186a9bfd045/href</a></iframe><p>It turned out simple enough for everyone to play without any guidance if they had minimal previous Cardboard experience. You just have to repeat the orb sequence shown to you to win the game! And experience a medieval setting, on a not-so-much-a-kid’s-game-anymore!</p><h3>Design and Development</h3><h4>Persona: a typical user</h4><p>I had in mind the curious type of user, as follows:</p><p>Viktor Reilly (aka VR), 25, working with IT</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*ViAtXYJAMzR8xee58WAaVg.jpeg" /><figcaption>Image credit: Sander Smeekes</figcaption></figure><p>After just graduating from a computer science major, Viktor has a keen interest in new technologies. He likes to keep updated with the latest trends, like VR nowadays. He likes to test every free VR app he stumbles upon and likes to show them to other people so they get to know how cool VR is.</p><p>“I like to try every new VR app that I come across; it’s free, anyway.” — Viktor Reilly</p><h4>UI sketches: fast prototyping</h4><p>First, I made a paper prototype to get a overall feeling of how the game would look like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UJfQFGF_XoqDJ88EMDI0hA.jpeg" /><figcaption>Overall look of the game</figcaption></figure><p>Then, I made some prototypes to show the game’s “initial screen”. And at last, the “you win” screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8QBQZNPiPQEQIy_GTf-99g.jpeg" /><figcaption>Start and finish screen prototypes</figcaption></figure><p>After beating the game, the user can restart and play again (and again =P).</p><h4>User testing, feedback and changes</h4><h4><strong>1st user testing</strong></h4><p>It was time to develop a simple version of the app fast, without too much detail, and show it to some potential users to test it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gDq6yJ1wn0L8CBL0jzv0dQ.png" /><figcaption>Early version: too dark and no flames</figcaption></figure><p>I asked them what they felt in a place like this, and why.</p><p><strong>User 1</strong>: “it’s dark and creepy, I can’t see much detail, it’s too dark, maybe with some lights it would be better”</p><p><strong>User 2</strong>: “it looks interesting, I feel a bit of fear because it’s ominous; those torches could have flame; I don’t know what those orbs are for” (the game mechanics weren’t implemented yet)</p><p>Analyzing the feedback received, I decided to create a particle system to simulate fire on the torches. It ended up becoming a nice touch to the overall feeling of the scene.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*Crh3jET2nZ0olt9Oasz-wg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*wKh3lkU5IY-0NNzCGdYKfQ.png" /><figcaption>Unlit and lit torch</figcaption></figure><p><strong>2nd user testing</strong></p><p>After implementing the game mechanics, I did a second round of user testing. It was possible to start the game, repeat the orb sequence and then restart the game.</p><p><strong>User</strong>: “start the game… ok, hey, the orbs are lighting… uhh” [<em>fumbles and clicks on the wrong orb, making the game show another sequence — after that getting the sequence all right</em>]. “I won!! restarting… hmm I think it took too much to restart [<em>the movement to get to the starting point was about 4 seconds</em>]”.</p><p>So I made the restart movement be as fast as the start movement and it improved a bit.</p><h3>Game design details</h3><h4>Player movement</h4><p>The movement from the start to gameplay area, and from the gameplay to the end area takes place with a uniform speed and a straight line, since accelerated or erratic movement tends to make people feel uncomfortable (usually with headaches, dizziness or sickness).</p><h4><strong>Visuals</strong></h4><p>The dungeon-like room looks ominous and is located in a mountainous area to give the player a feeling of something mystical in a medieval setting. And notice the (wine?) barrels scattered on the room, as was costumary in the old castles from that time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/1*TIUMp7P_4dTRRRybr1FuAQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/539/1*qfO3fPDwWDE-P2rRdQjUUQ.png" /><figcaption>Barrels and mountains help setting the medieval mood</figcaption></figure><h4>Lighting</h4><p>As mentioned before, there are fire on the torches to make the lights more believable and more akin to medieval times. And the outdoor lighting mimics that of the full moon.</p><h4>Orbs appearances</h4><p>I made the orbs with a strong, brilliant and metallic blue finish, because they looked like more “out of this world”. Plus, they stood out a lot from the background, being immediately noticeable upon entering the game area, leading the player vision to them, making the gameplay more intuitive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/1*wOtvsW4hljNAspEdtPmJIw.png" /><figcaption>Brilliant metallic blue finish seems “out of this world”</figcaption></figure><h4>Interaction feedback</h4><p>When it’s the player turn to repeat the sequence, the orb which is focused by the crosshair changes color and the crosshair itself turns to a circunference; and upon being selected, it makes a sound to let the player know that their selection was correct (the same sound when the sequence was shown is played) or incorrect (an unpleasant sound).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/405/1*QBKda6nOgitUJ4tOoUP-7Q.png" /><figcaption>Orbs change color when focused and the crosshair changes format</figcaption></figure><h4>Audio</h4><p>Outside the room (at the start and end areas), there are crickets chirping as is expected of an outdoor place at night. Inside, the user can hear a sound that reminds of some kind of mystical chanting, to match the magical look of the orbs.</p><h3>Summing up</h3><p>The <strong>design </strong>of this mobile app took an effort to <strong>make the user comfortable</strong> while experiencing the VR immersion, trying to avoid simulator induced sickness, and at the same time, it <strong>relied on user testing</strong> and <strong>prototyping</strong> from early on, to be able to respond to changes derived from <strong>user feedback</strong> in a faster and easier way.</p><p>Last, but not least, the design <strong>strived to make the app to be a fun, interactive and intuitive experience</strong> altogether.</p><p>If you wish, you can check out my other projects for the VR Nanodegree here:</p><ul><li><a href="https://virtualrealitypop.com/udacity-vr-nanodegree-1st-and-2nd-projects-7f4b6413117d">Projects 1 and 2: Apartment</a></li><li><a href="https://virtualrealitypop.com/udacity-vr-nanodegree-3rd-project-a-maze-7c330765378d">Project 3: A Maze</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a667f01cd30" width="1" height="1" alt=""><hr><p><a href="https://medium.com/virtual-reality-pop/udacity-vr-4th-project-puzzler-8a667f01cd30">Udacity VR: 4th project — Puzzler</a> was originally published in <a href="https://medium.com/virtual-reality-pop">Virtual Reality Pop</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Udacity VR Nanodegree: 3rd project — A Maze]]></title>
            <link>https://medium.com/virtual-reality-pop/udacity-vr-nanodegree-3rd-project-a-maze-7c330765378d?source=rss-ede4ef4788ea------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c330765378d</guid>
            <category><![CDATA[udacity]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[vr]]></category>
            <dc:creator><![CDATA[Marcelo Suzumura]]></dc:creator>
            <pubDate>Thu, 02 Feb 2017 02:18:39 GMT</pubDate>
            <atom:updated>2017-02-15T02:49:05.519Z</atom:updated>
            <content:encoded><![CDATA[<p>The 3rd project focused a bit more on the programming side, to get more familiar with C# and how to control objects with code.</p><p>Just like the previous projects, the 3D models and some code stubs were provided.</p><p>The task this time was to make <strong>a maze</strong> (pun intended, as said themselves :P) for the player to explore for about 2 min, by using waypoints to “walk” (more akin to teleportation).</p><p>You had to implement a hidden key which had to be collected to open the door and beat the maze. As well as put some coins to be collected, just for the sake of collecting it. Not any kind of scoring was required to be implemented. Just explore, find and get the key then exit the maze.</p><p>Some code stubs were provided (with comments from the staff to guide the implementation), such as the script for controlling how the player would collect the key or the coins, or how to open the door after getting the key, or how to activate sounds when the player interacted with objects.</p><pre>using System.Collections;<br>using System.Collections.Generic;<br>using UnityEngine;</pre><pre>public class Coin : MonoBehaviour <br>{<br>    //Create a reference to the CoinPoofPrefab</pre><pre>    public void OnCoinClicked() {<br>        // Instantiate the CoinPoof Prefab where this coin is located<br>        // Make sure the poof animates vertically<br>        // Destroy this coin. Check the Unity documentation on how to use Destroy<br>    }</pre><pre>}</pre><pre>=======</pre><pre>using System.Collections;<br>using System.Collections.Generic;<br>using UnityEngine;</pre><pre>public class Door : MonoBehaviour <br>{<br>    // Create a boolean value called &quot;locked&quot; that can be checked in Update()</pre><pre>void Update() {<br>        // If the door is unlocked and it is not fully raised<br>            // Animate the door raising up<br>    }</pre><pre>public void Unlock()<br>    {<br>        // You&#39;ll need to set &quot;locked&quot; to false here<br>    }<br>}</pre><h3>Building the scene</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*IpI6XQRRuuB2yCxpStTi1g.png" /><figcaption>Provided empty scene</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/1*koflNx1o3sbomPS0M5c6yg.png" /><figcaption>Putting wall pieces together</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/1*ExZ5tqUF6qQWgBg4EU17QQ.png" /><figcaption>Putting some props</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A007UhL1Lw51wPRZCAdaxA.png" /><figcaption>A monument for Udacity</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LLi-pdE2MZ9rusUPUhc9ZQ.png" /><figcaption>Final maze layout: bird’s-eye view</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/1*BX49hKdtNM5W1w2Dzdf8vw.png" /><figcaption>Waypoint system in position (the orange dots)</figcaption></figure><p>This time, baking the lights took a bit of time and processing power: you had to change a lot of things and then bake the lights as little as possible, to save time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*QTPgZSBbKvvUuTNWEwr_Ng.png" /><figcaption>Baking the lights: took some processing power</figcaption></figure><h3>Running on Android</h3><p>I tested the game on a Samsung Galaxy Alpha (which boasts an Octa-core 4x1.8 GHz Cortex-A15 &amp; 4x1.3 GHz Cortex-A7 processor, a Mali-T628 MP6 graphical processor and 2GB of RAM). It ran smoothly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*08NW1Eu57YlRkhzw6YX7HA.png" /><figcaption>Inside the maze</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KJkFvaMTy9WsmT6eXCBAKg.png" /><figcaption>The monument as seen by the eyes of the player</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MzMSPsR0swYujjKq6JB6Og.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LIqarhAhlmQCRmerlZkx7A.png" /><figcaption>Some coins</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nO0_OLFwIsrEzXP5--mb7Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yklb2v89KBqMqMAviY9cPw.png" /><figcaption>The key and the door</figcaption></figure><p>As it was a little too simple, I chose to put 7 coins scattered around the maze and kept score of how many the player got before exiting the maze, as a little extra. The score was shown inside the temple, after opening the exit door.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4qDTy8ehUCLYcme25wTaow.png" /></figure><p>And now for the reviewing process.</p><h3>Submission and Reviewing</h3><p>The first reviewer was super nice, put a lot of emojis on the comments and whatnot, <strong>but I got rejected</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*LuJgcCq0UQOZ0Z12fHMAfg.png" /><figcaption>Praise, but how about NO!</figcaption></figure><p>The problem is that the reviewer took a verbatim interpretation of the rubric. Out of 14 items, just one was rejected. The defective item was: “The student creates a means for the key to be collected and stores the status of whether the user has the key or not.” (well, technically just half was missing, since it was possible to collect the key).</p><p>Thing is, it was NOT necessary to keep the status of the user having the key or not, because the code stub on the key was saying that you had to call the door.Unlock() method when you clicked on the key to collect it, so just the door knowing that it was unlocked would do the trick.</p><pre>====<br>Stub<br>====</pre><pre>public void OnKeyClicked()<br>{<br>        // Instatiate the KeyPoof Prefab where this key is located<br>        // Make sure the poof animates vertically<br>        // Call the Unlock() method on the Door<br>        // Set the Key Collected Variable to true<br>        // Destroy the key. Check the Unity documentation on how to use Destroy<br>}</pre><pre>=============================<br>And I implemented it like so:<br>=============================</pre><pre>public void OnKeyClicked()<br>{<br>        // Instatiate the KeyPoof Prefab where this key is located<br>        // Make sure the poof animates vertically<br>        Instantiate(keyPoof, this.transform.position, this.transform.rotation);</pre><pre>        // Call the Unlock() method on the Door<br>        this.door.GetComponent&lt;Door&gt;().Unlock();</pre><pre>        // Set the Key Collected Variable to true<br>        // seems like it&#39;s not necessary<br>        //this.keyCollected = true;</pre><pre>        // Destroy the key. Check the Unity documentation on how to use Destroy<br>        Destroy(this.gameObject);<br>}</pre><p>Well, if the door is unlocked, why would we need to set keyCollected = true ? So I commented it out and told that it was not necessary and the reviewer didn’t like it. OK, I didn’t agree but let’s change it to meet the rubric.</p><p>Turns out my OnKeyClicked method ended up like this:</p><pre>using System.Collections;<br>using System.Collections.Generic;<br>using UnityEngine;</pre><pre>public class Key : MonoBehaviour <br>{<br>    //Create a reference to the KeyPoofPrefab and Door<br> public GameObject keyPoof;<br> public GameObject door;</pre><pre>//Create a variable to store whether or not the key has been collected or not<br> private bool keyCollected = false;</pre><pre>void Update()<br> {<br>  //Not required, but for fun why not try adding a Key Animation here :)</pre><pre>// Sure, why not =)<br>  // (inspired by the coconut)<br>  this.transform.position = new Vector3 (this.transform.position.x, this.transform.position.y + (Mathf.Sin (Time.time * 5.0f) / 50f), this.transform.position.z);<br> }</pre><pre>public void OnKeyClicked()<br> {<br>        // Instatiate the KeyPoof Prefab where this key is located<br>  // Make sure the poof animates vertically<br>  Instantiate(keyPoof, this.transform.position, this.transform.rotation);</pre><pre>// Call the Unlock() method on the Door<br>  this.door.GetComponent&lt;Door&gt;().Unlock();</pre><pre>// Set the Key Collected Variable to true<br>  this.keyCollected = true;</pre><pre>// Destroy the key. Check the Unity documentation on how to use Destroy<br>  Destroy(this.gameObject);<br>    }</pre><pre>}</pre><p>I set keyCollected = true, for <strong>ABSOLUTELY NO REASON WHATSOEVER</strong>, just to get approved. And indeed it got a pass mark on my second submission (by another reviewer, or so it seems).</p><h3>Final words</h3><p>Although I had this hiccup on the reviewing process, overall, it is nice to develop these projects to consolidate what I see on the course. For now, it’s being an interesting experience.</p><p>If you wish, you can check out my other projects for the VR Nanodegree here:</p><ul><li><a href="https://virtualrealitypop.com/udacity-vr-nanodegree-1st-and-2nd-projects-7f4b6413117d">Projects 1 and 2: Apartment</a></li><li><a href="https://virtualrealitypop.com/udacity-vr-4th-project-puzzler-8a667f01cd30#.8inqi0jab">Project 4: Puzzler</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c330765378d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/virtual-reality-pop/udacity-vr-nanodegree-3rd-project-a-maze-7c330765378d">Udacity VR Nanodegree: 3rd project — A Maze</a> was originally published in <a href="https://medium.com/virtual-reality-pop">Virtual Reality Pop</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Some courses from Udacity VR Nanodegree are free (for those who still didn’t know)]]></title>
            <link>https://medium.com/virtual-reality-pop/some-courses-from-udacity-vr-nanodegree-are-free-for-those-who-still-didnt-know-2b0d41d30294?source=rss-ede4ef4788ea------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b0d41d30294</guid>
            <category><![CDATA[online-courses]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <category><![CDATA[vr]]></category>
            <category><![CDATA[udacity]]></category>
            <dc:creator><![CDATA[Marcelo Suzumura]]></dc:creator>
            <pubDate>Thu, 02 Feb 2017 01:02:40 GMT</pubDate>
            <atom:updated>2017-08-05T17:22:48.735Z</atom:updated>
            <content:encoded><![CDATA[<p>For people still considering to enroll in the Nanodegree, there’re two options to test it for free:</p><ul><li>the 7 day trial: unless you like it and decide to continue, remember that you have to cancel the trial before it expires, or you will get billed and automatically enrolled for real</li><li><strong>OR a better option</strong>, which consists in taking 3 out of 6 courses that compose the Nanodegree, <strong>for free</strong></li></ul><p>You can pratically attend to the entire first half of the Nanodegree for free:</p><ol><li><strong>Introduction to Virtual Reality</strong>: <a href="https://udacity.com/course/introduction-to-virtual-reality--ud1012/">https://udacity.com/course/introduction-to-virtual-reality--ud1012/</a></li><li><strong>VR Scenes and Objects</strong>: <a href="https://udacity.com/course/vr-scenes-and-objects--ud1013/">https://udacity.com/course/vr-scenes-and-objects--ud1013/</a></li><li><strong>VR Software Development</strong>: <a href="https://udacity.com/course/vr-software-development--ud1014/">https://udacity.com/course/vr-software-development--ud1014/</a></li></ol><p>What’s the catch for taking these courses for free, one might wonder. Apparently, free alumni don’t have access to the projects, so you’ll miss a great deal of the action. And of course they can’t submit projects to be reviewed by Udacity’s expert staff.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/281/1*-FSDFpbw4ciGEww1hMkJxw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/278/1*4cc9d_KpkpbeiqkdEh-F4w.png" /><figcaption>Left: paid nanodegree; Right: free course</figcaption></figure><p>And you miss the other half of the Nanodegree, which is: 4. VR Design, 5. VR Platforms &amp; Applications and 6. Concentration: 360 Media or High Immersion in Unreal or Unity.</p><p>All in all, maybe this tip can help someone make a better informed decision.</p><p>If you want to know better which projects you will build in the Nanodegree, you can read these brief articles:</p><ul><li><a href="https://virtualrealitypop.com/udacity-vr-nanodegree-1st-and-2nd-projects-7f4b6413117d">Projects 1 and 2: Apartment</a></li><li><a href="https://virtualrealitypop.com/udacity-vr-nanodegree-3rd-project-a-maze-7c330765378d">Project 3: A Maze</a></li><li><a href="https://virtualrealitypop.com/udacity-vr-4th-project-puzzler-8a667f01cd30">Project 4: Puzzler</a></li><li><a href="https://virtualrealitypop.com/udacity-vr-5th-project-museum-7469b8985dd4">Project 5: VR Education Museum</a> — it received the <strong>Outstanding Project Award</strong> from Udacity — an award given to student projects that the Udacity team deemed worthy of being showcased to inspire other students :)</li><li><a href="http://bit.ly/udacityvr-rubegoldberg">Project 6: Rube Goldberg Challenge</a></li></ul><p>These were the projects as of the second quarter of 2017. It may differ a bit now.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b0d41d30294" width="1" height="1" alt=""><hr><p><a href="https://medium.com/virtual-reality-pop/some-courses-from-udacity-vr-nanodegree-are-free-for-those-who-still-didnt-know-2b0d41d30294">Some courses from Udacity VR Nanodegree are free (for those who still didn’t know)</a> was originally published in <a href="https://medium.com/virtual-reality-pop">Virtual Reality Pop</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Udacity VR Nanodegree: 1st and 2nd projects]]></title>
            <link>https://medium.com/virtual-reality-pop/udacity-vr-nanodegree-1st-and-2nd-projects-7f4b6413117d?source=rss-ede4ef4788ea------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f4b6413117d</guid>
            <category><![CDATA[udacity]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[unity]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <category><![CDATA[vr]]></category>
            <dc:creator><![CDATA[Marcelo Suzumura]]></dc:creator>
            <pubDate>Wed, 25 Jan 2017 23:53:03 GMT</pubDate>
            <atom:updated>2017-02-15T02:51:10.494Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s been about two weeks since I started the Nanodegree and fortunately I was already able to successfully submit the first two projects. For people curious about the Nanodegree, here follows a brief description of what was required.</p><p>The <strong>1st project</strong> was just an intro to get acquainted with Unity 3D editor and to get to run your project/app into your cellphone. It was mostly installing Unity 5.5.0 and Android Tools (or iOS tools, if you have an iPhone — I have an Android) and getting everything working together.</p><p>All the project resources were given and you just had to import the project on Unity editor and start making the required changes, as listed in the project rubric. The rubric is a set of specific instructions on how your project will be reviewed by the course staff — and <strong>they are thorough with that</strong>! (more on that when I talk about the 2nd project)</p><p>For this 1st project, you had to make some buttons call different actions that caused a change to the virtual world. The actions were provided and you had to wire the buttons to some actions. For instance, I wired one button to make blocks fall from the sky, and another changed day to night to day again. You had to put your name on a banner too.</p><p>They always require that you take screenshots of the app running on your cellphone, to at least prove (to some extent) that you could see the end product running on the final user hardware.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jtVKPD0xzlk1k26Jbj5SSQ.png" /><figcaption>Project 1 running on a cellphone</figcaption></figure><p>It was approved on my first submission, since it was so simple.</p><p>The <strong>2nd project</strong> was a bit more elaborated. You had to decorate an apartment with furniture in a pleasing and believable way and configure the lights to make it feel realistic. You also had to make an Earth globe spin when the user clicked on the screen. As usual, the starter project was given and you imported it on Unity; then started making changes to the empty room.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*ZFSO9If3ejFtSVB2cMl1oQ.png" /><figcaption>Empty room</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*FzWsPLR108VrtXFe72454g.png" /><figcaption>Some furniture is placed, but no lights, everything is bland</figcaption></figure><p>Without lighting it’s very hard to position the objects correctly, since you can’t tell exactly where they are in the scene.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/879/1*qAM_hY28aB2DXwvz_YIDow.png" /><figcaption>Placing the lights: that’s the lightbulbs on the scene</figcaption></figure><p>Next, you had to configure the light settings to make it feel more believable. now it’s easier to see the details and position objects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*ZJy_f2wt6er1GX78_iPmsA.png" /><figcaption>Lights on with low quality: almost no shadows</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*cLweYNW-CsxDCc55aP8ezA.png" /><figcaption>Lights on with medium quality: you can see some difference on the shadows and textures</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*7GQKEO8NExN_FIy7Vt1_bg.png" /><figcaption>Lights on with high quality: a bit more definition on the shadows</figcaption></figure><p>After lighting the scene, I changed the target platform to Android, which caused some differences on lighting. I had to adjust all the light intensities to get a similar result as it was before changing the target platform to Android.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/1*MWAgEPxDhduLqgYfBi6pCw.png" /><figcaption>And then changing to Android build: you can see a bit of discrete changes on the shadows, especially on the walls</figcaption></figure><p>And finally I was able to run the app on my cellphone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/845/1*ccP-EoZ_Dc_CYJPMx1jjyg.png" /><figcaption>Running on Android: the globe</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wGqfhpOfkFFq89A25cA1Rw.png" /><figcaption>Running on Android: TV set</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fK7GNzPc8vR4PyzPPNstDQ.png" /><figcaption>Running on Android: sunlight on the table</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R5TjfbRxiT7Or_esYlrRLw.png" /><figcaption>Running on Android: broader view</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KKVAevPCpXpCbXsBzcN3EQ.png" /><figcaption>Running on Android: the computer desk is illuminated with a spotlight</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*345TLm2qSiWBmU3xEsX4ug.png" /><figcaption>Running on Android: bookshelf (with a poor library, seems like the people there do not read much =P)</figcaption></figure><p>It was time for the first submission. Apparently, the reviewers do check <strong>everything </strong>that is asked on the rubric <strong>thoroughly</strong>. My first submission was rejected because some furniture were a little bit below the ground level.</p><p>Below, a screenshot that the reviever took and put on my review:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CI0qlMynkYMzJRtz4UIEog.png" /><figcaption>1st submission: rejected — kitchen cabinets are below the ground level and the computer desk is floating in the air</figcaption></figure><p>After fixing these positioning issues, my second submission was accepted. And on my second submission, apparently another reviewer (different from the first time) made a remark about some floating books. And one more remark about an object which had not the proper “static property value”, among 30 other objects (all with the correct value). But in the end, (s)he was lenient and let me get away with this. Phew!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*G2YIwPrvRkWwapeGVXmrTA.png" /><figcaption>2nd submission: approved, but with some remarks about floating books</figcaption></figure><p>Since I had a bit of experience making scenes on Unity, I did not find it too hard to finish this project. But for someone who have tried Unity for the first time, I think it would feel somewhat complicated.</p><p>And now to the 3rd project and onwards…</p><p>If you wish, you can check out my other projects for the VR Nanodegree here:</p><ul><li><a href="https://virtualrealitypop.com/udacity-vr-nanodegree-3rd-project-a-maze-7c330765378d">Project 3: A Maze</a></li><li><a href="https://virtualrealitypop.com/udacity-vr-4th-project-puzzler-8a667f01cd30#.917kqdfcg">Project 4: Puzzler</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f4b6413117d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/virtual-reality-pop/udacity-vr-nanodegree-1st-and-2nd-projects-7f4b6413117d">Udacity VR Nanodegree: 1st and 2nd projects</a> was originally published in <a href="https://medium.com/virtual-reality-pop">Virtual Reality Pop</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>