Note: the latest version of this export to POV-Ray has been moved to pyNeuroML. For exporting NML2 from NEURON use this and then use pynml-povray (see here). See also here.
Converting NeuroML v1.8.1 and v2.0 files to POV-Ray: http://www.povray.org
Still in development! Use with caution!
This uses a Python (minidom) based parser which generates POVRay files directly for NeruoML v1.8.1 models (NeuroML1ToPOVRay.py).
It uses libNeuroML for NeuroML v2 models (NeuroML2ToPOVRay.py).
To get a feel for the usage of this tool, install POVRay (http://www.povray.org) and try running:
./test.sh
or (after installing libNeuroML)
./testv2.sh
This library has been used to generated some movies in 3D of NeuroML networks, e.g. here.