Skip to main content

Intermediate Tutorial

In this Tutorial we will continue with the project that we started in the Beginner Tutorial. If you haven't done it, please have a look at it.

Let's go!

1. Import a new 360º image to create a new IndretsVRVirtualTour Scene. Hallway.jpg in my case.

Screenshot 2023-10-07 at 10.54.17.png

2. Right-click with your mouse over the image and choose Create -> IndretsVRVirtualTour Scene

Screenshot 2023-10-07 at 10.55.03.png

3. Save the new Scene with a relevant name

Screenshot 2023-10-07 at 10.55.42.png

4. Add the Scene to the Build Settings

Screenshot 2023-10-07 at 10.57.02.png

5. Rename the Hotspot to LivingRoom, because it will be our Target Scene. It's not mandatory to name your Hotspots and your Scenes the same, but it will help you identify things quickly.

Screenshot 2023-10-07 at 10.59.54.png

6. Go into Play Mode and place the Hotspot where you want it to be. Remember to copy its position with Transform -> Copy -> Position

Screenshot 2023-10-07 at 11.01.31.png

7. Exit Play Mode, set the new Hotspot placement with Transform -> Paste -> Position and set its Target Scene to LivingRoom. In this case is mandatory to use the name of the Scene, as you already guessed.

Screenshot 2023-10-07 at 11.03.04.png

8. Let's go back to Play Mode to check that everything is working as expected.

9. If everything looks good, save your Scene (if it's not) and open LivingRoom

Screenshot 2023-10-07 at 11.04.45.png

10. Duplicate the Kitchen hotspot object and rename it to Hallway

Screenshot 2023-10-07 at 11.05.43.png

11. Set its Target Scene to Hallway too

Screenshot 2023-10-07 at 11.06.01.png

12. Now enter Play Mode. Since we have duplicated the Kitchen hotspot, now both hotspots will be placed in the same position. Select the Hallway object in your hierarchy and modify (slightly) its X or Z position in the Inspector, so you can identify which one is it. Now you can Drag&Drop it to the desired position with your right mouse button. When you are happy with it, copy its position with Transform -> Copy -> Position

Screenshot 2023-10-07 at 11.08.16.png

13. Paste the new position to the Hallway hotspot right-clicking on Transform and then choose Paste -> Position

Screenshot 2023-10-05 at 12.39.23.png

14. You can go into Play Mode and check that everything is working as expected.

15. As you may have noticed (or maybe not) when an Scene is loaded, the camera is not always showing the most exciting view. But fortunately, we can fix that! If you unfold the Person object, you'll reveal the Main Camera object.

Screenshot 2023-10-07 at 11.09.23.png

16. Select the Main Camera and in the Inspector you will see all the different values that you can set to tune-up your Virtual Tour, from a Camera perspective. For now we are going to focus in the Initial Camera Rotation

Screenshot 2023-10-07 at 11.10.30.png

17. If you want your camera to turn 90º right (from its current position) when the scene loads, set 90 as the Initial Camera Rotation -> Horizontal Camera Rotation. If you want it 45º to the left, set -45 . If you want to set a positive value and get the same result you can set 315, which is 360 - 45.

18. You can do the same with Initial Camera Rotation -> Vertical Camera Rotation. If you want to rotate your camera upwards you can use a negative value (or subtract it from 360). To rotate your camera downwards use a positive value.

Screenshot 2023-10-07 at 11.12.21.png

19. Again, you can check in Play Mode that the Camera is pointing to the proper place when the Scene loads.

Screenshot 2023-10-07 at 11.12.56.png

20. Let's add two new IndretsVRVirtualTour Scenes with all what we have learnt:

Bedroom1

Screenshot 2023-10-07 at 11.24.41.png

Bedroom2

Screenshot 2023-10-07 at 11.25.35.png

21. In the Hallway, add Hotspots for the two bedrooms

Screenshot 2023-10-07 at 11.28.48.png

Screenshot 2023-10-07 at 11.27.53.png

Screenshot 2023-10-07 at 11.29.15.png

That's all for now. In the Advanced Tutorial we'll have a look at all the settings that you can customise, so if you want more, go for it!

If you like the Package, please consider donating to support the project!