Commit Graph

2997 Commits

Author SHA1 Message Date
Robert Osfield
2e10cffb4d Work in progress on shader language uniform support 2005-04-13 12:00:28 +00:00
Robert Osfield
9c55486746 Added inline to float convertComponent(,) 2005-04-12 08:59:33 +00:00
Robert Osfield
25f738a8ee From Olaf Flebbe, change from powf to ldexp. 2005-04-12 08:55:52 +00:00
Robert Osfield
d268cf46fa Renamed SG_LIBRARY and SG_EXPORT macro's to OSG_LIBRARY and OSG_EXPORT 2005-04-11 17:14:17 +00:00
Robert Osfield
813bb559aa Changed optimization flag to -O instead of -O2 to aid compile speed. 2005-04-11 15:40:30 +00:00
Robert Osfield
4fec031e6c Moved #include <osg/State> from header into .cpp to clean up build. 2005-04-11 15:17:24 +00:00
Robert Osfield
a9270a7c89 Build fix 2005-04-11 15:01:57 +00:00
Robert Osfield
2fb3d9aae5 Fixed warning, and sorted entries in GNUmakefile 2005-04-11 10:12:32 +00:00
Robert Osfield
20882b6b4b From Olaf Flebbe, Fixed cross platform compile error 2005-04-11 07:51:43 +00:00
Robert Osfield
0d8bd24250 Fixed typo 2005-04-09 11:17:12 +00:00
Don BURNS
e3091ac4bd Added check for _last_of for fileName and merged all definitions for socklen_t
to one line.
2005-04-08 19:39:05 +00:00
Robert Osfield
72a0e38ed0 From Stephan Huber, changed fixed string sizes for dynamically allocated ones in OSX file system gets. 2005-04-08 18:46:51 +00:00
Robert Osfield
d52e02aaeb From James French, a tweak with fix a compile problem related to STLport. 2005-04-08 14:44:44 +00:00
Robert Osfield
2ae269c447 From Olad Flebbe, compile fix for HP-UX. 2005-04-08 14:11:15 +00:00
Robert Osfield
b401b97bce From James French, fix to header guard 2005-04-08 14:09:32 +00:00
Robert Osfield
cd8634776d From Stephan Huber (contains Registry.cpp changes from David Guthrie):
"Attached is the new source for the Quicktime-Plugin which adds the
ability to write pictures in various formats (tested: jpg, png, tif,
psd) (24bit + 32bit only, 8bit not tested)

There are changes in the attached osgDB::Registry, which allows osg to
find resources/plugins in the right folders under OS X"

Note, from Robert Osfield, changed the FilePathList* filepath + delete to a
FilePathList filepath to avoid possible memory leaks when expections are thrown/
make it more maintainable.  Also didn't merge the automatic playing of movies.
2005-04-08 13:52:03 +00:00
Robert Osfield
d31cd3dce6 From Mike Weiblen, updates to GL Shadler Language support 2005-04-08 13:10:44 +00:00
Robert Osfield
dd3db860a2 From Carlo Camporesi, add support for text into .ive plugin, tweak by
Robert Osfield to allow font names to be exported correctly with extension
2005-04-08 13:06:14 +00:00
Robert Osfield
7d24d9fdd5 Added #include <algorithm> 2005-04-08 12:22:03 +00:00
Robert Osfield
fed42a46ed Added #include <osg/io_utils> 2005-04-08 09:59:40 +00:00
Robert Osfield
a8d4da8163 Added #include <osg/io_utils> 2005-04-08 09:36:42 +00:00
Robert Osfield
cc47a520ae Added #include <osg/io_utils> 2005-04-08 09:18:15 +00:00
Robert Osfield
3c76c9fd60 Added io_utils include 2005-04-08 09:14:50 +00:00
Robert Osfield
fcab21f9cc Added osg/io_utils include 2005-04-08 09:13:07 +00:00
Robert Osfield
a2974de978 Moved the istream and ostream support from Vec* and Matrix* into a seperate io_utils file. 2005-04-08 09:01:23 +00:00
Robert Osfield
84e8338be1 From Mike Weiblen, "adds sourcefiles for beginnings of .osg fileformat i/o support
> - enhancemens to core GLSL classes to support file i/o"
2005-04-07 20:23:58 +00:00
Robert Osfield
923048fdb6 Warning fixes by Mike Weiblen + Robert Osfield 2005-04-07 20:08:54 +00:00
Robert Osfield
7a27a0bef7 From Marco Jez, improvements to osgIntrospection, and new automatically generated
osgWrappers/osg set.
2005-04-07 20:00:17 +00:00
Robert Osfield
9dd9464638 Fix to compute coordinate frame callback so that it can handle scaled
coordinate frames, rescaling as required.
2005-04-07 16:09:34 +00:00
Robert Osfield
d160b4977b Fixed the MatrixTransform(Matrix&) constructor so that it correct sets _inverseDirty = true; 2005-04-07 15:27:53 +00:00
Robert Osfield
83e21611f6 Fixed sort of sources so that the layer number is taken into account. 2005-04-07 10:55:17 +00:00
Robert Osfield
88d65263ec Fixed layer and levels handling in reprojection of source imagery. 2005-04-07 10:19:47 +00:00
Don BURNS
af3ac699aa Rolled in Olaf's changes for HP-UX build 2005-04-05 19:08:48 +00:00
Robert Osfield
9e5d905b05 Renamed _A and _B to make them more meanigful 2005-04-04 20:25:57 +00:00
Don BURNS
ed0f780321 Removed annoying "Can't find the ground" message 2005-04-04 18:07:27 +00:00
Robert Osfield
56787b4195 Fixed output of MultiTextureControl. 2005-04-04 16:06:28 +00:00
Robert Osfield
5f75f765f0 From Marco Jez, updates to osgIntrospection. 2005-04-04 13:50:07 +00:00
Robert Osfield
816df3a1d0 Fixes for VS6.0 build 2005-04-04 12:24:18 +00:00
Robert Osfield
2e32a7cb78 From Carlo Camporesi,fixed for loop bug 2005-04-04 11:47:50 +00:00
Robert Osfield
ed0200162c From Alberto Farre, nested files bug fix. 2005-04-04 11:22:43 +00:00
Robert Osfield
d9828731d8 From Alberto Farre:
"Here there are fixes for several flt loader problems.

First one was an small bug when root database was an empty string we got a database path "/" instead of "./".
Second one is more complex. Flt loader works in two passes, first one reads flt database and second one builds osg scenegraph. Special care must be taken for properly tracking database path as nested files are entered. Because textures are loaded in second pass, mentioned care should be taken once again. I wrote time ago a piece of code and I placed it in both files fltFile.cpp and flt2osg.cpp. After a long period offline I have seen the portion of code at flt2osg was missing, I just made some tests and I could see it is still required.

Finally, I have seen that pool.cpp always try to make IMAGE cache instead of reading what Options says.

