|
@@ -1,17 +1,19 @@
|
|
|
-## Warehouse Assets Gem
|
|
|
+# Warehouse Assets Gem
|
|
|
|
|
|

|
|
|
|
|
|
-### General description
|
|
|
+## General description
|
|
|
|
|
|
This gem contains a set of models and prefabs which can be used to create a warehouse project suitable for robotic simulations.
|
|
|
|
|
|
-### Contents
|
|
|
+> Note: in O3DE there are 2 ways you can alter instantiated prefab: by changing prefab instance or prefab definition (source). If you modify prefab source, all instances will be altered. Thus unless you really know what you are doing, you should edit instances only. Please refer to [this document](https://www.o3de.org/docs/learning-guide/tutorials/entities-and-prefabs/entity-and-prefab-basics/) to learn about working with prefabs.
|
|
|
+
|
|
|
+## Contents
|
|
|
|
|
|
All of the contents of this gem reside in the folder `Assets`. It comprises 2 sub-folders:
|
|
|
|
|
|
-- `assets` containing models, textures, and material definitions
|
|
|
-- `Prefabs` containing prefabs that can be used to build the scene
|
|
|
+- `assets` containing models, textures, and material definitions,
|
|
|
+- `Prefabs` containing prefabs that can be used to build the scene.
|
|
|
|
|
|
The `Prefabs` folder has the following structure:
|
|
|
|
|
@@ -19,7 +21,7 @@ The `Prefabs` folder has the following structure:
|
|
|
|
|
|
All the prefabs have appropriate physics parameters including collision shapes.
|
|
|
|
|
|
-#### Basic Components
|
|
|
+### Basic Components
|
|
|
|
|
|

|
|
|
|
|
@@ -31,7 +33,7 @@ A set of basic items to be used in the warehouse is located in the `Components`
|
|
|
- `WarehouseBox3.prefab`
|
|
|
- `WarehouseBox4.prefab`
|
|
|
|
|
|
-#### Storage Racks
|
|
|
+### Storage Racks
|
|
|
|
|
|

|
|
|
|
|
@@ -43,7 +45,7 @@ Storage racks are created from basic components, combined in 5 different permuta
|
|
|
- `Storage_rack4.prefab`
|
|
|
- `Storage_rack5.prefab`
|
|
|
|
|
|
-#### Storage Rack Packs
|
|
|
+### Storage Rack Packs
|
|
|
|
|
|

|
|
|
|
|
@@ -53,13 +55,13 @@ The rack packs were created by stacking 4 storage rack prefabs in different comb
|
|
|
- `Storage_2x2_Pack2.prefab`
|
|
|
- `Storage_2x2_Pack3.prefab`
|
|
|
|
|
|
-#### Storage on Wheels
|
|
|
+### Storage on Wheels
|
|
|
|
|
|

|
|
|
|
|
|
`Storage_on_wheels.prefab` is a storage cage on wheels. As opposed to other prefabs it can be moved around the scene. The collision shape was designed in a way, that allows the Proteus robot to ride below it.
|
|
|
|
|
|
-#### Rack protection
|
|
|
+### Rack protection
|
|
|
|
|
|

|
|
|
|
|
@@ -68,11 +70,11 @@ There are 2 elements, located in the `Rack_protectors` folder, that can be place
|
|
|
- `Rack_front_protection.prefab`
|
|
|
- `Rack_side_protection.prefab`
|
|
|
|
|
|
-#### Misc
|
|
|
+### Misc
|
|
|
|
|
|
The `Misc` folder contains prefabs with floor lines.
|
|
|
|
|
|
-#### Warehouse structural
|
|
|
+### Warehouse structural
|
|
|
|
|
|
The `Warehouse_structural` folder contains prefabs comprising the warehouse building. These are:
|
|
|
|
|
@@ -82,15 +84,37 @@ The `Warehouse_structural` folder contains prefabs comprising the warehouse buil
|
|
|
|
|
|
The folder contains also a `Components` subfolder, containing assets used in these 3 prefabs.
|
|
|
|
|
|
-#### Warehouse scene
|
|
|
+### Warehouse scene
|
|
|
|
|
|

|
|
|
|
|
|
-The `WarehouseScene.prefab` contains a sample, ready-to-use warehouse scene, built from prefabs listed in this document.
|
|
|
+The `WarehouseScene.prefab` contains a sample, ready-to-use warehouse scene, built from prefabs listed in this document. It is built as a tree of assets and prefabs defining each element of the warehouse. The top-level objects are shown on the following image:
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+- `Global_illumination` contains lights imitating global illumination and `Reflection Probe` objects.
|
|
|
+- `Storage_markings` contains number boards on storage racks.
|
|
|
+- `Floor_markings` contains decal objects with floor lines.
|
|
|
+- `Movables` contains `Storage_on_wheels` prefabs.
|
|
|
+- `Floor_tire_traces` contains decal objects with tire traces.
|
|
|
+- `Storage_racks` contains storage racks arranged in 2 groups:
|
|
|
+ - `Unpacked` with `Storage_rack` prefabs.
|
|
|
+ - `Packs` with `Storage_2x2_Pack` prefabs.
|
|
|
+- `Rack_protectors` contains rack protection prefabs.
|
|
|
+
|
|
|
+These objects are followed by instances of warehouse structural assets:
|
|
|
+
|
|
|
+- `Warehouse_Floor.prefab`
|
|
|
+- `Warehouse_Walls.prefab`
|
|
|
+- `Warehouse_Roof.prefab`
|
|
|
+
|
|
|
+The structure of prefabs in the warehouse scene is highly nested. For example, location of one of boxes in the structure looks like this:
|
|
|
+
|
|
|
+
|
|
|
|
|
|
-### Tips on using Warehouse Assets Gem
|
|
|
+## Tips on using Warehouse Assets Gem
|
|
|
|
|
|
-#### Creating Warehouse scene
|
|
|
+### Creating Warehouse scene
|
|
|
|
|
|
***Tip 1***
|
|
|
|
|
@@ -100,21 +124,21 @@ To achieve alignment, all 3 "structural" prefabs (floor, walls and roof) should
|
|
|
|
|
|
Each of the frontal walls in the `Warehouse_Walls.prefab` contains optional gate openings and gates. It consists of 3 entities:
|
|
|
|
|
|
-- `Front_no_gates` - solid wall without opening
|
|
|
-- `Front_gate` - wall with gate opening
|
|
|
-- `Gate` - gate matching the opening
|
|
|
+- `Front_no_gates` - solid wall without opening,
|
|
|
+- `Front_gate` - wall with gate opening,
|
|
|
+- `Gate` - gate matching the opening.
|
|
|
|
|
|
Each of them can be activated or deactivated by enabling or disabling `PhysX Collider` and `Mesh` components. It is possible to obtain one of the following variants:
|
|
|
|
|
|
-1. Solid wall - enable `Front_no_gates`, disable the other 2
|
|
|
-2. Open gate - enable `Front_gate`, disable the other 2
|
|
|
-3. closed gate - enable `Front_gate` and `Gate`, disable `Front_no_gates`
|
|
|
+1. Solid wall - enable `Front_no_gates`, disable the other 2.
|
|
|
+2. Open gate - enable `Front_gate`, disable the other 2.
|
|
|
+3. closed gate - enable `Front_gate` and `Gate`, disable `Front_no_gates`.
|
|
|
|
|
|
***Tip 3***
|
|
|
|
|
|
Warehouses with open gates may be connected by placing them one after another.
|
|
|
|
|
|
-#### Visual quality
|
|
|
+### Visual quality
|
|
|
|
|
|
***Tip 4***
|
|
|
|
|
@@ -132,7 +156,7 @@ A sample set of parameters can be seen in this image:
|
|
|
|
|
|
The `WarehouseScene.prefab` is equipped with 2 Reflection Probes, which can be found in: `Warehouse/Global_illumination/Reflection_Probe`. To work correctly, Reflection Probes require baked materials, thus are disabled by default. For a better visual experience, it is advised to enable them. To do so follow these steps:
|
|
|
|
|
|
-1. Open the `WarehouseScene.prefab`
|
|
|
+1. Open the `WarehouseScene.prefab`.
|
|
|
2. Navigate to `Warehouse/Global_illumination` and locate 2 `Reflection_Probe` entities.
|
|
|
-3. Select each of them, enable the `Reflection Probe` component, and click `Bake Reflection Probe`
|
|
|
+3. Select each of them, enable the `Reflection Probe` component, and click `Bake Reflection Probe`.
|
|
|
|