I would like to simply display polygons in the specified color without shading, is this possible? I tried to install each of the surrounding, mirror, diffuse, etc. 1, and the rest - 0 with no luck.
To turn off shading, you really need to turn off lightning.
To do this, point actor.GetProperty().LightingOff()to the appropriate vtkActor. See http://www.vtk.org/doc/nightly/html/classvtkProperty.html
actor.GetProperty().LightingOff()
Based on vtk pyramid, the effect can be seen in the following example
Source: https://habr.com/ru/post/1530044/More articles:RestKit не отображает BOOL в 64-битном симуляторе - iosIs there a more efficient way to compare 3+ elements in an If statement? - javaImplementing an IEquatable Class to Use as a Key in a Dictionary - hashcodeIs this appointment right? - javascriptgetting different unix timestamps in php and javascript (server time is wrong) - javascriptMFC: How to open the Windows Open With dialog box (select the program you want to use to open this file)? - winapiNLTK regexp tokenizer doesn't play well with decimal point in regex - pythonPythonic way to create 2d array? - pythonJQuery.on () function not working with click event - javascriptОператор Star (*) применяется к спискам и целым числам - pythonAll Articles