2001-05-01 06:16 jasonmod * QuadNode.cpp, QuadtreeForest.cpp, VertexManager.h, main.cpp: - removed the universal wipe of tristrips each frame and fixed the code that selectively wipes the ones that need wiping; saved some time on redraws - put some of the more verbose diags on a flag and turned it off - removed some dead code from VertexManager.h 2001-04-30 14:41 jasonmod * QuadNode.cpp, QuadNode.h, QuadtreeForest.cpp, TODO, VertexManager.h, main.cpp: - enabled the new expansion system to reduce grid-related artifacts - rewrote the checks for which quads are out-of-field to take advantage of the quadtree structure - put a note in the vertices as to whether its known that they are out-of-field or not - added some additional profiling diags (which are disabled unless the USE_TERRAIN_PROFILING flag in defines.h is uncommented) 2001-04-29 23:17 jasonmod * SimpleTerrain.cpp: changed to the new faster-seeding random number generator 2001-04-29 18:19 jasonmod * defines.h: removed a define I checked in by accident last time 2001-04-29 18:18 jasonmod * makefile: changed target to the opengl one from TARG_LINUX which didn't exist 2001-04-29 18:13 jasonmod * useglut.h: added includes for USE_GLX mode 2001-04-29 18:13 jasonmod * utils.h: added prototypes for new functions in main.cpp 2001-04-29 18:12 jasonmod * main.cpp: - added a bunch of functions to make it run with GLX rather than GLUT; they aren't totally working yet (some rendering bugs, no keyboard controls, no mouse controls) and so are currently disabled - added a random number generator that seeds itself much more quickly than the system one - added a function to return the system time as a double, for use in profiling 2001-04-29 18:09 jasonmod * Tristrip.cpp: - merged the pieces of the render function that rendered no-texmap and texmap to eliminate some duplicated code 2001-04-29 18:08 jasonmod * VertexManager.cpp, VertexManager.h: added some functions used by the new expansion algorithm, which is currently disabled 2001-04-29 18:07 jasonmod * TerrainGenerator.cpp, TerrainGenerator.h: - added some profiling tracking - added a function (correctInterpolation) used in the new expansion algorithm, which is currently disabled - optimized fillBitmao() which creates terrain texture maps that represent the finer-level terrain 2001-04-29 18:05 jasonmod * QuadtreeForest.cpp: added some optional profiling output on the USE_TERRAIN_PROFILING flag 2001-04-29 18:05 jasonmod * QuadNode.cpp: new expansion algorithm to reduce artifacts - currently disabled 2001-04-29 18:04 jasonmod * defines.h: new flag for whether to use built-in profiling or not 2001-04-29 18:03 jasonmod * PrecipTerrain.cpp: switched to use my own random stuff from Numerical Recipes because the system random number generator is so slow 2001-04-27 14:30 tford * CityData.cpp, MapTerrain.cpp, TepInterface.h, TerrainGenerator.h, VertexManager.h, makefile: Build fixes for latest TEP tree changes. 2000-08-04 23:48 gtroeger * makefile: fixing makefile 2000-06-12 02:42 jasonmod * MapModulate.cpp, MapModulate.h, MapTerrain.cpp, MapTerrain.h, PlanetData.cpp, PlanetData.h, PrecipTerrain.cpp, PrecipTerrain.h, QuadNode.cpp, QuadNode.h, QuadtreeForest.cpp, QuadtreeForest.h, SimpleTerrain.cpp, SimpleTerrain.h, TODO, TerrainGenerator.cpp, TerrainGenerator.h, Tristrip.cpp, Tristrip.h, VertexManager.cpp, VertexManager.h, defines.h, earth-1b.plt, earth-4.plt, main.cpp, makefile, mars.plt: - fixed the bug with near-field heaving at very low altitude & rolling (it was a roundoff problem inside OpenGL; moving the origin to the view position made it go away.) - fixed a bug that made the planet vanish when you flew inside one planetary radius - added most of the code for carrying an altitude modulation on top of the generated terrain - added a better coastline algorithm; see earth-1b.plt - added a bunch of diagnostic stuff that is currently disabled for tracking changes between subsequent frames - tweaked the expansion algorithm - tweaked the pick-clipping-planes algorithm 2000-05-30 12:30 jasonmod * defines.h: - put the defines.h flags back the way they should be; whoops. 2000-05-30 12:29 jasonmod * MapTerrain.h, defines.h: - fixed a bug in MapTerrain's handling of color zones 2000-05-30 02:25 jasonmod * MapTerrain.cpp, MapTerrain.h, PlanetData.cpp, PrecipTerrain.cpp, PrecipTerrain.h, QuadNode.cpp, QuadNode.h, QuadtreeForest.cpp, README, SimpleTerrain.cpp, SimpleTerrain.h, TODO, TerrainGenerator.cpp, TerrainGenerator.h, defines.h, main.cpp: - moved more of the color functionality into TerrainGenerator in the form of Color Zones. This was to simply the isColorSafe() calculation. - fixed a bug in the roughness damping calculation in PrecipTerrain - added tracking of the surface-projected coordinates - moved the expansion distance calculation into computeExpansionDistance() and added a check for horizon curvature - added suppression of off-the-side-of-the-screen polygons - fiated some bugs fixed 2000-05-27 23:01 jasonmod * MapTerrain.cpp, MapTerrain.h, PlanetData.cpp, PlanetData.h, PrecipTerrain.cpp, defines.h, earth-3.plt, earth-8s.map, earth-8s.rgh, makefile: - made a new MapTerrain that loads all or part of the data from a map file - made a map of earth (height and roughness only) 2000-05-27 13:25 gtroeger * main.cpp: up-vector alignment extended comment 2000-05-27 13:18 gtroeger * main.cpp: up-vector alignment 2000-05-26 17:29 gtroeger * main.cpp: kind of an instant landing feature ('L') 2000-05-26 05:35 jasonmod * CityData.cpp, CityData.h, Houston.city, Leipzig.city, PlanetData.cpp, QuadNode.cpp, TepInterface.cpp, defines.h, earth-2.plt: - made a fancier city - fixed building z location - fixed building scaling 2000-05-26 05:31 jasonmod * buildings/: church1.asc, facil2.asc, krait2-x2.asc, port1.asc, shuttle.asc, transp.asc: - more of gerd's ships & buildings 2000-05-26 04:08 jasonmod * QuadNode.cpp, QuadtreeForest.cpp, QuadtreeForest.h, TODO, TerrainGenerator.cpp, Tristrip.cpp, Tristrip.h, earth-2.plt, main.cpp: - switched to a 3-pass rendering system that ensures city buildings always are rendered in front of city pads - moved Leipzig back onto the land 2000-05-25 13:05 jasonmod * PrecipTerrain.cpp: - fixed the black spots bug pointed out by Gerd 2000-05-25 11:18 gtroeger * PrecipTerrain.cpp, QuadNode.cpp: fixed colDist for NEVER_USE_TEXTURES, located the "black spots on coastline" bug (left to be fixed!) 2000-05-25 10:36 gtroeger * main.cpp: fixing limitSpeed() for negative speeds 2000-05-25 10:03 gtroeger * TODO, main.cpp: fixed setAltitude(), added launch key ('l') 2000-05-25 05:04 jasonmod * PlanetData.cpp, PrecipTerrain.cpp, PrecipTerrain.h, QuadNode.cpp, SimpleTerrain.cpp, SimpleTerrain.h, TODO, TerrainGenerator.cpp, TerrainGenerator.h, defines.h, earth-2.plt: - added an additional roughness parameter to the PrecipTerrain fractal which makes mountains in some spots and plains most places (still needs some tweaking to get ideal earthlike mix) - added a new "rough" color - added a flag to suppress all texmaps and do more polys - fixed an unrealized bug in TerrainGenerator's interpolation 2000-05-23 14:17 jasonmod * TODO, main.cpp: - removed the sub window, which wasn't being used, and put all the rendering in the main window - enabled smooth shading; somehow a flat-shading enable had gotten in there and was making earth-2 look like a golf ball 2000-05-23 14:03 jasonmod * PlanetData.cpp, PlanetData.h, PrecipTerrain.cpp, PrecipTerrain.h, QuadNode.cpp, SimpleTerrain.cpp, SimpleTerrain.h, TODO, TerrainGenerator.cpp, TerrainGenerator.h: - moved the fillBitmap() function into TerrainGenerator (the base class) and altered it to be more universal, thus eliminating some duplicated code - added a function isColorSafe() used in the checks for whether terrain bitmaps are needed - cleaned up PrecipTerrain 2000-05-22 14:46 jasonmod * PlanetData.h, PrecipTerrain.cpp, VertexManager.cpp, VertexManager.h: - fixed a bug in the PrecipTerrain generator that made boundaries between precipitation-separated regions look bad 2000-05-22 14:44 jasonmod * main.cpp: - as per Gerd's advice, disabled the depth test before drawing the crosshair. It fixed the flickering-out-just-before-impact problem. 2000-05-22 05:33 jasonmod * QuadNode.cpp: - fixed a bug in LINEAR texture mapping; the new OpenGL 1.2 CLAMP_TO_EDGE feature saves the day. 2000-05-22 05:13 jasonmod * PlanetData.cpp, PrecipTerrain.cpp, PrecipTerrain.h, QuadNode.cpp, TepInterface.cpp, defines.h, earth-2.plt, makefile: - added a new type of terrain, PrecipTerrain, which combines an altitude fractal and a precipitation fractal to produce a variety of terrain types - fixed up makefile and code to use active SMMEM - turned on linear interpolation, and fixed some bugs related to that. 2000-05-21 06:31 jasonmod * PlanetData.cpp, PlanetData.h, SimpleTerrain.cpp, SimpleTerrain.h, TerrainGenerator.h, earth.plt: - moved the parsing of terrain-specific lines in the .plt file into the TerrainGenerator. - took the terrain-specific private data out of PlanetData 2000-05-21 05:33 jasonmod * PlanetData.cpp, PlanetData.h, QuadNode.cpp, QuadNode.h, SimpleTerrain.cpp, SimpleTerrain.h, TODO, TerrainGenerator.cpp, TerrainGenerator.h, VertexManager.cpp, VertexManager.h, main.cpp, makefile: - moved the terrain fractal out of QuadNode/VertexManager and into TerrainGenerator/SimpleTerrain - improved the normal calculation a little - arbitrarily replaced Gerd's crosshair code with my crosshair code - added a (currently unused) printCoords() diagnostic function to QuadNode 2000-05-18 16:41 gtroeger * main.cpp: [no log message] 2000-05-18 10:24 gtroeger * main.cpp: [no log message] 2000-05-16 13:30 jasonmod * PadSiteData.h, QuadNode.cpp, QuadNode.h, README, TODO, Tristrip.h, VertexManager.h, main.cpp, makefile, buildings/pad1b.asc: - fixed a memory leak in Tristrip destructor - tweaked the rendering of PadSite quads - added some diagnostics, which are currently commented out 2000-05-15 11:41 gtroeger * PlanetData.cpp: using _wsys_stricmp instead of strcasecmp 2000-05-15 04:11 jasonmod * TODO, main.cpp: - fixed one of the persistent rendering problems 2000-05-15 03:54 jasonmod * QuadNode.cpp, TODO, Tristrip.cpp, VertexManager.cpp, VertexManager.h, earth.plt, main.cpp: - I finally fixed that color-matching bug! - removed a bunch of unnecessary color-mode and texmap-mode manipulations that I had put in while thrashing around trying to get the colors matched up. 2000-05-15 01:20 jasonmod * CityData.cpp, TODO, defines.h, useglut.h: - fixed what looked like a bad include directory in the non-XF4 version of useglut.h - put the defines back to a reasonable order - fixed a bug with the beacon; now the beacons get suppressed at under 10 km, which is when I start to draw the buildings. 2000-05-14 18:09 morlovich * CityData.cpp, PlanetData.cpp, QuadNode.cpp, QuadNode.h, TepInterface.cpp, Tristrip.cpp, Tristrip.h, VertexManager.cpp, VertexManager.h, XFree4.txt, defines.h, main.cpp, useglut.h, xf4.mak: Fixes to make this compile with default/recommended locations of headers under XFree 86 4.0 2000-05-14 17:13 jasonmod * README: - added description of cities 2000-05-14 16:42 jasonmod * CityData.cpp, CityData.h, Leipzig.city, PadSiteData.cpp, PadSiteData.h, PlanetData.C, PlanetData.cpp, PlanetData.h, QuadNode.C, QuadNode.cpp, QuadNode.h, QuadtreeForest.C, QuadtreeForest.cpp, QuadtreeForest.h, README, TODO, TepInterface.cpp, TepInterface.h, Tristrip.C, Tristrip.cpp, VertexManager.C, VertexManager.cpp, VertexManager.h, earth.plt, main.C, main.cpp, makefile: - added cities > beacons, little red circles indicating where the city is > pads, flat regions where city buildings can sit > buildings loaded from .asc files - linked in (via TepInterface) to some tep/code/ functions for loading .asc files - added a function to render .asc files under OpenGL - changed .C suffixes to .cpp 2000-05-14 16:37 jasonmod * buildings/: house1.asc, pad1.asc, pad1b.asc: Added some of Gerd's buildings 2000-05-10 13:32 jasonmod * QuadNode.C: - fixed floating point exception near coastline bug 2000-05-10 01:03 jasonmod * PlanetData.C, PlanetData.h, QuadNode.C, QuadNode.h, QuadtreeForest.C, QuadtreeForest.h, README, TODO, Tristrip.C, Tristrip.h, VertexManager.C, VertexManager.h, defines.h, earth.plt, main.C, utils.h: - changed floats to doubles; this fixed some rendering problems, but I suspect there are now unnecessary doubles - added an option for texture maps for the open ground - added coastal flood plains to make the coasts more reasonable- looking - fixed a bug in altitude calculation - fixed a bug in normal vector calculation - add ability to shade rendered squares (from the code) based on various things - added some internal checking code; since it passed the checks, it's not needed now I guess - made the 't' key wipe out all tristrips and recompute - cleaned up earth.plt - tweaked the view frustum - fixed misc problems with rolling mode 2000-05-08 14:54 jasonmod * TODO: Included some new bug reports 2000-05-08 14:12 jasonmod * QuadNode.C, TODO, Tristrip.C, main.C: Fixed the "vast gaping pit" bug Finished rolling mode (although it could use some more frills) Updated bug list with some new bugs 2000-05-08 12:38 jasonmod * QuadNode.h, QuadNode.C, QuadtreeForest.h, makefile, QuadtreeForest.C, defines.h, utils.h, main.C, VertexManager.h, VertexManager.C, Tristrip.h, PlanetData.h, TODO, Tristrip.C, earth.plt, PlanetData.C, smooth.plt, README: imported terrain generator 2000-05-08 12:38 jasonmod * QuadNode.h, QuadNode.C, QuadtreeForest.h, makefile, QuadtreeForest.C, defines.h, utils.h, main.C, VertexManager.h, VertexManager.C, Tristrip.h, PlanetData.h, TODO, Tristrip.C, earth.plt, PlanetData.C, smooth.plt, README: Initial revision