Commit Graph

2901 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
e0a3e687ec Changed the wrap mode from CLAMP to CLAMP_TO_EDGE 2004-09-07 10:09:52 +00:00
Robert Osfield
46c830cc12 Added missing setTrackerMode(TrackerMode) 2004-09-07 06:59:19 +00:00
Robert Osfield
9dc35ce47a Added mutex to access to the Registry::_objectCache. 2004-09-06 18:20:38 +00:00
Robert Osfield
4571238459 From Joakim Simonsson, add s/getHPROrder method 2004-09-06 14:59:11 +00:00
Robert Osfield
a36b10ac24 From Marco Jez, added missing TexGenNode constructor. 2004-09-06 14:30:25 +00:00
Don BURNS
83b94144b4 Fixed .net plugin errors on Mac 2004-09-02 20:42:28 +00:00
Robert Osfield
506c5a6743 Added usage of carbon pathway in appendPlatformSpecificLibraryFilePaths. 2004-09-02 10:01:24 +00:00
Robert Osfield
452cfa7744 Added comments from Eric 2004-09-02 07:44:33 +00:00
Robert Osfield
1f53745511 From Uwe Woessner 2004-09-01 15:14:55 +00:00
Robert Osfield
ac6d25a840 Added Don's new osgDB::makeDirectory() code FileUtils. 2004-09-01 14:49:18 +00:00
Robert Osfield
d9af748b78 From Tom Jolly, add detection for whether multi-texturing is supported before
checking for number of texture units supported, using 1 as a fallback value
2004-09-01 10:41:50 +00:00
Robert Osfield
da5fa4cbcd Added bool paramter to MatrixManipulator::setHomePosition(,,,bool) to allow
the autocomputehomeposition to be controlled.
2004-09-01 10:18:46 +00:00
Robert Osfield
19bf7bb1ce From Eric Sokolsky, add support for recording default values for env vars 2004-09-01 09:48:17 +00:00
Robert Osfield
cc4a22a117 Added crude #ifdef COIN_BASIC_H around ::REPLACE usage as this is only
available under Coing
2004-09-01 09:10:15 +00:00
Robert Osfield
da6993fc77 Added support for CONSTANT_COLOR and ONE_MINUS_CONSTANT_COLOR into .osg 2004-09-01 09:00:20 +00:00
Robert Osfield
e5cfe0a27a From Marco Jez, addition of new interal texture formats to osg/Texture and Image.cpp 2004-09-01 08:49:48 +00:00
Don BURNS
573079fbae Added Visual Studio files for osgPlugin net 2004-08-31 21:06:01 +00:00
Don BURNS
3c0ea75e28 added makeDir - temporary UNIX only 2004-08-31 20:49:23 +00:00
Don BURNS
b7b3c7cd10 Fixes (hopefully) for windows and other platforms... 2004-08-31 20:26:54 +00:00
Robert Osfield
de686f409b Added support for spherical texture mapping and better file search support
for meterial files.
2004-08-31 14:48:05 +00:00
Robert Osfield
1da72da167 Simplified the TrackMode options 2004-08-31 14:21:46 +00:00
Robert Osfield
08017daf37 Added rescale of quaternion in Matrix::set(Quat), a copy operation in osg::Quat and
extra tracking options in NodeTrackerManipulator.
2004-08-31 09:20:31 +00:00
Don BURNS
15def16d43 Added cache_mode option to Net plugin 2004-08-31 01:12:56 +00:00
Robert Osfield
6578655ff3 Added trackmode support for handling rotation of tracked node 2004-08-30 18:53:44 +00:00
Robert Osfield
2733324701 Fixed the Matrix::get(Quat&) method 2004-08-30 18:51:42 +00:00
Robert Osfield
146f4cd573 Remamed TrackerManipulator to NodeTrackerManipulator 2004-08-30 10:03:18 +00:00
Don BURNS
0724243959 Added the local_cache_dir option to the net plug-in allowing for the
keeping and populating of a local cache.  With this option, the cache
is checked first before fetching from the network.
2004-08-30 01:15:49 +00:00
Robert Osfield
6a82bb28fc Added handling of $ comment line, and 'g' empty group name 2004-08-29 15:09:26 +00:00
Don BURNS
2f4a384fa9 Added two options to the .net loader:
hostname=<hostname>  - Specify the host to connect to to retreive files
  server_prefix=<directory> - Specify a prefix to each file indicating
                              a directory for the server to look into
