Is it possible to hide some part of a GLHeightField lazarus / 70-OpenGL ---------------------------------------------------------------------- stab · 2014-12-05 23:55 Hi, Am using GLHeightField to display a 3D-landscape with a rectangular border limit. Data is only valid within a polygon inside that rectangle and all data values not inside the polygon are set to a defined NoData value. Is it possible to hide these NoData areas or make them transparent? Regards stab ---------------------------------------------------------------------- Ocye · 2014-12-09 12:22 Is glViewport() what you are looking for? ---------------------------------------------------------------------- stab · 2014-12-09 12:57 Thanks for the advice. Might be what I'm looking for /stab ---------------------------------------------------------------------- circular · 2014-12-10 15:37 You might set all the invalid values to zero, so that it would be clear what to take into account?