Robert Osfield
500d3947ef
Fixed isPointSpriteModeSupported assignment bug
2018-06-29 10:53:23 +01:00
Larry-Hu
c1dfc39706
Remove call to nonexistent member seekpos() of std::fpos in VS 2017 version 15.8 or later
2018-06-28 06:54:57 +01:00
Daniel Emminizer
33cb2e6f70
OpenFlight: Textures now correctly export in GLCORE mode.
2018-06-27 12:57:20 -04:00
Robert Osfield
27fc282bb5
Fixed relaseGLObjects() calls
2018-06-27 09:06:58 +01:00
Robert Osfield
9d897c2555
Merge branch 'OpenSceneGraph-3.6' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.6
2018-06-26 20:50:55 +01:00
Robert Osfield
cbcf7015bb
Replaced creation of a temporary Settings object on the heap with creation on the stack to improve performance
2018-06-26 20:46:49 +01:00
OpenSceneGraph git repository
4d5c1ff14e
Merge pull request #566 from emminizer/fix-gl_rb-in-gluscaleimage
...
GL_RG is now a supported format in gluScaleImage().
2018-06-26 20:17:07 +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
Daniel Emminizer
bfa8d157c1
GL_RG is now a support format in gluScaleImage().
2018-06-26 14:44:34 -04: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
Calum Robinson
40bde873bc
Fix z near calculation for lines
2018-06-20 12:28:06 +01:00
OpenSceneGraph git repository
12db2f8011
Merge pull request #558 from LaurensVoerman/submit-ffmpeg3.2
...
resolve av sync failure with ffmpeg 3.2 and up
2018-06-19 11:50:38 +01:00
Laurens Voerman
e18a03abc3
resolve av sync failure with ffmpeg 3.2 and up
2018-06-19 10:47:23 +02:00
Daniel Emminizer
acf359777e
FLT: Missing optional attr files on textures no longer generates a console warning.
2018-06-14 07:33:08 -04:00
Robert Osfield
4665a2f033
To handle calling Array::setBinding() after Geometry::set*Array() call, to the Geometry::addVertexBufferObjectIfRequired(osg::Array* array) added treatment of array->getBinding()==Array::BIND_UNDEFINED as BIND_PER_VERTEX as a safe fallback.
2018-06-14 08:51:00 +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
5fb1e9c120
Removed deprecated xine plugin to simplify licensing (xine plugin is GPL'd)
2018-05-31 15:11:19 +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
Philippe Renon
0a4a31d17b
Notify: silence warning about unused argument
2018-05-28 07:54:42 +01:00
Robert Osfield
4291636619
Updated REMOVE_SERIALIZER( ImageAttachment ); block to use 154 version to retain compatibility with binaries made with 153 SOVERSION prior to the Imageattachement change
2018-05-23 17:02:28 +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
a6ef1cd66b
Fixed warning of RenderLeaf's having multiple references in CullVisitor::createOrReuseRenderLeaf() but forcing a clean up of the StateGraph at the end of RenderStage::draw()
2018-05-23 14:13:27 +01:00
Robert Osfield
f2012eeeb8
Added check to make sure that glEnablei and glDisablei are only called when the capability is non zero to fix GL invalid value error.
2018-05-23 07:47:15 +01:00
gwaldron
e4adb509e0
osgText: perform pixel size computation in double-precision to prevent coordinate jitter
2018-05-21 20:04:45 +01:00
Robert Osfield
eae5f9b958
Moved the rotation to before the scale
2018-05-21 18:14:18 +01:00
Robert Osfield
9c6951e4ba
Fixed typos
2018-05-21 13:18:29 +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
55c0afbe3a
Restructed SCREEN auto scaling so that it's removes the rotation of the modelview matrix so that the XY coords of the text map directly to window xy coords for all text alignment types
2018-05-20 13:22:58 +01:00
Robert Osfield
7602b868f4
Added GL_RED and GL_RG support to _readColor()/Image::getColor();
2018-05-18 13:55:01 +01:00
Robert Osfield
880a100a60
Cleaned up the WindowingSystemInterface registration
2018-05-18 12:52:50 +01:00
Robert Osfield
a86c6dc2c6
Quitened down unsupport compression output when passing in a file with a non rgb extension
2018-05-18 12:42:20 +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
26acc9a6b1
Fixed support for update and event callbacks on StateSet/Uniform/StateAttributes on View(er) Cameras.
2018-05-14 09:46:39 +01:00
Robert Osfield
510a231e14
Renamed the counter used to enable traversal order sorting
2018-05-14 08:43:08 +01:00
Robert Osfield
3bbbbd07ea
Improved the handling of precision
2018-05-14 08:24:02 +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
312ce9ad05
Build fixes for OSG_USE_REF_PTR_IMPLICIT_OUTPUT set to OFF
2018-05-12 12:41:42 +01:00
Robert Osfield
362e355db2
Rewrote TextBase::computeMatrix(..) computation of the scaling factor with slower but easier to understand and more robust code
2018-05-12 11:40:25 +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
05793cb104
Fixed typo
2018-05-10 16:59:56 +01:00
Robert Osfield
e79edabf98
Restructed the handling of SCREEN_COORD scaling to better handle window resizing
2018-05-05 15:47:28 +01:00
Robert Osfield
d95993554e
Added C++ specific path for calling std::map<>::erase() to avoid issues with std::map<>::erase implementation that invalidates iterators
2018-05-05 12:31:00 +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
OpenSceneGraph git repository
a15d4532fa
Merge pull request #545 from emminizer/fix-gl3-text-bad-mode
...
Text only applies GL_TEXTURE_2D modes when fixed function is availabl…
2018-05-04 16:11:31 +01:00
Daniel Emminizer
27955ae8e9
Text only applies GL_TEXTURE_2D modes when fixed function is available. Prevents GL3 Core Profile console spam.
2018-05-04 06:44:13 -04:00