Commit Graph

3333 Commits

Author SHA1 Message Date
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
Robert Osfield
be8476592e From Mike Weiblen, partial fix for OpenGL error generation under NVidia drivers. 2004-09-26 10:27:25 +00:00
Robert Osfield
22bb35f4f1 Fixed typo 2004-09-23 20:13:16 +00:00
Robert Osfield
10247ef983 Fixed typo. 2004-09-23 20:07:37 +00:00
Robert Osfield
b9e4235d85 Added releaseAllGLObjects() convinience method. 2004-09-23 20:01:40 +00:00
Robert Osfield
1b31024cd5 Clean up of new DatabasePager code, and change of osgProducer so that
DatabasePager support is now integrated into the OsgSceneHandler.
2004-09-23 18:50:38 +00:00
Don BURNS
fc68ccacb7 Fixed warnings 2004-09-23 16:05:24 +00:00
Robert Osfield
5b0739bcf0 Updates for better DatabasePager peformance w.r.t constant frame rates. 2004-09-23 12:27:56 +00:00
Robert Osfield
1a03a08f4a Added a extra debugging comment 2004-09-22 09:28:40 +00:00
Robert Osfield
54b45ce3bc Updated to DatabasePager support 2004-09-21 21:33:52 +00:00
Robert Osfield
0d884d66eb Various improvements to database paing. 2004-09-21 17:26:08 +00:00
Don BURNS
eea9ddccf5 removed makeDir.h 2004-09-20 17:42:59 +00:00
Don BURNS
95b9ec54e9 Removed temporary makeDir files and call in ReaderWriterNet.cpp 2004-09-20 17:42:40 +00:00
Robert Osfield
0750a19aa6 Added clear(), setDatabasePagerThreadPause() and setAcceptNewDatabaseRequests() methods
and new local implementation of cancel().
2004-09-19 20:09:54 +00:00
Robert Osfield
de7b7c0869 Removed unused variable. 2004-09-19 19:03:38 +00:00
Robert Osfield
ec74beede7 Added reference to GL_LIBS 2004-09-19 18:34:05 +00:00
Robert Osfield
8bce22343b Various improvements to the DatabasePager with the aim to achieve
constant framerates and minimizing memory consumption.
2004-09-18 19:28:45 +00:00
Robert Osfield
9ac9bfa5ae Removed reference to ComputeTransformCallback 2004-09-18 19:27:39 +00:00
Robert Osfield
e68cfd1965 From Sebastien Grignard, add writing out/reading in of drawable components of
a ShapeDrawable.

From Robert, add versioning of the above change to allow old files to still
work.
2004-09-15 19:14:00 +00:00
Robert Osfield
b25c08bca4 More spelling & top fixes. 2004-09-15 19:10:15 +00:00
Robert Osfield
88e2c1b1df From Geoff Michel, typo and spelling fixes 2004-09-15 19:07:56 +00:00
Robert Osfield
6d7a046160 Added usage of std::vector<> and ref_ptr<>'s to avoid memory leaks 2004-09-15 15:09:46 +00:00
Robert Osfield
a2f88b6e08 Commented out osg::noitfy usage under OSX since this was causing a crash on start up 2004-09-14 15:05:16 +00:00
Robert Osfield
7858e89078 Added GDAL check to compile of osgsimulation 2004-09-14 15:03:18 +00:00
Robert Osfield
c204628d1a Fix of tabbing and typo 2004-09-13 17:19:05 +00:00
Robert Osfield
4c4be0a750 From Paul Martz, typo and spelling fixes 2004-09-13 16:10:59 +00:00
Robert Osfield
b272fcf803 Fixed comments 2004-09-13 15:17:43 +00:00
Robert Osfield
ee67127279 From Eric Hammil, typo and spelling fixes 2004-09-13 15:14:11 +00:00
Robert Osfield
63f8935afb From George Papagiannakis, added extra Quat length to catch case
where length is zero.
2004-09-13 14:33:41 +00:00
Robert Osfield
b664c20c74 Improved the handling of building/writing generated databases, and
the fixed transition distances on the lower levels of geocentric databases.
2004-09-13 13:53:45 +00:00
Robert Osfield
8536e5dbdf Added a deleteTextureObject after the creation of the compressed textures 2004-09-11 03:00:11 +00:00
Robert Osfield
99332ef11a Added missing LightModel.h and .cpp from Stansilav. 2004-09-10 17:49:50 +00:00
Robert Osfield
e5ea972cff Added convinience methods. 2004-09-10 13:31:37 +00:00
Robert Osfield
6b2e17fe14 Made update, cull and draw callbacks virtual to allow custom Drawable's
to there own specific extensions for handling callbacks
2004-09-10 08:26:53 +00:00
Robert Osfield
790da0776a Made the computeLocalToWorld etc method to use const NodePath's parameters. 2004-09-09 15:14:33 +00:00
Robert Osfield
6a48a3ffe7 Added osg::RefNodePath class for handling node paths. 2004-09-09 13:18:45 +00:00
Robert Osfield
217fa3ec0e From Stanislav Blinov, addition of LightModel support for .ive format. 2004-09-09 13:07:18 +00:00
Robert Osfield
39a79a9805 Fixed write of normalmap. 2004-09-09 09:03:28 +00:00
Robert Osfield
d36739a8cd Change the warnigns about a fail getLibraryHandle to be INFO rather than
WARN.
2004-09-09 08:54:22 +00:00
Robert Osfield
2c60114a94 From Martin Aumueller, added ref() and unref() to Inventor node handling. 2004-09-09 08:18:43 +00:00
Robert Osfield
568bd8f945 Fixed keyword used for setting the database name. 2004-09-08 18:14:04 +00:00
Robert Osfield
a9c731eff2 Quick fix to crash in TXPNode. 2004-09-08 15:14:18 +00:00
Robert Osfield
daf8887bb0 Changed usage of assert() to throw. 2004-09-07 14:34:04 +00:00
Robert Osfield
94f1f6025c Added a size check on heap_array<T, CmpT>::Adjust(size_t i) to
prevent access errors.
2004-09-07 10:45:22 +00:00
Robert Osfield
bafc126eda From Paul Martz, removed redundent paramaters in clampArray4LEQUAL. 2004-09-07 10:31:30 +00:00
Robert Osfield
e0a3e687ec Changed the wrap mode from CLAMP to CLAMP_TO_EDGE 2004-09-07 10:09:52 +00:00