Commit Graph

2952 Commits

Author SHA1 Message Date
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
Robert Osfield
0b1f6fedc9 Changed the comment to make it clear what axis change is implementated. 2004-04-01 07:49:32 +00:00
Robert Osfield
9d2002f3c4 Added preliminary support for converting datasets into geocentric coords 2004-03-31 22:31:46 +00:00
Robert Osfield
b67858f388 Added osgTerrain::EllipsodeTransform helper class for converting to and from
lat, long, height to geocentric X,Y,Z and back.
2004-03-31 15:50:30 +00:00
Robert Osfield
663801c0c8 Clean up freeing of no longer required tiles 2004-03-31 09:20:46 +00:00
Robert Osfield
316c646a8f From David Fries, add init() call to SphereSegment constructor, and
new get methods for draw mask and color.
2004-03-31 08:52:47 +00:00
Robert Osfield
d73824f0a1 Added back in tri stripping of geometry tiles 2004-03-30 22:06:01 +00:00
Robert Osfield
5bd4dd2010 Changed the writing out of tile imagery so that it only happens when the
destination file format is not .ive.

Added back in support for freeing un-needed tiles.
2004-03-30 22:02:50 +00:00
Robert Osfield
2f2030aba4 Fixed the boundary equalization 2004-03-30 21:13:08 +00:00
Robert Osfield
82b02fdceb Added debugging for detecting problems in boundary equalization 2004-03-30 19:15:03 +00:00
Robert Osfield
a1b46de936 Added normal generation in polygonal tile generation, and add --wtk option
for setting coord systems in osgdem
2004-03-29 22:26:51 +00:00
Robert Osfield
7bea5842fa Added support for generating polygonal tiles 2004-03-29 14:40:03 +00:00
Robert Osfield
e44176a7aa Fixed the handling begin()/vertex()/end() sequences in TriangleIndexFunctor. 2004-03-29 12:28:40 +00:00
Robert Osfield
9e4b23a1ef Added extra check against a null vertex array to prevent a crash when
tri stripping an empty geometry.
2004-03-29 12:28:06 +00:00
Robert Osfield
cad1e2a075 Groundwork for adding support for polygonal tiles 2004-03-29 10:45:58 +00:00
Robert Osfield
aa52005b87 Added empty() method to Geometry to facilitate tests for removing empty
geometry from the scene graph.

Added removal of empty geometry leaves from within the RemoveEmptyNodeVisitor
2004-03-29 10:24:16 +00:00
Robert Osfield
74ef590992 Fixed handling of FOURCC_DXT1 pixel format. 2004-03-29 09:32:35 +00:00
Robert Osfield
a48460c27c Added support for recording the animation paths relative to an 0.0 start
time.
2004-03-26 11:04:37 +00:00
Robert Osfield
c46855976c Added empty() method as a convinience method for setting checking whether
an animation path contains any control points
2004-03-26 10:48:29 +00:00
Don BURNS
29cee0c15f Applied Norman Vine's changes for Cygwin/Mingw 2004-03-25 18:34:40 +00:00
Robert Osfield
ec1fd733b8 Added TextureType and GeometryType parameters to DataSet. These will be used
to control what type of database is generated.
2004-03-21 12:17:44 +00:00
Robert Osfield
88bbdb325d Implemented support for overriding the coordinate system and geo transform
using in generate of databases.
2004-03-20 18:32:49 +00:00
Robert Osfield
231b4c7564 From Paul Martz, code change to make the flt loader pass its light point intensity value in to osgSim::LightPoint. 2004-03-20 17:21:53 +00:00
Robert Osfield
b21b585ee8 Added support for setting the geoTransform to use in source data. 2004-03-19 22:20:35 +00:00
Robert Osfield
b2479283a8 Improved the argument handling. 2004-03-19 22:03:32 +00:00