rewrite test3dexport using Torsten Paul's csgpng test design