Class SoMPEGFrameRenderer


public class SoMPEGFrameRenderer extends SoMPEGRenderer
Generates MPEG output, frame by frame. This class generates MPEG output, frame by frame.

See the parent class SoMPEGRenderer for methods to specify the file and recording parameters.

See Also:
  • Constructor Details

    • SoMPEGFrameRenderer

      public SoMPEGFrameRenderer()
      Constructor.
  • Method Details

    • recordFrame

      public void recordFrame()
      Calls recordFrame((float)0).
    • recordFrame

      public void recordFrame(float duration)
      Adds a new frame to the current MPEG output. The duration (specified in seconds) is used to determine how many times this frame must be played in the MPEG output depending on the current number of frames per second (as specified by the method SoMPEGRenderer.setNumFramesPerSecond()).