ARCH7073 MODULE 4 & 5

Page 1

ARCH7073: VR WORKFLOW (USING UNITY)

MODULE 1

Download Unity to your personal computer

MODULE 2

MODULE 3

Simple material

Learn to use asset store Start new project

Create material

Import fbx file into Unity scene

MODULE 6

Basic VR setup

Transparent material

Textured material

Create your first FPC game

Create Unity account

Export fbx file from 3D modelling software

MODULE 4 & 5

Download Oculus Integration

Place light sources Place a skybox into your game

Oculus Integration setup

This is the general worflow to create a virtual reality application using Unity

PG4/5-1


MODULE 4/5.1 : CREATE MATERIAL - SIMPLE MATERIAL

ARCH7073: VR WORKFLOW (USING UNITY)

So today’s module, we will start with create material and texture.

Go to “Assets” folder, and create 2 new folders.

PG4/5-2


MODULE 4/5.1 : CREATE MATERIAL - SIMPLE MATERIAL

ARCH7073: VR WORKFLOW (USING UNITY)

Rename the folders as “3.1 Material” and “3.2 Texture” respectively.

Go to “3.1 Material”. Right click and create new material.

PG4/5-3


MODULE 4/5.1 : CREATE MATERIAL - SIMPLE MATERIAL

ARCH7073: VR WORKFLOW (USING UNITY)

Rename the material as “ROOF MATERIAL”.

Click on the “ROOF MATERIAL”.

PG4/5-4


MODULE 4/5.1 : CREATE MATERIAL - SIMPLE MATERIAL

ARCH7073: VR WORKFLOW (USING UNITY)

Increase the metallic and smoothness values to create a metallic outlook. Feel free to change the Albedo color too (if necessary).

Drag and drop the material on to the roof surface.

PG4/5-5


MODULE 4/5.1 : CREATE MATERIAL - TRANSPARENT MATERIAL

ARCH7073: VR WORKFLOW (USING UNITY)

Hit play button, and review your material.

Next, we going to create glass material. It can be slightly tricky. But, as usual create a new material in “3.1. Material” folder.

PG4/5-6


MODULE 4/5.1 : CREATE MATERIAL - TRANSPARENT MATERIAL

ARCH7073: VR WORKFLOW (USING UNITY)

Rename the material as “GLASS MATERIAL”.

Drag and drop the material on to the window surface.

PG4/5-7


MODULE 4/5.1 : CREATE MATERIAL - TRANSPARENT MATERIAL

ARCH7073: VR WORKFLOW (USING UNITY)

Click on the window component and hit “F”.

Click on “Glass material”. change the “Rendering Mode” to transparent

PG4/5-8


MODULE 4/5.1 : CREATE MATERIAL - TRANSPARENT MATERIAL

ARCH7073: VR WORKFLOW (USING UNITY)

Change the Alpha value to almost 0.

Increase the smoothness value and decrease the metallic value. This will create a glass texture. However, the reflection doesn’t seem right.

PG4/5-9


MODULE 4/5.1 : CREATE MATERIAL - TRANSPARENT MATERIAL

ARCH7073: VR WORKFLOW (USING UNITY)

Go to “Game Object > Light > Reflection Probe”. The reflection probe will capture the image of the surrounding environment and projecting that to any reflective surface. In this case, it will be your window.

Move the probe just right in front of your window and change the “type” to realtime rather than baked. Now, you have created the glass material! Hooray.

PG4/5-10


MODULE 4/5.1 : CREATE MATERIAL - TEXTURED MATERIAL

ARCH7073: VR WORKFLOW (USING UNITY)

Next, lets try a textured material. Create a new material in “3.1 Material” folder.

Rename that as “Floor Material”.

PG4/5-11


MODULE 4/5.1 : CREATE MATERIAL - TEXTURED MATERIAL

ARCH7073: VR WORKFLOW (USING UNITY)

Fire up your browser, and search for “seamless floor texture”

Save your texture to the desktop.

PG4/5-12


MODULE 4/5.1 : CREATE MATERIAL - TEXTURED MATERIAL

ARCH7073: VR WORKFLOW (USING UNITY)

Go to “Asset” folder > “3.2 Texture” folder.

Right click, and click on import new asset.

PG4/5-13


MODULE 4/5.1 : CREATE MATERIAL - TEXTURED MATERIAL

ARCH7073: VR WORKFLOW (USING UNITY)

Select the wood plank texture and hit import.

Go to 3.1 Material folder.

PG4/5-14


MODULE 4/5.1 : CREATE MATERIAL - TEXTURED MATERIAL

ARCH7073: VR WORKFLOW (USING UNITY)

Click on “Floor Material”

Double click on Albedo, and replace the base map with your selected texture.

PG4/5-15


MODULE 4/5.1 : CREATE MATERIAL - TEXTURED MATERIAL

ARCH7073: VR WORKFLOW (USING UNITY)

Apply the texture on your floor.

If your texture is “too ugly” or “too dense”, feel free to change the tiling value.

PG4/5-16


MODULE 4/5.2 :PLACE LIGHT SOURCE

ARCH7073: VR WORKFLOW (USING UNITY)

Next, we will move on to add lighting fixture. Firstly, go to hierarchy tab, right click and create “empty”.

Rename the “empty” as “4. Artificial light”

PG4/5-17


MODULE 4/5.2 :PLACE LIGHT SOURCE

ARCH7073: VR WORKFLOW (USING UNITY)

Go to “Game > Light > Point Light”. (Free feel to try other option)

Move your light source around your building to illuminate the area.

PG4/5-18


MODULE 4/5.2 :PLACE LIGHT SOURCE

ARCH7073: VR WORKFLOW (USING UNITY)

Once you’re satisfied with the location of your light bulb, please drag your “point light” under “4. Artificial light”.

Click on “Point light”, you will be able to adjust the light color, range, intensity and mode through the inspector tab.

PG4/5-19


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.