<?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 Marco Flagg on Medium]]></title>
        <description><![CDATA[Stories by Marco Flagg on Medium]]></description>
        <link>https://medium.com/@marco.flagg?source=rss-74da9c96261f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*UVo-XAfmBcl3y6gt.</url>
            <title>Stories by Marco Flagg on Medium</title>
            <link>https://medium.com/@marco.flagg?source=rss-74da9c96261f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 23:49:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@marco.flagg/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[VR Guided Exhibit Tour]]></title>
            <link>https://medium.com/@marco.flagg/vr-guided-exhibit-51496742498d?source=rss-74da9c96261f------2</link>
            <guid isPermaLink="false">https://medium.com/p/51496742498d</guid>
            <category><![CDATA[google-cardboard]]></category>
            <category><![CDATA[unity-game-development]]></category>
            <category><![CDATA[exhibition]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <dc:creator><![CDATA[Marco Flagg]]></dc:creator>
            <pubDate>Sun, 19 Aug 2018 01:47:22 GMT</pubDate>
            <atom:updated>2018-09-25T00:58:05.682Z</atom:updated>
            <content:encoded><![CDATA[<p>A humanistic, education-based approach to VR exhibits</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F291611999%3Fapp_id%3D122963&amp;dntp=1&amp;url=https%3A%2F%2Fvimeo.com%2F291611999&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F727796747_1280.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1920" height="1080" frameborder="0" scrolling="no"><a href="https://medium.com/media/217724fb549dba6b5e5b6c9ca5a08650/href">https://medium.com/media/217724fb549dba6b5e5b6c9ca5a08650/href</a></iframe><p>Osumare, a friendly docent, guides you through your visit to a museum in this VR experience designed for Google Cardboard. She tracks your progress through the exhibit, gives you a quiz based on your knowledge of the exhibit content and rewards you with a prize based on your quiz score.</p><p>All interaction is triggered by one button and a centrally located reticle that moves according to user’s head rotation (3DOF). You are free to move throughout the environment and examine the several 3D objects, speak with Osumare and view videos.</p><p>The application was developed primarily with Unity. I used Adobe Fuse and Blender for 3D modeling.</p><h3>Purpose</h3><p>The purpose of this application is to give students virtual field-trips of a real world museum. It can also be designed to assist in docent training tasks.</p><p>Primary school children could use the application in their classrooms with cellphones and a Google Cardboard. Visitors to the museum of all ages and levels of technical expertise could use the application on provided VR headsets.</p><p>An intuitive onboarding experience and control scheme makes learning essential gameplay mechanics fun and easy. This ensures that the application can be enjoyed by a wide range of users.</p><h3>Meet Osumare</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*dAGmg2uNr9Z1V20R8B8GQA.gif" /></figure><p>Osumare is an amiable guide that makes the user’s virtual experience less solitary. Through natural animations and dialogue based on the user’s in-game actions the docent can build a connection with the user.</p><p>In a finalized version of the application, I would hire a voice-over artist to record the audible speech. This would add another layer of humanity to the interactions between user and docent.</p><h3>Onboarding Process</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F291609019%3Fapp_id%3D122963&amp;dntp=1&amp;url=https%3A%2F%2Fvimeo.com%2F291609019&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F727792923_1280.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1920" height="1080" frameborder="0" scrolling="no"><a href="https://medium.com/media/8e72ffb83c435155babb738e02c9c430/href">https://medium.com/media/8e72ffb83c435155babb738e02c9c430/href</a></iframe><p>After confirming that you want to start the tour at the initial title screen you are taken to a simplified version of the museum setting. Here Osumare will teach you the application’s key gameplay mechanics by asking you to perform simple tasks:</p><p>1) Interacting with the docent<br>2) Examining an object<br>3) Moving through the environment<br>4) Playing a video</p><p>On completion of the tasks you move to the exhibition setting where you can try out your newly learned skills in a setting full of colorful 3D scans of Greek, Roman and African artifacts.</p><p>Introducing the core gameplay mechanics and the VR experience is the first step to creating an enjoyable virtual experience for a wide range of users.</p><h3>Development Plans</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nD_Z2AdR5iEcua251pH8Zg.png" /></figure><p><strong>Creating Virtual Guided Exhibitions for Museum or Arts Space</strong><br>A fully functional alpha version of the application has been completed. Now I hope to partner with a museum or gallery to create an immersive virtual experience for their collection.</p><p>I would customize the docent’s interaction to target learning goals that are important for the institution. In addition, I can alter the setting, the docent and the exhibited objects to fit the needs of an institution that I would work with. Including creating 3D scans of the actual exhibit items and importing them into the virtual space.</p><p>Taking a humanistic, education-based approach to the design of the virtual guided exhibitions will create memorable experiences for visitors.</p><p>If you are interested in collaborating in this or future projects please get in touch. I’d love to hear from you!</p><p>You can view my interactive media portfolio at <a href="https://marcoflagg.com/interactive/">marcoflagg.com/interactive</a>. I have several projects in development that I look forward to share.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51496742498d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mountain Memory | Puzzler Documentation]]></title>
            <link>https://medium.com/@marco.flagg/mountain-memory-puzzler-documentation-a410b39a1532?source=rss-74da9c96261f------2</link>
            <guid isPermaLink="false">https://medium.com/p/a410b39a1532</guid>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[user-interface]]></category>
            <category><![CDATA[user-onboarding]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <category><![CDATA[game-design]]></category>
            <dc:creator><![CDATA[Marco Flagg]]></dc:creator>
            <pubDate>Thu, 07 Jun 2018 01:36:48 GMT</pubDate>
            <atom:updated>2018-06-08T17:52:04.165Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F274132588%3Fapp_id%3D122963&amp;dntp=1&amp;url=https%3A%2F%2Fvimeo.com%2F274132588&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F706098886_1280.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1280" height="720" frameborder="0" scrolling="no"><a href="https://medium.com/media/aaac5a5a925b0db5854676ac63fdb82b/href">https://medium.com/media/aaac5a5a925b0db5854676ac63fdb82b/href</a></iframe><h3>Introduction</h3><p>Mountain Memory is a VR memory puzzle game that takes place in an atmospheric mountain-top castle setting. The familiar game concept of repeating a pattern is presented in a new virtual world. This makes the game ideal for adventurous casual gamers that are new to VR.</p><p>After a brief tutorial section teaches gameplay mechanics, you are teleported to a mountain-top setting. With the howl of wind in your ears, you move into a castle room where you find five glowing orbs hovering in front of you. You watch the orbs light up in a random pattern and then do your best to repeat the pattern by clicking on the orbs in the order that they lit up.</p><p>Audio cues give a clear signal when you choose the correct or incorrect orb. If you click the incorrect orb the puzzle will reset and you can try again. Once you successfully complete the pattern you are moved out of the castle and a panel gives you the option to repeat the castle puzzle experience.</p><p>The initial training section, overall level-design and familiar gameplay all contribute to make Mountain Memory perfect for casual gamers who are new to virtual reality.</p><h3>Development Background</h3><p><strong>Statement of Purpose</strong><br>Following along with Udacity lesson, the goal of this assignment is to create a well-designed, intuitive memory puzzle game for mobile VR platform.</p><p><strong>User Persona</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*ECbmdf7pZqEyoKsXYyYKgQ.png" /><figcaption>User persona ‘Tina’</figcaption></figure><p>I designed this game experience with the persona of ‘Tina’ in mind. She is tech-savvy but fairly inexperienced with VR. A VR puzzle experience is perfect for this type of user because it updates a familiar childhood memory game like Simon Says to be played in the virtual world. Therefore, the basic gameplay rules are understandable to a general audience, but special care needs to be taken to make the new virtual reality experience comfortable for a user who may be using the technology for the first time.</p><p>To enhance the gameplay experience for my target user-group, from the beginning I focused on <strong>clarity</strong> and <strong>comfort</strong> in all aspects of design.</p><p><strong>Sketches</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6hhRX2e4Rtn_2bLCQLynUw.png" /><figcaption>Early UI panel sketches</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M_77TVLbVevC667cGvM_Uw.png" /><figcaption>In-game UI panel</figcaption></figure><p>Special care was taken in designing the UI throughout the level to ensure users could read the text clearly and understand how to interact with the object. I adjusted the size and color of the fonts, and the distance of the UI from the camera to help the user focus on key information in a comfortable manner.</p><h3><strong>User Testing</strong></h3><p><strong>User test 1: Movement and UI Interaction</strong><br><em>User experience:</em> In the first user test, I asked the user about the scale, the comfort of movement between waypoints and the design of the UI elements.</p><p>The user felt that the movement between the waypoints was smooth, but the framerate was unreasonably low, causing slight discomfort. Additionally, the UI menus were initially placed too close to the cameras and were uncomfortable to read in virtual space.</p><p><em>My response:</em> I applied several changes to the level to enhance performance, which I discuss in detail in the next section. I also moved the UI’s further from the cameras.</p><p><strong>User test 2: Design and Gameplay</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WBkf2exDgF4yDqa3MC1YzA.png" /><figcaption>Main puzzle room</figcaption></figure><p><em>User experience:</em> In the second user test, I asked the user to focus on the overall atmosphere of the setting and the mechanics of the gameplay. For this test, I only asked questions about what they were experiencing. I did not coach the user with how to play the game.</p><p>The user stated the audio, level design and lighting were satisfactory. Audio levels were comfortable and the lighting of the orbs clearly signalled that you could interact with them. However, the user did not understand HOW to interact with the orbs.</p><p>Initially, the user was very confused with the game mechanics. They did not understand the goals of the game or how to play. This was because there were no clues or instruction in the game as originally designed.</p><p><em>My response:</em> I saw this as a serious error that would hurt the playability of the game. I set out to create a short training segment that could on-board the users to the experience by demonstrating the game mechanics. I discuss this further in the following section.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mmGF5KGAmFlczduMJr4elg.png" /><figcaption>Unity editor view of environment with game area on left and training area on right</figcaption></figure><p><strong>User test 3: Final Feedback</strong><br><em>User experience: </em>For the final user tests, the users played a finalized version of the game with all changes implemented. The on-boarding sequence was effective in teaching the users game mechanics, allowing them to enjoy playing a familiar memory game in a new virtual environment.</p><h3>Development Analysis</h3><p><strong>Item 1: Performance Enhancement</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*crSVAMRBy5aJugnQK3F8kA.png" /><figcaption>Setting material shader</figcaption></figure><p>I made the following changes to greatly improve performance and get a comfortable frame rate on my android cellphone device.<br>1) Making sure all objects were set to static and baking the lighting.<br>2) Setting all object material shaders to Mobile &gt; Diffuse. <br>3) Globally scaling down all objects in the scene.</p><p>It was the last step that made a dramatic difference in my frame rate and texture quality. When first designing the level I had initially scaled up the objects 18x because I felt that gave everything a natural scale. However, this resulted in an 80MB lightmap! When I scaled down all the objects, the lightmap size shrunk to 6MB. I was surprised by the amount of improvement in performance on my cellphone. I will further research performance optimization techniques for future projects.</p><p><strong>Item 2: Training Sequence</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F273806044%3Fapp_id%3D122963&amp;dntp=1&amp;url=https%3A%2F%2Fvimeo.com%2F273806044&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F705695824_1280.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1280" height="720" frameborder="0" scrolling="no"><a href="https://medium.com/media/86b2afb7fcc40dbc438b8914b927ff19/href">https://medium.com/media/86b2afb7fcc40dbc438b8914b927ff19/href</a></iframe><p>The second user test showed me how important teaching basic gameplay mechanics was to new users. I decided to pass this information to users in a dynamic way by creating a brief training sequence at the beginning of the game in a simplified setting. Users would be introduced to basic game mechanics by performing simple tasks and then on completion would be moved through a portal and teleported to the mountain puzzle stage.</p><p>With the persona of Tina in mind, my training sequence had three goals:<br>1) Familiarize a new user with the basics of navigating a virtual world.<br>2) Teach the most basic element of object interaction with a single orb.<br>3) Teach the memory game gameplay mechanic with a simple three orb example that always behaves the same way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9jAbAYsdunnuC79Eevl2Fg.png" /><figcaption>Training sequence setting</figcaption></figure><p>I chose a dark background for the training to ensure that users would focus on the important colored objects. I also believe the simple setting has less stimuli and is therefore more comfortable for a new user of VR to explore.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*acFislMbqmuPD_9SDgvkpQ.png" /><figcaption>First task: Basic object interaction</figcaption></figure><p>The first part of the training sequence contains a UI and a single orb with clear instructions. It demonstrates to a user how to interact with an important game object and the rules that govern its behavior. This builds a foundation for the next stage of game mechanics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2NOOCYwzXOGtSDY887H7Ow.png" /><figcaption>Second task: Game mechanic demonstration</figcaption></figure><p>The second part of the training sequence adds to the basic foundation of object interaction by introducing the pattern recall game mechanic through clear instruction and demonstration.</p><p>After successfully completing these simple tasks the user is ready for the real challenge and is whisked away through the door portal to begin the game at the mountain setting.</p><h3>Conclusion</h3><p>I truly realized the importance of conducting multiple rounds of user testing in VR application development. I will be sure to implement this knowledge in the future applications I develop.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a410b39a1532" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VR Maze Project]]></title>
            <link>https://medium.com/@marco.flagg/a-maze-starter-project-8b2d1df222b2?source=rss-74da9c96261f------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b2d1df222b2</guid>
            <category><![CDATA[game-development]]></category>
            <category><![CDATA[italo-calvino]]></category>
            <category><![CDATA[unity]]></category>
            <category><![CDATA[vr]]></category>
            <dc:creator><![CDATA[Marco Flagg]]></dc:creator>
            <pubDate>Tue, 01 May 2018 02:39:55 GMT</pubDate>
            <atom:updated>2018-05-01T03:34:53.100Z</atom:updated>
            <content:encoded><![CDATA[<p>Listen to a tale from Italo Calvino while navigating an ancient Roman ruin.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F267350638&amp;dntp=1&amp;src_secure=1&amp;url=https%3A%2F%2Fvimeo.com%2F267350638&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F697851280_1280.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1280" height="720" frameborder="0" scrolling="no"><a href="https://medium.com/media/13cd63cda59686830f718e37a84bc09e/href">https://medium.com/media/13cd63cda59686830f718e37a84bc09e/href</a></iframe><p><strong>Versions</strong></p><ul><li>Unity 2017.2.0f3</li><li>GVR Unity SDK v1.70.0</li><li>For Android</li></ul><h3><strong>How to Play</strong></h3><p>Navigate a landscape inspired by the ruins of ancient Rome, collecting six coins. Upon collecting each coin you will hear a quote from Italo Calvino’s ‘Invisible Cities’ issuing from statues located throughout the ruins. After collecting all the coins, a key will appear to unlock the entrance to the temple at the other end of the level.</p><p>Remember to take your time and look carefully for the coins!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/965/1*Ndf12esK18kw2r_66KtMmA.png" /></figure><h3><strong>Project Goal</strong></h3><p>My goal for this assignment is to prototype an app that I can use to tell stories in an interactive way. The user will move around a setting to collect objects associated with the story’s topic. Upon collection of each object the user will hear an additional section of the story. After collecting a determined amount of objects/stories a key will appear allowing them to progress to another scene.</p><p>Since I had clear goals for functionality in mind, I decided to add a few features in addition to those required for the assignment:</p><p>1) A function that keeps track of the number of collectible coins and triggers actions once certain numbers of coins are collected.</p><p>2) A function that activates the key once the goal of collected items is met.</p><p>3) A function that when a user clicks on a collectible coin object, an audiosource on the nearby statue GameObject would activate.</p><p>These above functions will help me as I further develop my storytelling app, and will apply to a wide range of other applications that I can develop. In the next section, I discuss the scripting of the functions in detail.</p><h3><strong>Scripting</strong></h3><p><strong>Coin counting and event trigger at goal</strong></p><p>This <a href="https://www.youtube.com/watch?v=NebeDbWjIXA">tutorial</a> by Lurony was fantastic in giving clear instruction to create this function.</p><p>I attached the ObjectsToCount script to each coin prefab and attached the CountObject script to the GvrEventSystem.</p><p>I used the CountingObject script to reveal the key when all the coins were collected. This function is described in detail in the next section.</p><p><strong>Key Activation/Deactivation</strong></p><p>I used an If Else statement in the CountingObject script to control activation and deactivation of the key GameObject.</p><p>If all the coins were collected then the key would be activated and would appear on the scene. Else (if there were coins remaining) the key would be deactivated. The method would be called each frame.</p><p><strong>Key Hides after User Clicks on It</strong></p><p>The above activation method worked great until I used the Destroy method in my Key script to delete the key from the scene after the user clicks on it. Then Unity threw up an error saying that the CountingObject script was still referencing it (the destroyed key object) every frame.</p><p>I addressed this by hiding the key from the user instead of destroying it. In the Key script I used a transform.scale method instead of Destroy.</p><p><strong>Door Unlock</strong></p><p>This <a href="https://www.youtube.com/watch?v=PznzVRjQztc">Unity Official Tutorial</a> was incredibly helpful with this function.</p><p>Most important was the tutorial’s information on creating references for GameObjects outside of the script. Using FindGameObjectWithTag and GetComponent allowed me to create methods for interaction scripts placed on the key GameObject that altered boolean variable scripts placed on the door GameObject.</p><p><strong>Sound trigger on other GameObject</strong></p><p>This <a href="https://answers.unity.com/questions/340859/create-audiosource-via-script.html">answer</a> on the Unity Documentation page provided me with helpful information on creating references between GameObjects.</p><p>I attached the PlayAudio scripts to the coins in the scene and added AudioSource components to the statues in the scene. I associated the particular AudioSource with the particular PlayAudio script by dragging and dropping the parent statue GameObject into the Sound Player script dialog box in the Play Audio inspector field.</p><p>When the user clicks on the coin it triggers the associated AudioSource in 3D space.</p><h3><strong>Level Design</strong></h3><p><strong>Imported GameObjects</strong></p><p>All of the statue GameObjects in the level are ancient Roman statues scanned by The British Museum and downloaded from sketchfab.com. The 3d OBJ mesh files each came with a PNG texture file.</p><p>I prepared the meshes in MeshLab. First, I aligned the mesh properly on the XYZ axes. Second, I reduced the number of faces in the mesh to around 0.2% of the original (1,000,000 to 2,000) using the ‘Quadratic Edge Collapse Decimation (with Texture)’ filter.</p><p>I then opened the edited meshes in Blender and made sure the PNG texture was attached. If it was not already, I attached the texture by loading the PNG file in the Image Texture dialog box. I then saved the mesh as a BLEND file and copied the BLEND and PNG texture file to a Mesh folder in my Unity project’s Assets folder.</p><p>This method of attaching a higher resolution texture to a decimated model allows for GameObjects that look high quality without sacrificing performance.</p><p><strong>Landscape texture</strong></p><p>I created a Terrain object and raised sections of the land to give the level a more natural appearance. I tried adding trees but after testing high LOD, low LOD and even billboard models, I found that they took too much processing power to render. I ended up deleting them all from the landscape to ensure an acceptable framerate.</p><p><strong>Level Map</strong></p><p>I created a map that encouraged the user to explore by not making the path to collect the keys a direct one. A statue is visible from the first statue the user encounters, this encourages the user to take a right at the fork towards that statue. If they take the right, they will miss the path to the dog statue and will eventually have to backtrack to reach it. When facing the opposite way it will be clear to the user that they missed a portion of the level that they needed to explore.</p><p><strong>Key Beacon</strong></p><p>I placed the key in a very tall column of purple to call attention to the object from anywhere in the map. So, even if the user had to backtrack to the dog statue for the final coin, they would notice the purple column once they collected the coin. They could follow the column to the key that appeared at the fountain.</p><h3><strong>Sound</strong></h3><p>I entered sections of Italo Calvino’s ‘Invisible Cities’ into a text-to-speech application and placed the recorded audio into the statue GameObjects’ AudioSources.</p><h3><strong>Difficulties</strong></h3><p><strong>Key Activation/Deactivation</strong></p><p>Getting the key to activate and appear in the scene was a major headache. It took me several hours of research and thinking to figure out that I needed to create an IF ELSE statement.</p><p><a href="https://answers.unity.com/questions/466062/if-i-use-setactivefalse-on-an-object-can-i-not-use.html">This tutorial</a> was very helpful in leading me to my eventual solution.</p><p><strong>Instantiating the Poof Prefab to location of coin</strong></p><p>This <a href="https://www.youtube.com/watch?v=4rZAAHevq1s">Unity Official Tutorial</a> was very helpful with solving this difficulty.</p><p><strong>Displaying number of coins collected on screen</strong></p><p>I was able to get the UI display to work in the Unity editor during gameplay mode, but never in my cellphone. I just didn’t have the time to figure this out.</p><p>I believe I was close though. I was looking at the following <a href="https://www.youtube.com/watch?v=fbUOG7f3jq8">tutorial</a> but I did not have the time to apply its methods to my program.</p><h3><strong>Comments</strong></h3><p>As the final project of the first term, the Maze project has given me a good foundation with Unity that I will build on as I continue through the Nanodegree program. I also discovered that I am able to learn new skills by consulting the Unity documentation and online tutorials. I can’t believe that it has only been a few weeks since starting these classes. I am excited to start Term 2!</p><h3><strong>Credits</strong></h3><p>Much thanks to the authors of all the tutorials that I consulted! To the British Museum for their fantastic scans. And finally to Italo Calvino for writing such an amazing book.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b2d1df222b2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build an Apartment Starter Project]]></title>
            <link>https://medium.com/@marco.flagg/build-an-apartment-starter-project-c60598421218?source=rss-74da9c96261f------2</link>
            <guid isPermaLink="false">https://medium.com/p/c60598421218</guid>
            <category><![CDATA[3d-design]]></category>
            <category><![CDATA[virtual-reality]]></category>
            <category><![CDATA[architecture]]></category>
            <category><![CDATA[photogrammetry]]></category>
            <category><![CDATA[3d-modeling]]></category>
            <dc:creator><![CDATA[Marco Flagg]]></dc:creator>
            <pubDate>Tue, 10 Apr 2018 14:42:20 GMT</pubDate>
            <atom:updated>2018-04-10T15:22:02.451Z</atom:updated>
            <content:encoded><![CDATA[<p>This project is part of <a href="https://www.udacity.com/">Udacity</a>’s <a href="https://www.udacity.com/course/vr-developer-nanodegree--nd017">VR Developer Nanodegree</a>.</p><p>The goal of the project is to design a life-like apartment that implements the lighting and animation techniques learned in the course.</p><h3><strong>Versions</strong></h3><p>- Unity 2017.2.0f3</p><p>- GVR Unity SDK v1.70.0</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F264082504%3Fapp_id%3D122963&amp;dntp=1&amp;url=https%3A%2F%2Fvimeo.com%2F264082504&amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F693772052_1280.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=vimeo" width="1280" height="720" frameborder="0" scrolling="no"><a href="https://medium.com/media/d1c7d324142f20b1c25053efd01418d8/href">https://medium.com/media/d1c7d324142f20b1c25053efd01418d8/href</a></iframe><p>I attempted to create a relaxing space inspired by the sunset in a desert landscape. The setting influenced the scene’s lighting, materials and sound. To add a personal touch I imported 3d meshes created from photogrammetry scans of real-life objects.</p><p>Despite initial difficulties with coding custom interactions for the globe animation and optimizing the baked lighting, I believe the scene does an adequate job of transporting the user to a believable apartment in the US Southwest.</p><h3><strong>Lighting</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*Y8UAOcWkgHZCDpdk6mfHOw.png" /></figure><p><strong>Area Lights</strong></p><p>Several hours were spent to adjust the lighting to fit the scene. I originally used two directional lights shining in opposite directions, but the lighting was too flat. So I placed area lights just in front of the windows and sized them to the window frames. To recreate the colors of a desert sunset, I tinted the color of the lights yellow. The intensity of light from the front window was strongest, the kitchen window light was second strongest to draw attention to the distant corner of the room, while the side window light intensity was lowest to compliment light from the front window.</p><p><strong>Spot Lights</strong></p><p>I placed spot lights in the ceiling to draw attention to specific objects in the room. It took me a few hours to get the intensity of the lights correct when balancing with the room’s ambient light.</p><h3><strong>Materials</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*NJPp6kZi9-Q03Z2EmFSSwQ.png" /></figure><p><strong>Skybox</strong></p><p>The skybox is a desert landscape during sunset. It adds context to the apartment setting. When the viewer first starts the app, they will see parts of the landscape from the window located in front of the camera.</p><p><strong>Walls</strong></p><p>The walls have a rough concrete texture to echo stucco textures found in southwestern US homes.</p><p><strong>Furniture</strong></p><p>The colorful table located by the wall under the window carries the desert colors into the room. These warmer colors and materials are repeated throughout the apartment in the window frames and rugs.</p><p><strong>Ceiling Lights</strong></p><p>I created simple light fixtures in Blender to represent the source of the light. I was very pleased that Unity imports the .blender files well.</p><p>I initially ran into a problem with the inside of the lightshades being see-through. I found that problem was due to normals only being located on the outside of the lightshades. To solve this problem, in Blender I slightly shrunk a copy of the cone lightshade primitive and flipped the normals to the inside of the cone. I then joined the two cones into one object. The normals were then on both sides of the cone and the object behaved well in Unity.</p><h3><strong>Sound</strong></h3><p>The apartment includes a low volume field recording of wind and insects chirping to help immerse the user in the desert landscape.</p><h3><strong>Custom Objects</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/1*jY552bYoGosH7SCtd7OBsQ.png" /></figure><p>The apartment includes a bell and large hand. Both objects serve to personalize the space. They are real life objects that I scanned using photogrammetry capture software. I then decimated the 3d meshes using MeshLab to lower the amount of faces from 300,000 to 300. This lowered the file size and would greatly reduce the amount of processing required when I imported the meshes into the app. I baked lighting in Blender to prep the 3d meshes and exported the meshes as an .obj with a high resolution RGB .png texture.</p><p>Once the meshes were imported into Unity, I created a new material for each object and dragged the objects’ .png textures to their respective material’s Detail Albedo section. Finally, I dragged the custom materials onto the object.</p><h3><strong>Difficulties</strong></h3><p>The difficulty in this exercise resulted from my experiments with interaction. Originally, I had hoped to make point-and-click interactions with several of the objects in the apartment. This proved much harder to implement than I had thought, so I settled on using the provided scripting that just listens for a mouse click but does not have reticle interaction with the globe object.</p><p>However, my earlier experimentation was not in vain. Thanks to digging through the internet to find suitable tutorials and the assistance of my mentor, Tyrone, I finally figured out how to script object interaction through: 1) the reticle entering and exiting an object and 2) the reticle falling on an object and the user clicking.</p><p>I will implement this knowledge in the upcoming maze project.</p><h3><strong>Comments</strong></h3><p>I look forward to continued experimentation with lighting optimization, object interaction and importing custom scanned objects. I also hope to create custom textures that I photograph myself to further personalize the virtual worlds I create.</p><h3><strong>Credits</strong></h3><p><strong>African Table</strong></p><p>By Helsssoo</p><p>Unity Asset Store</p><p>URL: <a href="https://assetstore.unity.com/packages/3d/props/furniture/nightstand-african-furniture-60563">https://assetstore.unity.com/packages/3d/props/furniture/nightstand-african-furniture-60563</a></p><p><strong>Rug</strong></p><p>By Olof Hagelin</p><p>Unity Asset Store</p><p>URL: <a href="https://assetstore.unity.com/packages/3d/props/furniture/round-carpet-15171">https://assetstore.unity.com/packages/3d/props/furniture/round-carpet-15171</a></p><p><strong>Skybox</strong></p><p>By 70:30</p><p>Unity Asset Store</p><p>URL: <a href="https://assetstore.unity.com/packages/2d/textures-materials/sky/cope-free-skybox-pack-22252">https://assetstore.unity.com/packages/2d/textures-materials/sky/cope-free-skybox-pack-22252</a></p><p><strong>Sound</strong></p><p>By kangaroovindaloo</p><p>URL: <a href="https://freesound.org/people/kangaroovindaloo/sounds/325511/">https://freesound.org/people/kangaroovindaloo/sounds/325511/</a></p><p><strong>Wall Texture</strong></p><p>By ArrowayTextures</p><p>URL: <a href="http://www.3dxo.com/textures/3033_plaster_16">http://www.3dxo.com/textures/3033_plaster_16</a></p><p><strong>Window Frame Texture</strong></p><p>By BienenFisch</p><p>URL: <a href="http://www.3dxo.com/textures/5320_bronze_4">http://www.3dxo.com/textures/5320_bronze_4</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c60598421218" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>