-
Notifications
You must be signed in to change notification settings - Fork 73
Description
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:
ascent/src/libs/vtkh/rendering/Scene.cpp
Line 120 in 7dc99cd
| m_renderers.push_front(renderer); |
ascent_actions_logdensity_over_pressure.yaml
This can lead to confusing color bar associations with pipelines that are not executed in reverse order in the Scene.
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));