Commit Graph

2871 Commits

Author SHA1 Message Date
Robert Osfield
1a09763515 Removed Terrain.cpp and header from CVS repository.
Added support for setting the maximum visiable distance of top level
to osgTerrain::DataSet, and debugging code which insert a axes.osg
above each tile.
2004-05-06 10:59:08 +00:00
Robert Osfield
eedfe44a1c Fixed computeLocalTransform to generate correct orientation of local coordinate
frame.
2004-05-06 10:54:58 +00:00
Robert Osfield
fe0fd07f36 Moved isCulled check inside the CullVisitor::apply(Projection&) to just
before traverse rather than at the begining of the method.
2004-05-05 19:56:18 +00:00
Robert Osfield
b88b9b83ea Compile fixes for that pitful excuse for a C++ compiler that is VS6.0 2004-05-05 14:54:16 +00:00
Robert Osfield
8bdb68ef97 Added support for reading environmental varables in CullSettings. 2004-05-05 09:16:12 +00:00
Robert Osfield
7905aa37b7 Increased the sampling of upper most tiles when doing a geocentric projection 2004-05-05 05:17:52 +00:00
Robert Osfield
a04e5093e2 Added gdal_i.lib to osgdem project dependencies. 2004-05-04 18:15:38 +00:00
Robert Osfield
4bcd8af6d3 Added osgTerrain to dependency list of osgdem 2004-05-04 18:13:33 +00:00
Robert Osfield
ecaf3c1587 Improved the cluster culling computation so that it now accounts for
the local elevations.
2004-05-04 14:02:53 +00:00
Robert Osfield
55162d0c7c Changed notify level on several debugging messages from WARN to INFO. 2004-05-04 13:58:07 +00:00
Robert Osfield
e47df3986f Fixed typo of OSGTERRAIN 2004-05-04 09:55:23 +00:00
Robert Osfield
7be1301830 Fixed typo of osgTerrain 2004-05-04 07:24:17 +00:00
Robert Osfield
b5f5f19a2d Added osgTerrain and osgdem project files 2004-05-03 20:43:33 +00:00
Robert Osfield
9db6e84d3d Cleaned up osgTerrain, renaming the Terrain and Renderer class to
HeightFieldNode and HeightFieldRender to better reflect their function.
Removed the GeoMipMapRenderer.cpp stub as the implemention will be left
to a plugin.  Added Version functions.
2004-05-03 20:42:58 +00:00
Robert Osfield
9ca7acfd55 Changed the gdal plugin to link to the gdal_i.lib dll stub library 2004-05-03 13:09:55 +00:00
Robert Osfield
13aa1638f3 Added CoordinateSystemNode and EllipsoidModel .h/.cpp's files to project files 2004-05-03 12:46:49 +00:00
Robert Osfield
b7746ff56e Added support for automatically finding CoordinateSystemNode's in the
scene graph and then using them to set up the CoordinateFrame used
by the camera manipulators.
2004-05-03 12:04:25 +00:00
Robert Osfield
04798b4e63 Fixed compile error 2004-05-03 07:42:30 +00:00
Robert Osfield
fced94fab3 Added support for decoration of the osgTerrain::DataSet generated databases
with a CoordinateSystemNode which reflect the coordinate system of the
database.

Added support for reading and writing CoordianteSystemNode into the .osg
and .ive formats.
2004-05-02 21:50:15 +00:00
Robert Osfield
a709c0a474 Made the tri stripping of tile default to using a minimum tri strip length
of 3, thereby reducing the number of indivual primitives, but with the tradeoff
of more seperate triangles being used.
2004-05-02 15:45:36 +00:00
Robert Osfield
6223c11570 Made the generation of QUADS for strip with the length of 4 an option. 2004-05-02 15:43:55 +00:00
Robert Osfield
a34cc250e5 Added support for settings scale the elevation of geometry 2004-05-02 14:04:19 +00:00
Robert Osfield
1678066e6e Changed the default near far calculation mode so that it uses the
fine grained computation of near/far.
2004-05-02 14:03:15 +00:00
Robert Osfield
4a6dd1d199 Temporary fix for handling grey scale images as texture source. 2004-05-02 13:35:19 +00:00
Robert Osfield
5836d60fbd Added osg::CullSettings class as a way of collecting all the various
settings related to the cull traversal in one place, so we can keep APIs
for settings these values more consistent.
2004-04-30 15:35:31 +00:00
Robert Osfield
7596b3b361 Added getKeyManipMap() method 2004-04-30 09:04:10 +00:00
Robert Osfield
97bf993e5d Updated to build against the move from osgTerrain::CoordinateSystem to
osg::CoordinateSystemNode.
2004-04-29 22:23:55 +00:00
Robert Osfield
0ba2d26b1a Added Support for cluster culling.
Removed osgTerrain::CoordinateSystem which is now replaced by
osg::CoordinateSystemNode.
2004-04-29 22:22:22 +00:00
Robert Osfield
5d79eb1c9d Added support for fine grained computation of the near plane, by taking
into account individual primitives culled against the view frustum.

Added better support for computing the near far for billboards.
2004-04-29 22:21:06 +00:00
Robert Osfield
522ffca03c Added support for tracking a user specified CoordinateSystemNode for the
CoordinateFrame to use in the camera manipulation
2004-04-29 22:19:57 +00:00
Robert Osfield
f81447e839 Added support for handling a user define CoordinateFrame in the flight
and trackball manipulators with API access via the MatrixManipulator
base class
2004-04-29 22:18:54 +00:00
Robert Osfield
36cd372847 Added osg::CoordinateSystemNode 2004-04-29 22:16:50 +00:00
Robert Osfield
df0d0b0fe7 Added missing billboard drawable dirtyBound() 2004-04-29 22:15:04 +00:00
Robert Osfield
be1a124b32 Fix for VS7.0 build from Mike Weiblen 2004-04-29 22:13:23 +00:00
Robert Osfield
f7d3f58470 Warnings fix for VS7.0 from Mike Weiblen 2004-04-29 21:57:42 +00:00
Robert Osfield
0af4365d11 Fixed an iterator invalidation bug. (thanks to Per Månsson for tracking down the
bug)
2004-04-29 21:38:16 +00:00
Robert Osfield
ba5b90d43e Added missing dirtyBound() to billboard section of flatten static transforms 2004-04-29 15:57:03 +00:00
Robert Osfield
181761e56f Changed M_PI to osg::PI. 2004-04-28 15:07:08 +00:00
Robert Osfield
678c456fc8 Made s/getBackgroundColor() deprecated, and add in new s/getClearColor() to
replace it.
2004-04-27 19:09:58 +00:00
Robert Osfield
9ef61d83e0 Added extra parameter policy enum 2004-04-23 14:47:54 +00:00
Robert Osfield
ed9501fea8 Added a guard on the simplification of already low res tiles so that they
won't be over simplified.
2004-04-22 21:51:57 +00:00
Robert Osfield
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.
2004-04-22 21:51:06 +00:00
Robert Osfield
91516305d9 Added support for protecting points from being simplified.
Added back in support for generation of skirts in osgTerrain::DataSet.
2004-04-22 13:36:30 +00:00
Robert Osfield
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.
2004-04-22 10:47:12 +00:00
Robert Osfield
e3a7db4559 Added update() method to enable the ScaleBar to be updated after changes
to attached classes.
2004-04-22 10:44:23 +00:00
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