Commit Graph

176 Commits

Author SHA1 Message Date
Robert Osfield
e1dd759dd8 Changed CameraNode::getDataChangeMutex() to be a pointer rather than a reference to
get around osgIntrospeciton build problem with the OpenThreads::Mutex copy constructor being private.
2005-11-23 16:32:55 +00:00
Robert Osfield
74830f9ce1 Added multi-buffering of the CameraNode::_renderingCache to help cope with multiple graphis context usages. 2005-11-23 13:44:27 +00:00
Robert Osfield
f78a37be9c Simplified the TangentSpaceGenerator so that is automatically converts any models
with indices to one without indices and then runs the tangent space generation code on the result.
2005-11-22 21:14:26 +00:00
Robert Osfield
f77b38ae9c Added DatabasePager::s/getDrawablePolicy() to allow the way that the display list/VBO settings
are applied to loaded databases.
2005-11-22 13:14:00 +00:00
Robert Osfield
d0c9ef1e14 Added the ability for osgParticle::ParticleEffect to switch off the automatic setup.
Normally the automatic setup is useful, but in the case of the .osg support this automatic
update was forcing premature loading of imagery that wasn't necessarily, and can lead to
reports of looking for files that arn't present.
2005-11-18 17:04:55 +00:00
Robert Osfield
b0869a6f60 Added s/getCenter and s/getRotation methods, and updated wrapper. 2005-11-18 15:00:34 +00:00
Robert Osfield
39db6b28b3 Updated wrappers. 2005-11-17 17:45:04 +00:00
Robert Osfield
48b69d5b13 From Toshiyuki Takehei, typo fix of getTrackerMode(). 2005-11-14 11:08:16 +00:00
Robert Osfield
9d8fd69fa9 Change the KeySwitchMatrixManipulator so that it two sets of getMatrixManipulator
methods, two that takes an index,two that takes a key value.  Updated the ViewEventHandler
so the it now uses the getMatrixManipulatorWithIndex() method to avoid previous ambiguity.
2005-11-14 11:00:36 +00:00
Robert Osfield
0ec0327b96 Added scene stats support to osgProducer::ViewerEventHandler. 2005-11-11 17:00:36 +00:00
Robert Osfield
e5685bc1ac Added s/getMaxNumOfTextureUnits control to osgGA::StateSetManipulator, and set the default to 4. 2005-11-11 14:22:57 +00:00
Robert Osfield
86893a507f Updated wrappers 2005-11-10 15:27:49 +00:00
Robert Osfield
afab32079e Fixed typo of CoordinateSystem. 2005-11-10 11:56:18 +00:00
Robert Osfield
e8d6df7583 Addd OsgSceneHandler::s/getCleanUpOnNextFrame() and support for it in the draw() method,
when CleanUpOnNextFrame is enabled the next frame simple deleted OpenGL objects without doing any draw traversal.
2005-11-10 11:39:01 +00:00
Robert Osfield
0db6554d61 Updated wrappers 2005-11-09 20:30:47 +00:00
Robert Osfield
cb19d14d45 Updated wrappers. 2005-11-09 15:14:15 +00:00
Robert Osfield
06ec728b84 Updated wrappers. 2005-11-08 16:02:09 +00:00
Robert Osfield
8922bde081 Updated wrappers 2005-11-08 14:03:00 +00:00
Robert Osfield
4915259878 Improved support for texture subload/render to texture in various Texture classes
and RenderStage.
2005-11-04 12:08:16 +00:00
Robert Osfield
fb2d3ae108 Further work on added IO support from CameraNode. 2005-11-03 15:59:17 +00:00
Robert Osfield
e183c79f08 Updated wrappers 2005-11-03 10:18:19 +00:00
Robert Osfield
511dda8525 Updated wrappers. 2005-11-02 19:35:35 +00:00
Robert Osfield
e47d56ba88 Updated wrappers 2005-11-01 11:00:07 +00:00
Robert Osfield
c4ae277893 Updated wrappers. 2005-10-29 11:29:58 +00:00
Robert Osfield
d1de669f03 Updated wrappers. 2005-10-29 09:52:56 +00:00
Robert Osfield
669bd46d97 Updated wrappers. 2005-10-28 09:20:21 +00:00
Robert Osfield
9c51a3db8d Updated wrappers 2005-10-25 18:34:46 +00:00
Robert Osfield
e14262df85 Updated wrappers. 2005-10-25 14:01:50 +00:00
Robert Osfield
51f74bd37a Updated wrappers. 2005-10-24 13:49:19 +00:00
Robert Osfield
fb524952b6 Renamed osgUtil::RenderGraph to osgUtil::StateGraph 2005-10-13 12:51:00 +00:00
Robert Osfield
5f3ec7dbcb Updated wrappers. 2005-10-13 08:18:12 +00:00
Robert Osfield
e18cb598e6 Updated wrappers. 2005-09-29 13:07:26 +00:00
Robert Osfield
b9a74c87e1 From Jeremy Bell,
"My patch is a slight refactoring of the mac specific code in
Registry.cpp and FileUtils.cpp, specifically around the library and
resource file path initilialization methods. This patch cleans up a
lot of the mac specific code by moving repeated code into separate
local functions in FileUtils.cpp that are only compiled on mac builds.
It also adds one function to the API,
appendPlatformSpecificResourceFilePaths in FileUtils. This function
will mirror the already existing
appendPlatformSpecificLibraryFilePaths except for resource file paths.
Currently this function is empty except when built on the mac, in
which case it will add the application bundle's internal Resources
folder and the bundle's parent folder. Previously this code was
implemented as a separate mac specific #ifdef block in Registry.cpp
around the initDataFilePathList method. However, it now is implemented
in appendPlatformSpecificResourceFilePaths in FileUtils.cpp and the
initDataFilePathList method is now the same on all platforms. This
patch should behave the same as before on non-mac platforms.

