Darkplaces engine hacked to capture geometry as lines. See the original article at http://www.lofibucket.com/articles/oscilloscope_quake.html
This doesn't include the audio generator part.
Only compiles on Windows with Visual Studio 2013. Use the
darkplaces-wgl-vs2012.vcxproj project file.
The edge lines are captured in
DPSOFTRAST_Interpret_Draw function in
The lines are written to a named pipe as an array of structs in
First the number of lines is written as
int32_t and then all the lines
as an array. The lines are sent only if 1 is read first from the
pipe, as this is a crude way to synchronise the communication between
the two processes.
You could use e.g. network sockets to pass the line data to another process, instead of a name pipe.
You need to use software rendering. Enable it from the Quake console by setting
vid_soft 1 and then issuing command
I also added some custom cvars like