Robert Osfield
b168213460
Fixed orientation of quad strips.
2021-12-09 12:35:38 +00:00
Robert Osfield
462a7555d7
Removed unnedded include
2021-05-06 10:39:11 +01:00
elsid
a57db8a4f8
Add move constructor and move assignment operator to ref_ptr
...
Use conditional compilation to make it work only with C++11 support.
2021-05-06 10:39:11 +01:00
Robert Osfield
4599a86bc9
Added osg::MultiDrawMeshTasksIndirectCount class to wrap glMultiDrawMeshTasksIndirectCountNV call.
2021-04-01 08:45:42 +01:00
Robert Osfield
27a664a4e3
Added osg::MultiDrawMeshTasksIndirect class
2021-03-31 18:36:45 +01:00
Robert Osfield
874c9ac691
Added osg::DrawMeshTasksIndirect class
2021-03-31 18:09:07 +01:00
Robert Osfield
64404e9de3
Added osg::DrawMeshTasks implementaton.
2021-03-31 17:34:39 +01:00
Robert Osfield
3160481c25
Added MESH and TASK shader enums to osg::Shader.
...
Added beginings of osgmeshshader example.
2021-03-29 16:12:15 +01:00
Robert Osfield
95486bd392
Implemented GL defines and extensions for NV mesh shaders
2021-03-29 13:07:42 +01:00
Robert Osfield
6e728811da
Merge branch 'OpenSceneGraph-3.6' into MultiView
2021-03-29 11:22:44 +01:00
valid-ptr
e260dfb582
merged with upstream/OpenSceneGraph-3.6
2021-03-24 17:45:19 +03:00
Robert Osfield
df15baf50f
Merge branch 'OpenSceneGraph-3.6' into MultiView
2021-03-14 17:58:59 +00:00
Gleb Mazovetskiy
8b2e02b71d
Ensure global Mutex is initialized before Registry
...
A Registry instance may be accessed before the global mutex, e.g. here:
e77f50371c/src/osgText/Font.cpp (L49)
This leads to the Mutex being destroyed before the Registry is destroyed.
This causes a crash at exit, as described in #1048 .
Fixes #1048 .
2021-03-14 17:58:28 +00:00
Robert Osfield
8873381f66
Merge branch 'OpenSceneGraph-3.6' into MultiView
2021-02-18 16:26:22 +00:00
Robert Osfield
5d51e5bf2a
Fixed META_ macro usage
2021-02-18 16:13:50 +00:00
Robert Osfield
94d5211f43
Ran dos2unix to fix line endings
2021-02-17 18:23:32 +00:00
Robert Osfield
23b4345517
Merge pull request #1032 from glebm/3.6-backport-deprecations-fix
...
Back-port (cherry-pick) warnings fixes into 3.6
2021-01-23 16:15:35 +00:00
Gleb Mazovetskiy
f36e9f2a4a
include/osgViewer: Fix typo
...
Follow-up to #1027
2021-01-23 10:53:44 +00:00
Robert Osfield
b7c186f6d3
Fixed warnings reported by gcc-9.3.0
...
Note from glebm@:
Back-ported from e0d5e4b0ff
Identical except for the changes to `MatrixTemplate`, which does not
exist in 3.6
2021-01-19 20:37:40 +00:00
Robert Osfield
cae687cbdd
Merge branch 'OpenSceneGraph-3.6' into MultiView
2021-01-18 16:34:47 +00:00
Gleb Mazovetskiy
b4663ded94
osgAnimation/Keyframe: Fix -Wshadow warning
...
```
include/osgAnimation/Keyframe:108:53: warning: declaration of 'iterator' shadows a member of 'osgAnimation::TemplateKeyframeContainer<osgAnimation::TemplateCubicBezier<double> >' [-Wshadow]
108 | for(std::vector<unsigned int>::iterator iterator = intervalSizes.begin() ; iterator != intervalSizes.end() ; ++ iterator) {
| ^~~~~~~~
include/osg/MixinVector:39:44: note: shadowed declaration is here
39 | typedef typename vector_type::iterator iterator;
| ^~~~~~~~
```
2021-01-18 14:51:48 +00:00
Gleb Mazovetskiy
44d3da02a9
Fix osgViewer USE_GRAPHICSWINDOW
without a windowing system
...
There is no way for the user to know whether OSG was compiled with a
windowing system.
This means calling USE_GRAPHICSWINDOW() in client libraries was unsafe
in the case of the "None" windowing system, as it would fail to link.
Turns the call into a no-op in that case.
2021-01-18 14:48:12 +00:00
Gleb Mazovetskiy
0161b8ab46
include/osg/Callback: nullptr -> NULL
...
Fixes travis, which explictly requires c++98
2021-01-18 14:45:06 +00:00
valid-ptr
aed9fd74f6
Wrong argument name rename: uniformMap -> defineMap
2020-12-29 15:07:15 +03:00
Robert Osfield
6cabb0b012
Added near/far flags to Polytope::setToBoundingBox().
2020-12-24 09:45:00 +00:00
Robert Osfield
2d6e0b6a66
Added CullSettings::InitialFrustumCallback to enable Camera to provide customization of the the initialzation of the frustum.
2020-12-23 16:16:56 +00:00
valid-ptr
6cd699e55f
GLExtensions: isTextureCompressionASTCSupported (ASTC compression texture), isTextureLODBiasSupported (is needed for GL_TEXTURE_LOD_BIAS) flags added
2020-12-04 18:32:35 +03:00
John W. Terrell
3ecd94babc
thogarth - merged multiview branch to add multisampling support to texture2d arrays
2020-11-11 10:51:01 +00:00
John W. Terrell
7d34a54a3b
thogarth - added ovr_multiview support to FrameBufferObject and const to camera to enable the extension on attachments
2020-11-10 17:12:37 +00:00
Matthew Reid
073cfab166
Added support for sRGB texture formats
2020-11-10 16:05:56 +00:00
Robert Osfield
7994bfa767
Merge branch 'OpenSceneGraph-3.6' into build/windows_clang_3.6_target
2020-11-10 14:41:56 +00:00
Ralf Habacker
c3108697de
Add support for showing environment variables provided by osg plugins
2020-08-19 10:35:54 +02:00
MeyerFabian
ba70c7d543
build/windows_clang
2020-07-21 17:37:24 +02:00
OpenSceneGraph git repository
14e7bc5a17
Merge pull request #902 from mp3butcher/oqn
...
3.6 OQN API convergence
2020-01-21 09:32:57 +00:00
dedowsdi
a90a9a0a15
Add getPreRenderList getPostRenderList to RenderStage.
2020-01-21 11:00:25 +08:00
Daniel Trstenjak
ddb72691bc
OcclusionQueryNode: fix resetting to default query geometry
...
When the query geometry gets reset to its default then its
vertices have to be updated by the bounding box dimensions of
the current children of the OcclusionQueryNode.
2020-01-20 16:44:48 +01:00
Daniel Trstenjak
817d92b703
OcclusionQueryNode: fix use case of user defined query geometry
...
The user defined query geometry handling has been broken in several ways.
The previous way of defining a query geometry was using the non const
`getQueryGeometry` method and overriding its members. But then
`OcclusionQueryNode` wasn't aware of the geometry change and couldn't
internally handle it correctly.
The `computeBound` method never considered a user defined query geometry and
always just overrode the vertices of the geometry.
The member `_validQueryGeometry` wasn't correctly set.
This change should fix all this issues by introducing a small backward
compatibility break. The non const `getQueryGeometry` method is removed
forcing the user to use the `setQueryGeometry` method. But then `OcclusionQueryNode`
is aware of the user defined query geometry and can handle it correctly.
2020-01-20 16:42:38 +01:00
OpenSceneGraph git repository
3930621edc
Merge pull request #895 from openscenegraph/CurrentThreadId
...
Added commment explaining that OpenThreads::Thread::CurrentThread() r…
2020-01-13 14:14:48 +00:00
Robert Osfield
9305485a11
Added commment explaining that OpenThreads::Thread::CurrentThread() return NULL on non OpenThreads thread.
2020-01-13 14:12:54 +00:00
Robert Osfield
9e75926338
Added support for using CurrentCodePage functionality with osgText::String
...
To the DXF plugin added Option string support for using CurrentCodePage|WidePage, UTF8, UTF16, UTF32 and FontFile=filename
2020-01-13 13:41:37 +00:00
Robert Osfield
d1ff16614c
Added Thread::CurrentThreadId() method to wrap up thread id functionality in a more platform appropriate way.
2020-01-06 18:39:51 +00:00
valid-ptr
51fee80224
glInvalidateFramebuffer added to GLExtensions
2019-12-13 12:09:06 +03:00
konstantin.matveyev
fefabb6c2b
glFramebufferTexture2DMultisample added to GLExtensions
2019-12-13 12:08:37 +03:00
Laurens Voerman
23b7c4d47d
fix apple carbon reference
2019-09-11 10:22:16 +02:00
Julien Valentin
0c142215b9
remove return of local pointer
2019-08-16 10:15:46 +01:00
Robert Osfield
149c04b0df
Added a _fontFallback to TextBase to cache any fallback font (usually DefaultFont) that is used when the Textbase::_font is null.
2019-07-31 14:11:59 +01:00
Robert Osfield
24d61c2df0
Change the DefaultFont so that it's managemed via the ObjectCache to enabl it to be release and cleared in a central manner.
...
Added call to Registry::releaseGLObjects() to osgViewer/Renderer.cpp to enable automatic clean up of objects in the ObjectCache.
2019-07-25 14:10:01 +01:00
Robert Osfield
079cf6c090
Added FrameBufferAttachment::resizeGLObjectBuffers(..) and releaseGLObjects(..) methods
2019-07-12 16:09:12 +01:00
Laurens Voerman
3ccdc66717
fix indentation for osgt files for windows dynamic library build.
2019-05-13 17:25:29 +02:00
Capostrophic
066c272f7a
Override default behavior for linear vector interpolations
2019-03-15 21:29:13 +03:00