Enum SoSceneManager.AntialiasingModes

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ACCUM_BUFFERS
      Deprecated.
      As of Open Inventor 9500.
      AUTO
      This is the default mode for antialiasing.
      FSAA
      FSAA is a full-screen antialiasing algorithm based on super-sampling.
      FXAA
      FXAA is a screen space antialiasing algorithm which uses shaders and is applied after the rendering.
      NO_ANTIALIASING
      Turn off antialiasing.
      SMAA
      SMAA is a screen space antialiasing algorithm which uses shaders and is applied after the rendering.
      SUPERSAMPLING
      The advantage of this algorithm is it gives high quality images even on lines.
    • Enum Constant Detail

      • AUTO

        public static final SoSceneManager.AntialiasingModes AUTO
        This is the default mode for antialiasing. The different algorithms are tested in the following order and the first available is used: SMAA, FSAA, SUPERSAMPLING.
      • FXAA

        public static final SoSceneManager.AntialiasingModes FXAA
        FXAA is a screen space antialiasing algorithm which uses shaders and is applied after the rendering. The main advantages of this technique are reduced memory footprint and cost.
      • SMAA

        public static final SoSceneManager.AntialiasingModes SMAA
        SMAA is a screen space antialiasing algorithm which uses shaders and is applied after the rendering. The main advantages of this technique are reduced memory footprint and cost with better quality result than FXAA algorithm.
      • FSAA

        public static final SoSceneManager.AntialiasingModes FSAA
        FSAA is a full-screen antialiasing algorithm based on super-sampling. The main advantage is the quality of the antialiasing but the memory and speed cost can be huge.
        Note: Use the SoFullSceneAntialiasing node to control FSAA during render traversal.
        Limitations:
        • Transparency:
          This mode is not compatible with SORTED_PIXEL transparency mode (see SoGLRenderAction.TransparencyType). Use SUPERSAMPLING, FXAA or SMAA instead if you need high quality transparency.
      • SUPERSAMPLING

        public static final SoSceneManager.AntialiasingModes SUPERSAMPLING
        The advantage of this algorithm is it gives high quality images even on lines. However multiple rendering passes are required, which reduces performance. (Old name was ACCUM_BUFFERS.)
      • ACCUM_BUFFERS

        public static final SoSceneManager.AntialiasingModes ACCUM_BUFFERS
        Deprecated.
        As of Open Inventor 9500. It corresponds to the SUPERSAMPLING antialiasing type.
        Deprecated name of SUPERSAMPLING.

        Warning Deprecated since Open Inventor 9500. It corresponds to the SUPERSAMPLING antialiasing type.

    • Method Detail

      • values

        public static SoSceneManager.AntialiasingModes[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SoSceneManager.AntialiasingModes c : SoSceneManager.AntialiasingModes.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SoSceneManager.AntialiasingModes valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • valueOf

        public static SoSceneManager.AntialiasingModes valueOf​(int val)
        Returns the enum constant of this type with the specified integer value
        Returns:
        the enum constant of this type with the specified integer value.
      • getValue

        public int getValue()
        Description copied from interface: IntegerValuedEnum
        Returns the integer value of the enum constant.
        Specified by:
        getValue in interface IntegerValuedEnum
        Returns:
        the integer value of the enum constant.