Robert Osfield
f6b64afdfc
Fixed for crashes on exit associaciated with VAO usage and vairous niche usage cases
2019-01-08 19:32:50 +00:00
Robert Osfield
1c65815f4e
Fixed crash on exit issues with osgFX, osgParticle, osgSim and the osgforest example
2019-01-07 17:46:02 +00:00
Robert Osfield
0341d6f873
Removed reprecated C++ usage
2018-11-01 09:13:43 +00:00
Robert Osfield
1ee6d476f8
From Andy Skinner, Added ~GLExtensions to clear cached values for context ID
2018-10-02 11:28:34 +01:00
Robert Osfield
2e14bd52bf
Fixed hang using a ReentrantMutex
2018-09-11 11:23:34 +01:00
Robert Osfield
7fae3b67cd
Fixed build
2018-09-11 09:31:35 +01:00
gwaldron
22e6f6038f
osgText: fixed thread-safety issues in Glyph and Font
2018-09-11 08:53:40 +01:00
Robert Osfield
d07fe93f34
Fixed memory leak with assignment of default value to ObjectSerializer
2018-09-06 11:53:35 +01:00
Jason Beverage
6ae1139630
Protect the _programSet in Shader with a mutex.
...
This prevents thread safety issues when Shader objects are used in
multiple programs.
2018-09-05 09:34:54 +01:00
Robert Osfield
afe5644b9f
Added support for reading UTF-8 encoded of xml files
2018-09-04 12:42:31 +01:00
mp3butcher
587e65e674
add more extensions
2018-08-20 05:11:29 +02:00
Robert Osfield
58a51cbc41
Created a GLenum Texture::selectSizedInternalFormat(const osg::Image* image=0) const method to help clean up set up of glTexStorage.
...
Fixed typo.
2018-08-17 12:20:59 +01:00
Vic-Min
15f2ae8d15
Renamed USE_DEPRECATED_API to OSG_USE_DEPRECATED_API
2018-08-08 14:37:28 +01:00
Robert Osfield
ffb68bec7c
Removed unneccessary FIX ME statement.
2018-07-31 09:14:02 +01:00
Robert Osfield
d01edcb540
Added GLExtensions::isPointSpriteModeSupported to allow it to be enable for GL versions that support GL_POINT_SPRITE_ARB/GL_POINT_SPRITE_OES
2018-06-26 20:10:51 +01:00
Robert Osfield
44b3bcc3fc
Moved osg::clampProjectionMatrix() template from CullVisitor.cpp into include/osg/CullSettings to make it easier to implement custom clampProjectionMatrix callbacks
2018-06-25 20:02:30 +01:00
Robert Osfield
673292b995
Moved Stae::setUseVertexAttributeAliasing(bool) implementation to .cpp an added call to _globalVertexArrayState->assignAllDispatchers(); to ensure state is consistent
2018-06-13 12:23:29 +01:00
Robert Osfield
801069d4cc
As the author of all the files in osgPresentation and present3D have rectified the license notices to reflect their intended license rather than histoical license they had prior to being merged into the OpenSceneGraph project. OSGPL was always intended but missed during merge.
...
Replaced the GPL notices with OSGPL usge in present3D and include/osgPresentation as this was intended when Present3D was merged back into OpenSceneGraph but missed.
2018-05-31 14:45:37 +01:00
Robert Osfield
189e4e3a64
Implemented StateGraph reuse in in scene graph Canera's RenderStage.
2018-05-23 14:30:31 +01:00
Robert Osfield
e2aeab2b60
Fixed type of Timer_t under Windows
2018-05-23 06:32:42 +01:00
Robert Osfield
dce6684c59
Restored the REGISTER_WINDOWINGSYSTEMINTERFACE macro to the include/osg/GraphicsContext header and removed the OSGVIEWER_EXPORT as this was causing compatibility issues with osgQt.
...
In GraphicsWindowWin32 replaced REGISTER_WINDOWINGSYSTEMINTERFACE usage with locally implemented equivilant with the required OSGVIEWER_EXPORT.
2018-05-21 13:10:40 +01:00
Robert Osfield
e3c47b60e0
Moved REGISTER_WINDOWINGSYSTEMINTERFACE from include/osg/GraphicsContext to include/osgViewer/GraphicsWindow and added OSGVIEWER_EXPORT
2018-05-18 14:58:53 +01:00
Robert Osfield
1476f829c4
Introduced a local StateGraph hierarchy into CullVisitor::apply(osg::Camera&) and RenderBin to fixed RTT Camera bug where multiple RTT Camera end up with the rendering back end results assigned to them which occured when RTT Camera's share the same StateSet or null StateSet.
2018-05-18 10:00:10 +01:00
Robert Osfield
510a231e14
Renamed the counter used to enable traversal order sorting
2018-05-14 08:43:08 +01:00
Robert Osfield
640b03b671
Fixed crash when using ShapeDrawable with a TriangleMesh or ConvexHull shape due to missing texture coords
2018-05-13 11:52:06 +01:00
Robert Osfield
00a946bc2e
Removed _traverseNumber variable that was duplicating the one in NodeVisitor base class
2018-05-13 09:18:31 +01:00
Robert Osfield
01f69e6b10
Moved constructors and destructors to .cpp
2018-05-11 11:16:43 +01:00
Robert Osfield
a211ea4e68
Revert "Moved the Options constructors and destructor implementaions into the cpp to make it easier to do debugging"
...
This reverts commit 0fc7aa8cc0
.
2018-05-11 11:11:48 +01:00
Robert Osfield
fcde92ad89
Fixed crash the occurred when passing in a osgDB::Options to the ObjectCache that doesn't have any references to it.
2018-05-11 09:00:22 +01:00
Robert Osfield
0fc7aa8cc0
Moved the Options constructors and destructor implementaions into the cpp to make it easier to do debugging
2018-05-11 08:58:30 +01:00
Robert Osfield
be363ef8d4
Fixed build when OSG_ENVVAR_SUPPORTED is disabled and quietened down warnings using OSG_UNUSED* macros
2018-05-10 18:58:29 +01:00
Robert Osfield
f49e1d32c9
Replaced std::auto_ptr<> usage as it's deprecated in C++11 and will be removed in C++17
2018-05-05 12:28:45 +01:00
Robert Osfield
c078968f66
Added non const version of State::getActiveDisplaySettings()
2018-05-04 10:54:02 +01:00
Robert Osfield
62a9f87f45
Added osg::MakeString class to make it easier to create std::string's using std::ostream style << usage.
2018-05-04 09:31:57 +01:00
Sebastian Messerschmidt
fce55993bc
FIX: <osgParticle> removed unimplemented functions from header
2018-04-30 11:16:02 +02:00
Alberto Luaces
490d3a8f21
Small fix for uncaught typo.
2018-04-23 11:03:37 +01:00
Alberto Luaces
02c310982e
Fix typos and spelling.
2018-04-23 11:03:37 +01:00
Daniel Emminizer
22d2fae30c
Fix includes for MSVC 2015 build.
2018-04-20 13:16:43 -04:00
Robert Osfield
709194c88c
Replaced osgUtil::IntersectVisitor usage with osgUtil::InteresectionVisitor
2018-04-20 14:32:34 +01:00
Robert Osfield
7bda8083fb
Added osgUtil::optimizeMesh(osg::Node* node) convinience method
2018-04-20 11:48:39 +01:00
Robert Osfield
f95fdd4d4e
Fixed the GLBufferObject size computation so that it takes into account padding.
2018-04-19 19:41:51 +01:00
Robert Osfield
38ad6ed3b3
Fixed inline Drawable::draw(..) method
2018-04-16 17:18:49 +01:00
Robert Osfield
7ab1208c65
Renamed osg::ComputeDispatch to osg::DispatchCompute to make sure the nameing between GL and OSG is consistent i.e glDispatchCompute -> osg::DispatchCompute
...
Updated AUTHORS.txt, NEWS.txt and README.txt for CMakeLists.txt for 3.6.0 release
2018-04-07 17:59:55 +01:00
Robert Osfield
6bfca1582e
Refactored the way that margin is applied to the text buounding box to prevent growth of the bounding box each time Text::setPosition() is called.
2018-04-06 20:07:57 +01:00
Daniel Emminizer
3d8cc71601
osgDB: Added missing extern OSGDB_EXPORT.
2018-04-05 10:51:24 -04:00
Robert Osfield
914e60a872
Quietened down debug message output for osgText shader setup and Drawable::createVertexArrayStateImplementation
2018-04-05 14:18:30 +01:00
Robert Osfield
9168b6e5de
Fixed threading crash in osgFX that occurred when an osgFX node is added to the scene being rendered in multiple threaded windows.
2018-04-04 15:11:25 +01:00
Frank Bausch
ceed09afea
When testing XYZ/ECEF coordinate values that convert to LLA points with latitude = 90.0 or latitude = -90.0, the heights calculated by EllipsoidModel::convertXYZToLatLongHeight have substantial errors. With the provided change, points at the pole are handled more correctly. This has been tested against US NGA GoldData.
2018-04-04 08:51:38 +01:00
Robert Osfield
f9f475d76d
Added a ShadowTechniue::setShadowedScene() virtual method to make it possible to implement techniques as fascades to other techniques
2018-04-03 15:30:58 +01:00
Robert Osfield
3450b9fee8
Removed osgShadow::ShadowVolume as it functionality isn't functional
2018-04-03 12:23:18 +01:00