non-Gradation color


ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


Well, I made spheres by using TGeoVolume and TGeoNode, and Draw them with node->Draw(“ogl”).

The spheres are represented on canvas with glviewer and they well moved.

But the problem is their color has gradiation one according to brightness, not single color.

For example, one sphere with SetLineColor(kWhite), its color has gradient one which mixed white and grey.

I want to make color just ‘white’, single one. How can I make that in glviewer?

I guess what you describes is due to the light sources.
You can turn some on or of in the glviewer.
Try to turn off the “Specular” light.

I tried it. well, its color is not gradient now, but the color is more darker than original.

thanks for answer.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.