Class GLLightTunnelVideoEffect
- Namespace
- VisioForge.Core.Types.X.OpenGL
- Assembly
- VisioForge.Core.dll
Represents a light tunnel effect that creates a perspective distortion with radial light rays emanating from the center.
public class GLLightTunnelVideoEffect : GLBaseVideoEffectInheritance
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 creates a dramatic tunnel or vortex effect where the video appears to be drawn into or emanating from a central vanishing point, accompanied by radial light rays. The effect combines perspective distortion with luminance enhancement to create a sense of motion and depth, similar to traveling through a tunnel of light.
The light tunnel effect is commonly used for:
- Sci-Fi Effects: Hyperspace, warp drive, or portal animations
- Transitions: Dramatic scene transitions suggesting travel or transformation
- Music Videos: High-energy, dynamic visual effects with strong directionality
- Abstract Visualizations: Hypnotic, motion-centric visual designs
- Video Game Effects: Speed boost, warp, or teleportation visual feedback
- Intros/Outros: Attention-grabbing opening or closing sequences
This is an OpenGL-accelerated effect using GPU-based radial distortion and brightness modulation. The effect combines geometric transformation with lighting calculations to create the characteristic tunnel appearance with light rays.
Performance: Real-time capable with GPU acceleration. Highly efficient shader-based implementation suitable for high-resolution video. Performs well even on mobile GPUs.
Technical Details: Uses polar coordinate transformation combined with radial gradient calculations to create the tunnel perspective. The light rays are generated through angular brightness modulation patterns around the center point.
Related Effects: See also VisioForge.Core.Types.X.OpenGL.GLTwirlVideoEffect for spiral distortion and VisioForge.Core.Types.X.OpenGL.GLBulgeVideoEffect for center-focused expansion effects.
Constructors
GLLightTunnelVideoEffect()
Initializes a new instance of the VisioForge.Core.Types.X.OpenGL.GLLightTunnelVideoEffect class.
public GLLightTunnelVideoEffect()Remarks
Creates a light tunnel effect using the OpenGL "tunnel" shader. The effect creates a radial perspective distortion with animated light rays converging at the center point.