Robert Osfield
c6f4c26e31
Added extern "C" to fix build issues under OSX
2011-06-17 12:57:31 +00:00
Robert Osfield
9fee243b36
Updated OpenThreads version number for stable release
2011-06-17 11:02:40 +00:00
Robert Osfield
fde8b03b5c
From Jan Peciva, "sending updated version of StencilTwoSided.
...
It supports now even GL_ATI_separate_stencil extension and there are more
OSG_INFOs to see, which API is used."
2011-06-17 09:05:48 +00:00
Robert Osfield
6881983562
Added GLES version checks to prevent build problems under GLES1 and GLES2
2011-06-17 08:47:36 +00:00
Robert Osfield
058123cd50
Refined the version checking
2011-06-17 08:42:54 +00:00
Robert Osfield
4c6cc601c2
Build fix
2011-06-17 08:41:56 +00:00
Robert Osfield
5a7f0b1f7d
From Ulrich Hertlein, "the OS X/Cocoa implementation logs some debug junk on every key stroke. The attached
...
patch removes this."
2011-06-17 08:26:51 +00:00
Robert Osfield
c547172c24
Fixed warning
2011-06-17 06:22:01 +00:00
Robert Osfield
52aeb306d0
Fixed warnings
2011-06-17 06:09:25 +00:00
Robert Osfield
d5fa4dd272
Added disabling of VisualStudio warning C4324 : structure was padded due to __declspec(align())
2011-06-17 05:57:29 +00:00
Robert Osfield
4dd0782549
Fixed warnings.
2011-06-16 18:43:58 +00:00
Robert Osfield
d970b9fa5f
Added support for new InternalTextureFormatModes
2011-06-16 18:25:46 +00:00
Robert Osfield
7821968342
Added wider file extension support to ExternalFileWriter::generateObjectName
2011-06-16 18:12:55 +00:00
Robert Osfield
22dd032faa
From Farshid Lashkari, "Attached is a small patch that adds support for writing BGR images to the DDS plugin."
2011-06-16 16:02:27 +00:00
Robert Osfield
27d4d5e4b9
From John Cummings, "While testing recent OSG developer releases and the subversion trunk, I
...
have noticed that on my 64-bit Linux machines, all of the OSG libraries
get installed into the "lib64" directory as I would expect. However, the
OpenThreads library gets installed into the "lib" directory when
selecting "Build OpenThreads with Qt threading support." That is, with
the BUILD_OPENTHREADS_WITH_QT set to ON.
I am attaching the a fix for this issue in the file:
src/OpenThreads/qt/CMakeLists.txt
It simply adds ${LIB_POSTFIX} to the destination as in done with all
other CMakeLists.txt with libraries in OSG. I have tested it on both
32-bit and 64-bit Linux."
2011-06-16 16:00:33 +00:00
Robert Osfield
38a807ae6e
Windows warning fixes
2011-06-16 15:57:40 +00:00
Robert Osfield
93d1fedd0b
Fixed indentation issues
2011-06-16 13:00:28 +00:00
Robert Osfield
375c1456f6
Improved indentation.
2011-06-16 10:05:49 +00:00
Robert Osfield
d0ccbf8219
Replaced tabs with four spaces
2011-06-16 08:59:48 +00:00
Robert Osfield
17b9cfad02
Improved the handling of compiling vs flushing deleted objects
2011-06-15 18:31:11 +00:00
Robert Osfield
e36f239917
Changed the key handling code to use EventQueue::getTime() rather then the theEvent timestamp.
2011-06-15 17:00:44 +00:00
Robert Osfield
f1c7e81eb3
Fixed blitting of FBO's with multiple render targets.
2011-06-15 09:36:34 +00:00
Robert Osfield
b6a15b2ef8
Added support osg::State::drawQuad(..) for number of vertices in quads to uint range rather than just ushort range.
2011-06-14 15:48:27 +00:00
Robert Osfield
5b3eed5dce
Fixed issue with events having a negative delta of time between them.
2011-06-14 12:44:44 +00:00
Robert Osfield
6a6c5bccda
Added GLBufferObject::computeBufferAlignment(..) method to enable buffer entries to be aligned along specified buffer alignment boundaries, currently defaulting to 4.
2011-06-14 10:15:12 +00:00
Robert Osfield
529ea4c94f
From Stephan Huber, "attached you'll find a fix for the non-working useCursor()-method for
...
Windows. With the old code you can switch off the cursor, but not back on."
2011-06-14 09:16:44 +00:00
Robert Osfield
e1f5597167
Removed executable permission.
2011-06-14 09:11:58 +00:00
Robert Osfield
7f05605c16
Fixed wild card search when wild card filename includes a path.
2011-06-13 15:20:48 +00:00
Robert Osfield
c034333400
From Jeremy Moles, fixed style == operator.
2011-06-13 08:52:11 +00:00
Robert Osfield
0dbb4004d7
From Stephan Huber, build fix for IOS
2011-06-13 08:45:25 +00:00
Robert Osfield
22bc0391c7
Refactored the UserDataContainer so that the osg::UserDataContainer is now a pure virtual base class,
...
with a osg::DefaultUserDataContainer subclassed from this. The user object access methods have now all
been moved from osg::Object into the UserDataContainer class, except for the set/getUserData() methods
that are left in osg::Object for backwards compatibility, and the description list access methods have
been moved back into osg::Node.
main UserObject access methods are now all def
2011-06-09 12:57:14 +00:00
Robert Osfield
1016092720
From Mathias Froehlich, "the attached patch adds an additional null pointer check"
2011-06-09 11:07:27 +00:00
Robert Osfield
2ddd53730e
From Mathias Froehlich, "The attached patch adds the polygon primitive to the TangentSpace computation.
...
As far as I understand, this should just work for the polygon as well as with
the tristrip primitive.
"
2011-06-09 11:05:36 +00:00
Robert Osfield
86439123b4
Added support for creating a 3D Image from an image list.
...
Added support for reading a list of images in the Present3D <volume> tag.
2011-06-08 16:10:46 +00:00
Robert Osfield
973a9dee09
Introduced a less conservative near ratio.
2011-06-08 09:24:50 +00:00
Robert Osfield
9aa7010ded
Added support for reading .osg, .osgb, .osgx, .osgt and .ive models that contain volumes from within the volume tag.
2011-06-07 20:24:49 +00:00
Robert Osfield
537272b98f
Added support for .osgt, .osgb and .osgx plugins to osgvolume example
2011-06-07 16:17:35 +00:00
Robert Osfield
1f33e65c2a
From Sukender, "Lastest change (update to FBX 2012.1) introduced a regression. It didn't take materials' order into consideration. The line
...
lMaterialLayer->GetDirectArray().SetAt(it->second.getIndex(), lMaterial);
has been replaced by
_curFbxNode->AddMaterial(lMaterial);
because KFbxLayerElementMaterial::GetDirectArray() is now private and we can't access to it.
However, pushing back the material at the end of the vector is wrong.
We can use the (now) public attribute KFbxLayerElementMaterial::mDirectArray, as in this submission.
"
2011-06-07 14:28:58 +00:00
Robert Osfield
4f7903f732
From Mathias Froehlich, build fixes for legacy unix systems
2011-06-07 14:26:13 +00:00
Robert Osfield
7f9a6aa49d
Added ability to subclass from osg::Object to provide custom user data functionality. A new UserDataContainer provides the
...
default implementation of the user data functionality.
2011-06-07 13:02:20 +00:00
Robert Osfield
848ec5e770
Added the return of the index position of the added UserObject
2011-06-07 09:28:38 +00:00
Robert Osfield
71a961ccc3
Added support for searching for user objects from a given startPosition in the UserDataContainer object.
2011-06-07 08:53:03 +00:00
Robert Osfield
3a5ef17ca7
From Frida Schlaug, "Imageio for ios had a poorly implemented function for reading from streams (always returning null). In this patch I copied some code from the non-ios imageio file and adjusted it to work on ios. "
2011-06-06 11:48:32 +00:00
Robert Osfield
985fdc8965
Added support for using the sampleDensityWhenMoving tag with all techniques
2011-06-03 13:47:59 +00:00
Robert Osfield
deed0a89fe
Added extra check to make sure that _userDataContainer was available before copying it
2011-06-02 22:49:29 +00:00
Robert Osfield
b5d00a1450
Added support for new osg::Object user objects.
2011-06-02 22:05:10 +00:00
Robert Osfield
c703f39459
Introduced new user object support into osg::Object that allows assignment of a list of user objects to an osg::Object.
...
Refactored original UserData and Descriptions strings to be managed alongside the new user object suppport within
a single osg::Object::UserDataContainer.
2011-06-02 22:04:08 +00:00
Robert Osfield
2e03f53778
Added ref_ptr<> usage to avoid possible memory leak.
2011-06-02 20:38:13 +00:00
Robert Osfield
594b4bf873
From Dimi Christop, build fix for RHEL 4.
2011-05-30 13:02:13 +00:00
Robert Osfield
0201480582
Added closing of the _eventDisplay on failure of initializing the context properly.
2011-05-30 09:26:24 +00:00