Skip to content

The viewport to * transforms are off

Ken Martin requested to merge ken-martin/vtk:fix_viewport_coord_calcs into master

The viewport coordinates were pixel centered which casues a number of issues including missing border pixels etc. This patch fixes the math so that viewport coordinates range from the lower left to the upper right which the origin being lower left. e.g. pixel 0,0 is the lower left of the pixel.

This topic addresses issue:

#15565 (closed)

Merge request reports