Class VideoOnTerrain


  • public class VideoOnTerrain
    extends ApplicationTemplate
    This example illustrates how you might show video on the globe's surface. It uses a SurfaceImage to display one image after another, each of which could correspond to a frame of video. The video frames are simulated by creating a new buffered image for each frame. The same SurfaceImage is used. The image source of the SurfaceImage is continually set to a new BufferedImage. (It would be more efficient to also re-use a single BufferedImage, but one objective of this example is to show how to do this when the image can't be re-used.) The SurfaceImage location could also be continually changed, but this example doesn't do that.
    • Constructor Detail

      • VideoOnTerrain

        public VideoOnTerrain()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)