Skip to content

Coloring different subdomains in different colors #269

Answered by BradyAJohnston
famrein asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @famrein thanks for the question! Currently there is some smoothing abblied to the cartoon, so if you 'break the chain' by having different cartoon representations applied to different selections, then it might not line up like you are seeing.

What I would recommend is to have a single cartoon style applied, but instead selectively apply 3 different colours to the atoms before you create the cartoon style.

I have an example in the screenshot below where I use the MOL_color_set node to set the color of different selections, then apply the style. You can then see in the screenshot that they are part of the same mesh, and the colour blends between the different domains.

Hope this helps! L…

Replies: 1 comment 2 replies

Comment options

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

@BradyAJohnston
Comment options

Answer selected by famrein
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants