Commit Graph

3192 Commits

Author SHA1 Message Date
Don BURNS
4ebb2ddd5a Ooops... previous fix didn't work, corrected. 2004-05-08 18:41:18 +00:00
Don BURNS
3b92e02f29 Fixed a define for __sgi. Irix does not allow dlsym(0L, ...) without
calling dlopen() first, just like __sun
2004-05-08 18:37:26 +00:00
Robert Osfield
3d3199017e From Ken Sewel, added osgDB::fileType(filename) method and usage of this
new function in osgdem to automatcally handle directories as part of the
regular -d and -t options.
2004-05-08 06:35:32 +00:00
Robert Osfield
f35cafb778 Did a unix2dos and checked in trans.dsp 2004-05-08 06:13:16 +00:00
Robert Osfield
a5c9cc1552 Changed scale.dsp etc instance to rot.dsp etc. 2004-05-07 21:08:06 +00:00
Robert Osfield
3a8e5fc6b4 From Yefei Hi, replaced windows specific function with sprintf to afford
better cross platform portability.
2004-05-07 19:58:56 +00:00
Robert Osfield
26f80f1341 From Marco Jez, replacement of local mutex lock/unlock with ScopedLock. 2004-05-07 19:55:12 +00:00
Robert Osfield
bdeb391a00 From Mike Weiblen, added new rot, scale and trans pseudo loaders. 2004-05-07 15:18:59 +00:00
Robert Osfield
a196ea1d5d From Yefei Hi,fix to MultiSwitch set up, and adding of parsing of description
fields (which is presently #if 0'd out while a compile problem is resolved.)
2004-05-07 14:51:33 +00:00
Robert Osfield
bc3c6c2edf Fixed tabbing to be all four spaced tabs 2004-05-07 14:44:58 +00:00
Robert Osfield
9978c02b7f From Julian, fix to handling of multi-textures 2004-05-07 14:33:15 +00:00
Robert Osfield
aec98259a8 Added support for osgDB::ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE 2004-05-07 13:43:41 +00:00
Robert Osfield
1c46e8c4f2 From Bob Kuehne, addition of support for toggling on and off GL_TEXTURE_1D, 3D, CUBE_MAP
and GL_TEXTURE_RECTANGLE (small addition from R.O)
2004-05-07 12:41:49 +00:00
Robert Osfield
0307463746 Added GL_TEXTURE_RECTANGLE define 2004-05-07 12:40:21 +00:00
Robert Osfield
48dad727b1 From Bob Kuehne, added getting of the max number of texture units in
the Texture::Extension object
2004-05-07 11:28:55 +00:00
Robert Osfield
2c352ceb7c Changed debug info level 2004-05-07 11:18:18 +00:00
Robert Osfield
1666037f42 Changed notify level of debuggin message from NOTICE to INFO 2004-05-07 11:10:05 +00:00
Robert Osfield
324437d1e5 From Don Tidrow, changed cerr usage to osg::notify() 2004-05-07 11:09:05 +00:00
Robert Osfield
ed81b85198 From Geof Michel, fix to osgFX. 2004-05-06 12:57:44 +00:00
Robert Osfield
db78d55ef2 *** empty log message *** 2004-05-06 12:30:53 +00:00
Robert Osfield
47dd0ece28 Added new TerrainManipulator to osgGA, and new callback for getting the
CoordinateFrame for a given X,Y,Z location.
2004-05-06 11:01:16 +00:00
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