Why create a new visualisation tool like GfsView? Can you use existing tools like Mayavi/VTK, OpenDX etc…?
Most visualisation packages assume that the data is defined on either structured Cartesian meshes (this includes curvilinear coordinates) or fully unstructured meshes (tetrahedra etc…). The octrees used by Gerris need first to be converted into unstructured tetrahedra and then imported into OpenDX etc… This is quite slow and memory-hungry and loses most of the advantages of the octree: in particular the multilevel representation of the solution is very useful from a visualisation point of view. I am not aware of any good visualisation tool which understands octrees. It would be a good idea to post messages on OpenDX, Mayavi, VTK etc… mailing lists asking about support for octrees. I did that and got little feed back, but more messages would show the developers of these projects that there is a desire for such a feature. GfsView makes the most of the octree structure to accelerate visualisation, computation of isosurfaces etc…