Skip to content

Conversation

vincentjzy
Copy link

@vincentjzy vincentjzy commented Sep 6, 2025

This PR expands the function of PlotSurface. It allows an additional series of data as input. The value could be used to indicate the property at each point in the 3D point cloud, such as temperature, density, potential, etc. This function seems to be required in a wide variety of scientific figures.

The example DemoSurfacePlots in implot3d_demo.cpp is modified to show the effect (see the animation below). The existing plot functionality is unaffected.
DemoSurfacePlots
DemoSurfacePlots

It is noteworthy that there are quite a few codes in this modification duplicated from the original PlotSurface. I will be very happy if the maintainer could consider to merge the modification into PlotSurface in a more elegant way.

Please let me know if there is any comment or suggestion.

…ates the value at each point, which could be temperature, density, potential, etc.
@vincentjzy vincentjzy requested a review from brenocq as a code owner September 6, 2025 13:57
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.

1 participant