wiki.sine.space | sinespace

Difference between revisions of "Regions"

From wiki.sine.space
Jump to: navigation, search
(48 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Create and upload a region
+
<div style="width: 962px; margin:0 auto; vertical-align: text-top;">
  
 +
<table style="border-radius: 4px; background-color: #FFFFFF; border: solid 1px #0090ff; padding-left: 15px; padding-right: 15px; padding-bottom: 8px; padding-top: 12px;">
 +
<tr>
 +
<td>
 +
[[File:Howtocreateashopbanner.jpg]]
  
==[[Link Space and Unity]]==
 
  
[[Link Space and Unity]]
 
  
* Grab an API key from https://curator.sine.space/ and link it to your Unity project.
+
There are different ways to build regions in space.  
* Download and import the Space Editor Pack prefab into your Unity project.
+
  
==[[Basic Scene Set Up]]==
+
You can build region assets in other software packages and import into Unity.
  
[[Basic Scene Set Up]]
+
You can use Unity's mesh shapes and terrain tools, and you can grab third party assets from the Unity Asset Store.
  
* Assemble your scene content
+
All of the pages linked here all refer to the Scene Export Settings/Scene Save Settings component:
* Remove the main camera
+
* Add a landing zone
+
  
  
==[[Region - Virtual Good Settings]]==
+
[[File:Scenesavesettings.jpg]]
  
[[Region - Virtual Good Settings]]
 
  
* Add Scene Settings Component
+
If you want to upload a region quickly, click on 'File>New Sinespace Scene' in Unity to instantly create a quick-start region.
* Fill in Virtual goods information
+
  
  
==Export Settings==
+
==Assemble your scene==
  
[[Region - Export Settings]]
+
You can upload any scene you create in Unity as a region in Space.
  
MODE
+
Once your scene is assembled you have two housekeeping tasks;
  
[[File:]]
 
  
Single scene
+
==Remove Main Camera==
  
Single scene delivers the entire region to the user as a single file which downloads before their avatar spawns. For regions with download sizes up to 100 mb, Single scene is likely to be an acceptable download time for your visitors.
+
When you create a new scene in Unity it will by default have a light and a camera.  
  
Multi bundle
+
You need to delete the camera (by selecting it in the Hierarchy window and clicking delete).
  
Multi bundle is a form of dynamic loading control. It splits your scene into smaller components that are streamed to the visitor progressively.
 
  
The multi bundle algorithm examine every root object in your scene and compares each with every other root object. It then bundles objects where there is more than 40 kbytes of overlap in shared data between them.
+
[[File:Camera.jpg]]
  
You group into root objects has a big factor on how we create bundles; for instance grouping all vegetation or grouping one particular building where users will arrive.
 
  
Too many bundles will cause stuttering for the user while they are progressively loading. A reasonable target is 20 – 30 bundles.
 
  
Additive scenes
+
==Add Landing Zone==
  
Additive scenes is a Unity utility that allows you to organise a single region into multiple scenes. You can manually split content, creating a root scene containing occlusion, lightmap and navigation data, with additional scenes loading mesh and other content progressively. You will need Unity 5 multi scene tools to manually set this up.
+
You need to define where users arrive when they log in to your region; and what direction they are facing.  
 +
To do this, once your scene is set up, from the top menu in Unity select Game Object / Create Other / Landmark.
  
For more information, see;
+
OR;
  
http://docs.unity3d.com/Manual/MultiSceneEditing.html
+
If your Scene Heirarchy menu does not include Create other / Landmark, then;
  
Required download
+
Create empty object, then in the Inspector, add "Landmark behaviour" component.
  
When you are using Multi bundle mode you need to select one item in your scene, usually the terrain, and add a component to it called Manual Loading Control or Dynamic Loading Control. Then tick Required Download. This will ensure that the item is sent to the user before their avatar spawns. Without this there is a risk users will arrive and drop through space before your scene loads above their heads.
+
This will place a new landmark item in your scene. In the Inspector window, set the type to Landing Zone and tick Spawn Point.
  
[[File:]]
+
The in scene object is a yellow edged transparent plane which you can position anywhere in your scene.
  
Suggested memory
+
The yellow arrow points in the direction your visitors will face when they arrive.
  
If your guest's device has less memory than this, they will be given a performance warning when entering the region.
+
Be careful to position the landing zone slightly above the terrain; if a tall avatar's feet arrive below the terrain they may fall through.
  
WORLD MAP
 
  
The world map allows users to search and browse regions. The Preview Image you supply will be used as a background to preview your region in the World Map. It will also be used as the background while the region itself is loading.
+
[[File:Landmark.jpg]]
  
Preview image
+
==Adding a New Scene to your Region==
 +
<b>This does not apply if you are using Multi-Scene Mode & Multi-Scene Editing.</b><br>
  
The image you provide should be a .jpeg file. A 2:1 aspect ratio is recommended. Because the image is stretched to fit different screens it will distort slightly for some users.
+
You can have more then one scene in your region.<br>
 +
1 - Create a new scene in your current Sine.Spaces project.<br>
 +
2 - Double click the new scene in your Assets to load it into the Hierarchy.<br>
 +
2 - Design your scene. Be sure to save it.<br>
 +
3 - When ready to upload to the server click on 'Space' Scene Settings.<br>
 +
4 - Fill out the needed information, map pictures, and click Automatic Submission.<br>
 +
To teleport between one scene to another see [[https://wiki.sine.space/index.php?title=Components/TeleportWorld Teleport World]]
  
[[File:]]
+
==Create a Home Region/Template==
 +
If you want to make your region as a home type, which could be edited by the users themselves, you need to attach a component which is called "Room Floor" to one of the item in the scene, usually the terrain or the object used as a field. With at least one room floor component, the region will show "Edit Room" button when you in it. You can add several Room Floor components to different objects, each floor can be shared to another user, gives him/her the authority to edit.<br>
 +
In your inventory, you will also find an item with same name of the region. This is a home template. You can use it in "Edit Room" -> "Design" function, to change the whole set of a region. Of course you could set a price for it when upload, so other user can buy it in the shop. <br>
  
Loading logo
+
Please see our [[Room_Floor_System|Room Floor]] page for more information on the Room Floor component.
  
The Loading Logo Image appears on top of the Preview Image and is not stretched, allowing you to present your brand logo or a region specific title without distortion.
+
<b>Please pay attention that ALL the room edit info, like where you put some furniture is recorded in this "Room Floor" script. When you update your region, try not to remove this component in whatever situation. If you remove an old one then attach a new one to another object, the region update will cause all the users who are using your region template to find their region has gotten reset. If you must do that, try to let users of your template know this and be prepared for the overhaul updates.</b>
  
The image you supply should be a .png file with 512x256 dimensions. When you import the .png file, ensure the Alpha is Transparency box is ticked;
+
If you want to add a day/night cycle to your home region/template, please do see our [[Day/night_cycles|Day/Night Cycle]] page for more information.
  
[[File:]]
+
==Region Tutorials==
  
 +
After placing your landmark, go to 'Sinespace' at the top of Unity, and choose 'Scene Settings'.
  
 +
Follow these instructions on how to set the scene/upload settings: [[Regions/Upload Settings|Upload Settings]] or watch this video tutorial: [[Videos/Scene_Settings|Scene Settings]]
  
REGION URL
+
*For export settings, follow these instructions: [[Regions/Export Settings|Export Settings]] or watch this video tutorial: [[Videos/Export_Settings|Export Settings]]
  
You can assign a unique sub domain for each of your regions, which you can share with guests who can walk directly into your space from their browser.
+
*For platform settings, follow these instructions: [[Regions/Platform Settings|Platform Settings]] or watch this video tutorial: [[Videos/Platform_Settings|Platform Settings]]
  
In the editor you can reserve your region name.
+
*For how to submit your region, follow these instructions: [[Regions/Submission|Submitting Region]] or watch this video tutorial: [[Videos/Region_Submission|Region Submission]]
  
Once the region is published you can then teleport directly to the staging server version (Creator) or the live public server version (Live).
+
* For region management, see this page: [[Regions/Management|Region Management]]
  
[[File:]]
 
  
 +
For more advanced settings, you can see our post zones page [[Regions/Post|here]] and also our lighting an interior page [[Lighting_an_Interior|here]].
  
 +
You can also see how Navigation Bake works [[Navigation_bake|here]], and we also have information on Occlusion Bake/Culling [[Occlusion_bake|here]].
  
==Platform Settings==
+
There are also some handy lighting tips [[Regions/Lighting|here]].
  
[[Region - Platform Settings]]
 
  
The platform settings allow you to fine tune your region for each platform you want to publish to.
+
{{Creation Navbox}}
 
+
Space currently supports;
+
 
+
Standalone  - Desktop application, PC or Mac
+
Mobile / tablet - Android or iOS
+
WebGL - Chrome, Explorer, Firefox and Edge
+
Console - Sine Wave Entertainment is an accredited developer for Xbox and Playstation. The company is planning to release on these platforms later in 2016 after building a user interface for game controllers.
+
 
+
[[File:]]
+
 
+
The default settings are designed to work for most regions.
+
 
+
Scene adjustment
+
 
+
Remove lightmaps / light probes / reflection probes
+
 
+
Removing lightmaps and probes can significantly reduce download speed but will also impact on the runtime performance.
+
 
+
More information;
+
 
+
Lightmaps
+
Light probes
+
Reflection probes
+
 
+
Static bake meshes /  colliders
+
 
+
Ticking these boxes will prebake data before export. This improves loading performance but the region download will be bigger.
+
 
+
More information;
+
 
+
Static bake meshes
+
Static bake colliders
+
 
+
Strip occlusion / navigation data
+
 
+
Occlusion data holds information about what areas are visible from other areas; it allows the viewer to make intelligent decisions about optimising a scene, however it can add several mb of size to both runtime memory use; and download size. Keeping it improves performance but can result in higher memory use in big scenes.
+
 
+
Navigation data is used for showing waypoints, and moving NPCs around in a scene; it uses a little bit of extra memory, and can be stripped out if you are under severe memory pressure.
+
 
+
Texture size reduction
+
 
+
Max texture resolution
+
 
+
All textures will be reduced to a maximum of the defined size for each build.
+
 
+
Texture reduction levels
+
 
+
Reduces textures all by a multiple of the original, in line with Max texture reduction above.
+
 
+
So; if your scene contains large textures at 1024x1024 and you set the max texture reduction to 512 those large textures will be reduced by a factor of 4.
+
 
+
If you then set Texture reduction levels to 1, smaller textures in your scene will also be reduced by a factor of 4; so a 512x512 texture, which otherwise would have been unchanged by the Max texture reduction, would also be reduced by 4, to 256x256.
+
 
+
If you set the Texture reduction level to 2 it will multiply the Max texture reduction scale by 2; so in the case above reducing the smaller 512x512 texture by a factor of 8, to 64x64.
+
 
+
Normal reduction levels
+
 
+
This will apply a further multiplicative reduction on normal maps on top of the reduction already applied by the Texture reduction level above.
+
 
+
Texture compression
+
 
+
Allow crunch / Crunch level
+
 
+
Allows JPEG compression to be added to all textures in addition to DXT compression. This will degrade the quality of your images as the compression is lossy; but significantly reduces download filesize. It does not improve runtime memory size except during loading. Crunch level runs from 0 (very lossy) to 100 (lossless).
+
 
+
Compress textures
+
 
+
This applies a further quality reduction, comparable to the quality slider in Photoshop when saving a jpeg file.
+
 
+
True color As 16
+
 
+
Interprets images stored as 'True Color' to 16-bit colors. This applies compression to the colors, without introducing the blurriness / artefacts that DXT compression can introduce; at the expense of being slightly larger. With this ticked, any image with 'True Color' compression, will be packed at 16 instead of 32-bit on this platform.
+
 
+
Audio settings
+
 
+
Force audio to mono
+
 
+
Converts stereo files to mono for that platform.
+
 
+
Audio bitrate
+
 
+
This is a percentage field. So whatever the bitrate of your original files, you can reduce by X% for each of the different platforms you publish to. For instance a set of 128 bitrate original files, left at 100% in the Standalone build can be reduced to 64 in Mobile and WebGL builds by setting this field to 50.
+
 
+
 
+
 
+
==Submission Process==
+
 
+
[[Submission process]]
+
 
+
REPORT
+
 
+
Info
+
 
+
This shows how many objects, root objects and colliders your scene has. It will flag potential performance issues.
+
 
+
[[File:]]
+
 
+
Script list
+
 
+
Space currently has a white list of approximately 120 scripts you can deploy in your regions. The script list shows all the scripts in your project, flagging the ones not currently white listed, which will be stripped out when submitted.
+
 
+
You can submit scripts to your account manager for inclusion in the white list. When the platform's SDK is released (scheduled for September 2016) the white list will be maintained in parallel.
+
 
+
Apply compression settings
+
 
+
Click this button to apply the Platform Settings (above) to the assets in your scene.
+
 
+
Once the automated compression has run you can manually adjust individual files before publishing. You might, for instance, apply 512 as a maximum image size for the WebGL version of your region but then revert one or more specific important textures back to a higher resolution.
+
 
+
[[File:]]
+
 
+
Sort into layers
+
 
+
Click this button to automatically assign every asset in the scene to one of four draw distance layers, according to their size; larger objects are set to be visible at greater distances.
+
 
+
The draw distance for each user is determined by the quality settings they select inworld;
+
 
+
[[File:]]
+
 
+
Default = 20 to 75m
+
Important = 80 to 320m
+
VImportant = 240m to 900m
+
NotImport = Max 30m (60m in Beautiful/Ultra)
+
NotImportLandmark = Max 60m (120m in Beautiful/Ultra)
+
 
+
If you do not apply Sort into layers button everything will be left in default layer.
+
 
+
After applying you can manually review and modify;
+
 
+
[[File:]]
+
 
+
Automatic submission
+
 
+
Once your scene is ready to submit, click Automatic submission. This will create a zip file containing the region and will send it to the Space servers.
+
 
+
Here the assets will be unpacked and compiled for each of the different platforms you have specified. You will receive three automated emails; confirming the content has been received, has started processing and has been released for you to log in and review.
+
 
+
==Region Management==
+
 
+
[[Region Management]]
+
 
+
STAGING AND LIVE SERVERS
+
 
+
When you upload a region it will deploy first on the Space staging servers; staging.sine.space
+
 
+
Regardless of your subscription level, you can upload as many regions as you want to the staging server.
+
 
+
Once on the staging server your region will have an obscenity and security review by a member of the Space team. This review is to ensure the maturity ratings are appropriate and that nothing in the scene could crash the servers or severely impair performance for other users.
+
 
+
If you have a Level 5 subscription you can bypass this manual review and push directly to the live servers yourself.
+
 
+
Your subscription level determines the number of regions you can release concurrently on the live server.
+
 
+
[[File:]] IMAGE PENDING
+
 
+
 
+
 
+
REGION INFO PANEL
+
 
+
When you are logged in to any region you can click the minimap in the top right corner to open the Region info panel for that region.
+
 
+
[[File:]]
+
 
+
 
+
 
+
REGION ACCESS
+
 
+
If you are the region owner you can then modify the access permissions;
+
 
+
[[File:]]
+
 
+
You can set the region to be public, limited to your friends or limited to specific individuals who you approve.
+
 
+
 
+
 
+
APPROVE USERS FOR REGION ACCESS
+
 
+
Any user can request access to one of your private regions;
+
 
+
[[File:]] IMAGE PENDING
+
 
+
You can approve or reject their application.
+
 
+
 
+
 
+
MEMBERS
+
 
+
In the members panel you can see who currently has access to the region and you can modify their permissions on an individual basis.
+
 
+
[[File:]]
+
 
+
 
+
 
+
MULTIPLE REGION MANAGEMENT
+
 
+
Your subscription level sets the number of concurrent regions you can deploy on the live servers.
+
 
+
[[File:]]
+
 
+
You can upload as many regions as you want to, and then enable or disable each region to set which ones are live at any time;
+
 
+
[[File:]]
+

Revision as of 01:47, 25 January 2019

Howtocreateashopbanner.jpg


There are different ways to build regions in space.

You can build region assets in other software packages and import into Unity.

You can use Unity's mesh shapes and terrain tools, and you can grab third party assets from the Unity Asset Store.

All of the pages linked here all refer to the Scene Export Settings/Scene Save Settings component:


Scenesavesettings.jpg


If you want to upload a region quickly, click on 'File>New Sinespace Scene' in Unity to instantly create a quick-start region.


Assemble your scene

You can upload any scene you create in Unity as a region in Space.

Once your scene is assembled you have two housekeeping tasks;


Remove Main Camera

When you create a new scene in Unity it will by default have a light and a camera.

You need to delete the camera (by selecting it in the Hierarchy window and clicking delete).


Camera.jpg


Add Landing Zone

You need to define where users arrive when they log in to your region; and what direction they are facing. To do this, once your scene is set up, from the top menu in Unity select Game Object / Create Other / Landmark.

OR;

If your Scene Heirarchy menu does not include Create other / Landmark, then;

Create empty object, then in the Inspector, add "Landmark behaviour" component.

This will place a new landmark item in your scene. In the Inspector window, set the type to Landing Zone and tick Spawn Point.

The in scene object is a yellow edged transparent plane which you can position anywhere in your scene.

The yellow arrow points in the direction your visitors will face when they arrive.

Be careful to position the landing zone slightly above the terrain; if a tall avatar's feet arrive below the terrain they may fall through.


Landmark.jpg

Adding a New Scene to your Region

This does not apply if you are using Multi-Scene Mode & Multi-Scene Editing.

You can have more then one scene in your region.
1 - Create a new scene in your current Sine.Spaces project.
2 - Double click the new scene in your Assets to load it into the Hierarchy.
2 - Design your scene. Be sure to save it.
3 - When ready to upload to the server click on 'Space' Scene Settings.
4 - Fill out the needed information, map pictures, and click Automatic Submission.
To teleport between one scene to another see [Teleport World]

Create a Home Region/Template

If you want to make your region as a home type, which could be edited by the users themselves, you need to attach a component which is called "Room Floor" to one of the item in the scene, usually the terrain or the object used as a field. With at least one room floor component, the region will show "Edit Room" button when you in it. You can add several Room Floor components to different objects, each floor can be shared to another user, gives him/her the authority to edit.
In your inventory, you will also find an item with same name of the region. This is a home template. You can use it in "Edit Room" -> "Design" function, to change the whole set of a region. Of course you could set a price for it when upload, so other user can buy it in the shop.

Please see our Room Floor page for more information on the Room Floor component.

Please pay attention that ALL the room edit info, like where you put some furniture is recorded in this "Room Floor" script. When you update your region, try not to remove this component in whatever situation. If you remove an old one then attach a new one to another object, the region update will cause all the users who are using your region template to find their region has gotten reset. If you must do that, try to let users of your template know this and be prepared for the overhaul updates.

If you want to add a day/night cycle to your home region/template, please do see our Day/Night Cycle page for more information.

Region Tutorials

After placing your landmark, go to 'Sinespace' at the top of Unity, and choose 'Scene Settings'.

Follow these instructions on how to set the scene/upload settings: Upload Settings or watch this video tutorial: Scene Settings


For more advanced settings, you can see our post zones page here and also our lighting an interior page here.

You can also see how Navigation Bake works here, and we also have information on Occlusion Bake/Culling here.

There are also some handy lighting tips here.