Commit Graph

  • 0af4365d11 Fixed an iterator invalidation bug. (thanks to Per Månsson for tracking down the bug) Robert Osfield 2004-04-29 21:38:16 +00:00
  • ba5b90d43e Added missing dirtyBound() to billboard section of flatten static transforms Robert Osfield 2004-04-29 15:57:03 +00:00
  • 181761e56f Changed M_PI to osg::PI. Robert Osfield 2004-04-28 15:07:08 +00:00
  • 678c456fc8 Made s/getBackgroundColor() deprecated, and add in new s/getClearColor() to replace it. Robert Osfield 2004-04-27 19:09:58 +00:00
  • 9ef61d83e0 Added extra parameter policy enum Robert Osfield 2004-04-23 14:47:54 +00:00
  • ed9501fea8 Added a guard on the simplification of already low res tiles so that they won't be over simplified. Robert Osfield 2004-04-22 21:51:57 +00:00
  • cca7d0f685 Added support for "--bluemarble-east", "--bluemarble-west", "--whole-globe" and "--range" commandline options to allow easier specification of coords systems for common datasets which don't come with geospatial coords. Robert Osfield 2004-04-22 21:51:06 +00:00
  • 91516305d9 Added support for protecting points from being simplified. Robert Osfield 2004-04-22 13:36:30 +00:00
  • 017983429b Added getBoundingBox() method to osg::Geode to provide a closer bound of the bounding volume of a Geode to be tracked. This sits alongside the existing getBound() method which returns a bounding sphere. Robert Osfield 2004-04-22 10:47:12 +00:00
  • e3a7db4559 Added update() method to enable the ScaleBar to be updated after changes to attached classes. Robert Osfield 2004-04-22 10:44:23 +00:00
  • b8a68204c0 Added pathway in code for override the colour of the wireframe scribe Robert Osfield 2004-04-22 08:04:34 +00:00
  • 77f9a4d083 Added searching of the filepath. Robert Osfield 2004-04-21 13:20:48 +00:00
  • b57bfb2271 Added back in tri stripping of tiles Robert Osfield 2004-04-21 11:06:39 +00:00
  • 8a923e60a8 Changed the edge collapse to accept edges with more than two connected triangles. Robert Osfield 2004-04-21 10:40:12 +00:00
  • 7430e7072f Added project files for osgsimplifier example. Robert Osfield 2004-04-20 09:46:23 +00:00
  • cc1314049c Changed the debugging info to output to osg::notify() rather than cout. Robert Osfield 2004-04-20 09:36:46 +00:00
  • 061244056d Added support for using the error metric to guide the simplficiation process Robert Osfield 2004-04-19 23:08:30 +00:00
  • 45179b8868 Changed the scoping for for variables to fix VS6.0 compile. Robert Osfield 2004-04-19 20:44:14 +00:00
  • f72e9befc1 Added support for detecting edge collapses which will overturn the local triangles. Robert Osfield 2004-04-19 20:06:26 +00:00
  • a1caa14a61 Added osgsimplifier example. Robert Osfield 2004-04-18 16:15:49 +00:00
  • e524092e1e Changed std::cout to osg::notify Robert Osfield 2004-04-18 14:12:07 +00:00
  • 7a6e9e35ec Changed std::cout to osg::notify Robert Osfield 2004-04-18 14:02:09 +00:00
  • 4df7836f65 From Marco Jez, "fixes a bug that prevented mipmaps in images from being read correctly (the call to setImage() clears the previously filled _mipmapData vector)." Robert Osfield 2004-04-18 13:44:09 +00:00
  • cf8c4c6a97 Further work on Simplifer support for compute error metric Robert Osfield 2004-04-17 22:50:39 +00:00
  • 8f819d7756 Changed TriangleSet::iterator to const_iterator to fix build under VS.NET. Robert Osfield 2004-04-17 20:27:31 +00:00
  • 117fa92462 Further work on simplifier edge collapse code Robert Osfield 2004-04-17 16:02:38 +00:00
  • 715cdcf5e2 From Don Tidrow, changed "setupGLExtenions()" to "setupGLExtensions()" in Texture and Texture.cpp Robert Osfield 2004-04-16 22:50:41 +00:00
  • baa67fe180 Fixed incorrecting sizing of background tex coords Robert Osfield 2004-04-16 22:07:30 +00:00
  • 884099b11c From Bob Kuehne, updated extension/version checking for border clamp extension. Robert Osfield 2004-04-16 10:05:57 +00:00
  • 3b4e0a419a Added tests for the consistency of points, edges and triangles. Robert Osfield 2004-04-15 09:37:10 +00:00
  • 9286df61ec Fixed typo in makefile Robert Osfield 2004-04-14 11:56:59 +00:00
  • 44943ed536 From Garret Potts, added -losgUtil to libs linked to osgTerrain Robert Osfield 2004-04-14 08:58:53 +00:00
  • 7d5e44205d Fixed bogus read*Implementation calls in ReadFileCallback. Robert Osfield 2004-04-13 16:03:18 +00:00
  • 025cc6b819 Added support for removing triangles and associated edge and points from the EdgeCollapse object. Robert Osfield 2004-04-13 15:59:30 +00:00
  • 073e49c3d8 Added support for copy all per vertex attributes to and from the edge collapse object. Robert Osfield 2004-04-13 14:39:43 +00:00
  • 122a20f9e1 Commented out call to osgUtil::Simplifier as this utility is not yet functional Robert Osfield 2004-04-12 21:30:23 +00:00
  • c80de01fd7 Further work on the new osgUtil::Simplifier. Robert Osfield 2004-04-12 21:29:31 +00:00
  • ceec7ae86d Changed the optimization of flat tiles so that it creates a flat 8x8 height field rather than a flat 2x2 height field. This allows geocentric warping of the tiles without obvious flat regions. Robert Osfield 2004-04-12 13:36:08 +00:00
  • 97ef4985f7 From Eric Wing, clean ups for OSX support. Robert Osfield 2004-04-11 21:21:38 +00:00
  • 2a6e155d03 From Alberto Farre, changed the cache hint option in read*() calls from being a bool to a enum osgDB::Registru::CacheHintOptions to be used a bit mask flag. Robert Osfield 2004-04-10 16:11:56 +00:00
  • ae7ceae631 From Paul Martz, added support for OpenFlight15.8 LightPointSystems Robert Osfield 2004-04-10 11:30:16 +00:00
  • 5c01b5118e Renamed MyTriangleOperator to CollectTriangleOperator. Robert Osfield 2004-04-09 08:20:15 +00:00
  • 51c8655630 Added beginning of new osgUtil::Simplifier Robert Osfield 2004-04-08 11:27:01 +00:00
  • db9c192a37 Added an alteranive code path for the fallback for handling opaque texture blending. Robert Osfield 2004-04-07 18:38:06 +00:00
  • cb213d0ff4 From Paul Martz, changes to better support OpenFlight 15.8 Robert Osfield 2004-04-07 08:57:15 +00:00
  • 459b350eb9 Fixed comments on the OBJ coords system Robert Osfield 2004-04-06 20:15:11 +00:00
  • 6e854d04c7 Fixes from Per Månsson for Win32 build Robert Osfield 2004-04-06 16:01:05 +00:00
  • 6ac92bfb07 Added --wtk_file option Robert Osfield 2004-04-05 21:27:57 +00:00
  • 9f1fea791f Re-enabled normal generation on tiles. Robert Osfield 2004-04-05 15:58:38 +00:00
  • 68631ec3f0 Commented out scale setting when source DEM is in lat+longs. Robert Osfield 2004-04-05 15:46:19 +00:00
  • 01cbfd6715 Added local transform support. Fixed skirt generation to work during geocentric transformations. Fixed output of image files so that compressed textures are turned off when external image files are required. Robert Osfield 2004-04-05 15:39:33 +00:00
  • 2efea80728 From Nathan Cournia, fix to = operator, was eroneous written as an == operator. Robert Osfield 2004-04-05 09:00:37 +00:00
  • 398fa56bb4 Prelimary work on adding support for local tile transforms Robert Osfield 2004-04-04 15:33:26 +00:00
  • 3c239326a8 Added support for generating compressed textures Robert Osfield 2004-04-02 15:55:06 +00:00
  • 50d066d756 From Bob Kuehne, reworked code to use a marco instead of duplicated code, done as measure for reducing the risk of copy and paste errors. Robert Osfield 2004-04-02 15:45:34 +00:00
  • 42b7df1503 Fixed computeImageResolution so that the computed num of columns and rows of the destination image are clamped to the nearest power of two equal or above the required resolution. Robert Osfield 2004-04-02 15:23:56 +00:00
  • 79e3b2fb85 Changed default cut of ratio to be smaller, to reduce the resolution of tiles selected. Robert Osfield 2004-04-01 15:00:22 +00:00
  • dbc3dbc5fa Added scaling of the PagedLOD range to be relative to the radius of children. Robert Osfield 2004-04-01 13:09:05 +00:00
  • 4d2d47e656 Added support for --geocentric option to allow users to specify that the output database should by in geocentric coordinates. Robert Osfield 2004-04-01 11:03:39 +00:00
  • 69ee8ff043 Cleaned up handling of geocentric coords Robert Osfield 2004-04-01 11:02:23 +00:00
  • 0b1f6fedc9 Changed the comment to make it clear what axis change is implementated. Robert Osfield 2004-04-01 07:49:32 +00:00
  • 9d2002f3c4 Added preliminary support for converting datasets into geocentric coords Robert Osfield 2004-03-31 22:31:46 +00:00
  • b67858f388 Added osgTerrain::EllipsodeTransform helper class for converting to and from lat, long, height to geocentric X,Y,Z and back. Robert Osfield 2004-03-31 15:50:30 +00:00
  • 663801c0c8 Clean up freeing of no longer required tiles Robert Osfield 2004-03-31 09:20:46 +00:00
  • 316c646a8f From David Fries, add init() call to SphereSegment constructor, and new get methods for draw mask and color. Robert Osfield 2004-03-31 08:52:47 +00:00
  • d73824f0a1 Added back in tri stripping of geometry tiles Robert Osfield 2004-03-30 22:06:01 +00:00
  • 5bd4dd2010 Changed the writing out of tile imagery so that it only happens when the destination file format is not .ive. Robert Osfield 2004-03-30 22:02:50 +00:00
  • 2f2030aba4 Fixed the boundary equalization Robert Osfield 2004-03-30 21:13:08 +00:00
  • 82b02fdceb Added debugging for detecting problems in boundary equalization Robert Osfield 2004-03-30 19:15:03 +00:00
  • a1b46de936 Added normal generation in polygonal tile generation, and add --wtk option for setting coord systems in osgdem Robert Osfield 2004-03-29 22:26:51 +00:00
  • 7bea5842fa Added support for generating polygonal tiles Robert Osfield 2004-03-29 14:40:03 +00:00
  • e44176a7aa Fixed the handling begin()/vertex()/end() sequences in TriangleIndexFunctor. Robert Osfield 2004-03-29 12:28:40 +00:00
  • 9e4b23a1ef Added extra check against a null vertex array to prevent a crash when tri stripping an empty geometry. Robert Osfield 2004-03-29 12:28:06 +00:00
  • cad1e2a075 Groundwork for adding support for polygonal tiles Robert Osfield 2004-03-29 10:45:58 +00:00
  • aa52005b87 Added empty() method to Geometry to facilitate tests for removing empty geometry from the scene graph. Robert Osfield 2004-03-29 10:24:16 +00:00
  • 74ef590992 Fixed handling of FOURCC_DXT1 pixel format. Robert Osfield 2004-03-29 09:32:35 +00:00
  • a48460c27c Added support for recording the animation paths relative to an 0.0 start time. Robert Osfield 2004-03-26 11:04:37 +00:00
  • c46855976c Added empty() method as a convinience method for setting checking whether an animation path contains any control points Robert Osfield 2004-03-26 10:48:29 +00:00
  • 29cee0c15f Applied Norman Vine's changes for Cygwin/Mingw Don BURNS 2004-03-25 18:34:40 +00:00
  • ec1fd733b8 Added TextureType and GeometryType parameters to DataSet. These will be used to control what type of database is generated. Robert Osfield 2004-03-21 12:17:44 +00:00
  • 88bbdb325d Implemented support for overriding the coordinate system and geo transform using in generate of databases. Robert Osfield 2004-03-20 18:32:49 +00:00
  • 231b4c7564 From Paul Martz, code change to make the flt loader pass its light point intensity value in to osgSim::LightPoint. Robert Osfield 2004-03-20 17:21:53 +00:00
  • b21b585ee8 Added support for setting the geoTransform to use in source data. Robert Osfield 2004-03-19 22:20:35 +00:00
  • b2479283a8 Improved the argument handling. Robert Osfield 2004-03-19 22:03:32 +00:00
  • 02f9ce48bc Added ArgumentParser::Parameter class to make the argument parsing much more flexible, and to simplifying the API. The read(,,,) methods now take Parameter objects as arguments, and this Parameter adapt what ever basic type is passed in, so is able to transparently handle float, double, int, unsigned int & strings. Robert Osfield 2004-03-19 22:03:09 +00:00
  • 28214337a3 Moved the LineSegment destructor from the header to the source to avoid compilation problems under MingW. Robert Osfield 2004-03-19 09:18:21 +00:00
  • fa86c5845d Added defaults for the geotransform when none exists. Robert Osfield 2004-03-18 21:39:53 +00:00
  • 1aa0592878 From Paul Martz, "The attached code change causes the flt plugin to leave _sector unset if the direction normal has a zero length. The net effect is that unidirectional light points with zero length direction vectors are now treated as omnidirectional light points." Robert Osfield 2004-03-17 20:34:23 +00:00
  • 3fea25a0a1 From Marco Jez, updates to osgParticle, with integration of changes from Tom Jolly. Robert Osfield 2004-03-17 20:31:55 +00:00
  • acf5a36c06 Added support for writing out to .ive Robert Osfield 2004-03-17 20:04:44 +00:00
  • 6800b7d29a Added the setting of the _internalTextureFormat from within osg::Image. Robert Osfield 2004-03-17 20:03:56 +00:00
  • 5fdbf1e986 Completed support for the majority of osg::Shape. Robert Osfield 2004-03-17 17:04:30 +00:00
  • 2def63605f Added prelimary shape support to .ive plugin Robert Osfield 2004-03-17 16:11:47 +00:00
  • c4deb5510f From Paul Martz, added (non-meters) unit scaling to the flt plugin failed to set the scaling of external references. Robert Osfield 2004-03-17 08:15:24 +00:00
  • 4ee909d217 Added better handling of number of graphic context size changes. Robert Osfield 2004-03-16 21:03:37 +00:00
  • e2e779bed7 Added support for generation of PagedLOD databases in osgTerrain::DataSet Robert Osfield 2004-03-16 16:54:08 +00:00
  • 1968ff16cb From Joran Jessurun, fixed "borderColor" typo. Robert Osfield 2004-03-16 16:10:57 +00:00
  • c5315b1c9b Set JASPER_INSTALLED to no Robert Osfield 2004-03-16 09:40:17 +00:00
  • 84562208d0 Added support for controlling the type of destiation database to create into osgTerrain::DataSet. Robert Osfield 2004-03-15 15:47:22 +00:00
  • 86dbbb2874 Added PrimitiveIndexFunctor for better support of TriangleIndexFunctor Robert Osfield 2004-03-14 21:54:17 +00:00