Also, the .net server now does not require a file to have the .net
suffix.  ALl this together now means that you can do this:

    osgviewer -e net -O "hostname=openscenegraph.org server_prefix=BlueMarble" earth.ive

And view the whole earth streamed from a server.
2004-08-29 00:57:02 +00:00
Don BURNS
3e74db50e5 Changes for IRIX build and fix to build system 2004-08-28 23:04:47 +00:00
Don BURNS
2a3f7b2799 Added the .net plug-in. This allows the reading of files by
specifying <host>:file.<ext>.net for example:

    osgviewer osgcvs.no-ip.com:OSGModels/cow.osg.net
2004-08-28 07:25:21 +00:00
Robert Osfield
f2f1543a88 Fix of OSX build 2004-08-27 16:52:23 +00:00
Robert Osfield
617f6d4585 Fix for OSX build. 2004-08-27 16:19:05 +00:00
Robert Osfield
255c27d552 Added a new osgDB::appendPlatformSpecificLibraryFilePaths() method to FileUtils.cpp
Includes a new OSX code from Eric Wing
2004-08-27 16:14:21 +00:00
Robert Osfield
79bcd892bd Added .tif extension to handled extension list 2004-08-27 14:56:08 +00:00
Robert Osfield
2bfc9c855c Removed eroneous cancel() and join() from the DatabasePager::run() method. 2004-08-27 12:04:29 +00:00
Robert Osfield
5d8d05970e Added handling of short (<=4 points) polygons as tri fans and the rest
as polygons which are tesselated, to improve load and build time, yet
still resselating the large polygons that need it.
2004-08-27 08:03:26 +00:00
Robert Osfield
b50f0db0a9 Added handling of DrawArrayLengths PrimitiveSet. 2004-08-27 08:01:17 +00:00
Robert Osfield
b5c2d85962 Improvements to handling of winding of polygons. 2004-08-26 16:20:26 +00:00
Robert Osfield
71149635fc Removed debugging output. 2004-08-26 14:52:14 +00:00
Robert Osfield
889704964b Rewrite of OBJ parser + converter to OSG 2004-08-26 14:33:38 +00:00
Robert Osfield
8c92d043ad Removed "interlace" debugging message 2004-08-24 18:27:47 +00:00
Robert Osfield
f15877f89b Changed the AnimationPathCallback::reset() to reset the _firstTime to DBL_MAX
so that it resets on the next update traversal.
2004-08-24 18:23:53 +00:00
Robert Osfield
91dfbf1f06 Added support for looping mode 2004-08-24 13:25:45 +00:00
Robert Osfield
b2d39d7f5b Added s/getLoopingMode() to ImageStream and MPEG plugin 2004-08-24 12:55:15 +00:00
Robert Osfield
314874cf81 Made the command buffer have 20 elements in it to protect against wrapping
around.
2004-08-24 08:43:53 +00:00
Don BURNS
3326454650 Fixed error for when screen width * 0.75 is greater than screen height
for compute of window size when coming from fullscreen when 'f' key is pushed.
2004-08-23 20:29:42 +00:00
Don BURNS
360de7f15b Fixed assumption that the users's screen is 1280x1024 when toggling
full screen with the 'f' key.
2004-08-23 17:17:46 +00:00
Robert Osfield
4dd1c6688a Added protection to prevent crashes on calls when no data is set up 2004-08-23 08:44:47 +00:00
Robert Osfield
1a455e1aad Rejigged the __int* definitions to try and get round Mingw compile errors 2004-08-18 06:06:02 +00:00
Robert Osfield
5460013a92 From Bruce Clay, fixes for VS6.0 build. 2004-08-17 19:42:45 +00:00
Robert Osfield
a1fc4b986c Changed sizeof(..) references to 1,2,4 respectively. 2004-08-17 18:56:24 +00:00
Robert Osfield
ca61c11134 From David Fries, "I added code to also check the local up vector, but
only if one of the rotation modes is selected, because autoscale isn't
affected by the camera rotations. "
2004-08-17 07:58:32 +00:00
Robert Osfield
ffc5dfb83b Changed the "flip" keyword to "dds_flip" 2004-08-17 07:44:31 +00:00
Robert Osfield
d565d92cc8 Removed computeMipMaps call 2004-08-17 06:15:54 +00:00
Robert Osfield
4f376529b7 Added support for "flip" option string, which if present flips incoming
images about the vertical axis.  Accessed via -O flip on the commandline.
2004-08-16 21:14:19 +00:00
Robert Osfield
a9cb803404 Added a handling of different hex long long handling for VS and non
VS.
2004-08-16 21:03:41 +00:00
Robert Osfield
cf99c3c9bd Added support in Image::flipVertical for flipping mipmapped imagery
and for flipping compressed imagery.
2004-08-16 20:57:24 +00:00
Robert Osfield
bb6fe74738 Fixed _MSC_VAR reference 2004-08-16 16:43:17 +00:00
Robert Osfield
8c1f1e05c8 Added fxtctool in prep for adding compressed imagery swap 2004-08-16 15:43:12 +00:00
Robert Osfield
7d41c7f4c3 Cleaned up output level of debugging messages 2004-08-16 14:21:31 +00:00
Robert Osfield
dc0bc861b2 Fix to order of materials 2004-08-16 14:03:17 +00:00
Robert Osfield
87a2a282be From Michael Gronager, addition of NodeCallback support in .osg format. 2004-08-16 13:54:40 +00:00
Robert Osfield
a8c05e9342 Improvements to the handling of OBJ files 2004-08-16 13:17:29 +00:00
Robert Osfield
6c3eb95f7b Disabled the culling for clear node. 2004-08-16 08:55:48 +00:00
Robert Osfield
d64aa24449 Changed the length multiple to be 2x the bounding sphere radius 2004-08-16 08:32:16 +00:00
Robert Osfield
f62d0e4dd2 From Michael Gronager, fix to an orientation bug. 2004-08-16 07:29:07 +00:00
Robert Osfield
907f6361ca From Corbin Holtz, addition of support for reading imagery with color tables,
including code from Frank Warmerdam on the GDAL side, and integration/reworking
work form Robert Osfield.
2004-08-13 14:42:26 +00:00
Robert Osfield
14d9013699 Removed redundent include/ReadFile call 2004-08-13 13:27:29 +00:00
Robert Osfield
3568e60718 Changed the "Reading a byte swapped file" message to info level. 2004-08-13 12:38:12 +00:00
Robert Osfield
195a1be76e Fix for VS6.0 build 2004-08-13 12:05:08 +00:00
Robert Osfield
61033103bc Removed inappropriate #ifdefs 2004-08-13 10:49:45 +00:00
Robert Osfield
6227aa6251 Fixes for OSX. 2004-08-13 10:46:04 +00:00
Robert Osfield
821b0991d9 From Ben Discoe, build fix for float version of Matrix. 2004-08-11 08:25:14 +00:00
Robert Osfield
e871adae1a Changed the database pager run message to only output at an info level 2004-08-10 18:31:43 +00:00
Robert Osfield
bd68cf9f50 Changed binding warnings to be reported as info rather than as warnings. 2004-08-07 19:08:12 +00:00
Robert Osfield
857d8e2435 Added the ability to set the global stateset, as use this RenderStageLighting 2004-08-07 09:42:19 +00:00
Robert Osfield
740524bb56 Added support for the "precision <value>" options string 2004-08-06 08:56:18 +00:00
Robert Osfield
3579506fa8 Added support for osg::AutoTransform::setAutoRotateMode(AutoRotateMode) deprecating
the previous setAutoRotateToScreen().  Added support for ROTATE_TO_CAMERA mode.

