N/APosted on - 06/01/2015
What is Reverse Painter’s algorithm? What problem or issue does this algorithm caters to? With just the name it is difficult to identify the area it is applied to but I have heard that it is related to Graphics? Can someone tell me how is it related to computer Graphics? Also I have heard about some flaws in this algorithm, and someone suggested about z-buffer solution, but I have no idea how both of these are related. Can someone please explain me this?
What is Reverse Painter’s algorithm?
In 3D computer graphics, the painter’s algorithm is one of the easiest solutions to the visibility issue. At some point, it is necessary to determine which polygons are visible and which are hidden. They got the name “painter’s algorithm” to the technique or method used by numerous painters whereby painting the distant parts of a scene before painting the parts that are nearer which will then conceal the parts that are distant.
When objects nearest to the viewer are painted first, a reverse painter’s algorithm is occasionally employed applying the rule that paint should never be applied to parts that are already painted except if they are partially transparent.