Class RenderModeCubemapProjections

All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, IObserver, IRenderMode

public class RenderModeCubemapProjections extends RenderModeCubemap implements IRenderMode, IObserver
Renders the cube map projection mode. Basically, it renders the six sides of the cube map (front, back, up, down, right, left) with a 90 degree fov each and applies a cube map projection (spherical, cylindrical, hammer, azimuthal equidistant)
  • Constructor Details

    • RenderModeCubemapProjections

      public RenderModeCubemapProjections()
  • Method Details

    • render

      public void render(ISceneRenderer sgr, ICamera camera, double t, int rw, int rh, int tw, int th, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, IPostProcessor.PostProcessBean ppb)
      Description copied from interface: IRenderMode
      Renders the scene.
      Specified by:
      render in interface IRenderMode
      Parameters:
      sgr - The scene renderer object.
      camera - The camera.
      t - The time in seconds since the start.
      rw - The width of the buffer.
      rh - The height of the buffer.
      tw - The final target width, usually of the screen.
      th - The final target height, usually of the screen.
      fb - The frame buffer, if any.
      ppb - The post process bean.
    • resize

      public void resize(int rw, int rh, int tw, int th)
      Description copied from interface: IRenderMode
      Resizes the assets of this renderer to the given new size
      Specified by:
      resize in interface IRenderMode
      Parameters:
      rw - New render buffer width.
      rh - New render buffer height.
      tw - New target (screen) width.
      th - New target (screen) height.
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable
    • notify

      public void notify(Event event, Object source, Object... data)
      Description copied from interface: IObserver
      Event notification call.
      Specified by:
      notify in interface IObserver
      Parameters:
      event - The event type.
      source - The source object, if any.
      data - The data associated with this event.