Robert Osfield
bd37f999c4
From Bob Kuehne, change on __DARWIN_OSX__ define to __APPLE__
2004-03-08 11:02:05 +00:00
Robert Osfield
996d292979
Changes to help differentiate between OSX using Quicktime vs not using
...
quicktime, from Eric Sokolosky and Robert Osfield.
2004-02-03 22:46:10 +00:00
Robert Osfield
675d38d6f3
Increased expiry delay from 1 second to 30 seconds
2004-02-01 17:17:16 +00:00
Robert Osfield
407fbdb353
From Bob Keuhne, warning fixes under OSX
2004-01-30 16:12:53 +00:00
Robert Osfield
b49f70f0ef
Made the thread priority outwith the frame PRIORITY_MIN
2004-01-28 20:17:10 +00:00
Robert Osfield
43df3b90ef
Fixed problems with the DatabasePager free of texture objects and display
...
list before they are finished with.
2004-01-27 14:49:59 +00:00
Robert Osfield
f21a70a4e7
Set the delete of expired subgraphs in the database thread to false, to
...
prevent problems with osgText. Will need to solve the dirtyTextureObject
issue.
2004-01-26 14:51:01 +00:00
Robert Osfield
e17df6a8a5
Added release of file request block in the DatabasePager destructor.
2004-01-24 09:41:29 +00:00
Robert Osfield
84737941e1
Added controls over the datatbase pager threading priority during and outwith the frame.
2004-01-22 10:42:32 +00:00
Robert Osfield
23443aa5db
From Alberto Farre, added osgDB::SharedStateManager. Also a couple of
...
ammendments by Robert Osfield, adding get/setSharedStateManager()
methods into osgDB::Registry, and clean up fixes in SharedStateManager
for the StateSet arrays.
2004-01-10 17:13:20 +00:00
Robert Osfield
2f918d62d7
Added DatabasePager::setUseFrameBlock(bool) method
2004-01-07 12:37:44 +00:00
Robert Osfield
894537a016
Simplified the API for using the DatabasePager, by providing a single
...
DatabasePager::updateSceneGraph(..) method, and added a ref_ptr<> into
osDB::Registry for managing a single DatabasePager in a centralised way.
2004-01-06 21:18:36 +00:00
Robert Osfield
3b82c67c13
Added code to the DatagbasePager::removeExpiredSubgraphs() that update
...
the osgDB::Registry cache.
2004-01-06 14:09:12 +00:00
Robert Osfield
bf9af3f940
Added "&& oitr->second.first->referenceCount()<=1" check to removeExpiredObjectsInCache
...
so that it only expires objects in the cache that have no external reference.
2004-01-02 17:06:18 +00:00
Robert Osfield
0cbe10d399
From Michael Gronager, with updates from Robert Osfield, to add support
...
for Registry::closeAllLibrary and forced Registry destruction via
Registry::instance(true).
2003-12-13 16:36:29 +00:00
Robert Osfield
5011d994e8
Added a special AvailablerReaderWriterIterator class to handle the task
...
of iterating through the list of available reader writer, whilst handling
cases where the list itself changes size during iteration through the list.
Previous size changes during iteration was cause invalid iterators, which
in turn was causing a crash.
2003-12-10 15:24:14 +00:00
Robert Osfield
af482998b9
Improved the management of errors reported from ReaderWriters, and cleaned
...
up the reporting of errors in DynamicLibrary.
2003-12-10 11:40:58 +00:00
Robert Osfield
e6d3af7a46
From Eric Sokolosky, OSX uses DYLD_LIBRARY_PATH for initial library search path
...
instead of LD_LIBRARY_PATH.
2003-12-09 09:25:53 +00:00
Robert Osfield
83bf813e58
Moved the responsibility for finding file to load on to the ReaderWriter plugins,
...
instead of osgDB::Registry where it original lay. This has been done to allow
fileName strings to be encode data rather than just file names, such as one
requires when using PagedLOD along with plugins for doing dynamic tesselation.
2003-12-08 11:24:43 +00:00
Robert Osfield
78a0fd5a16
Added support for case insenstive searches of the filepaths.
2003-11-25 09:04:41 +00:00
Don BURNS
b7eeeea8d1
Fixed loading of dynamic libraries with dlopen if the library is
...
in the current directory
2003-11-06 04:08:53 +00:00
Don BURNS
4e8992d8c1
MIssing check for ptr == NULL at line 227 in Registry.cpp
2003-11-05 04:58:18 +00:00
Don BURNS
d56ef40d7d
Small bug in DynamicLibrary.cpp ptr was not being checked for NULL
2003-11-05 04:56:08 +00:00
Robert Osfield
bc7622149d
Updated to slideshow3D to support animation + pausing of animation.
...
Updated associated osg/osgUtil classes that provide animation pausing.
2003-11-03 23:13:31 +00:00
Robert Osfield
47ec8be272
Commented out verbose debugging messages.
2003-10-29 16:45:17 +00:00
Robert Osfield
f1c4dc3b0d
Updates for osgdem. Including new read/writeHeightField() methods.
2003-10-29 11:11:17 +00:00
Robert Osfield
fa8a06990d
From Trajce Nikolov, support for use of PagedLOD in the txp plugin.
2003-10-19 11:46:34 +00:00
Robert Osfield
2db71d01cc
Michael Gronager's changes for supporting the in memory gz archiving.
2003-10-17 15:26:03 +00:00
Robert Osfield
8f68ca9cf1
Set default values for datatype & pixelformat.
2003-10-17 10:27:18 +00:00
Robert Osfield
ea04f48251
Moved Producer::Block temporarily into osgDB to ensure that osgDB isn't dependent
...
on Producer.
2003-10-12 14:51:54 +00:00
Robert Osfield
42eb39ef37
Improvements to the DatabasePager
2003-10-12 12:13:58 +00:00
Robert Osfield
fad832425f
Improvements to DatabasePager
2003-10-10 19:25:14 +00:00
Robert Osfield
3b65b028b2
Added protection to the DatabasePager::requestNodeFile()'s call to startThread
...
to ensure that only one startThread is every issued.
2003-10-09 09:48:36 +00:00
Robert Osfield
1a6dc82d32
Made the Drawable::*Callback derive from osg::Object so that they can be
...
saved to .osg properly.
Added osg::ClusterCullingCallback to Drawable header/source. Not complete yet,
but will enable drawables to culled is they are facing away from the eye point.
2003-10-08 21:29:45 +00:00
Robert Osfield
83816dac04
Added ImageOptions for use with the GDAL plugin
2003-10-08 14:24:13 +00:00
Robert Osfield
e7c0d70747
Added new GDAL plugin and osgbluemarble example to demonstrate how to create
...
PagedLOD'd databases using GDAL.
2003-10-08 13:09:23 +00:00
Robert Osfield
82143f7553
Added osgDB::Registry::s/getUseObjectCacheHint()
2003-10-02 13:26:01 +00:00
Robert Osfield
facbdcf43b
Added addEntryToObjectCache method to osgDB::Registry
2003-10-01 13:12:25 +00:00
Robert Osfield
e693f148cb
Made osg::Quat support either float or double internal representation, defaulting to double.
...
Generalised the osgDB::Field so that its getFloat() method can be used with either doubles or
floats governed by the type passed in - this helps support either float/double
Quat and Matrix classes seemlessly.
2003-09-29 13:35:02 +00:00
Robert Osfield
c91a2d3d3e
Updated version numbers and ChangeLog for the release.
2003-09-16 21:25:25 +00:00
Robert Osfield
7364e23d12
Commented out various osg::notify() calls that were causing crashes under
...
OSX during initialization.
2003-09-12 13:20:04 +00:00
Robert Osfield
507c9c4cf2
Fixes from Marco.
2003-09-06 11:07:05 +00:00
Robert Osfield
604e478f52
Moved testCancel() to end of loop as per TXP pager code.
2003-09-04 19:45:55 +00:00
Robert Osfield
11d1faeeb1
Added testCancel() to DatabasePager::run() loop.
2003-09-04 19:37:49 +00:00
Robert Osfield
1896b8417e
Converted cout's messages to use notify.
2003-08-31 21:13:50 +00:00
Robert Osfield
0fbccf778c
From Alberto Farre, added support for both / and \ slashes in path utility
...
functions.
2003-08-29 22:05:06 +00:00
Robert Osfield
d559ff91c3
Added getBound() to the database pager so that once a model has been loaded
...
it bounding volume is computed upfront and in the database paging thread.
2003-08-28 21:40:23 +00:00
Robert Osfield
229a0f2920
Added check for :: in wrapper name when writing out to .osg, so that
...
if a namaspace:: exists in the wrapper name then one isn't created for
it by default.
2003-08-25 22:50:01 +00:00
Robert Osfield
ed465a9f53
Added support for loading nodekits/plugins to resolve associates when
...
reading .osg files.
2003-08-25 11:37:22 +00:00
Robert Osfield
e46d1cf941
Moved OpenThreads::Threads::Yield() calls across to new
...
OpenThreads::Threads::YieldCurrentThread() naming.
2003-08-21 09:52:12 +00:00
Robert Osfield
1a68dd80d7
Added explicit calls cancel and wait until thread and no longer running to the
...
DatabasePager and TXP pager.
2003-08-20 12:52:33 +00:00
Robert Osfield
4b7bde1440
Removed the deprecated NodeVisitor::getLocalToWorld/WorldToLocal methods as
...
this are replaced by the osg::computeLocalToWorld/WorldToLocal() functions
found in osg/Transform.
Made the ReleaseTextureAndDisplayListsVisitor a public nested class of
osgDB::DatabasePager to allow it to be used in the TXP plugin, and added
usage of this visitor to the TXP plugin to make sure that textures and
display lists are released during the update thread.
2003-08-14 00:05:34 +00:00
Robert Osfield
5ec1458975
From Romano Magacho, fix for compile problem under IRIX.
2003-08-03 00:24:59 +00:00
Robert Osfield
1049ead980
Fix warnings.
2003-07-24 06:05:54 +00:00
Robert Osfield
a7b7d6cefc
Added support for PagedLOD node into .ive format and added support for
...
Enabled texture object reuse by setting an expiry delay in the TextureObjectManager
of 10 seconds - done for both osgDB::DatabasePager and TXP plugin.
2003-07-23 15:52:05 +00:00
Robert Osfield
cc529aebe0
Bumped up version numbers in preperation for the 0.9.5 release.
2003-07-23 08:54:29 +00:00
Robert Osfield
ee30f2e30c
Added support for osg::State::s/getInitialViewMatrix();
...
Added slideshow3D examples to the runexamples.bat.
Fixed DatabasePager to work with the latest OpenThreads.
2003-07-22 21:03:59 +00:00
Robert Osfield
aa8b552ca6
From Marco, updates to osgDB and .osg plugin to better handle reading of
...
objects of specified types.
2003-07-21 18:36:47 +00:00
Robert Osfield
40e38a1645
Added yield call to database paging main loop.
2003-07-21 15:51:43 +00:00
Robert Osfield
2436d45bfc
Added missing DatabasePager.
2003-07-21 10:39:07 +00:00
Robert Osfield
325dc0f6b7
Moved DatabasePager into from osgProducer into osgDB. This means that osgDB
...
is now dependant on OpenThreads.
2003-07-21 08:19:36 +00:00
Robert Osfield
5b75d7f525
From Michael Gronger, addition of ReaderWriter* Registry::getReaderWriterForExtension(const std::string& ext).
...
Also removed copy constructor and = operator from Ouput as it was produce
spurious warnings under gcc 3.3.
2003-07-10 13:35:19 +00:00
Robert Osfield
c2eabe1d4b
Added osg::PagedLOD and osgProducer::DatabasePager class, and linked up osgProducer::Viewer
...
to manage the pager.
2003-07-08 14:44:00 +00:00
Robert Osfield
4c576770fb
Integrated various fixes from users.
2003-07-05 19:08:30 +00:00
Don BURNS
15f88f35b2
*** empty log message ***
2003-06-24 15:40:09 +00:00
Robert Osfield
4151312dc5
Removed redundent const
2003-05-17 13:15:54 +00:00
Robert Osfield
86254927b9
From Eric Sokolowsky - pnm (ppm, pgm, pbm) plugin
2003-04-30 15:40:57 +00:00
Robert Osfield
c2a9234cc5
Updated the version numbers to 0.9.4
2003-04-11 10:04:53 +00:00
Robert Osfield
d3d32edfcd
Added prefix's to ApplicationUsageProxy's and made them static to help
...
prevent problems under OSX.
2003-04-02 08:22:47 +00:00
Robert Osfield
96b72af169
Implemented a object cache in osgDB::Registry.
2003-03-17 22:53:46 +00:00
Robert Osfield
2ca505b3d8
Ported all glut based demos across to using the new osg::ArgumentParser.
2003-03-14 10:49:06 +00:00
Don BURNS
ec3e1dc611
Fixes for Mac OS X
2003-03-13 06:22:31 +00:00
Don BURNS
fa33244f92
1) Replaced all Makefile* with GNUmakefile*.
...
2) Changed Makedepend system to make individual dependency files, which
should save time rebuilding dependencies by limiting the regeneration
of dependency file for only modified source files.
2003-03-12 10:39:43 +00:00
Robert Osfield
06fb808ad3
Improvements to the Text .osg support.
2003-03-10 16:40:26 +00:00
Robert Osfield
ebbd03c114
Marged new getLibaryMethod added by Daniel.
2003-03-10 11:57:17 +00:00
Robert Osfield
5b7718ea45
Updates to the quicktime plugin from Bob Kuehne.
2003-03-03 11:02:35 +00:00
Robert Osfield
fbe674b321
First cut of new osgText implementation.
2003-03-02 21:05:05 +00:00
Robert Osfield
73f741d16f
Completed first pass at providing commandline option usage via the new
...
osg::ArgumentPareser and osg::ApplicationUsage classes. The osgproducer
demo has been implemented using these new mechansims.
2003-02-18 21:58:40 +00:00
Robert Osfield
c10d5f2d6f
Added new osg::ApplicationUsage and osg::ArgumentParser to help streamline
...
application/example developement.
2003-02-18 16:36:42 +00:00
Robert Osfield
8f1ba9d21b
Removed include/osg/Types header defining osg::ubyte, osg::ushort etc. Changed
...
any reference to these in the distribution across to using unsigned char,
unsigned short etc. This has been done to keep the OSG code more opaque
to what types are.
2003-02-12 19:20:47 +00:00
Robert Osfield
6afedcc6d1
Updated version numbers to 0.9.3
2003-01-22 19:17:39 +00:00
Robert Osfield
48bda9cc79
Added new Copyright/License notice to header and source files.
2003-01-21 16:45:36 +00:00
Robert Osfield
e0074d7c44
Made the osgDB::ParamterOutput class so that it is purely defined in terms
...
of the header, and therefore not requiring to be exported.
Updated the MUSE_READ_ME.txt to include mention of syntax highlighting.
2003-01-15 20:50:12 +00:00
Robert Osfield
ef7d7fce2e
Moved some in inline methods in ParamterOutput into the new ParamterOutput.cpp
...
file to clean up the interface.
2003-01-11 12:50:39 +00:00
Robert Osfield
f36bc69c58
Made the more of the OSG's referenced object desctructors protected to ensure
...
that they arn't created on the stack inappropriately.
Split the implemention of Matrix up so that it is a simple no referenced counted
class and can be safefly created on the stack. To support referenced counting a
seperate subclass now exists, this is RefMatrix which inherits from both Matrix and
Object.
2003-01-10 09:25:42 +00:00
Robert Osfield
ba34880464
Added support for reading and writing Sphere, Box, Cone, Cylinder and Grid shapes.
2003-01-08 14:32:13 +00:00
Robert Osfield
ee3348afc9
Added txp::TerrapageNode to the txp plugin, and implemented the node so that it
...
automatically assign handles the updates of eye points and database merges.
2002-12-17 15:41:05 +00:00
Robert Osfield
00cc3a1833
Converted the instance of osgNew and osgDelete back to new and delete as part
...
of depecating the include/osg/MemoryManager
2002-12-16 13:40:58 +00:00
Robert Osfield
3715320b85
Fixes from Norman Vine for Cygwin support.
2002-12-06 09:19:35 +00:00
Robert Osfield
f42205a3ef
Updates version numbers to 0.9.2
2002-11-08 12:58:34 +00:00
Robert Osfield
dc3aed2332
From Stephan Huber, fix for OSX build.
2002-11-04 15:33:08 +00:00
Robert Osfield
21ee9e4cb7
Added osg::Grid shape class, and added an example of its use into the
...
hang glide demo.
2002-10-31 10:36:11 +00:00
Robert Osfield
32c6a7809a
Updated the handling of string in the .osg reading and writing so that it
...
handles the use of " quotes inside the string.
2002-10-28 12:55:19 +00:00
Don BURNS
2b10b4c3df
Fixed 69 occurance of 'Seperate' misspelling (should be 'Separate')
2002-08-29 03:22:27 +00:00
Robert Osfield
df5c8f789a
Updated the version numbers to reflect the upcomming release 0.9.1.
2002-08-28 18:49:27 +00:00
Robert Osfield
df9a899d9e
Moved the IO support for the osgText and osgParticle libraries into seperate
...
plugin libraries.
2002-08-20 11:27:08 +00:00
Robert Osfield
6a04fc3dee
Integrated Ulrich Hertlien's osg::Sequence node, and osgsequence demo, and
...
support for osg::Sequence in the pfb loader.
2002-08-03 18:11:21 +00:00
Robert Osfield
078cdbed49
Added Ruben Lopez's Inventor/VRML 1.0 loader.
2002-07-26 15:37:23 +00:00
Robert Osfield
80afddc08d
Checked in Tino Schwarze's port to HP-UX.
2002-07-23 10:48:22 +00:00
Robert Osfield
389dd8adbb
Futher changes to remove unitialized variables/reordering of initialization to
...
prevent unitialized warnings.
2002-07-21 01:29:11 +00:00