Commit Graph

  • 097aedf23c From David Callu, warning fixes and removal of spaces at end of lines. Robert Osfield 2013-06-28 12:00:43 +00:00
  • d82768417d From 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
  • db1f2c5eb1 From David Callu, added support for glVertexAttribLPointer and glVertexAttribIPointer, utilized via osg::Array::setPreserveDataType(true); Robert Osfield 2013-06-28 10:51:22 +00:00
  • 4fd6566e00 From 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
  • 775c1443eb From David Callu, "Added Vec3ub, Vec3us, Vec4us, Vec2ub and Vec2us classes" Robert Osfield 2013-06-27 17:37:03 +00:00
  • 9f13e2fcb9 From Lionel Lagarde, "Support for paging and shared PBO" Robert Osfield 2013-06-27 16:44:32 +00:00
  • 57947ea75c From 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
  • 90ceb88c12 Replaced deprecatated osg::Geometry::get*Binding() calls. Robert Osfield 2013-06-27 14:46:16 +00:00
  • dfc1a899db Added Geometry::containsDeprecatedData() / fixDeprecatedData() Robert Osfield 2013-06-27 13:37:26 +00:00
  • 092dd93be8 Removed deprecated usage of osg::Geometry::get*Binding() Robert Osfield 2013-06-27 10:58:26 +00:00
  • 592c580721 Replaced deprecated osg::Geometry::set*Binding() usage. Robert Osfield 2013-06-27 09:59:33 +00:00
  • 87add5f508 Replaced deprecated osg::Geometry::set*Binding() usage Robert Osfield 2013-06-27 09:54:45 +00:00
  • 4b9aa1fd24 Replaced deprecated osg::Geometry::set*Binding() usage. Robert Osfield 2013-06-27 09:54:12 +00:00
  • c1ebc3ac0c Replaced deprecated osg::Geometry::set*Binding() usage Robert Osfield 2013-06-27 08:44:15 +00:00
  • 38bb71460a Replaced deprecated Geometry::set*Binding() Robert Osfield 2013-06-27 08:30:51 +00:00
  • 8e65ab7e45 Replaced deprecated Geometry::set*Binding() usage Robert Osfield 2013-06-26 18:06:09 +00:00
  • 5a25a93bdd Removed deprecated Geometry::set*Binding() usage Robert Osfield 2013-06-26 17:58:57 +00:00
  • 9f0bbbf831 Added 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
  • 7ee05a345a Replaced deprecated osg::Geometry::set*Binding() usage Robert Osfield 2013-06-26 17:45:19 +00:00
  • 55416d83b3 Replaced deprecated osg::Geometry::set*Binding() calls. Robert Osfield 2013-06-26 17:44:30 +00:00
  • a459033eff From 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
  • bead0740f2 From Aurelien Albert, "This submission allow the user to specify how to setup VertexAttributeAliasing. Robert Osfield 2013-06-26 13:00:12 +00:00
  • 831a552dfa Removed unused methods Robert Osfield 2013-06-26 12:59:40 +00:00
  • ea2cbee347 Removed spaces from end of line Robert Osfield 2013-06-26 12:33:40 +00:00
  • 71c1fc87bb Fixed bug in TemplateTargetAttributeDispatch that was causing a crash with the osgsimplegl3 example Robert Osfield 2013-06-26 12:33:14 +00:00
  • 6377e37e88 From 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
  • b70dfd40aa Removed Geometry::fixDeprecatedData() as it won't work on const Geometry Robert Osfield 2013-06-26 08:53:56 +00:00
  • 36f48f2227 From 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
  • 3de0ec1904 Removed #include<osg/Notify> as it's nolonger required in the header Robert Osfield 2013-06-25 16:19:00 +00:00
  • 1793466442 With 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
  • ceb97fe230 From 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
  • 00acf55571 From 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
  • ba9ccd91a1 From 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
  • 84d7d9a056 From 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
  • addf8b1d2d Updatd SO_VERSION to reflect changes in ABI from merging submissions. Robert Osfield 2013-06-24 12:30:08 +00:00
  • 1e715b6877 From 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
  • ba2242decb From 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
  • 6331a54a68 From 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
  • 0896bd17bd From 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
  • ca2688b046 Convert usage to use const versions of containers Robert Osfield 2013-06-24 11:03:59 +00:00
  • 864e5cb6f0 From 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
  • 261db64a9e From 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
  • 3c1a89604b From 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
  • 70ae69648d From 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
  • 48020eed9e Introduced typedef's to make the code more readble and maintanable Robert Osfield 2013-06-24 09:02:32 +00:00
  • 4044fd5a74 From 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
  • b3f0479118 From 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
  • 340a47dc66 From 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
  • db4b7584fb From 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
  • 0a4bf71fbb Updated version number after dev release Robert Osfield 2013-06-21 19:35:56 +00:00
  • b40c3fc0aa Removed spaces from end of lines Robert Osfield 2013-06-21 19:35:26 +00:00
  • df3626be27 Fixed author name error introduced by xxdiff Robert Osfield 2013-06-21 14:37:35 +00:00
  • d707983905 Reapplied AUTHORS changes Robert Osfield 2013-06-21 14:30:45 +00:00
  • 717c4f785c Update ChangeLog and AUTHORS.txt for release Robert Osfield 2013-06-21 14:29:00 +00:00
  • 59d53b40a1 Removed unneccessary handling of BIND_PER_PRIMITIVE on output code Robert Osfield 2013-06-21 14:17:42 +00:00
  • 9d9543ca0a From 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
  • da134aa8ed From 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
  • cb09fff797 From Laurens Voerman, build fix Robert Osfield 2013-06-21 12:10:44 +00:00
  • 18d6d298bf Build fixes for new osg::Geometry Robert Osfield 2013-06-21 10:59:03 +00:00
  • deb074120e Converted osg::Geometry::ArrayData usage across to osg::Array. Robert Osfield 2013-06-21 10:14:18 +00:00
  • 25f0d2ccde From 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
  • 5a93c9100b From 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
  • 6eabca211b Converted ArrayData usage across to set*Array() usage with new binding parameter Robert Osfield 2013-06-21 09:47:04 +00:00
  • 15fea448d8 Added 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
  • d82c62a03b Removed spaces at ends of lines Robert Osfield 2013-06-21 09:40:43 +00:00
  • d0f4086a57 From 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
  • c3f28a52e4 From 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
  • 4738a2607b From 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
  • fe461c77fc From 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
  • 715dd4e930 Fixed 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
  • a2b2ba5860 Temporarily 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
  • 603c280b62 Added local namespace for util functions, and fixed the return type of checkDeprecatedData() Robert Osfield 2013-06-20 15:18:51 +00:00
  • 64b0e1afd0 From 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
  • eaa3afcd21 Commented out verbose debug messages for shader composition Robert Osfield 2013-06-20 10:59:00 +00:00
  • 04bd10ab92 Updated ChangeLog and AUTHORS file Robert Osfield 2013-06-20 10:42:24 +00:00
  • 7d2f9f3a0d From 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
  • bab56f9854 From Jan Ciger, compilation fix for Qt 5.0.2 Robert Osfield 2013-06-20 09:30:31 +00:00
  • 9b095b2936 From Laurens Voerman, build fix for VS. Robert Osfield 2013-06-20 09:27:50 +00:00
  • 2ab3a1e316 Removed svn:executable property. Robert Osfield 2013-06-19 17:28:28 +00:00
  • 47c4c7c389 Removed svn:executable property Robert Osfield 2013-06-19 17:26:59 +00:00
  • 083c0f97d2 Removed svn:executable property. Robert Osfield 2013-06-19 17:25:55 +00:00
  • df075ef9bb Cleaned up usage of BIND_PER_PRIMITIVE where possible. Robert Osfield 2013-06-19 16:24:59 +00:00
  • 9c127c2bca From Magnus Kessler, typo fixes to doxygen docs and comments Robert Osfield 2013-06-19 12:32:40 +00:00
  • 935b4de15d From Magnus Kessler, "gcc-4.8 flagged this: Robert Osfield 2013-06-19 12:28:06 +00:00
  • 002ea7ebdd Converted tabs to four spaces Robert Osfield 2013-06-19 12:27:28 +00:00
  • c8fa3244c2 From 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
  • 744960bbf2 Build fixes for new deprecated osg::Geometry functions Robert Osfield 2013-06-19 10:56:31 +00:00
  • 297a8a221b Added #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
  • b2fa36f02b Moved the assignment of the normal binding to after the setNormalArray call Robert Osfield 2013-06-18 17:49:57 +00:00
  • de1eb14f8d Moved 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
  • 1d1cfda1d7 Removed BIND_PER_PRIMITIVE reference Robert Osfield 2013-06-18 15:54:38 +00:00
  • 55ae5b1c5f Moved the set binding and normalize for VertexAttrib to after the VertexAttrib array assignment Robert Osfield 2013-06-18 15:03:26 +00:00
  • 635993038a Changed header guard back to original, and removed deprecated enum Robert Osfield 2013-06-18 14:52:26 +00:00
  • f5496ea3c5 Fixed order of binding. Robert Osfield 2013-06-18 14:22:43 +00:00
  • 390316e579 Removed experiment GeometryNew as it's no longer required. Robert Osfield 2013-06-18 11:49:03 +00:00
  • 7d40c7258f Clean 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
  • 05b72e9b4c Fixed 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
  • b4bfc3a451 From Martin Naylor, replace osgDB::fstream with an osgDB::open() call. Robert Osfield 2013-06-12 12:49:18 +00:00
  • 1a7f2fcb3e Introduced 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