3D OpenGL Swath & Sonar Geometry Simulation (gl)
The gl directory contains synSwath and its modular C subsystemsβan interactive 3D OpenGL/GLX acoustic geometry, phased-array beamforming, attitude coordinate frame, and seafloor backscatter/bottom-detection simulation environment developed by John E. Hughes Clarke.
Main Executable & Test Harness
synSwathβ Main interactive 3D OpenGL multibeam, sidescan, split-beam, and inertial reference frame simulator.testNONORTHOβ Standalone CLI verification tool for non-orthogonal transmit/receive cone intersections (calc_nonorthogonal_cones_010).
Core Architecture & Rendering Modules
SYN_globalβ Central header declaring global simulation state, array geometry, OpenGL materials, and viewport flags.SYN_initialiseβ Initializes all default transducer, attitude, material, camera, and bottom-detection state variables.SYN_launcherβ X11/Motif control panel launcher for interactive parameter adjustment.SYN_event_loopβ X11/GLX mouse, keyboard, and window event dispatcher for interactive 3D manipulation.SYN_oGL_drawβ High-level OpenGL scene assembly and coordinate-frame rendering pipeline.SYN_jGL_draw/SYN_jGL_draw.hβ 3D geometric primitives (vessels, transducers, axes, spheres, vectors, and cones).SYN_animateβ Multi-ping swath propagation, vessel motion (roll/pitch/yaw wobble), and frame-capture animation engine.SYN_scriptingβ Batch script parser and keyframe interpolation engine for automated lecture animations.
Specialized Acoustic & Kinematic Modules
SYN_NONORTHOβ 3D visualization of non-orthogonal transmit and receive cones and their hyperboloid/vector intersections.SYN_ROTβ Euler angle and Tait-Bryan rotation sequence (DCM_rthand) demonstrations.SYN_RefFrameβ Local-level, vessel, and sensor reference frame transformations.SYN_MRUβ Motion Reference Unit (accelerometers, gyroscopes, magnetometers, and lever-arm centripetal accelerations) visualization.SYN_doBDβ Synthetic amplitude and split-beam phase bottom detection across 3D seafloor facets.SYN_plate_selectβ Seafloor target plate loading, normal computation, and facet illumination.SYN_Ripple&SYN_internal_waveβ Synthetic seabed ripple and oceanographic internal wave surfaces.SYN_EKβ Simrad EK60/EK80 split-beam echosounder phase and target-location simulation.SYN_M3β Kongsberg Mesotech M3 imaging sonar geometry.SYN_SASβ Synthetic Aperture Sonar (SAS) along-track synthetic array geometry.SYN_ADCP&SYN_currentsβ Janus 4-beam ADCP geometry and 3D current vector fields.SYN_LBL,SYN_LLZ,SYN_navSect,SYN_TCtrajectoryβ Long-Baseline acoustic positioning, local-level navigation, and tide-corrected trajectory modules.
Table of contents
- SYN_ADCP
- synSwath
- SYN_animate
- SYN_currents
- SYN_doBD
- SYN_EK
- SYN_event_loop
- SYN_global
- SYN_internal_wave
- SYN_jGL_draw
- jGL_draw.h
- SYN_launcher
- SYN_LBL
- SYN_LLZ
- SYN_M3
- SYN_MRU
- SYN_navSect
- SYN_NONORTHO
- SYN_oGL_draw
- SYN_plate_select
- SYN_RefFrame
- SYN_Ripple
- SYN_ROT
- SYN_SAS
- SYN_scripting
- SYN_TCtrajectory
- SYN_initialise
- testNONORTHO