Clarification with ray spawning in MATLAB's SBR ray tracing.

3 visualizzazioni (ultimi 30 giorni)
So I have a few things I want to clarify as I'm using MATLAB r2024 version for ray tracing using the SBR method.
So far, I understand that MATLAB actually makes use of the tessellated icosahedron in the SBR method, as I know there are 'high', 'medium', and 'low' angular separation settings for the propagation model, with corresponding number of rays spawned into the scene, which resemble a tessellated icosahedron. For this part, what I don't understand is that although we have these 3 options for the angular separation, we also have a custom value that we can use to set the angular separation. How do i know what algorithm is used to spawn the rays when a custom angular separation value is used, and how many rays are spawned for my chosen value before interacting with anything?
Furthermore, is there any way I can actually bypass this in MATLAB and use my complletely custom ray spawning set? This would be my main concern, as I have different ray spawning algorithms, with different separations and highly customizable number of rays for each one of them. All of my custom algorithms return the vectors for all the spawned rays, which I would love to use instead of the MATLAB provided ray spawning before setting up the propagation model and the raytracing function. Could this be possible?
Long story short, I would love to know if there is a way I can use a custom function to generate my choice of rays with my choice of angular separation and spawning algorithm before conducting ray tracing using the built-in MATLAB functions for the SBR method in a custom 3D environment. I have my custom spawning algorithms that give me all the rays with their directions, I just wanna know how can I use them instead of the predefined MATLAB angular separation option.
I don't mind if this requires me to code separate C++/MATLAB coded functions or whatever, I just wanna know if this is achievable.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by