Open xyont opened 2 years ago
What about using Step color space ?
I think it's unrelated to step color space, just the number of computed colors in the lookup table.
We could use vtkDiscretizableColorTransferFunction
and add a new option to set the number of colors.
Indeed, but being able to choose the step color space resolve the usecase in a different way and open the door to other color spaces.
That being said, adding the number of colors should be quite an easy feature to add. Feel free to contribute if you can @xyont
i'm new to graphics especially in VTK, not a really programmer also. however, it's interesting subject in which lead me to start learn something.
Added context and suggested solution.
Hi! Maybe I can take this?
Sure!
@mwestphal I'd like to work on this issue. Could you please assign it to me?
Of course! Feel free to join our discord if you want :)
Context F3D is able to display data using a color map. By default, the discretization of the colormap is 256. It would be nice to add a way to control that discretization.
Suggested Solution
--colormap-discretization
) in F3DOptionParsermodel.scivis.discretization
) in optionsOriginal Issue
dear Developers,
i did not know is this feature available yet or not, several times i read the documentation but i can not find for such purpose.
Paraview has capability to setting number of color discretization, hopefully is not complex things and F3D also capable to do the same. it's a common in engineering representation.
best regards, SN