Custom Materials: Explicit Assignment Issue and some Observations #660
Unanswered
steffenitely
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Hi @steffenitely, Concerning 1., could you provide a minimal code snippet that reproduces the issue? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’ve been working with custom materials in my simulation environment and ran into some unexpected issues while adjusting their parameters. To investigate, I set up a simple test scenario to observe how parameter changes in custom materials affect the amplitude of reflected paths. The setup includes a single transmitter (Tx) and receiver (Rx) placed at equal distances from two walls with custom materials. For this simulation, only the Line-of-Sight (LOS) and first-order reflections were considered. Here are a couple of key findings and areas of confusion:
I noticed that altering the parameters of custom materials (such as permittivity or conductivity) did not immediately impact the path coefficient in my simulations. The path power remained unchanged unless I explicitly reassigned the custom material to the object it was associated with, even if the material was already assigned in the .xml file.
Even more confusion is caused by checking the radio material of the object using scene.get("object_name"). Here the material of the object is displayed which was assigned using blender and defined in the notebook beforehand. The correct paramteres are always shown; with or without the explicit assignment but then the simulation is only effected with the explicit assignment.
This behavior can make simulations challenging, especially in larger scenes with multiple objects using different custom materials. Below are images showing the delay and power of the paths with and without explicit material reassignment:
Without explicit reassignment: (pic)

With explicit reassignment: (pic)

As you can see, while custom materials work, it’s counterintuitive that they need to be explicitly reassigned to take effect. This could complicate workflows in larger scenes with numerous custom materials.
It would be very helpful if the explicit assignment step could be skipped and defining is enough for a correct use of paramters when simulating
I also observed that the scattering coefficient affects the power of reflected paths, which makes sense. However, I’d suggest adding a small note in the documentation as a reminder that the scattering coefficient impacts reflections even when scattering = False. This would help clarify the coefficient’s effect for other users who may not expect it.
Thanks for all help in advance and best regards
Beta Was this translation helpful? Give feedback.
All reactions