OpenGL: changing the visualization color

Is that possible to change the geometry visualization color in OpenGL so that the background is white and the geometry lines are black? Also could we change the thickness of the geometry lines?


Yes indeed. There are lots of vis commands that let you do that sort of thing. Use “help /vis” or just “ls” or look in the Application Developers Guide, Section on “Built-in Commands”. E.g.,


Have fun.

To change the colour of detector volumes whose vis attributes have not been set:


To change line width of detector volumes (in wireframe style):


(Currently also needs /vis/viewer/rebuild but I’ll make that automatic.)

Then there’s a recently introduced command: