Robert Osfield
afe5644b9f
Added support for reading UTF-8 encoded of xml files
2018-09-04 12:42:31 +01:00
Robert Osfield
ae3133522d
Changed the logic for whether to call setUpThreading() in setThreadingModel() to make it possible to changed threadings even if the threading model starts of as SingleThreaded
2018-09-03 12:30:02 +01:00
Robert Osfield
006ca64f4b
Added reset of _stateset to prevent the releaseGLObjects calling release on th StateSet from the destructor
2018-09-03 09:37:36 +01:00
Robert Osfield
77fd07eaa9
Replaced the glSGetProcAddressARB code with the dlsym() usage as the NVidia driver looks to be returning non NULL pointers for invalid function names.
2018-08-28 12:01:35 +01:00
Robert Osfield
d18c498322
Enabled point sprite validty modes.
2018-08-22 11:13:11 +01:00
Robert Osfield
4f7f34a6b0
Merged fix for PointSprite modes validity checks from master.
2018-08-22 10:43:15 +01:00
plevy
dd9312ae35
Change GL_RGBA16F to GL_RGBA16F_ARB to fix Windows Build
...
Change GL_RGBA16F to GL_RGBA16F_ARB to fix Windows build.
2018-08-22 07:48:55 +01:00
Robert Osfield
250dcc5b6c
Replaced GL_RGBA32F with GL_RGBA32F_ARB to fix Windows build
2018-08-21 09:20:49 +01:00
mp3butcher
e043c3db33
complete TexStorage support
2018-08-20 05:11:43 +02:00
mp3butcher
587e65e674
add more extensions
2018-08-20 05:11:29 +02:00
mp3butcher
274b6894af
remove redondant variable and test
2018-08-19 22:46:10 +02:00
Robert Osfield
29e87780f5
Removed check as this is better outside of the function
2018-08-17 16:53:13 +01: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
Robert Osfield
7ae7a994b4
Merged changes to InternalPixelRelations sizedInternalFormats[] from master
2018-08-17 10:31:46 +01:00
Robert Osfield
3808b298d1
Fixed memory leak associated with VertexArrayStte objects not getting released on destruction of Geometry/Drawables.
2018-08-16 19:24:56 +01:00
Robert Osfield
ed13576d03
From Chris White, Cygwin build fix
2018-08-08 14:42:04 +01:00
OpenSceneGraph git repository
9ab5aafd02
Merge pull request #583 from emminizer/flt-registry-cache
...
OpenFlight: Replace internal caches with osgDB::ObjectCache use. Fix…
2018-07-31 16:58:41 +01:00
Daniel Emminizer
2e0e78144f
OpenFlight: Replace internal caches with osgDB::ObjectCache use. Fixes unbounded memory growth when using readNode(std::istream&, ...) method.
2018-07-31 11:45:33 -04:00
Robert Osfield
79bc4c3843
Fixed check against dataType changes
2018-07-27 17:34:30 +01:00
Daniel Emminizer
4d6c4a7f1f
FLT: Fix texture unit typo and code style from PR 568.
2018-07-09 06:34:41 -04:00
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