Skip to content

internal force distribution rendering #3781

Discussion options

You must be logged in to vote

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

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@ZA123654
Comment options

@ChangjingLiu
Comment options

@digitalhero1
Comment options

@hugtalbot
Comment options

Comment options

You must be logged in to vote
2 replies
@ChangjingLiu
Comment options

@hugtalbot
Comment options

Answer selected by ZA123654
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants