fork() ? usepipes() : show3d(); // works.
Very useful.
Now I have a 3D viewer that plays well with piped input/output.