function obj_display_test ( )

%*****************************************************************************80
%
%% obj_display_test tests obj_display.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    23 February 2019
%
%  Author:
%
%    John Burkardt
%
  addpath ( '../obj_display' )

  timestamp ( );
  fprintf ( 1, '\n' );
  fprintf ( 1, 'obj_display_test:\n' );
  fprintf ( 1, '  MATLAB version\n' );
  fprintf ( 1, '  Test obj_display.\n' );

  obj_display ( 'cube.obj' );
  filename = 'cube.png';
  print ( '-dpng', filename );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );

  obj_display ( 'humanoid_tri.obj' );
  filename = 'humanoid_tri.png';
  print ( '-dpng', filename );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );

  obj_display ( 'shuttle.obj' );
  filename = 'shuttle.png';
  print ( '-dpng', filename );
  fprintf ( 1, '  Graphics saved as "%s"\n', filename );
%
%  Terminate.
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'obj_display_test:\n' );
  fprintf ( 1, '  Normal end of execution.\n' );
  fprintf ( 1, '\n' );
  timestamp ( );

  rmpath ( '../obj_display' )

  return
end
