JOGL v2.6.0-rc-20250712
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.demos.av.StereoDemo01 Class Reference

All distortions, no multisampling, bilinear filtering, manual-swap and using two FBOs (default, good) More...

Collaboration diagram for com.jogamp.opengl.demos.av.StereoDemo01:

Public Member Functions

void doIt (final StereoDeviceFactory.DeviceType deviceType, final int deviceIndex, final int posx, final int posy, final StereoGLEventListener upstream, final MovieSBSStereo movieSimple, final Uri movieURI, final boolean biLinear, final int numSamples, final boolean useSingleFBO, final boolean useRecommendedDistortionBits, final boolean useVignette, final boolean useChromatic, final boolean useTimewarp, final boolean useAutoSwap, final boolean useAnimator, final boolean exclusiveContext) throws InterruptedException
 

Static Public Member Functions

static void main (final String args[]) throws InterruptedException, URISyntaxException
 

Detailed Description

All distortions, no multisampling, bilinear filtering, manual-swap and using two FBOs (default, good)

java StereoDemo01 -time 10000000

All distortions, 8x multisampling, bilinear filtering, manual-swap and using two FBOs (best - slowest)

java StereoDemo01 -time 10000000 -samples 8

All distortions, 8x multisampling, bilinear filtering, manual-swap and using one a big single FBO (w/ all commandline params)

java StereoDemo01 -time 10000000 -vignette true -chromatic true -timewarp false -samples 8 -biLinear true -autoSwap false -singleFBO true -mainScreen false

No distortions, no multisampling, no filtering, auto-swap and using a big single FBO (worst and fastest)

java StereoDemo01 -time 10000000 -vignette false -chromatic false -timewarp false -samples 0 -biLinear false -autoSwap true -singleFBO true

Test on main screen:

java StereoDemo01 -time 10000000 -mainScreen true

Test a 3D SBS Movie:

java StereoDemo01 -time 10000000 -filmFile Some_SBS_3D_Movie.mkv
java StereoDemo01 -time 10000000 -filmURI http://whoknows.not/Some_SBS_3D_Movie.mkv

<p<blockquote>‍

In case user likes to utilize the Generic software implementation, which is selected Default if no other device is available or explicit via -device Generic, the user can chose between different generic stereo modes:

  mono            : -device Generic -deviceIndex 0
  stereo-sbs      : -device Generic -deviceIndex 1
  stereo-sbs-lense: -device Generic -deviceIndex 2

Key 'R' enables/disables the VR's sensors, i.e. head rotation ..

Definition at line 107 of file StereoDemo01.java.

Member Function Documentation

◆ doIt()

void com.jogamp.opengl.demos.av.StereoDemo01.doIt ( final StereoDeviceFactory.DeviceType  deviceType,
final int  deviceIndex,
final int  posx,
final int  posy,
final StereoGLEventListener  upstream,
final MovieSBSStereo  movieSimple,
final Uri  movieURI,
final boolean  biLinear,
final int  numSamples,
final boolean  useSingleFBO,
final boolean  useRecommendedDistortionBits,
final boolean  useVignette,
final boolean  useChromatic,
final boolean  useTimewarp,
final boolean  useAutoSwap,
final boolean  useAnimator,
final boolean  exclusiveContext 
) throws InterruptedException

Definition at line 210 of file StereoDemo01.java.

Here is the caller graph for this function:

◆ main()

static void com.jogamp.opengl.demos.av.StereoDemo01.main ( final String  args[]) throws InterruptedException, URISyntaxException
static

Definition at line 124 of file StereoDemo01.java.

Here is the call graph for this function:

The documentation for this class was generated from the following file: