Skip to content

Task/4 2 2026 1027 plotting with just one color#1691

Open
emily-howell wants to merge 107 commits into
developfrom
task/4_2_2026-1027-plotting-with-just-one-color
Open

Task/4 2 2026 1027 plotting with just one color#1691
emily-howell wants to merge 107 commits into
developfrom
task/4_2_2026-1027-plotting-with-just-one-color

Conversation

@emily-howell
Copy link
Copy Markdown
Member

@emily-howell emily-howell commented Apr 7, 2026

Implemented for both VTK-H and Devil Ray rendering. I took two different approaches. The implementation in the Devil Ray parsing builds a color_table with the one color and passes it to parse color table, the other just sets the color table directly. Curious which is prefered.

Also, I built this on top of the Json Schema changes. I figured it was easier to implement the changes to the parameter checking there then to have to update them later.

… format. Also adding additional validator constructs needed to complete this.
(Also fixing a bug in the dray rendering filter :( )
Signed-off-by: Emily Howell <howell31@llnl.gov>
@emily-howell emily-howell self-assigned this Apr 7, 2026
@cyrush
Copy link
Copy Markdown
Member

cyrush commented Apr 13, 2026

Since this builds off of the params refactor, I can't really isolate the changes for the mesh plotting easily. I will review when we have the other changes merged in.

…_2026-json-schema-for-filters-extended-edition
…' of github.com:Alpine-DAV/ascent into task/3_24_2026-json-schema-for-filters-documentation-edition
…_2026-json-schema-for-filters-extended-edition
…' of github.com:Alpine-DAV/ascent into task/3_24_2026-json-schema-for-filters-documentation-edition
@cyrush cyrush added this to the 0.9.6 milestone Apr 16, 2026
Comment thread src/tests/ascent/t_ascent_render_3d.cpp Outdated
conduit::Node scenes;
scenes["s1/plots/p1/type"] = "pseudocolor";
scenes["s1/plots/p1/field"] = "braid";
scenes["s1/plots/p1/color"] = {0.0, .184, .655}; // {0.748, 0.004, 0.008}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about

Suggested change
scenes["s1/plots/p1/color"] = {0.0, .184, .655}; // {0.748, 0.004, 0.008}
scenes["s1/plots/p1/color_table/solid"] = {0.0, .184, .655};

…_2026-json-schema-for-filters-documentation-edition
…_2026-json-schema-for-filters-documentation-edition
…ition' of github.com:Alpine-DAV/ascent into task/4_2_2026-1027-plotting-with-just-one-color
…ocs to build locally and now I should actually make them look right too
…ition' of github.com:Alpine-DAV/ascent into task/4_2_2026-1027-plotting-with-just-one-color
…ition' of github.com:Alpine-DAV/ascent into task/4_2_2026-1027-plotting-with-just-one-color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants