internal force distribution rendering #3781
Answered
by
hugtalbot
ZA123654
asked this question in
Develop in C++
-
Beta Was this translation helpful? Give feedback.
Answered by
hugtalbot
Apr 25, 2023
Replies: 2 comments 6 replies
-
Maybe this can help you! |
Beta Was this translation helpful? Give feedback.
4 replies
-
We can only show it on the Forcefield model for now. It will be interesting to map it to the visual model. How to make the force field model transparent? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Transparency could be added but it requires a minor C++ change.
Here in the code of the TetrahedronFEMForceField, you see that the color related to the stress is computed using a color vector which 4th entry
color[3] = 1.0f
which means no transparency. The more this entry tends to 0 the more transparent it becomes.Hope this helps