PointLess

Shading

Points are turned into a triangulated surface on screen and shaded by sunlight according to slope, creating a sense of relief and depth.

In the app: View › Shading

What does it do?

With Triangulated surface (Shading) on, points are turned into a surface in screen space on the graphics card and lit with Lambert shading: a horizontal surface keeps its own color, slopes facing the sun are lit and back slopes darken. The outside of the cloud, the sky and the area behind building edges are not filled. The color comes from the chosen color mode (class colors in the Class mode); the cost depends on the screen size, not the number of points.

When the box is checked, the settings appear. Quality has four levels: 1 Fast (2 px sample, smoothed surface), 2 Balanced (each point a separate sample, 3x3 plane normal), 3 High (1.5x supersampling + denser points), 4 Highest (2x supersampling + densest points). If no quality has been chosen, High is used on a discrete graphics card and Balanced on an integrated one; on very large screens supersampling is reduced automatically to save memory. Settings are persistent and kept when the application is reopened.

KDGBlight direction (azimuth)light elevationa low angle brings out the relief
Diagram: Shading: light direction and height

How to use it

  1. 1On the View card check Triangulated surface (Shading) in the Shading section or press G.
  2. 2Choose a level that suits your graphics card with the Quality slider (Fast … Highest).
  3. 3Position the sun with Light direction and Light elevation; lower the elevation to bring out micro-topography.
  4. 4To see the relief alone, turn on Grayscale (shading only).
  5. 5For smoothness on a weak graphics card, turn off Shade while moving too; the view is shaded when it stops.

Parameters

SettingWhat it doesDefault
Triangulated surface (Shading)Turns shading on / off (G)Off
Quality1 Fast, 2 Balanced, 3 High, 4 HighestDiscrete GPU: High; integrated: Balanced
Light direction0–359°; 0° = north, increasing clockwise (90° = east); shown with a compass direction315° NW
Light elevation5–85°; the light's angle above the horizon, a low angle brings out relief45°
Grayscale (shading only)Light and shade only, without color (hillshade)Off
Shade while moving tooWhen off, points are drawn plainly while the view is rotated / panned and shaded when it stopsOn

Outputs

  • A shaded surface image on screen; point data and files do not change.
  • Settings (including the on / off state) are stored in the user settings; the on / off state is also written to the session file (.plsession).

Tips

  • A 315° NW light direction is the cartographic hillshade standard; to emphasize linear features, turn the light perpendicular to them.
  • In the Class mode shading gives a class-colored relief; it is useful for catching pit and bump errors in the ground class.
  • Shading cannot be used while XR (X-ray) is selected; while it is on, Display style and Sharpening are disabled.
  • If it does not work on the graphics card, the box turns off and a warning is shown; it is tried again on the next start.

Image from the app

Shading section: quality, light direction and elevation.
Shading section: quality, light direction and elevation.

Related tools