Document toolboxDocument toolbox

How to create Floor layout for RTLS WEB

This tutorial is very similar to the How to prepare OSM data for Twinzo because it share fundamental steps in setting camera however the are different rules to follow


Example .blend file



Setting up Scene

Necessary preparations

  1. You can download Example .blend file or you can use your own model

  2. Open it (Used Blender version is 3.4)

  3. Your scene should look like this

    image-20240530-074013.png

  4. Create new Collection and name it Floor layout

    image-20240530-074039.png

Setting up Camera

  1. Press Shift + A and add new camera to the scene

  2. Move camera by Z axis so it will be higher than any mesh in the scene

  3. Reset camera Position and Rotation to 0

  4. Rename camera to Floor layout camera and make sure that is selected as primary by clicking on green camera icon

  5. Go to resolution settings and change resolution to 3840x3840

Its better to always use same resolution for Height and Width, because it makes calculating position much more simple like (3840x3840). If model is big and complex, it is better to use 4K resolutions but for a simple models you can use lower resolution like FullHD (1920x1920)

Image resolution doesn't represent layout size. We are using orthographic scale as a value indicating the size of the layout in meters not Image resolution

  1. Change Orthographic Scale so camera will cover whole desired area and move camera so it will be centered with model

Scale desired area to be slightly bigger than model itself but try to minimize empty space

Setting up rendering settings

We will use Eevee for this purpose since it is easiest to setup and looks good enough

  1. After we have camera set up we need to make sure that in Color Management settings is View Transform set to Standard

  2. Change Rendering Device to Eevee and set Render Samples to 128 or even more if you have complex scene

  3. Enable Ambient Occlusion and set Distance to something like 100m (meters) and uncheck Bounces Approximation

  4. You can also enable Screen Space Reflections to get better image (Optional)

  5. Now head to World settings (Red Earth icon)

  6. And change Color value to White by clicking on Gray space above Strength value 1.000

  7. You can verify that everything is set correctly by entering Render mode

  8. You should see something similar like on the image bellow

  9. Than you can press F12 to start rendering. If your model has multiple floors you can look at step by step tutorial in section bellow called What if we have multiple floors ?

What if we have multiple floors ?

If our model has multiple floors we need to render each floor separately. You can do this like its described bellow:

  1. Since our model has multiple floors we need to Disable all floors from rendering except the one which we wanna render by clicking on these buttons

  1. Also make sure that only Floor which you wanna render is set to be Rendered (Solid monitor and camera icon, otherwise you will render everything what has solid Camera and Monitor icon)

  1. After this we can press F12 to render current floor. However we need to repeat those 2 steps above for every floor and also we need to save our currently rendered floor before we proceed to another one. When you pressed F12 new window showed up and here you can save it by pressing this button:

  2. You can name it in .jpg file format and also put floor and size into its name (In our case it will be Floor 0 156 x156). Final file name can look like this: floor 0 156x156.jpg

 

If you encounter any issues or need assistance with using this product, please do not hesitate to reach out for support. Our team is here to help you resolve any problems and answer any questions you may have.
To create a support ticket, visit our support portal at https://partner.twinzo.eu/helpdesk/customer-care-1