Robert Osfield
1f01d30f72
Added tests of various FileNameUtils functions, tests invoked by osgunittests filenames
2010-03-10 12:13:31 +00:00
Robert Osfield
f8665ebfdb
Refactored the find_last_of to simplify it.
2010-03-10 12:04:14 +00:00
Robert Osfield
6ae2f4c6c6
From Sukender, "Here is my proposal. I fixed what Paul said, added some doxygen comments, added the function I told about, and removed the two "find('/')"-like calls to use only one."
2010-03-10 11:40:17 +00:00
Robert Osfield
ea5af1d010
From Nico Krulthof and Jori Torres, additions for detecting OSX 10.6 SDK and setting variable defaults accordingly.
2010-03-10 11:09:55 +00:00
Robert Osfield
4c1af137e0
Based on a suggestion from Chuck Seberino, have added a section for testing of 64bit build under OSX and disable the use of quicktime when the build includes 64bit.
2010-03-10 11:01:17 +00:00
Robert Osfield
1d036c0e8c
From Laurens Voerman, "my compiler (VC Express 9) gives some warnings (see below) about not being able to generate an assignment operator. As those assignment operators are not used and problably should never be used, I solved this by creating an private (empty) assingment operator.
...
"
From Robert Osfield, added "return *this;" to Laurens's addition to prevent them generating a warning under gcc...
2010-03-10 10:32:58 +00:00
Robert Osfield
6dc1ec6c4e
From Stephan Huber, "attached you'll find a small bugfix for the 3ds-reader. It allows
...
reading files with relative paths again. (Hard to explain, easy to see
in the diff)"
2010-03-10 10:10:57 +00:00
Robert Osfield
bafe1d0b94
Added automatic updating of the OpenThreads version number from the CMake version numbers
2010-03-10 09:37:04 +00:00
Stephan Maximilian HUBER
d01dadca28
From Stephan Huber: fixed xcode project again
2010-03-09 15:16:58 +00:00
Robert Osfield
4bc287cedb
Added extra ffmpeg version check
2010-03-08 10:20:14 +00:00
Robert Osfield
c765a35650
From Wojcoech Lewandowski, "Attched are aimShadowCastingCamera() call changes, I have described in former post. Basically now MinimalShadowMap overrides first variant and keeps second. So both variants of aimShadowCastingCamera are clearly defined in MinimalShadowMap::ViewData scope. This way compilers have no problem and code looks less obscure. Changes made against the trunk."
2010-03-05 16:17:12 +00:00
Robert Osfield
8743e5d925
From Mathias Froehlich, "Not so long time ago, there was a complaint about the ac3d plugin not honoring
...
absolute filenames for the texture images.
The attached change should fix this by at first looking at the absolute file
name to load a texture and then, if that fails, strip away any paths to try
that again with the bare file name.
The change also fixes a possible exception that could be triggered by an out
of bounds std::string access which is now avoided by using functions from
osgDB/FileUtils.
The change is based on rev 11161."
2010-03-05 16:08:34 +00:00
Robert Osfield
7db099a9d1
Fixed warning
2010-03-05 16:07:12 +00:00
Robert Osfield
84c0ecadd8
Fixed usage of osg::swapBytes to properly pass in pointer to data that needs swapping.
2010-03-05 16:04:30 +00:00
Robert Osfield
10a2f389d7
From Mathias Froehlich, "If you want to have that qfont plugin loader, this is the updated
...
implementation which uses osgQt and includes the changes to make fonts load
without a file on disk."
2010-03-05 15:46:17 +00:00
Robert Osfield
737378c967
Replaced find_first_of with find
2010-03-05 15:36:32 +00:00
Robert Osfield
e401fa7461
Replaced find_first_of with find.
2010-03-05 15:17:26 +00:00
Robert Osfield
e77fafcd98
From Sukender, "Here is a tiny fix for getNameLessExtension(). It does now check for the presence of slashes ('/' and '\') to avoid changing the string when having a dot in a directory.
...
Old behaviour: "abc.d/filename_no_ext" -> "abc"
New behaviour: "abc.d/filename_no_ext" -> "abc.d/filename_no_ext"
Attached file is against rev. 11158."
2010-03-05 15:10:34 +00:00
Robert Osfield
073a60b2a1
Fixes for warning from qt headers
2010-03-05 15:08:03 +00:00
Robert Osfield
3d87d6fcbb
Removed files that are now part of osgQt
2010-03-05 15:07:11 +00:00
Stephan Maximilian HUBER
4b1a1213c2
From Stephan Huber: updated XCode project
2010-03-05 15:05:28 +00:00
Robert Osfield
f497cd3c24
Fixed warnings
2010-03-05 15:04:36 +00:00
Robert Osfield
86f491e649
Replaced use of unsigned int/enum mask combinations with int/enum mask combinations to avoid the need for casting enums to unsigned ints,
...
and to avoid associated warnings.
Update wrappers to reflect these changes.
2010-03-05 12:55:08 +00:00
Robert Osfield
273420bb1c
Updated version and soversion numbers
2010-03-05 12:53:08 +00:00
Robert Osfield
3cd0c50df3
From Mourad Boufarguine, "Some others modified CMake scripts :
...
- OsgMacroUtils.cmake, SETUP_LINK_LIBRARIES macro : allow linking with debug/release external libraries
- osgQt/CMakeLists.txt : fix the linking to Qt librairies + linking to debug Qt librairies if found
- examples/ qt examples : linking to debug Qt librairies if found"
2010-03-05 12:43:03 +00:00
Robert Osfield
5383297cbe
Change Shader::getPCS(..) from protected to public scope to enable isCompiled() method to be accessible in applications.
...
Updated wrappers
2010-03-05 11:30:50 +00:00
Robert Osfield
4b4dd94b5d
Added an "-a" speed averager option and a "-o filename" output option.
2010-03-05 11:21:36 +00:00
Robert Osfield
c40a4ff9cb
Changed Options::setDatabasePath(..) usage to getDatabasePathList().push_front() to paths set by Options to be picked up.
2010-03-05 11:19:34 +00:00
Robert Osfield
e01832763d
Fixed warning
2010-03-05 10:58:47 +00:00
Robert Osfield
d52910ff67
Fixed warning
2010-03-05 10:50:50 +00:00
Robert Osfield
7e56f2d258
Fixed warning
2010-03-05 10:48:34 +00:00
Robert Osfield
8b486054b4
From Mourad Boufarguine, "The attached CMakeLists allows building osgQt in case BUILD_OSG_EXAMPLES is set to off.
...
"
2010-03-04 20:45:30 +00:00
Michael PLATINGS
0f58cc2628
Added BlendFunc for transparent materials
2010-03-04 17:01:33 +00:00
Michael PLATINGS
65489693d9
Fix for some FBX files with multiple meshes bound to a bone.
2010-03-04 16:27:19 +00:00
Robert Osfield
ace8dad2c3
Fixed warnings
2010-03-04 13:03:18 +00:00
Robert Osfield
f1dd820a4e
From Michael Platings, "Here are a couple more fixes on top of what you've already done." (in reply to fixes submission from Roland Smeenk).
2010-03-04 12:59:53 +00:00
Robert Osfield
225d99c5f1
From Roland Smeenk, "I took a quick look at the warnings and they contain nothing serious.
...
Attached you will find updates of the files to hopefully solve the warnings (in VS2005 only one warning occured). In addition I fixed a tiny bug that caused a crash with one of my test files."
2010-03-04 12:57:24 +00:00
Robert Osfield
4282b284e5
From Mathias Froehlich, Integration of osgText::Font with QFont to enable use of Qt fonts and selectors in osgText.
2010-03-04 12:43:09 +00:00
Robert Osfield
33b28a816e
Added Export for new osgQt lib
2010-03-04 12:18:04 +00:00
Robert Osfield
1a1b7bd7a1
Moved QWebViewImage and QGraphicsViewAdapter into new osgQt utility library.
2010-03-04 12:15:35 +00:00
Robert Osfield
44f8848c9f
Removed now redundent call to register PagedLODs
2010-03-04 12:14:39 +00:00
Robert Osfield
5a47744e0d
Removed old net plugin that is nolonger used. This plugin can be found in the deprecated/src/osgPlugins/net respository
2010-03-04 11:45:44 +00:00
Robert Osfield
7e5dd8ce17
Ran dos2unix of files to fix issues with file endings
2010-03-03 17:24:04 +00:00
Robert Osfield
9f8a4be2cd
Refactored DatabasePager so that it nolonger takes ref_ptr<PagedLOD>, but instead uses a custom version of observer_ptr<>.
...
This change should make it possible to delete PagedLOD's independantly from the DatabasePager, and also prevent issues of
consistency of the pager when subgraphs when are cached elsewhere in the application such as in the Registry filecache.
2010-03-03 16:40:19 +00:00
Robert Osfield
d3779f0092
Fixed warning
2010-03-03 16:37:45 +00:00
Michael PLATINGS
fd6f3edf15
2010-03-03 16:14:04 +00:00
Robert Osfield
315e0521c9
From Martin Beckett, "I tested DJ's fix to stop flicker on Windows + Qt viewer on 2.6.7
...
It solves the problem on XP and Win7 on Qt 4.5 and 4.62
It isn't necessary on Linux (ubuntu 8.10/9.04 Qt 4.5/4.6.2) but doesn't cause any harm.
But I have #ifdef'ed it with WIN32. I can't test it on 64bit windows (not sure if x64 defines WIN32?)"
2010-03-03 10:11:54 +00:00
Michael PLATINGS
2609c4aa02
2010-03-02 18:18:06 +00:00
Robert Osfield
1f4060ead6
Updated wrappers
2010-03-01 13:10:58 +00:00
Robert Osfield
ba3971bb45
Added a ShadowTechnique::computeOrthogonalVector(const osg::Vec3& direction) const method for helping compute an appropriate
...
up vector to setViewMatrixAsLookAt(..) codes in osgShadow. This will addresses previous issues that occured when look vectors
co-incided with the hard coded up vectors.
2010-03-01 13:00:04 +00:00