Commit Graph

2976 Commits

Author SHA1 Message Date
Robert Osfield
b8a68204c0 Added pathway in code for override the colour of the wireframe scribe 2004-04-22 08:04:34 +00:00
Robert Osfield
77f9a4d083 Added searching of the filepath. 2004-04-21 13:20:48 +00:00
Robert Osfield
b57bfb2271 Added back in tri stripping of tiles 2004-04-21 11:06:39 +00:00
Robert Osfield
8a923e60a8 Changed the edge collapse to accept edges with more than two connected
triangles.
2004-04-21 10:40:12 +00:00
Robert Osfield
7430e7072f Added project files for osgsimplifier example. 2004-04-20 09:46:23 +00:00
Robert Osfield
cc1314049c Changed the debugging info to output to osg::notify() rather than cout.
Add a clear of all the internal EdgeCollapse structures to avoid memory
leaks
2004-04-20 09:36:46 +00:00
Robert Osfield
061244056d Added support for using the error metric to guide the simplficiation process 2004-04-19 23:08:30 +00:00
Robert Osfield
45179b8868 Changed the scoping for for variables to fix VS6.0 compile. 2004-04-19 20:44:14 +00:00
Robert Osfield
f72e9befc1 Added support for detecting edge collapses which will overturn the local
triangles.
2004-04-19 20:06:26 +00:00
Robert Osfield
a1caa14a61 Added osgsimplifier example. 2004-04-18 16:15:49 +00:00
Robert Osfield
e524092e1e Changed std::cout to osg::notify 2004-04-18 14:12:07 +00:00
Robert Osfield
7a6e9e35ec Changed std::cout to osg::notify 2004-04-18 14:02:09 +00:00
Robert Osfield
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)."
2004-04-18 13:44:09 +00:00
Robert Osfield
cf8c4c6a97 Further work on Simplifer support for compute error metric 2004-04-17 22:50:39 +00:00
Robert Osfield
8f819d7756 Changed TriangleSet::iterator to const_iterator to fix build under VS.NET. 2004-04-17 20:27:31 +00:00
Robert Osfield
117fa92462 Further work on simplifier edge collapse code 2004-04-17 16:02:38 +00:00
Robert Osfield
715cdcf5e2 From Don Tidrow, changed "setupGLExtenions()" to "setupGLExtensions()" in Texture and
Texture.cpp
2004-04-16 22:50:41 +00:00
Robert Osfield
baa67fe180 Fixed incorrecting sizing of background tex coords 2004-04-16 22:07:30 +00:00
Robert Osfield
884099b11c From Bob Kuehne, updated extension/version checking for border clamp extension. 2004-04-16 10:05:57 +00:00
Robert Osfield
3b4e0a419a Added tests for the consistency of points, edges and triangles. 2004-04-15 09:37:10 +00:00
Robert Osfield
9286df61ec Fixed typo in makefile 2004-04-14 11:56:59 +00:00
Robert Osfield
44943ed536 From Garret Potts, added -losgUtil to libs linked to osgTerrain 2004-04-14 08:58:53 +00:00
Robert Osfield
7d5e44205d Fixed bogus read*Implementation calls in ReadFileCallback. 2004-04-13 16:03:18 +00:00
Robert Osfield
025cc6b819 Added support for removing triangles and associated edge and points from
the EdgeCollapse object.
2004-04-13 15:59:30 +00:00
Robert Osfield
073e49c3d8 Added support for copy all per vertex attributes to and from the edge collapse
object.
2004-04-13 14:39:43 +00:00
Robert Osfield
122a20f9e1 Commented out call to osgUtil::Simplifier as this utility is not yet functional 2004-04-12 21:30:23 +00:00
Robert Osfield
c80de01fd7 Further work on the new osgUtil::Simplifier. 2004-04-12 21:29:31 +00:00
Robert Osfield
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.
2004-04-12 13:36:08 +00:00
Robert Osfield
97ef4985f7 From Eric Wing, clean ups for OSX support. 2004-04-11 21:21:38 +00:00
Robert Osfield
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.

From Robert Osfied, added osgDB::Registry::ReadFileCallback and
osgDB::Registry::WriteFileCallback to allow customizition of read and write
calls.
2004-04-10 16:11:56 +00:00
Robert Osfield
ae7ceae631 From Paul Martz, added support for OpenFlight15.8 LightPointSystems 2004-04-10 11:30:16 +00:00
Robert Osfield
5c01b5118e Renamed MyTriangleOperator to CollectTriangleOperator. 2004-04-09 08:20:15 +00:00
Robert Osfield
51c8655630 Added beginning of new osgUtil::Simplifier 2004-04-08 11:27:01 +00:00
Robert Osfield
db9c192a37 Added an alteranive code path for the fallback for handling opaque texture
blending.
2004-04-07 18:38:06 +00:00
Robert Osfield
cb213d0ff4 From Paul Martz, changes to better support OpenFlight 15.8 2004-04-07 08:57:15 +00:00
Robert Osfield
459b350eb9 Fixed comments on the OBJ coords system 2004-04-06 20:15:11 +00:00
Robert Osfield
6e854d04c7 Fixes from Per Månsson for Win32 build 2004-04-06 16:01:05 +00:00
Robert Osfield
6ac92bfb07 Added --wtk_file option 2004-04-05 21:27:57 +00:00
Robert Osfield
9f1fea791f Re-enabled normal generation on tiles. 2004-04-05 15:58:38 +00:00
Robert Osfield
68631ec3f0 Commented out scale setting when source DEM is in lat+longs. 2004-04-05 15:46:19 +00:00
Robert Osfield
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.
2004-04-05 15:39:33 +00:00
Robert Osfield
2efea80728 From Nathan Cournia, fix to = operator, was eroneous written as an == operator. 2004-04-05 09:00:37 +00:00
Robert Osfield
398fa56bb4 Prelimary work on adding support for local tile transforms 2004-04-04 15:33:26 +00:00
Robert Osfield
3c239326a8 Added support for generating compressed textures 2004-04-02 15:55:06 +00:00
Robert Osfield
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.
2004-04-02 15:45:34 +00:00
Robert Osfield
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.
2004-04-02 15:23:56 +00:00
Robert Osfield
79e3b2fb85 Changed default cut of ratio to be smaller, to reduce the resolution of
tiles selected.
2004-04-01 15:00:22 +00:00
Robert Osfield
dbc3dbc5fa Added scaling of the PagedLOD range to be relative to the radius of children. 2004-04-01 13:09:05 +00:00
Robert Osfield
4d2d47e656 Added support for --geocentric option to allow users to specify that the
output database should by in geocentric coordinates.
2004-04-01 11:03:39 +00:00
Robert Osfield
69ee8ff043 Cleaned up handling of geocentric coords 2004-04-01 11:02:23 +00:00