Skip to content

Multiple Pseudocolor Renderers/Plots will be executed in reverse #1648

@nicolemarsaglia

Description

@nicolemarsaglia

Having multiple plots that use pseudocolor will lead to a reverse in executed order in the scene. This is because we force mesh and volume renderers to be executed last, and pseudocolor plots get pushed to the front:

m_renderers.push_front(renderer);

ascent_actions_logdensity_over_pressure.yaml

Image

This can lead to confusing color bar associations with pipelines that are not executed in reverse order in the Scene.

Image

Current workaround is to force the color_par_position

ascent_actions_logdensity_over_pressure.yaml

Here are the 4 default color bar positions:

viskores::Bounds p1(viskores::Range(0.84, 0.92), viskores::Range(+0.1, +0.8), viskores::Range(0, 0));
viskores::Bounds p2(viskores::Range(0.84, 0.92), viskores::Range(-0.8, -0.1), viskores::Range(0, 0));
viskores::Bounds p3(viskores::Range(-0.8, -0.72), viskores::Range(+0.1, +0.8), viskores::Range(0, 0));
viskores::Bounds p4(viskores::Range(-0.8, -0.72), viskores::Range(-0.8, -0.1), viskores::Range(0, 0));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions