wiki.sine.space | sinespace

Difference between revisions of "Creating A Shop"

From wiki.sine.space
Jump to: navigation, search
Line 118: Line 118:
 
'''Sliding doors - animating objects without scripting'''
 
'''Sliding doors - animating objects without scripting'''
  
space creators can easily keyframe animate a huge variety of attributes of inworld objects; not just position and rotation but colour, light intensity, etc.
+
<div style="display: inline-box; margin: 6px; padding-left: 6px; padding-right: 6px; padding-bottom: 6px; border: solid 1px #0090ff; border-radius: 3px; width: 200px; height: 150px; float: right;">
 +
<div style="font-size: 16px; font-weight: bold; color: #0090ff; height: 20px;">More...</div>
 +
*[[Making_Animated_Doors|Animated Doors]]
 +
</div>
  
In this scene the doors have been designed to open and close in response to a proximity trigger. No scripting is needed to build interactive components like this. For more detail on animated doors see [[Making_Animated_Doors|here]].
 
  
 +
space creators can easily keyframe animate a huge variety of attributes of inworld objects; not just position and rotation but colour, light intensity, etc.
 +
 +
In this scene the doors have been designed to open and close in response to a proximity trigger. No scripting is needed to build interactive components like this.
  
  
  
 
==Vending machines==
 
==Vending machines==
 +
 +
 +
 +
<div style="display: inline-box; margin: 6px; padding-left: 6px; padding-right: 6px; padding-bottom: 6px; border: solid 1px #0090ff; border-radius: 3px; width: 200px; height: 210px; float: right;">
 +
<div style="font-size: 16px; font-weight: bold; color: #0090ff; height: 20px;">More...</div>
 +
{{#ev:youtube|ANsEDgJtiSQ}}
 +
*[[Components/InventoryVendor|Inventory Vendor]]
 +
*[[Components/CatalogVendor|Catalog Vendor]]
 +
*[[Components/AnimationVendor|Animated Vendor]]
 +
</div>
 +
 +
  
 
The Mirage demo scene contains two types of vending machine;
 
The Mirage demo scene contains two types of vending machine;
Line 132: Line 149:
 
*Preview – Displays a specific product in preview window
 
*Preview – Displays a specific product in preview window
  
Setting up these vending machines is described in more detail in [[Videos/Vending_machines|this video tutorial]], and on these pages: [[Components/InventoryVendor|here]], [[Components/CatalogVendor|here]] and [[Components/AnimationVendor|here]].
+
 
 +
 
  
 
[[File:vendingmachinemirage.jpg]]
 
[[File:vendingmachinemirage.jpg]]

Revision as of 11:09, 28 October 2016


Howtocreateashopbanner.jpg


space for... merchants


This How To guide is based on the Mirage shop template which you can download and modify yourself from here

The space platform is designed to give creators the best tools for showing and selling their work.

We will cover;


Creating a shop

The Mirage region is built without using any 3D modelling or mesh creation tools at all. Everything in the region has been created with Unity or Photoshop. The region is approximately 90mb to upload and XX download for users. It runs in the desktop player, webgl and mobile/tablet.



Scene set up - interior or exterior scene?

The Mirage shop template region has no terrain or water, there is a only a basic skybox.

Mirageexterior.jpg



The building - using simple tools

The walls and floors and all the interior props were built using basic primitive shapes in Unity. These can be added to your scene, sized and positioned using the Unity editor's standard gizmos. Once a building has been created, you can add materials to your objects, to combine textures and shaders and create detailed and attractive spaces.

Transformbox.jpg



A 3D logo - text extrusion with Blender of Photoshop

The logo above the door was extruded from text using Photoshop and saved as an fbx file. You can also use Blender to do this.



Materials - combining textures with shaders

Unity offers a huge array of options for physical materials. You can buy cool materials and shaders in the Unity Asset Store; you can even create your own. just the Standard Shader which will automatically be applied to any new material you create provides you with enormous power when it comes to creating the look and feel of your space. This region has two different wooden floors and concrete walls. It also has glass panels, plastic fittings and some leather stools, all created using the Unity standard shader.

Materials.jpg



Mirrors - a camera and a render material

The region also has two mirrors, one in the entrance hall and one in the main store room.

Details on how to create mirrors can be found here. (Link pending)

It is worth noting that mirrors like these have almost no performance impact; Big mirrors like these will not cause lag in your regions.

Mirror.jpg



Lighting - using different light types

The lighting in this scene is described in more detail in our How To Light Interiors. (Link pending)

The different types of lights in this scene are;

  • Ambient light
  • Area lights
  • Point lights
  • Emissive surfaces

Lightprobe.jpg



Baking - using realtime and baked lights

Once all the lights and reflection probes are laid out, if you are baking anything (instead of using realtime lighting for everything)

Baked lights have their impact on textures and light probes applied during a one click bake process in Unity before you upload your region. The actual light source is then not used inworld. This improves inworld performance; your frame rate will be higher; but it increases the size of the download by creating lightmaps; large textures that blend with the scene textures to deliver the impact of the original light source.

Realtime lights are physical lights operating in your scene. They can cast live shadows on moving objects in your scene. Lots of lights may have an impact on performance but they reduce the size of the region when it is downloaded by your visitors.



Reflection probes - bringing shiny surfaces to life

Reflection probes influence all the static and moving shiny surfaces in the scene.

That includes the glass shelves and metal lights in this scene, and any metallic or shiny surfaces worn by visitors.

Once laid out reflections probes can be baked into the scene like light probes.

Reflecctionprobes.jpg



Sliding doors - animating objects without scripting

More...


space creators can easily keyframe animate a huge variety of attributes of inworld objects; not just position and rotation but colour, light intensity, etc.

In this scene the doors have been designed to open and close in response to a proximity trigger. No scripting is needed to build interactive components like this.


Vending machines


The Mirage demo scene contains two types of vending machine;

  • Catalogue – displays all virtual goods with a specific brand name that you define
  • Preview – Displays a specific product in preview window



Vendingmachinemirage.jpg



NPCs - creating mannequins without scripting

The Mirage demo scene contains three NPCs, each dressed wearing a skin that is also on sale in the store.

Setting up NPCs is really simple in space and the process is described in this video tutorial and here.

Npcs.jpg



Virtual goods

Whatever products you are selling, from whole regions to clothes, accessories, furniture or gestures, all you need to do is add the virtual good component to each asset and upload it to the store.

Using the virtual goods component is described in more detail in this video tutorial and here.

Virtualgoods.jpg