This patch already includes the fix that Eric mentioned earlier. This
patch is based off of the 0.99 release code. I have tested this patch
using the following testing scheme:

Make a proper bundled application.
While Run from the Finder:
   Test that it finds plugins in its internal plugins path.
   Test that it finds resources in its internal resources path.
   Test that it finds resources in the bundle's parent directory
   Test that it finds plugins in the user's Application Support Directory
   Test that it finds plugins in the system's Application Support Directory
   Test that it finds plugins in the Network Application Support Directory
   Check the plugin and resource path lists after they have been
initialized to see if they are in the correct order

While Run from the command line (both from it's parent directory and
from inside the /Contents/MacOS directory) and repeat the above tests.
Check that it also finds plugins and resources within the paths
defined by various environment variables.

Now, Make an application that is NOT bundled/command line only
   Test that it does NOT try to look in an internal bundle
plugin/resource directory for plugins or resources.
   Test that it finds plugins/resources in the paths defined by the
environment variables.
"
2005-07-26 21:07:31 +00:00
Robert Osfield
d8a5c2e7ac Updated wrappers. 2005-07-23 19:08:02 +00:00
Robert Osfield
1e9fb4ab03 From Marco Jez (with tweaks by Robert Osfield) : clean up of inheritance from std::vector<> classes 2005-07-20 19:42:59 +00:00
Robert Osfield
b9e651baf1 Added new osg::GraphicsContext base class 2005-07-20 15:55:07 +00:00
Robert Osfield
9120a0ca2c Removed osgIntrospection wrappers 2005-07-20 14:31:54 +00:00
Robert Osfield
6b873f33f5 Updated wrappers 2005-07-20 08:03:37 +00:00
Robert Osfield
6778bc3981 Added wrapper projects and updates of autogenerated wrappers. 2005-07-19 20:40:29 +00:00
Robert Osfield
5c9bd792a3 Updated wrappers 2005-07-15 21:47:11 +00:00
Robert Osfield
38528c4952 Updated wrappers. 2005-06-08 13:20:09 +00:00
Robert Osfield
24849f3c70 Renamed ExplosionDebriEffect to ExplosionDebrisEffect 2005-05-25 16:42:36 +00:00
Robert Osfield
40ef0026df Updated doxgen docs. 2005-05-25 11:45:02 +00:00
Robert Osfield
e229a8cb67 Updates to clean up wrapper generation, and to update wrappers 2005-05-24 15:34:23 +00:00
Robert Osfield
00c3c5dc61 Tweaked wrappers by hand to get them to compile 2005-05-20 22:15:57 +00:00
Robert Osfield
f609185e03 Updated wrappers. 2005-05-20 21:12:57 +00:00
Robert Osfield
9e91e1e01b Updated wrappers. 2005-05-18 21:17:31 +00:00
Robert Osfield
895ed7916c Updated wrappers. 2005-05-17 11:11:58 +00:00
Robert Osfield
af0abf58ef Updated wrappers 2005-05-16 15:50:35 +00:00
Robert Osfield
8a6aaba351 Updated wrappers. 2005-05-16 11:22:25 +00:00
Robert Osfield
74bce0e410 Updated wrappers 2005-05-16 09:41:10 +00:00
Robert Osfield
2f91acdf98 Updated wrappers. 2005-05-13 14:36:42 +00:00
Robert Osfield
ec12a1091b Updated wrappers. 2005-05-12 20:06:39 +00:00
Robert Osfield
8b60ee74d4 Updated wrappers. 2005-05-11 21:36:04 +00:00
Robert Osfield
6abe4c8f8c Updated wrappers 2005-05-11 20:05:51 +00:00
Robert Osfield
538ced579e Removed deprecated API in preparation for 0.9.9 release. 2005-05-09 13:09:07 +00:00
Robert Osfield
5e23536683 Added osgUtil, osgDB, osgFX, osgParticle, osgSim, osgTerrain, osgGA
and osgProducer to osgWrappers directory.

