1 // obj.hxx -- routines to handle WaveFront .obj-ish format files.
3 // Written by Curtis Olson, started October 1997.
5 // Copyright (C) 1997 Curtis L. Olson - curt@infoplane.com
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License as
9 // published by the Free Software Foundation; either version 2 of the
10 // License, or (at your option) any later version.
12 // This program is distributed in the hope that it will be useful, but
13 // WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 // General Public License for more details.
17 // You should have received a copy of the GNU General Public License
18 // along with this program; if not, write to the Free Software
19 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 // (Log is kept at end of this file)
30 # error This library requires C++
44 #include <Include/fg_types.h>
46 #include <Scenery/tile.hxx>
49 // Load a .obj file and build the GL fragment list
50 int fgObjLoad(char *path, fgTILE *tile);
57 // Revision 1.1 1998/08/25 16:51:26 curt
58 // Moved from ../Scenery
60 // Revision 1.4 1998/05/24 02:49:10 curt
61 // Implimented fragment level view frustum culling.
63 // Revision 1.3 1998/05/23 14:09:21 curt
64 // Added tile.cxx and tile.hxx.
65 // Working on rewriting the tile management system so a tile is just a list
66 // fragments, and the fragment record contains the display list for that
69 // Revision 1.2 1998/05/02 01:52:15 curt
70 // Playing around with texture coordinates.
72 // Revision 1.1 1998/04/30 12:35:29 curt
73 // Added a command line rendering option specify smooth/flat shading.
75 // Revision 1.11 1998/04/25 22:06:31 curt
76 // Edited cvs log messages in source files ... bad bad bad!
78 // Revision 1.10 1998/04/24 00:51:07 curt
79 // Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
80 // Tweaked the scenery file extentions to be "file.obj" (uncompressed)
81 // or "file.obz" (compressed.)
83 // Revision 1.9 1998/04/22 13:22:45 curt
84 // C++ - ifing the code a bit.
86 // Revision 1.8 1998/04/21 17:02:43 curt
87 // Prepairing for C++ integration.
89 // Revision 1.7 1998/04/03 22:11:37 curt
90 // Converting to Gnu autoconf system.
92 // Revision 1.6 1998/01/31 00:43:25 curt
93 // Added MetroWorks patches from Carmen Volpe.
95 // Revision 1.5 1998/01/27 00:48:03 curt
96 // Incorporated Paul Bleisch's <pbleisch@acm.org> new debug message
97 // system and commandline/config file processing code.
99 // Revision 1.4 1998/01/22 02:59:41 curt
100 // Changed #ifdef FILE_H to #ifdef _FILE_H
102 // Revision 1.3 1998/01/19 19:27:17 curt
103 // Merged in make system changes from Bob Kuehne <rpk@sgi.com>
104 // This should simplify things tremendously.
106 // Revision 1.2 1998/01/13 00:23:10 curt
107 // Initial changes to support loading and management of scenery tiles. Note,
108 // there's still a fair amount of work left to be done.
110 // Revision 1.1 1997/10/28 21:14:55 curt