Robert Osfield
5d97f7ec92
Added support for a single color in a ColorRange
2004-06-03 10:10:41 +00:00
Robert Osfield
1526281793
Added room for tail of text.
2004-06-03 09:36:49 +00:00
Robert Osfield
b5366cbda6
Added DataSet::s/getSkirtRatio() method to allow control of how deep to
...
make the skirts around tiles.
2004-06-02 14:15:08 +00:00
Robert Osfield
344beecede
Added derived reqiestRedraw() and requestContinueUpdate() methods for
...
debugging purposes.
2004-06-02 14:13:11 +00:00
Robert Osfield
7f94839e94
Added setPosition and setWidth methods into ScalarBar and changed the
...
implementation to use these values to position and set the size of the
scalar bar. Also made the characterSize value a float rather than
the previous int.
2004-06-02 12:37:14 +00:00
Robert Osfield
673244a60c
Fixed setCoordinateFrame method
2004-05-26 00:27:00 +00:00
Robert Osfield
205a6a105e
Made the drive and flight manipulators more sensitive to de/acceleration
2004-05-26 00:26:43 +00:00
Robert Osfield
9236f6daa8
From George Tarantilils, add missing handling of alpha channel.
2004-05-25 20:40:26 +00:00
Robert Osfield
9990650cc9
Changed screen grab filename back to a saved_image.jpg
2004-05-25 20:39:49 +00:00
Robert Osfield
eb3917060f
From George Tarantilis, fixes to DDS size computations.
...
From Robert Osfield, addition of constructors for internal DDS structures.
2004-05-25 16:10:28 +00:00
Robert Osfield
5312bcc54a
Updates the movie support
2004-05-25 14:32:20 +00:00
Robert Osfield
6303b87e9a
Added better handling of clamping of projection matrix
2004-05-25 07:40:18 +00:00
Robert Osfield
eac7fdff76
From Alberto Farre, fixes to the computation of sizes
2004-05-24 19:50:13 +00:00
Robert Osfield
ab2b817e61
Made improvements to the handling of small rotations in Quat and
...
TerrainManipulator
2004-05-20 23:25:26 +00:00
Robert Osfield
f8daf206ab
Improved support for new double Vec* classes
2004-05-20 12:57:06 +00:00
Robert Osfield
f02c75f5ea
Added Vec2d, Vec3d and Vec4d classes, and remapped Vec2, Vec3 and Vec4 to
...
Vec2f, Vec3f an Vec4f respectively, with typedef's to the from Vec* to Vec*f.
2004-05-20 10:15:48 +00:00
Robert Osfield
2cd4bd513a
Changed how the rotation and panning are managed, therby improving the
...
handling of the center point going over a pole.
2004-05-17 22:22:24 +00:00
Robert Osfield
a62699b015
Improved the panning support, and added s/getRotationMode(..) to allow
...
users flip between a trackball rotation style and an azim,elevation style.
2004-05-17 15:50:44 +00:00
Robert Osfield
867a1ae105
From Bob Kuehne, more general checks for existance of extensions.
2004-05-17 13:20:41 +00:00
Robert Osfield
01b504bc2f
Improved the pan controls on the terrain manipulator
2004-05-17 12:08:52 +00:00
Robert Osfield
ae5aefac0e
Added the beginings of new osgParticle Explosion, Fire and SmokeEffects.
...
Added support for generation explosion, fire and smoke effects in osgsimulation
2004-05-13 22:09:23 +00:00
Robert Osfield
45998cfdf7
Revert the computeNearFar mode to using bounding volumes as default.
2004-05-13 22:06:20 +00:00
Robert Osfield
642253b731
From Bruce Clay, cross platform implemention of fileType(..)
2004-05-13 13:37:55 +00:00
Robert Osfield
f4a290cdff
From Donny Cipperly, completed Windows support for fileType()
2004-05-13 08:11:31 +00:00
Robert Osfield
90579a0e17
Fixes for FreeBSD
2004-05-12 20:31:58 +00:00
Robert Osfield
5eafee1b83
From Frank Lindeman, compile fix for VS to get round limitation is VS when
...
handling templated methods.
2004-05-12 14:22:01 +00:00
Robert Osfield
82562e5bdd
From Eric Sokolowsky, fixed problems in PNG plugin for handling
...
paletted images which contain alpha values.
2004-05-12 10:45:36 +00:00
Robert Osfield
f66599e00c
From Eric Sokolosky, with further additions from Robert, added support
...
for RGBA TIFF files
2004-05-11 20:44:31 +00:00
Robert Osfield
7742794eec
From Bruce Clay, modify template copy method to avoid VS6.0 compile errors.
2004-05-10 20:01:13 +00:00
Robert Osfield
3fc447af89
Changed &D to use define to keep things compiling under VS6.0
2004-05-10 16:17:46 +00:00
Robert Osfield
4ab330de96
Removed eroneous return statement.
2004-05-10 13:56:05 +00:00
Robert Osfield
6f34ef29f8
From Joran Jessurun, "I needed to be able to set the quality of the saved jpeg images. I could
...
not find a way to do this in OSG. Therefore I implemented this by adding
an option called: JPEG_QUALITY <quality> to the JPEG reader/writer.
To parse the options string I use the same method as used in the LWO
reader/writer. "
2004-05-09 07:06:32 +00:00
Robert Osfield
35c6632cfd
From Mike Weiblen, Fixes for Win32 build
2004-05-09 06:29:54 +00:00
Robert Osfield
86d323752d
From Corbin Holtz, "I have completed my mods to the OpenFlight loader (modified files are
...
attached):
* Light point strings using the REPLICATE opcode should now be supported
(>=15.6?)
* Directional lights should now work as in Performer using a viewing
frustrum defined by a direction vector, horizontal angular width, vertical
angular width, and roll angle about the direction vector. The current
directional light implementation had some bad assumptions which caused
problems with direction vectors not on the XY plane.
* IVE and OSG reader/writers were updated as appropriate"
2004-05-08 22:18:38 +00:00
Robert Osfield
b6c1c44bd0
From Paul Martz,
...
"Changes to provide rudimentary support for OF 15.8 light point
animation palettes. This change also includes light point palette override
support for external references. This is the last of my code changes to
support OF 15.8 in the flt loader. Barring bugs, of course, knock on wood.
The gist of the animation palette code is to create ref_ptr'd
osgSim::BlinkSequence objects for each palette entry, and then pass them on
to osgSim::LightPoint for any OpenFlight light points that reference that
palette entry. This should be conservative of memory (not that I expect the
animation palette to be extremely large)."
2004-05-08 21:33:25 +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
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
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
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
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
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
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
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
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
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
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
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
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