Can i use the object's reflection value of imported to stl file in MATLAB?

3 visualizaciones (últimos 30 días)
I was desined 3D indoor model using Blender, and i exported the model to STL file for using the design in MATLAB.
And i imported that file in MATLAB for ray tracing simualtion.
I've been looking at imported 3D models in MATLAB, and it seems that the model doesn't set each object's reflection value, but rather sets all objects' reflections to the deflalt value.
The 'reflection of objects' in simulation is very important to me.
So, I want to know answer about below questions.
  1. Is the reflection value of the objects set in Blender saved, when import as an STL file in matlab?
  2. if no way about question 1, is there any way, i can set the reflection value of each object in Matlab?
Thank you for your attention. Have a good day-!

Respuestas (1)

Sarthak
Sarthak el 16 de Mayo de 2023
Hi Yoojung,
STL(Standard Tessellation Language) contains only the geometry information of the model and no material or texture information. Instead of setting the reflection values of each object in MATLAB, I would recommend you to export the model with reflection values from Blender itself in a file format that does save material properties like FBX file format. You can then import this FBX file in MATLAB for your ray tracing simulation.
  1 comentario
Yoojung Moon
Yoojung Moon el 21 de Mayo de 2023
Thank you for your attention about my problem.
I do simulate using the function that 'siteview'. Look at the below picture, 'siteview' function can import just only STL file format.
And this is what i'm doing simulate.
And I want to know How to import FBX file on my ray tracing model?
Can i get answer about it?

Iniciar sesión para comentar.

Productos


Versión

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by