Cleaned up the autotransform demo to use a sensible number of labels
2004-08-06 08:22:58 +00:00
Robert Osfield
e9f4ed87bc From Jay Zuckerman, fixes to AutoTransform so that it includes checking of
previous position value.
2004-08-05 15:15:51 +00:00
Robert Osfield
009cda4134 From Marco Jez, updates to work with latest StateAttrbiute::compileGLObjects method 2004-08-05 15:14:50 +00:00
Robert Osfield
4d2c08b39a From Marco Jez, commented out info debugging messages 2004-08-05 15:02:51 +00:00
Robert Osfield
b57a4ec323 From Marco Jez, VS.NET warning fixes. 2004-08-05 13:41:52 +00:00
Robert Osfield
66397b3962 Changed the popProjectionMatrix so that it didn't allow modification on the near
and far values when clamping the projection matrix.
2004-08-05 12:47:55 +00:00
Robert Osfield
53dc96bb50 Added s/getClearColor and deprecated s/getBackgroundColor(). Re-implemented
setClearColor so that it passes on its value to Camera::setClearColor(), and
changed OsgSceneHandler to use the Camera::getClearColor() on each new frame
to ensure that it reflects the settings of the camera correctly.
2004-08-05 10:01:32 +00:00
Robert Osfield
ddb7423e46 Set version numbers for 0.9.7 release 2004-08-05 08:02:48 +00:00
Robert Osfield
e59fcfe6ce Cleaned up the gdal-config usage to work with gdal-1.1.9 2004-08-04 10:03:57 +00:00
Robert Osfield
7eb3f2646e From Norman Vine (with small tweaks by Robert Osfield), build fixes for Cygwin 2004-08-04 08:27:43 +00:00
Robert Osfield
5cfe2e2d91 From Don Tidrow, build fix for Peformer 2004-08-04 06:57:03 +00:00
Robert Osfield
98d30a8ce0 From Pavel Moloshtan, fix to Image copy constructor so that it used the
correct size of image including mipmaps.
2004-08-03 18:06:36 +00:00
Robert Osfield
7da65a859e Added include of scoped lock 2004-08-03 12:38:11 +00:00
Robert Osfield
7126ca44e9 Better macro support for switching on/off use of mutex 2004-08-03 11:01:39 +00:00
Robert Osfield
67df9af7d1 Fixed warnings 2004-08-02 15:56:18 +00:00
Robert Osfield
7a7358553f Fixed warning 2004-08-02 15:52:50 +00:00
Robert Osfield
2d901bf7ee Fixed warnings 2004-08-02 14:52:24 +00:00
Robert Osfield
79bc32ad7c Removed warings 2004-08-02 14:42:20 +00:00
Robert Osfield
ebad31c3dd Fixed warnings 2004-08-02 13:57:47 +00:00
Robert Osfield
9b33dee6ac Made the member variables in RenderStage and RenderBin protected 2004-08-02 12:19:50 +00:00
Robert Osfield
364d40061d Added glReadBuffer after each instance of glDrawBuffer to ensure that
the any reads are done to the appropriate buffer.
2004-08-02 09:30:13 +00:00
Robert Osfield
6524fe1293 From Norman Vine, fixes for Mingw 2004-08-02 09:11:31 +00:00
Robert Osfield
e122b34858 From Tom Jolly. a couple of small changes to osgParticle.
"The first is with
Particle.cpp.  I made a change so that when the lifetime is 0 (lasts
forever) the sizeRange, colorRange, and alphaRange are used to create
a random size, color, and alpha."

