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
Setting up Scene
Necessary preparations
You can download Example .blend file or you can use your own model
Open it (Used Blender version is 3.4)
Your scene should look like this
Create new Collection and name it Floor layout
Setting up Camera
Press Shift + A and add new camera to the scene
Move camera by Z axis so it will be higher than any mesh in the scene
Reset camera Position and Rotation to 0
Rename camera to Floor layout camera and make sure that is selected as primary by clicking on green camera icon
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
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
After we have camera set up we need to make sure that in Color Management settings is View Transform set to Standard
Change Rendering Device to Eevee and set Render Samples to 128 or even more if you have complex scene
Enable Ambient Occlusion and set Distance to something like 100m (meters) and uncheck Bounces Approximation
You can also enable Screen Space Reflections to get better image (Optional)
Now head to World settings (Red Earth icon)
And change Color value to White by clicking on Gray space above Strength value 1.000
You can verify that everything is set correctly by entering Render mode
You should see something similar like on the image bellow
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:
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
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)
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:
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