Building Virtual Worlds - 2
For this next assignment, the class was asked to create five (5) interactions that involve switching skyboxes in Unity to reveal a new panoramic image or video. In addition, other interactions can involve opening and closing information panels, and switching to new scenes.
The Final Product
Play the video below to see a video captured directly from the headset.
The Big Idea
I always wanted to jump into the world of a painting, and I thought this project would be a good way to explore that idea. The challenge was to create new content on top of an existing painting in order to give it enough visual information to make a seamless 360 degree image.
Below are some images of how I extended two paintings.
Van Gogh's Starry Night
An example of the code for switching skyboxes and triggering audio to play
after selecting an image.
The class had a little more time to polish the assignment, so I decided to add sound to the experience. I used the following code to help me figure out what to add to the above script.
Make sure to create a public "AudioSource" and then use the following function
to make it play: playSound.Play();
The main interactions involved:
- Switching between skyboxes
- Creating set actives to hide/reveal GameObjects.
- Switching Scenes (in order to reset the set actives)
- Revealing and Hiding information boxes.
Video that helped me create the pointillism technique
5 Points of Interaction:
All Interaction elements should be customized
- Minimum 3 Interactors
- Custom UI Interaction
- 3D Object Hover Over/Exit State for GameObject
- UI Canvas Elements
- Hover/Select/Activate Interactions
- Interaction Examples
- Information panels
- Change Image/Video Background