Skip to content

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

Open
emily-howell wants to merge 110 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 110 commits into
developfrom
task/4_2_2026-1027-plotting-with-just-one-color

Conversation

@emily-howell

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

Copy link
Copy Markdown
Member

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>
…' of github.com:Alpine-DAV/ascent into task/3_24_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
@emily-howell emily-howell self-assigned this Apr 7, 2026
@cyrush

cyrush commented Apr 13, 2026

Copy link
Copy Markdown
Member

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
…_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
@emily-howell

Copy link
Copy Markdown
Member Author

@cyrus All of the dependencies for this branch are merged in. This should be ready for review now

@cyrush cyrush left a comment

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.

This looks good!

Users would also like to be able to create these style plots w/o a field.

s1:
  plots:
     p1:
       type: "mesh"
       topology: "mytopo" # optional, needed if mutiple topos exist
       color_table:
           solid: [0.0, .184, .655]

We should add an option to the interface that allows a solid color mesh plot.

This will require plumbing behind the scenes, maybe it is realized as a pc plot with a dummy field.

Side note:
We should also consider accepting hex style colors since those are ubiquitous vs floating point style colors. Let's add a separate ticket for this,.


.. code-block:: c++
conduit::Node scenes;
scenes["s1/plots/p1/type"] = "volume";

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.

should this be pseudocolor ?

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