097aedf23cFrom David Callu, warning fixes and removal of spaces at end of lines.
Robert Osfield
2013-06-28 12:00:43 +00:00
d82768417dFrom David Callu, "in osgViewer::WoWVxDisplay::WoWVxDisplay(unsigned int type=20, unsigned int screenNum=0) screenNum is unused.
Robert Osfield
2013-06-28 10:59:01 +00:00
db1f2c5eb1From David Callu, added support for glVertexAttribLPointer and glVertexAttribIPointer, utilized via osg::Array::setPreserveDataType(true);
Robert Osfield
2013-06-28 10:51:22 +00:00
4fd6566e00From David Callu, serializer support for new Vec* and Vec*Array classes
Robert Osfield
2013-06-28 08:57:42 +00:00
f2c1a7597c
Robert Osfield
2013-06-28 08:11:46 +00:00
775c1443ebFrom David Callu, "Added Vec3ub, Vec3us, Vec4us, Vec2ub and Vec2us classes"
Robert Osfield
2013-06-27 17:37:03 +00:00
9f13e2fcb9From Lionel Lagarde, "Support for paging and shared PBO"
Robert Osfield
2013-06-27 16:44:32 +00:00
57947ea75cFrom Aurelien Albert, added passing on of the gl array normalize to OpenGL when uses vertex attribute aliasing.
Robert Osfield
2013-06-27 15:18:38 +00:00
90ceb88c12Replaced deprecatated osg::Geometry::get*Binding() calls.
Robert Osfield
2013-06-27 14:46:16 +00:00
dfc1a899dbAdded Geometry::containsDeprecatedData() / fixDeprecatedData()
Robert Osfield
2013-06-27 13:37:26 +00:00
092dd93be8Removed deprecated usage of osg::Geometry::get*Binding()
Robert Osfield
2013-06-27 10:58:26 +00:00
592c580721Replaced deprecated osg::Geometry::set*Binding() usage.
Robert Osfield
2013-06-27 09:59:33 +00:00
87add5f508Replaced deprecated osg::Geometry::set*Binding() usage
Robert Osfield
2013-06-27 09:54:45 +00:00
4b9aa1fd24Replaced deprecated osg::Geometry::set*Binding() usage.
Robert Osfield
2013-06-27 09:54:12 +00:00
c1ebc3ac0cReplaced deprecated osg::Geometry::set*Binding() usage
Robert Osfield
2013-06-27 08:44:15 +00:00
38bb71460aReplaced deprecated Geometry::set*Binding()
Robert Osfield
2013-06-27 08:30:51 +00:00
8e65ab7e45Replaced deprecated Geometry::set*Binding() usage
Robert Osfield
2013-06-26 18:06:09 +00:00
5a25a93bddRemoved deprecated Geometry::set*Binding() usage
Robert Osfield
2013-06-26 17:58:57 +00:00
9f0bbbf831Added osg::getBinding(osg::Array* array) convinience function that returns the Array::getBinding() is the array is not NULL, otherwise returns BIND_OFF.
Robert Osfield
2013-06-26 17:54:35 +00:00
7ee05a345aReplaced deprecated osg::Geometry::set*Binding() usage
Robert Osfield
2013-06-26 17:45:19 +00:00
55416d83b3Replaced deprecated osg::Geometry::set*Binding() calls.
Robert Osfield
2013-06-26 17:44:30 +00:00
a459033effFrom Sebastian Messerschmidt, "I've taken some time and refactored some places where the old set*Binding were used."
Robert Osfield
2013-06-26 16:16:23 +00:00
bead0740f2From Aurelien Albert, "This submission allow the user to specify how to setup VertexAttributeAliasing.
Robert Osfield
2013-06-26 13:00:12 +00:00
831a552dfaRemoved unused methods
Robert Osfield
2013-06-26 12:59:40 +00:00
ea2cbee347Removed spaces from end of line
Robert Osfield
2013-06-26 12:33:40 +00:00
71c1fc87bbFixed bug in TemplateTargetAttributeDispatch that was causing a crash with the osgsimplegl3 example
Robert Osfield
2013-06-26 12:33:14 +00:00
6377e37e88From Pjotr Svetachov and Robert Osfield, "the index mesh and vertex pre-transform optimizers can rearrange or change the size of arrays assigned to a geometry. This leads to crashes or corrupt geometry when using shared arrays.
Robert Osfield
2013-06-26 09:04:20 +00:00
b70dfd40aaRemoved Geometry::fixDeprecatedData() as it won't work on const Geometry
Robert Osfield
2013-06-26 08:53:56 +00:00
36f48f2227From Mathias Froehlich, "The attached file replaces the deprecated geometry use in osgSim. The per primitive use is changed to full per vertex arrays."
Robert Osfield
2013-06-26 07:08:26 +00:00
3de0ec1904Removed #include<osg/Notify> as it's nolonger required in the header
Robert Osfield
2013-06-25 16:19:00 +00:00
1793466442With assistance from Sukender, moved the depreacted osg::Geometry vertex indices and AttributeBinding definitions out into a separated namespace/class so to use deprecated features you should now use deprecated_osg::Geometry in place of osg::Geometry.
Robert Osfield
2013-06-25 16:10:24 +00:00
ceb97fe230From Christian Buchner, "Here is a strongly overhauled version of the original osgoit ("order independent transparency") by Mathias Fröhlich. I called this version myosgoit. It looks very nice, just build and run it!
Robert Osfield
2013-06-25 11:13:50 +00:00
00acf55571From Alberto Luacas, "current Doxygen warns against the use of obsolete fields: DETAILS_AT_TOP, SHOW_DIRECTORIES, HTML_ALIGN_MEMBERS.
Robert Osfield
2013-06-25 09:52:38 +00:00
ba9ccd91a1From Cedric Pinson, "I fixed a little issue with the lightwave scene loader. On the version 5 there are id on the command LoadObjectLayer in the scene file and of this version the current code use this field as a part of the filename, and it fails because the file is not found. I just added a field version_ to read it at the beginning and added extra code to check it and read the extra field if needed and read the good filename"
Robert Osfield
2013-06-24 12:51:02 +00:00
84d7d9a056From Christian Ruzicka, "when MSAA is activated on iOS, the stencil attachment is not added (Stencil buffer is not working at all). Attached are the needed changes to make MSAA + stencil working on iOS.
Robert Osfield
2013-06-24 12:31:48 +00:00
addf8b1d2dUpdatd SO_VERSION to reflect changes in ABI from merging submissions.
Robert Osfield
2013-06-24 12:30:08 +00:00
1e715b6877From Sukender, "I recently pulled from the GIT mirror and found that "OSG_USE_DEPRECATED_GEOMETRY_METHODS=OFF" hides a little mistake: there is a "#include <osg/Notify>" inside the "osg" namespace, in inlude/osg/Geometry. "
Robert Osfield
2013-06-24 12:27:19 +00:00
ba2242decbFrom Mourad Boufarguine, "Attached is a fix for the ply reader to use the output of osgDB::findDataFile.
Robert Osfield
2013-06-24 11:40:16 +00:00
6331a54a68From Luc Frauciel, "You'll find attached a modification of DXWriter to support Material color: If a material is present, the diffuse color is affected to current layer."
Robert Osfield
2013-06-24 11:39:26 +00:00
0896bd17bdFrom Lars Nillson, "The change in this submission is to take care of the setting given by a call to setMaximumNumOfObjectsToCompilePerFrame(…).
Robert Osfield
2013-06-24 11:14:13 +00:00
ca2688b046Convert usage to use const versions of containers
Robert Osfield
2013-06-24 11:03:59 +00:00
864e5cb6f0From Frederic Morin, "Current behaviour uses SDKSettings.plist to determine osx version but this file is only available when XCode is installed.
Robert Osfield
2013-06-24 09:59:22 +00:00
261db64a9eFrom Farshid Lashkari, "I've attached a small patch that extends the Image::readImageFromCurrentTexture method to support more depth texture pixel formats (16, 24, 32, 32F). In order to compile, I moved some depth pixel format definitions from FrameBufferObject to Image. "
Robert Osfield
2013-06-24 09:51:30 +00:00
3c1a89604bFrom Christian Noon, "Got a simple patch for correcting a problem with the USE_COMPRESSOR_WRAPPER() macro in the osgDB::Registry. The problem is that the wrapper declaration doesn't match the one defined in the REGISTER_COMPRESSOR() method in the osgDB::ObjectWrapper method. This patch fixes the wrapper declaration so they both match properly. I ran into this problem using compressed files in an iOS application where all the libraries and plugins need to be built statically."
Robert Osfield
2013-06-24 09:31:34 +00:00
70ae69648dFrom Nick Black, "Hey there! avcodec_open() has been deprecated for some time, and indeed has been removed in the most recent versions of libavcodec/ffmpeg. You're already using avcodec_open2() elsewhere, but one appears to have been missed. The change is trivial:
Robert Osfield
2013-06-24 09:12:58 +00:00
48020eed9eIntroduced typedef's to make the code more readble and maintanable
Robert Osfield
2013-06-24 09:02:32 +00:00
4044fd5a74From Wang Rui, "The file attached includes two new features for the serialization IO functionality. First, custom serializer version control should work now, just by defining a new REGISTER_CUSTOM_OBJECT_WRAPPER macro. For example:
Robert Osfield
2013-06-24 08:48:55 +00:00
b3f0479118From Wang Rui, "Sorry for my very slow response because of some personal issues. I found that new Geometry serializers can't work with old .osgb files. The modified FastPathHint serializer doesn't correctly read from the stream and thus jumbles following inputs. The file attached can be placed in osgWrappers/serializers/osg to fix that problem.
Robert Osfield
2013-06-24 08:22:50 +00:00
340a47dc66From Wang Rui, "The osgdb_ffmpeg plugin may not work with latest ffmpeg windows sdk and will say "The procedure entry point xxx could not be located in xxx.dll" instead. The following link describes the reason (maybe a certain optimization problem of the VS compiler): http://forum.videolan.org/viewtopic.php?f=32&t=98097
Robert Osfield
2013-06-24 08:19:34 +00:00
db4b7584fbFrom Farshid Lashkari, "In many game engines it is common to set the W component of the tangent vector to -1 if the UVs are mirrored and 1 if not. I've updated the osgUtil::TangentSpaceGenerator class to do the same."
Robert Osfield
2013-06-24 08:18:08 +00:00
0a4bf71fbbUpdated version number after dev release
Robert Osfield
2013-06-21 19:35:56 +00:00
b40c3fc0aaRemoved spaces from end of lines
Robert Osfield
2013-06-21 19:35:26 +00:00
df3626be27Fixed author name error introduced by xxdiff
Robert Osfield
2013-06-21 14:37:35 +00:00
d707983905Reapplied AUTHORS changes
Robert Osfield
2013-06-21 14:30:45 +00:00
717c4f785cUpdate ChangeLog and AUTHORS.txt for release
Robert Osfield
2013-06-21 14:29:00 +00:00
59d53b40a1Removed unneccessary handling of BIND_PER_PRIMITIVE on output code
Robert Osfield
2013-06-21 14:17:42 +00:00
9d9543ca0aFrom Pjotr Svetachov, introduced use of osg::observer_ptr<osg::Camera> in place of osg::Camera*
Robert Osfield
2013-06-21 13:59:18 +00:00
da134aa8edFrom Stephan Huber, "attached you'll find the missing readObject-implementations for the imageio-plugin as suggested by Remo Eichenberger."
Robert Osfield
2013-06-21 13:41:03 +00:00
cb09fff797From Laurens Voerman, build fix
Robert Osfield
2013-06-21 12:10:44 +00:00
18d6d298bfBuild fixes for new osg::Geometry
Robert Osfield
2013-06-21 10:59:03 +00:00
deb074120eConverted osg::Geometry::ArrayData usage across to osg::Array.
Robert Osfield
2013-06-21 10:14:18 +00:00
25f0d2ccdeFrom Laurens Voerman, "I just tested openGL quadbuffered stereo with the osgviewer, the mouse works again, so does the keystonecorrection, but the right-eye render to texture camera appears not to clear it's color buffer. I found the problem in src\osgViewer\View.cpp, fix attached."
Robert Osfield
2013-06-21 10:03:49 +00:00
5a93c9100bFrom Mathieu Marache, I needed to modify the FindCOLLADA.cmake to enable its compilation under macosx.
Robert Osfield
2013-06-21 09:53:57 +00:00
6eabca211bConverted ArrayData usage across to set*Array() usage with new binding parameter
Robert Osfield
2013-06-21 09:47:04 +00:00
15fea448d8Added new osg::Array::Binding parameter to osg::Geometry::set*Array(osg::Array* array, osg::Array::Binding binding=osg::Array::BIND_UNDEFINED) methods to make it easier for the user to set the binding without the need to call the deprecated osg::Geometry::set*Binding(osg::Geometry::AttributeBinding)
Robert Osfield
2013-06-21 09:43:15 +00:00
d82c62a03bRemoved spaces at ends of lines
Robert Osfield
2013-06-21 09:40:43 +00:00
d0f4086a57From FrancoisTigeot, "OpenSceneGraph 3.0.1 doesn't build out of the box on DragonFly and needs a few modifications to these files: - applications/present3D/Cluster.cpp - src/osgDB/FileUtils.cpp
Robert Osfield
2013-06-21 09:17:28 +00:00
c3f28a52e4From Matthias Helsing, "Here is the changed source to prefer using _NET_WM_STATE_ABOVE but fall back to XRaiseWindow should the Atoms not be supported. I'm not sure how many might be using the raiseWindow feature but I needed it for a splash on Ubuntu 12.04."
Robert Osfield
2013-06-21 08:56:24 +00:00
4738a2607bFrom Farshid Lashkari, "I've updated the dds, png, and jpeg plugins to support writing images with the GL_DEPTH_COMPONENT pixel format. They will simply treat it the same as the GL_LUMINANCE pixel format."
Robert Osfield
2013-06-21 08:37:47 +00:00
fe461c77fcFrom Jan Ciger, " I have put there in the comment a nicer way of doing version checks, but that needs at least CMake 2.6.2."
Robert Osfield
2013-06-21 08:03:56 +00:00
715dd4e930Fixed the handling the mouse min/max ranges of slave Cameras that have a parent Camera with a viewport.
Robert Osfield
2013-06-20 16:44:14 +00:00
a2b2ba5860Temporarily commented out call to view.assignStereoOrKeystoneToCamera() for implementing stereo as this was causing problem in trackball manipulation
Robert Osfield
2013-06-20 15:48:14 +00:00
603c280b62Added local namespace for util functions, and fixed the return type of checkDeprecatedData()
Robert Osfield
2013-06-20 15:18:51 +00:00
64b0e1afd0From Vladimir Chebaev, "I worked with osg::Particle and see that this class has setter osgParticle::setTextureTileRange and has no getters for startTile and endTile. This can be very uncomfortable. I attached file with two getters."
Robert Osfield
2013-06-20 12:15:57 +00:00
eaa3afcd21Commented out verbose debug messages for shader composition
Robert Osfield
2013-06-20 10:59:00 +00:00
04bd10ab92Updated ChangeLog and AUTHORS file
Robert Osfield
2013-06-20 10:42:24 +00:00
7d2f9f3a0dFrom Juan Manuel Alvarez, "When handling keyboard events on osgQt, if a key is kept pressed, multiple sequences of KEYDOWN -> KEYUP events are fired.
Robert Osfield
2013-06-20 10:05:56 +00:00
bab56f9854From Jan Ciger, compilation fix for Qt 5.0.2
Robert Osfield
2013-06-20 09:30:31 +00:00
9b095b2936From Laurens Voerman, build fix for VS.
Robert Osfield
2013-06-20 09:27:50 +00:00
2ab3a1e316Removed svn:executable property.
Robert Osfield
2013-06-19 17:28:28 +00:00
47c4c7c389Removed svn:executable property
Robert Osfield
2013-06-19 17:26:59 +00:00
083c0f97d2Removed svn:executable property.
Robert Osfield
2013-06-19 17:25:55 +00:00
df075ef9bbCleaned up usage of BIND_PER_PRIMITIVE where possible.
Robert Osfield
2013-06-19 16:24:59 +00:00
9c127c2bcaFrom Magnus Kessler, typo fixes to doxygen docs and comments
Robert Osfield
2013-06-19 12:32:40 +00:00
935b4de15dFrom Magnus Kessler, "gcc-4.8 flagged this:
Robert Osfield
2013-06-19 12:28:06 +00:00
002ea7ebddConverted tabs to four spaces
Robert Osfield
2013-06-19 12:27:28 +00:00
c8fa3244c2From Jan Ciger, "I have found a problem when building OSG with Qt 5 support. Qt has the following in the qopengl.h header:
Robert Osfield
2013-06-19 12:19:28 +00:00
744960bbf2Build fixes for new deprecated osg::Geometry functions
Robert Osfield
2013-06-19 10:56:31 +00:00
297a8a221bAdded #define OSG_USE_DEPRECATED_GEOMETRY_METHODS usage into code to allow code to compile enen when CMake configuration has set the #define to off in include/osg/Config.
Robert Osfield
2013-06-18 19:09:33 +00:00
b2fa36f02bMoved the assignment of the normal binding to after the setNormalArray call
Robert Osfield
2013-06-18 17:49:57 +00:00
de1eb14f8dMoved the Geometry::set*Binding to after the set*Array() to prevent problems when using the deprecated functionality.
Robert Osfield
2013-06-18 17:48:43 +00:00
1d1cfda1d7Removed BIND_PER_PRIMITIVE reference
Robert Osfield
2013-06-18 15:54:38 +00:00
55ae5b1c5fMoved the set binding and normalize for VertexAttrib to after the VertexAttrib array assignment
Robert Osfield
2013-06-18 15:03:26 +00:00
635993038aChanged header guard back to original, and removed deprecated enum
Robert Osfield
2013-06-18 14:52:26 +00:00
f5496ea3c5Fixed order of binding.
Robert Osfield
2013-06-18 14:22:43 +00:00
390316e579Removed experiment GeometryNew as it's no longer required.
Robert Osfield
2013-06-18 11:49:03 +00:00
7d40c7258fClean up up osg::Geometry, removing long deprecated support for array indices and BIND_PER_PRIMITIVE binding that forced OpenGL slow paths. osg::Geometry is now smaller and only supports OpenGL fasts paths. New methods osg::Geometry::containsDeprecatedData() and osg::Geometry::fixDeprecatedData() provide a means for converting geometries that still use the array indices and BIND_PER_PRIMITIVE across to complient versions.
Robert Osfield
2013-06-18 11:18:28 +00:00
05b72e9b4cFixed TextBase::computeBound() so it take into account all corners of the text box thus ensuring proper handling of rotated text
Robert Osfield
2013-06-14 09:43:04 +00:00
b4bfc3a451From Martin Naylor, replace osgDB::fstream with an osgDB::open() call.
Robert Osfield
2013-06-12 12:49:18 +00:00
1a7f2fcb3eIntroduced new osg::PatchParameter StateAttribute class to wrap up glPatchParameter associated state. Note, osg::Program::setParameter(GL_PATCH_VERTICES,num); is nolonger support and should be replaced by using the new PatchParameter class.
Robert Osfield
2013-06-11 10:52:37 +00:00