I’m generating a custom parametric object and it always draws as black regardless of what I try. I want to color it based on the distance from the origin.
I’ve tried SetScalarModeToDistance on the Parametric Function Source object and ScalarVisibilityOn on my vtkPolyDataMapper.
Are there any examples that could help guide me through this?