"The second change is with range and SectorPlacer.  The distribution of
particles across the sector was not uniform.  I added get_random_sqrtf()
function where it is used in SectorPlacer::Place().  This seems to make
the distribution uniform (at least when minimum radius is 0)."
2004-08-02 07:25:28 +00:00
Robert Osfield
f206abcd43 From Geoff Michel, new osgtesselate example, and new features in osgUtil::Tesselator. 2004-08-01 10:36:02 +00:00
Robert Osfield
4d9bd4d825 Build fixes for gcc 3.4.1 support 2004-08-01 08:26:44 +00:00
Robert Osfield
8d1b390c7e Removed old iv plugin 2004-08-01 04:10:54 +00:00
Robert Osfield
b790fa59a8 Added beginnings of new TrackballManipulator 2004-07-30 15:44:59 +00:00
Robert Osfield
9b9cb9cdb0 Added detection and disabling of flattening of static transforms which a
LightPointNode exists in the scene graph.
2004-07-29 10:13:02 +00:00
Robert Osfield
3d61e25cce Fixed compare(ProgramObject) and added UniformeValue::compare and ShaderObject::compare
to support proper sorting of shaders.
2004-07-28 19:56:22 +00:00
Robert Osfield
40a1a39bff Replaced GL_PACK_ROW_LENGTH by GL_UNPACK_ROW_LENGTH 2004-07-28 12:38:54 +00:00
Robert Osfield
cb31021ab0 From Corbin Holtz, addition of GDAL_INCLUDE and GDAL_LIB env vars for setting
a non standard location of GDAL
2004-07-28 12:29:15 +00:00
Robert Osfield
aa619be4c1 Added initializer for _videoWriteData and _rows pointers 2004-07-28 12:27:25 +00:00
Robert Osfield
90ee9fa7cd Commented out debugging messages 2004-07-28 10:26:44 +00:00
Robert Osfield
1ec5b48148 Fixed the flatten static transform visitor so that it checks to see
if a drawable can be flattened or not.
2004-07-28 10:26:14 +00:00
Robert Osfield
0073978894 Added double buffer of video imagery so that the OpenGL never reads as Mpeg writes 2004-07-28 08:28:31 +00:00
Robert Osfield
1ae521981e From David Fries, divide by zero fix on text with a pixel size of 0.0 2004-07-28 07:24:13 +00:00
Robert Osfield
29d21dabec Made the static mutex a pointer to a static mutex to get round a exit
problem on deletion of the plugin.
2004-07-27 15:14:52 +00:00
Robert Osfield
7deea8531e Clean up of debugging messages 2004-07-27 13:32:15 +00:00
Robert Osfield
654764a0e9 Fixed unref image so it only unref's when images are STATIC 2004-07-27 13:24:35 +00:00
Robert Osfield
2e524ed9d7 Changes to fix multiple thread start. 2004-07-27 10:23:11 +00:00
Robert Osfield
bb5576bef8 Added support s/getImage(uint i) and getNumImages(). 2004-07-27 10:11:45 +00:00
Robert Osfield
a4f93740d1 Fixed double thread start problem. 2004-07-27 09:04:56 +00:00
Robert Osfield
8837d667f0 Made the handling of types more consistent 2004-07-26 19:40:02 +00:00
Robert Osfield
f6274d0f20 Added setting of block_on_vsync of both CameraGroup and all the Camera's that it contains. 2004-07-26 14:25:41 +00:00
Robert Osfield
7c05fe8906 Fixed iddle update. 2004-07-23 09:49:04 +00:00
Robert Osfield
cf62f7097d Added ImageStream::quit(bool) for exiting from video threads, and added
clean up to OsgCameGroup to quit movie threads automatically.
2004-07-23 09:15:22 +00:00
Robert Osfield
6f605d031f Added support for OSG_OPTIMIZER="OFF" 2004-07-22 18:34:38 +00:00
Robert Osfield
1fa4bd8ab4 Fixed build 2004-07-22 15:41:13 +00:00
Robert Osfield
f75d109e12 Added more usage mutex to serialize access to Quicktime. 2004-07-22 15:11:14 +00:00
Robert Osfield
c9f5749c12 Added preliminary support for thread safety in various delete GLobjects code 2004-07-21 19:16:49 +00:00
Robert Osfield
b0a371ddb0 Added missing tex env mode 2004-07-21 19:15:34 +00:00
Robert Osfield
1963fac426 Replaced STOPPED by PAUSED. 2004-07-21 19:14:15 +00:00
Robert Osfield
9232aac60d Removed the stop method, replacing it by pause 2004-07-21 19:01:40 +00:00
Robert Osfield
d1981df21f Removed the stop method 2004-07-21 19:01:16 +00:00
Robert Osfield
24df4b93d6 Clean up of thread handling. 2004-07-21 10:01:56 +00:00
Robert Osfield
70ea29f1cb Double intersections distance for intersects. 2004-07-21 08:55:17 +00:00
Robert Osfield
dfaed29d6b From Geoff Michel, fixes. 2004-07-20 18:50:30 +00:00
Robert Osfield
3bca9ec9cf Added SceneView::Options for SceneView::setDefaults(options) and
OsgCameraGroup::setRealizeSceneViewOptions(options) to allow better control
of what functionality is compiled in by default.
2004-07-20 10:17:22 +00:00
Robert Osfield
aed65903db From Bob Kuehne, add usage of version number to differentiate between
rev's of the LOD.
2004-07-20 07:46:05 +00:00
Robert Osfield
aa833acfd3 Added support for releasing GLObjects, and renamed DisplayListVisitor the
GLObjectVisitor to better fit its function, and added support for releasing
objects as well as compiling them.
2004-07-20 05:37:59 +00:00
Robert Osfield
12a315ec1d From Eric Sokolosky, added INVENTOR_INCLUDE and INVENTOR_LIB vars. 2004-07-20 05:36:44 +00:00
Robert Osfield
d5aea35895 From Geoff Michel, fix for handling of texture filenames enclosed in quotes. 2004-07-19 18:35:01 +00:00
Robert Osfield
422aab8e3f Added handling of the case when texture objects are released from underneath
the osgText::Font::GlyphTexture - something which requires a full rebuild
of the texture object.
2004-07-19 14:34:12 +00:00
Robert Osfield
4a8c090bf8 Lowered level of debugging message 2004-07-19 09:39:58 +00:00
Robert Osfield
0fb5733f13 Added support for --tile-image-size <size>, --tile-terrain-size <size> and --comment <string>
command line options into osgTerrain::DataSet + osgdem.
2004-07-19 09:03:50 +00:00
Robert Osfield
9885d15ff6 From Mike Weiblen, switched of alpha test on anisotropic effect, due to missing
write of colour.
2004-07-17 10:38:09 +00:00
Robert Osfield
f9ea73fbe2 From Mike Weiblen, updates to the psuedo loaders to add documentation. 2004-07-17 10:33:26 +00:00
Robert Osfield
d57697fefa Fixed the computePosition so it find intersections more easily. 2004-07-12 21:32:33 +00:00
Robert Osfield
0acbe077fa Added support for matix manipulator setHomePosition(,,) 2004-07-12 19:54:54 +00:00
Robert Osfield
47910f2c2e Removed enabling of use client stage storage hint. 2004-07-12 17:30:36 +00:00
Robert Osfield
6fd4677868 Added OPTIMIZER_TEXTURE_SETTINGS pass to Optimizer, which enables
unref image data after apply, client storage hint.
2004-07-12 13:20:18 +00:00
Robert Osfield
3e5c491f54 Added debugging message, currently commented out. 2004-07-12 13:13:58 +00:00
Robert Osfield
ed08f7a5a9 Added unref image data on apply automatically to all textures being loaded. 2004-07-12 10:23:15 +00:00
Robert Osfield
69caf104d8 Reduced the pan sensitive on the trackball 2004-07-12 09:43:45 +00:00
Robert Osfield
7fdf18a768 Reduced the sensitivity of the pan. 2004-07-12 09:17:21 +00:00
Robert Osfield
ba295ccab7 Added a more flexible variable on the textured quad generation function 2004-07-12 01:01:00 +00:00
Robert Osfield
788a19d3b5 Made debugging message write to osg::INFO instead of osg::NOTICE 2004-07-11 23:07:47 +00:00
Robert Osfield
363d13d7ce Added CLUSTER_CULLING mask to CullSettings, and modified the ClusterCullingCallback
to use the mask to see if cluster culling is enabled or disabled.
2004-07-11 21:46:23 +00:00
Robert Osfield
3f4b8e9034 Fixed cluster culling. 2004-07-09 20:58:43 +00:00
Robert Osfield
504dd515d3 Improvements to the handling of coordinate system nodes 2004-07-09 15:21:33 +00:00
Robert Osfield
9cb7bb0f4a Clean up of debugging information. 2004-07-09 12:14:25 +00:00
Robert Osfield
0869da6e67 From Mike Weiblen, "mods based on those Bob Kuehne posted.
- updated to the latest ARB-approved GLSL version query mechanism.
- updated enums to the latest official glext.h
- fixed some TODOs"
2004-07-09 08:22:24 +00:00
Robert Osfield
8d325c24ff Added new coputeActiveCooridnateSystemNodePath method 2004-07-08 22:28:15 +00:00
Robert Osfield
8a44435e4d Made the local storage of a StateAttribute* be a ref_ptr<> 2004-07-08 22:11:42 +00:00
Robert Osfield
e81d3ea000 Made the constructor's default value for _lightingMode be NO_SCENEVIEW_LIGHT 2004-07-08 22:10:44 +00:00
Robert Osfield
787792077c From Vasily Radostev, fixed Billboard compute near/far bug due to typo of bbCornerFar. 2004-07-07 13:19:07 +00:00
Robert Osfield
c6ca80f2c5 Added automatic scaling of the minimum distance to cope with models of
small dimensions.
2004-07-07 11:29:58 +00:00
Robert Osfield
1634cc47c6 Added automatic setting of the verical scale when the destination coordinate
system is geographic (i.e. lats and longs.).
2004-07-07 11:28:21 +00:00