Aditonally, I recently wrote an osg change, now it has external references "a la flt" what is called osg::ProxyNode. As part of the change now flt loader builds external references as ProxyNodes. I made the same mistake like pool.cpp and always made ARCHIVE cache instead of see what Options says, it has also been fixed."
2005-04-04 11:18:02 +00:00
Robert Osfield
aa8dbea11c From Mike Weiblen, updates to Shander Language support 2005-04-04 10:08:15 +00:00
Robert Osfield
2e91a74f14 Added FluidProgram 2005-04-04 10:05:35 +00:00
Robert Osfield
22e446dbc9 Improved ParticleEffects 2005-04-04 07:54:52 +00:00
Robert Osfield
e4580f2028 From Farshid Laskari, addiition of FrontFace support to .ive 2005-03-26 10:04:31 +00:00
Robert Osfield
0123cdbe8f From Waltice (don't have full name at time of submission), added support for 16bit tiff files 2005-03-25 11:17:33 +00:00
Robert Osfield
60cecb8959 Added State::getActiveUnit and usage of it in the glTexCopyImage*() implementations 2005-03-25 11:07:48 +00:00
Robert Osfield
9de5dc38f1 Made the ground intersection warning just output to INFO level. 2005-03-25 11:06:44 +00:00
Robert Osfield
7883574d28 From Mike Weiblen,
"updates for GLSL core integration:
Code compiles and runs on win32.
Basic functionality of Program and Shader in place.
Program derived from StateAttribute.
Uniform value propagation is not yet functional (in development)
Includes some patches by Nathan Cournia.
includes example testcase to demo use of new classes."
2005-03-24 09:37:45 +00:00
Robert Osfield
2ab78cfe38 From Marco Jez, fixed constness of data return type 2005-03-23 21:00:28 +00:00
Robert Osfield
58d60476f0 From Mike Weiblen, " Move update of shader values after shader rebuild opportunity, to ensure uniform
state of shaders is consistent"
2005-03-23 20:31:42 +00:00
Robert Osfield
aee1e88f15 Added extra controls for ParticleEffects. 2005-03-23 17:05:21 +00:00
Robert Osfield
60597f4bbb Fixed the scaling in pixelSize computation and the autoscale usage of it. 2005-03-23 10:46:08 +00:00
Robert Osfield
476a83bb9c Added MatrixManipulator::s/getIntersectTraversalMask(uint) to allow control
of which subgraphs should be used in intersection calculations.  Updated
Terrain,Drive and UFO manipulator to use this new flag.
2005-03-22 21:06:06 +00:00
Robert Osfield
0b2ac40fe8 Moved ParticleSystemUpdater into ParticleEffect nodes to simplify usage
of nodes.
2005-03-22 20:26:45 +00:00
Robert Osfield
1c808e4959 Fixed the double transform of ParticleEffects 2005-03-22 17:00:41 +00:00
Don BURNS
8eb0e8ca88 Added getCameraByName method to viewer 2005-03-21 00:33:37 +00:00
Don BURNS
5d10547ac5 Added getCameraByName method to viewer and home(double currentTime) to
MatrixManipulator, UFO, Trackball and ANimation manipulator.
2005-03-20 23:57:17 +00:00
Robert Osfield
7951be9573 Added support for handling transparent geometries and textures. 2005-03-18 11:21:01 +00:00
Robert Osfield
2e67fee738 updates to reflect changes to StateAttribute::Types 2005-03-18 10:27:49 +00:00
Robert Osfield
667ecd91f1 From Alberto Farre, fixes to ProxyNode. 2005-03-18 10:00:16 +00:00
Robert Osfield
c30141d6be From Mike Weiblen, "minor patches to osgFX consisting of changing from
"state.matrix.modelview[0]" to the equivalent "state.matrix.modelview".
Per ARB_vertex_program, the "[0]" syntax is supported only when
EXT_vertex_weighting or ARB_vertex_blend are supported."
2005-03-18 09:37:46 +00:00
Robert Osfield
d801593d35 Improvements to the handling of textures and texture coords. 2005-03-18 02:45:54 +00:00
Robert Osfield
dd4427d1e3 Made the can't find ground intersection message only appear as INFO. 2005-03-18 02:45:02 +00:00
Robert Osfield
d52f4ea23a Added support for a new IsOperationPermissibleForObjectCallback in osgUtil::Optimizer. 2005-03-18 02:44:08 +00:00
Robert Osfield
8bb4649cd5 Added extra controls into osgDB::DatabasePager for customizing how
much time is allocated to compiling and deleting OpenGL objects, also
added support into osgProducer::OsgSceneHandler.cpp for these new parameters.

The new cotrols are:

    DatabasePager::s/getTargetFrameRate(..)
    DatabasePager::s/getMinimumTimeAvailableForGLCompileAndDeletePerFrame()
    DatabasePager::s/getMaximumNumOfObjectsToCompilePerFrame()
2005-03-17 19:32:09 +00:00
Robert Osfield
6904696573 Added check against node.getName() into isNodeEmpty(Node&) method so that nodes
with names arn't assumed to be empty.
2005-03-17 10:24:22 +00:00
Robert Osfield
4beb385d2d Changed tabs to four spaces 2005-03-14 09:28:31 +00:00
Robert Osfield
8c7f71ef39 Added osgGL2 to .ive list of dependencies 2005-03-13 17:26:52 +00:00
Don BURNS
c332d1f751 Chagned osg::Matrix to osg::Matrixd 2005-03-13 05:02:02 +00:00
Don BURNS
4904c20889 Added M_PI definition for winders 2005-03-12 15:57:44 +00:00
Don BURNS
fce7f24347 Added a few things to osgProducer::Viewer to support UFO manipulator and
cleaned up UFOManipulator.
2005-03-12 05:31:26 +00:00
Robert Osfield
a2e8bc6267 Added support for set/getUniform and set/getProgram into osg::StateSet. 2005-03-11 20:29:21 +00:00
Don BURNS
21c1d64b1c Added methods getCameraManipulatorNameList() and selectCameraManipulatorByName(). 2005-03-11 17:48:01 +00:00
Don BURNS
e001d4ddd6 Added the 'H' - home to usage message 2005-03-11 17:46:34 +00:00
Robert Osfield
cc439f11c7 Improvements to handling smoothing 2005-03-11 09:53:13 +00:00
Don BURNS
fd84431d36 Added UFO Manipulator to Viewer 2005-03-11 06:10:07 +00:00
Don BURNS
a7ac8f5992 Added UFO manipulator 2005-03-11 06:09:16 +00:00
Robert Osfield
537fa6c604 Added null pointer check to avoid crash 2005-03-10 11:11:57 +00:00
Robert Osfield
2d9a4d5fa7 Added support for writing base layer 0 texture into texture layer 1 and above
to use as a background.
2005-03-09 22:01:15 +00:00
Robert Osfield
929601f070 Improvements to MultiTextureControl and texture layer handling in osgTerrain::DataSet. 2005-03-09 20:40:31 +00:00
Robert Osfield
6a103aa413 Added osgFX::MultiTextureControl node for managing blending between
different texture layers.
2005-03-09 16:54:10 +00:00
Robert Osfield
8dc1be6707 Added basic multiple texture layer support into osgTerrain::DataSet. 2005-03-08 16:51:48 +00:00
Robert Osfield
99f80a78f1 From Ruben, added handling of vertex indices.
Note from Robert.  New codes produces errors when running
osgfxbrowser cow.osg so I have elected to keep the original
implementation of compute_basis_vectors around and as the default
compile to keep the CVS version working.  Ruben's new version
of compute_basis_vectors has to be explicitly compiled in by
toggling an #if 1 block to #if 0.
2005-03-07 17:25:30 +00:00
Robert Osfield
7bf72cd43b From Marco Jez, improved Texture2D and Image handling of compare(). 2005-03-07 14:30:55 +00:00
Robert Osfield
b3aba84d54 Added ProxyNode.h 2005-03-07 14:27:34 +00:00
Robert Osfield
c59b28ac3f Added support for event callbacks 2005-03-07 14:16:15 +00:00
Robert Osfield
238341b0da From Sebastien Grignard, added support for reading and writing callbacks 2005-03-07 14:14:35 +00:00
Robert Osfield
5684a130b7 From Alberto Farre, addition of ProxyNode, with support in .osg, .ive and .flt loaders 2005-03-07 14:06:09 +00:00
Robert Osfield
f7f61627a8 Fixed tabbing. 2005-03-07 12:32:58 +00:00
Robert Osfield
8993190ec7 From Marco Jez, "Current version of the LWO plugin creates one Geode with a single Geometry
for each Lighwave surface, in order to keep surface names (geometries can't
have names). The attached fix adds a plugin option named "COMBINE_GEODES"
that allows to place all geometries under a single Geode whenever possible,
thus offering better chances of further optimization through
osgUtil::Optimizer. The downside is that surface names are no longer stored
in the scene graph when using this option."
2005-03-07 12:14:24 +00:00
Robert Osfield
d0c79ea638 From Mike Weiblen, warning fix for VS7.1 2005-03-07 12:05:48 +00:00
Robert Osfield
a139d28a12 Added the use of pixel buffer object in ImageStream so that it is only
compiled in on non OSX platforms.
2005-03-07 12:05:22 +00:00
Robert Osfield
f4b864f37b Added looping 2005-03-07 11:58:41 +00:00
Robert Osfield
dd30c457bd Added checking for video file via normal file path checking and handling of
.xine extension as a special case for XINE style filenames.
2005-03-03 12:40:15 +00:00
Robert Osfield
7fca7456ce Added video aliases to xine plugin 2005-03-03 12:35:07 +00:00
Robert Osfield
c3f40e2e67 Added improved handling of center justificaion of multiline text 2005-03-03 12:33:07 +00:00
Don BURNS
678281f2f2 In osg::isGLUExtensionSupported, fixed gluGetString to call GLU_EXTENSIONS
rather than GL_EXTENSIONS.
2005-03-02 15:06:23 +00:00
Robert Osfield
ce68304f90 Improved support GUIEventHandler's being node event callbacks. 2005-02-25 23:02:23 +00:00
Robert Osfield
4fa830315d Added event callback to Optizimer isNodeEmpty function 2005-02-25 23:01:07 +00:00
Robert Osfield
0f61af08bd Added support for new event visitor type into osgGA and osgProducer::Viewer,
and event callback into Drawable.
2005-02-25 14:02:48 +00:00
Robert Osfield
96514b5077 New simplified timer implementation. 2005-02-25 08:38:05 +00:00
Robert Osfield
79833fa704 Added pause, rewind and play support into xine plugin. 2005-02-24 17:07:37 +00:00
Robert Osfield
5fbb1f11cd From Mike Weiblen, adding prelimimnary GL Shader Language support into core OSG lib.
with renaming and reordering by Robert Osfield,
2005-02-24 13:33:35 +00:00
Robert Osfield
164cb8216c Made Referenced::ref() and unref() inline methods. 2005-02-23 12:50:10 +00:00
Robert Osfield
e2f6dc5bf4 Removed the default play() in the MPEG, QuickTime and Xine plugins, moving
it into the osgmovie application, and into readNodeFile method where
--movie is now available for detecting movie code.
2005-02-22 20:56:56 +00:00
Robert Osfield
e01990d419 Made the osg::Referenced Mutex be declared as a pointer to a Mutex, with the
Mutex allocated dynamically when required. Added the following methods to
help manage the usage of the mutex:

        void setThreadSafeRefUnref(bool threadSafe);

        bool getThreadSafeRefUnref() const;
2005-02-22 20:25:58 +00:00
Robert Osfield
10c3f934f1 Added support for control the pitch of the drive manipulator via the
up and down cursor keys.
2005-02-22 19:19:50 +00:00
Robert Osfield
feb06f7e4b Added improved PBO support. 2005-02-22 13:34:24 +00:00
Robert Osfield
25658ad31f Fixes from Marco Jez. 2005-02-22 11:55:30 +00:00
Robert Osfield
64e6b79340 Changed the Switch::addChild(Node*) behavior so it doesn't override the
any pre-exisitng _values value.
2005-02-22 10:08:01 +00:00
Robert Osfield
21c8924d83 Added support for interpolating low res source data onto higher res destination tiles. 2005-02-21 17:02:44 +00:00
Robert Osfield
1223e4c8ca From Alberto Farre, fix to nested OpenFlight file problem. 2005-02-14 15:17:20 +00:00
Robert Osfield
1b805f7bdb Made conversion use BGRA. 2005-02-13 18:10:05 +00:00
Robert Osfield
912cb9386e Added usage of the new xine_register_plugins() call. 2005-02-13 16:35:52 +00:00
Robert Osfield
5aa2f1e7e7 Disable the MMX usage 2005-02-13 15:07:41 +00:00
Robert Osfield
a9c61ad992 Remerged Tugkan's fix to flatten static transforms. 2005-02-12 19:47:38 +00:00
Robert Osfield
8ff060b840 Put spaitalize groups to end. 2005-02-12 16:49:28 +00:00
Robert Osfield
336612359b From Tugkan Calapoglu, bug fix to FLATTEN_STATIC_TRANSFORMS.
Small tweak of the code to make the comparison against Identity matrix clearer.
2005-02-12 16:24:28 +00:00
Robert Osfield
d5409942ee Fixed spatial groups. 2005-02-11 17:22:55 +00:00
Robert Osfield
0420222ce5 From Sebastien Grignard, fixed memory leak where header and databuffers
wern't deleted.
2005-02-11 10:09:06 +00:00
Robert Osfield
192daa0408 Added support into passing the ReaderWriter::Options structure onto readImageFile 2005-02-11 10:00:50 +00:00
Robert Osfield
6747e6ff1f Removed debugging messages 2005-02-11 09:59:16 +00:00
Robert Osfield
dd0c29d19b Added new utilities for handling different '/' and '\' entries. 2005-02-11 09:58:30 +00:00
Robert Osfield
7282adef2b Removed redundent _nodePath entry. 2005-02-10 21:30:03 +00:00
Robert Osfield
7fb8dfe5ed From Chris Xennon, add support for billboard intersections + fix to addLineSegments.
Small addition from Robert Osfield of setLODSelectionMode(..) to control
the LOD selection behavior.
2005-02-10 21:18:04 +00:00
Robert Osfield
d706e9e795 From Igor Kravtchenko, new HDR plugin. 2005-02-10 20:38:50 +00:00
Robert Osfield
5215d43e14 warning fix 2005-02-10 20:21:01 +00:00
Robert Osfield
eb803a420e Fixed the pixelFormat to be RGBA. 2005-02-10 15:53:19 +00:00
Robert Osfield
ec8624f185 Implemented the osg::Image::isImagTranslucent function. 2005-02-10 15:52:18 +00:00
Robert Osfield
3ce382fd45 Changed the mpeg plugin to read movies the original way up rather than the
OpenGL way up to keep them consistent with the xine and quicktime movie codes
2005-02-09 16:18:44 +00:00
Robert Osfield
e5e2cf2d30 Created local XineImageStream class to ensure xine streams are cleaned up correctly. 2005-02-09 15:31:33 +00:00
Robert Osfield
c842dce38c Added setting of the filename 2005-02-09 14:27:54 +00:00
Robert Osfield
58120d0bc9 Added getenv OSG_XINE_AUDIO_DRIVER to xine plugin to allow users to
set what the default audio to use
2005-02-09 13:22:23 +00:00
Robert Osfield
021440b9a4 Commented out the debug messages, added back in the audio into the xine plugin 2005-02-09 12:29:09 +00:00
Robert Osfield
117c791a3b Added osg::BufferObject and a made a number associated to accomodate this
new class. osg::BufferObject wraps up OpenGL pixel and array buffer objects.
Currently implementation is work in progress.
2005-02-09 10:39:45 +00:00
Robert Osfield
850efd10f1 From Paul Melis, fixed the setFrameStatsMode() method 2005-02-07 20:44:18 +00:00
Robert Osfield
46ce4c3df3 Added the full set of buffer object methods 2005-02-07 17:28:03 +00:00
Robert Osfield
802940aec7 Temporarily added xine video_out_rgb xine-plugin inline to the OSG's xine plugin 2005-02-07 15:00:02 +00:00
Robert Osfield
9b7678138f Changed the LightSource::setReferenceFrame() read code so that it doesn't
enable the culling active flag if its was already set to false.
2005-02-06 10:14:26 +00:00
Robert Osfield
3054a612bd Added prototype xine movie plugin. 2005-02-04 19:34:46 +00:00
Don BURNS
7573cc6036 Added Viewport State Attribute to .osg reader/writer 2005-02-02 22:13:07 +00:00
Robert Osfield
72ff1737f4 Added support for OSG_CAMERA_THREADING env variable which is set to
"SingleThreaded" will ensure that OsgCameraGroup runs singe threaded.
2005-02-01 13:19:34 +00:00
Robert Osfield
e668acce27 Added support for internalTextureMode 2005-02-01 10:38:08 +00:00
Robert Osfield
c3c3ed8519 Added support for 8 parameters. 2005-02-01 09:00:10 +00:00
Robert Osfield
049d2055a5 Moved the template function into the global namespace. 2005-01-27 20:26:51 +00:00
Robert Osfield
9a93d7ae06 Fixes to osg::Image's handling of compressed formats. 2005-01-27 20:18:49 +00:00
Robert Osfield
384e647f56 Fixes for Win32 build 2005-01-27 15:54:10 +00:00
Robert Osfield
355650ac1d From Nicolas Brodu, new faster osg::Quat::makeRotate(Vec3d,Vec3d) implmentation.
From Robert Osfield, modes to osg::Quat to keep the original implmentation around
as makeRotate_original(,) and added tests into osgunittest to test the new
methods provide equivilant results to the original implemementation.  The
orignal implementation will be removed once the new method is more widely tested.
2005-01-27 14:39:58 +00:00
Robert Osfield
8cc0cdb25c Fixed tabbing. 2005-01-27 11:16:03 +00:00
Robert Osfield
a086a6d01b Changed Font::setSize to Font::setFontResolution 2005-01-27 11:10:50 +00:00
Robert Osfield
67a5a020bf From Donn Mielcarek, change of long and unsigned long to int32 and uint32 to
avoid 32bit vs 64bit issues.
2005-01-25 22:15:40 +00:00
Robert Osfield
89236b46fd From Mason Menninger, addition of setTrackballSize() parameter. 2005-01-22 16:55:48 +00:00
Robert Osfield
c99903497a From Yuzhong Shen, removed repeated statements in Hit operator =. 2005-01-21 21:00:33 +00:00
Robert Osfield
bcbd5c7786 From Kevin Moiule, rewrote PNM plugin to handle grayscale PNM images. 2005-01-21 19:33:56 +00:00
Robert Osfield
f7166c4541 Fixed the input/output handling of ReferenceFrame values to be RELATIVE and ABSOLUTE
rather than long original names.
2005-01-21 19:21:01 +00:00
Robert Osfield
8ac0211b81 From Tugkan Calapoglu, bugfix to prevents reloading already loaded images. 2005-01-21 19:15:13 +00:00
Robert Osfield
e41f24ff80 From Fredrick Mammond, fix to 64 bit build. 2005-01-12 10:32:36 +00:00
Robert Osfield
728b8c9301 Added setImageReadFormat and setImageReadDataType methods to RenderToTextureStage to
allow customization of what format/data type to read such as reading from the depth buffer etc.
2005-01-09 19:30:56 +00:00
Robert Osfield
80a6b54ddc From Per Fahlberg, support for 16bit imagery. 2005-01-07 20:36:04 +00:00
Robert Osfield
48ef6136f2 From Kevin Moule, fix to memory overwrite error. 2005-01-07 20:24:36 +00:00
Robert Osfield
3ff22d526c From Tree, change to naming of plugins when building OSG with Java to avoid
conflicts.
2005-01-07 20:01:06 +00:00
Robert Osfield
814300f896 Fixed crash in osgUtl::Simplifier which was due to an dereference of an empty array. 2005-01-07 14:31:33 +00:00
Robert Osfield
e2132cc62a Cleaned up the types. 2005-01-05 17:14:38 +00:00
Robert Osfield
c58f56adb6 From Fredric Mammond, fix for build using full extension checked mechansim 2005-01-05 16:16:52 +00:00
Robert Osfield
fab7c4d715 From Fredric Mammond, added new osg::BlendEquation state attribute wrapping
up glBlendEquation.
2005-01-03 16:39:28 +00:00
Robert Osfield
4955343c76 From Marco Jez, fixed handling of loading of relative file paths. 2005-01-03 13:49:35 +00:00
Robert Osfield
89b8a8a921 Added stripping of trailing spaces to readline call to fix problems associated
with eroneous spaces hanging around at ends of lines causing string matching
problems
2005-01-03 12:27:58 +00:00
Robert Osfield
8c5842115f Added check against ac as extension. 2005-01-03 11:20:21 +00:00
Don BURNS
3e96112b82 Added computeBound to osg::Switch, which now checks to see if a child is
enabled before computing its bound.
2004-12-17 20:51:55 +00:00
Robert Osfield
a0ba625cb0 Property API clean to smooth the task of generating wrappers. 2004-12-17 01:06:33 +00:00
Robert Osfield
4383655fcd Provisional lists for what are likely to, and not likely to have wrappers automatically generated easily 2004-12-16 06:15:34 +00:00
Robert Osfield
901ca9ee5c Added missing files 2004-12-15 04:49:05 +00:00
Robert Osfield
fa4eaae122 From Frederic Marmond, add osg::LogicOp for support for glLogicOp. 2004-12-13 04:54:20 +00:00
Robert Osfield
d9802310dc From Marco, fixes to osgIntrospection and related libs 2004-12-13 02:39:47 +00:00
Robert Osfield
66396e9452 Teaks to API to make it easier to generate wrappers automatically 2004-12-13 01:07:24 +00:00
Robert Osfield
6690da4272 Changed RELATIVE_RF to ABSOLUTE_RF to fix bug introduced when naming was changed
from RELATIVE_TO_ABSOLUTE to new convention
2004-12-12 22:27:20 +00:00
Robert Osfield
28d31c96b6 Added Marco Jez's osgIntrospection + osgWrapper libs with osgintrospection
example
2004-12-09 05:28:20 +00:00
Don BURNS
fd403f9476 Update of IVe version files 2004-12-08 19:45:07 +00:00
Don BURNS
b84342c59a Spelling errors fixed by Brede Johansen 2004-12-07 00:42:21 +00:00
Don BURNS
3412c6811e Changed the strcmp() to use std::string instead. 2004-12-06 19:32:59 +00:00
Don BURNS
1771cdbcc7 Update version numbers in files 2004-12-04 23:38:24 +00:00
Don BURNS
ebdff5aefe Memory leak spotted and fixed by Sebastien Grignard 2004-12-02 17:44:50 +00:00
Don BURNS
30f5f88eb3 Small clean up of commented code 2004-11-29 05:47:16 +00:00
Don BURNS
0810c733d0 Comprimise for Visual Studio 6 by using 'using namespace OpenThreads'. 2004-11-29 05:32:04 +00:00
Don BURNS
463b47f020 Fixes for SOlaris build 2004-11-29 03:05:27 +00:00
Don BURNS
c7e8386707 Fixes for IRIX build 2004-11-29 01:12:25 +00:00
Don BURNS
860bc59f8e Changes for IRIX build 2004-11-28 23:49:01 +00:00
Don BURNS
0558fb024c Fixed osgDB:: prefix for Windows build 2004-11-27 20:35:19 +00:00
Don BURNS
81ff3e16d6 Added Marco's fix for data path for the .ive plugin 2004-11-27 19:23:41 +00:00
Don BURNS
03b9ebe56a Fixed bug in .net loader. Added hostname to file fetch. 2004-11-27 19:20:32 +00:00
Robert Osfield
c5f5373e05 Added missing OSG_SCREEN_WIDTH docs 2004-11-26 21:35:36 +00:00
Robert Osfield
c0c02d6c24 Fixed caching of archives 2004-11-25 15:09:56 +00:00
Robert Osfield
1956fdfc1b cleaned up debug info 2004-11-24 21:39:28 +00:00
Robert Osfield
d8adf68ba8 Clean up of output 2004-11-24 19:41:36 +00:00
Robert Osfield
1b488d6757 Fixed typo in acceptsExtension 2004-11-24 15:41:36 +00:00
Robert Osfield
23ec051821 Moved the initPeformer to the constructor to avoid const issues when compiling 2004-11-24 06:57:34 +00:00
Robert Osfield
46c46fba78 Fixed VS.NET warnings 2004-11-23 23:47:25 +00:00
Robert Osfield
f213e473f3 From Fabien Dachicourt, bug fix to addChild(node,value) 2004-11-23 17:07:48 +00:00
Robert Osfield
4a1e494eb5 From John Shue, reordering of tiffio.h to avoid compile error. 2004-11-23 16:52:59 +00:00
Robert Osfield
d9b9a6f1f8 Made read/write methods in ReaderWriter all const to facilate multi-threading 2004-11-23 15:29:52 +00:00
Robert Osfield
ffcd95b004 Tripped out experiemental threadSafe_ methods in ReaderWriter 2004-11-23 12:57:00 +00:00
Robert Osfield
5c5ceef90d Added support for local relative paths 2004-11-23 10:46:37 +00:00
Robert Osfield
ce07879e2e Moved plugins across to using ReaderWriter::Options* for search paths in addition
to standard osgDB::DataFilePaths
2004-11-22 23:54:45 +00:00
Robert Osfield
e54f46f630 Removed the cache hints from registery placing them wholly into ReaderWriter's responsibility. 2004-11-22 14:49:27 +00:00
Robert Osfield
a6369da4f4 Moved Registry::CacheHintOptions into ReaderWriter::Options 2004-11-22 14:10:12 +00:00
Robert Osfield
5adff5c15e Added support for pixel based LOD's and set the default priority scale to 1.0 2004-11-20 12:08:33 +00:00
Robert Osfield
796b4cbe8d Added support for pixel range to PagedLOD 2004-11-20 11:48:28 +00:00
Robert Osfield
8d44f7b15e Fixed indentation. 2004-11-20 11:48:01 +00:00
Robert Osfield
3b092690ff From Johan Nouvel, added support for range mode 2004-11-20 11:45:14 +00:00
Robert Osfield
d748664df6 From John Shue, fix for FreeBSD. 2004-11-20 10:36:16 +00:00
Robert Osfield
3bf21bf3b6 Added _lockCount>0 check to lock,unlock and trylock to make sure that it
is set properly on first time entry.
2004-11-19 20:05:14 +00:00
Robert Osfield
65d4e0428e Removed notify from destructor wait for cancel loop. 2004-11-19 09:02:00 +00:00
Robert Osfield
5baebab14c Removed old and used FileUtils_Mac.cpp 2004-11-18 16:25:14 +00:00
Robert Osfield
8cc9d650a1 Added friend usage for inner classes to try and get round compile problems
under Solaris.
2004-11-18 12:07:28 +00:00
Robert Osfield
7b543a5009 Added check for extension. 2004-11-18 11:53:51 +00:00
Robert Osfield
595dda6fe4 From Vivek Rajan, fixes to Solaris build. 2004-11-18 10:08:29 +00:00
Robert Osfield
02ee5ff0cc Altered the path for Cygwin to set the _ticksPerSecond to the correct value. 2004-11-18 09:19:15 +00:00
Robert Osfield
e9c403839d Made a few of the public methods virtual, and moved more of the class
methods to protected scope.
2004-11-17 14:25:17 +00:00
Robert Osfield
8dd892259d Removed debug info as it was causing VS6.0 compile problem 2004-11-16 14:21:02 +00:00
Robert Osfield
7a933ebf72 From David Spilling, fix for VS6.0 build. 2004-11-16 14:20:39 +00:00
Robert Osfield
8254be2962 Added using namespace osgDB to try and resolve some of the VS6.0 problems. 2004-11-16 12:40:45 +00:00
Robert Osfield
2b310c6926 Added support for serialization of calls to ReaderWriter plugins. 2004-11-15 19:46:10 +00:00
Robert Osfield
01c8b3d0c1 Added ReentrantMutex 2004-11-15 13:08:46 +00:00
Robert Osfield
4094c3f058 Added osgDB::ReentrantMutex is prep for making osgDB::Registry single threaded. 2004-11-15 11:57:41 +00:00
Robert Osfield
7ddb8ed87f Added Cygwin to #define stat64 stat path. 2004-11-14 20:00:30 +00:00
Robert Osfield
7d43aee78d Made the use of the standard clock default instead of the RDTSC calls to avoid
problems with variable CPU frequency such as found on laptops.
2004-11-14 10:41:48 +00:00
Robert Osfield
a0fc9632b8 Fixed warnings. 2004-11-13 21:42:45 +00:00
Robert Osfield
98a1108696 Added support for opening an istream archive 2004-11-13 21:39:29 +00:00
Robert Osfield
ddb0d6bd4f Added prelimarny support for reading archives via the .net plugin 2004-11-13 16:21:48 +00:00
Robert Osfield
06f1b602e7 Fixed the passing of the parsed server name/server file when handling files
via the .net plugin
2004-11-13 16:18:15 +00:00
Robert Osfield
de4dc63ca7 Fixed openArchive so that it only enforces the checking of the archive's existance
when in READ mode.
2004-11-13 10:24:07 +00:00
Robert Osfield
fb631059fe Remove unistd.h include 2004-11-12 21:07:17 +00:00
Robert Osfield
43f528fd41 From Ulrich Heirtlein, added STL plugin 2004-11-12 14:49:22 +00:00
Robert Osfield
b60304f8ad Improvements to support for archives 2004-11-12 08:55:11 +00:00
Robert Osfield
a0eb4c72a1 Added write to ostream to ReaderWriterDDS 2004-11-11 16:05:55 +00:00
Robert Osfield
6f96cf4ad2 Moved the .osga implementation into the src/osgPlugins/osga plugin and made
osgDB::Archive a pure virtual base class.
2004-11-11 13:22:55 +00:00
Robert Osfield
9fcda76143 Fixed uninitialized variable. 2004-11-10 22:11:28 +00:00
Robert Osfield
8ba55e2922 Added debugging info for swapped endian values 2004-11-10 21:47:08 +00:00
Robert Osfield
84e60f5884 Fixes to endian handling. 2004-11-10 21:38:54 +00:00
Robert Osfield
258fd88a1e Removed duplicated swap bytes 2004-11-10 21:31:44 +00:00
Robert Osfield
d397b5b90b Added sizeof tests of istream::pos_type and off_type to osgunittests.
Added debuggin messages to endian handling code in Archive::open().
2004-11-10 21:28:06 +00:00
Robert Osfield
3523577235 Added check for endianess of .osga archives 2004-11-10 21:18:31 +00:00
Don BURNS
67aa3792e5 More cleanups for CYGWIN from Norman Vine 2004-11-10 16:56:58 +00:00
Robert Osfield
4973824b1d Added new osga plugin for reading OSG native archives 2004-11-10 16:40:08 +00:00
Robert Osfield
5d3dcd3e18 Commented out some redundent debuggin info. 2004-11-10 16:37:02 +00:00
Robert Osfield
2db9dc2e60 Moved the ReadFunctor to protected section. 2004-11-10 13:47:22 +00:00
Robert Osfield
4e19c03de1 Added support for master file and clean up Archive API. 2004-11-10 13:03:52 +00:00
Robert Osfield
a383330ae4 From Mike Weiblen, fix to the state leakage. 2004-11-10 09:56:03 +00:00
Robert Osfield
8f621d6ae1 Added explicit setting of the precision to allow .osg files to be used succsefully. 2004-11-09 16:50:02 +00:00
Robert Osfield
bb3d651453 Fixed tabbing 2004-11-09 16:49:29 +00:00
Robert Osfield
564869487a Added support of archiving into osgTerrain::DataSet and osgdem. 2004-11-09 14:18:29 +00:00
Don BURNS
ec319e663f Fixes to the .net plugin for Cygwin, submitted by Norman Vine 2004-11-09 07:34:28 +00:00
Robert Osfield
744315b65c Fixed the compute of PagedLOD ranges for non geocentric datasets 2004-11-08 20:44:16 +00:00
Robert Osfield
8c4ab92117 Added resolutionSensitivityScale of 0.9 into the DataSet::createDestinationGraph()
to prevent overly conservative subdivision of data.
2004-11-08 19:56:22 +00:00
Robert Osfield
91af37573a Added public access to VertexProgram's LocalParamters and added .osg support
for these.
2004-11-08 17:12:36 +00:00
Robert Osfield
fd9063628a Added guard to testing _internalFormat in compareTexture(..) so that
a comparison would only be done if both the lhs and rhs had already been
set to a non zero value.
2004-11-08 16:39:10 +00:00
Robert Osfield
d26c8460dc Updates to osgDB::Archive support, and refactoring of implementation of
reading files in Registry to faciliate the new archiving support.
2004-11-08 16:11:07 +00:00
Robert Osfield
f84f8d87e0 Added support for openArchive into osgDB 2004-11-07 21:17:31 +00:00
Robert Osfield
f44ecb1f65 Fixed insertion of files into an existing archive 2004-11-07 12:13:56 +00:00
Robert Osfield
8d6aa8b405 Further work on osgDB::Archive 2004-11-06 21:18:19 +00:00
Robert Osfield
3fde44b5a5 Made fix to the setReferenceFrame method to properly disable culling
when reference frame is ABSOLUTE.
2004-11-06 10:18:55 +00:00
Robert Osfield
c691860b5c Improved handling of uflow and underflow() in proxy_streambuf, and change
unsigned char* to char* to avoid stoooopid VS6.0 compile errors
2004-11-02 21:04:14 +00:00
Robert Osfield
ffca165611 Added prelimanary prox stream buffer to fake the ending of file. 2004-11-02 17:05:15 +00:00
Robert Osfield
fae2416584 Added debugging messages to setTrackerNode 2004-11-02 17:04:06 +00:00
Robert Osfield
ce3d785751 Fixed missing write of image tiles. 2004-11-02 14:05:37 +00:00
Robert Osfield
2718058173 Removed the font cache from the FreeType plugin, moving the support across to
osgDB::Registry.
2004-11-02 11:10:44 +00:00
Robert Osfield
d548d77010 From Tree chagenes required for Java Wrappers 2004-11-01 16:14:53 +00:00
Robert Osfield
41823a115d Added handling of endian in DrawElementsUShort/UInt implementations 2004-11-01 10:04:40 +00:00
Robert Osfield
48191bb1ab From Anders Backman, unit tests to test matrix to quat compute. 2004-10-28 13:40:09 +00:00
Robert Osfield
fd327f68f6 From Tom Jolley, Added a new enum POINT_ROT_WORLD_Z_AXIS and a new section in computeMatrix for this enum.
With a small tweak from Robert Osfield to set _cacheMode.
2004-10-28 13:26:06 +00:00
Robert Osfield
013c963a6b Added return type to addFileReference(). 2004-10-28 13:04:35 +00:00
Robert Osfield
70e636bf15 Added return value to getFileReferences() 2004-10-28 13:02:33 +00:00
Robert Osfield
90e5586777 Updates to osgDB::Archive, and IVE plugin to support usage via the Archive. 2004-10-28 12:16:47 +00:00
Robert Osfield
8dfea424c5 Removed gdal_priv.h from include/osgTerrain/DataSet to remove the external dependency on
GDAL.
2004-10-28 07:00:55 +00:00
Robert Osfield
61b0f5d301 Added IndexBlock inner class to osgDB::Archive 2004-10-27 14:09:24 +00:00
Robert Osfield
676f204cdb Updates to osgDB::Archive 2004-10-26 18:29:27 +00:00
Robert Osfield
6f22082c0b Removed the _initVisitor traversal for update() to prevent OpenGL being called at the wrong time. 2004-10-26 18:11:26 +00:00
Don BURNS
dc6dc022cd Removed link to X11 2004-10-26 15:31:33 +00:00
Robert Osfield
1f5b044c71 Made ReaderWriter::className const 2004-10-26 10:26:43 +00:00
Robert Osfield
df9c7e5031 From Tree, fixes for Java bindings 2004-10-25 19:16:57 +00:00
Robert Osfield
66836ef3d0 Added new osgDB::Archive class, and osgarchive example. These are both
very early beginnings so do not function yet.
2004-10-25 19:16:38 +00:00
Don BURNS
e464bcae81 Small warning fix by Marco. 2004-10-25 18:08:34 +00:00
Robert Osfield
b70ff91eaf Changed ABSOLUTE and RELATIVE to ABSOLUTE_RF and RELATIVE_RF to avoid stooppid Win32 #define 2004-10-24 20:04:00 +00:00
Robert Osfield
1dd682f6b4 From Fred Mammond, fixes for x86_64 build 2004-10-24 17:50:54 +00:00
Robert Osfield
f347703370 fixes to tabs 2004-10-24 14:31:18 +00:00
Robert Osfield
a62b4e58c7 From Pavel Moloshtan, speed improvments in reading and writing index arrays 2004-10-24 14:31:07 +00:00
Robert Osfield
2252e9e851 From Eric Sokolowsky, support for 2 channel tiff images 2004-10-24 14:19:27 +00:00
Robert Osfield
63e4587a88 Added s/getEventCallback support into osg::Node, and an EVENT_VISITOR
type into NodeVisitor.
2004-10-24 13:51:44 +00:00
Don BURNS
12a1ef5552 don - Small changes to support Mac OSX CGL build
small unused variable warning fix.
2004-10-24 05:50:59 +00:00
Don BURNS
1e8ee75b66 Added default: case for both switch() statements 2004-10-22 21:01:10 +00:00
Robert Osfield
6821a80e14 Changed the ReferenceFrame enums to be RELEATIVE and ABSOLUTE, and
deprecated the RELATIVE_TO_ABSOLUTE and RELATIVE_TO_PARENTS.
2004-10-22 19:26:45 +00:00
Robert Osfield
93c439ba01 Generalised the osg::ClusterCullingCallback so that it coud be attached
to Node as well as Drawables.

Changed the osgTerrain::DataSet so that it moves the ClusterCullingCallback
up to the Node level.

Added support to the .ive plugin for attaching the ClusterCullingCallback to nodes.
2004-10-21 09:36:34 +00:00
Robert Osfield
48a1fff041 From Alan Purvis, with enum name tweaks from Robert Osfield. Addition of
support for turing on/off the usage of vertex buffer objects.
2004-10-19 09:29:13 +00:00
Robert Osfield
2047ac250f From Frank Lichtenheld, compile fix to Linux powerpc build. 2004-10-18 18:59:05 +00:00
Robert Osfield
ebab2ccab4 Fixed OsgCameraGroup::setLODScale so that it now uses the local CullSettings
objects.
2004-10-18 18:56:26 +00:00
Robert Osfield
f86be80c20 Added support for hardware generated mipmaps into Textre2D::copy*() methods. 2004-10-18 18:31:04 +00:00
Robert Osfield
6c7c2e32df From Marco Jez, "makes the LWS loader store LWO object names as node names, for easier recognition and retrieval by scene graph visitors.
With this fix, each PositionAttitudeTransform node that corresponds to an entry in the LWS file carries the name of the loaded object plus the layer number (for example, "objects/myobj.lwo.2")."
2004-10-18 14:51:21 +00:00
Robert Osfield
4c8e48c9e7 From Yuzhong Shen, fix to the image dimensions passed to allocImage in Image::copySubImage 2004-10-18 14:46:57 +00:00
Robert Osfield
6e55d48352 From Sohey Yamamoto, addition of TexEnvFilter support. 2004-10-18 14:42:32 +00:00
Don BURNS
597e2cc0bd Fixed small typo. 2004-10-15 20:13:33 +00:00
Robert Osfield
bb7c423849 Updates to NodeTrackerManipulator.cpp 2004-10-14 20:35:55 +00:00
Robert Osfield
e4f22c72bd Fixed the home position. 2004-10-14 12:10:10 +00:00
Robert Osfield
792a7fe0d5 Improvements to the NodeTrackManipulator and osgsimulation example 2004-10-14 10:38:29 +00:00
Robert Osfield
cecaec4ed8 From Sohey Yamamoto, added support for GL_TEXTURE_FILTER_CONTROL/GL_TEXTURE_LOD_BIAS. 2004-10-13 19:52:39 +00:00
Robert Osfield
9a393bfd5d From David Spilling, with small format and variable rename by Robert Osfield. 2004-10-13 19:10:29 +00:00
Robert Osfield
9d67383621 Added population and access of the ReaderWriter::Options::s/getDatabasePath()
to enable paged database to accessed without setting file paths explictly
2004-10-13 14:13:17 +00:00
Robert Osfield
3f0e4ea99a Small tweaks to the calculateMovement method. 2004-10-13 13:40:05 +00:00
Robert Osfield
23d518be6e Fixed precision of center computation. 2004-10-13 11:56:09 +00:00
Robert Osfield
edb15e17bc Added new getMember() method and TypeMemberPair into StateAttribute and
support for the unsigned int member to be paired with types in osg::StateSet
so that lights, clipplanes and other attributes that have a type group but
then need to differentiate within that group via a member uint.
2004-10-13 11:15:50 +00:00
Robert Osfield
4192ef796b Added CullingSettngs::s/getInheritanceMask() and inheritCullSettings(,) method. 2004-10-12 09:54:03 +00:00
Robert Osfield
840ae915e9 Added a direct call to the osgUtil::Optimizer in GeoSetBuilder.cpp so that
the resultant geomety would be more efficiently packed.
2004-10-12 09:00:51 +00:00
Robert Osfield
d7ab56e31f From Sondra Iverson, with mods by Robert Osfield. Support for copying texenv
from the source StateSet when multi-texturing.
2004-10-12 07:54:45 +00:00
Don BURNS
f883db6315 Added fix for MAC for FileUtils.cpp: stat64 is not present on Mac. 2004-10-09 15:00:34 +00:00
Robert Osfield
de283b315b Changed StaetAttribute::Type so it is an enum list rather than a unsigned int. 2004-10-08 09:18:40 +00:00
Robert Osfield
0fcc08d867 From Sondra Iversion "Loading a single model from an externally
referenced file is a standard option for OpenFlight and is specified by
including the modelname in angle brackets, such as:  filename<modelname>.

The attached code identifies and handles this case."
2004-10-07 10:03:27 +00:00
Robert Osfield
d77e6a0829 Added new clear, removeAttribute, removeMode, removeTextureAttribute and
removeTextureMode method and deprecated the setToInherit equivilants.
2004-10-07 09:40:03 +00:00
Robert Osfield
c27bf441e2 Improved the osg::Geometry::computeCorrectBindingsAndArraySizes() implemention
so that it produce more optimal settings.

Changed flt/GeoSetBuilder so that it doensn't merge geometry, as it was
merging geometry even when inappropriate.
2004-10-06 20:32:09 +00:00
Robert Osfield
a907042618 From Jason Daly, fix to multi-texturing/detail texture handling. 2004-10-06 19:19:22 +00:00
Robert Osfield
2027011beb Added support for http reading into the readObject, readImage and readHeightField methods
complimenting the previously checked in readNode supoort.
2004-10-06 15:15:01 +00:00
Robert Osfield
b4cfc3656d Generalised the .net plugin so it could handle object, image, heightfield and node
file reads.
2004-10-06 14:44:11 +00:00
Robert Osfield
38a0e6bf4e Added support for parsing http:// names and mapping automatically to use
the .net plugin
2004-10-06 13:11:04 +00:00
Robert Osfield
c4e5e0fa30 Added passing on of Options object 2004-10-06 13:10:29 +00:00
Robert Osfield
024044094e Added support for readNode(istream,Options*) into OBJ to allow loading
over the internet
2004-10-06 13:09:35 +00:00
Robert Osfield
7e4d34c57a Added :
osg::PagedLOD::s/getDatabasePath() and support in PagedLOD::traverse().
    osgDB::ReaderWriter::Options::s/getDatabasePath()
    osgDB::Input::s/getOptions()
    setting of osgDB::Input::setOptions() in ReaderWriterOSG.cpp
    src/osgPlugins/ive/DataInputStream::s/getOptions()
    setting of src/osgPlugins/ive/DataInputStream::setOptions() in ReaderWriterIVE.cpp
2004-10-06 09:31:34 +00:00
Robert Osfield
debf8dceef Added s/getCullSettings to OsgCameraGroup 2004-10-05 19:12:46 +00:00
Robert Osfield
3b8abfa875 Added ability to alter the verbosity of the notify messages with the
running of osgTerrain::DataSet via a static s/getNotifyOffset(int) method.
2004-10-05 15:08:54 +00:00
Robert Osfield
68c7a47388 Added support to osgProducer::Viewer for forcing an early exit form applications
and recording an image on exit.
2004-10-05 09:53:36 +00:00
Robert Osfield
b0d8ca535d Changed _stat64 to _stati64 2004-10-05 07:08:02 +00:00
Robert Osfield
3d0fc966a2 Checked in #define mapping of stat64 to _stat64 to fix Windows build 2004-10-03 19:49:27 +00:00
Robert Osfield
60cb89486f Solution of fileExists support for > 2Gb files from Ken Sewell, applied by Robert Osfield. 2004-10-03 08:50:56 +00:00
Robert Osfield
e4167d9baa Added missing _texAttrListMap.clear(); into reset() 2004-10-03 08:36:27 +00:00
Robert Osfield
9af350eb41 From Lewis Harmon, fixes to the Node and NodeCallback constructors. 2004-10-01 22:05:40 +00:00
Robert Osfield
5ecfb11e1b Changed the argument parser to accept strings that start with a - as being
valid strings.
2004-10-01 18:32:42 +00:00
Robert Osfield
884544c52c Added setPlanesFromMatrix method 2004-10-01 15:48:58 +00:00
Robert Osfield
0e119ec26c Added support for write to ostream into .osg plugin 2004-10-01 07:39:15 +00:00
Robert Osfield
935f2a62e5 Experimentation with new timing code. 2004-09-30 19:36:15 +00:00
Robert Osfield
3363d35ee6 Removed debugging messages 2004-09-30 14:54:42 +00:00
Robert Osfield
08d4fdefb0 Fixed newly introduced compressed mipmnap error. 2004-09-30 12:10:45 +00:00
Robert Osfield
d204a087c3 Added proper handling of 3d texture compression 2004-09-30 09:10:29 +00:00
Robert Osfield
a8739f952a Added support for ClipPlane, ClipNode, TexGenNode to .ive 2004-09-29 19:10:00 +00:00
Robert Osfield
eb346bed13 Added Texture3D implementation. 2004-09-29 14:31:06 +00:00
Robert Osfield
e08328a449 Preliminary steps to support for compressed 3D textures. 2004-09-29 10:01:46 +00:00
Robert Osfield
0c24cf48b8 Added a mutex and _numFramesActive count to track multiview usages of
the DatabasePager.
2004-09-28 08:39:46 +00:00
Robert Osfield
7b826228bb From Brad Christiansen, fix expandBy(const BoundingSphere&) method to properly
handle the instance of when the two bounding sphere's have a coincident center.
2004-09-28 07:15:01 +00:00
Robert Osfield
de0e616433 Added new methods into osg::Referenced for controlling the use of thread safe
ref/unref:

        /** Set whether reference counting should be use a mutex to create thread reference counting.*/
        static void setThreadSafeReferenceCounting(bool enableThreadSafeReferenceCounting);

        /** Get whether reference counting is active.*/
        static bool getThreadSafeReferenceCounting();
2004-09-27 14:15:13 +00:00
Robert Osfield
7e5c87de6a Changed the version strings to use OpenSceneGaph rather than "Open Scene Graph" 2004-09-27 12:07:34 +00:00
Robert Osfield
1068667b86 Changed the pruning of database requests so that the frame number need
not be identical to pass, a delta of 1 is now pemssible
2004-09-27 10:42:14 +00:00
Robert Osfield
0e4f7077ab Removed erroneous casts that would have been causing uneccessary copying. 2004-09-26 19:01:27 +00:00
Robert Osfield
37c8b3a6fb From Geoff Michel, typos and spelling fixes. 2004-09-26 18:39:34 +00:00