This space contains some materials related to the unity course of Data Science and Immersive Technologies for Fashion E-Commerce at the University of Bologna. You can find here a unity project, slides of the course, and some links to the helpful tutorials.
This unity project includes some example assets such as 3D models, materials, textures, videos, and scripts placed in the related folders that can be used for creating new projects.
*Suggested version of unity for this project: 2019.4.35f1
In the scenes folder of the project, double click on the name of a scene named "VirtualMuseum" to open it. This example scene aimed to provide a guideline for students providing a virtual museum experience. At the start of the experience, the user finds himself/herself in front of a door and s/he can move in the direction of his/her look. Passing a corridor, s/he will reach the entering of two rooms with texts and images overlayed on their surrounding walls. The left room provides two interaction experiences through having gaze on the available buttons for a video player and an image viewer. In the right room, user can rotate 3D models of clothes by having her/his gaze on top of the rotate buttons on top head of them.
In the hierarchy window of the "VirtualMuseum" scene, you can find two types of players: "Player(fortestonPhone)" and "Player(fortestinUnity)" that gives you the possibility to test the experience on both your smartphone and the play mode of the unity itself. You can inactivate the "Player(fortestonPhone)" and activate the player named "Player(fortestinUnity)" when you are testing the project inside the unity itself. In this way, you can look around by pressing the Alt key on your keyboard and moving the mouse to the right and left, and moving in the direction of looking by the use of the arrow keys on your keyboard. And you can inactive the "Player(fortestinUnity)" and active the "Player(fortestonphone)" for building and testing the project with a smartphone that by tapping on the screen of the smartphone (or pressing the button of the cardboard), you can move in the direction of your look.
*You can always navigate in a unity scene view by using the combination of the moving scroll wheel of your mouse forward and backward and right-clicking on the mouse and moving it to the right and left. This is helpful when you are creating different parts of your environment in unity.
In the scenes folder of the project, the template scene with an empty building and settings for the VR project is provided as a starting point for the projects.
- Part 1: Link to the Slides
- Part 2: Link to the Slides
During the projects, students need to create the experience in a virtual building with a realistic appearance.
The 3D model of the building can be either downloaded from the asset store, or created using the Probuilder tool in Unity.
-
For downloaded models: Assets -> Models -> Buildings -> DownloadedBuildings.
-
For models created by Probuilder tool: Assets -> Models -> Buidlings -> CreatedByProBuilder.
-
Getting familiar with probuilder plugin to build your own 3D models in Unity: Link to the videos
-
Creating a building with ProBuilder tool: Link to the video
In order to give realistic appearance to objects and buidlings, realistic material should be created and applied to the surfaces.
- Assets -> Materials&Textures
- How to create realistic materials: Link to the video
- A website to download free textures for creating realistic materials: Link to the website
- How to use the github: Link to the video