Robert Osfield
f96622ebf9
From Matt Burke, typo fix on getMinimumDistance().
2004-06-28 20:47:39 +00:00
Robert Osfield
20de9666dd
From Terry Welsh, added support for reading and writing osg::FragmentProgram
...
local parameters.
2004-06-28 10:00:21 +00:00
Robert Osfield
63aa9b857d
Added first stage of support for "--levels min max" in osgdem/osgTerrain where
...
this option controls which levels that an associated imager or DEM contributes
to the final model.
2004-06-17 14:39:16 +00:00
Robert Osfield
06aa06d686
Added support for setting texture units in the new TexGenNode.
2004-06-17 14:02:15 +00:00
Robert Osfield
85344ebdaf
Fixed deprecated #idef
2004-06-14 20:14:54 +00:00
Robert Osfield
3eea9dc1a7
Fixed #ifdef USE_DEPRECATED_API
2004-06-14 20:11:28 +00:00
Robert Osfield
2d35b3cc27
Changed Billboard::g/setPos(..) to g/setPosition(..).
2004-06-14 19:34:43 +00:00
Robert Osfield
7367c1cee5
Added extra constructor to make it more convinient to create AlphaFunc.
2004-06-14 19:30:20 +00:00
Robert Osfield
33bc3820ac
Tweaked comments.
2004-06-14 19:20:07 +00:00
Robert Osfield
1e2aae1634
Removed old UserData comment which was non longer relevant.
2004-06-14 19:17:32 +00:00
Robert Osfield
78d075eb24
Added new TexGenNode class for positioning tex gens.
2004-06-14 19:11:04 +00:00
Robert Osfield
8b2ba07653
Compile fix w.r.t new CoordinateSystemNode.
2004-06-09 20:18:58 +00:00
Robert Osfield
f75a7c6294
Added CoordinateSystemNode::set(const CoordinateSystemNode&) method to conviniently
...
set up a coordindate system.
2004-06-09 15:11:27 +00:00
Robert Osfield
a8ce6b01d6
Added CoordinateSystem::s/getFormat().
2004-06-09 15:00:03 +00:00
Robert Osfield
893eaaa3f4
Cleaned up float vs double types in Vec*d and Vec2f classes
2004-06-09 13:06:12 +00:00
Robert Osfield
65d0293778
Added options for controlling mipmapping and aniso-tropic filtering.
2004-06-08 13:58:36 +00:00
Robert Osfield
ba7a7fe638
Updates to FlightManipulator
2004-06-08 12:31:33 +00:00
Robert Osfield
22ec86114d
Updates to the terrain manipulator.
2004-06-08 07:32:08 +00:00
Robert Osfield
eec378a885
Moved the osg::ClusterCullingCallback into into own header and source file.
2004-06-07 15:05:22 +00:00
Robert Osfield
1f4417ab2b
Fixed the Vec*d class so there have value_type set to double.
2004-06-04 16:32:00 +00:00
Robert Osfield
bfd1286b25
Add clamping to 0..1 bounds for each of the r,g,b,a components in
...
the CubeMapGenerator::set_pixel() method.
2004-06-04 11:35:13 +00:00
Robert Osfield
2cf45b50c9
From Terry Welsh, added checks to incoming Geometry for existance of normals,
...
and if they are present use these to compute the tanget and binormals
vectors perpendicular to existing normals.
2004-06-04 08:24:13 +00:00
Robert Osfield
5d97f7ec92
Added support for a single color in a ColorRange
2004-06-03 10:10:41 +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
8edafc3b22
Updated clampProjectionMatrix methods
2004-05-25 20:35:14 +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
fee33001fd
Fixed warnigs on VS.
2004-05-20 13:54:53 +00:00
Robert Osfield
f8daf206ab
Improved support for new double Vec* classes
2004-05-20 12:57:06 +00:00
Robert Osfield
eba53406d4
Fixed typo of Vec3f to Vec2f
2004-05-20 10:42:05 +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
17214df1fc
Added GL_SCALE_NORMAL define to get round compilation against GL1.1 headers
2004-05-19 09:17:36 +00:00
Robert Osfield
9ff7933d96
Added GL_RESCALE_NORMAL to allow compilation with GL1.1 headers
2004-05-19 09:12:52 +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
71150e96dc
From Ruben, fix for gcc 3.4 build
2004-05-17 10:21:30 +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
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
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
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
aec98259a8
Added support for osgDB::ReaderWriter::ReadResult::FILE_LOADED_FROM_CACHE
2004-05-07 13:43:41 +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
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
8bdb68ef97
Added support for reading environmental varables in CullSettings.
2004-05-05 09:16:12 +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
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
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
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
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
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
061244056d
Added support for using the error metric to guide the simplficiation process
2004-04-19 23:08:30 +00:00
Robert Osfield
a1caa14a61
Added osgsimplifier example.
2004-04-18 16:15:49 +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
7d5e44205d
Fixed bogus read*Implementation calls in ReadFileCallback.
2004-04-13 16:03:18 +00:00
Robert Osfield
c80de01fd7
Further work on the new osgUtil::Simplifier.
2004-04-12 21:29:31 +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
51c8655630
Added beginning of new osgUtil::Simplifier
2004-04-08 11:27:01 +00:00
Robert Osfield
6e854d04c7
Fixes from Per Månsson for Win32 build
2004-04-06 16:01:05 +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
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
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
2f2030aba4
Fixed the boundary equalization
2004-03-30 21:13:08 +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
e44176a7aa
Fixed the handling begin()/vertex()/end() sequences in TriangleIndexFunctor.
2004-03-29 12:28:40 +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
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
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
02f9ce48bc
Added ArgumentParser::Parameter class to make the argument parsing much more
...
flexible, and to simplifying the API. The read(,,,) methods now take
Parameter objects as arguments, and this Parameter adapt what ever basic
type is passed in, so is able to transparently handle float, double, int,
unsigned int & strings.
2004-03-19 22:03:09 +00:00
Robert Osfield
28214337a3
Moved the LineSegment destructor from the header to the source to avoid
...
compilation problems under MingW.
2004-03-19 09:18:21 +00:00
Robert Osfield
3fea25a0a1
From Marco Jez, updates to osgParticle, with integration of changes from Tom
...
Jolly.
2004-03-17 20:31:55 +00:00
Robert Osfield
e2e779bed7
Added support for generation of PagedLOD databases in osgTerrain::DataSet
2004-03-16 16:54:08 +00:00
Robert Osfield
84562208d0
Added support for controlling the type of destiation database to create into
...
osgTerrain::DataSet.
2004-03-15 15:47:22 +00:00