Very basic implementation of 3D preview - install Wx::GLCanvas to get it working