Class Viewport3DExample

java.lang.Object
limn.demo.site.Viewport3DExample

public final class Viewport3DExample extends Object
The 3D viewport as a whole screen: a lit scene on a checkered ground, filling a window.

Deliberately not the demo's own 3D tab. That one is a laboratory: a picker over ten capability probes, most of them on a black sky, which photographs as a dark rectangle with something small in the middle. A site's picture has to read at a glance, so this is one composed shot: the ground runs past the frame, the sky is lifted off black, and the objects fill it.

Deterministic: the render ignores the frame clock and the camera is placed rather than orbited, so two runs produce the same pixels.

  • Method Details

    • viewport

      public static Viewport3D viewport(float width, float height)
      The viewport alone, sized by its parent.
    • scene

      public static Scene scene()
      The viewport alone, edge to edge, for the capture the site shows.

      No title, no caption and no hint. A picture on the site sits inside a page that already carries its heading and its prose; text rendered into the image is that text a second time, at a size the page did not choose, in a language the page cannot translate. The only words a capture may carry are the ones on the controls it is showing, and here there are none.