Enabled the build of osgWrappers/osg, osgWrappers/osgPartile and osgWrappers/osgSim,
but not osgUtil, osgDB, osgFX, osgTerrain, osgGA and osgProducer due to compile
errors.  I am assuming that these compilers are fixable so I'm checked all the
source code so that members of the community can help fix them.
2005-05-09 10:17:56 +00:00
Robert Osfield
cf6e081b93 Updated osgWrappers. 2005-05-08 18:37:13 +00:00
Robert Osfield
1571209a82 Updated wrappers 2005-05-03 22:02:37 +00:00
Robert Osfield
003329fd10 Updated wrappers 2005-05-03 10:09:51 +00:00
Robert Osfield
03232ec667 Moved osg::Impostor to osgSim::Impostor, as Impostor isn't a core feature. 2005-05-01 19:48:49 +00:00
Robert Osfield
7d69b5e562 Updated wrappers 2005-04-29 20:57:04 +00:00
Robert Osfield
a47a6a4886 Added $(GL_LIBS) to link line to get things linking ok under OSX. 2005-04-26 18:55:51 +00:00
Robert Osfield
63c81a3539 Updated wrappers. 2005-04-26 14:29:25 +00:00
Robert Osfield
edf142222b Updated wrappers using Marco Jez's genwrapper utility. 2005-04-25 20:46:46 +00:00
Robert Osfield
6017b810eb From Marco Jez, osgWrappers updates to latest changes in core osg. 2005-04-17 11:30:33 +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
a9270a7c89 Build fix 2005-04-11 15:01:57 +00:00
Robert Osfield
fed42a46ed Added #include <osg/io_utils> 2005-04-08 09:59:40 +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
2e67fee738 updates to reflect changes to StateAttribute::Types 2005-03-18 10:27:49 +00:00
Robert Osfield
a2e8bc6267 Added support for set/getUniform and set/getProgram into osg::StateSet. 2005-03-11 20:29:21 +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
d9802310dc From Marco, fixes to osgIntrospection and related libs 2004-12-13 02:39:47 +00:00
Robert Osfield
28d31c96b6 Added Marco Jez's osgIntrospection + osgWrapper libs with osgintrospection
example
2004-12-09 05:28:20 +00:00