Skip to content

Deform the Visual Model of an ElasticMaterialObject together with Force Fields #139

Discussion options

You must be logged in to vote

To get a deformable visual model of an ElasticMaterialObject, use a Vec4d surfaceColor, e.g. surfaceColor= [0.1, 0.2, 0.3, 1.0], when defining the object.

If a Vec3d is used, a zero will be concatenated to the end, which makes the OglModel transparent.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@qpding
Comment options

@EulalieCoevoet
Comment options

@qpding
Comment options

@EulalieCoevoet
Comment options

@qpding
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by qpding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants