You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All most all of the forge objects have the option to let user provide per vertex attributes such as colors and alphas for rendering.
In the case of contour plots, I am not sure if per vertex colours or alphas makes any sense. One possible usage that i can see is per iosline color and alpha values.
@arrayfire/core-devel Any possible use cases of allowing per vertex colours/alphas ? An alternative to these per vertex attributes i thought off is using colormaps with isolines, which is the most common way of coloring contour lines from what i have seen so far.
As you mention, it is very common to color isolines. Also it is common for every N-th iso-line to be thicker. Beyond this, I've never seen any plot that has color/alpha settings for individual verticies.
Color per isoline is one feature that will be needed, which can be done using separate color buffer or colormaps.
By thickness of Nth isoline, did you mean among all isolines, only one isoline will be made thicker than others or each isoline will have a thickness of it's own ?
Activity
pavanky commentedon Feb 11, 2016
Whats the difference between the two
setColormethods ?9prady9 commentedon Feb 11, 2016
@pavanky The one which takes enum as input calls the float version internally after computing color from enum.
bkloppenborg commentedon Feb 12, 2016
As you mention, it is very common to color isolines. Also it is common for every N-th iso-line to be thicker. Beyond this, I've never seen any plot that has color/alpha settings for individual verticies.
9prady9 commentedon Feb 12, 2016
@bkloppenborg
Lets dump alphas from discussion for now.
Color per isoline is one feature that will be needed, which can be done using separate color buffer or colormaps.
By thickness of Nth isoline, did you mean among all isolines, only one isoline will be made thicker than others or each isoline will have a thickness of it's own ?
bkloppenborg commentedon Feb 12, 2016
Here are a few examples of things I've seen.
pavanky commentedon Feb 12, 2016
I don't think this should be in 1.0