Table of Contents

Class GLBulgeVideoEffect

Namespace
VisioForge.Core.Types.X.OpenGL
Assembly
VisioForge.Core.dll

Represents a bulge geometric distortion effect that creates an outward spherical expansion from the center.

public class GLBulgeVideoEffect : GLBaseVideoEffect

Inheritance

Inherited Members

Remarks

SDK Availability: Media Blocks SDK

Platforms: Windows, Linux, macOS, Android, iOS (requires OpenGL/OpenGL ES support)

Rendering Backend: OpenGL-accelerated

This effect applies a convex spherical distortion that pushes pixels outward from the center of the frame, creating a bulging or ballooning appearance. The distortion is strongest at the center and gradually transitions to undistorted at the edges, simulating the appearance of viewing the video through a convex lens or on a spherical surface.

The bulge effect is commonly used for:

  • Magnification Effects: Simulating magnifying glass or zoom lens distortion
  • Cartoonish Emphasis: Exaggerating central subjects with comic-style bulging
  • Fisheye Simulation: Creating mild wide-angle lens effects
  • Attention Direction: Drawing viewer focus to center elements
  • Abstract Art: Creating surreal, distorted perspective effects
  • Video Tutorials: Emphasizing important UI elements in demonstrations

This is an OpenGL-accelerated geometric distortion effect using GPU-based radial displacement. The effect calculates pixel repositioning based on distance from center, creating smooth spherical curvature.

Performance: Real-time capable with GPU acceleration. Extremely efficient shader-based operation suitable for live video processing. Minimal performance impact even at 4K resolution.

Technical Details: Uses radial distance calculations to apply non-linear coordinate transformation. The distortion follows a quadratic or higher-order polynomial curve to create natural spherical appearance. Edge pixels remain undistorted to maintain frame boundaries.

Related Effects: See also VisioForge.Core.Types.X.OpenGL.GLSqueezeVideoEffect for opposite inward pinching, VisioForge.Core.Types.X.OpenGL.GLFishEyeVideoEffect for extreme wide-angle distortion, and VisioForge.Core.Types.X.OpenGL.GLTwirlVideoEffect for spiral distortion.

Constructors

GLBulgeVideoEffect()

Initializes a new instance of the VisioForge.Core.Types.X.OpenGL.GLBulgeVideoEffect class.

public GLBulgeVideoEffect()

Remarks

Creates a bulge effect using the OpenGL "bulge" shader. The effect applies convex spherical distortion centered on the frame, with intensity typically controlled through element properties.