How can i make 3D model for Ray-Tracing include each object's effect of Surface Material?
27 views (last 30 days)
Show older comments
Hi.
I'm simulating 'Indoor MiMO-OFDM Communication Link using Ray Tracing' linked as bottom.
I have to simulate including the reflective properties(effect of Surface Material) of the constituent objects of the 3D model.
Ex) Box & Table -> wood, Labtop -> metal, Wall->concrete
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1381999/image.png)
So, How can i addition reflection value of each object to the Simulation?
Is there any way that to solve my problem?
0 Comments
Answers (1)
Pooja Kumari
on 25 Aug 2023
Dear Yoojung,
It is my understanding that you wanted to learn about Raytracing for Indoor MIMO-OFDM Communication Link and how to add reflective properties of multiple objects such as “Box and Table à wood”, “Laptop à metal”, “Wall à concrete” material using the Surface Material Property.
Surface material of Cartesian map surface specified as one of these values: "plasterboard","perfectreflector", "ceilingboard", "chipboard", "floorboard", "concrete", "brick", "wood", "glass", "metal", "water", "vegetation", "loam", or "custom". The model uses the material type to calculate path loss involving interactions with surfaces.
You can refer to the documentation below for more information on Surface Material Property of Ray Tracing :
To include multiple objects to one model. You can refer to below code:
pm = propagationModel("raytracing", ...
"CoordinateSystem","cartesian", ...
"Method","sbr", ...
"AngularSeparation","low", ...
"MaxNumReflections",2);
% Set the reflection material for each object
pm.SurfaceMaterial = "wood";
rays1 = raytrace(tx,rx,pm);
pm.SurfaceMaterial = "metal";
rays2 = raytrace(tx,rx,pm);
pm.SurfaceMaterial = "concrete";
rays3 = raytrace(tx,rx,pm);
Extract the computed rays from the cell array return.
rays1 = rays1{1,1};
rays2 = rays2{1,1};
rays3 = rays3{1,1};
rays = [rays1 rays2 rays3];
Examine the ray tracing results by looking at the number of reflections, propagation distance and path loss value of each ray. There are 24 rays found for one surface such as “wood”, “metal”, and “concrete”. So, rays will concatenate 3 rays and there are 72 rays found for the room.
If you want to change the permittivity and conductivity of defined 3-D model conference room, you can refer to the documentation:
Regards,
Pooja Kumari
See Also
Categories
Find more on Propagation and Channel Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!