Robert Osfield
925270d909
Removed indentation to avoid github MD mark up from loosing link.
2022-12-01 18:18:42 +00:00
Robert Osfield
dd1745896a
Updated links to discussion forum.
2022-12-01 18:15:55 +00:00
Robert Osfield
6c1cbb1f48
Fixed copyright notice
2022-09-27 11:12:10 +01:00
Robert Osfield
5a939746cc
Removed debug messages
2022-05-14 15:17:37 +01:00
mmurrian
606a32685e
Update DisplaySettings.cpp
...
DisplaySettings::setDisplaySettings sets _shaderHint from itself (potentially uninitialized)
2022-04-07 15:29:56 +01:00
Robert Osfield
06558a5dda
Quietened down debug message
2021-12-09 15:46:15 +00:00
Robert Osfield
7505cb4603
Fixed orientation of quad strips.
2021-12-09 12:36:40 +00:00
Robert Osfield
8b20f0adef
Renanabled check for Asio
2021-12-08 15:31:29 +00:00
Robert Osfield
fee977ac90
Added workaround to prevent building against new Asio headers
2021-12-08 14:28:47 +00:00
Robert Osfield
62dbe7b85e
Added 's' write selected nodes to "saved_selected.osgt feature.
2021-12-08 14:28:47 +00:00
Bo Svensson
ecaca716e9
removes invalid glReadBuffer calls
2021-10-08 10:49:01 +01:00
Robert Osfield
df21f59779
Added alias from asc to 3dc
2021-08-31 16:21:18 +01:00
Robert Osfield
e28f789ffa
Disabled the use of asio as the RestHttpDevice plugin no longer compiles with modern boost releases
2021-06-25 13:17:21 +01:00
Alexander "Ananace" Olofsson
b7fa2d7914
Fix OpenThreads install on MSVC without a prefix
...
All this change does is make the install config for OpenThreads identical to the one in ModuleInstall.cmake
2021-06-24 12:19:40 +01:00
Robert Osfield
51924943e2
Removed unnedded include
2021-05-06 10:21:16 +01:00
elsid
969c1821be
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:21:04 +01:00
Calum Robinson
2695f29be0
Fix bounds for empty text nodes
...
_lineCount can be 0, so we get underflow if the alignment is one of
the *_BOTTOM_BASE_LINE.
2021-04-14 11:51:09 +01:00
Robert Osfield
78cb12b531
Merge pull request #1005 from eligovision/OpenSceneGraph-3.6_webgl_compr_tex
...
ASTC Compression Support Added; GLExtensions improvements
2021-03-29 10:32:13 +01:00
Robert Osfield
beb9bc3cf2
Merge branch 'OpenSceneGraph-3.6' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.6
2021-03-29 10:07:02 +01:00
Robert Osfield
d11e84178f
Merge pull request #1046 from eligovision/OpenSceneGraph-3.6_timer_query_gles
...
OpenSceneGraph 3.6 improvement: GL_EXT_disjoint_timer_query extension added
2021-03-29 09:57:43 +01:00
Gleb Mazovetskiy
b14eecb3c7
Check GL_NV_framebuffer_multisample_coverage
...
`isRenderbufferMultisampleCoverageSupported()` should not return true if
the extension is not supported.
Fixes #1028
2021-03-29 09:43:50 +01:00
Gleb Mazovetskiy
9fb010fadd
Fix C++17 MSVC compilation error
...
With C++17, Windows headers must not be included after `using namespace std;`.
Windows headers define a `byte` type internally and `using namespace std`
causes it to conflict with `std::byte`:
error C2872: 'byte': ambiguous symbol
MSVC thread: https://developercommunity.visualstudio.com/t/error-c2872-byte-ambiguous-symbol/93889
2021-03-29 09:31:55 +01:00
Robert Osfield
8a15f23c15
Merge pull request #1059 from eligovision/OpenSceneGraph-3.6_freetype_otf
...
FreeType plugin: 'otf' extension added
2021-03-29 09:26:46 +01:00
valid-ptr
e260dfb582
merged with upstream/OpenSceneGraph-3.6
2021-03-24 17:45:19 +03:00
valid-ptr
b728587fab
conflict with upstream/OpenSceneGraph-3.6 resolved
2021-03-24 17:40:29 +03:00
valid-ptr
f29af50b76
FreeType plugin: 'otf' extension added
2021-03-24 17:01:00 +03: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
5faae0e52e
Moved Widget case to later.
2021-02-19 12:03:07 +00:00
Robert Osfield
5d51e5bf2a
Fixed META_ macro usage
2021-02-18 16:13:50 +00:00
Robert Osfield
159c0271b7
Fixed osgWidget event handling
2021-02-18 16:08:25 +00:00
Robert Osfield
94d5211f43
Ran dos2unix to fix line endings
2021-02-17 18:23:32 +00:00
Robert Osfield
219adb7419
Ran dos2unix to fix line endings
2021-02-17 17:50:21 +00:00
valid-ptr
b101b4b4d2
GL_EXT_disjoint_timer_query extension added
2021-02-04 19:53:54 +03:00
Robert Osfield
b8862d0420
Merge pull request #1041 from glebm/3.6-cherry-pick-android-fix
...
3.6 cherry-pick: CMakeLists.txt: OSG_FIND_3RD_PARTY_DEPS option
2021-01-23 18:33:39 +00:00
Robert Osfield
8a0114a46a
Replaced std::mem_fun_ref usage to avoid compatiblity with modern compilers.
2021-01-23 18:27:58 +00:00
Gleb Mazovetskiy
199035ae51
CMakeLists.txt: OSG_FIND_3RD_PARTY_DEPS option
...
Android-specific macros aren't needed in some cases, e.g. if the NDK is
setup with all the needed dependencies a much easier way to find
packages is to simply specify the correct `CMAKE_FIND_ROOT_PATH`.
The `ANDROID_3RD_PARTY` macro interferes with this.
Adds an option to disable it.
WIN32 build is in a similar situation, the new option affects it also.
2021-01-23 17:25:45 +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
Robert Osfield
b5b0bed7c3
Merge pull request #1039 from unelsson/clocaletodae
...
Use c-locale with std::istream
2021-01-23 15:57:16 +00:00
Nelsson Huotari
a531f2bd13
Use c-locale with std::istream
2021-01-23 14:46:16 +02: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
valid-ptr
927d2f0f10
Texture::TextureProfile::computeSize function fixed for ASTC compressed textures
2021-01-19 12:09:24 +03:00
Robert Osfield
644251db98
Fixed warnings
2021-01-18 16:33:34 +00:00
Robert Osfield
295bfffc17
Added 0 to end of array.
2021-01-18 15:38:43 +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
4093860c32
cmake: Allow passing LTO option
2021-01-18 14:45:41 +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
ankurverma85
417f78ac5e
Update unzip.cpp
2021-01-18 14:07:47 +00:00
Robert Osfield
8195b9c8e7
Merge pull request #1015 from eligovision/OpenSceneGraph-3.6_state_arg_rename
...
Wrong argument name rename: uniformMap -> defineMap
2021-01-18 13:57:29 +00:00
Glenn Waldron
5ca6759a1f
Fix for #1013 - Texture2DArray fails to regenerate after a releaseGLObjects/dirtyTextureObject - remove the modified count condition on component images when subloading when there is no texture object
2021-01-18 13:55:53 +00:00
Sam Brkopac
9c7cde1db4
updated cmake to properly disable debug iterators on windows
2021-01-18 13:42:40 +00:00
valid-ptr
aed9fd74f6
Wrong argument name rename: uniformMap -> defineMap
2020-12-29 15:07:15 +03:00
valid-ptr
39a78e075f
isTextureLODBiasSupported check added
2020-12-04 18:34:02 +03:00
valid-ptr
b4eb001d14
ASTC Texture compression support added
2020-12-04 18:33:18 +03: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
konstantin.matveyev
4b0bed8161
GLExtensions improved: added support for WebGL compressed textures: S3TC, ETC{1,2}, PVRTC
2020-11-26 14:02:50 +03:00
tomhog
ddbed23537
fix for typo in windows branch of delimiter definition
2020-11-12 12:55:23 +00:00
Robert Osfield
a13f8cf4b4
Merge pull request #973 from arnauddgbes/OpenSceneGraph-3.6
...
fixed installation of PDB files on Windows with Ninja generator.
2020-11-10 16:41:46 +00:00
Robert Osfield
fab1431e59
Merge pull request #989 from eligovision/OpenSceneGraph-3.6_shader_composer
...
ShaderComposition mechanism on the osg::State fixed
2020-11-10 16:19:40 +00:00
Matthew Reid
073cfab166
Added support for sRGB texture formats
2020-11-10 16:05:56 +00:00
Robert Osfield
bf279a59fa
Merged from master "Declare "result" as LONG for Mingw build"
2020-11-10 15:56:39 +00:00
Robert Osfield
4ad410969e
Added Node::accept() usage from IntersectionVisitor to IntersectVisitor
2020-11-10 15:44:51 +00:00
Robert Osfield
f50d32547d
Changed to using Node::accept() to handled children of Geode/Billboard to enable scene graphs with non drawables as children
2020-11-10 15:34:32 +00:00
Robert Osfield
8406442a96
Merge pull request #976 from MeyerFabian/build/windows_clang_3.6_target
...
build/windows_clang 3.6
2020-11-10 14:45:22 +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
Robert Osfield
b8982224c3
Merge pull request #969 from unelsson/daeremoveprotcheck
...
Remove "file" protocol check
2020-11-10 14:13:26 +00:00
Robert Osfield
8178b51956
Merge pull request #968 from unelsson/getdaenamesbonesskel
...
Get names of bones and skeleton to osg nodes
2020-11-10 14:04:29 +00:00
Robert Osfield
a7a7c0de8b
Merge pull request #967 from unelsson/daepluginoptionsfix
...
Clone pluginOptions.options
2020-11-10 13:51:18 +00:00
Alberto Luaces
2ade061ced
Code comments, log strings and some variable spell fixes.
2020-10-29 15:14:29 +00:00
valid-ptr
0415b7df84
ShaderComposition mechanism on the osg::State fixed: condition improved
2020-10-28 15:13:47 +03:00
valid-ptr
43724f004e
ShaderComposition mechanism on the osg::State fixed
2020-10-27 17:24:28 +03:00
OpenSceneGraph git repository
300ba7aa02
Merge pull request #983 from rhabacker/update-so-version
...
Updated SO version as osgDB::ReaderWriter changes from #981 change the ABI
2020-08-19 10:45:54 +01:00
Ralf Habacker
97a4094d76
Updated SO version as osgDB::ReaderWriter changes from #981 change the ABI
2020-08-19 11:19:08 +02:00
OpenSceneGraph git repository
6b95718d65
Merge pull request #981 from rhabacker/3.6-add-plugin-env-support
...
Add support for showing environment variables provided by osg plugins
2020-08-19 09:57:43 +01:00
Ralf Habacker
47ab799168
Use new method supportsEnvironment() from class ReaderWriter in client code
2020-08-19 10:35:54 +02: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
Arnaud Huck
855212548d
fixed installation of PDB files on Windows with Ninja generator.
...
Also added installation of PDB files for OpenThreads
2020-07-14 12:09:53 +02:00
Robert Osfield
47207248d4
Selected USE_NEW_DELETE allocation mode to fix memory leak
2020-07-09 10:14:02 +01:00
Nelsson Huotari
e1e6e07de3
Remove protocol check
2020-07-01 12:44:43 +03:00
Nelsson Huotari
508cf89f9c
get names of bones and skeleton to osg nodes
2020-07-01 12:42:03 +03:00
Nelsson Huotari
f29ecc10a8
clone pluginOptions.options
2020-07-01 12:39:24 +03:00
OpenSceneGraph git repository
46505f66d3
Merge pull request #965 from gramnation/patch-1
...
comment out cmake internal help markup
2020-06-23 17:54:38 +01:00
Graham Stewart
fb63c5b0a5
comment out cmake internal help markup
...
cmake 2.8.12 cannot parse it. From the looks of it this sort of markup only needs to be parsable when building cmake v3 itself.
2020-06-23 11:51:58 -05:00
Calum Robinson
2b64d30fca
Return early in osgText::Text property setters
...
Matches what the rest of the properties are doing & avoids unnecessary
computation.
2020-05-29 11:12:35 +01:00
Mathias Nährig
e0b288fe37
Update GLExtensions.cpp
...
GLExtensions::glTexStorage2DMultisample in fact called glTextureStorage2DMultisample which expects texture object instead of texture target
2020-05-18 09:44:58 +01:00
Conrad Poelman
91cfc02700
Remove register keyword (deprecated in C++17/20)
...
The "register" keyword is deprecated as of C++17. (https://en.cppreference.com/w/cpp/keyword/register ) Removing it is necessary to build with clang10+.
2020-05-18 09:44:40 +01:00
Robert Osfield
b29fb0b870
Added ZLIB as a build depdency to PNG plugin build
2020-05-07 11:28:53 +01:00
OpenSceneGraph git repository
6ca2487362
Merge pull request #934 from mp3butcher/orphanalreadyimmutable
...
[osg3.6] prevent immutability setting when textureobject is taken from orphans
2020-05-03 09:37:44 +01:00
Julien Valentin
197fc401b4
prevent immutability resetting when textureobject is taken from orphans
2020-05-02 16:01:16 +02:00
Robert Osfield
16cd192562
Updated shaders from OpenSceneGraph-Data.
2020-04-29 12:02:52 +01:00
Remo E
2f043345c9
[macosx 10.15] Fix for https://github.com/openscenegraph/OpenSceneGraph/issues/926 from @PetrBo and @tikittel
2020-04-29 10:52:27 +01:00
Robert Osfield
24fc34a440
Merge branch 'AnyOldName3-tga-1' into OpenSceneGraph-3.6
2020-04-29 10:28:51 +01:00
Robert Osfield
decf339b74
Merge branch 'tga-1' of https://github.com/AnyOldName3/osg into AnyOldName3-tga-1
2020-04-29 10:17:11 +01:00
Conrad Poelman
889325b496
Name unnamed typedef struct {...} to fix MSVC error
...
Compile with latest MSVC 16.6.0 Preview Release, got error message:
> osgPlugins\x\types.h(41,20): error C7626: unnamed class used in typedef name cannot declare members other than non-static data members, member enumerations, or member classes (compiling source file ...3rdparty\OpenSceneGraph\src\osgPlugins\x\mesh.cpp)
The fix was just to give it a name, which will never be used. I picked Vector_struct, feel free to improve.
2020-04-29 09:45:00 +01:00
Jason Beverage
126623645f
Closing ZipArchive in destructor
2020-04-29 09:25:13 +01:00
Scott Giese
6c908e9081
osgsimplegl3: fix minor typo
2020-04-29 09:18:54 +01:00
Robert Osfield
e4373b0143
Fixed crash during compile traversal
2020-04-29 09:14:01 +01:00
Chris Djali
16a5e019c5
Register option
...
Also make the capitalisation consistent with more plugins
2020-04-25 20:07:03 +01:00
AnyOldName3
597441ca33
Add option to treat all TGA files as TGA 1.0
...
Some files which are malformed TGA 2.0 files are technically valid TGA 1.0 files. For example, an image that just happened to have pixel data matching the TGA 2.0 footer or files created by buggy TGA 2.0 writers and were only ever fed to TGA 1.0 readers.
2020-04-13 20:42:57 +01:00
Scott Giese
864b087b1f
Ignore Visual Studio Code configuration
2020-03-23 16:39:55 +00:00
Philip Lamb
75d03de844
png and tiff plugins do not depend on C++ exceptions.
2020-03-23 11:39:55 +00:00
OpenSceneGraph git repository
1bd75f464a
Merge pull request #918 from LaurensVoerman/proxy-3.6
...
fix bug in ProxyNode with DEFER_LOADING_TO_DATABASE_PAGER
2020-03-13 08:46:29 +00:00
OpenSceneGraph git repository
d501def836
Merge pull request #914 from LaurensVoerman/las_recenter
...
ReaderWriterLAS recenter bug fixed, final batch of points was missed in translating the center point.
2020-03-13 08:36:19 +00:00
Robert Osfield
cdbec116fa
Added arguments to viwer construction to allow better command line control
2020-03-13 08:33:52 +00:00
Laurens Voerman
68c5e6e6ca
fix bug in ProxyNode with DEFER_LOADING_TO_DATABASE_PAGER causing crash when children reorder during load.
2020-03-02 10:48:12 +01:00
Laurens Voerman
638069f93b
ReaderWriterLAS recenter bug fixed, final batch of points was missed in translating the center point.
2020-02-19 09:49:51 +01:00
Robert Osfield
a827840baf
Updated ChangeLog
2020-01-31 11:03:07 +00:00
Robert Osfield
35f3876797
Updates for 3.6.5 release
2020-01-31 11:02:47 +00:00
Robert Osfield
2e0472ba7e
Added mutex lock to avoid threading issues when glyphs are added to a Font from multiple threads
2020-01-31 10:37:25 +00:00
Robert Osfield
36e47d31bd
Updates for 3.6.5-rc3
2020-01-30 19:25:50 +00:00
OpenSceneGraph git repository
994ea4d203
Merge pull request #911 from LaurensVoerman/FbxSdkFix
...
Fix for older versions of fbxsdk without xml or zlib libraries,
2020-01-30 16:30:41 +00:00
Robert Osfield
54ac72a126
Added explicit clean up removeView
2020-01-30 16:21:32 +00:00
Laurens Voerman
6559295768
Fix for older versions of fbxsdk without xml or zlib libraries, fix cmake multiconfig generators (msvc) with irrelevant CMAKE_BUILD_TYPE.
2020-01-30 17:13:14 +01:00
OpenSceneGraph git repository
9b41f260d9
Merge pull request #907 from DeadParrot/OpenSceneGraph-3.6
...
FBX plugin updates / PREFIX-NOTFOUND work-around
2020-01-27 10:11:23 +00:00
Stuart Mentzer
7a442801cd
FBX plugin updates / PREFIX-NOTFOUND work-around
2020-01-26 14:28:56 -05:00
Robert Osfield
f3c615631b
Updater rc number for 3.6.5-rc2, and CHangeLog
2020-01-21 10:11:30 +00:00
Robert Osfield
62cd8850e2
Removed stray space
2020-01-21 09:43:08 +00: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
OpenSceneGraph git repository
5ac3a982ae
Merge pull request #903 from dedowsdi/renderstage
...
Add getPreRenderList, getPostRenderList to RenderStage.
2020-01-21 09:16:51 +00:00
dedowsdi
a90a9a0a15
Add getPreRenderList getPostRenderList to RenderStage.
2020-01-21 11:00:25 +08:00
Daniel Trstenjak
995e849e8a
OcclusionQueryNode: make all usages of 'updateDefaultQueryGeometry' thread safe
2020-01-20 16:44:58 +01: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
Daniel Trstenjak
8fb5ba4a3f
OcclusionQueryNode: reset the test result of the invalid geometry
...
There're cases that the occlusion test result has been retrieved
after the query geometry has been changed, it's the result of the
geometry before the change.
2020-01-20 16:24:24 +01:00
Daniel Trstenjak
3ef5d2b331
OcclusionQueryNode: ensure a valid query geometry
...
If the query geometry is invalid then don't do any occlusion queries and
never traverse the subgraphs.
2020-01-20 16:24:08 +01:00
Daniel Trstenjak
c64b94da2e
OcclusionQueryNode: ensure a consistent value for '_passed'
2020-01-20 16:21:34 +01:00
Robert Osfield
19cf8b46c3
Introduced a QueryGeometry::getQueryResult(const osg::Camera*) method as a more informative replacedment for QueryGeometry::getNumPixels().
2020-01-20 16:15:18 +01:00
OpenSceneGraph git repository
2568d1ac79
Merge pull request #900 from dedowsdi/fix_particle_rotation
...
Fix particle rotation.
2020-01-20 10:37:12 +00:00
dedowsdi
84ee98d9c4
Fix particle rotation.
2020-01-17 18:52:55 +08:00
Robert Osfield
49921bf300
Updated ChangeLog
2020-01-17 09:28:09 +00:00
Robert Osfield
b063f510c1
Moved setting of isftream locale to Model::readOBJ(..) and Model::readMTL(..).
2020-01-17 09:13:27 +00:00
Robert Osfield
396cfca1ae
Added explict setting of local to classic to avoid local platform settings affecting parsing
2020-01-17 08:54:52 +00:00
Robert Osfield
aebc71a113
Updated README.md for 3.6.5-rc1
2020-01-14 16:32:29 +00:00
Robert Osfield
d8896f4bcb
Updated ChangeLog and set rc candidate 1 for 3.6.5-rc1
2020-01-14 16:30:14 +00:00
Robert Osfield
b2b6ee952b
Fixed warnings
2020-01-14 16:29:07 +00:00
Robert Osfield
fbe4e1cf2f
Fixed build warning due to auto_ptr<>
2020-01-14 14:58:06 +00:00
Robert Osfield
2b9c501e18
Fixed workaround for invalid indices
2020-01-14 14:42:01 +00: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
d969516595
Added encoding and font setting to dxfText as a first step towards making these user controllable to enble handling of non default settings
2020-01-13 09:58:47 +00:00
Robert Osfield
457d12d9b2
Added creation of image directories when required
2020-01-11 14:39:46 +00:00
Robert Osfield
61c7ee76c5
Fixed handling of _autoScaleTransitionWidthRatio<=0.0
2020-01-10 10:12:13 +00:00
Robert Osfield
605821e655
Implemented TextBase::compileGLObjects() with handling of VAO/VBOs to address bugs associated with VAO usage of Text.
2020-01-07 11:12:18 +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
OpenSceneGraph git repository
8551f25da0
Merge pull request #887 from limbolily/patch-1
...
Fix navagation error about Android GLES2 example.
2020-01-06 10:27:18 +00:00
limbolily
315031fa3b
Fix navagation error about Android GLES2 example.
...
Android GLES2 example use event queue without initializing window rectangle with graphics context,that produce navigation error.
2020-01-06 14:48:34 +08:00
Michael Danilov
f4fe1e5cec
Fix #877 "Shift key stuck if both shifts switch keymap"
...
Adapted the patch from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687332
2019-12-23 15:07:14 +00:00
Robert Osfield
7e8665308d
Adopted CMake's FindDCMTK.cmake variables
2019-12-23 14:53:17 +00:00
OpenSceneGraph git repository
c50b699992
Merge pull request #874 from blobfish/occt7.4
...
Occt7.4
2019-12-22 12:29:47 +00:00
blobfish
cd5740e98f
Plugins: OpenCasCade: Adding 'std' prefix where needed. See Following.
...
Prior to 7.4, occt had a 'using namespace std' in a header file that
was polluting dependent projects. They have since fixed it and so these
changes are required.
2019-12-19 12:41:56 -05:00
blobfish
023bfb8bbb
Plugins: Cmake: OpenCasCade: Changing header used for include directory search. See Following.
...
BRepMesh.hxx is gone in occt 7.4. Now searching for Standard_Version.hxx, which should be more consistent.
2019-12-19 10:16:09 -05:00
Robert Osfield
c5ff9e63df
Added classic locale setting to avoid local setting of locale affecting the GLSL code generated.
2019-12-18 14:25:07 +00:00
Robert Osfield
e5e5ea6239
Updated ChangeLog
2019-12-16 17:10:39 +00:00
Robert Osfield
9ae47b921b
Added automatically removal from the OjbectCache when a object or it's subgraph contain Texture that no longer have an osg::Image.
2019-12-16 16:51:16 +00:00
OpenSceneGraph git repository
994b066329
Merge pull request #871 from LaurensVoerman/commit_tgaFix
...
fix debug compile error for ReaderWriterTGA
2019-12-16 11:54:12 +00:00
Laurens Voerman
ad82aea2e3
fix debug compile error for ReaderWriterTGA
2019-12-16 11:06:06 +01:00
OpenSceneGraph git repository
5f2a3ef76f
Merge pull request #870 from eligovision/OpenSceneGraph-3.6_glext_fix
...
GLExtensions's isPBOSupported and isVAOSupported flags fixed
2019-12-16 09:40:30 +00:00
OpenSceneGraph git repository
2e7a7d786a
Merge pull request #869 from eligovision/OpenSceneGraph-3.6_glext
...
Added FBO GL extensions (useful for mobile VR etc.)
2019-12-16 09:40:00 +00:00
konstantin.matveyev
67523373a9
GLExtensions's isPBOSupported and isVAOSupported flags fixed for GLES2+GLES3 configuration
2019-12-13 19:52:10 +03:00
konstantin.matveyev
f38fa9e9c3
GLExtensions's isInvalidateFramebufferSupported flag improved
2019-12-13 19:45:42 +03:00
PntAndCnt
99b2fffa7c
Fontconfig should be external library.
...
Add Fontconfig to TARGET_LIBRARIES cause osg3::osgText target looking for
openscegraph-Fontconfig-import-targets.cmake, which doesn't exists.
2019-12-13 11:11:44 +00:00
PntAndCnt
3fbf24759f
Fix a typo and invisible 3dtext in examples/osgtext.
...
Second text alignment is wrong when "--alignment" specified.
3D text radius is too small, only SCREEN_COORDS can be seen.
Text position should multiply radius.
2019-12-13 10:23:47 +00:00
Kent
d215b255c4
Mered fix for internalFormat
2019-12-13 10:03:52 +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
Dmitry Marakasov
27e3f57da2
Add FreeBSD-specific code bits for pthread_setaffinity_np support
2019-12-12 13:58:23 +00:00
Robert Osfield
56835cf821
Fix linking with Xinerama
2019-12-12 13:25:44 +00:00
OpenSceneGraph git repository
445596e59c
Merge pull request #861 from aluaces/default-ffmpeg
...
Set ffmpeg as the default plugin for video files.
2019-12-12 13:09:33 +00:00
elsid
c0ea4c6310
Fix clang 8 & libc++ build errors
...
Replace operators for implicit type conversion by explicit data() method to
access implementation pointer and subscript operator to access element by
index just like in std::vector.
src/osgPlugins/tga/ReaderWriterTGA.cpp:455:22: error: use of overloaded operator '==' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'long')
if (colormap == NULL)
~~~~~~~~ ^ ~~~~
src/osgPlugins/tga/ReaderWriterTGA.cpp:525:16: error: use of overloaded operator '==' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'long')
if (buffer == NULL || linebuf == NULL)
~~~~~~ ^ ~~~~
src/osgPlugins/tga/ReaderWriterTGA.cpp:525:35: error: use of overloaded operator '==' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'long')
if (buffer == NULL || linebuf == NULL)
~~~~~~~ ^ ~~~~
src/osgPlugins/tga/ReaderWriterTGA.cpp:548:30: error: use of overloaded operator '==' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'long')
if (formattedMap == NULL)
~~~~~~~~~~~~ ^ ~~~~
src/osgPlugins/tga/ReaderWriterTGA.cpp:574:40: error: use of overloaded operator '[]' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'int')
index = linebuf[x];
~~~~~~~^~
src/osgPlugins/tga/ReaderWriterTGA.cpp:577:50: error: use of overloaded operator '+' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'int')
index = getInt16(linebuf + x * 2);
~~~~~~~ ^ ~~~~~
src/osgPlugins/tga/ReaderWriterTGA.cpp:580:50: error: use of overloaded operator '+' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'int')
index = getInt24(linebuf + x * 3);
~~~~~~~ ^ ~~~~~
src/osgPlugins/tga/ReaderWriterTGA.cpp:583:50: error: use of overloaded operator '+' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'int')
index = getInt32(linebuf + x * 4);
~~~~~~~ ^ ~~~~~
src/osgPlugins/tga/ReaderWriterTGA.cpp:592:72: error: use of overloaded operator '+' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'int')
(dest + adjustedX * format)[i] = (formattedMap + index * format)[i];
~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
src/osgPlugins/tga/ReaderWriterTGA.cpp:626:30: error: use of overloaded operator '==' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'long')
if (formattedMap == NULL)
~~~~~~~~~~~~ ^ ~~~~
src/osgPlugins/tga/ReaderWriterTGA.cpp:642:21: error: use of overloaded operator '==' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'long')
if (buf == NULL)
~~~ ^ ~~~~
src/osgPlugins/tga/ReaderWriterTGA.cpp:664:44: error: use of overloaded operator '[]' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'int')
index = linebuf[x];
~~~~~~~^~
src/osgPlugins/tga/ReaderWriterTGA.cpp:667:54: error: use of overloaded operator '+' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'int')
index = getInt16(linebuf + x * 2);
~~~~~~~ ^ ~~~~~
src/osgPlugins/tga/ReaderWriterTGA.cpp:670:54: error: use of overloaded operator '+' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'int')
index = getInt24(linebuf + x * 3);
~~~~~~~ ^ ~~~~~
src/osgPlugins/tga/ReaderWriterTGA.cpp:673:54: error: use of overloaded operator '+' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'int')
index = getInt32(linebuf + x * 4);
~~~~~~~ ^ ~~~~~
src/osgPlugins/tga/ReaderWriterTGA.cpp:688:76: error: use of overloaded operator '+' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'int')
(dest + adjustedX * format)[i] = (formattedMap + index * format)[i];
~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~
src/osgPlugins/tga/ReaderWriterTGA.cpp:708:21: error: use of overloaded operator '==' is ambiguous (with operand types 'SafeArray<unsigned char>' and 'long')
if (buf == NULL)
~~~ ^ ~~~~
17 errors generated.
2019-12-12 11:29:41 +00:00
OpenSceneGraph git repository
ddea94b41c
Fixed indentation, replacing tabs with spaces
2019-12-12 11:13:49 +00:00
Tim Moore
5f1e33fcb3
Fix bug in matrix transpose() and transpose3x3
...
The diagonal elements were not copied from the source matrix.
2019-12-12 10:40:41 +00:00
flashk
46e17699b3
Support reading RGB float DDS images
...
The DDS plugin is not able to load floating point RGB images saved out by itself. There doesn't appear to be a fourcc code for RGB float/half-float data, so I added the appropriate entries to the RGBFormat table so the images can be loaded properly.
2019-12-12 10:38:40 +00:00
OpenSceneGraph git repository
38807c4bb8
Merge pull request #851 from LaurensVoerman/submitCpSubImg
...
fix copySubImage crash on compressed files
2019-12-12 10:08:32 +00:00
DCFennell
987521ba9c
GL_CLAMP_VERTEX_COLOR and GL_CLAMP_FRAGMENT_COLOR deprecated in GL core profile according to OpenGL 4.5 specification.
2019-12-12 09:40:02 +00:00
Johannes Pabst
6776cc2c63
Fix: LuaCallbackObject could form circular references to LuaScriptEngine that prevented its destruction. Destruction of LuaScriptEngine now disarms all callbacks into Lua.
2019-12-12 09:24:19 +00:00
Riccardo Corsi
3fe2e5a9e0
Fbx Plugin: added plugin option to set the target axis system. Default left to OpenGL.
2019-12-12 09:19:59 +00:00
grdowns
0d94d8e5a6
Add vcpkg installation instructions
2019-12-12 09:14:26 +00:00
OpenSceneGraph git repository
c8e283cfe9
Merge pull request #837 from LaurensVoerman/carbonFix
...
fix apple carbon reference
2019-12-11 17:51:02 +00:00
OpenSceneGraph git repository
b1314c0fb8
Merge pull request #833 from cj-mcdonald/osga-fix
...
Update ReaderWriterOSGA.cpp
2019-12-11 17:07:27 +00:00
Guilhem Saurel
a86b90ca4a
fix dae readme
2019-12-11 17:01:02 +00:00
OpenSceneGraph git repository
bc3372fda0
Merge pull request #828 from eligovision/OpenSceneGraph-3.6_ios_build_fix
...
Fix build iOS: when using Toolchain or building with Makefiles (not X…
2019-12-11 16:58:50 +00:00
OpenSceneGraph git repository
6477397b95
Merge pull request #822 from mp3butcher/patch-32
...
optimize indexed color DDS conversion
2019-12-11 16:47:44 +00:00
Alberto Luaces
8f6eff9de5
Set ffmpeg as the default plugin for video files.
...
As xine is not used anymore, there is no plugin in charge of loading
video files, and osgmovie and other programs are not able to open
them.
If ffmpeg is present, it is registered for opening video files.
2019-12-04 22:16:25 +01:00
Laurens Voerman
c4e7a07367
fix copySubImage crash on compressed files
2019-11-01 16:45:16 +01:00
Laurens Voerman
23b7c4d47d
fix apple carbon reference
2019-09-11 10:22:16 +02:00
Colin McDonald
a9900712a4
Update ReaderWriterOSGA.cpp
...
Fix typo in osga archives which stops node files working
2019-09-02 17:43:38 +01:00
Konstantin S. Matveyev
6774f77779
Fix build iOS: when using Toolchain or building with Makefiles (not Xcode)
2019-08-23 18:35:49 +03:00
Julien Valentin
5516f86f9e
use memcpy instead of union
2019-08-22 18:16:43 +02:00
Julien Valentin
a9546da368
optimize conversion with a union
2019-08-22 18:15:46 +02:00
Robert Osfield
415925b024
Removed exlict keyword to address build problems with VS older than 2015.
2019-08-22 14:50:56 +01:00
Remo E
30aae63c3b
Debugging: Hint to debug LoadLibrary issues
...
This helps to debug loading dynamic libraries in an environment without implemented "dlopen". For example emscripten with static compiled OSG.
2019-08-22 13:48:01 +01:00
Robert Osfield
694b1c3d32
Merge branch 'OpenSceneGraph-3.6' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.6
2019-08-17 20:04:38 +01:00
OpenSceneGraph git repository
a2436fa8b5
Merge pull request #820 from Capostrophic/dds
...
DDS plugin: add support for DDPF_PALETTEINDEXED8 pixel format reading
2019-08-17 20:04:30 +01:00
Björn Blissing
64d9b51f91
Fixed spelling error in warning message
2019-08-17 19:50:59 +01:00
capostrophic
a3b507bb01
Fix memory leaks
2019-08-17 15:28:09 +03:00
capostrophic
cbac09902d
Add support for DDPF_PALETTEINDEXED8 pixel format reading
2019-08-17 04:15:23 +03:00
Robert Osfield
515a0bbe65
Added TKXCAF to find package list
2019-08-16 10:27:28 +01:00
Julien Valentin
0c142215b9
remove return of local pointer
2019-08-16 10:15:46 +01:00
OpenSceneGraph git repository
dcc6dce8e3
Merge pull request #818 from mp3butcher/patch-31
...
fix comment block CMake syntax
2019-08-16 09:35:00 +01:00
Julien Valentin
7b3d1dff25
fix cmake block comment syntax
2019-08-15 20:46:52 +02:00
Julien Valentin
842b334803
remove unproperly parsed CMake comment
...
https://github.com/openscenegraph/OpenSceneGraph/issues/812
2019-08-15 20:27:05 +02:00
OpenSceneGraph git repository
8f5695eafb
Merge pull request #808 from 640kb/OpenSceneGraph-3.6
...
las plugin: fix linking against static boost library under windows
2019-08-07 10:56:59 +01:00
Daniel Wendt
0a704161fe
las plugin: fix linking against static boost library under windows
...
Signed-off-by: Daniel Wendt <daniel.wendt@linux.com >
2019-08-07 10:36:03 +02: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
92abaca210
Replaced GL_QUADS usage with GL_TRIANGLE_STRIP
2019-07-29 13:01:00 +01:00
Robert Osfield
0e5bb43841
Refactored the mesh setup to use GL_TRIANGLE_STIP instead of GL_QUADS
2019-07-29 12:30:41 +01:00
Robert Osfield
b3808ef89c
Updated version to 3.6.5
2019-07-29 09:59:57 +01:00
OpenSceneGraph git repository
99847c3ef2
Merge pull request #804 from eligovision/OpenSceneGraph-3.6_GLQUADS
...
[*] ParticleSystem: Use GL_TRIANGLES instead if GL_QUADS when GL{1,2}…
2019-07-29 08:57:56 +01:00
Konstantin S. Matveyev
0a6bea870c
[*] ParticleSystem: Use GL_TRIANGLES instead if GL_QUADS when GL{1,2} or GLES1 are unavailable
2019-07-26 21:26:31 +03:00
OpenSceneGraph git repository
312f640a4a
Merge pull request #802 from eligovision/OpenSceneGraph-3.6_osgtext_fc
...
OSG_TEXT_USE_FONTCONFIG cmake option added: Set to ON to enable attem…
2019-07-26 12:54:16 +01:00
konstantin.matveyev
2b0105f875
OSG_TEXT_USE_FONTCONFIG additional check needed
2019-07-26 14:40:47 +03:00
konstantin.matveyev
b0c89b137d
OSG_TEXT_USE_FONTCONFIG cmake option added: Set to ON to enable attempt to use FontConfig in osgText; Disabled by default for iOS and Android
2019-07-26 14:09:36 +03:00
Robert Osfield
b2daa32420
UPdated for 3.6.3-rc9
2019-07-25 15:10:36 +01:00
Robert Osfield
bf208e1d10
Changed the #extension enable
2019-07-25 14:58:17 +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
e6f6de640a
Added readObject() implementations
2019-07-25 12:48:21 +01:00
Robert Osfield
00679c7631
Added ReaderWriterOBJ::readObject(..) implementations to address issue with using osgconv
2019-07-25 10:39:34 +01:00
Robert Osfield
4e126469fc
Updates for 3.6.4-rc8
2019-07-22 19:22:16 +01:00
Robert Osfield
ccbc632afc
Added handling of iOS and Android to make sure FontConfig is only used for Desktop builds
2019-07-22 17:20:10 +01:00
Robert Osfield
060a641c2b
Updated for rc7
2019-07-19 09:20:50 +01:00
OpenSceneGraph git repository
cd124228fd
Merge pull request #797 from wangii/OpenSceneGraph-3.6
...
fix u64 and i64 allocation, setArray bug
2019-07-19 09:10:02 +01:00
Linan Wang
4ad34877d2
fix typo
2019-07-19 14:06:20 +08:00
Linan Wang
2a8b760833
fix u64 and i64 allocation, setArray bug
2019-07-19 13:28:25 +08:00
Robert Osfield
8dea265a91
Fixed indentation
2019-07-18 14:08:41 +01:00
Long Huan
7ec8b65ec4
Add OutputTextureFiles Option
...
Add OutputTextureFiles Option support Write out the texture images to file
2019-07-18 14:00:11 +01:00
Long Huan
c6c49c3745
Update OBJWriterNodeVisitor.cpp
2019-07-18 13:51:10 +01:00
Long Huan
acac960227
fix obj-Plugin export texture file
...
Fix obj-plugin to support export texture file
2019-07-18 13:50:56 +01:00
Robert Osfield
da6b4df00a
Added handling of zero radius models
2019-07-18 12:18:04 +01:00
Robert Osfield
7f370bdfc6
Removed references OpenVRML plugin
2019-07-18 11:16:49 +01:00
Robert Osfield
587fd6a022
Removed vrml plugin from build as OpenVRML plugin relies on no longer supported functionality
2019-07-18 11:16:49 +01:00
Robert Osfield
730e6ad8f5
Added calls to curl_global_init and curl_global_cleanup to improve the robustness of threaded curl plugin usage
2019-07-18 10:34:53 +01:00
Robert Osfield
a8017cb807
Updated for rc6
2019-07-16 13:50:02 +01:00
OpenSceneGraph git repository
ac6b082963
Merge pull request #789 from rhabacker/OpenSceneGraph-3.6
...
cmake: Add find_package module for fontconfig
2019-07-16 11:53:24 +01:00
OpenSceneGraph git repository
61957024fc
Merge pull request #791 from aluaces/mingw-osg_windowing_system
...
Avoid that mingw cross-compilation choosing X11 as the windowing system.
2019-07-16 11:32:10 +01:00
Alberto Luaces
117fd42efc
Avoid that mingw cross-compilation choosing X11 as the windowing system.
...
I have moved the PROJECT stanza before the conditionals, because
otherwise expressions like IF(MINGW) always fail.
2019-07-16 11:08:25 +02:00
Ralf Habacker
387e66911b
cmake: Add summary information to get an idea of what dependencies might be missing
2019-07-15 19:00:55 +02:00
Ralf Habacker
dc9f6f2751
cmake: Added find_package module for fontconfig which is not available with cmake < 3.14
...
This file has been taken from cmake 3.14
2019-07-15 19:00:25 +02:00
Robert Osfield
8a4cdcf264
Updated for 3.6.4-rc5
2019-07-15 17:06:51 +01:00
Robert Osfield
02d91a3eea
Adopted the matrix transformation code from Text
2019-07-15 16:16:45 +01:00
Robert Osfield
59f417f1e0
Added test of picking
2019-07-15 16:13:57 +01:00
Robert Osfield
9ad7ae5524
Cuietened down the reporting of failure to find fontconfig
2019-07-15 15:05:05 +01:00
OpenSceneGraph git repository
0c7fda710c
Merge pull request #788 from rhabacker/3.6-obj-plugin-fixes
...
3.6 obj plugin fixes
2019-07-15 14:11:11 +01:00
Ralf Habacker
cbf5b14f61
obj plugin: Fix bug not adding first vertex index on writing GL_LINExxx array types
2019-07-15 14:39:02 +02:00
Ralf Habacker
2e33cf0abc
obj plugin: Fix not writing material shininess
2019-07-15 14:39:02 +02:00
Ralf Habacker
361ea5d15d
obj plugin: add option "NsIfNotPresent=" for setting the specular exponent of a material if not present
2019-07-15 14:39:02 +02:00
Ralf Habacker
a3b2ac63b3
obj plugin: Fix bug not using specular color (Ks) for illumination mode > 2
...
See paragraph "Illumination models" at http://paulbourke.net/dataformats/mtl/ for details.
2019-07-15 14:26:31 +02:00
OpenSceneGraph git repository
3f9ab5689c
Merge pull request #786 from rhabacker/OpenSceneGraph-3.6
...
Fix 'Incorrect default location for true type fonts on openSUSE'
2019-07-15 11:14:47 +01:00
Ralf Habacker
af5a794a82
Fix 'Incorrect default location for true type fonts on openSUSE'
...
https://github.com/openscenegraph/OpenSceneGraph/issues/778
2019-07-15 11:08:31 +02:00
Robert Osfield
faa2b1d964
Added check against any empty _segments to avoid undefined behaviour
2019-07-12 17:00:20 +01:00
Robert Osfield
ab95a79540
Removed debug info for constructor and destructors
2019-07-12 16:16:43 +01:00
Robert Osfield
079cf6c090
Added FrameBufferAttachment::resizeGLObjectBuffers(..) and releaseGLObjects(..) methods
2019-07-12 16:09:12 +01:00
StefanBruens
7dbcb4b7d3
Fix wxWidgets COMPONENTS specification, deprecated usage broken with CMake 3.14
...
Current FindWxWidgets.cmake allows to specify OPTIONAL components, unfortunately
this broke the (deprecated) use of wxWidgets_USE_LIBS.
Fixes : #779
2019-07-03 07:24:03 +01:00
Robert Osfield
634bd7f12d
Updated ChangeLog for rc4
2019-07-02 20:21:45 +01:00
Robert Osfield
384cc25380
Updated SO number to refect change to the Drawable header inline method status
2019-07-02 20:21:05 +01:00
Robert Osfield
b43a59aa5d
Updated in prep for 3.6.4-rc4
2019-07-02 20:19:05 +01:00
Colin McDonald
e135a85c1a
Trivial change to src/osgSim/LineOfSight.cpp to quieten down an info message in DatabaseCacheReadCallback::readNodeFile.
2019-07-01 16:15:21 +01:00
Robert Osfield
2f914506e9
Updated release candidate number to 4 in prep for 3.6.4-rc4 release.
2019-07-01 16:12:53 +01:00
Robert Osfield
e5c951f5a3
Removed stray tab
2019-07-01 15:50:20 +01:00
jimcamel
9566fb7acf
Fixed bug where FFmpeg Image Stream would stop if paused for more than 10 seconds
...
The FFmpeg image stream class uses a 10 second timeout between frames to determine if the stream is dead and if so closes it. However, the timeout is determined using the variable lastUpdateTS which stores the last time the publishNewFrame function was called, and if the video has been playing and then is paused for longer than 10 seconds, when it is unpaused this timeout will fire and the stream will be closed, stopping the video playing beyond what has been buffered.
To stop this timeout from happening before the video starts playing, the timeout checks to see if the lastUpdateTS > 0 (at initialization it is set to 0). In this fix, we simply set the value of lastUpdateTS to 0 when the video is unpaused, this will force the check to skip on unpause, and from then on lastUpdateTS will have the correct value again.
The lastUpdateTS variable is private and only used for this one function, so there should be no side effects from the change.
2019-07-01 15:50:14 +01:00
Riccardo Corsi
511f7be394
Bugfix due to copy-paste typo which prevented multi uv channel mesh to be imported correctly.
2019-07-01 15:11:23 +01:00
Robert Osfield
56e2a03378
Fixed layout
2019-07-01 13:43:29 +01:00
Robert Osfield
5fc917881d
Merge branch 'patch-27' of https://github.com/mp3butcher/OpenSceneGraph into patch-27
2019-07-01 13:42:33 +01:00
Alexey Galitsyn
00e2930fb7
Fix not checking num lock state when remapping keypad keys on Windows.
...
Num lock state was never checked during remapping keypad keys on Windows.
Now when num lock is active, keypad numeric keys and keypad delimeter key
should work as expected (return KEY_KP_0 to KEY_KP_9 and KEY_KP_Decimal
respectivly).
2019-07-01 13:39:33 +01:00
Robert Osfield
fe9c235806
Restructed the setting of the default osgDB::Options so it doesn't override the ObjectCacheHint setting when a user specified osgDB::Options object is passed in.
2019-07-01 12:56:36 +01:00
Robert Osfield
8d505e80a9
Merge branch 'OpenSceneGraph-3.6_vas' of https://github.com/eligovision/OpenSceneGraph into OpenSceneGraph-3.6_vas
2019-07-01 12:33:21 +01:00
Robert Osfield
b6cb11b655
Couldn't resolve warnings coming from the FBX headers so had to suppress warnings.
2019-07-01 12:18:21 +01:00
Laurens Voerman
4b6d9287bc
replaced "if (apm || !apm->valid())"
2019-06-14 15:46:55 +01:00
Laurens Voerman
b41c5bde96
fix typo in header guard.
2019-06-14 15:38:38 +01:00
Laurens Voerman
2ac97b5ece
fix typo in ReaderWriterFBX: writObject -> writeObject
2019-06-14 15:36:18 +01:00
OpenSceneGraph git repository
21c0affe66
Merge pull request #760 from LaurensVoerman/readObject
...
implement readObject for all relevant readerWriters
2019-06-14 15:28:46 +01:00
OpenSceneGraph git repository
68fc6ca610
Merge pull request #759 from AnyOldName3/more-tga
...
Various TGA improvements
2019-06-14 15:01:15 +01:00
OpenSceneGraph git repository
52edc4af8d
Merge pull request #758 from LaurensVoerman/osgt_indentation
...
fix indentation for osgt files for windows dynamic library build.
2019-06-14 14:32:31 +01:00
OpenSceneGraph git repository
c1757aadb4
Merge pull request #757 from LaurensVoerman/rendererNoRefCount
...
fix compile error if OSGUTIL_RENDERBACKEND_USE_REF_PTR not defined in include/osgUtil/RenderLeaf
2019-06-14 14:29:32 +01:00
Julien Valentin
cfd190a9fa
update traversedebug preventing traversal to disable OQN
2019-06-08 01:17:21 +02:00
Julien Valentin
5311d6fb6b
add enable check in traverseQuery
2019-05-31 15:27:18 +02:00
Konstantin S. Matveyev
e31afbf78a
typo fix
2019-05-15 14:35:39 +03:00
valid-ptr
be6bc39016
VertexArrayState's lazy disabling of vertex attributes mechanism major fix: _vertexAttribArrays must be 'shared'
2019-05-15 14:32:09 +03:00
Laurens Voerman
38727ed4b4
implement readObject for all relevant readerWriters
2019-05-14 14:25:30 +02:00
AnyOldName3
8491fd780d
Add support for Targa type 3 and 11 images (greyscale)
2019-05-13 21:56:07 +01:00
Laurens Voerman
3ccdc66717
fix indentation for osgt files for windows dynamic library build.
2019-05-13 17:25:29 +02:00
Laurens Voerman
2f71c55da9
fix compile error if OSGUTIL_RENDERBACKEND_USE_REF_PTR not defined in include/osgUtil/RenderLeaf
2019-05-13 17:02:53 +02:00
AnyOldName3
7b6135f0f7
Avoid wasting memory loading optional TGA fields as RLE image data
2019-05-11 00:00:41 +01:00
AnyOldName3
05e896af7e
Add support for type 9 (colour mapped, compressed) TGA images.
2019-05-10 00:04:49 +01:00
AnyOldName3
33bf30cd8c
Check TGA footer if present to see if attribute channel contains alpha data
2019-05-10 00:04:08 +01:00
Robert Osfield
fd014e3b52
Merged ELSEIF fix from master
2019-05-08 10:17:06 +01:00
Laurens Voerman
3f0c1daaa2
add missing E to ELSIF
...
# Conflicts:
# src/osgViewer/CMakeLists.txt
2019-05-08 09:50:17 +01:00
AnyOldName3
c9fc6e0f79
Consistently check for failed memory allocation
2019-05-08 00:59:40 +01:00
AnyOldName3
348fbfe410
Switch to using safe buffers (fixing a memory leak)
2019-05-08 00:56:42 +01:00
AnyOldName3
47ec2c7951
Cleanup TGA header interpretation
...
* Read the colour map `First Entry Index` field. If non-zero, error out as the format specification is vague as to what it does and different readers interpret it differently.
* Rename the variable that holds the colour map entry size as the existing name could be misinterpreted as the size of the pointer, not the thing pointed to.
* Handle images reporting themselves as 15 bits per pixel in the same way as Truevision's example code.
2019-05-04 01:19:31 +01:00
Robert Osfield
6ea8ebf25a
Fixed indentation
2019-04-26 10:46:04 +01:00
Wei Lisi
2b65555d5f
remove tabs
2019-04-26 10:44:04 +01:00
flashk
2439679b0c
Update fbxRMesh.cpp
2019-04-26 10:43:04 +01:00
Wei Lisi
0cbf839425
clean up
2019-04-26 10:41:05 +01:00
Wei Lisi
82cae6daf4
fix fbx hierarchy issue
2019-04-26 10:41:05 +01:00
Derek Quam
6767ff540b
Fix two bugs introduced when removing the Geode visitor from the FBX
...
exporter.
In the Geometry visitor, use getNodePath to check if the Geometry node
is root instead of getNumParents.
Reset the state inside buildFaces to prevent duplication when a
Group is inside of Group.
2019-04-26 10:30:24 +01:00
Derek Quam
69ebfecfcc
Fix duplicate geometries in FBX export.
...
The fix to allow the export of orphaned Geometry nodes accidentally
duplicated those geometry nodes in 'normal' scene trees. This commit
refactors the code to rely on the visitor to traverse the Geometry as
opposed to traversing the Geometry in the Geode visit and the Geometry
visit.
2019-04-26 10:30:15 +01:00
OpenSceneGraph git repository
3834172342
Merge pull request #745 from eligovision/OpenSceneGraph-3.6_cmake
...
CMake: OSG_WINDOWING_SYSTEM fixed
2019-04-26 09:36:51 +01:00
Konstantin S. Matveyev
036bb7b472
CMake: Win32 option added to OSG_WINDOWING_SYSTEM
2019-04-14 00:47:36 +03:00
valid-ptr
b5dff94107
CMake: OSG_WINDOWING_SYSTEM fixed; FORCE flag removed
2019-04-14 00:08:09 +03:00
Robert Osfield
1784381dc7
cMerge branch 'OpenSceneGraph-3.6' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.6
2019-04-12 13:57:35 +01:00
Robert Osfield
9e18a7542b
Added ability to set which tree rendering techniques to build (via --featuers bitmask command line) and
...
output scene to using -o outputfilename.extension command line.
2019-04-12 13:55:39 +01:00
OpenSceneGraph git repository
1c6fd4da9b
Merge pull request #737 from eligovision/OpenSceneGraph-3.6_android
...
osgDB::DynamicLibrary: local lib loading on Android fixed
2019-04-11 12:42:22 +01:00
Konstantin S. Matveyev
e1b3c78013
osgDB::DynamicLibrary: local lib loading on Android fixed
2019-03-29 16:32:58 +03:00
Jeongseok Lee
f263ad29db
Update CMakeModules/FindCOLLADA.cmake
...
Keeping old style operator to align with OSG CMake 2.8.0 support.
Co-Authored-By: eknabe <44489094+eknabe@users.noreply.github.com >
2019-03-26 08:05:06 +00:00
Robert Osfield
dd32ee2945
Added basic load and compile stats collection enabled by --stats command line.
2019-03-25 14:09:04 +00:00
Robert Osfield
0b5cb65cdd
Added a call to the CullSetting::readCommnadLine(..) to make sure the --NO_CULLING and --VIEW_FRUSTUM, --VIEW_FRUSTUM_SIDES command line parameters are honoured
2019-03-25 12:42:28 +00:00
Robert Osfield
a8e78fde99
Added --NO_CULLING, --VIEW_FRSUTUM and --VIEW_FRUSTUM_SIDES/--vfs command line options for setting the Camera CullingMode value
2019-03-25 12:40:41 +00:00
Jeongseok Lee
43b274f65c
Update comments and fix cmake version check
2019-03-21 08:40:33 +00:00
OpenSceneGraph git repository
f97ea3577d
Merge pull request #727 from ccochran/OpenSceneGraph-3.6
...
Fixes Android build for osgViewer.
2019-03-19 14:33:42 +00:00
Colin Cochran
9726617b6e
Fixes osgViewer CMake build for Android.
...
Adds FORCE to overwrite the cached OWG_WINDOWING_SYSTEM variable.
2019-03-18 08:55:05 -06:00
Colin Cochran
997276d359
Fixes Android build for osgViewer.
...
Previously, cmake attempted to build cocoa windowing system source even if MAKE_SYSTEM_NAME was set to ANDROID.
2019-03-16 11:59:28 -06:00
Capostrophic
dceb353fe6
Replace redundant asCullVisitor usage with a type check
2019-03-16 12:29:39 +00:00
OpenSceneGraph git repository
d8600411bd
Merge pull request #726 from Capostrophic/linearinterpolator
...
Override default behavior for linear vector interpolations
2019-03-16 11:30:21 +00:00
Capostrophic
066c272f7a
Override default behavior for linear vector interpolations
2019-03-15 21:29:13 +03:00
Chris Djali
7ebe56291f
Resolve OpenGL error caused by confusion between geometry shader implementations.
...
There are two types of Geometry Shaders in OpenGL. One is provided by `GL_EXT_geometry_shader4` and `GL_ARB_geometry_shader4` and requires that certain parameters are set with calls to `glProgramParameteri` before the program is linked. The other is provided by OpenGL 3.2 as a core feature and by the GLES extensions `GL_EXT_geometry_shader` and `GL_OES_geometry_shader` and requires these parameters to be set in the GLSL source itself.
The value of `isGeometryShader4Supported` is being used to determine if the `glProgramParameteri` calls should occur, so it should only be `true` when one of the extensions requiring them is present.
2019-03-14 13:51:44 +00:00
flashk
c89a7fe67c
Update StackedTransform.cpp
2019-03-14 11:25:11 +00:00
Capostrophic
b14bb21801
Avoid unnecessary matrix type conversion in osgParticle
2019-03-14 10:47:08 +00:00
Robert Osfield
37eae8c719
Removed the optional code path hack
2019-03-14 10:46:59 +00:00
Capostrophic
12b298130a
Add OSG_USE_FLOAT_QUAT build option to use single precision quaternions
2019-03-14 10:46:42 +00:00
OpenSceneGraph git repository
c548289ac1
Merge pull request #724 from AnyOldName3/more-gitignore
...
Add missing files to .gitignore
2019-03-14 09:39:40 +00:00
AnyOldName3
2ebde09aff
Add Visual Studio cache/options directory to .gitignore
2019-03-13 23:13:41 +00:00
AnyOldName3
049f88325a
Add missing documentation build files to .gitignore
2019-03-13 23:13:00 +00:00
Robert Osfield
cc68d7f151
Streamline the animation path completion message
2019-02-25 15:09:12 +00:00
Daniel Trstenjak
5770774e00
OcclusionQueryNode: reset the test result of the invalid geometry
...
There're cases that the occlusion test result has been retrieved
after the query geometry has been changed, it's the result of the
geometry before the change.
2019-02-25 15:08:38 +00:00
Daniel Trstenjak
5624a22fe4
OcclusionQueryNode: ensure a valid query geometry
...
If the query geometry is invalid then don't do any occlusion queries and
never traverse the subgraphs.
2019-02-21 17:34:26 +00:00
Björn Blissing
9905b90a18
Add search location for textures in FBX plugin
...
The FBX plugin may fail texture lookup even if the texture is located in
the same folder as the model file. This change tries, as a last resort,
to check if the texture filename is available in the same folder as the
model.
2019-02-20 17:19:04 +00:00
OpenSceneGraph git repository
6d5c6ad6cc
Merge pull request #704 from mp3butcher/patch-24
...
uncomment INLINE_DRAWABLE_DRAW
2019-02-20 16:54:23 +00:00
Robert Osfield
971eba37ad
Added override for broken bindings
2019-02-20 16:31:58 +00:00
Julien Valentin
43574b52c1
uncomment INLINE_DRAWABLE_DRAW
2019-01-28 01:40:35 +01:00
Robert Osfield
625c771641
Updates for 3.6.4-rc3
2019-01-26 19:36:30 +00:00
OpenSceneGraph git repository
1504a54cd8
Merge pull request #702 from mp3butcher/fix36
...
add MeshReindexation flag
2019-01-26 18:21:47 +00:00
Robert Osfield
0f2e9e6557
Added missing {} to fix getPassed() bug introducted by previus commit
2019-01-26 18:10:44 +00:00
Daniel Trstenjak
cd150cbe96
OcclusionQueryNode: ensure a consistent value for '_passed'
2019-01-26 17:42:20 +00:00
Robert Osfield
02d7d980a7
Introduced a QueryGeometry::getQueryResult(const osg::Camera*) method as a more informative replacedment for QueryGeometry::getNumPixels().
2019-01-26 16:33:23 +00:00
Daniel Trstenjak
c8521068a5
OcclusionQueryNode: add resetting of queries
...
If there's a big view change then it might not be appropriate to wait
for '_queryFrameCount' till the next query is issued, because then
geometry might pop into the view after '_queryFrameCount'.
This is especially important for applications not having a constant
frame rate, but just issue a new frame on demand.
2019-01-26 15:22:08 +00:00
mp3butcher
832d8d5228
fix variable name
2019-01-23 17:06:04 +01:00
OpenSceneGraph git repository
bdd0be2f8f
Changed member variable name to be consistent with header
2019-01-23 17:03:27 +01:00
OpenSceneGraph git repository
968a427e00
Changed the member variable to be consistent with the method name.
2019-01-23 17:03:11 +01:00
mp3butcher
b8f9249bea
add a bool parameter to allow forced reindexation of a mesh
2019-01-23 17:02:53 +01:00
Robert Osfield
e2fb88e187
Commented out the reset of the _vertexArrayObject = 0 as it was break later State::resetCurrentVertexArrayStateOnMatch() calls ability to reset the State::_currentVAO when required.
2019-01-23 15:40:13 +00:00
Robert Osfield
749dc86dd3
Fixed typo
2019-01-23 08:52:11 +00:00
Robert Osfield
84bae01643
Added separate test and rest of _currentVAO to State::resetCurrentVertexArrayStateOnMatch(..) method
2019-01-22 20:21:56 +00:00
Robert Osfield
8a5d1b9f44
Changed resetCurrentVertexArrayStateOnMatch() to reset _vas tp _globalVertexArrayState and currentVAO to 0.
2019-01-21 18:15:02 +00:00
Robert Osfield
488b4854b2
Added reset of the State::CurrentVertexArrayState() to prevent the State::_vas becoming a dangling pointer when VertexArrayState objects are deleted.
2019-01-21 17:36:40 +00:00
Robert Osfield
6455159757
Added calling of releaseGLObjects() and resizeGLObjects() to the Camera DrawCallback's to enable the draw callbacks to clean up their own GL objects.
2019-01-19 16:16:53 +00:00
OpenSceneGraph git repository
2e68db5b55
Merge pull request #693 from LaurensVoerman/glObj_C4250
...
fix MSVC warning C4250: inherits 'X' via dominance (94x)
2019-01-17 17:24:22 +00:00
Laurens Voerman
2e29085669
fix MSVC warning C4250: inherits 'X' via dominance (94x)
2019-01-17 16:22:51 +01:00
Robert Osfield
f223fec92d
Added derpecated and thread unsafe warning message to docs of ObjectCache::getgetFromObjectCache()
2019-01-14 11:56:23 +00:00
OpenSceneGraph git repository
cc3cb92ddc
Merge pull request #691 from LaurensVoerman/clrObjCache
...
clear temp objectCache in databaseRequest
2019-01-14 10:23:05 +00:00
Robert Osfield
4dcb2bbf3c
Added using to quieten VS warnings
2019-01-14 09:55:00 +00:00
Laurens Voerman
eeb13d1efc
clear temp objectCache in databaseRequest
2019-01-14 10:24:30 +01:00
Robert Osfield
fe98c3d7f5
Moved resizeGLObjects/releaseGLObjects out of Referenced to avoid multiple inheritance warnings
2019-01-12 11:27:18 +00:00
Robert Osfield
46b07141e8
Added read/writeObject() entry point to FBX plugin.
2019-01-10 09:45:32 +00:00
Robert Osfield
02bfd05d6f
Upated ChangeLog
2019-01-09 10:22:54 +00:00
Robert Osfield
035abfdb71
Updated for 3.6.4-rc2
2019-01-09 10:19:34 +00:00
Robert Osfield
0c99326db3
Added cmake package configuration files to gitignore
2019-01-09 09:51:21 +00:00
Robert Osfield
8103da6ef1
Replaced use of heap with use of stack created ifstream to avoid potential memory leak
2019-01-09 09:51:21 +00:00
Robert Osfield
bd83044c08
Introduced use of ref_ptr<> and private destructor to tighen up memory management and avoid users attempting to inappropriately delete TexCoordRange.
2019-01-09 09:51:21 +00:00
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
5e9be10da6
Merged changes from master
2019-01-07 10:25:13 +00:00
Robert Osfield
820532ddff
Updated rc number for 3.6.4 release candidate
2019-01-04 09:22:12 +00:00
Robert Osfield
6951c44464
Updated ChangeLog and AUTHORS in prep for 3.6.4 work
2019-01-04 09:10:39 +00:00
Robert Osfield
e12049ed47
Added use of sizeof to make code a bit more flexible
2019-01-04 08:14:41 +00:00
Robert Osfield
fd47b84bd7
Restructured the clean up of arrays/primitives and GL objects
2019-01-04 08:14:33 +00:00
Robert Osfield
b7947b13f3
Changed the clean up of the GL objects on destruction so that the destructors of the arrays/primitives themselves do the release rather than have it done explictly in the destructor. This allows arrays/primitives to be shared.
2018-12-31 11:06:45 +00:00
OpenSceneGraph git repository
7a601753e0
Merge pull request #679 from mp3butcher/patch-18
...
setup camera Read/Draw Buffer
2018-12-20 08:46:12 +00:00
Julien Valentin
07e5480b57
setup camera Read/Draw Buffer
...
fix flickering shadows in SingleThread
2018-12-19 18:30:26 +01:00
Robert Osfield
ea1e832d4d
Removed examples from build as it was causing travis to timeout
2018-12-14 09:14:26 +00:00
OpenSceneGraph git repository
da7bf3ff81
Fixed indentation
2018-12-13 14:10:26 +00:00
OpenSceneGraph git repository
a6fbf73f36
Merge pull request #671 from mp3butcher/patch-16
...
remove useless code
2018-12-13 08:31:27 +00:00
OpenSceneGraph git repository
ef8fd268de
Merge pull request #672 from ccochran/OpenSceneGraph-3.6
...
Xcode 9/10 build fixes for OSG 3.6
2018-12-13 08:01:24 +00:00
Julien Valentin
064c39a7f3
remove dead code
2018-12-11 23:56:47 +01:00
Thomas Hogarth
5eb9ab1d75
removed ios simulator reference, adjusted readme
2018-12-10 08:23:04 -07:00
Thomas Hogarth
e8ba57b22f
Improved iOS cmake support for xcode 9.4 and cmake 3.11
2018-12-10 08:22:36 -07:00
OpenSceneGraph git repository
47aa320787
Merge pull request #670 from emminizer/four-byte-utf8
...
osgText::String:createUTF8EncodedString() now supports 4-byte UTF-8 strings (code points over 0x100000)
2018-12-07 14:53:52 +00:00
Daniel Emminizer
3a3ddfce49
osgText::String:createUTF8EncodedString() now supports 4-byte UTF-8 strings (code points over 0x100000).
2018-12-06 14:10:14 -05:00
flashk
dc2aa77d98
Prefer FOURCC pixel format in DDS loader
...
I have found that certain image editing programs export DDS images with both the DDPF_FOURCC and DDPF_RGB pixel format flags. The DDS loader will give preference to the DDPF_RGB flag and try to deduce the format from the RGB bit mask values instead of using the more reliable FOURCC flag. This causes some images to not load, even though the FOURCC flag is supported. I've modified the loader so that it checks for the DDPF_FOURCC flag first, then falls back on deducing the format from the RGB bit masks.
2018-11-23 12:36:45 +00:00
Robert Osfield
aa6cd2d7da
Added, currently commented out, alias for .vsga and .vsgb to help with automatic loading a vsg plugin when .vsga and .vsgb files are encountered.
2018-11-20 14:24:24 +00:00
Robert Osfield
658fd4d19d
Added support for reading and writing images
2018-11-20 14:19:37 +00:00
Robert Osfield
8b4359b77e
Restructed the setting of the OSG_GL_CONTEXT_VERSION to allow script to set it's default value
2018-11-11 10:14:50 +00:00
Robert Osfield
c5d00bc223
Added make clobber target, imported in from the VSG project.
2018-11-09 11:28:57 +00:00
Robert Osfield
1eedae844e
Removed 12 year old workaround that is no longer required and was causing a misleading info message "OpenGL extension '' is not supported." to be reported.
2018-11-09 11:25:16 +00:00
OpenSceneGraph git repository
e819ea9c0e
Replaced tabs with spaces to fix indentation
2018-11-03 16:16:19 +00:00
flashk
15b9a493ed
Fix handling of alpha values in animated gifs
...
The gif loader was incorrectly setting pixels as transparent in certain animated gifs. It was ignoring the disposal method value in the extension block and always overwriting the alpha value in each frame. It is common for some animated gifs to set the disposal method so that the previous alpha value is retained. This patch modifies the loader to respect the disposal method flag.
2018-11-03 16:16:10 +00:00
Robert Osfield
0341d6f873
Removed reprecated C++ usage
2018-11-01 09:13:43 +00:00
Emil Knabe
3577fd9d90
Added support for FBX 2019
2018-10-29 08:25:18 +00:00
OpenSceneGraph git repository
a47294a580
Merge pull request #649 from LaurensVoerman/3.6-dae
...
3.6 dae
2018-10-23 08:44:55 +01:00
flashk
452802b168
Update daeRMaterials.cpp
2018-10-22 09:17:37 +02:00
flashk
5a3f2e287c
Update daeReader.h
2018-10-22 09:17:37 +02:00
Robert Osfield
bf5a88870f
Added check under Windows for a concatinated path that exceeds the MAX_PATH so that it isn't used for file IO operations that could lead to undefined behavior
...
https://github.com/openscenegraph/OpenSceneGraph/issues/634
2018-10-17 15:55:10 +01:00
flashk
8af46a6e98
Update ReaderWriterDAE.cpp
2018-10-17 15:54:54 +01:00
flashk
56617a4bfb
Fix crash in Collada loader
...
The collada loader would crash when processing effects that didn't have a technique defined.
2018-10-12 07:38:59 +01:00
Boris Pek
7eaceb0baa
fix builds with case sensitive includes
...
Tested during cross-compilation for MS Windows using MinGW.
2018-10-10 18:26:43 +01:00
Robert Osfield
8feae585e1
Fixed buld
2018-10-10 13:10:55 +01:00
Antoine Lavenant
fa7843d520
fix apply once
2018-10-10 08:16:41 +01:00
flashk
d48a304569
Fix for HDR DDS images
...
The DDS loader was not applying the correct internal format for certain HDR images (e.g. float/half_float formats)
2018-10-04 09:22:57 +01:00
flashk
ce90a9b2da
osgDB::OutputStream write array optimization
...
I've made a change to osgDB::OutputStream::writeArrayImplementation so that it writes the array data in a single write operation for binary files. This significantly speeds up writing out osgb files for large data sets (e.g. point clouds). osgDB::InputStream already performs a similar optimization when reading array data from binary files.
2018-10-04 09:22:38 +01:00
flashk
273dd046c2
Fix for GifImageStream::setReferenceTime
...
Setting the reference time greater than the duration of a gif would cause a crash. Also, the current reference time is not immediately updated when manually setting the reference time.
2018-10-04 09:22:26 +01:00
flashk
627c3df093
Update ReaderWriterFBX.cpp
2018-10-04 09:22:14 +01:00
flashk
ab372b9ead
Update fbxRMesh.cpp
2018-10-04 09:21:58 +01:00
flashk
247eee2ca1
Update fbxReader.h
2018-10-04 09:21:41 +01:00
flashk
d4bbec4a0c
Fix hardware mipmap generation for cube maps
...
I was getting a black image when enabling hardware mipmap generation on cubemaps. I believe the problem is that the base Texture class is hard coding GL_TEXTURE_2D when enabling mipmap generation, instead of using the target type from the derived class.
2018-10-03 12:00:04 +01:00
Robert Osfield
114c818f2e
Removed unused static variables
2018-10-02 12:21:31 +01:00
Robert Osfield
1ee6d476f8
From Andy Skinner, Added ~GLExtensions to clear cached values for context ID
2018-10-02 11:28:34 +01:00
Julien Valentin
8a29c504e4
add version and required extension
...
let a chance to work on intel chipset
2018-10-02 11:06:22 +01:00
OpenSceneGraph git repository
f376af1fd5
Merge pull request #627 from eligovision/OpenSceneGraph-3.6_gui_adapters_1px
...
1px error in GUIEventAdapter, View, Viewer and CompositeViewer major fix
2018-10-02 10:46:25 +01:00
Konstantin S. Matveyev
e663330bdf
1px error in GUIEventAdapter, View, Viewer and CompositeViewer major fix
2018-09-21 13:30:39 +03:00
Robert Osfield
d011ca4e8d
Updated ChangeLog for 3.6.3 release
2018-09-14 11:16:53 +01:00
Robert Osfield
3a6b13c46e
Updated version number and date for 3.6.3 stable release
2018-09-14 10:41:24 +01:00
Robert Osfield
88afccd85e
Updated ChangeLog for 3.6.3-rc3
2018-09-13 08:52:21 +01:00
Robert Osfield
d6d6c3cda2
Updated for 3.6.3-rc3
2018-09-13 08:47:17 +01:00
Robert Osfield
ca134dca2d
Standardized the glTexStorage*() calls to use osg::maximum(_numMipmapLevels,1) of rnumber of mipmaps to keep the usage consistent.
...
Fixed the erronous Texture2DArray glTexStorage call so that it used the _numMipmapLevels as above to resolve bug in allocation.
2018-09-12 17:45:49 +01:00
Robert Osfield
66246703bf
Warning fixes
2018-09-11 15:32:44 +01:00
Robert Osfield
fb09be05a9
Fixed warning
2018-09-11 12:29:40 +01:00
Robert Osfield
41fa8fecd1
Updated for 3.6.3-rc2
2018-09-11 12:23:01 +01:00
Robert Osfield
2213011caa
Updated rc number 2 for 3.6.3-rc2
2018-09-11 11:56:04 +01:00
OpenSceneGraph git repository
c2f0da31f2
Merge pull request #620 from LaurensVoerman/txt_SCREEN_COORDS
...
fix scale problem for osgText with characterSizeMode SCREEN_COORDS and _position set.
2018-09-11 11:29:36 +01:00
Robert Osfield
2e14bd52bf
Fixed hang using a ReentrantMutex
2018-09-11 11:23:34 +01:00
Robert Osfield
4ea833cc6b
Fixed build
2018-09-11 10:13:49 +01:00
Robert Osfield
7fae3b67cd
Fixed build
2018-09-11 09:31:35 +01:00
Robert Osfield
8780347f2f
Cleaned up code
2018-09-11 09:05:16 +01:00
gwaldron
22e6f6038f
osgText: fixed thread-safety issues in Glyph and Font
2018-09-11 08:53:40 +01:00
mp3butcher
385cfa0cbf
fix examples context creation for X11
...
(when display not :0.0)
2018-09-11 08:40:02 +01:00
OpenSceneGraph git repository
960f4d1ef2
Merge pull request #619 from mathieu/topic/SaveInlinedImages
...
Added saving of inline Images without having the physical image file.
2018-09-11 08:34:20 +01:00
Robert Osfield
257c2deb86
Added greater control of how cubemap is set up and controlled
2018-09-11 08:11:27 +01:00
Laurens Voerman
4dc6a6c4cd
fix scale problem for osgText with characterSizeMode SCREEN_COORDS and _position set.
2018-09-07 15:09:15 +02:00
Mathieu MARACHE
2e38e4751c
Added saving of inline Images without having the physical image file.
...
The can be read from and inlined image file
2018-09-07 14:05:50 +02:00
Robert Osfield
dfdb946d60
Merge branch 'OpenSceneGraph-3.6' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.6
2018-09-06 12:30:18 +01:00
Robert Osfield
2f056dcaa9
Updated for 3.6.3-rc1
2018-09-06 12:29:44 +01:00
Robert Osfield
d07fe93f34
Fixed memory leak with assignment of default value to ObjectSerializer
2018-09-06 11:53:35 +01:00
OpenSceneGraph git repository
05297f439c
Merge pull request #616 from eligovision/OpenSceneGraph-3.6_particles
...
ParticleSystem: Added support for GLES2 and upper (GL_QUADS -> GL_TRI…
2018-09-05 18:06:25 +01:00
Robert Osfield
34d58d447d
Fixed copy constructor
2018-09-05 18:01:33 +01:00
Konstantin S. Matveyev
637e1cc33b
ParticleSystem: Using of GL_TRIANGLES for GLES2 and upper; GL_QUADS otherwise
2018-09-05 19:00:29 +03:00
OpenSceneGraph git repository
5d6ab3e6b7
Merge pull request #617 from aluaces/Image_scaleImage_typo
...
Fix typo in the initial check of Image::scaleImage().
2018-09-05 14:04:57 +01:00
Alberto Luaces
69667a478f
Fix typo in the initial check of Image::scaleImage().
2018-09-05 13:38:09 +02:00
Konstantin S. Matveyev
f00b7180cb
ParticleSystem: Added support for GLES2 and upper (GL_QUADS -> GL_TRIANGLES)
2018-09-05 14:05:29 +03: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
a06fcbe5d9
Updated ChangeLog
2018-09-05 09:33:24 +01:00
Robert Osfield
5f9c6a0170
Changed the ShapeDrawable::build() methpd so that it does run when the ShadpwDrawabe is a KdTree.
2018-09-04 15:26:30 +01:00
Robert Osfield
2a4dd6e03b
Updated SO version as XmlNode::Input changes change the ABI
2018-09-04 14:13:32 +01:00
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
5040c583b4
Updated version number to 3.6.3 in prep for next naintainance release
2018-09-03 11:19:50 +01:00
Robert Osfield
61967a7d1a
Merge branch 'OpenSceneGraph-3.6-TexStorage' into OpenSceneGraph-3.6
2018-09-03 10:16:45 +01:00
Robert Osfield
bcba3928e6
Added reset of _stateset to prevent the releaseGLObjects calling release on th StateSet from the destructor
2018-09-03 09:41:59 +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
8b8c427afe
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 11:52:42 +01:00
Robert Osfield
f55b864d59
Enabled point sprite validty modes.
2018-08-22 11:21:30 +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
Robert Osfield
29789f898b
Merged fix for PointSprite modes validity checks from master.
2018-08-22 10:42:18 +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
plevy
78e050db43
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:22 +01:00
Robert Osfield
250dcc5b6c
Replaced GL_RGBA32F with GL_RGBA32F_ARB to fix Windows build
2018-08-21 09:20:49 +01:00
Robert Osfield
f2dfd78914
Replaced GL_RGBA32F with GL_RGBA32F_ARB to fix Windows build
2018-08-21 09:19:50 +01:00
OpenSceneGraph git repository
1819bb32ae
Merge pull request #606 from mp3butcher/OpenSceneGraph-3.6-TexStorage
...
Open scene graph 3.6 tex storage
2018-08-20 10:08:09 +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
Vic-Min
15f2ae8d15
Renamed USE_DEPRECATED_API to OSG_USE_DEPRECATED_API
2018-08-08 14:37:28 +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
ffb68bec7c
Removed unneccessary FIX ME statement.
2018-07-31 09:14:02 +01:00
Robert Osfield
79bc4c3843
Fixed check against dataType changes
2018-07-27 17:34:30 +01:00
Alex Burton
a7747972dc
updated osgviewerWX to remove deprecated calls in wxWidgets 3.x
2018-07-27 17:12:07 +01:00
OpenSceneGraph git repository
467baa8c00
Merge pull request #573 from emminizer/fix-flt-typo
...
FLT: Fix texture unit typo and code style from PR 568.
2018-07-09 17:55:38 +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
fb40a0d1db
Updated ChangeLog for 3.6.2 release
2018-06-29 10:56:35 +01:00
Robert Osfield
975b62c735
Updated date for 3.6.2 releases
2018-06-29 10:56:01 +01:00
Robert Osfield
dff2faa63b
Updates for 3.6.2 stable release
2018-06-29 10:54:13 +01:00
Robert Osfield
500d3947ef
Fixed isPointSpriteModeSupported assignment bug
2018-06-29 10:53:23 +01:00
Robert Osfield
2b7b051421
Removed the gl3.h usage for GL3 case as these headers were replaced by glcorearb.h, it's probably better to just fallback to gl.h and have the OSG get the extentions at runtime.
2018-06-29 09:52:47 +01:00
Robert Osfield
8a05850048
UPdated ChangeLog
2018-06-28 07:34:49 +01:00
Robert Osfield
469d743bec
Updated for rc3
2018-06-28 07:06:59 +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
OpenSceneGraph git repository
aa5e25db8d
Merge pull request #568 from emminizer/fix-flt-texture-export-gl3
...
OpenFlight: Textures now correctly export in GLCORE mode.
2018-06-27 20:59:09 +01:00
Daniel Emminizer
33cb2e6f70
OpenFlight: Textures now correctly export in GLCORE mode.
2018-06-27 12:57:20 -04:00
Robert Osfield
11e4a995c4
Updated for 3.6.2-rc2
2018-06-27 09:17:00 +01: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
Robert Osfield
89e186014e
Updates for 3.6.2-rc1
2018-06-20 13:59:10 +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
弥继平
2205506aa3
Fixed the position of the viewport for the camera
...
The position of viewport doesn't setup properly, some part of viewer is out of CMFC_OSG_MDIView, and not visible.
2018-06-18 19:38:27 +01:00
Laurens Voerman
15c6b7a196
remove include/osgQt from doxyfiles; add osgPresentation and osgUI
2018-06-14 14:45:49 +01:00
OpenSceneGraph git repository
9171f12069
Merge pull request #555 from emminizer/fix-noisy-flt-loading
...
FLT: Missing optional attr files on textures no longer generates a co…
2018-06-14 14:44:16 +01: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
a9f91a875b
Changed version to 3.6.2 in prep for next release
2018-06-14 08:54:21 +01: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
b1d64ee476
Updated LICENSE to use the WxWidgets-3.1 and updates to the LGPL-2.1-only that updates addresses and tighten up language used.
...
Functionality the OSGPL-1.0 is the same as OSGPL-0.0, All the OpenSceneGraph users can use either OSGPL-0.0 or OSGPL-1.0.
2018-06-03 10:30:55 +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
Robert Osfield
d3706a24e4
Updated for 3.6.1
2018-05-28 08:58:21 +01:00
Philippe Renon
0a4a31d17b
Notify: silence warning about unused argument
2018-05-28 07:54:42 +01:00
Robert Osfield
3838267770
Updated ChangeLog
2018-05-23 19:54:10 +01:00
Robert Osfield
2c39714dff
Updates for 3.6.1-rc7
2018-05-23 19:53:12 +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
Robert Osfield
e2aeab2b60
Fixed type of Timer_t under Windows
2018-05-23 06:32:42 +01:00
Robert Osfield
dce4b81728
Updates for rc6
2018-05-22 09:04:48 +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
43058ac1d5
Updated ChangeLog and README.md for rc5
2018-05-20 13:39:44 +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
b34461febe
Updates in prep for 3.6.1-rc5
2018-05-18 15:49:28 +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
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
3b563ab21b
Fixed create of graphics context by explicting adding USE_GRAPHICSWINDOW to force the WindowingSystemInterface to initialize
2018-05-18 12:47:34 +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
7a3e0445ba
Updated for rc
2018-05-13 09:23:38 +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
66251abd38
Updates for 3.6.1-rc4
2018-05-12 12:47:08 +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
cf2e3227cc
Removed use of deprecated cmake policy
2018-05-12 07:51:51 +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
b1daa6a693
Changed the ordering of the build include directory and the source include directory to avoid build issues on systems where a different version of the OSG has been built in-source then another built out-of-source resulting in conflicts
2018-05-10 18:50:17 +01:00
Robert Osfield
05793cb104
Fixed typo
2018-05-10 16:59:56 +01:00
Robert Osfield
a5c421863e
Updates for 3.6.1-rc3
2018-05-06 07:47:23 +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
Robert Osfield
c078968f66
Added non const version of State::getActiveDisplaySettings()
2018-05-04 10:54:02 +01:00
Robert Osfield
f90edd0d9f
Added check for null to prevent null entries getting into the cache
2018-05-04 09:44:43 +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
Robert Osfield
f510613d55
Fixed null pointer warning
2018-05-04 09:22:54 +01:00
Björn Blissing
645704dfd3
Check existence of path before reading image
...
When loading texture images inside the FBX plugin check that the path
exists before trying to read the image. This is done to avoid
unnecessary warnings inside the readRefImageFile function.
2018-05-03 16:13:24 +01:00
Robert Osfield
13d56b8b37
Updated ChangeLog
2018-05-02 09:14:04 +01:00
Robert Osfield
c5990c4f65
Updates for the 3.6.1-rc2
2018-05-02 09:10:54 +01:00
Robert Osfield
94c4baccad
Updated SO version to reflect change in ABI
2018-04-30 11:55:17 +01:00
OpenSceneGraph git repository
bb1e208d30
Merge pull request #542 from psyinf/fix_particle_system_header
...
FIX: <osgParticle> removed unimplemented functions from header
2018-04-30 11:44:02 +01:00
Sebastian Messerschmidt
fce55993bc
FIX: <osgParticle> removed unimplemented functions from header
2018-04-30 11:16:02 +02:00
Robert Osfield
31c9dbc881
Fixed particle update bug where a ParticleSystem wouldn't start when loaded during the frame loop due to the _last_frame value not being set.
2018-04-27 11:25:46 +01:00
Robert Osfield
c9b0fcaa32
Updated ChangeLog, README.md and rc number for 3.6.1-rc1
2018-04-26 10:21:53 +01:00
Robert Osfield
37a63d37e2
Split up #pragma so that there only three parameters per line to aovid Intel driver bug crash
2018-04-26 09:52:32 +01:00
Robert Osfield
1daacced5a
Renamed text.vert and text.frag to osgText_Text.vert and .frag to avoid name overlapping with user shaders.
2018-04-26 09:52:32 +01:00
Julien Valentin
cea33e40df
add wrapper for osg::DrawIndirectBufferObject
2018-04-25 09:49:56 +01:00
Robert Osfield
2b3ac015bb
Renamed CMake variable + C++ #define to OSG_GL_CONTEXT_VERSION
2018-04-24 17:06:07 +01:00
Robert Osfield
1aa0a80de7
Added OSG_GL_CONTEXT_STRING cmake variable to set include/osg/GL headers that sets Traits::glContextVersion.
2018-04-24 16:22:13 +01:00
OpenSceneGraph git repository
4dd1156444
Merge pull request #537 from openscenegraph/revert-536-default-gl3-context
...
Revert "When GL3 build is enabled, default context requested is version 3.3, …"
2018-04-24 15:38:02 +01:00
OpenSceneGraph git repository
c10f298dc6
Revert "When GL3 build is enabled, default context requested is version 3.3, …"
2018-04-24 15:37:44 +01:00
OpenSceneGraph git repository
e8c0033f5f
Merge pull request #536 from emminizer/default-gl3-context
...
When GL3 build is enabled, default context requested is version 3.3, …
2018-04-24 15:36:11 +01:00
Robert Osfield
31c29f4318
Refactored the handling of glyph and shadow alpha values to make the text and shadow clearer for fonts with narrow glyphs
2018-04-24 15:33:03 +01:00
Robert Osfield
e0be94389e
Refactored the handling of text bounding box to provide more stable bounding box computation
2018-04-24 13:52:53 +01:00
Daniel Emminizer
d660b29ef0
When GL3 build is enabled, default context requested is version 3.3, enabling core profile by default.
2018-04-24 06:31:32 -04: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
OpenSceneGraph git repository
c3008512f1
Merge pull request #534 from emminizer/fix-msvc-includes
...
Fix includes for MSVC 2015 build.
2018-04-23 11:02:03 +01:00
Daniel Emminizer
22d2fae30c
Fix includes for MSVC 2015 build.
2018-04-20 13:16:43 -04:00
Robert Osfield
dac9ed17f1
Updated ChangeLog
2018-04-20 15:58:27 +01:00
Robert Osfield
709194c88c
Replaced osgUtil::IntersectVisitor usage with osgUtil::InteresectionVisitor
2018-04-20 14:32:34 +01:00
Robert Osfield
8de8af6850
Removed TriStripVisitor for default set of Optimizer passes as it doesn't generate efficient scene graphs
2018-04-20 11:48:46 +01:00
Robert Osfield
7bda8083fb
Added osgUtil::optimizeMesh(osg::Node* node) convinience method
2018-04-20 11:48:39 +01:00
Robert Osfield
a082b57c3f
Removed usage of the osgUtil::TriStripVisitor is it generates osg::Geometry that perform very poorly when using VBO and VAO's vs GL DisplayLists.
...
With DisplayLists being deprecated in GL and VBO and VAO becoming standard it's best to standardize on using the osgUtil::MeshOptimizers instead of TripStrupVisitor
2018-04-20 11:44:44 +01:00
Robert Osfield
547340659f
Fixed the set*Binding() methods so that they assign BufferObjects when required
2018-04-19 19:43:14 +01:00
Robert Osfield
29d12ddcbc
Fixed messages
2018-04-19 19:42:51 +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
bf6db4eee7
Replaced the use of osgUtil::TriStripVisitor with ogUtil::MeshOptimizer usage to improve performance.
...
Fixed set setColorArray assignement to pass in the color binding
2018-04-19 19:36:19 +01:00
Robert Osfield
fe39589771
Fixed the handle of boundary equalization
2018-04-18 10:15:01 +01:00
Robert Osfield
d88f0c4cd1
Added --equalize-boundaries -e command line option to call terrain->setEqualizeBoundaries(true)
2018-04-18 10:03:52 +01:00
Robert Osfield
a2a026e116
Updated version number in prep for future 3.6.1 release.
2018-04-16 17:53:38 +01:00
Robert Osfield
38ad6ed3b3
Fixed inline Drawable::draw(..) method
2018-04-16 17:18:49 +01:00
Robert Osfield
9d72bf4712
Fixed Geometry::drawImplmentation() handling of VBO's to prevent them from being used when display lists are used.
2018-04-16 17:18:37 +01:00
Robert Osfield
15429198b8
Replaced osgViewer::GraphicsWindow dynamic_cast as it's not neccessary.
2018-04-15 08:25:57 +01:00
Robert Osfield
3da4a5e503
Fixed typo
2018-04-07 18:35:19 +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
7c7a904315
Updated ChangeLog
2018-04-07 07:19:14 +01:00
Robert Osfield
d3c0a90a3c
Updated for rc7
2018-04-07 07:18:41 +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
Robert Osfield
ba4624c437
Updated ChangeLog
2018-04-06 15:33:42 +01:00
Robert Osfield
c9cce01868
Update ChangeLog
2018-04-06 14:58:00 +01:00
Robert Osfield
1866b5ca44
Updated for rc6
2018-04-06 14:47:54 +01:00
Robert Osfield
1145b84f8b
Fixed warning
2018-04-06 14:17:35 +01:00
Robert Osfield
36f891c6cd
Changed TextBase::setAlignment() to use computeGlyphRepresentation(); rather than computePositions(); to address issues seen with calling Text::setAlignment() after calls to Text::setText()
2018-04-06 14:10:51 +01:00
Robert Osfield
d1c54223cb
Added osgtext --alignment test to look the effect of calling Text::setAlignent() before and after the Text::setText().
2018-04-06 14:10:43 +01:00
OpenSceneGraph git repository
0ce3131ffd
Merge pull request #525 from emminizer/fix-windows-export
...
osgDB: Added missing extern OSGDB_EXPORT.
2018-04-05 18:00:30 +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
4cb697205e
Changed DisplaySettings::setShaderHint(..) messages to INFO
2018-04-05 12:35:36 +01:00
Robert Osfield
5d54697c29
Updated ChangeLOG and news
2018-04-05 12:19:56 +01:00
Philippe Renon
edbca390ed
mingw: fix compile error in GraphicsWindowWin32.cpp
...
compilation error was introduced by msvc specific change
see bb169979a1
2018-04-05 11:15:49 +01:00
Ralf Habacker
d468cae86b
Remove duplicated and incorrect fetching of 'map_bump' attributes in obj plugin
...
Parsing the key 'map_bump' was processed in the block, where the attributes
for 'bump' are extracted and results into having parts of the key in the
extracted filename, generating an invalid filename.
The mentioned string compare could be removed without loosing any features,
because the key 'map_bump' is parsed correctly some lines below.
2018-04-05 08:46:33 +01:00
Robert Osfield
4136621e93
Updated ChangeLog for rc5
2018-04-04 15:35:28 +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
Robert Osfield
74e74d76d9
Added focus classifiction of handling of keyboard events
2018-04-04 14:10:43 +01:00
Robert Osfield
b8b105b54e
Added EventHandler to report key and mouse events for debugging purposes
2018-04-04 14:10:43 +01:00
Robert Osfield
3be15a310e
Added -4 command line entry that creates two seperate windows within CompositeViewer
2018-04-04 14:10:43 +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
7541bc9d48
Updated rc to 5
2018-04-03 17:21:47 +01:00
OpenSceneGraph git repository
23c3ea4ecc
Merge pull request #518 from emminizer/fix-scroll-event
...
CompositeViewer: SCROLL event now only goes to view with focus. Incl…
2018-04-03 17:17:59 +01:00
Robert Osfield
419c351862
Updated rc number to 4
2018-04-03 16:07:46 +01:00
Robert Osfield
2746f50a7c
Updated ChangeLog and NEWS for rc3
2018-04-03 16:04:24 +01:00
Thomas Hogarth
7c57dd04de
missing gles2 check
2018-04-03 15:48:37 +01:00
Daniel Emminizer
59eae3260d
CompositeViewer: SCROLL event now only goes to view with focus. Includes minor typo fixes.
2018-04-03 10:32:58 -04: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
Andreas Ekstrand
e888e9621c
The attached code (from the 3.6 branch) adds a keepSeparatePoints option to the SHP plugin which makes it possible to avoid merging point features into multi-points, in case you e.g. need to keep separate point attributes.
...
It also contains a fix in the Xbase DBF parser, converting a numeric shape attribute to double instead of integer. As stated in e.g. https://en.wikipedia.org/wiki/.dbf the numeric field can contain decimals.
2018-04-03 12:43:34 +01:00
Robert Osfield
3450b9fee8
Removed osgShadow::ShadowVolume as it functionality isn't functional
2018-04-03 12:23:18 +01:00
OpenSceneGraph git repository
d0f891ca31
Merge pull request #516 from eligovision/OpenSceneGraph-3.6_program
...
osg::Program's compileGLObjects and apply methods fixed for OSG witho…
2018-04-03 12:10:29 +01:00
Konstantin S. Matveyev
41f5157c1e
osg::Program's compileGLObjects and apply methods fixed for OSG without OSG_GL_FIXED_FUNCTION_AVAILABLE
2018-04-02 23:58:33 +03:00
Robert Osfield
f71513cab5
Rewrote the handling of AutoTransform::setAutoScaleToScreen(bool) functionality so that is disabling CullingActive when switched on.
2018-04-02 18:29:39 +01:00
Robert Osfield
6c055e3400
Added __VERSION__<140 check for usage of gl_ClipVertex to avoid GL3 core profile usage issues
2018-04-02 16:23:07 +01:00
Robert Osfield
7ed0389051
Restructured merge geometry code to make it easier to follow
2018-04-02 14:09:57 +01:00
Robert Osfield
2946ea0759
Fix for MergeGeometryVsiitor bug. Restructured the processing the merge geometry list to avoid missing geometries that aren't binned along with other geometries.
2018-04-02 14:09:49 +01:00
Robert Osfield
589905fc38
Removed stray CMAkeLists.txt from TARGET_SRC list
2018-04-01 10:40:25 +01:00
Andreas Ekstrand
4cdca85699
Small fix (from the 3.6 branch) in the osgjs plugin, avoiding a double addition of the CullFace attribute when it has been turned off. This resulted in an empty json object in the osgjs file causing warnings in osgjs.
2018-04-01 10:19:27 +01:00
Robert Osfield
363a933f25
Updated NEWS and ChangeLog for 3.6.0-rc3
2018-03-30 17:52:12 +01:00
Robert Osfield
d0f7b85ae0
Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF
2018-03-30 16:34:01 +01:00
Robert Osfield
9d5a22a0aa
Added suport for writing to gl_ClipVertex
2018-03-30 15:27:35 +01:00
Robert Osfield
88e8b1ede0
To osgclipe example added --text textstring and --simple command line options to test mixing text and clipping
2018-03-30 15:16:45 +01:00
Robert Osfield
f54403284f
Changed Layer::get*Value(..) methods to const
2018-03-30 12:47:15 +01:00
Robert Osfield
79b181f9c9
Fixed double calling of TerrainTechnique::init().
2018-03-29 11:38:53 +01:00
Robert Osfield
9526a3c35d
Maded TerrainTechnique::setTerrainTile(..), addNeighbour(..), removeNeighbour(..) and containsNeighbour(..) virtual and public to enable implementation of TerrainTechnique that act as a facade to actual TerrainTechnique implementations.
2018-03-29 11:38:53 +01:00
Robert Osfield
86b57d552f
Updated RC number to 3
2018-03-28 14:04:41 +01:00
Robert Osfield
aae5f87d13
Fixed osgDB::findFileInDirectory() handling of directory strings with trailing \ or / that was causing failure to find valid files in otherwise valid directories
2018-03-28 11:37:42 +01:00
Haojia Yu
0d386ff3f1
OutputStream writes images using its Options object
...
when writing images, OutputStream can search files using its Options object rahter than always using FilePathList object of global Regidtry instance.
2018-03-28 09:05:40 +01:00
OpenSceneGraph git repository
fb39450067
Merge pull request #510 from eligovision/OpenSceneGraph-3.6_ios
...
GraphicsWindowIOS: multithreaded viewer's mode support added; updated…
2018-03-27 08:39:52 +01:00
OpenSceneGraph git repository
00e2466bc7
Merge pull request #508 from eligovision/OpenSceneGraph-3.6_plugins
...
OSG 3.6: Write support with .curl pseudo extension added
2018-03-27 08:37:29 +01:00
OpenSceneGraph git repository
37fabbeecd
Merge pull request #509 from eligovision/OpenSceneGraph-3.6_vas
...
VertexArrayState: typo fixed in log
2018-03-27 08:35:57 +01:00
Konstantin S. Matveyev
a846c0160c
GraphicsWindowIOS: multithreaded viewer's mode support added; updated for iOS-11 SDK; view rotations fixed; GLES2, GLES3 preprocessors fixed; tested on iPhone4 and upper
2018-03-26 20:40:14 +03:00
Konstantin S. Matveyev
cbb9fd4218
VertexArrayState: typo fixed in log
2018-03-26 18:31:23 +03:00
Konstantin S. Matveyev
1a86ed4e7a
Write support with .curl pseudo extension added
2018-03-26 17:59:49 +03:00
Robert Osfield
80a2dd924f
Updated ChangeLog
2018-03-26 09:55:53 +01:00
Robert Osfield
aebdefbbf7
Updated NEWS for 3.6.0-rc2
2018-03-26 09:54:59 +01:00
Robert Osfield
a399e9ccb2
Re-ordered the creating of the DatagbaseThread to avoid startThread being called twice.
2018-03-25 12:14:46 +01:00
Robert Osfield
862c36a08b
Added check if thraeding is running before executing start thread.
2018-03-25 12:13:50 +01:00
Robert Osfield
6b037372b6
Updated ChangeLog, AUTHORS and Controbitors for 3.6.0-rc1
2018-03-24 18:02:35 +00:00
Robert Osfield
ef94f2e391
Added new features in 3.6 to NEWS release
2018-03-24 17:51:06 +00:00
Robert Osfield
6c6ae2db60
First step for 3.6 stable release news
2018-03-24 12:13:59 +00:00
Robert Osfield
1930d9c345
Fixed read shader to safer ref version
2018-03-24 11:23:59 +00:00
Robert Osfield
640e7bc06c
Fixed spotlight colour mixing
2018-03-24 10:59:15 +00:00
OpenSceneGraph git repository
46850214df
Merge pull request #502 from Haojia521/OutputStreamUseTargertSoVersion
...
write binary file with a specific so version
2018-03-23 20:20:43 +00:00
Robert Osfield
647b578ce6
Removed serailizers that are now supplied by osg::Node
2018-03-23 19:54:33 +00:00
Robert Osfield
1d5ae1362a
Fixed member variable names to avoid conflicts with osg::Node
2018-03-23 19:54:01 +00:00
Robert Osfield
9634688559
Removed Drawable writing out of StateSet as this is now done by Node
2018-03-23 18:07:36 +00:00
Michael Kapelko
96b586c165
Provide osgemscripten example CMake flags in a more stable way
2018-03-23 16:42:40 +00:00
Robert Osfield
b1be6c6def
Changed the isBufferObjectSupported flag so that it's true when either VBO or PBO's are supported
2018-03-23 12:56:26 +00:00
Paul Obermeier
b1170621c8
Fixes for VS2008 and 2010 build
2018-03-22 17:36:19 +00:00
Robert Osfield
3c1e29db9f
Moved OPENGL_INCLUDE_DIR include into it's own INCLUDE_DIRECTORIES(SYSTEM ${OPENGL_INCLUDE_DIR}) entry to help with FreeBSD builds where a previous rev of the OSG has already been installed
2018-03-22 16:51:03 +00:00
Robert Osfield
ffb3ed8ef7
Removed typedef and used osg::GraphicsContext::Cameras explictly to avoid any hiding of type
2018-03-22 09:05:43 +00:00
Victor
d18f61688d
Fixed bug of determining availability of functions ‘pthread_getconcurrency’, ‘pthread_setconcurrency’, ‘pthread_setaffinity_np’ in ‘pthread’ library
...
CMake cannot find 'pthread_getconcurrency’, ‘pthread_setconcurrency’ and ‘pthread_setaffinity_np' functions in 'pthread' library because when linking internal cmake test did’t specifed ‘-l pthread’.
2018-03-22 08:37:09 +00:00
Robert Osfield
7d290daa73
Removed -m message that was causing problems with branch creation
2018-03-20 09:20:59 +00:00
Robert Osfield
383161c14c
Updated version numbers in prep for 3.6 branch
2018-03-20 09:12:58 +00:00
Robert Osfield
ba4791a15d
Updated ChangeLog and AUTHORS file
2018-03-20 09:02:05 +00:00
Robert Osfield
950823fac9
Updated ChangeLog and updated version to 3.5.11
2018-03-19 14:27:18 +00:00
Robert Osfield
b563f1bd78
Fixed build issues when building with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF
2018-03-19 14:08:47 +00:00
Robert Osfield
b38a37c3bb
Fixed warnings
2018-03-19 10:42:09 +00:00
Robert Osfield
b7147ff532
Updated ShaderGen shaders
2018-03-16 11:33:03 +00:00
Robert Osfield
e5b67a6795
Removed the static osg::Program creation as it's not required
2018-03-15 16:50:47 +00:00
Robert Osfield
add6b3edee
Added --shader saderfilename command line option to enable one to manually specify which shaders to use for the uber program.
2018-03-15 16:49:58 +00:00
Robert Osfield
0308dfecf5
Introduced a _specverson to centralizer the control of this variable
2018-03-15 16:12:40 +00:00
Robert Osfield
d365a6a347
Added support for Collada DOM-2.5
2018-03-15 15:58:46 +00:00
OpenSceneGraph git repository
8229d19f21
Merge pull request #495 from aitormoreno/fix_installExamplesPDB
...
fix installation of PDB files from the examples.
2018-03-15 12:53:32 +00:00
Aitor Moreno
bcd2adf977
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph into fix_installExamplesPDB
2018-03-14 16:56:08 +01:00
Aitor Moreno
79fde49084
(re)fix the installation of the PDB files
2018-03-14 16:54:05 +01:00
Robert Osfield
57f2b1fa27
Standardized the MSCV INSTALL lines between applications and examples
2018-03-14 08:39:12 +00:00
Robert Osfield
4447190dd6
Refactored osgUtil::ShaderGen to use #pragma(tic) shader composition.
2018-03-14 08:22:45 +00:00
Aitor Moreno
5fcaf18025
fix installation of PDB files from the examples.
2018-03-13 11:21:35 +01:00
OpenSceneGraph git repository
009580676f
Merge pull request #494 from pelicanmapping/fix-text-empty-checks
...
Added required empty vector checks to osg::Text
2018-03-13 08:47:53 +00:00
gwaldron
23b94c2468
Text: added code in accept(functor) methods to check for empty vectors before accessing front() element, which was causing a crash in some cases. Also fixed a negated null check in getCharacterCoords
2018-03-12 17:35:46 -04:00
Yaroslav Tarasov
f8199935fa
Fixed renamed of _textureDepth.
2018-03-12 16:14:30 +00:00
Robert Osfield
5c8a5307d6
From Colin McDonald, "If the glCreateProgram in osg::Program fails for any reason, then subsequently
...
Program::PerContextProgram::linkProgram would crash. I've put in some
checks to prevent that."
2018-03-12 15:55:35 +00:00
Robert Osfield
3f686d8719
Fixed indentation
2018-03-12 15:29:56 +00:00
Robert Osfield
7ce1938543
Improved indentation
2018-03-12 15:12:44 +00:00
Robert Osfield
556089e6a1
From Raymond de Vries, added support for latest FBX SDK
2018-03-12 10:43:56 +00:00
Robert Osfield
957bd4b886
Added FbxLayeredTexture support
2018-03-12 10:29:04 +00:00
Robert Osfield
125263f216
Refactored the texture setup to streamline it and make it easier to adapt
2018-03-10 17:51:52 +00:00
Alessandro Terenzi
9010fd8035
iOS CMake project generation improvements (bitcode option)
...
when building for iOS, Xcode allows developers to specify to enable or disable the 'bitcode' compilation option. There's not a preferred way to go and the choice is really up to the developer but considering that:
1. Currently the generated project defaults the option to YES
2. There are almost 90 projects targets that should be modified if one wants to disable the bitcode option (which considerably reduces the footprint of the app)
3. Even though one can select all the 90+ targets and set the option to NO for all of them, the updates could take a few seconds and could be error prone because one could miss to select some targets
I propose to add a CMake setting that is displayed only when building for iOS. By setting this option "before" the project generation would speed up things for developers and would avoid errors at compiling time.
2018-03-09 10:17:59 +00:00
Robert Osfield
e17f1c4e31
Refactored the handling if RESIZE, CLOSE, QUIT AND USER events so they are dispatched to all views associated with a window, or all views associated with a CompositeViewer
2018-03-08 16:26:01 +00:00
Robert Osfield
1020bddb15
Fixed recursive call bug
2018-03-08 10:47:07 +00:00
Robert Osfield
4e6e0f53be
Changed glDrawBuffer/glReadBuffer calls to use the new State::glDrawBuffers/glReadBuffers helper functions to enable lazy state updating to avoid unneccessary GL calls
2018-03-07 17:49:40 +00:00
Robert Osfield
4dac60540a
Changed the default values of _drawBuffer and _readBuffer to make sure that the lazy state updating in State.glDrawBuffers(GLenum)/glReadBuffers(Glenum) doesn't ever ignore the first call.
2018-03-07 17:44:48 +00:00
Robert Osfield
178cba7cf0
Fixed build error
2018-03-07 16:45:58 +00:00
Robert Osfield
98cdeac9f6
Added missing Camera::setDrawBuffer/setReadBuffer()
2018-03-06 16:54:57 +00:00
Robert Osfield
f8eabd38ba
Added missing Camera::setDrawBuffer() & setReadBuffer()
2018-03-06 16:42:11 +00:00
Robert Osfield
731065a32e
Added missing setDrawBufer/setReadBuffer calls
2018-03-06 16:23:20 +00:00
Robert Osfield
b03e76bdb9
Renamed numBytesPerPixel to numBytesPerComponent to be clearer
2018-03-06 09:58:31 +00:00
Robert Osfield
64341cfb72
Added State::glDrawBuffer/glReadBuffer() method to implement lazy state updating for glDrawBuffer and glReadBuffer
2018-03-06 09:49:02 +00:00
OpenSceneGraph git repository
ee3235e7e0
Merge pull request #491 from mmassing/readerwritergdal_fix_reading_of_multichannel_multibyte_images
...
ReaderWriterGDAL: fix stride when reading multi-channel images with…
2018-03-06 09:33:30 +00:00
OpenSceneGraph git repository
5b80ee91c6
Merge pull request #492 from emminizer/stateattribute-typo
...
Minor typo fix on osg::StateAttribute
2018-03-06 09:25:49 +00:00
Daniel Emminizer
28544a4e29
Minor typo fix on osg::StateAttribute
2018-03-05 10:26:54 -05:00
Manuel Massing
b4cf315d6f
- ReaderWriterGDAL: fix stride when reading multi-channel images with more than 1 byte per pixel
2018-03-05 15:48:24 +01:00
Robert Osfield
1b8567e11e
Added deprecated comments for ShaderComposer
2018-03-05 14:39:07 +00:00
OpenSceneGraph git repository
31d78b7bb3
Merge pull request #490 from torokati44/master
...
osgDB: Fix handling of return value of loadLibrary in Registry.
2018-03-02 09:43:24 +00:00
TÖRÖK Attila
b7c429a72a
osgDB: Fix handling of return value of loadLibrary in Registry.
...
"Unable to load ..." was printed if the library could be loaded,
and it wasn't if not.
2018-03-02 00:13:43 +01:00
OpenSceneGraph git repository
eafab0fc35
Merge pull request #488 from LaurensVoerman/submit_array_ext
...
remove _EXT from GL_MAX_ARRAY_TEXTURE_LAYERS_EXT
2018-02-28 14:10:15 +00:00
Laurens Voerman
c81317b5b0
remove _EXT from GL_MAX_ARRAY_TEXTURE_LAYERS_EXT and GL_TEXTURE_BINDING_2D_ARRAY_EXT
2018-02-28 14:11:41 +01:00
Robert Osfield
be723811c8
Added GUIEventHandler to allow one to write out models with event callbacks
2018-02-28 10:30:47 +00:00
Robert Osfield
99bcd95756
Replaced GL_TEXTURE_2D_ARRAY_EXT with GL_TEXTURE_2D_ARRAY
2018-02-28 08:50:48 +00:00
Robert Osfield
3dec244d5b
Changed GL enum to fix Windows build issue
2018-02-28 08:02:39 +00:00
Robert Osfield
6a4609c28f
Fixed precision issue with filling in the last element of the TransferFunction1D's osg::Image.
2018-02-27 19:09:18 +00:00
Robert Osfield
7b6eedbdf4
Restructured the way that applyTexParameters() is applied to address issues with Intel drivers not handling mipmap generations unless the tex parameters are reapplied on new upload of data.
2018-02-27 17:35:13 +00:00
Robert Osfield
39881b5576
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2018-02-23 09:57:19 +00:00
Robert Osfield
2b13166c8d
Cleaned up the applying of the glDrawBuffers()
2018-02-23 09:55:00 +00:00
OpenSceneGraph git repository
ebf0e8f435
Merge pull request #485 from eligovision/OpenSceneGraph_gles
...
GLExtensions fix: No PBO on GLES2 by default
2018-02-23 08:28:59 +00:00
Konstantin S. Matveyev
e3df1e954d
GLExtensions fix: No PBO on GLES2 by default
2018-02-22 16:43:14 +03:00
OpenSceneGraph git repository
ffc8e54cdc
Merge pull request #484 from LaurensVoerman/submit_inventor_dllexport
...
Remove OSG_EXPORT from deprecated_osg::Geometry in inventor plugin.
2018-02-22 08:15:46 +00:00
Laurens Voerman
819fb2b14c
Remove OSG_EXPORT from deprecated_osg::Geometry in inventor plugin.
2018-02-21 13:38:42 +01:00
OpenSceneGraph git repository
56baa7bf04
Merge pull request #479 from LaurensVoerman/submit_vc14WarnC4800_v2
...
move Get/SetScalarvalue out of ValueObject and provide specialization…
2018-02-19 10:14:36 +00:00
Robert Osfield
f5021e8bc0
Added ADD_DEFINITIONS(-D_WINSOCK_DEPRECATED_NO_WARNINGS) to quieten warning
2018-02-19 10:07:14 +00:00
OpenSceneGraph git repository
2378b41e9f
Merge pull request #482 from hwiesmann/master
...
Addition of comments for ClusterCullingCallback
2018-02-19 08:39:42 +00:00
OpenSceneGraph git repository
c52ae4f99f
Changed the doxygen control characters and clarifications
2018-02-19 08:39:23 +00:00
OpenSceneGraph git repository
7200b21203
Merge pull request #483 from filnet/fix_log_messages
...
Fix log messages
2018-02-19 08:35:00 +00:00
Philippe Renon
4a025cafb4
renderstage: fix spelling in log message
2018-02-18 18:39:47 +01:00
Philippe Renon
b4a2114fd4
singlewindow: minor log output fix
...
log message made it look like it originated from View::setUpViewOnSingleScreen
2018-02-18 18:39:47 +01:00
Hartwig Wiesmann
f01383c02a
Addition of comments for ClusterCullingCallback
2018-02-18 08:49:41 +03:00
OpenSceneGraph git repository
21539466fd
Merge pull request #480 from hwiesmann/master
...
Addition of radius parameter for ClusterCullingCallback's constructor
2018-02-16 19:56:32 +00:00
Hartwig
73a36679df
Addition of radius parameter for ClusterCullingCallback's constructor
...
The radius parameter is already present in ClusterCullingCallback's set method but has been forgotten in the constructor.
2018-02-15 21:10:59 +01:00
Laurens Voerman
b79d680580
move Get/SetScalarvalue out of ValueObject and provide specialization for GetScalarValue<bool> fixing MSVC waring C4800
2018-02-15 14:59:24 +01:00
OpenSceneGraph git repository
486cd48daf
Merge pull request #476 from LaurensVoerman/submit_luaWarn
...
silence MSVC warning C4324: 'lua_longjmp': structure was padded
2018-02-14 17:16:39 +00:00
OpenSceneGraph git repository
03ef16a4fa
Merge pull request #475 from LaurensVoerman/submit_Zeroconf_warningsFix
...
fix visual studio compile warnings for ZeroConfDevice project.
2018-02-14 17:15:31 +00:00
OpenSceneGraph git repository
da31fc9c76
Merge pull request #474 from LaurensVoerman/submit_bool_getScalarvalue_Bug
...
bugfix: GetScalarValue returns inverted values for booleans
2018-02-14 17:12:46 +00:00
Laurens Voerman
ac00b8537f
silence MSVC warning C4324: 'lua_longjmp': structure was padded
2018-02-14 10:49:33 +01:00
Laurens Voerman
01eff6bc6b
fix visual studio compile warnings for ZeroConfDevice project.
2018-02-14 10:38:09 +01:00
Laurens Voerman
ec4881da5a
bugfix: GetScalarValue returns inverted values for booleans; SetScalarValue needs to be a SetValueVisitor
2018-02-13 17:38:35 +01:00
Robert Osfield
68bb67312e
Improved handling of updates to the Texture target that require the texture to be reapplied.
...
Used State for applying Texture target to work better with lazy state updating.
2018-02-13 12:12:34 +00:00
Robert Osfield
e491c61fa5
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2018-02-13 12:03:19 +00:00
Robert Osfield
b8e5f22cb7
Added virtual bool Texture::isDirty(contextID) method to help determine whether a GL texture object is likely to be out of date and needs updating
2018-02-13 12:01:57 +00:00
OpenSceneGraph git repository
f9e2fb9d74
Merge pull request #473 from LaurensVoerman/submit_OT_winver
...
remove conficting defenition of _WIN32_WINNT in OSG_DETERMINE_WIN_VERSION is ON
2018-02-12 13:42:47 +00:00
Laurens Voerman
59500d78d0
remove conficting defenition of _WIN32_WINNT in OSG_DETERMINE_WIN_VERSION is ON
2018-02-12 10:47:37 +01:00
Robert Osfield
22d6ce826f
Changed internalFormat to use pixelFormat
2018-02-10 18:37:57 +00:00
Robert Osfield
a7839d77cd
Added support for PixelBufferObject to Texture2DArray
2018-02-10 17:55:50 +00:00
Robert Osfield
79f9cfae80
From Ravi Mathur, "he freetype plugin currently forces the use of the first font within a truetype collection (.ttc index 0). I made a slight modification such that users can specify any font index via the userOptions input to osgText::readFontFile(). Specifically, the freetype plugin now accepts a new string option of the format "index=< unsigned int >". Example usage:
...
Code:
// Chooses the second font within the Menlo font collection
osg::ref_ptr<osgDB::Options> fontOptions = new osgDB::Options;
fontOptions->setObjectCacheHint(osgDB::Options::CACHE_OBJECTS);
fontOptions->setOptionString("index=1");
text->setFont(osgText::readFontFile("Menlo.ttc", fontOptions));
"
2018-02-07 18:28:17 +00:00
Robert Osfield
f767ab0cc9
Refactored the event handler so that it contains a helper NodeVistor class rather than inherits from inappropriately using multiple inheritance.
2018-02-07 17:23:14 +00:00
Robert Osfield
55a45e3c0e
Changed the text bounding box calcualtion so that it only takes in to account the basic glyph size, and doesn't add in the glyph margin used for accounting for texel sampling
2018-02-06 17:54:33 +00:00
OpenSceneGraph git repository
a1132442ff
Merge pull request #466 from openscenegraph/revert-454-imagebinding
...
Revert "BindingTextureImage: a more complex condition for _texture->apply ?"
2018-02-02 09:54:48 +00:00
OpenSceneGraph git repository
6d1d1bb000
Revert "BindingTextureImage: a more complex condition for _texture->apply ?"
2018-02-02 09:54:31 +00:00
OpenSceneGraph git repository
db5e803439
Merge pull request #463 from xyzz/android-gl1
...
getGLExtensionFuncPtr: support gl4es wrapper on Android.
2018-01-30 09:53:45 +00:00
Ilya Zhuravlev
92b45581af
getGLExtensionFuncPtr: support gl4es wrapper on Android.
2018-01-29 16:07:13 -05:00
OpenSceneGraph git repository
8046ef5b6b
Merge pull request #459 from mp3butcher/bufferstorage
...
add more extensions
2018-01-27 09:20:12 +00:00
OpenSceneGraph git repository
03977b5619
Merge pull request #461 from filnet/issue_458
...
os_utils: fix non portable use of "defined"
2018-01-27 09:17:30 +00:00
OpenSceneGraph git repository
28245e252c
Merge pull request #457 from PissedCapslock/patch-3
...
Typo in comment
2018-01-27 09:16:46 +00:00
Philippe Renon
13d88c7fec
os_utils: fix non portable use of "defined"
...
see https://github.com/openscenegraph/OpenSceneGraph/issues/458
2018-01-26 10:33:48 +01:00
Julien Valentin
f4663b0e32
add ARB_BufferStorage extensions
2018-01-25 16:22:33 +01:00
Robin Stevens
3cd5e43fdf
Typo in comment
2018-01-24 10:29:49 +01:00
Robert Osfield
753d86d6d8
Merged shader_pipeline version of CMakeLists.txt
2018-01-23 15:27:24 +00:00
Robert Osfield
e49aaa9f2c
Removed the OSG_SYSTEM_SUPPORTED cmake var and added use of posix_spawn under Apple with C system function used elsewhere.
2018-01-23 11:43:55 +00:00
OpenSceneGraph git repository
022d1df97d
Merge pull request #454 from mp3butcher/imagebinding
...
BindingTextureImage: a more complex condition for _texture->apply ?
2018-01-23 10:26:20 +00:00
OpenSceneGraph git repository
3b2b2d762c
Merge pull request #456 from PissedCapslock/patch-2
...
Fixing typos in comments
2018-01-23 09:56:26 +00:00
OpenSceneGraph git repository
afc533283a
Merge pull request #455 from PissedCapslock/patch-1
...
Typo in comment
2018-01-23 09:55:52 +00:00
Robin Stevens
dcbaa3e64a
Fixing typos in comments
2018-01-23 10:25:32 +01:00
Robin Stevens
5810d2ba18
Typo in comment
2018-01-23 10:20:49 +01:00
Robert Osfield
b36b5fa8da
Changed fallback message to be consistent with fucntion name
2018-01-21 12:19:27 +00:00
Robert Osfield
18d5a9159f
Restructured the system() fallback to be usable for C and C++
2018-01-21 12:09:49 +00:00
Julien Valentin
588a9ae10d
use introduced getBufferData to determine _target->apply requirements.
2018-01-21 01:24:01 +01:00
Julien Valentin
0aa8008f0a
add a virtual getBufferData to Texture
2018-01-21 01:23:38 +01:00
OpenSceneGraph git repository
9cc2bab737
Merge pull request #452 from LaurensVoerman/submit_input_copyWchar
...
text copy - get unicode text to clipboard.
2018-01-20 12:35:30 +00:00
OpenSceneGraph git repository
c7f5d13e19
Merge pull request #453 from LaurensVoerman/submit_directinput
...
fix bug: potentially uninitialized local variable 'hr' used
2018-01-20 12:33:54 +00:00
Laurens Voerman
b0b28d21d9
fix bug: potentially uninitialized local variable 'hr' used
2018-01-19 11:38:01 +01:00
Laurens Voerman
9ef68841c0
text copy - get unicode text to clipboard.
2018-01-19 11:20:34 +01:00
OpenSceneGraph git repository
ee7e7a7019
Merge pull request #447 from LaurensVoerman/submit_remove_unused_vars
...
remove unused variable "newArrays"
2018-01-15 16:30:44 +00:00
OpenSceneGraph git repository
fb4d14d49f
Merge pull request #448 from LaurensVoerman/submit_remove_unused_maxBonePerVertex
...
remove unused variable "maxBonePerVertex"
2018-01-15 16:30:23 +00:00
OpenSceneGraph git repository
6b9235f185
Merge pull request #449 from LaurensVoerman/submit_toLower
...
fix vc2017 compile warning 'unsigned int' to 'const char'
2018-01-15 16:28:54 +00:00
Robert Osfield
5ad1a652a0
Moved defined into GLDefines header to avoid compile issues under Windows
2018-01-15 16:02:44 +00:00
Laurens Voerman
33f99e9c70
fix vc2017 compile warning 'unsigned int' to 'const char'
2018-01-15 16:42:31 +01:00
Laurens Voerman
4f7fcb19d5
remove unused variable "newArrays"
2018-01-15 16:04:12 +01:00
Laurens Voerman
df6194de5f
remove unused variable "maxBonePerVertex"
2018-01-15 15:59:56 +01:00
OpenSceneGraph git repository
bf6aaed5e0
Merge pull request #445 from mp3butcher/osgSampler3
...
Osg sampler3 improve example to get command arguments
2018-01-14 13:27:15 +00:00
OpenSceneGraph git repository
1946ff652d
Merge pull request #444 from mp3butcher/osgSampler2
...
Osg sampler2 add static helper func in order to generate Samplers of a Samplerless StateSet
2018-01-14 13:25:23 +00:00
OpenSceneGraph git repository
a6a72755b8
Merge pull request #443 from mp3butcher/osgSampler1
...
Add MinLOD MaxLOD and LODBias to Texture
2018-01-14 12:40:34 +00:00
Julien Valentin
480b452e38
improve example to get command arguments
2018-01-13 21:29:02 +01:00
Julien Valentin
4c0a861f91
add static helper func in order to generate Samplers of a Samplerless StateSet
...
+fix ident
2018-01-13 21:25:47 +01:00
Julien Valentin
8894939577
add MinLOD MaxLOD and LODBias to Texture and its serializer
...
as well as ShadowTextureMode None enum
2018-01-13 21:20:32 +01:00
Julien Valentin
020bff3ab1
increment SO version
2018-01-13 21:19:25 +01:00
Julien Valentin
d2b8468bf4
add MinLOD MaxLOD and LODBias to Texture
2018-01-13 21:16:16 +01:00
Robert Osfield
3e6d118d10
Disabled the use of the GeometryFinishedObjectReadCallback in the Geometry serializer as this doesn't look it's needed anymore.
2018-01-13 16:43:42 +00:00
OpenSceneGraph git repository
561b49fb78
Merge pull request #442 from eligovision/OpenSceneGraph_viewer
...
osgViewer::ViewerBase setThreadingModel function fixed
2018-01-13 16:07:56 +00:00
Konstantin S. Matveyev
bb84f1ea3c
osgViewer::ViewerBase setThreadingModel func fix: should not start threading, must only restart
2018-01-13 15:49:39 +03:00
Robert Osfield
ae57f3cd46
Added ability to toggle on/off use of C system() function call, using OSG_SYSTEM_SUPPORTED Cmake option
2018-01-12 19:52:31 +00:00
Robert Osfield
6a3d9b2aa2
Added os_utils header
2018-01-12 17:03:31 +00:00
Robert Osfield
a7cc9664c0
Renamed EnvVar header to os_utils in prep for adding more OS related calls to it
2018-01-12 16:48:17 +00:00
OpenSceneGraph git repository
bfbae8ad12
Merge pull request #437 from filnet/text_typo
...
osgText: fix typos related to SIGNED_DISTANCE_FIELD
2018-01-11 14:32:53 +00:00
Robert Osfield
e84c93dfce
Fixed Linux NVTT build issue by restricting the addition of the new libs to just Windows
2018-01-11 10:10:43 +00:00
Robert Osfield
7d311915e7
Merged NVTT cmake fixes from 3.4 branch
2018-01-11 09:39:27 +00:00
Robert Osfield
0cee5f5d27
Added returns to avoid fall through between case statements
2018-01-11 08:51:08 +00:00
Robert Osfield
6bd2d9054e
Moved setFusionDistance() into View::updateSceneView()
2018-01-10 16:55:02 +00:00
Philippe Renon
3e12972a03
osgText: fix typos related to SIGNED_DISTANCE_FIELD
2018-01-10 14:21:25 +01:00
Andreas Ekstrand
0eacd8161a
Small fix in the osgjs plugin. Since osgjs uses pixel area for PIXEL_SIZE_ON_SCREEN PagedLOD ranges instead of a diameter, it's a more correct approximation to square the ranges in this case.
2018-01-10 11:07:46 +00:00
Robert Osfield
df280811a1
Merged Program.cpp from shader_pipeline
2018-01-08 10:52:35 +00:00
Robert Osfield
0fafb385f9
Fixed indentation
2018-01-08 10:31:47 +00:00
Robert Osfield
f866836d60
Added extension support checks
2018-01-08 10:14:13 +00:00
Robert Osfield
818dee31d8
Fixed build with GLES2
2018-01-08 10:04:28 +00:00
Robert Osfield
b45803898d
Added suppor for StateSet::DefineList
2018-01-06 14:59:16 +00:00
Robert Osfield
9944d949fc
Improvements to lua/OSG integration
2018-01-06 14:57:39 +00:00
Robert Osfield
2108141b4e
Replaced old style access of ValueObject values to new ValueObject::getScaleValue() methods
2018-01-06 13:47:18 +00:00
Robert Osfield
bdff0955dc
Added TextureCubeMap::setImage/getImage() methpds
2018-01-06 13:11:36 +00:00
Robert Osfield
3e676f67ff
Removed inappropriate //
2018-01-06 13:09:16 +00:00
Robert Osfield
230ee49428
Added ValueObject::get/setScaleValue(..) convinient methods
2018-01-06 12:54:14 +00:00
OpenSceneGraph git repository
6a3c88fb5b
Merge pull request #431 from mp3butcher/callbacks
...
allow read of script from zip
2018-01-06 12:37:02 +00:00
OpenSceneGraph git repository
4d4b02848b
Had to fix spacing and bracket position yet again...
2018-01-06 12:31:23 +00:00
Julien Valentin
518048bc64
allow read of zipped script
2018-01-05 19:57:41 +01:00
Robert Osfield
4abc97f44b
Fixed return values
2018-01-05 12:12:24 +00:00
OpenSceneGraph git repository
741db16916
Merge pull request #428 from mp3butcher/serializerfixbis
...
add Node associate on Drawable serializers
2018-01-05 11:26:06 +00:00
Robert Osfield
647fc75add
Disabled OSX builds as they are consistently failing on travis due to timeouts so a giving false positives for all builds
2018-01-05 10:36:25 +00:00
OpenSceneGraph git repository
eca7831281
Merge pull request #424 from mp3butcher/osgSampler
...
GL3.3 SamplerObject as StateAttribute
2018-01-05 09:43:16 +00:00
OpenSceneGraph git repository
f5108459be
Fixed indentation and spacing issues
2018-01-05 09:41:32 +00:00
OpenSceneGraph git repository
6ef90054bc
Merge pull request #425 from mp3butcher/callbacks
...
Support for multiple nest Camera DrawCallbacks
2018-01-05 09:18:39 +00:00
Julien Valentin
e33a407aaf
add BufferData associate to Image and subclasses
2018-01-04 22:50:30 +01:00
OpenSceneGraph git repository
73689caa5f
Had to fix positioning of { and spacing to be consistent with the rest of the OSG
2018-01-04 15:28:45 +00:00
OpenSceneGraph git repository
70488271bd
Merge pull request #426 from mp3butcher/moreExtensions
...
add more Extensions
2018-01-04 15:20:57 +00:00
Julien Valentin
196256fdcd
Evolve DSO
...
add Node associate on Drawable based:
Drawable
Geometry
DrawPixels.cpp
ShapeDrawable.cpp
RigGeometry.cpp
ConnectedParticleSystem.cpp
FadeText.cpp
Text.cpp
Text3D.cpp
TextBase.cpp
2018-01-04 05:15:13 +01:00
Julien Valentin
0e76dc169e
add more Extensions
2018-01-04 04:18:38 +01:00
Julien Valentin
61548dc5a8
add recursivity on Camera Callbacks
2018-01-04 03:59:25 +01:00
Julien Valentin
662bea239c
add GLSampler as Texture Property
...
and a simple example mixing (add) 2 textures
2018-01-03 21:34:10 +01:00
OpenSceneGraph git repository
6492ec8c6b
Merge pull request #421 from mp3butcher/imagebinding
...
complete Imagebinding integration
2018-01-03 11:11:16 +00:00
Julien Valentin
c605b24432
remove old BindImageTexture path
2018-01-02 18:29:42 +01:00
Julien Valentin
f9b1c614bc
adapt examples for new BindImageTexture
2018-01-02 18:15:25 +01:00
Julien Valentin
8a84ee7660
add (untested) BindImageTexture serializer
...
TOREVIEW : my GLBoolean serializer macro seams hacky
2018-01-02 18:12:52 +01:00
OpenSceneGraph git repository
b4c62bd32b
Merge pull request #415 from aluaces/fix/opencascade_minimal
...
Use a minimal set of OpenCASCADE libraries.
2018-01-01 12:07:17 +00:00
Robert Osfield
eb72f3ed30
Renamed ImageTexture file to BindImageTexture to better fit it's OpenGL implementaton.
...
Improved the indentation so it's more consistent with the rest of the OSG.
2018-01-01 11:10:55 +00:00
Robert Osfield
1f4ae0425c
Merge branch 'imagebinding' of https://github.com/mp3butcher/OpenSceneGraph into mp3butcher-imagebinding
2018-01-01 10:16:10 +00:00
OpenSceneGraph git repository
f0bb9da9c6
Changed the enum value to be consistent with StateAttribute
2018-01-01 10:14:58 +00:00
OpenSceneGraph git repository
e27148240a
Change enum name to be consistent with assciated class name
2018-01-01 10:13:14 +00:00
OpenSceneGraph git repository
9d4ee0d766
Improved spacing and indentaton
...
To keep things consistent with the rest of the OSG
2018-01-01 10:12:09 +00:00
Robert Osfield
7a351d3407
Changed the case of method name to be consistent with the rest of the OSG
2017-12-31 13:44:21 +00:00
OpenSceneGraph git repository
ce4d76ef21
Merge pull request #411 from rickyviking/fbxGeometrySupport
...
Fbx writer: added support to convert geometries directly attached as node
2017-12-31 13:43:09 +00:00
OpenSceneGraph git repository
407402df14
Merge pull request #414 from aluaces/fix/osg_winver_switch
...
Added optional checking the windows version at build configuration time to fix cross-compilation.
2017-12-31 13:34:26 +00:00
OpenSceneGraph git repository
91aec8107a
Improved indentation
2017-12-31 13:32:44 +00:00
Robert Osfield
dd1f95d24d
Fixed typo
2017-12-31 13:17:23 +00:00
Robert Osfield
94a1a84a59
Fixed handling of reassignment of ArrayDispatch when vertex aliasing is toggled
2017-12-31 12:38:17 +00:00
mp3butcher
2f8a262a0e
add flexier Image Unit Binding implementation (allow different IUBs for a Texture)
2017-12-28 19:04:32 +01:00
Alberto Luaces
958e954b93
Use a minimal set of OpenCASCADE libraries.
...
This eases the configuration avoiding to look for unused or nonexistent
libraries.
2017-12-26 15:45:03 +01:00
Alberto Luaces
08e1a06fcd
Detecting the windows version at build time breaks cross-compilation.
...
I have made this auto-detection optional (default ON).
2017-12-26 15:35:42 +01:00
Riccardo Corsi
ef8891351f
Fbx writer: added support to convert geometries directly attached as node, without geodes.
2017-12-20 09:52:50 +01:00
Robert Osfield
5afd32b2d9
Introduced dedicated VertexArrayStateList class to wrap up the VertexArrayState container with convinience methods to help initialize them.
...
Using the new VertexArrayStateList class fixed bug associated with setting new setTexCoord() array when a VertexArrayState is already assigned.
2017-12-19 09:57:57 +00:00
Robert Osfield
d2bfde30f0
Deprecated dirtyDisplayLists(), use established dirtyGLObjects() instead
2017-12-18 13:54:08 +00:00
OpenSceneGraph git repository
3bb327e93f
Merge pull request #408 from eligovision/OpenSceneGraph_serializers
...
Open scene graph serializers
2017-12-18 10:45:00 +00:00
OpenSceneGraph git repository
24813331c6
Merge pull request #409 from jcarpent/master
...
[Fix] Use explicitelly colladom 1.4.1
2017-12-18 10:39:29 +00:00
OpenSceneGraph git repository
dd1c0edd4b
Merge pull request #406 from eligovision/OpenSceneGraph_text
...
TextBase: left alignment position fix
2017-12-18 10:33:35 +00:00
jcarpent
1d46178d72
[Fix] Use explicitelly colladom 1.4.1
2017-12-14 19:27:08 +01:00
Konstantin S. Matveyev
df8dc83fc7
osgAnimation serializes: static linking fix
2017-12-13 11:48:55 +03:00
Konstantin S. Matveyev
23ed49b330
Merge remote-tracking branch 'upstream/master' into OpenSceneGraph_serializers
2017-12-13 11:48:08 +03:00
Konstantin S. Matveyev
2d3ed2a3c7
TextBase: left alignment position fix
2017-12-12 12:08:50 +03:00
Robert Osfield
7e0163383f
Quitened down debug output
2017-12-09 19:18:43 +00:00
Robert Osfield
854beb39ce
Quited now deboug output
2017-12-09 18:42:40 +00:00
Robert Osfield
588cad24e2
Quietened down debug messages
2017-12-09 18:29:19 +00:00
Robert Osfield
9bf3d2b7ce
Pushed background image away from eye point a small amount to prevent z fighting with text on the image plane.
2017-12-09 11:12:35 +00:00
Robert Osfield
90748f8b74
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2017-12-08 16:15:52 +00:00
Robert Osfield
6ef0e667d2
Added support for OSG_BORDERLESS_WINDOW="x y width heigh" and --bordless-window x y width height to make it easier to manage custom placement of viewers without window decoration
2017-12-08 16:10:57 +00:00
OpenSceneGraph git repository
5de9c97ff5
Merge pull request #403 from mp3butcher/VAS
...
fix logo reader plugin
2017-12-08 11:19:20 +00:00
Julien Valentin
53d8032656
fix logo reader plugin
...
TODO upgrade to a more modern gl (remove glDrawpixel usage)
2017-12-07 20:13:57 +01:00
Robert Osfield
25f5605ad8
Improvements to dot visitors
2017-12-07 17:52:24 +00:00
OpenSceneGraph git repository
b8fd3abdd5
Merge pull request #402 from mp3butcher/VAS
...
add a fix in order setArray work with an user managed interleaved array
2017-12-07 09:49:47 +00:00
Julien Valentin
7f2481e976
add a fix in order setArray work with an user managed interleaved array
2017-12-06 23:17:02 +01:00
Robert Osfield
37dbb04608
Added more flexibility into the State::checkGLErrors() method, allowing calling code to pass in two strings.
...
Improved the StateSet::compileGLObjects() usage of checkGLErrors() to make the warning reports more meaningful.
2017-12-06 10:11:53 +00:00
Robert Osfield
d313184cd0
Added fine grained checking for GL errors in the GLObjectVisitor so that the OSG's default pre compile stage provides better feesback on any GL errors.
2017-12-06 09:51:57 +00:00
Robert Osfield
d82a7e7c0b
Removed the unncessary rescale to power of two, and added clear of image to prevent previous image data corrupting the rendered image
2017-12-05 17:16:17 +00:00
Robert Osfield
4501320793
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2017-12-05 16:33:55 +00:00
Robert Osfield
a8924a7b36
Added "rs=value" Options support to SVG plugin
2017-12-05 16:33:01 +00:00
Robert Osfield
551e9ba17c
Fixed AUTHORS
2017-12-04 17:51:21 +00:00
Robert Osfield
7f0baaab61
Added passing of the osgDB::Options to the remove from cache to make sure the cache model for the presentation is found and removed.
2017-12-04 16:43:08 +00:00
Robert Osfield
56681c89cd
Changed the reload presentaiton key to 'R' to better match the 'E' for editor
2017-12-04 14:50:12 +00:00
Anna Sokol
279df6d57e
From Anna Sokol, "There is no need to specify WINVER of 0x0603 in order to check for the SetProcessDPIAwareness function existence.
...
If your current OS where the application is running is Windows 8.1 or above it the function will exist in the dll or if its below it wont.
I checked the attached code with both a Windows 7 desktop (where the function doesn't exist) and a Windows 10 tablet (where it does and had my screen scaled to 150%) and in both cases the code worked as intended."
2017-12-04 13:01:52 +00:00
Robert Osfield
1810c9e7e3
Updated ChangeLog and AUTHORS file
2017-12-03 14:27:10 +00:00
Robert Osfield
aa26f99367
Updated ChangeLog
2017-12-03 14:14:34 +00:00
Robert Osfield
9ef79c2f44
Renamed chanels to array to be consistent with the rest of the usage
2017-12-03 11:17:34 +00:00
OpenSceneGraph git repository
92cccff866
Merge pull request #398 from marchelbling/sharedarrayoptimizer-fix
...
Improve SharedArrayOptimizer
2017-12-03 11:12:20 +00:00
Robert Osfield
200537ed6f
Removed redundent !ps
2017-12-03 10:49:39 +00:00
Robert Osfield
5ff16798a3
Removed unused local variable and associated typedef
2017-12-03 09:49:09 +00:00
Robert Osfield
9a96e211f9
Quietened down cppcheck false positive.
2017-12-03 09:45:37 +00:00
Robert Osfield
3870edf376
Fixed leak and clean up formatting.
2017-12-03 09:38:32 +00:00
Robert Osfield
ef5410aaf0
From Jordi Torres, fixed leak and inappropriate read bug
2017-12-03 09:34:43 +00:00
Robert Osfield
6ca3cab0d5
From Jordi Torres, removed unused local variable
2017-12-03 09:32:50 +00:00
Robert Osfield
24d32e89a1
From Jordi Torres, fix indentation and removed redundent break;
2017-12-03 09:30:35 +00:00
Robert Osfield
bd716b38c7
From Jordi Torres, added ref_ptr<> usage to quieten cppcheck false positive
2017-12-03 09:27:41 +00:00
Robert Osfield
24c3b40b56
From Jordi Torres, removed unused local variables
2017-12-02 18:07:13 +00:00
Robert Osfield
c913c0e6f7
From Jordi Torres, removed unused local variables
2017-12-02 18:04:43 +00:00
Robert Osfield
d7f5357059
From Jordi Torres, Removed unused local variables
2017-12-02 18:00:03 +00:00
Robert Osfield
4fc3c8ef26
From Jordi Torres, removed unused local variables
2017-12-02 17:58:17 +00:00
Robert Osfield
c85e56940e
From Jordi Torres, removed unused local variables
2017-12-02 17:52:47 +00:00
Robert Osfield
847e472130
Commented out unused local variables
2017-12-02 17:42:53 +00:00
Robert Osfield
e44fb08f6a
From Jordi Torres, removed unused local variable
2017-12-02 17:41:27 +00:00
Robert Osfield
490b9b0e0e
Fixed string parsing and substituion bugs isn substitudeEnvVars(..)
2017-12-02 17:35:36 +00:00
Robert Osfield
302f625ec7
From Jordi Torres, removed unused local variables
2017-12-02 17:08:14 +00:00
Jordi Torres
82f0a2d849
same values in || so one of them not needed
2017-12-02 16:49:47 +00:00
Robert Osfield
da68d32482
Improved readaibility of text by removing redundent indirection.
2017-12-02 16:35:16 +00:00
Robert Osfield
59f841bc20
Fixes for cppcheck reported issues
2017-12-02 16:20:34 +00:00
Marc Helbling
75af025c55
Improve SharedArrayOptimizer
...
When an array is shared within and outside a geometry, it's still worth it and safe
to recreate the reference within each individual geometry.
2017-12-01 12:26:02 +01:00
OpenSceneGraph git repository
2366305e83
Merge pull request #396 from bjornblissing/feature/DPIAwareScaling
...
Applications declared as DPI-aware in the Windows environment
2017-11-30 14:13:21 +00:00
OpenSceneGraph git repository
b909ac2d95
Added return to last line
2017-11-30 14:12:05 +00:00
Robert Osfield
05b0f142c8
Quieted down dubug output
2017-11-30 12:48:47 +00:00
Björn Blissing
9fac39c5e0
Applications declared DPI-aware in the Windows environment
...
Applications that run on a Windows computer with desktop scaling enabled
gets scaled incorrectly since windows assumes that applications are
DPI-unaware unless declared otherwise.
This change declares the application DPI-aware, thus not automatically
scaled by the operating system.
The corresponding library call requires Windows 8.1 or later.
2017-11-30 13:00:54 +01:00
Björn Blissing
09eefd7973
Added script to identify Windows version
...
Added script to identify the Windows version used to compile the source.
Currently the windows version for Windows NT is hard coded into the
source. By running this CMake script the _WIN32_WINNT preprocessor
variable gets set to the corresponding windows version.
2017-11-30 12:53:24 +01:00
Björn Blissing
e8f7eeb5dc
Removed unnecessary define in FileUtils
...
The define of _WIN32_WINNT was added to handle an error case from MinGW
,as described in commit 712ca43219
This was later giving warnings and thus undefined for MinGW by commit
3bf6fb1778
Since the two operations cancel each other out, they should be removed.
2017-11-30 12:50:09 +01:00
Robert Osfield
a16702627a
Typo fix
2017-11-29 21:20:10 +00:00
Robert Osfield
4af66f6897
Update version to 3.5.10
2017-11-29 15:06:53 +00:00
Robert Osfield
85a79f53d7
Updated ChangeLog and AUTHORS for 3.5.9 dev release
2017-11-29 14:49:00 +00:00
Robert Osfield
d3815759a9
Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF
2017-11-29 14:44:00 +00:00
Robert Osfield
a6069c3226
Introduced Drawable::CreateVertexArrayStateCallback to enable customization of how VertexArrayState objects.
...
Added public accessors to the Drawable::VertexArrayStateList.
2017-11-29 14:22:31 +00:00
Robert Osfield
03434b20cf
Added mapping of GLSL file extension to shader Type.
2017-11-29 12:22:03 +00:00
Robert Osfield
306275d230
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2017-11-29 10:40:42 +00:00
Robert Osfield
28af946c4b
Bummped the SO version
2017-11-29 10:40:20 +00:00
OpenSceneGraph git repository
27e5041d97
Merge pull request #394 from mathieu/master
...
Make the culling be disabled at the drawable level
2017-11-29 10:38:52 +00:00
Robert Osfield
0c7972b3f1
Merge branch 'mp3butcher-ComputeDispatch'
2017-11-29 10:14:16 +00:00
Robert Osfield
c0a276e850
Added back in serializer support for comput dispatch groups to retain backwards compatibility.
2017-11-29 10:11:35 +00:00
Mathieu
cf05cd5bf3
Make the culling be disables at the drawable level not at the geode level
2017-11-29 11:05:53 +01:00
Robert Osfield
9f6eb74d28
Merge branch 'ComputeDispatch' of https://github.com/mp3butcher/OpenSceneGraph into mp3butcher-ComputeDispatch
2017-11-29 09:30:56 +00:00
OpenSceneGraph git repository
cd0744ddfa
Cleaned up code layout
2017-11-29 08:16:53 +00:00
OpenSceneGraph git repository
021dca0072
Cleaned up code layout
2017-11-29 08:14:44 +00:00
OpenSceneGraph git repository
fc1d19b6e5
Merge pull request #390 from filnet/readref
...
replace more read*File() usage to readRef*File()
2017-11-29 08:09:01 +00:00
Julien Valentin
739303b3d9
override compile and createVAS in order to do nothing
2017-11-28 20:38:54 +01:00
Julien Valentin
994c38c0c7
adapt SSBO example for ComputeDispatch
...
but have strange runtime errors:
0(100) : error C7623: implicit narrowing of type from "vec3" to "float"
0(108) : error C7623: implicit narrowing of type from "vec3" to "float"
2017-11-28 20:03:40 +01:00
Philippe Renon
2acddf66b1
replace more read*File() usage to readRef*File()
2017-11-28 19:51:31 +01:00
Robert Osfield
1152da8bbd
Quietened down debug output
2017-11-28 18:08:08 +00:00
Robert Osfield
85917ea4d4
Quietened down debug output
2017-11-28 18:05:59 +00:00
Robert Osfield
5ad22dc4af
Quitened down debug output
2017-11-28 18:04:26 +00:00
Julien Valentin
195df4f811
numgroup removed but introduce a reto compatibility bug in Program serializer
...
hope nobody use it
2017-11-28 17:39:32 +01:00
Julien Valentin
bf1b4ec2bb
add ComputeDispatch class
...
revoke glDispatch in PCProgram::useProgram
update example
2017-11-28 17:30:04 +01:00
Robert Osfield
117045170d
To the GLSL shader plugin added support forL
...
#pragma include shaderfile.glsl
To enable easier reuse of shaders
2017-11-28 15:31:39 +00:00
Robert Osfield
284f91b3e0
Replaced deprecated osg::Shader::reaDShaderFile()/loadShaderFromSource() usage
2017-11-27 18:38:37 +00:00
Robert Osfield
5f13a3aa11
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2017-11-27 18:36:41 +00:00
Robert Osfield
34336931fa
Deprecated the osg::Shader::reaDShaderFile() and osg::Shader::loadShaderSourceFromFile() methods.
...
Programmers should use osgDB::readRefShaderFile()/readShaderFile() instead.
2017-11-27 18:28:15 +00:00
Robert Osfield
f81a46da5b
Added support for .cs, .compute, .tctrlm .teval extensions in the GLSL plugin
2017-11-27 18:27:13 +00:00
OpenSceneGraph git repository
6abb9b27f9
Merge pull request #387 from jtorresfabra/remove_custom_code
...
Removes custom code added for sketchfab channel compression that shou…
2017-11-27 15:54:39 +00:00
Robert Osfield
bc4a9d9dd0
Refactored the MergeGeometry::mergeGroup(..) method to avoid O(N^2) issue with using removeChildren() on groups with very large numbers of children.
2017-11-27 15:44:11 +00:00
Robert Osfield
06302a1082
Replaced read*File() usage to readRef*File()
2017-11-27 15:41:54 +00:00
Robert Osfield
cb2c48d015
Added template addShader() method to make it easier to pass ref_ptr<osg::Shader>
2017-11-27 15:40:21 +00:00
Jordi
66eeabd7d0
Removes custom code added for sketchfab channel compression that should not be there
2017-11-27 15:48:50 +01:00
Robert Osfield
9fc63d7613
Fixes for building with OSG_PROVIDE_READFILE to OFF
2017-11-27 11:10:48 +00:00
Robert Osfield
a72a929d12
Fixed build issues when compiling with OSG_PROVIDE_READFILE to OFF
2017-11-27 11:05:31 +00:00
Robert Osfield
93a5213b99
Build fix
2017-11-27 10:32:02 +00:00
Robert Osfield
80d1de7832
Removed use of local static to avoid threading issue.
2017-11-22 11:05:17 +00:00
OpenSceneGraph git repository
a5eb5c7bb0
Merge pull request #383 from anormann1974/patch-1
...
Fixed missing initialization of B_ and N_ in constructor
2017-11-21 14:01:14 +00:00
Robert Osfield
13c593ce0e
Fixed typo
2017-11-21 13:59:51 +00:00
Robert Osfield
7f97b9f999
Added Text::getCharacterCorners(...) method to help applications that want to find out the positions of characters being rendered.
2017-11-21 13:41:57 +00:00
Andre Normann
e0eb4fbda8
Fixed missing initialization of B_ and N_ in constructor
2017-11-21 13:54:45 +01:00
Robert Osfield
d60b9714fe
Moved the version to 3.5.9 and the version setting code to top of CMake file
2017-11-20 12:49:20 +00:00
Robert Osfield
c95a5486b1
Updated ChangeLog and AUTHORS file for 3.5.8 dev release
2017-11-14 15:04:05 +00:00
Raymond de Vries
41dda781ee
attached fixes for configuring and building the osgPlugin exr with Visual Studio and using out-of-the-box builds of ilmbase and openexr, i.e. without manual/extra config for using these 2 libs with the OSG.
...
Previously, the assumption was made that ilmbase and openexr were installed in a common directory and hence the header files and libs were both found in that common directory. That is not consistent with other libs and this submission makes it consistent and therefore the OSG configures out of the box. I made this work for ilmbase-2.1.0.tar.gz / openexr-2.1.0.tar.gz and ilmbase-2.2.0.tar.gz / openexr-2.2.0.tar.gz
2017-11-14 10:59:08 +00:00
Robert Osfield
49a5fdbd1f
Fixed typo
2017-11-13 13:08:39 +00:00
Robert Osfield
9c605ba9be
Fixed CoverityScan reported errors
2017-11-13 13:06:12 +00:00
Robert Osfield
d98d9c9e72
FIxed two CoverityScan detected memory leaks
2017-11-13 12:49:33 +00:00
Andre Normann
a811de2ba7
Attached is a fix in GLExtension, which is based on latest git version, that fixes the usage of uniform buffer objects on macOS. Under macOS core OpenGL features aren't exported as extension. OpenGL 3.1 includes the GL_ARB_uniform_buffer_object as core feature for example. On macOS a simple osg::isGLExtensionSupported() call would fail. It is required to use the isGLExtensionOrVersionSupported() method. This is what my fix does.
2017-11-13 10:24:31 +00:00
Robert Osfield
cba8559137
Updated SO version to 152 to reflect the resent API changes to osgAnimation.
2017-11-11 14:50:55 +00:00
OpenSceneGraph git repository
8d36049dcd
Merge pull request #382 from openscenegraph/osganimation
...
Osganimation improvements
2017-11-11 14:43:10 +00:00
OpenSceneGraph git repository
8d5a9e84fc
Build fix
2017-11-11 13:27:43 +00:00
OpenSceneGraph git repository
729680714c
Readbility improvements and updating version to 152
2017-11-11 13:08:42 +00:00
OpenSceneGraph git repository
3567e31009
Added versioning to the new serialization additions
2017-11-11 13:04:34 +00:00
OpenSceneGraph git repository
8694fd61ba
Code readability improvements
2017-11-11 13:00:56 +00:00
OpenSceneGraph git repository
4977939c05
Code readability improvements
2017-11-11 12:58:52 +00:00
OpenSceneGraph git repository
8e55ed5923
Code readability improvements
2017-11-11 12:54:28 +00:00
OpenSceneGraph git repository
f59efe0bfe
Code readability improvement
2017-11-11 12:46:48 +00:00
OpenSceneGraph git repository
a5f6e4b0c4
Small readability improvements
2017-11-11 12:45:55 +00:00
OpenSceneGraph git repository
8ee8550aac
Fix of incorrect Program assignment bug and coding style
2017-11-11 12:42:34 +00:00
OpenSceneGraph git repository
b23cc72037
coding style/readability fixes
2017-11-11 12:33:44 +00:00
OpenSceneGraph git repository
ca5ce00783
coding style/readability fixes
2017-11-11 12:29:45 +00:00
OpenSceneGraph git repository
252c28d516
coding style/readability fixes
2017-11-11 12:27:56 +00:00
OpenSceneGraph git repository
4753b8b2b9
coding style fix
2017-11-11 12:24:27 +00:00
Robert Osfield
ee118c872f
Restructed the ref counting of the rawImageRec structure so that it's done with a separate refImageRec struct so it doesn't interfer with the writing of the rawImageRec as a header when writing to .rgb
2017-11-11 11:17:34 +00:00
Andreas Ekstrand
eb061d9acc
I have implemented readObject to make loading objects from SceneLoader in the LWS plugin work. I'm not sure about other implications from changes leading up to this problem (readRefFile instead of readNodeFile in SceneLoader) but this fix works for me.
2017-11-11 10:19:09 +00:00
Robert Osfield
dfec052eb9
Fixed handling of GL_TEXTURE_CUBE_MAP when using glTextureStorage.
2017-11-10 17:12:20 +00:00
OpenSceneGraph git repository
054727cb00
Merge pull request #381 from openscenegraph/revert-379-osganimbugfix
...
Revert " following guidance from OpenGL Common Mistakes:"
2017-11-10 17:00:52 +00:00
OpenSceneGraph git repository
821ca4e5cd
Revert " following guidance from OpenGL Common Mistakes:"
2017-11-10 16:58:29 +00:00
OpenSceneGraph git repository
9b6fa79e32
Merge pull request #379 from mp3butcher/osganimbugfix
...
Fixed handling of mipmaps
2017-11-10 14:49:54 +00:00
OpenSceneGraph git repository
860df3e10e
Merge pull request #380 from mp3butcher/MDI7
...
add funcs to read GZ Objects from a stream
2017-11-10 13:36:52 +00:00
Robert Osfield
826c139ef3
Fixed crash in copy constructor due to copy and paste/typo.
2017-11-10 12:41:21 +00:00
Julien Valentin
79afe82774
replace string with stringstream (avoid a string copy at read)
2017-11-08 16:44:09 +01:00
Julien Valentin
baf6945a7a
add funcs to read Object from a GZ stream
2017-11-08 15:40:11 +01:00
Robert Osfield
74226e5904
Added Pawel's origin commit message into the osggpucull source as it examples a lot about how the example works
2017-11-06 20:49:23 +00:00
Robert Osfield
01c68ba5e5
Temporary workaround for the regression of intersection tests with osgText::Text. Added a local vertex array that is transformed by the last applied text matrix.
2017-11-06 19:53:38 +00:00
Julien Valentin
f7f76a1029
following guidance from OpenGL Common Mistakes:
...
mipmaps should be upload with glTexImage2D and not glTexSubImage2D
2017-11-06 16:22:03 +01:00
Robert Osfield
24f8a01f17
Added check for malloc returning a valid pointer
2017-11-03 09:55:42 +00:00
Robert Osfield
6d65768dab
Added an explict null termination of buffer to address Coverity Scan reported issue
2017-11-03 09:49:50 +00:00
Robert Osfield
7dd0320236
Added check for a valud positions pointer
2017-11-02 18:43:05 +00:00
Robert Osfield
6f924f84ba
Fuxed missing initializers
2017-11-02 18:39:11 +00:00
Robert Osfield
a07105d6c5
Changed the key binding for opening and editor to edit presentation to 'E' and to trigger update the presentation by pressing 'e'
2017-11-02 16:39:32 +00:00
Robert Osfield
281aae8eea
Fixed copy and paste error
2017-11-02 11:51:03 +00:00
Robert Osfield
1bf2db24f2
Moved memset to after check for null memory pointer
2017-11-02 11:48:39 +00:00
Robert Osfield
9dc6c454f4
Cleaned up getEnvVar usage
2017-11-02 11:42:25 +00:00
Robert Osfield
ce69f18ec7
Replaced getenv usage with safer osg::getEnvVar
2017-11-02 10:43:41 +00:00
Robert Osfield
aa744edacc
Fixed warning
2017-11-02 10:02:34 +00:00
Robert Osfield
239b0faa4c
Replaced getenv calls with safer osg::getEnvVar usage
2017-11-02 10:00:28 +00:00
Robert Osfield
338b0e2b7b
Moved getenv usage across to safer osg::getEnvVar() usage
2017-11-01 17:38:33 +00:00
Robert Osfield
0e7e06349e
Added safety check for getenv parsing to prevent overflow attacks via getenv.
2017-11-01 16:43:32 +00:00
Robert Osfield
3b85aa35df
Moved from getenv to osg::getEnvVar usage
2017-11-01 14:45:27 +00:00
Robert Osfield
e59ad87044
Made template function inline to avoid multiple declaration issues
2017-11-01 14:16:54 +00:00
Robert Osfield
fbb7270e55
Replaced getenv(..) usage with osg::getEnvVar(..)
2017-11-01 13:54:15 +00:00
Robert Osfield
51a9c66856
Added OSG_ENVVAR_SUPPORTED cmake control and bool osg::getEnvVar(const char* name, T& value, ...) conviniece funcions to make it easier to implement optinal getenv reading code.
2017-11-01 13:32:47 +00:00
Robert Osfield
fb175eed14
Fixed Coverity Scane reported issue.
2017-11-01 11:35:05 +00:00
OpenSceneGraph git repository
cca35390ad
Merge pull request #378 from mp3butcher/osganimation
...
update osganimationhardware example to use a common program
2017-10-31 17:59:13 +00:00
Robert Osfield
c242ad4497
Fixed unititialized memory variables and improved readability by adding spacing where appropriate
2017-10-31 17:55:59 +00:00
Robert Osfield
6a2bd1f898
Added missing initializers
2017-10-31 17:43:39 +00:00
Robert Osfield
14f50ab31c
Fixed CovertiScan reported uninitialized member variable
2017-10-31 17:39:34 +00:00
Robert Osfield
061e52b89f
Fixed Coverity Scan reported issue
2017-10-31 17:02:31 +00:00
Julien Valentin
47c4ef510d
update example to use a common program
2017-10-31 18:00:06 +01:00
Robert Osfield
95eb5e2ad6
Replace c char array with std::string to address Coverity scan reported issue
2017-10-31 16:46:42 +00:00
Robert Osfield
3459e8f4fd
Fixed Coverity Scan reported memory leaks
2017-10-31 15:55:24 +00:00
Robert Osfield
42c7d7ece1
Fixed Coverity reported memory leak
2017-10-31 15:47:49 +00:00
Robert Osfield
6a8fe45543
Reinstated two stage OSX build, and disabled part of the coverity_scan build to attempt to get it running without timeout.
2017-10-31 14:55:41 +00:00
Robert Osfield
89708ae277
Upped the number of threads used in build to try and improve build speed
2017-10-31 12:32:45 +00:00
Robert Osfield
17380a7191
Simplified build for OSX now that trais builds are running faster.
2017-10-31 10:01:52 +00:00
Robert Osfield
7e86438871
Merge branch 'master' into osganimation
2017-10-30 15:53:56 +00:00
Robert Osfield
e196b23723
From Raymond de Vires, added support for 2018 and 2016 versions of FBX.
2017-10-30 14:38:35 +00:00
Robert Osfield
4f2328bc09
From Raymond de Vires, added support for 2018 and 2016 versions of FBX.
2017-10-30 14:36:41 +00:00
Robert Osfield
bd3262e07f
From Raymond de Vires, Windows build fix
2017-10-30 14:22:10 +00:00
Robert Osfield
45f1f23064
Updated ChangeLog and AUTHORS
2017-10-30 14:05:45 +00:00
Robert Osfield
45e520663d
Quitened down the DisplaySettings::setShaderHint() output for NONE.
2017-10-30 13:40:50 +00:00
Robert Osfield
053ba83be6
Merged support for StateSet::DefineList from shader_pipeline branch
2017-10-30 09:32:04 +00:00
OpenSceneGraph git repository
af3a0bd7d1
Merge pull request #375 from mp3butcher/osganimation
...
reformat AStyle (with codeblocks)
2017-10-30 08:37:19 +00:00
Julien Valentin
6e79ce348d
reformat with the help of AStyle reformat tool (codeblocks)
2017-10-28 14:46:14 +02:00
Robert Osfield
6530b16fc7
Fixed build error when building wiht OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION=OFF
2017-10-27 18:14:04 +01:00
OpenSceneGraph git repository
d664c09a79
Merge pull request #374 from mp3butcher/osganimation
...
fix InfluenceMap "remove useless bones" method
2017-10-27 17:15:38 +01:00
OpenSceneGraph git repository
faa254dd61
Merge branch 'osganimation' into osganimation
2017-10-27 17:14:43 +01:00
Robert Osfield
671847387f
Fixed build errors when compiling with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF
2017-10-27 14:19:13 +01:00
Julien Valentin
c61e4fb15c
fix InfluenceMap "remove useless bones" method
2017-10-27 15:10:54 +02:00
Robert Osfield
2b6ffad99a
Build fix for when compiling with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF
2017-10-27 13:51:08 +01:00
Robert Osfield
b3515d0e09
Build fix for when compiling with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF
2017-10-27 13:48:52 +01:00
Robert Osfield
1f913ec130
Fixed warning
2017-10-27 13:19:52 +01:00
Robert Osfield
5d9dcfccbf
From Farshid Lashkari, "fix for the Collada loader to check for some NULL attributes."
2017-10-27 13:17:47 +01:00
Robert Osfield
11f9bbf6ea
Merge branch 'master' into osganimation
2017-10-27 12:54:10 +01:00
OpenSceneGraph git repository
c2520a8533
Merge pull request #373 from LaurensVoerman/noStdMax
...
use osg::maximum, not std::max
2017-10-27 09:33:24 +01:00
Laurens Voerman
93ef9d1dc9
use osg::maximum, not std::max
2017-10-27 09:41:28 +02:00
OpenSceneGraph git repository
1126812f8f
Merge pull request #372 from openscenegraph/text_improvements
...
Text improvements, introducing implementation of Signed Distance Function texture generation and new shaders for outlines and shadows replacing old multi-pass approach
2017-10-26 14:26:01 +01:00
Robert Osfield
1e896777d1
Updated from OpenSceneGraph-Data/shader/text.frag to add fixes to handling of vertexColor's alpha values
2017-10-26 12:08:00 +01:00
Robert Osfield
5918735ebc
Added update of glyph representation to ensure all the glyphs are assigned to the required GlyphTextures
2017-10-26 12:03:56 +01:00
Robert Osfield
671ea7ae74
Added command line parsing to aid with testing of osgText by allowing osgText::FadeText to be created with various options
2017-10-26 12:02:56 +01:00
Robert Osfield
fa58d01644
Added optimization for text where the colour alpha value is 0.0, returning early to aovid any GL calls.
2017-10-25 16:29:25 +01:00
Robert Osfield
248805fedd
Fixed pre compilation osg::Program state leaking into the main scene graph rendering
2017-10-25 16:13:26 +01:00
Robert Osfield
c8bd6fd100
Added stats handler
2017-10-24 16:04:14 +01:00
Robert Osfield
8f658fbc32
Updated from OpenSceneGraph-Data/shaders/text.frag to address GLSL int to float conversion warning
2017-10-24 15:14:23 +01:00
Robert Osfield
9c9439ef73
Added DisplaySettings:s/getgTextShaderTechnique() and OSG_TEXT_SHADER_TECHNIQUE env var support to DisplaySettings.
...
Added using of DisplaySettings:getgTextShaderTechnique() to Text default constructor.
Added better debug output control in Text.cpp
2017-10-24 14:46:13 +01:00
Robert Osfield
1ecae6d33a
Improved the Text::_shaderTechnique default setting using OSG_TEXT_SHADER_TECHNIQUE env var, options are ALL_FEATURES, GREYSCALE, SIGNED_DISTANCE_FIELD, SDF, NO_TEXT_SHADER, NONE.
2017-10-24 12:34:48 +01:00
Robert Osfield
c162a091fe
Quitened down debug info
2017-10-24 12:07:13 +01:00
Robert Osfield
1cd0a5fe03
Fixed Glyph::TextureInfo assignment bug
2017-10-24 11:36:00 +01:00
Robert Osfield
55a1764712
Renamed text_sdf.frag to text.frag and removed text_greyscale_frag.
...
Cleaned up setup of osgText::ShaderTechnique adding a NO_SHADER_TECHNIQUE option.
2017-10-23 16:07:24 +01:00
Robert Osfield
4b295c46d1
Restructed the way that GlyphTexture is set up to better support control of osgText::ShaderTechnique from osgText::Text
2017-10-23 14:50:35 +01:00
OpenSceneGraph git repository
cfca536583
Merge pull request #371 from hwiesmann/master
...
Removal of compiler warning for Cocoa builds
2017-10-23 09:06:55 +01:00
OpenSceneGraph git repository
8347027e17
Merge pull request #370 from siu/master-travisCcache
...
Fix ccache on travis
2017-10-23 09:05:34 +01:00
Hartwig
2fc3387429
BUG FIX - Addition of missing #endif directive
2017-10-22 22:13:46 +02:00
Hartwig
41e9cd3157
Replacement of commas with semicolons
2017-10-22 15:04:33 +02:00
Hartwig
abb7f46371
Removal of compiler warning for Cocoa builds
2017-10-22 13:47:51 +02:00
David Siñuela Pastor
727653695d
Install ccache on MacOs
...
Note that brew update must be run before any brew install command or
it will fail, see https://github.com/travis-ci/travis-ci/issues/8552 .
2017-10-21 14:26:06 +00:00
David Siñuela Pastor
ade97dcd95
Fix ccache configuration in travis
...
Use ccache as explained in https://docs.travis-ci.com/user/caching/#ccache-cache
2017-10-21 14:04:46 +00:00
Robert Osfield
817b6601d2
Added Text::s/getShaderTechnique()
2017-10-21 10:08:41 +01:00
Robert Osfield
97aeb16551
Moved osgText::GlyphTechnique::Features enum to osgText::ShaderTechinque enum to make it's roll clearer
2017-10-20 17:03:25 +01:00
Robert Osfield
6b75439ae4
Merge branch 'master' into text_improvements
2017-10-20 14:14:14 +01:00
Robert Osfield
38e5fdadf0
From Ralf Habacker, patch refactoring struct ObjOptionsStruct
...
in obj plugin into a real class, which is a preparation for further obj
related patches.
2017-10-20 11:52:48 +01:00
Robert Osfield
a2ad1c9606
Added built-in support for lighting.vert
2017-10-20 11:37:41 +01:00
Robert Osfield
4645cc789e
Updated shaders from OpenSceneGraph-Data/shaders
2017-10-20 10:18:21 +01:00
Robert Osfield
24c2a0ca60
Moved the assignment of the ModifiedCount to before GL texture calls.
2017-10-19 20:57:25 +01:00
Robert Osfield
8965c9369e
Implemented --single command line option that creates a single osg::DrawElementsUInt primitive set instead of using MultiDrawIndirect.
2017-10-19 12:39:22 +01:00
Robert Osfield
4791e5f6b5
Improved spacing to make code more readable
2017-10-19 12:06:59 +01:00
Robert Osfield
068f47d91f
Build fixes with ref_ptr<> autoconversion disabled
2017-10-19 11:57:53 +01:00
Robert Osfield
3c6f569360
Fixed placement of { and spacing to make the code more readable and consistent with the rest of the OSG
2017-10-19 11:06:23 +01:00
Robert Osfield
6496c304f9
Implemented inplace replacement
2017-10-18 10:32:18 +01:00
David Siñuela Pastor
cc8a34cd14
Do not break systems with cr as line endings
2017-10-18 10:30:57 +01:00
Robert Osfield
ad45bf1d61
Fixed warning
2017-10-16 11:52:54 +01:00
Robert Osfield
879b54f6e9
Fixed GLX EGL build
2017-10-16 10:47:47 +01:00
Robert Osfield
639ced08fc
Removed inappropriate tabs&spaces
2017-10-16 10:38:33 +01:00
OpenSceneGraph git repository
7b9f44cb17
Merge pull request #364 from mp3butcher/osganimbugfix
...
add osg::Program::BindUniformBlockList serialization
2017-10-16 10:16:49 +01:00
Robert Osfield
ea379e64e7
Fixed build error
2017-10-16 10:12:19 +01:00
Robert Osfield
5067db39f8
Moved bracket to be consistent with the rest of the OSG
2017-10-16 10:08:18 +01:00
OpenSceneGraph git repository
bfca9998ea
Merge pull request #366 from LaurensVoerman/rotateDXT
...
add support for dxt compressed images to createImageWithOrientationConversion
2017-10-16 10:00:49 +01:00
OpenSceneGraph git repository
1604b81919
Merge pull request #367 from LaurensVoerman/compression_astc
...
copySubImage support for block compressed images, added support for astc compressed type.
2017-10-16 09:58:29 +01:00
Robert Osfield
a9ef5a90eb
Fixed indentation
2017-10-16 09:49:47 +01:00
OpenSceneGraph git repository
bd28b48be1
Merge pull request #365 from LaurensVoerman/login2
...
modified present3D and osgvnc to allow multiple --login arguments like osgViewer.
2017-10-16 09:45:37 +01:00
Robert Osfield
0e39c129b7
Changed the precision setting of #pargma(tic) shader composition define setup to address GLES compatibility issues
2017-10-14 09:06:37 +01:00
Robert Osfield
0a5c6d3fd6
Improved the formating of GLSL source that is passed to OpenGL to make debugging shaders easier.
2017-10-14 09:03:08 +01:00
Robert Osfield
2303d6afc4
Cleaned up support for GL3 build
2017-10-13 17:03:31 +01:00
Laurens Voerman
274cea19bf
copySubImage support for block compressed images, added support for astc compressed type.
2017-10-13 16:54:04 +02:00
Robert Osfield
24bec09b9e
Removed the glyph image outline support as it's no longer required.
2017-10-13 13:01:57 +01:00
Robert Osfield
8b12d2d71a
Deprecated Text:BackdropImplementation, removing the backend as it no longer required when using shaders for backdrop effects
2017-10-13 11:42:25 +01:00
Robert Osfield
28561b2b77
Removed old multipass implemenmtations of backdrops as effect is now fully implememted in shaders
2017-10-13 08:40:58 +01:00
Julien Valentin
b540ed70ba
add osg::Program::BindUniformBlock serialization
2017-10-12 20:09:55 +02:00
Robert Osfield
846204ed9e
Updated from OpenSceneGraph-Data/shaders/text_sdf.frag to add support for SHADOW
2017-10-12 18:45:38 +01:00
Robert Osfield
f07bf5be2a
Merge branch 'master' into text_improvements
2017-10-12 16:44:40 +01:00
Laurens Voerman
0fedfd2ff9
add support for dxt compressed images to createImageWithOrientationConversion
2017-10-12 17:38:16 +02:00
Laurens Voerman
99491e46ec
modified present3D to allow multiple --login arguments like osgViewer, added --login option to osgvnc example
2017-10-12 17:21:10 +02:00
OpenSceneGraph git repository
4d67c80350
Merge pull request #363 from LaurensVoerman/dxtcGetcolor
...
added dxtc support in Image::getColor, Image::isImageTranscent testdxt3 and dxt5
2017-10-12 15:52:42 +01:00
Laurens Voerman
63f12986b4
added dxtc support in Image::getColor, enhanced Image::isImageTranslucent to test opacity of dxt3 and dxt5 images
2017-10-12 13:49:57 +02:00
Robert Osfield
eebb679754
Updated text_sdf_frag.cpp from OpenSceneGraph-Data changes that add outline generation for non SIGNED_DISTANCE_FIELD text.
2017-10-12 11:12:47 +01:00
Robert Osfield
d6af00d9bd
Merge branch 'master' into text_improvements
2017-10-10 09:21:34 +01:00
Robert Osfield
adb6ae849d
Updated ChangeLog
2017-10-09 12:33:06 +01:00
Robert Osfield
b2603d6c93
Updated version number
2017-10-09 12:25:40 +01:00
Robert Osfield
d649334662
Updated AUTHORS
2017-10-09 12:23:45 +01:00
OpenSceneGraph git repository
d74e340f32
Merge pull request #359 from eligovision/OpenSceneGraph_gles
...
Added defines: GL_ALPHA4/8/12/16 in osg/Image, this will fix compilat…
2017-10-09 10:03:21 +01:00
OpenSceneGraph git repository
5f985a36a2
Merge pull request #358 from eligovision/OpenSceneGraph_optimizer
...
VertexAttribDivisor compare function fix: index must be compared
2017-10-09 10:02:51 +01:00
Robert Osfield
4906844ea7
Added explictly unbinding of VBO for setInterleavedArrays().
2017-10-06 18:03:36 +01:00
Robert Osfield
9ac2b2eb7b
Added VertexArrayState::ArrayDispatch::className() method and implementation for each ArrayDispatch subclass to help with debugging
2017-10-06 17:47:19 +01:00
Konstantin S. Matveyev
1e1f69febc
Added defines: GL_ALPHA4/8/12/16 in osg/Image, this will fix compilation error while building for GLES2
2017-10-06 18:16:48 +03:00
Konstantin S. Matveyev
a87e57e946
VertexAttribDivisor compare function fix: index must be compared
2017-10-06 18:14:47 +03:00
Robert Osfield
7868b42ef2
Improved the readability of recent changes by adding spaces, {} and moving { onto separate lines to keep things consistent with the rest of the OSG.
2017-10-05 16:56:30 +01:00
OpenSceneGraph git repository
eb5f46d8dd
Merge pull request #357 from mp3butcher/osganimation
...
fix normalization bug (happen too early )
2017-10-05 16:43:54 +01:00
OpenSceneGraph git repository
11352bbdbb
Merge pull request #354 from eligovision/OpenSceneGraph_intersection
...
LineSegmentIntersector fixed: intersection ratio remaped to the range…
2017-10-05 16:31:45 +01:00
OpenSceneGraph git repository
1a1fe43347
Merge pull request #353 from eligovision/OpenSceneGraph_io
...
tellg call removed from StreamOperator's checkStream function, becaus…
2017-10-05 16:30:21 +01:00
OpenSceneGraph git repository
bc9f481c2b
Merge pull request #355 from denyskoch/patch-1
...
Fix loading of 16bit PNG images
2017-10-05 16:29:37 +01:00
Robert Osfield
042a357278
Fixed spacing to make it consistent with the rest of the OSG and make it easier to read.
2017-10-05 15:59:26 +01:00
OpenSceneGraph git repository
19a48951b7
Merge pull request #351 from LaurensVoerman/vncHostPw
...
VNC: try to find password for host if no password for host:port is found
2017-10-05 15:57:02 +01:00
Robert Osfield
ddf8c68d26
Added support for multiple --login url username password entries to osgviewer
2017-10-05 15:37:03 +01:00
OpenSceneGraph git repository
d75564c7e3
Merge pull request #348 from eligovision/OpenSceneGraph_serializers
...
osg serializers fixed for static build, ShaderAttribute wrapper added
2017-10-05 15:02:17 +01:00
Robert Osfield
c918916bcb
Steamlined the handling of osg::Geometry
2017-10-05 12:45:47 +01:00
OpenSceneGraph git repository
95de3a460e
Merge pull request #346 from LaurensVoerman/FindLIBLAS
...
removed las_c library from FindLIBLAS.cmake, it's not used by the osgplugin.
2017-10-05 12:15:23 +01:00
Robert Osfield
7fb37016fd
Merge branch 'master' into text_improvements
2017-10-05 12:14:03 +01:00
Robert Osfield
2f19cd4b87
Improvements to the Signed Distance Field implementation.
2017-10-04 18:06:42 +01:00
Julien Valentin
d2162717b8
fix normalization bug (happen too early )
...
minor bug
bla
2017-10-04 07:23:46 +02:00
Robert Osfield
d2fa7c4317
Simplified and improved the glyph margin computation and usage
2017-09-29 20:21:13 +01:00
Robert Osfield
beb5801eee
Improved SDF generation
2017-09-29 10:39:02 +01:00
Robert Osfield
1f36f5bd8d
Added setting of the FontResolution of the DefaultFont
2017-09-29 10:25:04 +01:00
Robert Osfield
468d6d8eea
Added command line support for specifying "default" for osgText::DefaultFont
2017-09-29 10:20:59 +01:00
Robert Osfield
726bb13e9a
Improved the setup of the --counter test
2017-09-29 09:54:43 +01:00
Denys Koch
b3c08a8ad6
Fix loading of 16bit PNG images
...
When a 16bit PNG image is loaded, the internalTextureFormat is set to unsized (i.e pixelFormat) constant. This results in 8 Bit Texture2D
2017-09-28 11:09:18 +02:00
Robert Osfield
75d23b2c10
Fixed update of GlyphTexture Image when copying new Glyph image's to it.
2017-09-27 11:09:22 +01:00
Robert Osfield
8c575c0cea
UPdated from OpenSceneGraph-Data with handling of non textured text decoration
2017-09-26 15:32:41 +01:00
Robert Osfield
6ec9f0a3d3
Updated shader from OpenSceneGraph-Data/shaders to add fade out for SDF and non SDF pathways
2017-09-26 12:51:03 +01:00
Robert Osfield
ca5a8a81a2
Updated wiht OpenSceneGraph-Data/shader version that introduced use of textureLOD to reduce aliasing artifacts with SDF
2017-09-26 10:57:09 +01:00
Robert Osfield
845e1d4463
Updated shaders using latest OpenSceneGraph-Data/shader versions
2017-09-26 10:44:14 +01:00
Robert Osfield
6d4128324b
Improvements to SDF and outline generation
2017-09-26 10:42:47 +01:00
Robert Osfield
708ae1c076
Fixed rendering old sytel outline
2017-09-22 12:22:58 +01:00
Konstantin S. Matveyev
941ec1e451
LineSegmentIntersector fixed: intersection ratio remaped to the range of LineSegment => correct order in multiset of intersections
2017-09-22 11:46:02 +03:00
konstantin.matveyev
cf2b5d030c
tellg call removed from StreamOperator's checkStream function, because reading of files (readNodeFile etc.) with tellg on 'every iter' is approximately 100 times slower on Emscripten platform
2017-09-22 11:43:07 +03:00
Konstantin S. Matveyev
8d8035a173
LineSegmentIntersector fixed: intersection ratio remaped to the range of LineSegment => correct order in multiset of intersections
2017-09-22 11:34:28 +03:00
OpenSceneGraph git repository
e2d20a337d
Merge pull request #352 from remoe/patch-3
...
addShader fix
2017-09-22 07:56:30 +01:00
Remo E
49c336e514
addShader fix
2017-09-22 08:39:38 +02:00
Robert Osfield
b6bb0caf8d
Removed debug output
2017-09-21 16:04:10 +01:00
Robert Osfield
4b6722ab44
Added assignStateSet() to Text::setBackgroundColor()
2017-09-21 16:01:27 +01:00
Robert Osfield
12904105f8
Added support for toggling on use of the new SignedDistanceFunction function now built into osgText, just use --sdf to enable.
2017-09-21 15:52:07 +01:00
Robert Osfield
a1f519cbec
Removed debug info
2017-09-21 15:41:21 +01:00
Laurens Voerman
292b892478
VNC: try to find password for host if no password for host:port is found
2017-09-21 16:33:14 +02:00
Robert Osfield
957a7d4e92
Moved enabling/disabling of SDF so it's done regardless of whether a backdrop is used.
2017-09-21 14:35:31 +01:00
Robert Osfield
e72a38c8b6
Umproved SDF computation.
2017-09-21 14:32:17 +01:00
Robert Osfield
e565a5e1c3
Removed no longer used code paths
2017-09-20 16:51:30 +01:00
Robert Osfield
78811462f1
Added support for only enabling SignedDistanceField shader path when font resolution is greater than 16.
2017-09-20 15:51:03 +01:00
Robert Osfield
fb0a995d7b
cleaned up exmple
2017-09-20 14:30:23 +01:00
Robert Osfield
e8eb1ee0c7
Added Text::assignStateSet() and usage to make sure the correct StateSet is setup for each combination of backdrop settings
2017-09-20 14:29:05 +01:00
Robert Osfield
b0829cc352
Updated text_sdf.frag shader to handle GLES2+ versions
2017-09-20 11:02:06 +01:00
Robert Osfield
420094174e
Added commented out debug output to make it easier to test in future
2017-09-20 11:01:04 +01:00
Robert Osfield
fafa468fea
Fixed OSG_PRECISION_FLOAT usage
2017-09-19 17:07:59 +01:00
Robert Osfield
370ca2b8a3
Fixed X11 GLES2 build
2017-09-19 17:01:58 +01:00
Robert Osfield
72cf6734a1
Added osgText/shaders to support greyscale and Signed Distance Field based text
2017-09-19 16:35:28 +01:00
Robert Osfield
cc7cf54353
Added support for subsititing $VAR_NAME entries in shaders to enable writing shaders that work across GLSL versions.
2017-09-18 18:09:15 +01:00
Robert Osfield
5ade852172
Added constant sizeing vs changing label size relatve to font resolution, controlled by --constant-size and --scale-size command line options.
2017-09-15 15:14:19 +01:00
Konstantin S. Matveyev
8055ec9156
osg serializers fixed for static build, ShaderAttribute wrapper added
2017-09-15 12:36:19 +03:00
Robert Osfield
a12a43d352
Impprovide the computation of the Signed Distance Field
2017-09-14 15:58:38 +01:00
Robert Osfield
70b3a3a442
Fixed of shadow
2017-09-13 11:09:56 +01:00
Robert Osfield
1e11b89d04
Added --shadow-* command line variants to provide full control over the position of the text shadow
2017-09-13 11:08:51 +01:00
Robert Osfield
0d5a42f635
Added setting of the Text::BackdropImplementation type to USE_SHADERS when setting up shaders
2017-09-12 19:13:01 +01:00
Robert Osfield
7a50bdafe3
Changed the margin computation to properly account of the Signed Distance Function data
2017-09-12 16:03:35 +01:00
Robert Osfield
722ed6fc5e
Shifted set up of osgText related StateSet from osgText::Font into into osg::TextBase/Text to enable grater control over state required for specific Text implementations
2017-09-12 11:50:47 +01:00
Laurens Voerman
985b3a7206
removed las_c library from FindLIBLAS.cmake, it's not used by the osg plugin.
2017-09-12 09:19:33 +02:00
Robert Osfield
f98c23d460
Added extra command line paramter and osgText::Font settings to add better control of osgText::GlyphTexture generation to support signed distance field and outline image data.
2017-09-08 17:03:15 +01:00
Robert Osfield
2b010f019f
Added setting of the original font reoslution to the created Glyph
2017-09-08 17:02:38 +01:00
Robert Osfield
de47eb3666
Add support for generating outline and signed distance field channels in a RGBA packed GlyphTexture Image.
2017-09-08 16:59:43 +01:00
Robert Osfield
77d4705182
Added KeyHandler for toggling "SIGNED_DISTANCE_FIELD" and "OUTLINE" #pragma(tic) shader defines to control the different shader paths.
...
Keys to press are 'd' for toggle SIGNED_DISTANCE_FIELD and 'o' for OUTLINE.
2017-09-06 16:53:54 +01:00
Robert Osfield
20ee12e986
To control the GlyphTexture Min/MagFilter values Added --min <value> and --mag <value> filter with LINEAR, NEAREST and LINEAR_MIPMAP_LINER options for values
2017-09-06 10:40:05 +01:00
OpenSceneGraph git repository
cf14587b5c
Merge pull request #340 from mp3butcher/osganimation
...
add a new method on VertexInfluenceMap and the serializer for MorphTransforfHW
2017-09-04 15:35:01 +01:00
OpenSceneGraph git repository
4bc1320709
Merge pull request #344 from eligovision/OpenSceneGraph_text3d
...
Text3D dynamic changing fix
2017-09-04 15:21:26 +01:00
OpenSceneGraph git repository
ce8fa14d41
Merge pull request #345 from eligovision/OpenSceneGraph_example_text3d
...
example_osgtext3d: more options for testing
2017-09-04 15:20:54 +01:00
Julien Valentin
0a93569b9e
add DSO scope in modified XXXTransformHardware serializers
2017-09-04 12:04:37 +02:00
Konstantin S. Matveyev
ca42523cd0
example_osgtext3d: more options for testing
2017-09-04 11:44:30 +03:00
Konstantin S. Matveyev
3503a0fefb
Text3D dynamic changing fix
2017-09-04 11:29:50 +03:00
OpenSceneGraph git repository
ff6e77c874
Merge pull request #341 from scrawl/cullingactive_fix
...
LineSegmentIntersector: respect the 'cullingActive' flag for bounding box check
2017-09-04 08:36:49 +01:00
Julien Valentin
7da072b433
cleanup
2017-09-04 02:34:59 +02:00
Julien Valentin
041a2a6e72
make preparedata skeleton independant (as it was with the Rig::buildInfluenceSet)
...
no more divergence with master i think
2017-09-04 01:56:43 +02:00
scrawl
6048c1fbdc
LineSegmentIntersector: respect the 'cullingActive' flag when testing drawable bounding box
2017-09-03 14:15:36 +00:00
Julien Valentin
381c2150d4
Merge remote-tracking branch 'upstream/master' into osganimation
2017-09-01 20:03:05 +02:00
Julien Valentin
a73c20d7f5
update serializer with new properties
2017-09-01 19:13:01 +02:00
Julien Valentin
9560548722
add MorphTransformHardware serializer
2017-09-01 18:10:40 +02:00
Julien Valentin
a2b29c1afd
Merge remote-tracking branch 'upstream/osganimation' into osganimation
2017-09-01 18:04:32 +02:00
Julien Valentin
78dd81a8b4
add void InfluenceMap::removeUnexpressedBones(Skeleton &skel) const;
...
a bit experimental but work well without further process on my test set
2017-09-01 17:48:28 +02:00
OpenSceneGraph git repository
0e5acda26e
Merge pull request #338 from mp3butcher/osganimation
...
clean and bugfix
2017-09-01 16:46:38 +01:00
OpenSceneGraph git repository
7aeb455597
Merge pull request #337 from mp3butcher/osganimbugfix
...
fix a bug in how vertexattributes are filled
2017-09-01 15:50:47 +01:00
Julien Valentin
0d02dfbbbd
remove utility classes BoneWeight and IndexWeight in order to avoid unnecessary symbols
...
(but decrease a bit clarity of the code)
2017-09-01 16:23:49 +02:00
Julien Valentin
8b74b04de0
cleanup
2017-09-01 15:19:42 +02:00
Julien Valentin
dee9dc2164
a functional cleanup
2017-09-01 01:43:00 +02:00
Julien Valentin
5aa96727e9
clean and bugfixes
2017-08-31 20:57:19 +02:00
OpenSceneGraph git repository
34270cdcaa
Merge pull request #333 from mp3butcher/osganimation
...
osgAnimation: change animationdata owner from riggeometry to rigtransformimplementations
2017-08-31 14:32:39 +01:00
Julien Valentin
b790986f37
few cleanup
2017-08-31 13:49:27 +02:00
Julien Valentin
068a032dac
revert s/VertexIndexWeight/IndexWeight/
2017-08-31 13:30:24 +02:00
Julien Valentin
0926bb783d
fix example
2017-08-31 13:29:42 +02:00
Julien Valentin
4c4f760d4a
fix a bug in how vertexattributes are filled
2017-08-30 23:19:49 +02:00
Julien Valentin
f4675a5648
I found the damn bug in RigTransformHW
2017-08-30 23:01:21 +02:00
Julien Valentin
1f628235d4
rehabilit an init method to ensure morphing po setted before skinning po in case of rigeom source that are morphgeom
2017-08-30 20:36:34 +02:00
Robert Osfield
07a8d082e4
Added --shader filename command line parsing and associated set up of osg::Program to allow shaders to be passed into example to customize rendering
2017-08-30 17:43:29 +01:00
Robert Osfield
81f93e34b8
Added --interval value commnad line option for setting the Font::setGlyphInterval() to experimentation of clamping of glyph images to user specified intervals in the glyph texture
2017-08-30 16:22:25 +01:00
Robert Osfield
1289c4ee41
Added osgText::Font::s/getGlyphInterval(int) and GlyphTexture::s/getGlyphInterval(int) and internal support for clmapping positions of glyph images an defined intervals, defaults to 1.
2017-08-30 16:21:03 +01:00
Julien Valentin
86ad54f671
add parameter to XXXTranformHW to customize reserved texture attribs and vertex attribs
2017-08-30 17:07:11 +02:00
Julien Valentin
705695b41d
add a guard (if dirty) on uniform update
2017-08-30 15:48:45 +02:00
Julien Valentin
8fad310ce1
readd VertexInfluence whenever it's bad named and kinda useless
2017-08-30 15:30:03 +02:00
Julien Valentin
6d1193ee70
readd buildVertexInfluenceSet for backward compat
2017-08-30 14:59:31 +02:00
Julien Valentin
fd9b8f103e
cleanup
2017-08-30 14:26:15 +02:00
Julien Valentin
985d766f05
uncomment normalization in rigtransformxxx
2017-08-30 12:55:45 +02:00
Julien Valentin
0ebf540d65
add and comment out normlization in rigtransformXXX
2017-08-30 12:09:54 +02:00
Robert Osfield
7323bb776b
Added --margin texel_width and --margin-ration ratio to control the spacing between glyphs in the font.
2017-08-30 10:50:26 +01:00
Robert Osfield
20ecd5c60d
Added --test command line option that sets up all the sizes and font settings required for a useufl unit test.
2017-08-30 10:16:18 +01:00
Julien Valentin
fe99b568a0
refactor: remove totally VertexInfluence (renamed BoneInfluenceList) everywhere
2017-08-30 11:12:17 +02:00
Robert Osfield
f3bbb686d2
Removed debug messages
2017-08-29 17:32:14 +01:00
Robert Osfield
5566a025b5
Added TextSettings struct to manage values used to set up the text. with the addition of following command line parameters:
...
--outline // enable outlne
--shadow // enable shadow
--offset ratio // set the backdrop offset
--text-color r g b a // set the text body color
--bd-color r g b a // set the shadow/outline color
--bg-color r g b a // window background color
-o filename // write create subgraph to disk using specified filename
2017-08-29 17:19:26 +01:00
Julien Valentin
fae9729560
swap priority in BonePtrWeight comparator< yeild the same VG set
2017-08-29 17:41:38 +02:00
Julien Valentin
ce6a316bde
cleanup
2017-08-29 17:41:26 +02:00
Julien Valentin
186691a9db
remove virtual qualifier for deprecated method
2017-08-29 15:10:05 +02:00
Julien Valentin
21bcd61c92
add MorphTransformHW for RigGeometry sources that are MorphGeometry
2017-08-29 14:49:19 +02:00
Julien Valentin
059fc70337
set defaut implementation at creation
2017-08-29 14:49:11 +02:00
Robert Osfield
37487b0c0b
Added --ortho command line option to toggle use of orthographic camera or default perspective one
2017-08-29 13:48:06 +01:00
Robert Osfield
c36e47188b
Added argument parsing to viewer constructor
2017-08-29 12:21:14 +01:00
OpenSceneGraph git repository
5ccda08770
Merge pull request #334 from mathieu/ValidateProgramTooEarly
...
Under macOS the glValidateProgram reports too many errors
2017-08-29 10:51:06 +01:00
Mathieu MARACHE
e2f826b8fc
Under macOS the glValidateProgram reports too many
...
false negatives (errors) about missing buffers, etc..
From the internet https://stackoverflow.com/questions/15335510/opengl-glvalidateprogram-error-on-mac-os-x :
« […] The purpose of glValidateProgram is not to use it as an added "check" step after linking the program, because the GL and application state is hardly ready for actually using that program at this point, probably it's even before we get around to initializing the default framebuffer (its bitdepth, its multisample buffers, etc), and that's what the error hints at.
An appropriate place to call glValidateProgram would be right before you make a real render call. »
2017-08-29 11:34:27 +02:00
Julien Valentin
0c9a624026
few refactoring and fixes
2017-08-29 04:08:55 +02:00
Julien Valentin
b3402d9344
readd the 2 methods in InfluenceMap just in case
2017-08-29 00:34:26 +02:00
Julien Valentin
9856cecb71
cleanup
2017-08-29 00:09:38 +02:00
Julien Valentin
4a626cea20
remove VertexInfluenceSet
2017-08-29 00:07:07 +02:00
Julien Valentin
350756e738
add 2 method to VertexInfluenceMap:
...
normalize and cullInfluenceCountPerVertex
2017-08-28 18:42:22 +02:00
Julien Valentin
5123614f89
comply with refactoring
2017-08-28 18:27:23 +02:00
Julien Valentin
925f1524cf
total removal of the old path
2017-08-28 18:16:30 +02:00
Julien Valentin
28bb88a038
remove default order for BoneWeight and restore old sort func (behaviors differs)
2017-08-28 18:02:52 +02:00
OpenSceneGraph git repository
63e833a398
Merge pull request #332 from denyskoch/fix-boundingsphere-inequality-operator
...
Fix flawed BoundingSphere inequality operator
2017-08-28 16:28:30 +01:00
Julien Valentin
ad550acc60
clean unused
2017-08-28 17:13:48 +02:00
Julien Valentin
8707086914
fix the example
2017-08-28 17:13:23 +02:00
Julien Valentin
da1d2b67f7
remove old path and add few fixes
2017-08-28 17:01:03 +02:00
Julien Valentin
6d55d8d341
minor fixes
...
removed unused
2017-08-28 16:08:14 +02:00
Julien Valentin
2aab28149f
reroot to rigtransform::prepareData old path to rig::buildvertexinfluence
2017-08-28 15:59:13 +02:00
Julien Valentin
7659b23f38
remove unused
2017-08-28 15:44:09 +02:00
Julien Valentin
3efaccb298
add prepareData for RigTransformHW
2017-08-28 15:41:14 +02:00
Julien Valentin
4b56a4d3be
minor changes+fix
2017-08-28 15:40:04 +02:00
Julien Valentin
2b5ac5b4db
add default constructor for IndexWeight with invalid indices
2017-08-28 15:27:46 +02:00
Julien Valentin
f899a8dde5
add prepareData for rigttransform software
2017-08-28 14:44:09 +02:00
Denys Koch
1d1bfa1b39
Fix flawed BoundingSphere inequality operator
2017-08-28 14:34:39 +02:00
Julien Valentin
e216833286
few refactoring
2017-08-28 14:23:15 +02:00
OpenSceneGraph git repository
1aeb27b54f
Merge pull request #331 from mp3butcher/osganimation
...
Osganimation fix a bug introduced when readding transformsoftwareMethod
2017-08-28 13:18:37 +01:00
Julien Valentin
f995c9187e
Merge remote-tracking branch 'upstream/osganimation' into osganimation
2017-08-28 13:34:06 +02:00
Julien Valentin
66aedbb0b3
fix a bug introduced when readding transformsoftwareMethod
2017-08-28 13:25:04 +02:00
Robert Osfield
5d55ffe6ee
Merge branch 'osganimation' of https://github.com/mp3butcher/OpenSceneGraph into osganimation
2017-08-28 10:28:18 +01:00
OpenSceneGraph git repository
26d0d3f424
Merge pull request #330 from mathieu/ProgramFixFunctionAvailableCoreProfile
...
osg::Program::isFixedFunction() should'nt return true if fixed function unavailable
2017-08-28 10:02:27 +01:00
Mathieu MARACHE
1408c2664e
osg::Program::isFixedFunction() should'nt return true fixed function is unavailable, even if _shaderList.empty() is true
2017-08-28 09:44:10 +02:00
Julien Valentin
6dc6bd5b92
fix a bug introduced when readding transformsoftwareMethod
2017-08-28 05:26:20 +02:00
Julien Valentin
f46fdb4d4e
add a new prepareData method to the interface
2017-08-28 05:17:17 +02:00
Julien Valentin
2b2a8f3d2e
MorphTransformHardware using TBO added
2017-08-28 04:51:52 +02:00
Julien Valentin
ed04e2735e
readd virtual void transformSoftwareMethod() for retrocompatibity
2017-08-28 04:42:51 +02:00
OpenSceneGraph git repository
cf06256997
Merge pull request #327 from kornerr/master
...
Fix Emscripten build errors
2017-08-27 18:08:09 +01:00
OpenSceneGraph git repository
5efdcd5655
Merge pull request #328 from scrawl/group-docs
...
Fix docs for Group::addChild to match implementation
2017-08-27 18:07:21 +01:00
Julien Valentin
ca224c81dd
replace VertexInfluence to BoneInfluenceList
...
and VertexIndexWeight to IndexWeight
fix in example
2017-08-27 05:21:37 +02:00
Julien Valentin
4f0256bcc3
remove unused code and remove a commented section
2017-08-27 01:36:21 +02:00
Julien Valentin
0729e883d8
update serializers
2017-08-26 23:17:54 +02:00
Julien Valentin
32aaeccee1
refactoring and fixes
...
only change in design: decouplage between MorphGeometry and MorphTransform technique
no real change in behavior (i hope)
2017-08-26 23:06:39 +02:00
Michael Kapelko
871d8c54ec
Fix Emscripten build errors
2017-08-26 19:25:00 +03:00
scrawl
1cd1ab1c60
Fix docs for Group::addChild to match implementation
...
Checking for duplicates is only done if ENSURE_CHILD_IS_UNIQUE is defined, but this is never defined anywhere.
2017-08-26 11:30:55 +00:00
OpenSceneGraph git repository
2c6c2bde3c
Merge pull request #326 from emminizer/glcore3_cmakefix
...
SETUP_EXE in CMake now uses same define for including the GLCORE head…
2017-08-25 14:49:38 +01:00
OpenSceneGraph git repository
1d24b2dc44
Merge pull request #325 from emminizer/msvc2015_exportfix
...
Removed inappropriate use of OSG_EXPORT on DefaultIndirectCommandDrawArrays and De…
2017-08-25 14:48:42 +01:00
Daniel Emminizer
a9f0793e69
SETUP_EXE in CMake now uses same define for including the GLCORE headers as SETUP_LIBRARY and SETUP_PLUGIN. Fixes Windows build errors for applications.
2017-08-25 09:04:05 -04:00
Daniel Emminizer
2e456eeddc
No longer using OSG_EXPORT on DefaultIndirectCommandDrawArrays and DefaultIndirectCommandDrawElements, fixing compile errors in MSVC 2015.
2017-08-25 08:55:25 -04:00
OpenSceneGraph git repository
830133b1a8
Merge pull request #324 from mp3butcher/osganimation
...
Add extensions
2017-08-25 10:04:40 +01:00
Julien Valentin
c89b08ea1f
Add extensions
2017-08-25 00:19:22 +02:00
Robert Osfield
68e0b25d32
Cleaned up warnings and removed assorts.
2017-08-24 15:13:14 +01:00
OpenSceneGraph git repository
07ea948f50
Merge pull request #322 from mp3butcher/MDI7
...
fix osggpucull to fit both new BIB and MDI
2017-08-24 13:55:56 +01:00
Julien Valentin
2d1aaedb9c
fix osggpucull to fit both new BIB and MDI
2017-08-24 14:20:10 +02:00
Robert Osfield
be2f2d6595
Bumped SO version to reflect changes in ABI
2017-08-24 11:17:43 +01:00
OpenSceneGraph git repository
cf91bb42f0
Merge pull request #321 from LaurensVoerman/tgaMissingColormap
...
fix gcc/VC compile warnings, reject color mapped tga files with missing colormap.
2017-08-24 11:08:38 +01:00
Laurens Voerman
9ef4859f55
fix gcc/VC compile warnings, reject color mapped tga files with missing colormap.
2017-08-24 11:37:21 +02:00
OpenSceneGraph git repository
f99b786a6e
Merge pull request #320 from mp3butcher/MDI7
...
MultiDrawIndirect
2017-08-24 10:33:44 +01:00
Julien Valentin
107b7be95b
Merge remote-tracking branch 'upstream/master' into MDI7
2017-08-24 11:26:23 +02:00
OpenSceneGraph git repository
b89384d810
Merge pull request #318 from mp3butcher/osganimation
...
change the design of BufferIndexBinding to work with BufferData instead of BufferObject +matrix transpose
2017-08-24 09:53:32 +01:00
Julien Valentin
3de1ce062c
comply with osg::BufferIndexBinding new design (a miss)
2017-08-24 10:29:19 +02:00
Julien Valentin
d49f0d67af
change the design of BufferIndexBinding to work with BufferData instead of BufferObject
...
allow convenient BufferData abstraction + serialization of BufferIndexBinding
2017-08-24 03:28:55 +02:00
Julien Valentin
3b03699fbc
add a transpose method for 4x4
...
and a transpose3x3 to transpose only orthogonal part of a mat4x4
2017-08-23 23:49:36 +02:00
Robert Osfield
eefeb3bb93
Fixed underflow issue
2017-08-23 15:26:07 +01:00
Robert Osfield
3b69755117
Fixed comparison to properly handle texture coordinates being assigned
2017-08-23 14:51:18 +01:00
OpenSceneGraph git repository
90e27d3b7d
Merge pull request #314 from LaurensVoerman/notify2
...
reduce the need to reallocate the std::ostream buffer behind osg::Notify
2017-08-23 14:48:04 +01:00
Robert Osfield
bb3b69962a
Warning fixes
2017-08-23 14:39:35 +01:00
Laurens Voerman
682730fbe4
reduce the need to reallocate the std::ostream buffer behind osg::Notify (causing multitreading issues) by pre-allocating 4095 bytes.
2017-08-23 11:53:16 +02:00
OpenSceneGraph git repository
e4ed8490ac
Merge pull request #315 from kornerr/master
...
Fix stat64 build issue with NDK 15 by definining it as stat for Android
2017-08-23 08:54:10 +01:00
Michael Kapelko
59d3b1ebac
Fix stat64 build issue with NDK 15 by definining at stat for Android
2017-08-22 22:49:56 +03:00
Robert Osfield
1b65adeebc
Updated ChangeLog
2017-08-22 12:04:18 +01:00
Robert Osfield
674c25fceb
Added catch for controbutors list
2017-08-22 11:59:22 +01:00
Robert Osfield
0dbcfff679
Added name typo fix
2017-08-22 11:58:49 +01:00
OpenSceneGraph git repository
ad98bdd165
Merge pull request #311 from eligovision/master
...
Geometry::compileGLObjects function VAO fix
2017-08-22 09:22:41 +01:00
OpenSceneGraph git repository
6095c4f3d5
Merge pull request #312 from LaurensVoerman/vnc_plugin
...
ReaderWriterVNC.cpp fix g++ warnings
2017-08-22 09:21:24 +01:00
Laurens Voerman
3a50e2948b
ReaderWriterVNC.cpp fix g++ warnings
2017-08-22 09:35:00 +02:00
Konstantin S. Matveyev
d1453a41c2
Geometry::compileGLObjects function VAO fix
2017-08-22 10:12:36 +03:00
OpenSceneGraph git repository
16bb0561ea
Merge pull request #309 from mp3butcher/osganimation
...
add DrawElementTypeSimplifierVisitor constructor because default nodevisitor is TRAVERSE_NONE..
2017-08-22 08:01:40 +01:00
Julien Valentin
f97b1626b3
fix nodevisitor construction
2017-08-21 18:33:56 +02:00
Robert Osfield
af609dfb67
Revert commit 904619e219 as it was causeing build problems
2017-08-21 16:24:34 +01:00
Robert Osfield
50cd8850f8
Added handling of CPACK and automatically generated package files
2017-08-21 15:06:31 +01:00
Robert Osfield
8926f0e9c2
Using a PR from Sando Mani for requestioning a specific GL version as a base, cleaned up formattating, made the new code paths simpler and added clean up of memory
2017-08-21 11:40:45 +01:00
OpenSceneGraph git repository
70135d606e
Merge pull request #307 from eligovision/master
...
[*] createTexturedQuadGeometry: fixed for GL3 spec
2017-08-20 19:53:41 +01:00
OpenSceneGraph git repository
dc005a0719
Merge pull request #308 from OpenMW/collada_valuetype_patch
...
Use osg::Quat::value_type instead of double in collada plugin
2017-08-20 19:52:31 +01:00
scrawl
fb214b62a1
Use osg::Quat::value_type instead of double in collada plugin
...
Note that although the value_type is currently always double, using the proper typedef will open the door to implementing a float Quaternion in the future (as I have done so in my own fork)
2017-08-20 15:56:40 +00:00
konstantin.matveyev
6841f37ccc
[*] createTexturedQuadGeometry: fixed for GL3 spec: GL_QUADS -> GL_TRIANGLES
2017-08-20 18:01:49 +03:00
OpenSceneGraph git repository
55f5335f18
Merge pull request #306 from AnyOldName3/targa-type-one-support
...
Add support for type-1 (colour-mapped, uncompressed) targa images to …
2017-08-20 08:32:02 +01:00
AnyOldName3
67a0f815e4
Add support for type-1 (colour-mapped, uncompressed) targa images to the osgTGA plugin
2017-08-19 22:22:20 +01:00
OpenSceneGraph git repository
32f895bc5f
Merge pull request #304 from eligovision/master
...
glClear should not be called with zero-mask in osgUtil::RenderStage::…
2017-08-19 17:20:40 +01:00
Robert Osfield
904619e219
Merged addition of "" around variable from 3.4 branch
2017-08-18 16:13:16 +01:00
Konstantin S. Matveyev
036add8e9e
glClear should not be called with zero-mask in osgUtil::RenderStage::drawImplementation
2017-08-18 10:20:26 +03:00
Robert Osfield
bdbff4824b
Fixed iterator comparison.
2017-08-18 08:11:57 +01:00
OpenSceneGraph git repository
fa61cca6ea
Merge pull request #301 from LaurensVoerman/Submit_linkWithVariables
...
fix for visual studio trying to link "debug.lib" and "release.lib"
2017-08-17 13:55:13 +01:00
Robert Osfield
34b4e70015
Added version check for boolean, TRUE and FALSE settings
2017-08-17 10:52:59 +01:00
Laurens Voerman
c939f7f0fc
fix for visual studio trying to link "debug.lib" and "release.lib"
2017-08-17 11:44:06 +02:00
Robert Osfield
af79ad451e
Added remapping of CMAKE_BUILD_TYPE strings that don't have the correct case.
2017-08-16 17:51:58 +01:00
Robert Osfield
f3adcda6b7
Removed the GLclampd declaration and replaced its usage with GLdouble to standardize the OSG extension setup with current GL/GLES headers.
...
Added a float fallback from osg::DepthDangeIndex to suppprt GLES.
2017-08-16 14:20:00 +01:00
OpenSceneGraph git repository
bfbaecaf49
Merge pull request #300 from eligovision/master
...
Text3D character/glyph size fix
2017-08-16 11:30:14 +01:00
OpenSceneGraph git repository
2831fc8088
Merge pull request #299 from luzpaz/misc-typo-fixes
...
misc. typo fixes
2017-08-16 09:04:02 +01:00
konstantin.matveyev
237ab29ff8
Merge remote-tracking branch 'upstream/master'
2017-08-15 22:15:31 +03:00
konstantin.matveyev
b0ef9b0c42
Text3D character/glyph size fixed
2017-08-15 22:11:15 +03:00
luzpaz
2cd31f65e4
misc. typo fixes
...
mostly non-user-facing but some doxy.
2017-08-15 12:23:49 -04:00
Robert Osfield
7b2dbc603c
Fixed warning
2017-08-15 16:35:23 +01:00
Uwe Woessner
f186f6b2d4
Extension to the PLY plugin to read files with textures.
2017-08-15 15:52:35 +01:00
OpenSceneGraph git repository
86d7a903a1
Merge pull request #298 from eligovision/master
...
Emscripten: EGL instead of SDL2 in GLExtensions.cpp
2017-08-15 06:39:02 +01:00
konstantin.matveyev
7e0a20b4ba
Merge remote-tracking branch 'upstream/master'
2017-08-14 14:58:29 +03:00
konstantin.matveyev
8e8d5b2fe0
Emscripten: EGL instead of SDL2 in GLExtensions.cpp
2017-08-14 11:19:04 +03:00
Robert Osfield
c18be2fc41
Replaced local FindZLIB.cmake usage with CMake's own FindZLIB.cmake, and ZLIB_LIBRARY to ZLIB_LIBRARIES
2017-08-09 14:18:35 +01:00
OpenSceneGraph git repository
e606e0b4de
Merge pull request #296 from openscenegraph/FullScreen
...
From Don Burns, add use of Xinerama to ensure full screen goes across all screens.
2017-08-09 14:08:59 +01:00
Robert Osfield
b46ccd0aa5
Disabled the building of deprecated serializations in convertity_scan
2017-08-09 08:58:25 +01:00
Anna Sokol
9d1234e866
In the attached GraphicsWindowWin32.cpp file, I changed order of the "else-if" for the TOUCHEVENTF_UP and TOUCHEVENTF_MOVE, I made it less intrusive then changing them into "if" events. I tested this on Windows 7 64-bit with a touch screen and a Windows 10 64-bit tablet.
...
Separately in the same file, I also needed to address the fact that the close button would not react on touch so I added to the top of the "handleNativeWindowingEvent" close button handling in case of touch events. Again this was tested on the same 2 devices.
2017-08-08 13:35:35 +01:00
Robert Osfield
0d128c3a1a
Added link to ABI tracker
2017-08-07 16:32:44 +01:00
OpenSceneGraph git repository
fbb5dabdd5
Merge pull request #294 from mp3butcher/MDI6
...
add resize methods method in IndirectCommandArrays ..etc..
2017-08-06 15:30:27 +01:00
Julien Valentin
899a704eb7
update IndirectCommandArrays interfaces and default impl to use DrawElements like semantic
2017-08-05 18:03:27 +02:00
Julien Valentin
35eb53cc95
add MDI support
2017-08-02 22:10:02 +02:00
Julien Valentin
7f292c3fb5
add resize methods method in CommandArrays (it allows user to work without casting to the concrete class result of MDI.getCommandArray())
...
move getTotalDataSize in CommandArrays interfaces
comply with other DrawElementsXXX removing parameters in mdi constructors and add several method ( allow use of osgUtil::DrawElementTypeSimplifer on these)
2017-08-02 21:50:25 +02:00
OpenSceneGraph git repository
d4dda546d0
Merge pull request #293 from mp3butcher/MDI6
...
fix a bug in MDI serializer
2017-08-01 07:54:37 +01:00
Julien Valentin
3965b4e66e
fix a bug in MDI serializer
2017-08-01 02:18:15 +02:00
Robert Osfield
fda30b36d1
Merged #pragmatic shader fix from OpenSceneGraph-3.4 branch.
2017-07-31 13:38:18 +01:00
OpenSceneGraph git repository
0df8e78391
Merge pull request #287 from mp3butcher/MDI6
...
correct a bug and make MDI example more conservative
2017-07-31 08:09:16 +01:00
Julien Valentin
9e9d3cd249
fix a bug : indices pre incremented should be post
2017-07-31 03:15:03 +02:00
Julien Valentin
3537460b0e
Add arguments, command line usage and use DrawElementsUInt for classic case
2017-07-31 03:10:19 +02:00
Julien Valentin
aac146c7bc
correct a bug and make it more conservative
2017-07-31 02:43:50 +02:00
OpenSceneGraph git repository
5b779ad410
Merge pull request #285 from mp3butcher/MDI6
...
add a very simple example for mdi with basevertex
2017-07-30 15:40:17 +01:00
Julien Valentin
d810d4a4c0
add a very simple example for mdi with basevertex
2017-07-30 10:28:56 +02:00
Robert Osfield
fc95045259
Updated version number, ChangeLog and AUTHORS file for 3.5.7 developer release
2017-07-28 17:17:25 +01:00
Robert Osfield
d1adb9acbc
Added missing break statements
2017-07-28 14:34:59 +01:00
Robert Osfield
3bda71ef15
Improved readability and consistency with the rest OSG by adding/removing spaces and brackets where appropriate.
2017-07-28 14:32:56 +01:00
Robert Osfield
5a946e218f
Improved the readability and consistency with the rest of the OSG by inserting/removing spaces and line spacing.
2017-07-28 13:30:36 +01:00
OpenSceneGraph git repository
3076779a14
Merge pull request #267 from kornerr/master
...
Add osgemscripten example
2017-07-28 10:27:47 +01:00
OpenSceneGraph git repository
af25f14d73
Merge pull request #278 from mp3butcher/MDI2
...
Mdi
2017-07-28 08:46:30 +01:00
mp3butcher
a45c4c8f39
set DIBO of the drawcommandarray directly in their interface constructor
...
it makes osggpu use case lighter + drawcommandarray can't exist without a BO
2017-07-27 12:27:55 +02:00
mp3butcher
104b2dfc72
Promote PrimitiveSetIndirect's VBO to a target explicited DIBO (in order to benefit from BOSet queue management)
2017-07-27 12:13:05 +02:00
OpenSceneGraph git repository
a38e46a30f
Merge pull request #277 from mp3butcher/MDI2
...
PrimitiveSetIndirect cleanup + serializers
2017-07-27 10:26:43 +01:00
mp3butcher
7606159a78
add DrawIndirectBufferObject as State variable in order to minimize call to glBindBuffer(GL_DRAW_INDIRECT_BUFFER,X)
...
TODO: Promote PrimitiveSetIndirect's VBO to target explicited DIBO (in order to benefit from BOSet queue management)
2017-07-27 01:54:25 +02:00
mp3butcher
9b53775840
remove deprecated DrawIndirectBufferBinding
2017-07-27 01:40:04 +02:00
mp3butcher
8742ad8da6
fix some errors during renaming and cleanup code
2017-07-27 01:08:37 +02:00
mp3butcher
b26fa74e7e
add untested serializers for PrimitiveSetIndirect
2017-07-26 23:38:20 +02:00
mp3butcher
f27c379b1e
some renaming and harmonisations with osg metamodel convention
2017-07-26 23:36:55 +02:00
Robert Osfield
8145791e6f
Merge branch 'MDI2' of https://github.com/mp3butcher/OpenSceneGraph into MultiDrawIndirect
2017-07-26 20:46:09 +01:00
mp3butcher
5be14bc2ba
first commit for Indirect Draw integration in osg
...
users will have to implement interfaces for their custom drawcommandarrays
add a lot of new primitive set + few defines
integration is made in osggpucull
2017-07-26 21:20:28 +02:00
Robert Osfield
fcdd3750c2
Replaced FindOurDCMTK.cmake usage with FindDCMTK.cmake
2017-07-26 12:54:37 +01:00
Robert Osfield
e4b4d1aa59
Replaced local FindOurDCMTK.cmake with stock Cmake's FindDCMTK.cmake as the later is now feature complete and has full support for debug and release libraries.
2017-07-26 12:26:38 +01:00
Robert Osfield
9cdeabfbb6
Merged MSVC static build fix from OpenSceneGraph-3.4
2017-07-25 14:56:27 +01:00
Anna Sokol
c32d3eb926
Since version 2.5.1 freetype has supported the WOFF extension format.
...
In the attached ReaderWriterFreeType.cpp file I added the following line:
supportsExtension("woff","web open font format");
2017-07-17 16:46:16 +01:00
OpenSceneGraph git repository
f2176a12a7
Merge pull request #270 from caishanli/patch-1
...
fix StatsHandler crash on windows
2017-07-17 07:53:48 +01:00
Cai Shanli
bdd6817cee
fix StatsHandler crush on windows
...
change static_cast to dynamic_cast to avoid type cast error
2017-07-03 16:24:01 +08:00
Michael Kapelko
f992ec1440
Add osgemscripten example
2017-06-22 09:44:06 +07:00
Robert Osfield
0b5f45289d
Updated SO version number to 149 to enable uint64 object length read/writing in the .osgb format
2017-06-19 15:55:42 +01:00
Robert Osfield
83d08b18f8
Added version checks for when writing out new 64bit object sizes
2017-06-19 15:45:35 +01:00
Robert Osfield
605b3619cd
Replaced long long with uint64_t
2017-06-19 15:33:52 +01:00
OpenSceneGraph git repository
eab845a4c5
Merge pull request #264 from rickyviking/binaryStreamLargeBlock
...
BinaryStreamOperator: read and write block size as long long integer
2017-06-19 15:25:04 +01:00
Robert Osfield
9f3533632a
Added ability for OSG serializers to get the file version number when writing out via the OutputStream object
2017-06-19 12:04:03 +01:00
OpenSceneGraph git repository
da7a0968be
Merge pull request #265 from cxw42/array-classname
...
Make Array::className() support all Array::Type values
2017-06-19 08:50:00 +01:00
OpenSceneGraph git repository
883567851c
Merge pull request #263 from cxw42/build-fix
...
Still build even if CPACK_GENERATOR is undefined
2017-06-19 08:43:54 +01:00
Robert Osfield
ce7593c799
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2017-06-19 08:26:24 +01:00
OpenSceneGraph git repository
9ba59eceaa
Merge pull request #260 from blobfish/primitiveIndex
...
Intersections and primitive index
2017-06-19 08:12:47 +01:00
Chris White
eb99df894a
Make Array::className() support all Array::Type's
...
Array::className() had fallen out of date with respect to Array::Type.
This commit updates it, and adds documentation and a debug message to
serve as a reminder for future additions of values to Array::Type.
2017-06-16 11:02:14 -04:00
Riccardo Corsi
eff73bad76
BinaryStreamOperator: read and write block size as long long integer on 8 bytes, to accommodate arbitrarily large block size.
...
When reading check of file version for backward compatibility.
2017-06-14 16:09:40 +02:00
cxw
dbff652aed
Still build even if CPACK_GENERATOR is undefined
...
Without the quotes around `${CPACK_GENERATOR}`, Windows CMake, generating
for VS2013, would exit with an error because the `STREQUAL` only had one arg.
2017-06-10 22:05:19 -04:00
OpenSceneGraph git repository
ca20eb2cba
Merge pull request #261 from cxw42/doxy-osgui
...
Added osgUI to Doxygen-generated documentation
2017-06-08 07:10:32 +01:00
Chris White
5812c267b1
Added osgUI to Doxygen-generated documentation
2017-06-07 07:50:55 -04:00
blobfish
f5bd280b51
osg: KdTree: count degenerates to keep original primitive index in sync
2017-06-04 17:29:57 -04:00
blobfish
bb804c2045
osg: KdTree: encode original primitive index into _vertexIndices
2017-06-04 17:29:57 -04:00
blobfish
b52bc2bcd1
osgUtil: LineSegmentIntersector: don't increment primitive index until after adding intersection
2017-06-04 17:29:57 -04:00
blobfish
47efc55621
osgUtil: PolytopeIntersector: don't increment primitive index until after adding intersection
2017-06-04 17:29:57 -04:00
blobfish
69e1df6b65
examples: osgkeyboardmouse: add primitive index to LineSegmentIntersector output
2017-06-04 17:29:57 -04:00
OpenSceneGraph git repository
f3c4234f92
Merge pull request #259 from jtorresfabra/fixes_kdtree
...
Fixes kdtree building
2017-06-02 09:29:05 +01:00
Jordi
8a2f1bc056
Fixes kdtree building
2017-05-31 13:33:37 +02:00
Robert Osfield
8e6a77d216
Added TimeMultiplier and LoopingMode to ImageSequence .osg serializer
2017-05-29 12:24:01 +01:00
Robert Osfield
79e764bd17
Improved support for Text with large numbers of glyphs
2017-05-25 12:38:54 +01:00
Robert Osfield
502acc19c9
Build fix
2017-05-25 09:54:11 +01:00
Robert Osfield
2fe039e349
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2017-05-25 09:37:30 +01:00
OpenSceneGraph git repository
ccd79d9db1
Merge pull request #258 from kornerr/master
...
Add x86_64 architecture to iOS simulator
2017-05-25 09:37:26 +01:00
Robert Osfield
badb914d46
Tidied up spacing
2017-05-25 08:56:53 +01:00
Robert Osfield
5f446e0022
Fixed naming of OSG_USE_DEPRECATED_API
2017-05-25 08:48:45 +01:00
Robert Osfield
20ac472d1f
Moved OSG_USE_DEPRECATED_API from include/osg/Export to Cmake controlled include/osg/Config
2017-05-24 19:40:08 +01:00
Robert Osfield
8c54a49319
Replaced deprecated API usage
2017-05-24 19:39:36 +01:00
Robert Osfield
a60aed70b5
Replaced DimensionMask naming with more appropriate PrimitiveMask nameing.
2017-05-24 18:36:52 +01:00
Robert Osfield
a201b15648
Added support for PolytopeIntersector::setDimensionsMask.
2017-05-24 18:36:52 +01:00
Robert Osfield
6d46a35900
Aded --dim-mask mask and --dm mask command line option for setting the PolytopeIntersector::setDimensionsMask().
2017-05-24 18:36:31 +01:00
Michael Kapelko
55d394490a
Add x86_64 architecture to iOS simulator
2017-05-24 22:29:19 +07:00
Robert Osfield
47aaca5191
Updated ChangeLog for 3.5.6 dev release
2017-05-19 17:06:36 +01:00
Robert Osfield
90cda8ede2
Refactored COLLADA_BUILDNAME and COLLADA_BOOST_BUILDNAME to resolve case where CMAKE_VS_PLATFORM_TOOLSET is not set.
2017-05-15 14:53:27 +01:00
Robert Osfield
17d39e3db2
From Don Burns, add use of Xinerama to ensure full screen goes across all screens.
2017-05-12 16:26:07 +01:00
Robert Osfield
d02be06df9
Updated AUTHORS file for dev release
2017-05-11 16:32:13 +01:00
Robert Osfield
36f04a04ee
Updated ChangeLog
2017-05-11 16:29:45 +01:00
Robert Osfield
9738d19343
Build fix.
2017-05-11 16:27:20 +01:00
Robert Osfield
36bd42b0dd
Updated SO_VERSION to reflect API changes to KdTree
2017-05-11 16:10:47 +01:00
Robert Osfield
a74b4b94a9
Fixes/clean up of KdTree/LineSegmentIntersector/PolytopeIntersector
2017-05-11 15:29:31 +01:00
Robert Osfield
6e1866ac18
Added --points and --lines command line options that do a very simplistic conversion of geometry primitives to points or lines respectively, used to aid testing of intersectors
2017-05-11 15:29:31 +01:00
Robert Osfield
03f73d3aad
Added --double and --float command line options to enable toggling between double and float precision in intersectors
2017-05-11 15:29:31 +01:00
Robert Osfield
1196e82587
Added missing header
2017-05-11 15:29:31 +01:00
Robert Osfield
40ca018e66
Introduced use of TempaltePrimitiveFunctor and TempaltePrimitiveIndexFunctor as a test of these template classes
2017-05-11 15:29:31 +01:00
Robert Osfield
bc0a402dac
Improved indentation, making it consistent with the rest of the OSG headers
2017-05-11 15:25:10 +01:00
Robert Osfield
9ce657f413
Created TemplatePrimitiveIndexFunctor to enable easier handling of point, lines, triangles and quad index meshes
2017-05-11 15:25:10 +01:00
Robert Osfield
c9545970ac
Removed redudent bool parameter from TriangleFunctor::operator(Vec3, Vec3, Vec3, bool) so it's now simply TriangleFunctor::operator(Vec3, Vec3, Vec3) as the bool was always false in recently OSG versions.
2017-05-11 15:25:10 +01:00
Robert Osfield
48a3fc30f3
Removed old style OpenGL methods from PrimitiveFunctor classes/templates as these are no longer used or required.
2017-05-11 15:25:10 +01:00
Robert Osfield
e7e372bad2
Added support for using new IntersectFunctor for non kdtree as well as kdtree PolytopeIntersector
2017-05-11 15:25:10 +01:00
Robert Osfield
a7d98f80dc
Added ability to pass in command line arguments to the osgkeyboardmouse viewer constructor
2017-05-11 15:25:10 +01:00
Robert Osfield
770a52d354
Implemented the setting of all the PolytopeIntersector::Intersection values on hits detected by KdTree/Polytope intersection codes
2017-05-11 15:25:10 +01:00
Robert Osfield
e03d9f84c6
Moved the Polytope::contains(..) triangle test into PolytopeIntersector to enable customization and optimization.
2017-05-11 15:25:10 +01:00
Robert Osfield
e09dfb93f1
Added group intersection test that covers the window with 10000 tests, activated by pressing 'a'. I have added this to provide a reproducable intersection test for benchmarking.
2017-05-11 15:25:10 +01:00
Robert Osfield
0a651fef7c
Added support for outputting the model, filename defaults to model.osgt, to override this use -o filename on command line, and to write the file press 'o' key.
2017-05-11 15:25:10 +01:00
Robert Osfield
8f5493e573
Implemented Polytope::contains(..) for triangle vertices and added support for using the results mask.
2017-05-11 15:25:10 +01:00
Robert Osfield
265efb85a1
Initial work on adding KdTree support for PolytopeIntersector.
2017-05-11 15:25:10 +01:00
Robert Osfield
b77301350b
Added --kdtree command line option and associated invocation of KdTreeBuilder to enable benchmarking.
...
Added timing stats code.
2017-05-11 15:25:10 +01:00
Robert Osfield
728a7f2225
Merge branch 'MultiViewAutoTransform'
2017-05-11 14:35:50 +01:00
OpenSceneGraph git repository
9f9c605422
Merge pull request #252 from remoe/patch-2
...
Avoid call of SetupThreads in DatabasePager Constructor
2017-05-10 11:18:09 +01:00
OpenSceneGraph git repository
78d232edaf
Merge pull request #254 from tomhog/topic-gles3-ios
...
Topic gles3 ios
2017-05-10 11:13:11 +01:00
OpenSceneGraph git repository
0cc2e1f848
Merge pull request #250 from cxw42/example-osggeometry
...
Added comments to make code easier to understand. Turned off lighting in examples/osggeometry
2017-05-10 10:54:55 +01:00
Chris White
1f05290982
Added clarifying comments in examples/osggeometry
...
Per reviewer feedback
2017-05-09 15:51:24 -04:00
Chris White
6df273a865
Turned off lighting in examples/osggeometry
...
This way you can see the image and the points even if you view them
close to edge-on.
2017-05-09 15:51:24 -04:00
Robert Osfield
8b2f61ec2a
Addeed support for GLES shaders
2017-05-08 12:27:07 +01:00
Thomas Hogarth
2ce5238cf7
Added more plugins to iOS example, Textures now working on GLES3 (missed so if defineds)
2017-05-04 18:17:30 +01:00
Thomas Hogarth
fe0b53d7f5
Added more plugins and texture shader to iOS example, fixed a couple of missed if defines for GLES3
2017-05-04 00:24:46 +01:00
Remo E
36eb0e945f
Avoid call of SetupThreads in DatabasePager
...
This solves a bug with some shared library configurations. Sometimes the DatabasePager Singleton is initialised before one can call other configuration options like "setNumOfDatabaseThreadsHint". But OSG initialise it here:
https://github.com/openscenegraph/OpenSceneGraph/blob/master/src/osgDB/DatabasePager.cpp#L1555
So this call is not needed?!
2017-04-28 16:51:34 +02:00
Robert Osfield
a95d66a587
Replaced dynamoc_cast<osg::CullStack*> with asCullStack() to improve performance of AutoTransform, screen size based LOD and PagedLOD.
2017-04-26 17:10:58 +01:00
Robert Osfield
92092a56ae
Refactored AutoTransform so that it dynamically computes the rotation, scale and matrices during the cull traversal to enable usage in multi-view, multi-threaded applications
2017-04-26 11:50:35 +01:00
Robert Osfield
c5b22f341a
Added ability to create windows for each view using -w command line hint.
2017-04-26 09:48:08 +01:00
Robert Osfield
3869714005
Added multiple view support to osgautotransform for testing multi-views
2017-04-25 20:26:26 +01:00
Robert Osfield
a4b0dc7426
Added missing Node::asAutoTransform() + NodeVisitor::apply(AutoTransform&).
2017-04-25 18:04:04 +01:00
Alexander Roan
3dc3dd3bd6
GLExtenstions: fix checking of isFrameBufferObjectSupported flag for GLES2
2017-04-24 10:19:58 +01:00
OpenSceneGraph git repository
7c926db2bd
Merge pull request #249 from uhertlein/master
...
Fixes compiler warning regarding logic vs bitwise AND
2017-04-23 21:23:14 +01:00
Ulrich Hertlein
c5450394b0
RAII memory management for macOS image loading
...
- use std::vector instead of manual memory management
- removes dead/commented code
2017-04-23 21:38:38 +02:00
Ulrich Hertlein
b26e350e72
Updates the macOS build instructions in README.md.
...
- Removes obsolete instructions regarding x86_64 vs i386, Cocoa vs Carbon, etc
- Markdown formatting changes
2017-04-23 21:38:37 +02:00
Ulrich Hertlein
e723c6d63b
Fixes compiler warning regarding logic vs bitwise AND
2017-04-23 11:52:05 +02:00
Farshid Lashkari
9bc93fb18e
There is a small bug in how the FBX importer computes the rotation matrix for nodes. It applies the "RotationOrder" property to the local, pre, and post rotation values. However, the pre/post rotation values should always use a fixed XYZ order. The "RotationOrder" property should only apply to the local rotation value. I've attached the updated file with the fix.
2017-04-18 17:01:26 +01:00
Farshid Lashkari
2523dee7e0
Modified the FBX loader to support bump, specular, and gloss maps. I've attached a zip containing the modified files.
2017-04-18 16:40:56 +01:00
Farshid Lashkari
420d3065f4
When the "ZUp" option was added to the fbx loader, it broke the previous behavior of converting to the OpenGL axis system. I'm referencing the following commit:
...
c168887e5e
This commit inverted the value of the "fSign" variable, but did not update the previous code that used the variable. I've attached the change that restores the original behavior when not using the "ZUp"
2017-04-18 16:01:58 +01:00
Robert Osfield
d9b62b39e1
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2017-04-07 17:35:58 +01:00
OpenSceneGraph git repository
a7548794c0
Merge pull request #244 from LaurensVoerman/submit_osgtMissingTextureCrash
...
fix a crash when reading an osgt file with multiple references to a missing texture.
2017-04-07 17:34:22 +01:00
OpenSceneGraph git repository
004cbb4b78
Merge pull request #245 from LaurensVoerman/submit_dupeEnum
...
remove info message about GL_LINES_ADJACENCY_EXT / GL_LINES_ADJACENCY
2017-04-07 17:33:25 +01:00
Laurens Voerman
36fc30d8e7
avoid INFO message about duplicate enums with and without _EXT
2017-04-07 15:56:32 +02:00
Laurens Voerman
4bc855b610
fix a crash when reading an osgt file with multiple references to a missing texture.
2017-04-07 15:27:56 +02:00
jamie robertson
f16167c3e8
osgbindlesstext example fix : needed to add "viewer.realize()" before the line "viewer.getCamera()->getGraphicsContext()" in order to get a valid graphics context, before viewer.run() is called.
2017-04-07 07:15:30 +01:00
Robert Osfield
43891d6cc1
Removed unneccessary EXT usage
2017-04-07 07:11:57 +01:00
Jamie Robertson
0e69fe6bc6
VS build fix
2017-04-07 07:09:24 +01:00
Konstantin Matveyev
0f04d2f032
Added dynamic update of Text3D test
2017-04-06 10:51:47 +01:00
OpenSceneGraph git repository
977bd22e36
Merge pull request #243 from mp3butcher/moreExtensions
...
add Extensions
2017-04-05 17:39:05 +01:00
OpenSceneGraph git repository
4c1634c9d7
Merge pull request #242 from mp3butcher/LuaMatrix
...
few fixes for lua Matrix support..
2017-04-05 17:37:51 +01:00
mp3butcher
8d40323761
add Extensions
2017-04-05 18:11:50 +02:00
mp3butcher
0993edda11
forgot a lua_pop(_lua, 16)
2017-04-05 17:59:06 +02:00
mp3butcher
912f9e18cb
few fixes for Matrix support..
...
but getElements still fails..
2017-04-05 17:57:08 +02:00
Torben Dannhauer
67ef816da0
Update to FindCollada.cmake to handle Visual Studio 2017 binaries
2017-04-05 12:01:55 +01:00
Robert Osfield
79461d47d6
Updated ChangeLog for dev release
2017-03-31 16:26:46 +01:00
Robert Osfield
b76e031b30
Experiment with transmitting large UDP massages
2017-03-30 18:21:02 +01:00
Robert Osfield
ad0434c415
Added --ifr-name name command line option to enable the broacaster to customize the ifreq.ifr_name
2017-03-30 17:02:37 +01:00
OpenSceneGraph git repository
a30e5df6f2
Merge pull request #238 from filnet/silence_thread_logging
...
openthread: silence some log output
2017-03-30 15:23:17 +01:00
Robert Osfield
a6baf00956
Reordered command line parsing and replace throw with cout.
2017-03-30 13:21:05 +01:00
Robert Osfield
e2d4ebbe55
Build fixes
2017-03-30 12:55:58 +01:00
Robert Osfield
a292d99308
Build fix
2017-03-30 12:45:25 +01:00
Robert Osfield
80a13f1ac7
Added --address and --port command line parameters to osgoscdevice example
2017-03-30 12:20:45 +01:00
Robert Osfield
c2684ca1f5
Improved the error warning message
2017-03-30 12:18:16 +01:00
Philippe Renon
b843fb19fc
openthread: silence some log output
2017-03-30 11:29:53 +02:00
OpenSceneGraph git repository
56cbef8428
Merge pull request #237 from remoe/patch-1
...
Fix VS2013 build issue
2017-03-29 14:32:59 +01:00
Remo E
3f99ce540f
Fix VS2013 build issue
...
Fix this build issue on VS2013:
```
\src\osg\State.cpp(99): fatal error C1017: invalid integer constant expression
```
I hope this works also on other platforms.
2017-03-29 15:28:09 +02:00
Robert Osfield
1f0515ceff
Fix for GL3
2017-03-29 11:38:29 +01:00
Robert Osfield
aeb6005f3b
Removed the build of examples as this may be causing timeout build failures
2017-03-29 11:04:03 +01:00
Robert Osfield
cb7140aa04
Fixed windings
2017-03-29 10:02:03 +01:00
OpenSceneGraph git repository
373204ef7f
Merge pull request #236 from mp3butcher/ScriptBranch
...
add ScriptNodeCallback serializer
2017-03-29 09:27:58 +01:00
OpenSceneGraph git repository
545f561d87
Merge pull request #235 from mp3butcher/PrimSetSerilizer
...
add BufferData associate as well as revisionassociate in PrimitiveSe…
2017-03-29 09:24:12 +01:00
Robert Osfield
1292724a27
Added Texture2D include to resolve VS build issue
2017-03-29 09:12:14 +01:00
mp3butcher
9d490bbf1c
add ScriptNodeCallback serializer
2017-03-28 22:37:34 +02:00
mp3butcher
3142b682f2
remove spaces in the previsouly added macro
2017-03-28 22:19:32 +02:00
mp3butcher
fc3afbe449
oups forgot an associaterevisions
2017-03-28 22:14:44 +02:00
mp3butcher
0555bc4bc7
add BufferData associate as well as revisionassociate in PrimitiveSet Seriliazer
2017-03-28 20:48:35 +02:00
Robert Osfield
eb59590d77
Added handling of large shapes
2017-03-28 18:29:26 +01:00
Robert Osfield
9a786fd8be
build fix
2017-03-28 18:03:16 +01:00
Robert Osfield
1691639d17
Fixed build
2017-03-28 17:45:54 +01:00
Robert Osfield
0b844bc72b
Added StateSetManipulator to assist with QA.
2017-03-28 16:15:57 +01:00
Robert Osfield
58c52a4cd4
Added TextBase::getMatrix() accessor
2017-03-28 14:43:07 +01:00
Robert Osfield
25e6fbb2ff
Fixed typo
2017-03-28 14:42:40 +01:00
Robert Osfield
4f6b6fc5f8
Updated AUTHORS.txt file and Contributors list for 3.5.6 dev release
2017-03-28 11:50:04 +01:00
Robert Osfield
10d87c40db
Quiten down debug messages
2017-03-28 11:45:55 +01:00
Robert Osfield
1668bfb3e8
Improved the contributor filters
2017-03-28 11:45:05 +01:00
Robert Osfield
fba1680d24
Updated ChangeLog
2017-03-28 10:37:35 +01:00
Robert Osfield
27c86a4d85
Updated date
2017-03-28 10:33:02 +01:00
Robert Osfield
e8349b69ca
Fixed warnings
2017-03-28 10:17:44 +01:00
Robert Osfield
13b5d247df
Fixed typo
2017-03-28 09:41:07 +01:00
Robert Osfield
76afbc9bcf
Fixed ac plugin's handling of rot primitive in .ac files
2017-03-27 20:30:14 +01:00
Robert Osfield
70e7cb886b
Added serializers for BufferObject and BufferData
2017-03-27 20:02:33 +01:00
OpenSceneGraph git repository
11b3424984
Merge pull request #230 from mp3butcher/commitMaster
...
add new serializers
2017-03-27 15:05:59 +01:00
Robert Osfield
6308b497f2
Replaced macro based selection of which shaders to use by default with DisplaySettings::setShaderHint() and OSG_SHADER=HINT=GL2|GL3|GLES2|GLES3|NONE controls
2017-03-27 11:44:41 +01:00
mp3butcher
96db8033f2
add an include to osg/geometry
2017-03-26 16:26:43 +02:00
mp3butcher
46a37618ef
add new serializers
2017-03-26 15:59:36 +02:00
Robert Osfield
ec5cbe18d5
Restructed the marco to resolve Windows build issues
2017-03-25 16:05:57 +00:00
Robert Osfield
1beddd3d29
Fixed file endings
2017-03-23 19:36:01 +00:00
Robert Osfield
b4152d9634
Added simple fallback from osg::Material::apply() when fixed function pipeline is disabled
2017-03-23 14:53:08 +00:00
Robert Osfield
7ccd25a4d5
Fixed missing initializer for _color and assignment of color to ShapeDrawable
2017-03-23 14:40:44 +00:00
Robert Osfield
9848c1d264
First pass at default shader for GLES2,GLES3 and GL3.
2017-03-23 11:09:49 +00:00
Robert Osfield
d70d00607f
Removed no longer relevant line
2017-03-23 10:25:25 +00:00
Robert Osfield
717cb182ce
Removed hardwaring to online write inine when writing to binary files to allow inline images in asci and binary files
2017-03-23 09:52:21 +00:00
Torben Dannhauer
53a10a7bd9
as preparation for the upcoming 3rdParty package for Visual Studio 2017, I updated Find3rdPartyDependencies.cmake to find also the newest Freetype 2.7.1 release.
2017-03-22 17:27:05 +00:00
Robert Osfield
e74f8f4bbe
Added TextureBuffer serializer
2017-03-22 14:20:03 +00:00
OpenSceneGraph git repository
602a6beda8
Merge pull request #225 from MPursche/add_texture2dmultisample_serializer
...
Added serializer for Texture2DMultisample
2017-03-22 10:31:45 +00:00
Marcel Pursche
422587a285
Added serializer for Texture2DMultisample
2017-03-22 10:47:58 +01:00
Robert Osfield
48aa852f42
Replaced GL_QUADS and GL_QUAD_STRIP usage with indexed GL_TRIANGLES
2017-03-22 09:43:19 +00:00
OpenSceneGraph git repository
429aef3b08
Merge pull request #221 from tomhog/topic-gles3-ios
...
GLES3 support improvements on iOS
2017-03-21 17:56:39 +00:00
Robert Osfield
1778a2a6fb
Made VAO the default for GL3 builds.
...
Improved the handling of DisplaySettings::getVertexBufferHint() values.
2017-03-21 15:38:52 +00:00
tomhog
423e14f92f
Merge branch 'master' into topic-gles3-ios
2017-03-21 15:33:13 +00:00
OpenSceneGraph git repository
5d6322da2b
Merge pull request #224 from MPursche/improved_debian_packages
...
Improved CPack configuration for building debian packages
2017-03-21 14:43:09 +00:00
Robert Osfield
a74872c6bf
Refactored GlyphTexture so that it utlizes standard osg::Texture2D/osg::Image combinations rather than locally implemented per glyph subloading.
2017-03-21 13:10:45 +00:00
Thomas Hogarth
bd2d9a7fed
Merged origin
2017-03-20 19:43:07 +00:00
Thomas Hogarth
630af80635
Adusted Font shaders to use gl3 path on gles3, iphone example using inbuilt shaders
2017-03-20 19:35:01 +00:00
Thomas Hogarth
b493657c47
Shaders now using vertex colors
2017-03-20 18:39:56 +00:00
Thomas Hogarth
74abb99b0e
small compile fix for ios viewer example gles1
2017-03-20 18:39:56 +00:00
Thomas Hogarth
2ec6624816
updated ios build instructions in readme
2017-03-20 18:39:56 +00:00
Thomas Hogarth
7ba2e728cd
GLES3 now working on iOS, tried to maintain support for have bother gles2 and gles3, allowed avfoundation to be added on iOS, improved iOS example cmake generation
2017-03-20 18:39:56 +00:00
Thomas Hogarth
3a6e28da9c
More gles3 tweaks
2017-03-20 18:39:56 +00:00
Thomas Hogarth
76fe572934
Added conditionals for GLES3, added correct gl headers for GLES3 on iOS and Android to GL.in
2017-03-20 18:33:08 +00:00
Marcel Pursche
1bf303e566
Improved cpack configuration for building debian packages:
...
* Added configurable maintainer
* Added configurable dependencies and conflicts per package
* Added post install script to run ldconfig after package is installed
* Updated name of readme file in cpack configuration
2017-03-20 16:31:09 +01:00
Robert Osfield
6670a6e070
Improved support for stats, fonts and shadergen for GLES2, GLES3 and GL3
2017-03-20 14:07:14 +00:00
Robert Osfield
e0592b6d11
Added shader for GL3/GLES/GL2/GL2
2017-03-20 10:31:58 +00:00
Robert Osfield
4498945b98
Quited debug messages
2017-03-20 09:25:49 +00:00
Robert Osfield
266b57c821
Removed no longer required GL3 shaders as osgText itself now provides shaders
2017-03-18 18:09:12 +00:00
Robert Osfield
c7711fd2d4
Added support for GL3/GLES3, GL2,GLE2 shaders to osgText::Font/Text.
2017-03-18 18:08:12 +00:00
Thomas Hogarth
4578b32364
Shaders now using vertex colors
2017-03-18 17:35:00 +00:00
Robert Osfield
279cc82a01
Improved readability of code
2017-03-18 11:48:55 +00:00
Robert Osfield
2ef8f00e91
Fixed GL3 core profile and shandard shaders to work with new osgText
2017-03-18 11:48:55 +00:00
Robert Osfield
943beb220d
Improved handling of osgText::Text with and wihout shaders
2017-03-18 11:48:55 +00:00
Robert Osfield
e6703e3cb0
Removed no longer supported code paths
2017-03-18 11:48:55 +00:00
Robert Osfield
feb0214ddc
Introduced streamlined text rendering dispatch code.
2017-03-18 11:48:55 +00:00
OpenSceneGraph git repository
2cefcc8bfc
Merge pull request #220 from rickyviking/addPenInputWin32
...
Added PEN input support to GraphicsWindowWin32 with the WM_POINTER*
2017-03-18 11:17:03 +00:00
Thomas Hogarth
896d9a4ee5
small compile fix for ios viewer example gles1
2017-03-18 07:46:14 +00:00
Thomas Hogarth
2841d78653
updated ios build instructions in readme
2017-03-18 07:32:17 +00:00
Thomas Hogarth
c7af72daae
GLES3 now working on iOS, tried to maintain support for have bother gles2 and gles3, allowed avfoundation to be added on iOS, improved iOS example cmake generation
2017-03-18 06:53:32 +00:00
Thomas Hogarth
1deaac7508
More gles3 tweaks
2017-03-17 18:03:18 +00:00
Thomas Hogarth
eea3d559a7
Added conditionals for GLES3, added correct gl headers for GLES3 on iOS and Android to GL.in
2017-03-17 18:03:18 +00:00
Robert Osfield
44e303ad90
Added explict call to state.applyModelViewAndProjectionUniformsIfRequired() when required for better GL3/GlES2 support.
2017-03-16 15:46:51 +00:00
Riccardo Corsi
b3ccf02e06
Added PEN input support to GraphicsWindowWin32 with the WM_POINTER* framework available since Windows 8.
...
Fallback on existing WM_TOUCH implementation for actual touch inputs.
2017-03-16 15:32:05 +01:00
Robert Osfield
5f407b3cc4
Added experimental --shaders path into osgtext example to test out using shaders for text rendering.
2017-03-14 10:43:52 +00:00
Robert Osfield
2c2097ce24
Replaced GL_QUADS usage with GL_TRIANGLES to aid portability.
2017-03-13 17:46:51 +00:00
OpenSceneGraph git repository
ce0fbabb4e
Merge pull request #207 from LaurensVoerman/submitOpenCascade
...
fix OpenCascade library list for use with shared libs; added list and…
2017-03-13 15:01:08 +00:00
OpenSceneGraph git repository
c364bbb19b
Merge pull request #215 from LaurensVoerman/submit-SerializerParticle
...
Submit serializer particle
2017-03-13 14:25:33 +00:00
Laurens Voerman
75e6889366
fix OpenCascade library list for use with shared libs; added list and options for static lib
2017-03-13 12:54:02 +01:00
Robert Osfield
ffbc1167de
Added lazy state updating for vertex array object binding/unbinding
2017-03-13 11:44:34 +00:00
Laurens Voerman
a2ce0a0e0f
bugfix: read endbracket for fileversion 145 (introduced 25/8/2016)
2017-03-13 09:27:08 +01:00
OpenSceneGraph git repository
a6453ad877
Merge pull request #198 from scrawl/buildswitch
...
Add cmake options for disabling plugins from the build
2017-03-11 17:31:27 +00:00
OpenSceneGraph git repository
f1f6d23eeb
Merge pull request #213 from marchelbling/bug/osg-fixes
...
Bug/osg fixes
2017-03-11 15:08:57 +00:00
Robert Osfield
61782d8f29
Build fixes
2017-03-11 12:31:19 +00:00
OpenSceneGraph git repository
75e4d85681
Merge pull request #211 from D-A-Heitbrink/master
...
Added support for unsigned 64 bit ints + some code for bindless textures
2017-03-11 11:58:20 +00:00
OpenSceneGraph git repository
8dd22d9178
Merge pull request #208 from LaurensVoerman/submitRWlas
...
rewrote las plugin to read in a single pass: more speed, better precision
2017-03-11 11:37:33 +00:00
OpenSceneGraph git repository
58b9f5208f
Merge pull request #206 from LaurensVoerman/submitLAScmake
...
allow library names liblas.lib and liblas_c.lib;fix include dirs typo…
2017-03-11 11:36:31 +00:00
OpenSceneGraph git repository
fea86426ed
Merge pull request #205 from LaurensVoerman/submitGTAcmake
...
GTA: use normal cmake search if PKG_CHECK_MODULES fails; fix win32 debug lnk
2017-03-11 11:35:36 +00:00
OpenSceneGraph git repository
36e0fd8f5a
Merge pull request #204 from LaurensVoerman/submitFBX2017
...
added FBX SDK 2017.1 and try to add apple (clang) support.
2017-03-11 11:34:56 +00:00
OpenSceneGraph git repository
1d8efb1a3a
Merge pull request #203 from scrawl/optimizer
...
MergeGeometryVisitor fix
2017-03-11 11:34:16 +00:00
OpenSceneGraph git repository
50649fb2a2
Merge pull request #202 from nicokruithof/master
...
Fixed typo
2017-03-10 17:47:02 +00:00
Robert Osfield
a4b1a4ce29
Fixed handling of VAO's Text with backdrop and per vertex colours
2017-03-10 17:06:04 +00:00
Robert Osfield
0eb0656d52
Improved handling of backdrops
2017-03-10 12:08:22 +00:00
Robert Osfield
5b78e334a9
Improved the management of the unbinding of VBO's and EBO's
2017-03-09 18:17:53 +00:00
Robert Osfield
445f2bfe21
Reordered operations to make code easier to follow
2017-03-09 18:16:04 +00:00
Robert Osfield
91564e36b0
Cleaned up VertexArrayState handling
2017-03-09 17:48:06 +00:00
Robert Osfield
7f3f995c56
Improved handling of VBO/VAO's in Text3D
2017-03-09 17:47:27 +00:00
Robert Osfield
2cad221d80
Cleaned out old code paths
2017-03-09 17:33:38 +00:00
Robert Osfield
96760970ed
Added setDataVariance(DYNAMIC) to stats text labels that are dyanmically updated.
2017-03-09 17:01:33 +00:00
Robert Osfield
7868909f43
Improved the handling of array updates and support for VBO and VAO's.
2017-03-08 18:15:06 +00:00
Robert Osfield
854dac5340
Improved the checks against VBO+VAO usage and cleaned up setup.
2017-03-08 18:12:37 +00:00
Robert Osfield
9b32395772
Added --counter test
2017-03-07 13:35:03 +00:00
Robert Osfield
fee826412c
Added --plain test to simply basic text testing
2017-03-07 09:13:29 +00:00
Laurens Voerman
15a90f63b8
fix bug in osgb/osgt/osgx readerwriter causing the osgParticle-SizeInterpolator and -ColorInterpolator to dissapear
2017-03-06 15:43:32 +01:00
Robert Osfield
26878fa7ab
Fixed text background tessellation
2017-03-06 14:37:21 +00:00
Laurens Voerman
8743c18c5a
rewrote las plugin to read in a single pass: more speed, compressed file (.laz) support and better precision.
2017-03-06 14:23:17 +01:00
Marc Helbling
e906465dcb
Fix commented variable assertions in inventor writer
2017-03-06 14:08:27 +01:00
Marc Helbling
18826a9ebc
Fix implicit ref_ptr conversions
2017-03-06 14:08:27 +01:00
Marc Helbling
4627821e79
Revert bad change in 3ds reader
2017-03-06 12:29:19 +01:00
Marc Helbling
a97cdebe11
Remove unused offset attribute in MergeArrayVisitor
2017-03-06 12:25:48 +01:00
Marc Helbling
c765b0b62d
Add missing type for attribute merge
2017-03-06 12:25:23 +01:00
Robert Osfield
bb754b6f0a
Moved all vertex array set up to start of Text/Text3D::drawImplementation().
2017-03-04 17:20:54 +00:00
Robert Osfield
b88be0fbda
Implemented better handling of VertexBufferObjects and ElementBufferObjects in osgText
2017-03-03 18:31:51 +00:00
Robert Osfield
59931d1591
Removed unneccessary mutable usage
2017-03-02 17:05:24 +00:00
Robert Osfield
1e36a12a17
Updated Attribute and PrimitiveFunctor implementations
2017-03-02 16:33:09 +00:00
Robert Osfield
a69216a79d
Refactored osgText::Tex3D to use a single vertex and normal arrays and a combined set of primitive sets. Deprecated Text3D::RenderMode as it's no longer used.
2017-03-02 16:11:10 +00:00
Robert Osfield
4721651dbe
Added NEW_APPROACH code path that merges the separate GlyphGeometry arrays and primitives into a single set of arrays and primitives
2017-03-02 11:12:55 +00:00
d-a-heitbrink
cfaf72bc56
removed some of the hard coded options in the main funct.
2017-03-01 18:12:46 -06:00
d-a-heitbrink
7b3fc0925c
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2017-03-01 16:12:49 -06:00
D-A-Heitbrink
69b8d01de6
Add files via upload
2017-03-01 15:33:19 -06:00
Robert Osfield
f233005988
Merged the decoration vertices with the same vertex arrays used for text glyphs
2017-03-01 16:43:05 +00:00
Robert Osfield
f4966a96d4
Replaced hardwired glDrawArrays calls with use of osg::DrawElementsUshort.
2017-03-01 11:51:27 +00:00
scrawl
23cad1eedd
Update travis-ci to use the new more flexible BUILD_OSG_PLUGINS_BY_DEFAULT
2017-02-28 22:56:42 +01:00
scrawl
c1dd0eb348
Add CMake options to control which osgPlugins/ are built
2017-02-28 22:56:42 +01:00
Robert Osfield
256441906f
Removed unused member variable
2017-02-28 17:12:58 +00:00
Robert Osfield
1290f1584a
Removed old Text::GlyphQuads array code paths
2017-02-28 17:02:02 +00:00
Robert Osfield
138af70bd8
Merged the Text::GlyphQuads cooordinate arrays
2017-02-28 16:34:33 +00:00
Robert Osfield
e5685dfca5
Removed old code paths
2017-02-27 15:15:37 +00:00
Robert Osfield
80c96cd54f
Added option for combining the GlyphQuad::backdropcoords into the GlyphQuad::coords.
2017-02-27 11:53:42 +00:00
Robert Osfield
0ec204f6e4
Added StateSetManipulator to osglogo.
2017-02-27 10:47:14 +00:00
Robert Osfield
8adbf322a0
Scaled back the primitives sets set up so they match the requirements of the osgText::Text accordinging to the BackdropType
2017-02-24 18:25:16 +00:00
Robert Osfield
a84a6bd309
Moved glyph quad setup into dedicated method
2017-02-24 17:08:48 +00:00
Laurens Voerman
ef01913b9a
allow library names liblas.lib and liblas_c.lib;fix include dirs typo; link only liblas_c in plugin.
2017-02-24 16:21:20 +01:00
Laurens Voerman
f8ed554ddb
use normal cmake search if PKG_CHECK_MODULES fails; fix win32 debug linking with SET(TARGET_LIBRARIES_VARS GTA_LIBRARY)
2017-02-24 16:09:13 +01:00
Laurens Voerman
0f899a2a1e
added FBX SDK 2017.1 and try to add apple (clang) support (not tested - I have no apple)
2017-02-24 15:54:07 +01:00
Robert Osfield
cefecaec10
Removed unused lineNumber
2017-02-24 11:17:22 +00:00
Robert Osfield
aa621e1a4a
Grouped GlyphQuad setup
2017-02-24 11:08:15 +00:00
Robert Osfield
4c032723ba
Fixed indentation
2017-02-24 10:40:52 +00:00
Robert Osfield
93f28d4eee
Moved to use of single vector of DrawElementsUShort for backdrops and foreground text quads
2017-02-24 10:07:01 +00:00
scrawl
c9621ff17a
Add missing copy of callbacks when a Transform is replaced by Group
2017-02-24 07:41:19 +01:00
scrawl
7e2436aba9
Change the order of optimizations to allow for the possibility of merging Geometries that have just become siblings after the removal of redundant nodes
2017-02-24 01:09:09 +01:00
scrawl
ef431eec29
Fix unused parameter warning
2017-02-24 01:07:24 +01:00
scrawl
e0f7d3241a
Fix MergeGeometryVisitor to work with a Group instead of Geode
2017-02-24 01:05:57 +01:00
scrawl
a918306a99
Use asDrawable()/asNode() over dynamic_cast in the Optimizer
2017-02-24 01:00:49 +01:00
Robert Osfield
22b8a5cc0f
Added missing relaseGLObjects()/resizeGLObjects().
...
Reordered calls to make it easier to read and see patterns.
2017-02-23 18:36:35 +00:00
Robert Osfield
b5048d3b74
Cleaned up types
2017-02-23 18:14:36 +00:00
Robert Osfield
8ff17ddf52
Restructed and unified the position computation
2017-02-23 15:45:43 +00:00
Robert Osfield
7b3ecefcfc
Removed the old code paths
2017-02-22 14:14:03 +00:00
Robert Osfield
f816436771
Removed the unncessary array.
2017-02-22 12:41:45 +00:00
Robert Osfield
04d23659b3
Added the option for changing the type of the GlyphQuads::Coords
2017-02-22 12:07:43 +00:00
Nico Kruithof
ec2cb81c65
Fixed typo
...
osg_ModeViewMatrix -> osg_ModelViewMatrix
2017-02-21 21:55:05 +01:00
Robert Osfield
f8dc5c4988
Fixed FadeText when using NEW_APPROACH
2017-02-21 17:47:54 +00:00
Robert Osfield
cd991eaa97
Refactored the computation of the transforms for the osgText::Text
2017-02-21 17:07:53 +00:00
OpenSceneGraph git repository
ad0e6a0f81
Merge pull request #201 from blobfish/moreManipSlop
...
osgManipulator: Constraint: snap_point_to_grid wants Vec3d instead of Vec3
2017-02-18 10:38:31 +00:00
blobfish
d3a925e675
osgManipulator: Constraint: snap_point_to_grid wants Vec3d instead of Vec3
2017-02-16 10:37:03 -05:00
Robert Osfield
378809f3a8
Added osgvolume command line option "--bg r g b a" to enable customization of the window background colour
2017-02-13 16:53:37 +00:00
scrawl
94061aa9fb
Add CMake option to not build deprecated serializers
2017-02-07 20:23:14 +01:00
OpenSceneGraph git repository
71bf79cf6f
Merge pull request #197 from scrawl/geodefix
...
More fixes for Geode/Drawable handling in visitors
2017-02-03 18:03:13 +00:00
scrawl
6deefe0646
Remove seemingly redundant handling of Geode in GLObjectsVisitor
2017-02-03 18:10:37 +01:00
scrawl
fdf6d55b9d
Fix handling of in-scenegraph Drawables in osgShadow
2017-02-03 18:08:16 +01:00
scrawl
e38c3d0303
Fix handling of in-scenegraph Drawables in SmoothingVisitor, TriStripVisitor and GraphicsCostEstimator
2017-02-03 17:55:55 +01:00
scrawl
4e1a2d3246
Fix handling of in-scenegraph Drawables in ShaderGenVisitor
2017-02-03 17:51:03 +01:00
scrawl
e48aa118b6
Fix handling of in-scenegraph Drawables in MeshOptimizers
2017-02-03 17:48:18 +01:00
scrawl
9403a4c949
Fix unused parameter warning
2017-02-03 17:45:22 +01:00
scrawl
c901694290
Fix handling of in-scenegraph Drawables in DrawElementTypeSimplifier
2017-02-03 17:43:42 +01:00
scrawl
853418db94
Remove redundant handling of Geode in DisplayRequirementsVisitor
2017-02-03 17:42:21 +01:00
scrawl
a858b2a2cd
Add a comment explaining some confusing code in UpdateVisitor and EventVisitor
2017-02-03 17:39:56 +01:00
scrawl
09ca132102
Remove redundant handling of Geode in SharedStateManager
2017-02-03 17:35:40 +01:00
scrawl
a13b66135f
Fix handling of in-scenegraph drawables in osgUtil::Simplifier
2017-02-03 17:35:40 +01:00
OpenSceneGraph git repository
5592cb427b
Merge pull request #196 from LaurensVoerman/travisCI
...
split travis-ci apple build into two jobs to avoid job time limit.
2017-02-03 14:27:01 +00:00
Laurens Voerman
7b67ef0c6f
split travis-ci apple build into two jobs to avoid job time limit.
2017-02-03 10:01:15 +01:00
OpenSceneGraph git repository
e6822eb1a5
Merge pull request #193 from kjean667/multi_view_shared_context_fix
...
Bug fix to not crash when using shared context and adding / removing windowed views dynamically
2017-02-03 08:50:01 +00:00
Kjell Andersson
f5483b0ad6
Bug fix to not crash when using shared context and adding / removing windowed views dynamically.
...
The GLExtension object is now reused instead of creating a new when allocating a state on the same ContextID. The static map that stores the GLExtensions is only reset when all references to the extension object are released.
2017-02-02 11:46:16 +01:00
OpenSceneGraph git repository
2a7d72c203
Merge pull request #191 from LaurensVoerman/glExtentions
...
GLExtensions.cpp: Fixed a few typo's in old function names.
2017-01-27 15:15:39 +00:00
Laurens Voerman
9183f275f5
Fixed a few old function names.
...
Check extensions trough extermination string - not by function pointer value.
Added a few validContext tests to ensure no functions or isExterntionSupported bool is set for an non valid context.
Remove duplicates / merge some lines.
Removed "GL_APPLE_texture_2D_limited_npot" form isNonPowerOfTwoTextureMipMappedSupported.
2017-01-25 17:05:56 +01:00
Robert Osfield
23da167c27
Fixed linking bug caused by repeated Program::addShader()/removeShader() operations invalidating the internal attach/dettech lists.
2017-01-24 17:36:36 +00:00
OpenSceneGraph git repository
d1e162a61f
Merge pull request #190 from scrawl/optimizer
...
Optimizer fixes
2017-01-24 09:27:07 +00:00
OpenSceneGraph git repository
00984d0e77
Merge pull request #189 from marchelbling/master
...
osgjs/gles updates
2017-01-24 09:15:26 +00:00
scrawl
f13fbff251
Remove CheckGeometryVisitor which was a no-op
2017-01-20 23:02:15 +01:00
scrawl
4a05caf4f7
MakeFastGeometryVisitor: fix handling of Geometries that are directly in the scene graph not attached to a Geode
2017-01-20 23:01:04 +01:00
scrawl
833f37ea57
StateVisitor: remove redundant code for Geode handling
2017-01-20 22:49:17 +01:00
scrawl
f229b19496
TessellateVisitor: fix handling of Geometries that are directly in the scene graph not attached to a Geode
2017-01-20 22:47:51 +01:00
scrawl
41cbf9a45e
FlattenStaticTransformsVisitor: fix handling of Drawables that are directly in the scene graph not attached to a Geode
2017-01-20 22:43:58 +01:00
scrawl
ff1a9a195a
StaticObjectDetectionVisitor: make use of apply(Drawable) visitor function
2017-01-20 21:48:45 +01:00
scrawl
764b2f60c6
TextureAtlasVisitor: fix handling of Drawables that are directly in the scene graph not attached to a Geode
2017-01-20 21:47:21 +01:00
scrawl
dc2689f779
TextureVisitor: remove redundant code for Geode handling
2017-01-20 21:47:13 +01:00
scrawl
4457df9a8a
RemoveEmptyNodesVisitor: add missing isOperationPermissible check
2017-01-20 21:46:46 +01:00
scrawl
7611f95078
RemoveEmptyNodesVisitor: remove redundant code for Geode handling
2017-01-20 21:46:03 +01:00
Robert Osfield
33f7500a59
Quitened down verbose debug messages
2017-01-20 17:31:09 +00:00
Robert Osfield
e5b493289d
Quitened down debug messages
2017-01-20 17:24:49 +00:00
Robert Osfield
ed596c3335
Quietened down some verbose debug messages
2017-01-20 17:07:55 +00:00
Marc Helbling
c84b667fa5
Updates osgjs from sketchfab
...
* updates uservalue serialization (avoid creating multie UserDataContainer for a same object)
* removes vec4ubarray specific serialization (serialization should not enforce the previous color transformation)
2017-01-20 15:17:16 +01:00
Marc Helbling
7cd7618e8c
Updates gles from sketchfab
...
* fixes bbox issue for animated scenes
* fixes geometry split (perf + line/point primitive management)
* removes degenerated faces
2017-01-20 15:15:31 +01:00
Robert Osfield
10b6f7aa47
Fixed indentation of comment
2017-01-19 15:56:57 +00:00
Robert Osfield
255a86cbe2
Added public accessors
2017-01-17 10:52:26 +00:00
Robert Osfield
771efca5c6
Removed unused class
2017-01-16 17:18:58 +00:00
d-a-heitbrink
98e0b7e41c
missing CMakeLists
2017-01-13 09:57:32 -06:00
d-a-heitbrink
3d2f4ea404
Added support for Bindless texture extension,
...
64 bit uniforms, 64 bit buffers
Added new bindless texture example
2017-01-13 09:56:42 -06:00
d-a-heitbrink
18369bed2d
added code to deal with #extension for shader, added int64 and uint64 support
2017-01-13 09:33:49 -06:00
OpenSceneGraph git repository
fee45b7c46
Merge pull request #186 from hwiesmann/master
...
Addition of documentation for LOD and PagedLOD
2017-01-08 14:41:51 +00:00
Robert Osfield
1af1b4dfda
Fixed smallTile test as it was checking against <=2^14 rather than <2^16 which is more conservative than required for a ushort container
2017-01-07 13:03:22 +00:00
Hartwig
5e0b3dacc6
Replaced tabs with spaces
2017-01-07 13:54:21 +01:00
Hartwig
2937268d53
Merge remote-tracking branch 'origin/master' into my_master
2017-01-07 10:39:29 +01:00
Hartwig
7c1098c843
Addition of documentation for LOD and PagedLOD
...
Documentation has been added for their default constructors. Furthermore, the consequences of different center modes have been explained. A comment regarding the setting of the radius has been fixed.
2017-01-07 09:20:56 +01:00
OpenSceneGraph git repository
3cccdaddab
Merge pull request #184 from hwiesmann/master
...
BUG FIX - Wrong calculation of terrain normals in GeometryTechnique
2017-01-04 13:22:22 +00:00
Robert Osfield
b5c4f461bc
Fixed unitialized variable access to premature calling of computeMatrix().
2017-01-04 12:55:15 +00:00
Hartwig
192dcec5f9
Blending out of local functions
...
Some local functions are only needed for OS X compatibility. Define these functions only for OS X versions older than 10.6.
2017-01-01 16:33:37 +01:00
Hartwig
3c482467ea
BUG FIX - Wrong calculation of terrain normals
...
The partial derivative for the x-coordinate has been wrongly calculated: only a single sided derivative was calculated.
2016-12-29 21:43:20 +01:00
OpenSceneGraph git repository
d36302cb0c
Merge pull request #183 from rickyviking/master
...
Additional info when fail to load images
2016-12-23 17:23:07 +00:00
Robert Osfield
52fe86dcc9
From Hartwig Wiesmann, "ScalarsToColors returns a wrong color in case a value larger max is passed to getColor"
2016-12-23 17:16:16 +00:00
Riccardo Corsi
a526cab590
InputStream::readImage() : added info about which file failed to load when printing error message
2016-12-23 11:55:08 +01:00
OpenSceneGraph git repository
dc13d4d5dc
Merge pull request #182 from LaurensVoerman/fileStats
...
added some info about dynamic drawables and transparent bin to Statistics
2016-12-21 17:16:30 +00:00
Robert Osfield
0052a650b8
From Torben Dannhauer, build updates for NVTT.
2016-12-21 17:02:05 +00:00
Robert Osfield
45e1523a09
From Torben Dannahauer, updates to track changes to Winddows 3rd party package
2016-12-21 16:29:38 +00:00
Robert Osfield
28799b1ff6
Refactored the minimum width of bars.
2016-12-21 16:11:39 +00:00
OpenSceneGraph git repository
2b8bcf5475
Merge pull request #180 from LaurensVoerman/stats_bars
...
improve stats display
2016-12-21 16:04:24 +00:00
Laurens Voerman
7a39857ea7
added some info about dynamic drawables and transparent bin to Statistics
2016-12-21 16:58:02 +01:00
OpenSceneGraph git repository
960672d093
Merge pull request #181 from LaurensVoerman/DebugFPS
...
DEBUG FPS counter in red and named "DEBUG Frame Rate:"
2016-12-21 15:55:50 +00:00
OpenSceneGraph git repository
bf3def9303
Merge pull request #179 from LaurensVoerman/ktx_write_support
...
ktx write support
2016-12-21 15:54:20 +00:00
Robert Osfield
43e506a843
From Torben Dannhauer, "When compiling OSG with DCMTK on windows, it throws an compiler error due to a missing ws2_32.lib in the linker settings."
2016-12-21 15:33:02 +00:00
Robert Osfield
b950c428a6
From Vladimir Chebaev, "Dynamic linking of fbx plugin and fbx SDK"
2016-12-21 15:13:49 +00:00
Laurens Voerman
a9657bf5e8
DEBUG FPS counter in red and named "DEBUG Frame Rate:"
2016-12-21 15:58:09 +01:00
Laurens Voerman
f567d4702d
improve stats display
2016-12-21 15:47:04 +01:00
Laurens Voerman
c06c57e0db
ktx write support
2016-12-21 15:21:44 +01:00
Robert Osfield
5b52f8ca67
Removed debug output
2016-12-21 13:46:18 +00:00
Robert Osfield
723849c57c
From Andreas Ekstrand, "he attached ESRIShape.cpp contains a small fix in parsing of PointZ features, now correctly comparing with header content length which is defined in 16-bit words.
...
This should have been fixed in my old submission from 2012 but was probably overlooked due to an alternative way of comparing to a fix number for this feature type.
Without this fix, the plugin will only read one PointZ feature even if multiple features exist."
2016-12-21 11:41:36 +00:00
Robert Osfield
9478d27263
Changed Program::apply() to Program::compileGLObjects() to avoid the Program::apply() setting of setLastAppliedProgramObjects for affect current state.
2016-12-21 11:02:29 +00:00
Robert Osfield
ff8b5536a5
Added StateSet::setGlobalDefaults() to fix bug when osgViewer has stats on but no scene graph assigned
2016-12-21 09:10:50 +00:00
Robert Osfield
38c515a600
Fixed handling of #define's that are used as functions
2016-12-16 16:16:50 +00:00
OpenSceneGraph git repository
ca6578026a
Merge pull request #174 from etlapale/obj_plugin_improvements
...
Improvements for the OBJ writer plugin
2016-12-13 11:42:57 +00:00
Émilien Tlapale
34fb582074
Uncommenting missing argument.
2016-12-13 11:56:06 +01:00
Robert Osfield
d57a67e31c
Added header
2016-12-13 10:47:12 +00:00
Émilien Tlapale
d0fb365e25
Adding configurable precision for OBJ output.
2016-12-13 10:58:46 +01:00
Émilien Tlapale
f16853c7bb
Support for stateset in groups for OBJ.
2016-12-13 10:57:42 +01:00
Robert Osfield
d6c245a2f3
Added create angle of 20 degrees to SmoothingVisitor to improve visual quality.
...
Added geometry.setUseVertexBufferObjects(true) to geometry set up for improved performance.
Refactored the color set up so that by default it assigns just a single color to the geometry to improve performance.
2016-12-12 10:23:50 +00:00
Robert Osfield
3432f02d5f
Renamed the iges plugin to OpenCASCADE to make it clearer what the plugin is, and added file extension aliases for stp, step, igs and iges to the OpenCASCADE plugin to enable automatic loading.
2016-12-09 17:52:17 +00:00
Robert Osfield
61462dcf97
Added support for reading from STEP (.stp) files.
2016-12-09 17:29:55 +00:00
Robert Osfield
5f0f7b88cf
Refined the list of libraries to link
2016-12-09 17:29:20 +00:00
Robert Osfield
2b1477234e
Converted to unix line endings
2016-12-09 17:27:17 +00:00
OpenSceneGraph git repository
811ad9c8bc
Merge pull request #172 from blobfish/manipSlop
...
osgManiputor: TranslateInLineCommand wants Vec3d instead of Vec3
2016-12-08 17:52:46 +00:00
blobfish
a41f498e1f
osgManiputor: TranslateInLineCommand wants Vec3d instead of Vec3
2016-12-08 10:12:17 -05:00
OpenSceneGraph git repository
bb36fe7d3c
Merge pull request #170 from crubel/PThreadPullRequest
...
Fixed compile time errors that occur when you have ALLOW_PRIORITY_SCHEDULING defined
2016-12-05 10:33:23 +00:00
Curtis Rubel
98827b1d49
Missed the printf define at the top of this file.
...
Put back this:
#ifdef DEBUG
# define DPRINTF(arg) printf arg
#else
# define DPRINTF(arg)
#endif
I think that should do it now...
2016-12-02 08:07:15 -05:00
Curtis Rubel
c829ecf08f
Removed all OSGNOTIFY messages and put back all printf output as requested.
...
Sorry about this mixup, I was not aware that this particular directory was to be considered a separate project and must not rely on any dependencies from the rest of the OSG project. All OSGNOTIFY messages have been removed and the previous printf statements have been put back.
2016-12-02 08:05:30 -05:00
OpenSceneGraph git repository
98f6984018
Merge pull request #171 from aluaces/iges_fix
...
Several tweaks for compiling OpenCascade plugin:
2016-12-02 08:04:10 +00:00
Alberto Luaces
b637d080d5
Several tweaks for compiling OpenCascade plugin:
...
* Remove unneeded XSDRAW.hxx header inclusion.
* Define WNT only on windows, because it is used for choosing between
win threads or pthreads.
2016-12-01 23:39:56 +01:00
Curtis Rubel
fab6bff310
Fixed compile time errors that occur when you have ALLOW_PRIORITY_SCHEDULING
...
defined. I also replaced all printf's with OSGNOTIFY to get this
more inline with the rest of OSG CGR
2016-12-01 16:36:20 -05:00
Robert Osfield
43b051b984
Teaking FindOpenCascade to help with linking of iges plugin
2016-11-30 20:10:22 +00:00
Robert Osfield
a9bc508dc4
From Abhishek Bansal, with ammendemts by Robet Osfield to get working with recent OpenCascade and usng CMake.
2016-11-30 19:11:15 +00:00
Robert Osfield
d4a4993285
Added GL_EXT_texture_border_clamp support for GLES
2016-11-30 17:18:33 +00:00
OpenSceneGraph git repository
5a96c1313b
Merge pull request #169 from scrawl/stateset-fix
...
Fix flow control issue in StateSet::compileGLObjects
2016-11-26 11:45:07 +00:00
scrawl
1fffafb13a
Fix typo in StateSet::compileGLObjects, causing compilation of attributes to not be executed unless checkForGLErrors is true.
2016-11-26 01:09:45 +01:00
Robert Osfield
b04271f93e
Fixed crash in handling of an osg::Callback attached to a Drawable as update callback.
...
Added handling of osg::Callback when attavhed to a Drawable as a cull callback.
2016-11-23 18:19:59 +00:00
Robert Osfield
e89885a076
Added guards against division by zero
2016-11-15 17:36:21 +00:00
Robert Osfield
55f4778731
Added usage of GLExtensions::debugObjectLabel() to GLBufferObject::compile()
2016-11-15 14:52:59 +00:00
Robert Osfield
1abd99f084
Added support for glObjectLabel debugging
2016-11-15 14:35:47 +00:00
Robert Osfield
4ecf541cb6
Merge branch 'fredowski-master'
2016-11-15 11:16:53 +00:00
Robert Osfield
2f570ca3a9
Improved the indentation and case to make the code more consistent and readable
2016-11-15 11:16:03 +00:00
Robert Osfield
5aa897b5fd
Merge branch 'master' of https://github.com/fredowski/OpenSceneGraph into fredowski-master
2016-11-15 11:13:37 +00:00
Robert Osfield
137b596943
Enabled sharing of main threads processor affinity to the next required thread for CullDrawThreadPerCamera and CullThreadPerCameraDrawThreadPerContext
2016-11-15 11:01:41 +00:00
OpenSceneGraph git repository
5ff6048db0
Merge pull request #156 from LaurensVoerman/Affinity2
...
unlock cpu's 32-63 on 64 bit windows
2016-11-15 10:41:12 +00:00
Robert Osfield
ddbb1cb064
Removed todo that is not required
2016-11-15 09:47:48 +00:00
Robert Osfield
c560e9a1ef
Reduced public documentation generation to just the public headers
2016-11-15 09:29:09 +00:00
OpenSceneGraph git repository
33e28b0971
Merge pull request #164 from CodeDocs/codedocs
...
Use CodeDocs for Doxygen documentation
2016-11-15 09:28:25 +00:00
Robert Osfield
87a3648e68
To avoid noise in documentation replaced nested namespaced enum with enum with FILE_COPY_ wording prefixed into enum values.
2016-11-15 08:57:24 +00:00
Robert Osfield
80f75bcbdd
Fixed doxygen warnings
2016-11-15 08:37:05 +00:00
Robert Osfield
36b2ddac2d
Added usage of osg::ConfigureBufferObjectsVisitor to correct for incoherent buffer oject set up due to the adhoc way that the OpenFlight plugin sets up osg::Geometry.
2016-11-14 18:01:22 +00:00
Robert Osfield
5b375124cc
Added osg::Geometry::configureBufferObjects() and ConfigureBufferObjectsVisitor visitor to help with setting up buffer objects in a coherent fashion.
2016-11-14 17:59:25 +00:00
Robert Osfield
99cb8ebacf
Added more flexibility into the State::checkGLErrors() method, allowing calling code to pass in two strings.
...
Improved the StateSet::compileGLObjects() usage of checkGLErrors() to make the warning reports more meaningful.
2016-11-14 11:59:47 +00:00
Robert Osfield
e6052ef4b4
Added Dragger::applyAppropriateFrontFace(StateSet*) to make it easy to handle inverted matrices by toggling the FrontFace to sure the correct face is visible.
2016-11-11 17:18:13 +00:00
Robert Osfield
d16ca33f38
Fixed handling of Locator's with negative extents
2016-11-11 14:01:40 +00:00
Paul Novotny
1234619a48
Use CodeDocs for Doxygen documentation
...
Adds a configuration file (.codedocs) for building the Doxygen
documentation using CodeDocs.xyz. Also, adds a badge to the README.md
to link to the documentation.
2016-11-02 20:56:04 -04:00
Friedrich Beckmann
e506bb3075
added alternative to middle-mouse button in manipulator
...
I added CTRL + RIGHT-MOUSE-CLICK to the standard manipulator as
an alternative to MIDDLE-MOUSE-CLICK because a 3 Button Mouse
not always available, e.g. on MacOS. I tested this with the
osgAtlasSimbicon example.
2016-10-24 19:54:43 +02:00
Robert Osfield
b5c071eed9
Moved shader file loading to a help function
2016-10-20 09:59:26 +01:00
Robert Osfield
c32e6c01ed
Fixed shader filename
2016-10-20 09:46:47 +01:00
Robert Osfield
fda7c838a1
Added osgshaderpipeline example that will server as a testbed for automatically mapping fixed function pipeline to shaders
2016-10-19 20:26:26 +01:00
OpenSceneGraph git repository
26a313d549
Merge pull request #159 from LaurensVoerman/Affinity3b
...
re-assign thread affinity at the end of setThreadingModel()
2016-10-17 16:36:42 +01:00
Laurens Voerman
d461149969
re-assign thread affinity at the end of setThreadingModel()
2016-10-17 09:50:48 +02:00
Robert Osfield
e17ad60c2d
Added _color copy to the copy constructor
2016-10-14 18:00:40 +01:00
Laurens Voerman
16a282ccea
unlock cpu's 32-63 on 64 bit windows
2016-10-14 17:19:50 +02:00
Robert Osfield
4e5f0fc3a5
Added a dedicated FindEGL.cmake script to help with locating the EGL.so library and header
2016-10-14 11:06:31 +01:00
Robert Osfield
afb046a196
Bumped OpenThreads version numbers to reflect changes in ABI
2016-10-13 17:43:29 +01:00
Robert Osfield
b10d30242d
Fixed GLES build due to lack of GLclampd
2016-10-12 18:00:05 +01:00
Robert Osfield
1cc53246e9
Changed appending of \n to be to the version line.
2016-10-12 17:24:25 +01:00
Robert Osfield
9072f9653e
Added OES variants of vertex array object functions
2016-10-12 16:10:40 +01:00
OpenSceneGraph git repository
953af3d1d9
Merge pull request #155 from LaurensVoerman/Texture0
...
add #define GL_TEXTURE0 for windows users previously provided by GLBeginEndAdapter
2016-10-12 13:41:57 +01:00
Laurens Voerman
1a664b19de
add #define GL_TEXTURE0 for windows users previously provided by GLBeginEndAdapter
2016-10-12 13:29:58 +02:00
Robert Osfield
c92de93429
Altered the configureAffinity() scheme so that it places threads preferentially on even based number processors first, which should work better in case the processors available have hyper-threading
2016-10-12 10:08:56 +01:00
Robert Osfield
dbdd25742d
Updated version number to 3.5.6 and SO version to 146 after VAO merge
2016-10-12 09:09:37 +01:00
Robert Osfield
0314fd593a
Added VAO support to osgTerrain::GeometryPool
2016-10-11 20:11:39 +01:00
Robert Osfield
b6afce773a
Removed unneccessary includes
2016-10-11 20:11:24 +01:00
Robert Osfield
38ff11f8c5
Renamed ArrayDispatchers to AttributeDispatchers to better reflect it's role
2016-10-11 15:14:14 +01:00
Robert Osfield
e14ee80282
Streamlined the dispatch and activation of attribute dispatchers
2016-10-11 11:29:29 +01:00
Robert Osfield
364c838ea1
Removed unused vertex and texcoord array dispatchers
2016-10-11 11:29:29 +01:00
Fabian Wiesel
b13bbe3bdb
VAO id is a GLuint
2016-10-11 11:29:29 +01:00
Fabian Wiesel
1f562c003c
Missed rename in VertexAttribArrayDispatch
...
The variable array is by initialisation a null-pointer, new_array is the new array
2016-10-11 11:29:29 +01:00
Robert Osfield
66873b8c6c
Fixed build errors when OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION to OFF
2016-10-11 11:29:29 +01:00
Robert Osfield
007a19a027
Fixed warnings
2016-10-11 11:29:29 +01:00
Robert Osfield
0ee65c9d2f
Removed unneccessary parameter
2016-10-11 11:29:29 +01:00
Robert Osfield
e11e45a2e3
Removed GLBeginEndAdapter as it is no longer needed
2016-10-11 11:29:29 +01:00
Robert Osfield
0f3e61146d
Refactored osgText so that it no longer uses GLBeginEndAdapter
2016-10-11 11:29:29 +01:00
Robert Osfield
987513d309
Added --simple command line option and accompanying code to create a very simple text object for basic testing of osgText
2016-10-11 11:29:29 +01:00
Robert Osfield
aa0c8fdefd
Added ApplyTextureModeProxy for temporarily applying a texture mode
2016-10-11 11:29:29 +01:00
Robert Osfield
53cdacd926
Refactored Text3D so that it no longer depends upon GLBeginEndAdapter
2016-10-11 11:29:29 +01:00
Robert Osfield
1914eb435b
Added State::ApplyModeProxy to help with temporarily applying a mode
2016-10-11 11:29:29 +01:00
Robert Osfield
cfadbbda2b
Removed no longer relevant comment
2016-10-11 11:29:29 +01:00
Robert Osfield
a471973eab
Added missing export
2016-10-11 11:29:29 +01:00
Robert Osfield
5a4754deef
Refactored osgParticle so that it natives support vertex arrays, vertex buffer objects and vertex array objects
2016-10-11 11:29:29 +01:00
Robert Osfield
cd3a5f8097
Added osg::convertToRGBA8(Vec4f) convenience function
2016-10-11 11:29:29 +01:00
Robert Osfield
10f1d84f7e
Added explict setup of the stats graphing geometry so that it's VertexBufferObject is intialized to the correct size to prevent any need for later resizing
2016-10-11 11:29:29 +01:00
Robert Osfield
d4d32cbde7
Improved handling of the BufferObject::Profile::_size, utilizing it's intial value when it is non zero and larger than the arrays assigned to it.
2016-10-11 11:29:29 +01:00
Robert Osfield
8febae1546
Fixed VertexArrayState::bind*BufferObject(..) methods so they correctly handle dirtied buffer objects
2016-10-11 11:29:29 +01:00
Robert Osfield
a5e0398a29
Fixed typo in comment
2016-10-11 11:29:29 +01:00
Robert Osfield
96b0e42c42
Fixed typo in comment
2016-10-11 11:29:29 +01:00
Robert Osfield
ff779e58ab
Added check against Array::Binding to decide whether to assign a VertexBufferObject to an array or not, only assigning it when Binding is BIND_PER_VERTEX
2016-10-11 11:29:29 +01:00
Robert Osfield
886b922596
Beginings of refactoring ParticleSystem so that it does uses vertex arrays rather than GLBeginEndAdapter
2016-10-11 11:29:29 +01:00
Robert Osfield
611b7afb07
Added OSG_EXPORT
2016-10-11 11:29:29 +01:00
Robert Osfield
93b2a24b0e
Added command line parser to osgparticle examples viewer setup to make it easier to position window
2016-10-11 11:29:29 +01:00
Robert Osfield
663024a215
Removed redundent use of Geode to decorate the ParticleSystem
2016-10-11 11:29:29 +01:00
Robert Osfield
9800e1c201
Fixed line endings
2016-10-11 11:29:29 +01:00
Robert Osfield
c15f6d3e8c
Made ordering of case clearer
2016-10-11 11:29:29 +01:00
Robert Osfield
56ed225f17
Removed Particle::Shape support for QUAD_TRIANGLESTRIP, HEXAGON, USER as these are unlikely to be used as their implementation prevents refactoring to use vertex array code paths
2016-10-11 11:29:29 +01:00
Robert Osfield
c637010c9d
Refactored ImpostorSprite so that it no longer uses GLBeginEndAdapter
2016-10-11 11:29:29 +01:00
Robert Osfield
35e19b4f30
Added back in the osgimpostor example, cleaning up so that it no longer has any deprecated paths and adds stats and file output for debug purposes
2016-10-11 11:29:29 +01:00
Robert Osfield
037e8f24c6
Removed commented out debug message
2016-10-11 11:29:29 +01:00
Robert Osfield
7c432fbe11
Refactored osgSim::SphereSegment so that it no longer uses GLBeginEndAdapter
2016-10-11 11:29:29 +01:00
Robert Osfield
a1ab1a0ecc
Added AdjustSphereSegmentCallback to provide '<' and '>' key controls over the azim and elev range of the sphere segment
2016-10-11 11:29:29 +01:00
Robert Osfield
a87a6f0851
Added StatsHandler to check performance
2016-10-11 11:29:29 +01:00
Robert Osfield
3d0f6d5d78
Removed unused header
2016-10-11 11:29:29 +01:00
Robert Osfield
1df27e4edb
Replaced old Shape to Geometry conversion code as new convinience methods in include/osg/Shape provide these features
2016-10-11 11:29:29 +01:00
Robert Osfield
e5ab4355be
Added osg::convertShapeToGeometry(...) convinience functions for creating osg::Geometry from osg::Shape descriptions.
2016-10-11 11:29:29 +01:00
Robert Osfield
83b5cabac9
Refactored ShapeDrawable so that it is subclassed from osg::Geometry rather than osg::Drawable.
...
Created a BuildShapeGeometryVisitor visitor that can create osg::Geometry for osg::Shape objects
2016-10-11 11:29:29 +01:00
Robert Osfield
3be951f279
Fixed crash when using vertex attribute arrays
2016-10-11 11:29:29 +01:00
Robert Osfield
b2873132be
Added support for interleaved arrays
2016-10-11 11:29:29 +01:00
Robert Osfield
f842750342
Removed no longer used member variables
2016-10-11 11:29:29 +01:00
Robert Osfield
65884f296b
Removed no longer used data structures
2016-10-11 11:29:29 +01:00
Robert Osfield
16da432be3
Moved FOG_COORD and SECONDARY_COLOR #define's from State header into VertexArrayState.cpp
2016-10-11 11:29:29 +01:00
Robert Osfield
164981f7a3
Replaced osg::State:set*Pointer() calls with VertexArrayState::set*Array() calls
2016-10-11 11:29:29 +01:00
Robert Osfield
359b136b5e
Added check against State::useVertexBufferObjects(..) so that Display Lists are only used when VBO is OFF.
2016-10-11 11:29:29 +01:00
Robert Osfield
961bffcca4
Added automatic assignment of _markerObject to CompileSet.
2016-10-11 11:29:29 +01:00
Robert Osfield
94891778c4
Restructred the enabling of vertex array object support to allow one to set enable the default via osg::State.
...
Added OSG_VERTEX_BUFFER_HINT env var to osg::DisplaySettings with VERTEX_BUFFER_OBJECT/VBO, VERTEX_ARRAY_OBJECT/VAO and NO_PREFERENCE to allow one to foce on VBO or VAO usage.
Restructred BufferObject assigned in osg::Geometry
Added
2016-10-11 11:29:29 +01:00
Robert Osfield
d8fdf33be5
Cleaned up set up of osg::Geometry for stats
2016-10-11 11:29:29 +01:00
Robert Osfield
cf52b2db50
Removed unncessary checks
2016-10-11 11:29:29 +01:00
Robert Osfield
ee31921520
Streamlined State::_is*Supported variables
2016-10-11 11:29:29 +01:00
Robert Osfield
1d75089bf8
Build fixes when compiling wuth CMake options OPENGL_PROFILE set to GLCORE
2016-10-11 11:29:29 +01:00
Mathieu MARACHE
46c86f53ac
remove a warning when compiling with GL3 core profile and macOS
2016-10-11 11:29:29 +01:00
Mathieu MARACHE
3745b958e5
compilation fixes when no OSG_GL_DISPLAYLISTS_AVAILABLE
2016-10-11 11:29:29 +01:00
Mathieu MARACHE
afe45f66d2
compilation fixes when no OSG_GL_FIXED_FUNCTION_AVAILABLE
2016-10-11 11:29:29 +01:00
Robert Osfield
e3c663bb02
Removed deprecated code paths and moved implementations into headers
2016-10-11 11:29:29 +01:00
Robert Osfield
bf28e2d037
Refactored the VertexArrayState's handling of vertex attribute aliasing
2016-10-11 11:29:29 +01:00
Robert Osfield
1f147f6bc6
Moved implementations from .cpp's to headers as inline methods to improve performance.
2016-10-11 11:29:29 +01:00
Robert Osfield
97df15b205
Improved naming of createVertexArrayState(..) method
2016-10-11 11:29:29 +01:00
Robert Osfield
98344157c0
Removed resetting of the pointer state.
2016-10-11 11:29:29 +01:00
Robert Osfield
83f73df814
Added State::useVertexArrayObject() member to streamline toggling on/off of VAO usage
2016-10-11 11:29:29 +01:00
Robert Osfield
a4e682bb28
Added support for clean up Vertex Array Objects
2016-10-11 11:29:29 +01:00
Robert Osfield
4131d2da34
Added intialization of the VAO in Geometry::compileGLObjects() and refined the invocation of updates to the VAO
2016-10-11 11:29:29 +01:00
Robert Osfield
078598872f
Added lazy setting of arrays for osg::Geometry using vertex_array_object
2016-10-11 11:29:29 +01:00
Robert Osfield
4b4cd13d31
Implemented lighter weight setting of the CurrentVertexArrayState and introduced GlobalVertexArrayState.
2016-10-11 11:29:29 +01:00
Robert Osfield
7d83d735ad
Implemented a different approach to vertex array object support to enable creation of a single global vertex array object as well as provide individual vertex array objects per Drawable when required.
2016-10-11 11:29:29 +01:00
Robert Osfield
4d8a29b987
Added ability to initializer GL vertex array object id with Geometry::compileGLObjects().
...
Improved the handling of buffer object state when not using VAO's
2016-10-11 11:29:29 +01:00
Robert Osfield
14d1483b06
Experimental support for OpenGL Vertex Array Object
2016-10-11 11:29:29 +01:00
Torben Dannhauer
d51036f57e
From Torben Dannhauer, added search for new libcurl and libtiff names
2016-10-11 11:02:20 +01:00
OpenSceneGraph git repository
d794be88e7
Merge pull request #153 from scrawl/typo-fix
...
Fix typo in processor affinity API
2016-10-10 17:38:24 +01:00
scrawl
295742c0d7
Fix typo in processor affinity API
2016-10-10 18:02:38 +02:00
Robert Osfield
17328d313d
From Torben Dannhauer, added freetype27 (2.7) to search list
2016-10-10 11:21:28 +01:00
Robert Osfield
d92a79b876
Fixed crash associated with setting the affinity on a null pointer
2016-10-08 15:58:33 +01:00
Robert Osfield
6142ea1d46
Updated AUTHORS for 3.5.5
2016-10-07 19:11:01 +01:00
Robert Osfield
39ed6235e8
Updated ChangeLog
2016-10-07 19:10:24 +01:00
OpenSceneGraph git repository
05ed7d1336
Merge pull request #152 from aluaces/spelling2
...
Some spelling fixes in comments.
2016-10-07 17:05:58 +01:00
Robert Osfield
299452cf84
Updated ChangeLog for release
2016-10-07 16:55:35 +01:00
OpenSceneGraph git repository
fb7b5fc0f7
Merge pull request #151 from LaurensVoerman/pdbInstall
...
fix error on pdb files building the install target in visual studio
2016-10-07 16:54:36 +01:00
Laurens Voerman
2764b52c02
remove CMAKE_BUILD_TYPE STREQUAL "Release" (cmake configure time varable) to select pdb install - select CONFIGURATIONS RelWithDebInfo Debug
2016-10-07 17:49:42 +02:00
OpenSceneGraph git repository
fc7616e090
Merge pull request #150 from LaurensVoerman/Readme
...
osg now requires cmake 2.8.0
2016-10-07 16:15:28 +01:00
Robert Osfield
2d0ccc3b40
Updated ChangeLog
2016-10-07 15:58:11 +01:00
Robert Osfield
548c9739ed
Restructed how CPU affinity is set to fix build problems when local pthreads doesn't support setting affinity
2016-10-07 15:57:01 +01:00
Robert Osfield
36c793c4f6
UPdated ChangeLog for release
2016-10-07 15:40:50 +01:00
Laurens Voerman
d2dd24fc89
osg now requires cmake 2.8.0
2016-10-07 16:36:40 +02:00
Robert Osfield
7ba7b13aa0
Fixed VisualStudio warning
...
Added local implementation of asEventHandler()
2016-10-07 14:51:39 +01:00
Robert Osfield
268d89c426
Fixed VisualStudio warning
...
Added local implementation of asEventHandler()
2016-10-07 14:45:33 +01:00
Robert Osfield
028fefe6ec
Updated README for 3.5.5
2016-10-07 13:57:42 +01:00
Robert Osfield
cbf21f7ef5
Update ChangeLog and AUTHORS file for 3.5.5 dev release
2016-10-07 13:56:46 +01:00
Robert Osfield
10d8ac7f65
Fixed extension string typo
2016-10-07 12:17:03 +01:00
Robert Osfield
dc6b55a5e9
Added support for checking GL_OES_texture_npot
2016-10-07 12:17:03 +01:00
Robert Osfield
91538d90f8
Added ViewerBase::s/getUseConfigureAffinity(bool flag) to allow users to toggle whether they want the ViewerBase::setUpThreads() method to call ViewerBase::configureAffinity() or not.
2016-10-07 12:17:03 +01:00
Robert Osfield
ee97db3488
Introduced OpenThreads::Affinity support into osg::Camera, osg::GraphicsContext::Traitse, osgDB::DatabasePager and osgViewer::ViewerBase/Viewer/CompositeViewer.
...
Added ViewerBase::configureAffinity() to help with the setting of the affinity of camera, graphics context and pager threads
2016-10-07 12:17:03 +01:00
Robert Osfield
77c5e96ccb
Added DatabasePager::setProcessorAffinity(const OpenThreads::Affinity&) support to allow the database threads to have affinity to user controls sets of CPU cores.
2016-10-07 12:17:03 +01:00
Robert Osfield
171e4f0f29
Implemented setting thread affinity for threads that aren't OpenThreads threads, such as main thread
2016-10-07 12:17:03 +01:00
Robert Osfield
00aac43cdb
Added missing export
2016-10-07 12:17:03 +01:00
Robert Osfield
b9869e137d
First cut of OpenThrads::Affinity support for Win32.
2016-10-07 12:17:03 +01:00
Robert Osfield
bc44da49e6
Introduced new OpenThreads::Affinity class to wrap up specification of thread affinity.
...
Simplified the OpenThreads::SetProcessorAffinityOfCurrentThread/Thread::SetProcessorAffinity() to utilize the new Affinity class
2016-10-07 12:17:03 +01:00
Robert Osfield
0f8a5a86e2
Introduced OpenThreads::SetProcessorAffinityMaskOfCurrentThread(unsigned long cpumask) and Threads::setProcessorAffinityMask(unsigned long cpumask) to allow finer grained control over the CPU affinity.
2016-10-07 12:17:03 +01:00
Robert Osfield
cd56639e67
Added CullingActive support for Drawable serializer
2016-10-07 11:13:40 +01:00
Robert Osfield
8de4c76582
Fixed crash and double call bug in handle event callbacks attached to Drawable
2016-10-06 18:27:23 +01:00
Robert Osfield
96b180ddad
Added a osgCmakeExample to illustrate a minimal CMakeList.txt to show how to build an OSG application using Cmake
2016-10-06 15:07:42 +01:00
OpenSceneGraph git repository
0a3b2402c8
Merge pull request #148 from LaurensVoerman/SmoothingVisitor
...
fix bug in SmoothingVisitor tripped by bunny.ply
after duplicating the vertices to allow for multiple normals the indices of the new mesh (with duplicated vertices) were used with the vertices of the old mesh, causing a vector subscript out of range error.
2016-10-06 14:14:02 +01:00
Laurens Voerman
6ad0f9badc
fix bug in SmoothingVisitor tripped by bunny.ply
2016-10-06 14:23:46 +02:00
Robert Osfield
d13c2bf4cb
Merge branch 'LaurensVoerman-Submissions_B'
2016-10-06 11:36:06 +01:00
Robert Osfield
bd85bc0cf3
Changed tabs to four spaces to avoid different editors rendering the indentation differently
2016-10-06 11:34:53 +01:00
Robert Osfield
f1e6ac709c
Merge branch 'Submissions_B' of https://github.com/LaurensVoerman/OpenSceneGraph into LaurensVoerman-Submissions_B
2016-10-06 11:32:31 +01:00
Robert Osfield
197b4a0d30
Added GL_OES_geometry_shader and GL_OES_tessellation_shader checks
2016-10-06 10:48:29 +01:00
Laurens Voerman
cba84f74aa
adaptations for cmake changes mid 2015 (SelectLibraryConfigurations.cmake) with SelectLibraryConfigurations.cmake
...
collada zlib debug library linking added
2016-10-06 11:19:01 +02:00
Alberto Luaces
7f3c92f492
Some spelling fixes in comments.
2016-10-05 18:10:46 +02:00
René Molenaar
48dbd61632
Fixed VisualStudio build
2016-10-05 16:31:23 +01:00
Robert Osfield
0fab759c1b
Removed the unused debug header as it was causing building compile problems with the Debug build under Windows
2016-10-05 14:00:46 +01:00
OpenSceneGraph git repository
70e931fda2
Merge pull request #145 from LaurensVoerman/Submissions_A
...
added vc14 (Visual Studio 2015) and boost 1.58 support in FindCOLLADA.cmake
2016-10-03 08:45:23 +01:00
Laurens Voerman
c03414ac57
added vc14 (Visual Studio 2015) and boost 1.58 support in FindCOLLADA.cmake
2016-09-30 14:33:28 +02:00
OpenSceneGraph git repository
f705e39eb9
Merge pull request #142 from LaurensVoerman/Submissions12
...
fix a few minor warnings from Visual Studio 2015
2016-09-27 09:48:38 +01:00
Laurens Voerman
0619fe1cfa
src\osgplugins\osgjs\Animation(9): warning C4099: 'WriteVisitor': type name first seen using 'class' now seen using 'struct'
2016-09-26 13:56:38 +02:00
Laurens Voerman
0ee744f7a0
fix Visual studio warning C4138: '*/' found outside of comment
2016-09-26 13:43:51 +02:00
Robert Osfield
1bdd2aceab
Removed __sgi blocks as IRIX is no longer available
2016-09-26 10:03:32 +01:00
Robert Osfield
56a7208891
Removed Qt dependency examples, osgQt NodeKit and qfont plugin as these are now provided by the separate osgQt project
2016-09-26 09:31:22 +01:00
Robert Osfield
13fa75fc12
Removed qt threads
2016-09-26 09:22:10 +01:00
Robert Osfield
05f37bec53
Removed IRIX Sproc thead support as IRIX is load dead
2016-09-26 09:08:56 +01:00
Robert Osfield
2c39fa52b8
Removed IRIX Sproc threading support form OpenThreads as IRIX is long dead.
2016-09-26 09:06:28 +01:00
OpenSceneGraph git repository
3a4a7ef5fd
Merge pull request #139 from aluaces/signedchar
...
Explicit signed char declarations for portability.
2016-09-24 16:16:23 +01:00
Alberto Luaces
01c712e851
Explicit signed char declarations for portability.
...
Some platforms (ARM, PowerPC, s390x) have "unsigned char" as the default
char type, and thus the build fails for certain parts of the code where
negative values are assigned to those kind of variables.
2016-09-24 12:33:37 +02:00
Robert Osfield
3f91c5d970
Changed the min CMake version to 2.8.0
2016-09-22 18:33:35 +01:00
OpenSceneGraph git repository
db10e80b7f
Merge pull request #137 from LaurensVoerman/Submissions10
...
fix error in CmakeLists: CMAKE_CXX_COMPILER_VERSIO
2016-09-22 17:48:19 +01:00
Robert Osfield
c6813cf8e2
Replaced local static usage to avoid threading and mulit-context issues
2016-09-22 14:33:03 +01:00
Laurens Voerman
ba3ab1a7c1
fix error in CmakeLists: CMAKE_CXX_COMPILER_VERSIO -> CMAKE_CXX_COMPILER_VERSION
2016-09-22 09:09:46 +02:00
Robert Osfield
c31af086eb
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2016-09-20 17:25:35 +01:00
Robert Osfield
7e0c30b884
Refactored texture sharing code so that it modifies the RefAttributePair directly thus honouring the override flags and fixing a bug of loosing these override flags when sharing
2016-09-20 17:23:37 +01:00
Robert Osfield
b0df75e674
Cleaned up the spacing and const of various method parameters.
...
Added non const versions of StateSet::getAttributePair() and getTextureAttributePair()
2016-09-20 17:01:26 +01:00
OpenSceneGraph git repository
c0fc66d6a0
Merge pull request #134 from LaurensVoerman/Submissions10
...
Specialize -Wmaybe-uninitialized -Wextra and -Wno-misleading-indentation gcc warning flags to 4.6, 4.9 and 6.0 respectively
2016-09-20 14:40:28 +01:00
Laurens Voerman
3b029f5d3e
short version with gcc warning flags depending on compiler version.
2016-09-20 10:23:15 +02:00
Laurens Voerman
65567fdeac
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph into Submissions10
2016-09-20 10:20:47 +02:00
OpenSceneGraph git repository
57f9257f32
Merge pull request #136 from LaurensVoerman/Submissions11
...
disable warning C4589 for MSVC
2016-09-19 19:39:01 +01:00
Laurens Voerman
37bd1c6b93
disable warning C4589 for MSVC
2016-09-19 16:40:59 +02:00
Laurens Voerman
c757fdb779
enable some more aggressive warning flags for gcc 4.7 and cmake version below 3
2016-09-16 17:12:41 +02:00
OpenSceneGraph git repository
dd0cd8f2db
Merge pull request #130 from LaurensVoerman/Submissions7
...
VS2015 dae plugin fix a few declaration of 'X' hides previous
2016-09-15 07:53:10 +01:00
OpenSceneGraph git repository
b75546acaf
Merge pull request #131 from filnet/master
...
StandardManipulator: use proper bit mask when clearing a relative flag
2016-09-15 07:50:51 +01:00
Philippe Renon
e367792f6d
StandardManipulator: use proper bit mask when clearing a relative flag
2016-09-14 14:32:35 +02:00
Laurens Voerman
cf3c2b18e3
VS2015 fix a few warning C4456: declaration of 'X' hides previous local declaration
2016-09-13 17:07:28 +02:00
OpenSceneGraph git repository
3b1212fed5
Merge pull request #128 from LaurensVoerman/Submissions5
...
wrong Meta_Shape tag in ConvexHull
2016-09-12 16:22:54 +01:00
OpenSceneGraph git repository
22f96935fb
Merge pull request #127 from LaurensVoerman/Submissions4
...
remove last Performer reference
2016-09-12 16:22:18 +01:00
Laurens Voerman
55b8c380d8
wrong Meta_Shape tag in ConvexHull
2016-09-12 16:49:35 +02:00
Laurens Voerman
743ecf3706
remove last Performer reference
2016-09-09 10:58:19 +02:00
Robert Osfield
489860fb87
Updated version number to 3.5.5
2016-09-06 09:31:16 +01:00
Robert Osfield
aae78b8a8b
Updated ChangeLog formatting
2016-09-05 19:12:54 +01:00
Robert Osfield
beb617ad90
Updated ChangeLog, AUTHORS and README for 3.5.4 dev release
2016-09-05 17:57:27 +01:00
Robert Osfield
cb6e6ff2be
Fixed warnings, deprecated another out of date method
2016-09-05 15:35:54 +01:00
Robert Osfield
ec344a85b4
Fixed warnings
2016-09-05 13:44:59 +01:00
Stuart Mentzer
2c4a5319bf
Final version of FindFreetype.cmake that is based on the now-accepted CMake patches. This supports the new freetype include path structure and fixes the failure to find the debug library on Windows due to its name having a 'd' suffix.
2016-09-05 12:18:46 +01:00
Robert Osfield
a494cd71e8
Fixed typo
2016-09-05 07:59:15 +01:00
Robert Osfield
4a6fb5a49a
Fixed warnings
2016-09-04 19:50:28 +01:00
Robert Osfield
fb4f7a025b
Added local deprecated_osg::Geometry implementation from OpenSceneGraph-3.4 to keep build working now that deprecated_osg::Geometry has been removed from the core OSG.
2016-09-04 18:31:13 +01:00
Robert Osfield
19270d0833
Fixed warning
2016-09-02 19:09:13 +01:00
Robert Osfield
f4fbe6625a
Merge branch 'LaurensVoerman-Submissions2e'
2016-09-02 18:26:37 +01:00
Robert Osfield
79ff8ba273
Merge branch 'Submissions2e' of https://github.com/LaurensVoerman/OpenSceneGraph into LaurensVoerman-Submissions2e
2016-09-02 18:26:11 +01:00
OpenSceneGraph git repository
c19b271586
Merge pull request #119 from LaurensVoerman/Submissions2c
...
Fixed clone osgVolume::Scalarproperty and osg::TextureBuffer crash
2016-09-02 17:47:37 +01:00
OpenSceneGraph git repository
14bdadaf86
Merge pull request #123 from LaurensVoerman/Submissions2f
...
Submissions2f
2016-09-02 17:44:57 +01:00
OpenSceneGraph git repository
8d827ced1b
Merge pull request #117 from LaurensVoerman/Submissions2a
...
bugfix: wrong class name in META_Object macro for osg::Enablei /disable
2016-09-02 17:35:47 +01:00
OpenSceneGraph git repository
def6508308
Merge pull request #118 from LaurensVoerman/Submissions2b
...
fix colliding include guards and spurious #define OSGUI_EXPORT
2016-09-02 17:34:20 +01:00
OpenSceneGraph git repository
0873a69ff5
Merge pull request #124 from LaurensVoerman/Submissions3
...
RigTransformHardware fix: warn; don't crash if MAX_MATRIX not found
2016-09-02 17:28:40 +01:00
Laurens Voerman
92ca556243
fix the missing ")" in BasicAnimationManager copy constuctor
2016-08-29 17:00:00 +02:00
Laurens Voerman
1da43a5960
added copyconstructor for osgAnimation::BasicAnimationManager
2016-08-29 13:03:36 +02:00
Laurens Voerman
628f8fd9dc
added call to copy constructor for virtual base classes in copy constructor of derived classes, removed these for abstract classes
2016-08-29 10:41:40 +02:00
Laurens Voerman
d0020b7dfc
bugfix: osg::TextureBuffer::clone() crash
2016-08-29 10:01:48 +02:00
Laurens Voerman
0433d29d11
bugfix: osgVolume::ScalarProperty clone crash
2016-08-29 10:01:48 +02:00
Laurens Voerman
ca877a8424
fix colliding include guards and spurious #define OSGUI_EXPORT
2016-08-29 09:40:21 +02:00
Laurens Voerman
dd223002dd
bugfix: wrong class name in META_Object macro for osg::Enablei osg::Disablei
2016-08-29 09:37:14 +02:00
Robert Osfield
2e6f0d7aab
Quitened unused parameter warnings
2016-08-26 19:28:36 +01:00
Robert Osfield
0ad09d6dad
Fixed unused variable warnings
2016-08-26 19:18:00 +01:00
Robert Osfield
322adc266c
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2016-08-26 18:00:52 +01:00
Robert Osfield
11ddd53eb4
Removed redundent Referenced::s/getThreadSafeReferenceCounting() and associated static and env vars as there are now inapprorpiate and no longer supported
2016-08-26 17:59:30 +01:00
Laurens Voerman
5c66ecfc99
RigTransformHardware fix: warn; don't crash if MAX_MATRIX not found
2016-08-16 14:33:48 +02:00
OpenSceneGraph git repository
2bdf56cb4b
Merge pull request #114 from scrawl/const-cast
...
Remove an unneeded const_cast
2016-08-16 12:40:35 +01:00
OpenSceneGraph git repository
15ec7e2ae7
Merge pull request #115 from zakalawe/master
...
Attempt to fix broken DLL exports from osgDB
2016-08-16 12:39:57 +01:00
James Turner
ea9f479674
Attempt to fix broken DLL exports from osgDB
...
Only export the osgDB method implementations, instead of the entire
class, and hence avoid exporting symbols from the base class, which
then conflict with other compilation units when linking.
This avoids the need for /FORCE:MULTIPLE linker option with MSVC.
2016-08-15 22:21:44 +01:00
Robert Osfield
8f68da89d7
Fixed handling in osgUtil::IncrementalCompileOperation/CompileSet/StateToCompile when the _markerObject is NULL.
2016-08-15 12:59:21 +01:00
Robert Osfield
9d9025a6b4
Changed the default paramter for the osgUtil::StateToCompile to retain the OSG-3.4 ABI and fixed indentation.
2016-08-15 12:13:07 +01:00
Robert Osfield
06cb31a3d2
Added automatic assignment of _markerObject to CompileSet.
2016-08-15 11:46:48 +01:00
scrawl
0b450a5113
Remove an unneeded const_cast
2016-08-14 19:30:55 +02:00
Ravi Mathur
e9d6737ec4
Updates to the CMake build system for Mac OSX
2016-08-10 14:30:28 +01:00
Anish Thomas
2b9dfab1fc
GLSL 1.3 support for vertex-attrib aliasing
2016-08-10 14:12:27 +01:00
Konstantin S. Matveyev
e6d4d99edb
Fixed filename encoding bug
2016-08-10 12:58:38 +01:00
Robert Osfield
26bce07f2b
Fixed handlinge of fgets returning a 0 length string
2016-08-10 12:00:18 +01:00
OpenSceneGraph git repository
f8c090ff7f
Merge pull request #111 from hernando/master
...
Added missing GL enums to Texture::computeInternalFormatType
2016-08-10 11:32:15 +01:00
OpenSceneGraph git repository
0c938cab8a
Merge pull request #112 from mathieu/feature/macOS_CoreProfile
...
macOS CoreProfile, contains requested parts of #92 previous PR concerning the osgsimplegl3 sample and the selection of the correct GL Profile when compiling with GL3 or Core Profile in GraphicsWindowCocoa.mm
2016-08-05 09:07:23 +01:00
Mathieu MARACHE
c77a7ecae9
Added usage of osgUtil::Optimizer to tessellate input geometry
2016-08-05 07:51:33 +02:00
Mathieu MARACHE
a54dc34752
Added CoreProfile selection if OSG_GL3_AVAILABLE defined
2016-08-05 07:49:22 +02:00
Juan Hernando Vieites
b3c242e270
Added missing GL enums to Texture::computeInternalFormatType
2016-08-04 17:03:51 +02:00
Robert Osfield
2550c95c32
Added GL_NORMALIZE usage to handle the case of the FlattenStaticTransform visitor not being applied to the scaled subgraphs causing lighting problems
2016-08-02 17:52:45 +01:00
OpenSceneGraph git repository
02cb58d3d9
Merge pull request #106 from rafagaitan/osgdb_curl
...
Added OSG_CURL_SSL_VERIFYPEER option to the curl plugin
2016-08-02 15:45:49 +01:00
OpenSceneGraph git repository
46fb6bd299
Merge pull request #109 from scrawl/renderbuffer_fix
...
Fix RenderBuffer not being attached
2016-08-02 15:27:39 +01:00
scrawl
5b70f208e3
Fix RenderBuffer not being attached (bug introduced with commit 55b3becb7c )
2016-08-01 17:48:14 +02:00
Robert Osfield
2578fce085
Added FT_LOAD_NO_HINTING
2016-07-31 14:00:30 +01:00
Robert Osfield
1794374c78
Fixed build error reported on gcc 4.6.4/Ubuntu 12.04 32bit, issue #108
2016-07-31 11:06:51 +01:00
OpenSceneGraph git repository
953b150c17
Merge pull request #107 from marchelbling/fix_tangentspacegenerator_regression
...
OsgUtil::TangentSpaceGenerator, merge tangent space for index array
2016-07-31 10:49:23 +01:00
Cedric Pinson
e1c0b74454
OsgUtil::TangentSpaceGenerator, merge tangent space for index array
2016-07-19 14:48:28 +02:00
Rafael Gaitán
5e4543513b
Added OSG_CURL_SSL_VERIFYPEER option to the curl plugin to allow connecting to secure servers without the certificate
2016-07-19 13:44:31 +02:00
Robert Osfield
f9172a000e
Fixed bug in setting the ratio value
2016-07-18 20:06:26 +01:00
OpenSceneGraph git repository
0faebbef33
Merge pull request #105 from marchelbling/compiler-friendly-gles
...
Moves gles visitors implementation in cpp files
2016-07-13 09:46:19 +01:00
Marc Helbling
a44057b0df
Moves gles visitors implementation in cpp files
2016-07-12 11:54:51 +02:00
Robert Osfield
fd0af1d9df
Added Optimizer::BufferObjectVisitor and associated BUFFER_OBJECT_SETTINGS value to enable it via the OSG_OPTIMZIER env var.
...
The BufferObjectVisitor enbales vertex buffer objects usage on Drawable in the scene graph.
2016-07-11 09:52:07 +01:00
Robert Osfield
51f85f4c94
Added dirty of the vertex arrays to make sure they are uploaded when using VBO + VAO's
2016-07-11 09:46:50 +01:00
Robert Osfield
483982de3a
Fixed coverity issue
2016-07-07 07:31:15 +01:00
Robert Osfield
f62a07beba
Removed dead code
2016-07-07 07:27:37 +01:00
Robert Osfield
5ab9a1b420
Fixed potential memory leak
2016-07-07 07:16:56 +01:00
Robert Osfield
6d85404cf0
Added ref_ptr<> to quieten down Coverity
2016-07-06 20:57:53 +01:00
Robert Osfield
c820b611ed
Removed dead code
2016-07-06 20:36:50 +01:00
Robert Osfield
f99408f254
Fixed possible memory leak
2016-07-06 20:34:41 +01:00
Robert Osfield
e5e89a3ac9
Added handling of null
2016-07-06 20:23:34 +01:00
Robert Osfield
8b3944f51c
Changed dynamic_cast<> to static_cast<> as type is known based on getType() query.
...
Added missing break statement.
2016-07-06 20:21:53 +01:00
Robert Osfield
0ef196b84c
Added null pointer check
2016-07-06 20:15:49 +01:00
Robert Osfield
b907a6e1a6
Fixed null pointer check
2016-07-06 20:13:36 +01:00
Robert Osfield
84eca67498
Added null pointer check
2016-07-06 20:08:03 +01:00
Robert Osfield
666a5def96
Fixed use of invalidated iterator
2016-07-06 20:04:13 +01:00
Robert Osfield
5c5cdbabf7
Added null pointer check
2016-07-06 19:58:23 +01:00
Robert Osfield
a898f2a7e1
Fixed TabPlaneDragger's handling of pressing the right mouse button whilst holding the left mouse button down, then releasing hte left mouse button.
2016-07-06 19:45:02 +01:00
Robert Osfield
74f1cc1ec4
Improved casting to address crashes when handling classes that use virtual inheritance.
2016-07-06 11:36:47 +01:00
Robert Osfield
c753a99a38
Added ability to assign callbacks from lua scripts
2016-07-06 11:36:25 +01:00
Robert Osfield
dba3fa00b9
Uodate README date
2016-07-05 19:22:15 +01:00
Robert Osfield
d8bac1d363
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2016-07-05 18:11:31 +01:00
Robert Osfield
8066a1da04
Added readObject() implementation.
2016-07-05 18:10:51 +01:00
OpenSceneGraph git repository
bb509879ca
Merge pull request #103 from marchelbling/update_stl
...
Update stl.
fixes magics color parsing
adds support for incomplete binary stl files
2016-07-05 18:04:50 +01:00
Robert Osfield
ca4355974f
Fixed warnings
2016-07-05 17:57:28 +01:00
OpenSceneGraph git repository
9cd52fc54e
Merge pull request #102 from marchelbling/update_gles+osgjs
...
Update gles+osgjs.
This PR
cleans some gles coverity defects (remaining should only be false positive that need to be sorted out cleanly)
updates osgjs plugin to support serialization; the history of changes is squashed; details can still be found on cedricpinson fork if needed
As compressed animation channels are no longer part of the main repo, I added a compilation flag for the osgjs plugin. The commit is isolated and the flag is not activated by default.
I am yet to find a better solution to make this plugin entirely free from our specific code.
Note: this PR will not change the gles compilation issues. We only compile on OSX/ubuntu and did not encounter any issue with the plugin.
2016-07-05 17:49:03 +01:00
Marc Helbling
e4c31cdcbf
Adds support for incomplete stl binary files
...
The logic is
* if a file is not ascii
* if its sizeis less than the expected binary size
then we can assume that the data is incomplete but still try to load it.
2016-07-05 17:09:45 +02:00
Marc Helbling
f4d0131967
Fixes magics color parsing
...
`fread` returns the number of objects read, not a byte-size.
2016-07-05 17:09:41 +02:00
Marc Helbling
67c301c236
Adds specific flag for compressed animation buffers
2016-07-05 16:52:17 +02:00
Marc Helbling
67b17fa801
Updates osgjs plugin for animation serialization
2016-07-05 16:48:53 +02:00
Marc Helbling
6fd972fa42
Fixes gles coverity defects
2016-07-05 16:32:00 +02:00
Robert Osfield
ab69edb506
Fixed typo
2016-07-05 12:57:41 +01:00
Robert Osfield
dce1473a53
Seperated out the scene->requiresRedraw() method into a osgViewer::Viewer::requiresRedraw() method to make the functionality clearer and easier to override.
2016-07-05 11:54:31 +01:00
Robert Osfield
16d497ef80
Simplified DatabasePager::requires*() methods
2016-07-05 11:42:03 +01:00
OpenSceneGraph git repository
076503f247
Merge pull request #100 from filnet/checkneedtodoframe
...
streamline DatabasePager::requiresUpdateSceneGraph()
2016-07-05 11:27:44 +01:00
Robert Osfield
7635f1774f
Added missing Plane and Quat handling
2016-07-05 07:41:23 +01:00
Philippe Renon
22d53357d3
split requiresUpdateSceneGraph() into requires update and requires redraw (wip)
2016-07-04 23:19:20 +02:00
Philippe Renon
e23a30652d
streamline DatabasePager::requiresUpdateSceneGraph()
...
would trigger unnecessary redraws when there were pending file requests or active database threads
tested ok with and without IncrementalCompileOperation
2016-07-04 21:42:19 +02:00
Robert Osfield
935a5c4e22
Added version guard around new parameter serializer
2016-07-04 20:26:28 +01:00
Julien Valentin
36930dcd18
Added serializer support for RigTransforms
2016-07-04 20:19:58 +01:00
Robert Osfield
1fe2d6d31f
Added templte methods and implementations for Vec2,3,4 for b,ub,s,us,i and ui.
2016-07-04 13:37:29 +01:00
Robert Osfield
82ab389fd6
Added Vec2,3,4 for b, ub, s, us, i, ui.
2016-07-04 13:36:28 +01:00
Robert Osfield
2ebe4813d6
Replaced seperate implementations with template implementations
2016-07-04 11:02:58 +01:00
Robert Osfield
6870c195d0
Replaced seperate getValue(Vec*) implementations with template based implementation
2016-07-04 10:53:06 +01:00
Robert Osfield
55e4d567c4
Added ValueObject pushValue handling for Vec2*, Vec3*, Vec4 for b,ub,s,us,i and ui.
2016-07-04 10:34:03 +01:00
Robert Osfield
9e0c46d55f
Added Vec*b, Vec*s, Vec*i getValue(..) implementations
2016-07-04 10:14:47 +01:00
Robert Osfield
bc7bd7da9d
Replaced pushVec(Vec2f etc.) implementations with template implementations.
2016-07-04 10:11:34 +01:00
Julien Valentin
50f6cf6a69
Added missing xzyw accessor to Vec4ub
2016-07-04 10:01:17 +01:00
OpenSceneGraph git repository
1f3559e0b2
Merge pull request #99 from filnet/gstreamer
...
fix FindGStreamer.cmake for msys2 mingw
2016-07-04 09:06:50 +01:00
Philippe Renon
89b9de8ab4
fix FindGStreamer.cmake for msys2 mingw
2016-07-03 17:43:39 +02:00
Robert Osfield
b7bf94b4c6
Added const
2016-07-02 14:45:10 +01:00
Robert Osfield
0f95ad5f9f
Added initializers
2016-07-02 12:54:48 +01:00
Robert Osfield
e698ddb719
Introduced ref_ptr<> usage to avoid potential memory leaks
2016-07-02 12:52:20 +01:00
Robert Osfield
143d423d1f
Added handling of return type
2016-07-02 12:39:06 +01:00
Robert Osfield
5beb15fa77
Added handling of return type
2016-07-02 12:37:22 +01:00
Robert Osfield
922c860814
Fixed types
2016-07-02 12:33:31 +01:00
Robert Osfield
39d439cea4
Added handling of return type
2016-07-02 12:31:08 +01:00
Robert Osfield
5128461c67
Added initializer
2016-07-02 12:29:07 +01:00
Robert Osfield
8250bdce15
Added initializer
2016-07-02 12:27:48 +01:00
Robert Osfield
5bfc7b9908
Fixed warning and quitened ones caused by 3rd party headers.
2016-07-02 12:13:08 +01:00
Robert Osfield
40d5d1712d
Changed to an int comparison
2016-07-02 11:09:12 +01:00
Robert Osfield
7a63538fb9
Removed inappropriate use of Vec3us in osgAnimation as this relies upon nonexistant functionality in Vec3us and in general just doesn't make sense to attempt to use float point maths with a unsigned short.
2016-07-02 10:44:40 +01:00
Robert Osfield
2122980d0a
Fixed number of processors setting
2016-07-02 10:14:06 +01:00
OpenSceneGraph git repository
9ae4a4fc27
Merge pull request #95 from marchelbling/tristripvisitor_index_option
...
Adds an indexMesh option to disable mesh reindexation
2016-07-01 18:07:16 +01:00
OpenSceneGraph git repository
d0b755e6cc
Merge pull request #94 from marchelbling/gles_plugin_update
...
Updates gles plugin.
This PR updates the GLES plugin with latest Sketchfab changes:
improves geometry splitting
processes/cleans animation (for subsequent osgjs serialization)
adds (yet another) normal smoother
2016-07-01 18:03:29 +01:00
OpenSceneGraph git repository
3c86aa8e01
Merge pull request #93 from marchelbling/osganimation
...
Updates to osgAnimation is mainly for the gles plugint to work correctly.
adds Quaternion array
reintroduces KeyframeContainer::linearInterpolationDeduplicate
fixes MorphGeometry OSG serialization (target names)
2016-07-01 17:57:44 +01:00
Marc Helbling
da47f8a156
Adds an indexMesh option to disable mesh reindexation
...
This mainly breaks gles/osgjs when stripifying a MorphGeometry. It also
usually doesn't make sense to reindex an already indexed mesh.
2016-07-01 18:12:36 +02:00
Marc Helbling
9fbdaaae65
Updates gles plugin
2016-07-01 17:28:01 +02:00
Marc Helbling
43443928d0
Updates osgAnimation
...
This updates is mainly for the gles plugint to work correctly.
* adds Quaternion array
* reintroduces `KeyframeContainer::linearInterpolationDeduplicate`
* fixes MorphGeometry OSG serialization (target names)
2016-07-01 17:04:15 +02:00
Robert Osfield
7c0c98b504
Addd loop guard to prevent negative bit shift
2016-07-01 11:08:29 +01:00
Robert Osfield
ff50edfc57
Fixed types
2016-07-01 10:57:31 +01:00
Robert Osfield
9007ab7e1d
Fixed types
2016-07-01 10:38:58 +01:00
Robert Osfield
96a442f3bc
Fixed type
2016-07-01 10:35:18 +01:00
Robert Osfield
3b5dc50e30
Added intializers
2016-07-01 10:21:55 +01:00
Robert Osfield
243420c5d9
Added initializers
2016-07-01 10:13:14 +01:00
Robert Osfield
562619f794
Moved initializers
2016-07-01 09:59:21 +01:00
Robert Osfield
466337c148
Added initializers
2016-07-01 09:56:01 +01:00
Robert Osfield
d9dc8ca3b2
Added initializers
2016-07-01 09:54:58 +01:00
Robert Osfield
ca77f5223e
Moved unused member variables to #if 0 blocks.
...
Added initiliazer
2016-07-01 09:52:35 +01:00
Robert Osfield
2842adeb98
Fixed indentation
2016-07-01 09:15:36 +01:00
Robert Osfield
ddb4a02098
Added initializer
2016-07-01 09:14:59 +01:00
Robert Osfield
7584fe0ba2
Added initializer
2016-07-01 09:13:21 +01:00
Robert Osfield
0f05a4ceaa
Added intializer
2016-07-01 09:09:35 +01:00
Robert Osfield
64c4a35e9a
Added initializers
2016-07-01 08:52:43 +01:00
Robert Osfield
ff5095e8d1
Added initializer
2016-07-01 08:49:55 +01:00
Robert Osfield
68b69b8021
Added initializer
2016-07-01 08:48:49 +01:00
Robert Osfield
8edbe1dc0d
Added initiaizer
2016-07-01 08:43:32 +01:00
Robert Osfield
eff07fe61e
Added initializer
2016-07-01 08:41:54 +01:00
Robert Osfield
22cb243bd9
Added initialziers
2016-07-01 08:40:25 +01:00
Robert Osfield
9f259731f8
Added initializer
2016-07-01 08:37:48 +01:00
Robert Osfield
c13ba702ee
Added initializer
2016-07-01 08:36:54 +01:00
Robert Osfield
eab111a5f5
Replaced the old c style declaration of enum's as it was confusing Coverity
2016-07-01 08:35:08 +01:00
Robert Osfield
d3362f9a23
Added initializers
2016-07-01 08:19:51 +01:00
Robert Osfield
4668511c93
Added initializer
2016-07-01 08:16:39 +01:00
Robert Osfield
e81c48f974
Added initializers
2016-07-01 08:15:01 +01:00
Robert Osfield
82fabc94f9
Added initializer
2016-07-01 08:08:39 +01:00
Robert Osfield
91d60de028
Removed unused member variable and adding initializer
2016-07-01 08:06:42 +01:00
Robert Osfield
3c70d03d30
Added initializers
2016-07-01 08:03:03 +01:00
Robert Osfield
e9c4cbce5c
Addded initializer
2016-07-01 08:00:49 +01:00
Robert Osfield
a7a8284786
Added initializer
2016-07-01 07:58:04 +01:00
OpenSceneGraph git repository
c919d64d25
Merge pull request #91 from bjornblissing/feature/DestructionOperation
...
CleanUpOperation added to Viewer
2016-07-01 06:40:52 +01:00
Björn Blissing
ed7d49c5d2
CleanUpOperation added to Viewer
...
Sometimes there is need to do cleanup with valid graphic contexts
before closing these contexts. The added operation runs a graphics
operation on each context before closing them.
2016-06-30 22:09:22 +02:00
Robert Osfield
2ddcd14395
Added initializer
2016-06-30 14:17:51 +01:00
Robert Osfield
4d2bc269d9
Added initializers
2016-06-30 14:16:14 +01:00
Robert Osfield
3ae57e247f
Added initializer
2016-06-30 14:12:01 +01:00
Robert Osfield
99458d061d
Added initializers
2016-06-30 14:04:52 +01:00
Robert Osfield
ca721a8d05
Added initializer
2016-06-30 13:58:54 +01:00
Robert Osfield
b3765ac3cf
Added handling of error condition
2016-06-30 11:31:02 +01:00
Robert Osfield
9e7d361a50
Added handling of error condition
2016-06-30 11:28:59 +01:00
Robert Osfield
6cd944e9c3
Added handling of error return value
2016-06-30 11:26:21 +01:00
Robert Osfield
d2579c0702
Added handling of error value
2016-06-30 11:24:50 +01:00
Robert Osfield
4ed8558178
Fixed handling of return values
2016-06-30 11:19:53 +01:00
Robert Osfield
75183eb3dd
Fixed line endings
2016-06-30 11:19:24 +01:00
Robert Osfield
1b409fff8b
Added handling of return value
2016-06-30 11:12:45 +01:00
Robert Osfield
cd4a51cf67
Added handling of return value
2016-06-30 11:11:00 +01:00
Robert Osfield
d4475e5b19
Added handling of return value
2016-06-30 11:03:40 +01:00
Robert Osfield
509c0380fa
Added handling of return value
2016-06-30 11:00:38 +01:00
Robert Osfield
8f071e055f
Added handling of false return
2016-06-30 10:58:17 +01:00
Robert Osfield
e5c0297167
Added handling of false return
2016-06-30 10:55:34 +01:00
Robert Osfield
876c4882a3
Fixed typo
2016-06-30 10:50:11 +01:00
Robert Osfield
72a80ee8cd
Added handling of null dynamic_cast
2016-06-30 10:17:23 +01:00
Robert Osfield
ba3eaa83e0
Added handling of null dynamic_cast
2016-06-30 10:08:29 +01:00
Robert Osfield
e2730d0b5c
Clean up clone
2016-06-30 10:03:51 +01:00
Robert Osfield
2a5098eacb
Added handling of null pointer
2016-06-30 10:01:18 +01:00
Robert Osfield
be26725867
Added handling of null dynamic_cast
2016-06-30 09:59:27 +01:00
Robert Osfield
a469d60ed2
Added handling of null dynamic_cast.
2016-06-30 09:54:13 +01:00
Robert Osfield
576a265095
Added handlng of null dynamic_cast
2016-06-30 09:52:10 +01:00
Robert Osfield
cbba625b07
Added null pointer handling
2016-06-30 09:48:44 +01:00
Robert Osfield
314deedcf5
Added better null pointer handling
2016-06-30 09:46:27 +01:00
Robert Osfield
9e8d09bffc
Improved error handling
2016-06-30 09:38:41 +01:00
Robert Osfield
6df325f651
Added handling of error return type
2016-06-30 09:29:32 +01:00
Robert Osfield
05d97aad28
Removed no longer used code
2016-06-30 09:09:54 +01:00
Robert Osfield
9b1107eb64
Improved check against number of bytes read
2016-06-30 08:27:49 +01:00
Robert Osfield
fec64f6d8c
Added handling of NULL pointer case
2016-06-30 08:23:51 +01:00
Robert Osfield
7f335fd528
Added handling of possible zero divisor
2016-06-30 08:20:31 +01:00
Robert Osfield
1a10795198
Added handling of possible zero divisor
2016-06-30 08:16:29 +01:00
Robert Osfield
77812b32e0
Added handling of potential zero divisor
2016-06-30 08:14:48 +01:00
Robert Osfield
1c2aeb3138
Added handling of NULL
2016-06-30 08:13:01 +01:00
Robert Osfield
73cdc67367
Addd handling of NULL
2016-06-30 08:02:29 +01:00
Robert Osfield
de6eb1d97e
Added handling of NULL
2016-06-30 07:59:51 +01:00
Robert Osfield
ac136d92e7
Added handling of NULL
2016-06-30 07:59:37 +01:00
Robert Osfield
1e0a187613
Added handling of out of memory
2016-06-30 07:50:40 +01:00
Robert Osfield
99a426d47d
Added better handling of nulls
2016-06-30 07:50:14 +01:00
Robert Osfield
fa14b5263e
Added initializer
2016-06-29 19:59:56 +01:00
Robert Osfield
a24cdb59de
Fixed handling of null pointer
2016-06-29 18:01:29 +01:00
Robert Osfield
fb537e089b
Cleaned up null pointer handling
2016-06-29 17:58:03 +01:00
Robert Osfield
274a197a82
Moved assignment to within safe block
2016-06-29 17:56:11 +01:00
Robert Osfield
d0bf7e8ce7
Added hanlding of null value
2016-06-29 17:51:32 +01:00
Robert Osfield
467054ba44
Added null pointer handling
2016-06-29 17:47:32 +01:00
Robert Osfield
625c559e8d
Added null pointer handling
2016-06-29 17:43:37 +01:00
Robert Osfield
8589d59520
Added handling of null pointer
2016-06-29 17:35:20 +01:00
Robert Osfield
47842987c5
Added null pointer check
2016-06-29 17:33:45 +01:00
Robert Osfield
9fe0c23af4
Added better handling of null istream
2016-06-29 17:31:16 +01:00
Robert Osfield
3c1d3b981c
Added null pointer handling
2016-06-29 17:29:28 +01:00
Robert Osfield
e3c48d9f45
Added handling of the possibility of null Options pointers
2016-06-29 17:06:48 +01:00
Robert Osfield
0876677fb2
Removed check against changed flag as check is aleady done outside the method so no need for a duplicate check
2016-06-29 16:07:39 +01:00
Julien Valentin
98b81821fb
fix in StateSet.cpp
...
the State::DefineMap::changed flag is not resetted to false after currentDefines are updated
2016-06-29 16:05:14 +01:00
Robert Osfield
990c04d4b9
Moved the scene related requiresUpdateSceneGraph() implementation details from View into Scene.
...
Added check against the ImagePager.
2016-06-29 15:34:11 +01:00
OpenSceneGraph git repository
48c1d0e8da
Merge pull request #81 from filnet/checkneedtodoframe
...
refactor common code from CompositeViewer::checkNeedToDoFrame() and Viewer::checkNeedToDoFrame() into View
2016-06-29 15:15:31 +01:00
Robert Osfield
00b1173e70
Added osg::ScissorIndexed that wraps up glScissorIndexed function
2016-06-29 15:11:02 +01:00
Robert Osfield
412e9fc3dd
Added osg::DepthRangeIndexed class to wrap up glDepthRangeIndexed functionality.
2016-06-29 12:28:28 +01:00
Laurens Voerman
af28adc01d
Added osgshadermultiviewport example to test and demonstrate the new osg::ViewportIndexed class
2016-06-29 11:39:44 +01:00
Robert Osfield
54dbf438cc
Fixed cast
2016-06-29 11:36:44 +01:00
Robert Osfield
e932c8e5e8
Added build of new osg::ViewportIndexed
2016-06-29 11:35:56 +01:00
Robert Osfield
e30b570b1f
Revert "Fixed incorrect cast" as commit contained more changes than intended.
...
This reverts commit 2897ab13cb .
2016-06-29 11:34:20 +01:00
Robert Osfield
8d7d5d12a1
Added osg::ViewportIndexed that adds support for glViewportIndexed
2016-06-29 11:26:54 +01:00
Robert Osfield
2897ab13cb
Fixed incorrect cast
2016-06-29 11:25:08 +01:00
Laurens Voerman
ec74518868
Added glViewerArray, glSissorArray, glDepthRangeArray etc. GL extension support
2016-06-29 09:53:04 +01:00
Robert Osfield
1df3cb9144
Fixed warnings
2016-06-28 19:49:48 +01:00
Robert Osfield
4223028ec1
Disabled -Wextra compile option for GCC + CLang as FBX headers generate lots of warnings we can't fix
2016-06-28 19:46:14 +01:00
Robert Osfield
b2e5e5b388
Revert "corrected syntax error in src/osgPlugins/fbx/ReaderWriterFBX.cpp"
...
This reverts commit 7a1324800f .
2016-06-28 18:39:12 +01:00
Robert Osfield
f4eb37ee08
Added initializer
2016-06-28 16:49:08 +01:00
Robert Osfield
418aa45a1b
Added initializers
2016-06-28 16:47:11 +01:00
Robert Osfield
049d64dd20
Added initializer
2016-06-28 16:44:24 +01:00
Robert Osfield
56f6376de8
Added initializer
2016-06-28 16:42:33 +01:00
Robert Osfield
c6cd232f77
Added initializer
2016-06-28 16:40:57 +01:00
Robert Osfield
70f47cedc7
Replaced unsafe strcpy
2016-06-28 16:37:58 +01:00
Robert Osfield
847eea5b5d
Replaced usage c string usage
2016-06-28 16:34:30 +01:00
Robert Osfield
96d3bd203f
Replaced unsafe string usage
2016-06-28 16:33:13 +01:00
Robert Osfield
21354e62d4
Replaced unsafe c string usage with std::stringstream
2016-06-28 16:30:06 +01:00
Robert Osfield
55d6113375
Removed debug message
2016-06-28 16:25:21 +01:00
Robert Osfield
dc3d4cac53
Replaced unsafe c string usage with std::string
2016-06-28 16:11:14 +01:00
Robert Osfield
b5f880ba1d
Replaced unsafe c string usage with std::string
2016-06-28 16:03:01 +01:00
Robert Osfield
7f1ba5f7df
Replaced unsafe strcpy
2016-06-28 15:56:39 +01:00
Robert Osfield
26da8fc9ce
Replaced unsafe c string usage with std::string
2016-06-28 15:52:35 +01:00
Robert Osfield
4f276d9d8e
Fixed leak when open returns 0
2016-06-28 15:33:06 +01:00
Robert Osfield
07a0b52e6c
Fixed leak when open returns 0
2016-06-28 15:31:55 +01:00
Robert Osfield
9aa8497fbf
Removed line space
2016-06-28 13:44:20 +01:00
Robert Osfield
44255995e3
Cleaned up pointer checks
2016-06-28 13:44:00 +01:00
Robert Osfield
4e48fead44
Repplaced fscanf usage with ifstream to avoid safety issues
2016-06-28 13:38:35 +01:00
Robert Osfield
f7bbb4821b
Added handling of failure to reclaim file
2016-06-28 09:32:38 +01:00
Robert Osfield
6937a8fcd3
Removed unneccessary close
2016-06-28 09:21:30 +01:00
Robert Osfield
9253ea845b
Added better handling of reading of sizes
2016-06-28 09:11:39 +01:00
Robert Osfield
e062ddde20
Added initializers
2016-06-28 08:34:02 +01:00
Robert Osfield
931e3277b9
Fixed initializer
2016-06-28 08:32:35 +01:00
Robert Osfield
89c6fac40a
Removed dead code
2016-06-27 17:38:32 +01:00
Robert Osfield
7778894767
Added missing break
2016-06-27 17:37:11 +01:00
Robert Osfield
055ec56068
Added message for unhandled mode types
2016-06-27 17:18:21 +01:00
Robert Osfield
a73b3ceb45
Fixed incorrect value
2016-06-27 17:15:28 +01:00
Robert Osfield
56955eea39
Removed logically dead code
2016-06-27 17:12:43 +01:00
Robert Osfield
aa0523f60a
Removed logicaly dead code
2016-06-27 17:09:41 +01:00
Robert Osfield
63cb4b81a8
Replaced fgetc usage with custom handling that handles type and error values
2016-06-27 17:00:12 +01:00
Robert Osfield
194f3ac360
Fixed delete type
2016-06-27 16:31:11 +01:00
Robert Osfield
8e2b3291fb
Removed unused local variable and move declaration to make it more readable.
2016-06-27 16:29:14 +01:00
Robert Osfield
207cb1436d
Fixed override method inconsistency
2016-06-27 16:25:40 +01:00
Robert Osfield
a5fde3a369
Fixed override method inconsistency
2016-06-27 16:21:48 +01:00
Robert Osfield
9f67436b32
Fixed override method inconsistency
2016-06-27 16:20:56 +01:00
Robert Osfield
ec2d9ce67c
Fixed override method inconsistency
2016-06-27 16:18:28 +01:00
Robert Osfield
0c80829bb8
Fixed override method inconsistency
2016-06-27 16:18:01 +01:00
Robert Osfield
6467e1ad08
Fixed override method inconsistency
2016-06-27 16:17:34 +01:00
Robert Osfield
4f7f94092c
Fixed override method inconsistency
2016-06-27 16:16:03 +01:00
Robert Osfield
969deea75f
Added initializer
2016-06-27 16:14:32 +01:00
Robert Osfield
ae53e0a212
Added initializers
2016-06-27 16:08:25 +01:00
Robert Osfield
41ee3104ee
Removed dead code
2016-06-27 15:59:42 +01:00
Robert Osfield
d28e7588fa
Added handling of return values
2016-06-27 15:59:04 +01:00
Robert Osfield
20866b8faa
Added handling of null malloc
2016-06-27 15:22:55 +01:00
Robert Osfield
fbb42e0388
Added hanlding of return type
2016-06-27 15:22:46 +01:00
Robert Osfield
3999a16a1a
Added handling of return value
2016-06-27 15:22:10 +01:00
Robert Osfield
5c25a3a0ea
Added initializers
2016-06-27 15:06:54 +01:00
Robert Osfield
27595e9f02
Added initializers
2016-06-27 14:53:32 +01:00
Julien Valentin
c8a7ce4e52
Rolbacked RigGeometry with the hackyfix (I just add the compute boundcallback in the copy consturctor)
...
Modified headers of RigTransforms to comply with osg metamodel
2016-06-27 11:51:32 +01:00
Robert Osfield
4c149bd2e7
Added initializers and fixed float setting
2016-06-27 11:38:30 +01:00
Robert Osfield
73e4d6c176
Added intializer
2016-06-27 11:35:46 +01:00
Robert Osfield
62d1e7ac64
Restructed the cast
2016-06-27 11:33:55 +01:00
Robert Osfield
f749de1236
Removed redundent checks
2016-06-27 11:14:53 +01:00
Robert Osfield
27aeded9d9
Added initializers
2016-06-27 11:08:49 +01:00
Robert Osfield
eff60decc0
Cleaned up clone
2016-06-27 10:51:56 +01:00
Robert Osfield
4b3a719517
Added initializers
2016-06-27 10:39:58 +01:00
Robert Osfield
760794eff3
Added check against null
2016-06-27 10:30:15 +01:00
Robert Osfield
f65048410c
Added initializer
2016-06-27 10:10:20 +01:00
Robert Osfield
29269ff15e
Added initializers
2016-06-27 09:49:45 +01:00
Robert Osfield
f4149bd61e
Added initializers
2016-06-27 09:49:04 +01:00
Robert Osfield
8fbf23f8c5
Added missing initializers
2016-06-27 09:40:48 +01:00
Julien Valentin
ce28b2e43e
MorphGeometry fixes
2016-06-25 18:15:57 +01:00
Robert Osfield
40ccf503e4
Fixed warnings
2016-06-25 17:19:00 +01:00
Robert Osfield
45555c895d
Fixed unsafe string handling
2016-06-25 16:33:09 +01:00
Robert Osfield
ca0fff8313
Added extern and export
2016-06-25 16:32:58 +01:00
Robert Osfield
1204c32430
Changed back to requiring osgDB namespace so it's clearer where function comes from.
2016-06-25 16:13:56 +01:00
Robert Osfield
94266eee50
Replaced strcpy with more robust osgDB::stringcopyfixedsize() usage.
2016-06-25 16:12:32 +01:00
Robert Osfield
ed59753741
Added namespace prefix
2016-06-25 16:10:56 +01:00
Robert Osfield
6d7d58fa12
Added osgDB::stringcopy and stringcopyfixedsize
2016-06-25 16:08:15 +01:00
Robert Osfield
bc6a8948cc
Added null pointer check
2016-06-25 15:42:34 +01:00
Robert Osfield
3376bfbfc8
Added handling of when mesh->texcos is NULL
2016-06-25 15:40:30 +01:00
Robert Osfield
3609d84cef
FIxed copy and paste error
2016-06-25 15:28:50 +01:00
Robert Osfield
3b54568e4b
Added strncopy usage to avoid buffer overflow
2016-06-25 14:26:05 +01:00
Robert Osfield
025d58f32d
Removed no longer used code
2016-06-25 14:19:52 +01:00
Robert Osfield
5f920b21ca
Added initializers
2016-06-25 13:42:49 +01:00
Robert Osfield
aee1423e55
Added initializers
2016-06-25 13:36:18 +01:00
Robert Osfield
269eaff44e
Added initializer
2016-06-25 13:33:27 +01:00
Robert Osfield
c882985fc5
Removed redundent pointer check
2016-06-25 12:39:50 +01:00
Robert Osfield
39317acd42
Changed return type to unsigned int to make it more compatible with serialization
2016-06-25 12:35:34 +01:00
Robert Osfield
949aca196d
Refactored handling of StateAttiribute's that override the StateAttiribute::getMember() so that when they change their Member value they update the StateSet parents that own them to keep the StateSet's maps coherent.
2016-06-25 12:24:19 +01:00
Robert Osfield
f74eaae665
Changed key handling to use Qt enums rather than osgGA ones
2016-06-25 11:05:04 +01:00
Robert Osfield
26d2ed94f9
Fixed warning
2016-06-25 08:00:18 +01:00
Robert Osfield
5a8100a7f9
Fixed warning
2016-06-25 07:58:58 +01:00
Robert Osfield
ed0c9e2436
Fixed warning
2016-06-25 07:57:56 +01:00
Cedric Pinson
0ecb52ff82
Submitted with fixes by Julian Valentin
2016-06-25 07:49:56 +01:00
Robert Osfield
295da33cdf
Fixed compute of numProcessors
2016-06-24 16:05:07 +01:00
Robert Osfield
9dffcaf36a
Added default assingment of FrameStamp
2016-06-24 15:40:39 +01:00
Robert Osfield
23846f6478
Removed unneccessary pointer check
2016-06-24 15:36:00 +01:00
Robert Osfield
013857368e
Added initializer
2016-06-24 15:34:52 +01:00
Robert Osfield
803fd8ac5d
Restructed handling of LAST_POSITION
2016-06-24 15:33:24 +01:00
Robert Osfield
a1ac4dc906
Added initializer
2016-06-24 15:23:57 +01:00
Robert Osfield
70ff5f9ae4
Added initializers
2016-06-24 12:38:31 +01:00
Robert Osfield
8b527ac378
Added initializers
2016-06-24 12:34:20 +01:00
Robert Osfield
c05b7cffbb
Added initializer
2016-06-24 12:28:36 +01:00
Robert Osfield
cda61d92b7
Added initializer
2016-06-24 12:26:16 +01:00
Robert Osfield
90f8c7c51b
Added initializer
2016-06-24 12:24:28 +01:00
Robert Osfield
6db7d9e5d7
Added initializers
2016-06-24 12:14:37 +01:00
Robert Osfield
6bbd5299b6
Removed unused member variable
2016-06-24 12:12:50 +01:00
Robert Osfield
b9c3377d88
Added initializers
2016-06-24 12:11:09 +01:00
Robert Osfield
fe28b26171
Added initializers
2016-06-24 12:10:53 +01:00
Robert Osfield
0b55a21b97
Added initializers
2016-06-24 12:10:31 +01:00
Robert Osfield
688390113d
Added initializers
2016-06-24 12:00:54 +01:00
Robert Osfield
601884131e
Added initializers
2016-06-24 11:58:38 +01:00
Robert Osfield
0d427ed157
Added handling of null dynamic_cast
2016-06-24 11:52:54 +01:00
Robert Osfield
cdd1e3bf4c
Added handling of null dynamic_cast<>
2016-06-24 11:50:54 +01:00
Robert Osfield
f8dd3bc4c5
Added handling null dynamic_cast
2016-06-24 11:50:07 +01:00
Robert Osfield
f42f6e4fb9
Added handling or null dynamic_cast
2016-06-24 11:49:14 +01:00
Robert Osfield
59bbb6ac77
Fixed copy and paste error
2016-06-24 11:39:22 +01:00
Robert Osfield
8d4ab16f2b
Fixed copy and paste error.
2016-06-24 11:38:28 +01:00
Robert Osfield
ef93e42136
Added handling of dynamic_cast<> returning NULL
2016-06-24 11:31:15 +01:00
Robert Osfield
18fc7c28b0
Added handling of empty slides and layers
2016-06-24 11:29:25 +01:00
Robert Osfield
c2c532d2bb
Added better handling of negative slideNum and layerNum values
2016-06-24 11:26:07 +01:00
Robert Osfield
5fae9a8b06
Added initializers
2016-06-24 11:20:55 +01:00
Robert Osfield
09f46f33da
Added initializer
2016-06-24 10:51:34 +01:00
Robert Osfield
3d478670db
Fixed float handling
2016-06-24 10:49:51 +01:00
Robert Osfield
91ea043209
Added handling of zero divisor
2016-06-24 10:46:51 +01:00
Robert Osfield
9639b10829
Fixed indentation and added check against NULL
2016-06-24 10:45:24 +01:00
Robert Osfield
09ddc022d6
Added restoring of std::cout format state
2016-06-24 10:32:11 +01:00
Robert Osfield
f55c7343e2
Added initializer
2016-06-24 10:25:17 +01:00
Robert Osfield
2ef68be262
Added initializers
2016-06-24 10:24:27 +01:00
Robert Osfield
29372d17cb
Removed unused member variable
2016-06-24 10:22:45 +01:00
Robert Osfield
3bf7893665
Added intializer
2016-06-24 10:21:05 +01:00
Robert Osfield
6e7e286fa0
Fixed handling of when dynamic_cast<> returns NULL
2016-06-24 10:13:26 +01:00
Robert Osfield
9cdb65d5c7
Restructed to handle dyanmic_cast<> being NULL
2016-06-24 10:09:59 +01:00
Robert Osfield
bde5776a47
Added initializer
2016-06-24 10:06:31 +01:00
Robert Osfield
92baebe6c7
Added missing initializer
2016-06-24 10:05:30 +01:00
Robert Osfield
e696d1a0a3
Added initializer
2016-06-24 10:04:31 +01:00
Robert Osfield
fb9591d6bc
Added handling of zero points
2016-06-24 10:02:39 +01:00
Robert Osfield
f47be656b4
Cleaned up pointer usage
2016-06-24 10:02:18 +01:00
Robert Osfield
c8d668b298
Added depecated message to redundent shape classes
2016-06-24 09:46:19 +01:00
Robert Osfield
0e21058d10
Added check against null
2016-06-23 17:58:35 +01:00
Robert Osfield
f3fbabd8b3
Fixed erronous type changes and inappropriate vector copy vs vector reference usage
2016-06-23 17:28:40 +01:00
Robert Osfield
1c787588ed
Removed redundent check
2016-06-23 17:19:20 +01:00
Robert Osfield
07927084f2
Adde initializer
2016-06-23 17:17:05 +01:00
Robert Osfield
4c49d78166
Added initializer
2016-06-23 17:14:03 +01:00
Robert Osfield
91b029e81f
Added initializer
2016-06-23 17:13:06 +01:00
Robert Osfield
96ded6e6bb
Added initializers
2016-06-23 17:10:18 +01:00
Robert Osfield
e06253cf21
Added initializer
2016-06-23 17:08:04 +01:00
Robert Osfield
e9faa8890d
Removed dead code
2016-06-23 17:04:30 +01:00
Robert Osfield
39860cfb71
Added minimum of 1 to make sure numProcessors is always valid
2016-06-23 16:53:12 +01:00
Robert Osfield
b8d1e4d2f6
Added minimum of 1 to make sure numProcessors is always valid
2016-06-23 16:52:16 +01:00
Robert Osfield
148d5e799e
Added minimum usage to make sure that numProcessers is always 1 or greater
2016-06-23 16:50:35 +01:00
Robert Osfield
97c95ab491
Added check for null
2016-06-23 16:48:00 +01:00
Robert Osfield
130c02eb2e
Restructed use of frameNumber to avoid multiple queries
2016-06-23 16:45:22 +01:00
Robert Osfield
72a4bc6394
Restructed check against null
2016-06-23 16:42:54 +01:00
Robert Osfield
79554fedf8
Added check for valid pointer
2016-06-23 16:40:58 +01:00
Robert Osfield
4c38068eb8
Added check before using pointer
2016-06-23 16:39:36 +01:00
Robert Osfield
eb4dcba21a
Removed unused variable
2016-06-23 16:32:45 +01:00
Robert Osfield
b0285b0022
Added handling of return value
2016-06-23 16:32:30 +01:00
Robert Osfield
07137f4111
Fixed unitialized variables
2016-06-23 16:32:02 +01:00
Robert Osfield
5c9b66a48d
Added initializer
2016-06-23 12:35:07 +01:00
Robert Osfield
1298ede4d5
Added initializer
2016-06-23 12:34:08 +01:00
Robert Osfield
ff38f84d04
Added initializer
2016-06-23 12:32:15 +01:00
Robert Osfield
8f7f6141e7
Added initializer
2016-06-23 12:30:36 +01:00
Robert Osfield
9c80078c07
Added initializer
2016-06-23 12:25:27 +01:00
Robert Osfield
e0d26ba1f5
Added copying of _syncSwapBuffers
2016-06-23 12:23:31 +01:00
Robert Osfield
1f73376476
Restructed the GLExtensions(..) constructor so that it now intializes all the variables to NULL if there is not a valid graphics context present
2016-06-23 12:19:59 +01:00
Robert Osfield
bc8452512f
Added initializers and handling of null case
2016-06-23 11:03:38 +01:00
Robert Osfield
79f174aee4
Fixed return value
2016-06-23 10:52:16 +01:00
Robert Osfield
55b3becb7c
Restructured to avoid NULL reference
2016-06-23 10:50:25 +01:00
Robert Osfield
5e73f0bb35
Removed dead code
2016-06-23 10:45:48 +01:00
Robert Osfield
46750d6b17
Removed dead code
2016-06-23 10:41:58 +01:00
Robert Osfield
e044fa0d70
Added handling of return value
2016-06-23 10:06:12 +01:00
Robert Osfield
57b999b310
Fixed check against null
2016-06-23 10:05:50 +01:00
Robert Osfield
07b6016c61
Added handling of return values
2016-06-23 10:01:19 +01:00
Robert Osfield
818843a6b6
Restructed the handling of a null compressor
2016-06-23 09:05:51 +01:00
Robert Osfield
1e4ea646ce
Removed dead code
2016-06-23 08:55:52 +01:00
Robert Osfield
552c9b037f
Moved initializer to constructors
2016-06-23 08:53:46 +01:00
Robert Osfield
ff3570bfa5
Added handling of return value
2016-06-23 08:53:14 +01:00
Robert Osfield
55d0e6918d
Moved intializers into constructor.
2016-06-23 08:41:47 +01:00
Robert Osfield
954f782807
Added missing handling of return value
2016-06-23 08:28:25 +01:00
Robert Osfield
f197dd22cd
Fixed possible divide by zero
2016-06-23 08:23:32 +01:00
Robert Osfield
12a81b656b
Removed dead code
2016-06-23 08:20:27 +01:00
Robert Osfield
5fdf9829bb
Removed dead code
2016-06-23 07:52:14 +01:00
Robert Osfield
14805dc8b9
Restructed setting of vertex array to avoid possible reference of null
2016-06-23 07:47:40 +01:00
Robert Osfield
20d1e4c9c5
Added initializer
2016-06-23 06:56:22 +01:00
Robert Osfield
1b6cc8e6b6
Added checks against null pointers and removed #if 0 block.
2016-06-23 06:51:34 +01:00
Robert Osfield
25e04b8463
Fixed typo
2016-06-22 15:53:37 +01:00
OpenSceneGraph git repository
55270779bf
Merge pull request #87 from aluaces/patch-1
...
Fixed indentation for code snippet
2016-06-22 12:28:58 +01:00
Robert Osfield
2e65d37ddb
Added missing initializer
2016-06-22 12:24:23 +01:00
Robert Osfield
c6378de489
Fixed loop for the wrong counter increment
2016-06-22 12:22:19 +01:00
Robert Osfield
5955d362a6
Added initializer
2016-06-22 12:10:49 +01:00
Robert Osfield
a5ec8b7eda
Added initializers
2016-06-22 12:08:10 +01:00
Robert Osfield
1d7f75c490
Added initializer
2016-06-22 12:03:10 +01:00
Robert Osfield
f2704e0bf3
Removed dead code
2016-06-22 11:58:45 +01:00
Robert Osfield
f7afd3bab2
Added initializer
2016-06-22 11:51:04 +01:00
Robert Osfield
acaf9fd720
Added initializer
2016-06-22 11:48:30 +01:00
Robert Osfield
97acecdf66
Added initializer
2016-06-22 11:41:58 +01:00
Robert Osfield
8a83bd73bb
Added missing initializers
2016-06-22 11:39:11 +01:00
Robert Osfield
471e556e91
Added initializers
2016-06-22 11:27:15 +01:00
Robert Osfield
67cc776696
Added default_value() template to help with creating templates that need to initialize members that are floats etc.
2016-06-22 11:26:11 +01:00
Robert Osfield
d5f18590fd
Added intializers
2016-06-22 10:35:37 +01:00
Robert Osfield
9bebe4c607
Added initializers
2016-06-22 09:49:27 +01:00
Robert Osfield
0f8e09bde2
Removed info comment
2016-06-22 09:37:51 +01:00
Robert Osfield
9f4d123fff
Fixed null termination
2016-06-22 09:33:18 +01:00
Robert Osfield
03b6cb024e
Added initializers in case ply_get_element() doesn't overwrite the values.
2016-06-22 09:24:44 +01:00
Robert Osfield
011d60ec03
Fixed memory leak.
2016-06-21 17:04:22 +01:00
Robert Osfield
17bd80329a
Fixed line endings
2016-06-21 17:03:33 +01:00
Robert Osfield
e64e70870d
Changed the pointer arithmetic to be more explict and readable.
2016-06-21 11:45:19 +01:00
Alberto Luaces
bbbcdaf49a
Fixed indentation for code snippet
...
Due to incorrect indentation, the code snippet was not being formatted correctly as code.
2016-06-21 11:23:33 +02:00
Robert Osfield
072eace1bf
Removed the osgviewerGLUT as GLUT is terrible example of how to build a modern 3D graphics application.
2016-06-21 09:21:45 +01:00
Robert Osfield
7fedcad075
Reverted to C style for loop initialization
2016-06-21 08:14:00 +01:00
Robert Osfield
51b246d63a
Fixed COVERITY reported overflow defect.
2016-06-20 19:06:01 +01:00
Robert Osfield
a185c2778f
Restructed copy to avoid pointer artithmetic when only single float is being used to avoid Coverity reported defect.
2016-06-20 17:59:52 +01:00
Robert Osfield
04d387eecf
Fixed line endings
2016-06-20 17:57:41 +01:00
Robert Osfield
26aa519803
Added string termination
2016-06-20 17:39:57 +01:00
Robert Osfield
5e3c5a18c6
Fixed string null termination defects
2016-06-20 17:35:25 +01:00
Robert Osfield
3d43b775d2
Addd explict setting of 0 string termination.
2016-06-20 17:05:10 +01:00
Robert Osfield
438332d39b
Introduced local cursormap variable to make it clearer which containers are being worked upon.
2016-06-20 16:50:21 +01:00
Robert Osfield
87b963fb50
Removed no longer used Designer Workbench plugin.
...
It's code quality is poor and as there has been no sign that it's used in the community decided to remove it
rather than spend time trying to fix the mess it's in.
2016-06-20 14:06:21 +01:00
Robert Osfield
74cb7df3c0
Fixed potential memory leak
2016-06-20 14:04:38 +01:00
Robert Osfield
1573140165
Fixed potential memory leaks
2016-06-20 14:00:47 +01:00
Robert Osfield
ce7c37851b
Fixed potential memory leak
2016-06-20 13:37:59 +01:00
Robert Osfield
7f99182c04
Moved the setUserData(new TileIdentifier(..)) so that all branches can utilize it.
2016-06-20 12:52:49 +01:00
Robert Osfield
949d71f2b6
Added missing initializers
2016-06-20 12:46:00 +01:00
Robert Osfield
f2297fd100
Added missing initializers
2016-06-20 12:40:46 +01:00
Robert Osfield
8f43268432
Added check to make sure undefined condition happens due to unitialized variables.
2016-06-20 12:27:47 +01:00
Robert Osfield
e09403a80c
Added intializer for char[] to squash Coverity "defect".
2016-06-20 12:20:44 +01:00
Ralf Habacker
67e6f675e6
example_osgobjectcache: Add a check that we really get the correct nodes.
2016-06-20 11:39:25 +01:00
Ralf Habacker
7876c7915b
clang 6.0 compile fixes.
2016-06-20 10:32:42 +01:00
Ralf Habacker
69929f596f
Fix finding object cache entries.
2016-06-20 10:26:12 +01:00
Robert Osfield
5f38374b7a
Build fixes for building with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF.
...
Added spacing to make code more readable.
2016-06-20 10:23:05 +01:00
Ralf Habacker
fff9cd7d38
Add osgobjectcache example.
2016-06-20 10:20:17 +01:00
OpenSceneGraph git repository
e499333036
Merge pull request #86 from spthaolt/master
...
corrected syntax error in src/osgPlugins/fbx/ReaderWriterFBX.cpp
2016-06-20 06:42:34 +01:00
Thao Le
7a1324800f
corrected syntax error in src/osgPlugins/fbx/ReaderWriterFBX.cpp
2016-06-19 21:07:37 +07:00
Robert Osfield
5dcea9eb21
Replaced old slow path deprecated_osg::Geometry code
2016-06-17 15:39:19 +01:00
Robert Osfield
a8e4df5611
Replaced deprecated_osg::Geometry usage
2016-06-17 14:13:35 +01:00
Robert Osfield
b65be226b0
Converted code across to using non deprecated version of osg::Geometry
2016-06-17 13:04:41 +01:00
Robert Osfield
f22a39fbf0
Removed pfb plugin as the Perform dependency it relies upon has long since disappeared
2016-06-17 12:52:04 +01:00
Robert Osfield
7d34e8f441
Build fixes to reflect removal of deprecated_osg::Geometry
2016-06-17 12:49:44 +01:00
Robert Osfield
62fd0ef368
Removed old examples that relied upon deprecated functionality
2016-06-17 11:53:34 +01:00
Robert Osfield
8e26ebd23e
Fixed coverity detected defect:
...
Incorrect values read from a different memory region will cause incorrect computations. In osgDB::base64_decode_value(char): Out-of-bounds read from a buffer
2016-06-17 10:57:17 +01:00
Robert Osfield
5c89ae5a15
Fixed coverity defects, two missing checks for error condition and resource leak.
2016-06-17 10:51:53 +01:00
Robert Osfield
9f656212d5
Fixed memory leak
2016-06-17 10:42:02 +01:00
Julien Valentin
e236acfed5
Added OpenGL extensions related to shader subroutine
2016-06-17 10:35:25 +01:00
Robert Osfield
0836421a66
Merge branch 'coverity_scan'
2016-06-17 10:17:18 +01:00
Robert Osfield
aea83494c1
Removed deprecated_osg::Geometry and cleaned up the deprecated Geometry::set*Binding() calls
2016-06-17 10:12:11 +01:00
Robert Osfield
951c41cf9e
Fixed indentation, replaced dynamic_cast<> with static_cast<> as we know the type and add check against null pointers
2016-06-17 09:48:21 +01:00
Robert Osfield
09df93813d
Added missing check against null
2016-06-17 09:40:35 +01:00
Robert Osfield
83330fe9fb
Added missing checks against viewer being valid and added missing break.
2016-06-17 09:33:56 +01:00
Robert Osfield
234d6cf431
Added if (texture) to fix bug when the dynamic_cast<> returns NULL.
2016-06-17 09:24:13 +01:00
Robert Osfield
f5465e82a1
Merge branch 'coverity_scan'
2016-06-17 09:15:37 +01:00
Robert Osfield
0696e49f2d
Changed dyanmic_cast<> to static_cast<> as code is written in a way that the type is always known.
2016-06-17 08:53:38 +01:00
Robert Osfield
79c6ac38df
Fixed logically dead code detected by Coverity
2016-06-17 07:52:41 +01:00
Robert Osfield
c85c006557
Removed logically dead code detected by Coverity
2016-06-17 07:46:39 +01:00
Jordi Torres
44609e903c
Add coverity scan badge
2016-06-16 16:07:55 +02:00
Jordi Torres
dcc9b9f9be
Modified coverity build command to avoid creating dirs
2016-06-16 12:55:27 +02:00
Julien Valentin
78b99c7143
Refactored osg::TextureBuffer to support assigning any type of osg::BufferData rather than just osg::Image as was previously required.
...
Refactored osgforest and osggpucull examples to take account of changes to TextureBuffer.
Added osg::DrawIndirectBufferBinding.
2016-06-15 19:05:35 +01:00
Jordi Torres
5a8d976356
Changes to travis.yml with the new token for coverity scan
2016-06-15 18:47:21 +02:00
Robert Osfield
7d66a57bc0
Fixed indentation
2016-06-15 15:38:52 +01:00
Robert Osfield
3cc6648938
Another attempt to resovle coverity_scan build issue
2016-06-15 11:42:01 +01:00
Robert Osfield
b61f29c7ef
Another rev of .travis.yml to see if we can tease Coverity scan into action.
2016-06-15 10:49:55 +01:00
Robert Osfield
819ce6c0d1
Removed redundent _boundingBoxComputed
2016-06-14 18:27:27 +01:00
Robert Osfield
99bb4b8d17
How to debug tavis script when documentation is so spartan?
2016-06-14 17:18:22 +01:00
Robert Osfield
761dea8591
Another rev of .travis.yml to try and get things working
2016-06-14 17:13:39 +01:00
Robert Osfield
6471e760c8
As an experiment moved the coverity_scan code into the linux addons: block
2016-06-14 16:51:07 +01:00
Robert Osfield
9139e8acb8
Added {} brackets around OSG_DEBUG usage to avoid issues with marco's expanding if else.
2016-06-14 16:42:06 +01:00
Robert Osfield
8457990bb1
Removed deprecated register keyword usage
2016-06-14 16:40:15 +01:00
Robert Osfield
23513b5ab6
Fixed line endings
2016-06-14 16:39:29 +01:00
Robert Osfield
4115cfc8f9
Removed use of deprecated register keyword
2016-06-14 16:37:31 +01:00
Ralf Habacker
dfb8b71526
Fix 'Non-static class member "yy_lp" is not initialized in this constructor nor in any functions that it calls".
...
Coverity CID 126893: Uninitialized members (UNINIT_CTOR)
2016-06-14 12:43:44 +01:00
Ralf Habacker
85cd1c456f
Identify files in object cache by filename and optional provided options.
...
Objects with the same filename may be different from others based on the provided
plugin options. Using filename *and* the provided options as object cache key
helps to avoid fetching the wrong object.
2016-06-14 12:27:33 +01:00
Robert Osfield
3816e4c76e
Updated SO version number to reflect changes to API
2016-06-14 12:00:36 +01:00
Julien Valentin
2ac8379cfc
osgDB Wrapper Associates Revision Tagging
2016-06-14 11:43:45 +01:00
Robert Osfield
dcac0c1611
Changed the build to run on 3 cores.
2016-06-14 09:44:50 +01:00
Robert Osfield
2db7694f57
Added first cut of Coverity Scan support
2016-06-14 09:30:00 +01:00
OpenSceneGraph git repository
a236f18b17
Merge pull request #83 from filnet/warnings
...
Fixed various compilation warnings on msys2
2016-06-14 08:52:54 +01:00
OpenSceneGraph git repository
69cc48b8f0
Merge pull request #82 from filnet/ffmpeg
...
msys2: fix ffmpeg pluging compilation error due to spurious stdint re…
2016-06-14 08:50:14 +01:00
Robert Osfield
ba1dd7c3cf
Updated date.
2016-06-13 17:10:47 +01:00
Robert Osfield
4c5ca932c8
Added #include <string> in case other headers don't include it.
2016-06-13 16:24:01 +01:00
Philippe Renon
3d9aa3ef29
msys2: fixed ignoring #pragma warning
2016-06-11 17:45:37 +02:00
Philippe Renon
3bf6fb1778
msys2: fixed redefined include warnings
2016-06-11 17:45:36 +02:00
Philippe Renon
bc1185c41a
msys2: fixed converting to non-pointer type 'long long int' from NULL
2016-06-11 17:45:35 +02:00
Philippe Renon
9f456a2722
msys2: fixed uninitialized variable
2016-06-11 17:45:19 +02:00
Philippe Renon
861b96e154
msys2: fix ffmpeg pluging compilation error due to spurious stdint related includes
2016-06-11 17:39:52 +02:00
Philippe Renon
dfc9eec3c3
make osgViewer::View::requiresUpdateSceneGraph() virtual
2016-06-11 17:05:00 +02:00
Philippe Renon
37ef07ce7e
refactor common code from CompositeViewer::checkNeedToDoFrame() and Viewer::checkNeedToDoFrame() into View
2016-06-11 16:58:51 +02:00
Robert Osfield
157ee3dd7d
Fixed unitialized member variable
2016-06-10 19:40:15 +01:00
Robert Osfield
732e770f87
Fixed unitialized member variable
2016-06-10 19:35:44 +01:00
Robert Osfield
34e65f15d0
FIxed unitialized member variables
2016-06-10 19:33:47 +01:00
Robert Osfield
12d4580ee5
Fixed memory leak
2016-06-10 19:27:46 +01:00
Robert Osfield
8fe37bdf63
Fixed memory leak
2016-06-10 19:25:07 +01:00
Robert Osfield
358a882031
Updated version number of to 3.5.4
2016-06-10 18:03:18 +01:00
Robert Osfield
07afdcd46c
Fixed memory leak
2016-06-10 17:24:03 +01:00
Robert Osfield
e2fcc32d7c
Fixed memory leak
2016-06-10 17:19:41 +01:00
Robert Osfield
afb6f3b62a
Fixed memory leak
2016-06-10 17:09:34 +01:00
Robert Osfield
d221066d9a
Fixed memory leak
2016-06-10 17:06:04 +01:00
Robert Osfield
d833a5be92
Fixed memory leak
2016-06-10 17:01:42 +01:00
Robert Osfield
df90ed5ed0
Added use of ref_ptr<> to fix memory leak
2016-06-10 16:59:19 +01:00
Robert Osfield
dc7cefb6f2
Fixed memory leak
2016-06-10 16:54:46 +01:00
Robert Osfield
917d065292
Added use of ref_ptr<> to fix memory leak
2016-06-10 16:44:50 +01:00
Robert Osfield
813c103232
Restructed to fix memory leak
2016-06-10 16:41:13 +01:00
Robert Osfield
5a6d4f69e1
Added use of ref_ptr<> to fix memory leak
2016-06-10 16:36:13 +01:00
Robert Osfield
4b3c7e47a5
Added ref_ptr<> usage to address memory leaks
2016-06-10 16:34:36 +01:00
Robert Osfield
79dd8111a5
Added missing intializers to address Coverity issue
2016-06-10 16:30:21 +01:00
Robert Osfield
615114c900
Added assert() to make it clear to Coverity that both prev and next won't be null
2016-06-10 16:16:29 +01:00
Robert Osfield
40725ad707
Fixed memory leak detected by Coverity
2016-06-10 15:53:58 +01:00
Robert Osfield
6d18b3d74e
Fixed memory leak detected by Coverity
2016-06-10 15:49:24 +01:00
Robert Osfield
05a505fb1f
Fixed "User after free" bugs reported by Coverity.
2016-06-10 15:24:19 +01:00
Robert Osfield
73f321c472
Fixed potential memory leak by introducing ref counting.
2016-06-10 14:58:42 +01:00
Robert Osfield
38d91ca3fe
Introduced use of local std::string to work around issue of the read header.text not being null terminated and causing a problem with the strstr call.
2016-06-10 14:36:50 +01:00
Robert Osfield
6a65b935fa
Fixed uninitialized member variable.
2016-06-10 14:16:49 +01:00
Robert Osfield
9206d2a962
Restructed variable ordering and added missing va_end().
2016-06-10 14:09:43 +01:00
Robert Osfield
9e5817c387
Fixed line endings
2016-06-10 14:09:03 +01:00
Robert Osfield
bdf3600011
Restructed fgetc usage.
2016-06-10 14:02:55 +01:00
Robert Osfield
fc1b963107
Fixing some of the more glaring coding errors in DW plugin.
2016-06-10 13:42:13 +01:00
Robert Osfield
12635b6571
Reordered paramter usage to fix coverity warning about parameter names not matching
2016-06-10 13:31:51 +01:00
Robert Osfield
af11e35fcb
Fixed invalidated iterator bug pick up by Coverity.
2016-06-10 12:44:26 +01:00
Robert Osfield
69046511de
Fixed iterator invalidation bug picked by Covertiy scan.
2016-06-10 12:03:48 +01:00
Robert Osfield
721e079211
Rewrote Window::setNextFocusable() to address a bug in the management of the search iterator. Covertiy reported bug "Undefined behavior may result; the program may crash or subtly misbehave.
...
In osgWidget::Window::setNextFocusable(): An invalid or past-the-end iterator is being used."
2016-06-09 12:08:47 +01:00
Robert Osfield
9ec4da47f5
Fixed "Using invalid iterator" bug in getTile() methods, detected by Covertity.
2016-06-09 11:41:14 +01:00
OpenSceneGraph git repository
1f240051c5
Merge pull request #80 from jtorresfabra/changeReadmeToMD
...
Changed Readme file to markdown
2016-06-09 11:29:03 +01:00
Jordi Torres
575f6f0cf3
Changed Readme file to markdown
2016-06-09 12:18:44 +02:00
OpenSceneGraph git repository
cef3db6e64
Merge pull request #79 from jtorresfabra/addTravisStatus
...
Added travis CI status label to github
2016-06-09 10:59:44 +01:00
Jordi Torres
aea8c2761c
Added travis CI status label to github
2016-06-09 11:50:12 +02:00
Julien Valentin
ac26ba7e5b
Shader subroutine related funcs added
2016-06-09 10:48:05 +01:00
Sebastian Messerschmidt
7ccf16b83d
OpenFlight-plugin with extended attributes.
...
Added the addtional properties (terrain, roofline and footprint) alongside with the SMC/FID attributes. Also I added the newly added IRMaterial to the per-geode properties.
Added the Texture-EffectId and the mapping index as a user-value to the texture object.
Naming scheme is the same as for the per-vertex/geode attributes.
2016-06-09 10:15:38 +01:00
OpenSceneGraph git repository
6db4ec5c08
Merge pull request #78 from LaurensVoerman/master
...
visual studio 2015 warning fixes:
2016-06-08 16:48:29 +01:00
Robert Osfield
01ae93619a
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2016-06-08 16:10:48 +01:00
OpenSceneGraph git repository
c18d344e09
Merge pull request #76 from jtorresfabra/travis-add
...
initial travis file, support for ubuntu trusty and osx builds
2016-06-08 16:10:39 +01:00
Laurens Voerman
09badeb19c
Merge remote-tracking branch 'upstream/master'
2016-06-08 16:16:48 +02:00
Robert Osfield
121cbf09c5
Fixed unused parameter warning.
2016-06-08 13:50:20 +01:00
Robert Osfield
656649084d
Fixed unused parameter warning.
2016-06-08 13:40:02 +01:00
Robert Osfield
9290aaad0f
Fixed unused parameter warning.
2016-06-08 13:38:40 +01:00
Robert Osfield
018022fd9b
Fixed unused parameter warning.
2016-06-08 13:37:17 +01:00
Robert Osfield
d55b64061b
Fixed unused parameter warning.
2016-06-08 13:36:18 +01:00
Robert Osfield
4e04265212
Fixed unused parameter warning.
2016-06-08 13:35:46 +01:00
Robert Osfield
dbb88b5456
Fixed unused parameter warning.
2016-06-08 13:34:55 +01:00
Robert Osfield
69a0a7331c
Fixed unused parameter warning.
2016-06-08 13:34:33 +01:00
Robert Osfield
ec0e30017c
Fixed unused parameter warning.
2016-06-08 13:32:14 +01:00
Robert Osfield
d2129d4b9a
Fixed unused parameter warning.
2016-06-08 13:30:09 +01:00
Robert Osfield
67361b8947
Fixed unused parameter warning.
2016-06-08 13:28:18 +01:00
Robert Osfield
4e39f98854
Fixed unused parameter warning.
2016-06-08 13:26:00 +01:00
Robert Osfield
1eaaaac340
Fixed unused parameter warning.
2016-06-08 13:25:02 +01:00
Robert Osfield
d022da5906
Disabled -Wextra as the warning it generates is bengin and fixing it would introduce warnings on other platforms
2016-06-08 13:22:54 +01:00
Laurens Voerman
075de21af1
visual studio 2015 warning fixes:
...
OpenSceneGraph\src\osgPlugins\dae\daeRAnimations.cpp(470): warning C4456: declaration of 'kfCntr' hides previous local declaration
OpenSceneGraph\src\osgPlugins\dae\daeRAnimations.cpp(452): note: see declaration of 'kfCntr'
OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(202): warning C4456: declaration of 'i' hides previous local declaration
OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(188): note: see declaration of 'i'
OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(226): warning C4456: declaration of 'i' hides previous local declaration
OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(188): note: see declaration of 'i'
OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(243): warning C4456: declaration of 'i' hides previous local declaration
OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(188): note: see declaration of 'i'
OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(253): warning C4456: declaration of 'i' hides previous local declaration
OpenSceneGraph\src\osgPlugins\dae\daeReader.cpp(188): note: see declaration of 'i'
2016-06-08 14:22:14 +02:00
Robert Osfield
b72929d84b
Fixed unused parameter warning.
2016-06-08 13:20:07 +01:00
Robert Osfield
0cb00424ee
Fixed -Wextra warnings
2016-06-08 12:26:40 +01:00
Robert Osfield
59a1d79713
Fixed -Wextra warnings
2016-06-08 12:24:46 +01:00
Robert Osfield
94881d45a6
Fixed unused parameter warning.
2016-06-08 12:22:27 +01:00
Robert Osfield
8653c83342
Fixed unused parameter warning.
2016-06-08 12:22:12 +01:00
Robert Osfield
c7c1f6a27e
Fixed unused parameter warning.
2016-06-08 12:21:51 +01:00
Robert Osfield
b67a331627
Fixed unused parameter warning.
2016-06-08 12:21:29 +01:00
Robert Osfield
6c8bcc5009
Fixed unused parameter warning.
2016-06-08 12:19:53 +01:00
Robert Osfield
d9ddf7c5be
Fixed unused parameter warning.
2016-06-08 12:16:58 +01:00
Robert Osfield
6fab8cadd3
Fixed unused parameter warning.
2016-06-08 12:15:51 +01:00
Robert Osfield
0acb419cf5
Fixed unused parameter warning.
2016-06-08 12:14:35 +01:00
Robert Osfield
e6252256e0
Fixed unused parameter warning.
2016-06-08 12:10:00 +01:00
Robert Osfield
0223fff99c
Fixed unused parameter warning.
2016-06-08 12:09:00 +01:00
Robert Osfield
832fc29fc1
Fixed -Wextra warnings
2016-06-08 12:07:14 +01:00
Robert Osfield
744421631e
Fixed unused parameter warning.
2016-06-08 11:50:18 +01:00
Robert Osfield
c8d14a1745
Fixed unused parameter warning.
2016-06-08 11:48:02 +01:00
Robert Osfield
8a3b56cc59
Fixed unused parameter warning.
2016-06-08 11:41:54 +01:00
Robert Osfield
82cd2d4515
Fixed unused parameter warning.
2016-06-08 11:40:51 +01:00
Robert Osfield
34ef8e5f46
Fixed unused parameter warning.
2016-06-08 11:39:47 +01:00
Robert Osfield
5f34cddc31
Fixed unused parameter warning.
2016-06-08 11:38:40 +01:00
Robert Osfield
34dc153ff2
Fixed unused parameter warning.
2016-06-08 11:35:21 +01:00
Robert Osfield
77289a1396
Fixed -Wextra warnings
2016-06-08 11:34:06 +01:00
Robert Osfield
fe2b4f92a1
Fixed unused parameter warning.
2016-06-08 11:31:11 +01:00
Robert Osfield
93a8b916cc
Fixed -Wextra warnings
2016-06-08 11:30:35 +01:00
Robert Osfield
772368ed1f
Fixed unused parameter warning.
2016-06-08 11:18:20 +01:00
Robert Osfield
54aa65f496
Fixed ignored qualifiers warning
2016-06-08 11:07:56 +01:00
Robert Osfield
43f8a13d03
Fixed ignored qualifiers warning
2016-06-08 11:06:52 +01:00
Robert Osfield
20148c5b8d
Fixed unused parameter warning.
2016-06-08 11:05:29 +01:00
Robert Osfield
2052b2741e
Fixed unused parameter warning.
2016-06-08 11:04:24 +01:00
Robert Osfield
fff4b4ae65
Fixed unused parameter warning.
2016-06-08 11:02:51 +01:00
Robert Osfield
ae98593403
Fixed unused parameter warning.
2016-06-08 10:59:55 +01:00
Robert Osfield
7b7899154c
Fixed unused parameter warning.
2016-06-08 10:58:14 +01:00
Robert Osfield
801d41c47a
Fixed unused parameter warning.
2016-06-08 10:55:22 +01:00
Robert Osfield
8bfe67b37b
Fixed unused parameter warning.
2016-06-08 10:54:36 +01:00
Robert Osfield
f774a38cf2
Fixed unused parameter warning.
2016-06-08 10:52:40 +01:00
Robert Osfield
19ec9bbef6
Fixed unused parameter warning.
2016-06-08 10:51:45 +01:00
Robert Osfield
4e442f483f
Fixed unused parameter warning.
2016-06-08 10:46:45 +01:00
Robert Osfield
bc866c51de
Fixed unused parameter warning.
2016-06-08 10:45:32 +01:00
Robert Osfield
e23798d630
Fixed unused parameter warning.
2016-06-08 10:43:57 +01:00
Robert Osfield
1d37501262
Fixed unused parameter warning.
2016-06-08 10:42:00 +01:00
Robert Osfield
782e867a7c
Fixed unused parameter warning.
2016-06-08 10:34:40 +01:00
Robert Osfield
16645b1e25
Added -Wmaybe-uninitialized -Wextra warnings to GNU CXX build.
2016-06-08 10:21:57 +01:00
Robert Osfield
62f97923e0
Fixed unused parameter warning.
2016-06-08 10:19:57 +01:00
Robert Osfield
de80cac99f
Fixed -Wextra warnings
2016-06-08 10:18:23 +01:00
Robert Osfield
5bdd65c300
Fixed unused parameter warning.
2016-06-08 10:17:47 +01:00
Robert Osfield
883e195bba
Fixed unused parameter warning.
2016-06-08 10:16:20 +01:00
Robert Osfield
eae28e4d91
Fixed unused parameter warning.
2016-06-08 10:15:51 +01:00
Robert Osfield
4dfd655b0c
Fixed unused parameter warning.
2016-06-08 10:14:56 +01:00
Robert Osfield
b4900811a7
Fixed -Wextra warning
2016-06-08 10:00:18 +01:00
Robert Osfield
37e83f7c62
Disabled -Wextra for dae build as warnings in COLLADA_DOM headers can't be fixed
2016-06-08 09:59:33 +01:00
Robert Osfield
39a2d755db
Fixed -Wextra warning
2016-06-08 09:57:57 +01:00
Robert Osfield
8d4a976477
Fixed unused parameter warning.
2016-06-08 09:57:30 +01:00
Robert Osfield
3783061c2a
Fixed -Wextra warnings
2016-06-08 09:57:02 +01:00
Robert Osfield
f4078251be
Fixed -Wextra warning
2016-06-08 09:56:35 +01:00
Robert Osfield
4d3a549727
Fixed unused parameter warning.
2016-06-08 09:55:33 +01:00
Robert Osfield
1778b15a4d
Fixed unused parameter warning.
2016-06-08 09:55:15 +01:00
Robert Osfield
322cf0c39e
Fixed unused parameter warning.
2016-06-08 09:54:10 +01:00
Robert Osfield
e9b8069204
Fixed unused parameter warning.
2016-06-08 09:52:09 +01:00
Robert Osfield
bc7156cd26
Fixed unused parameter warning.
2016-06-08 09:51:50 +01:00
Robert Osfield
85a77f42a4
Fixed -Wextra warnings
2016-06-08 09:50:38 +01:00
Robert Osfield
bfd1d7c55b
Fixed unused parameter warning.
2016-06-08 09:49:58 +01:00
Robert Osfield
118411ba23
Fixed unused parameter warning.
2016-06-08 09:49:29 +01:00
Robert Osfield
1a093ca98d
Fixed unused parameter warning.
2016-06-08 09:49:10 +01:00
Robert Osfield
2acca80be8
Fixed unused parameter warning.
2016-06-08 09:48:39 +01:00
Robert Osfield
c7b64cb9a7
Fixed -Wextra warnings
2016-06-08 09:48:14 +01:00
Robert Osfield
0be6502711
Fixed unused parameter warning.
2016-06-08 09:47:30 +01:00
Robert Osfield
b1539418b3
Fixed unused parameter warning.
2016-06-08 09:46:58 +01:00
Robert Osfield
aef2574b8d
Fixed -Wextra warnings
2016-06-08 09:46:09 +01:00
Robert Osfield
7bb0f437c1
Fixed unused parameter warning.
2016-06-08 09:44:39 +01:00
Robert Osfield
b51c8bed46
Fixed unused parameter warnings
2016-06-08 09:43:40 +01:00
Robert Osfield
f213868673
Fixed unused parameter warning.
2016-06-08 09:43:05 +01:00
Robert Osfield
6f68915425
Fixed unused parameter warning.
2016-06-08 09:38:22 +01:00
Robert Osfield
2955fc8bb2
Disabled the -Wextra warnin the warnings that can't be fixed due to optional code paths.
2016-06-08 09:37:43 +01:00
Robert Osfield
1a3a851f6e
Fixed unused parameter warning.
2016-06-08 09:34:34 +01:00
Robert Osfield
d712784177
Disabled the -Wextra warning as resolve the warnings will create other warnings under other compilers
2016-06-08 09:33:56 +01:00
Robert Osfield
ef73d2449e
Fixed -Wextra warnings
2016-06-08 09:20:16 +01:00
Robert Osfield
8ba7998623
Fixed -Wextra warnings
2016-06-08 09:07:32 +01:00
Robert Osfield
a16c34208f
Fixed unused parameter warning.
2016-06-08 09:06:42 +01:00
Robert Osfield
ee30c7d0a5
Fixed -Wextra warningsw
2016-06-08 09:05:34 +01:00
Robert Osfield
b19c879485
Fixed unused parameter warning.
2016-06-08 09:04:01 +01:00
Robert Osfield
bfff44ac9d
Fixed unused parameter warning.
2016-06-08 09:01:47 +01:00
Robert Osfield
4201191e44
Fixed -Wextra warnings
2016-06-08 08:54:43 +01:00
Robert Osfield
ef4de11cdb
Fixed unused parameter warning.
2016-06-08 08:52:30 +01:00
Robert Osfield
fa45b3774b
Fixed shadows warnings
2016-06-07 09:43:36 +01:00
Robert Osfield
10e27681dd
Fixed "unreferenced formal parameter" warnings
2016-06-07 08:53:42 +01:00
Laurens Voerman
15e9484ff2
Build and warning fixes
2016-06-06 17:54:29 +01:00
Robert Osfield
357f76ba5a
Removed shadowing declaration
2016-06-06 14:38:15 +01:00
Robert Osfield
ca633e8a5e
Fixed line endings
2016-06-06 14:37:33 +01:00
Robert Osfield
b85358b38a
Added disabling of the C4702 as changing the code would introduce it's own warning.
2016-06-06 14:28:41 +01:00
Robert Osfield
c0efaae364
Fixed shadowing warning
2016-06-06 14:28:12 +01:00
Robert Osfield
431749bd78
Fixed VS2015 warning
2016-06-06 14:18:43 +01:00
Björn Blissing
ff0ae07bb7
Quitened down VS warnings
2016-06-06 13:12:43 +01:00
Robert Osfield
27caa9c1b1
Removed redundent _EXT
2016-06-06 12:05:28 +01:00
Jethro Leevers
08a823d857
Added support for GL_LINE_STRIP_ADJACENCY_EXT
2016-06-06 11:59:56 +01:00
Robert Osfield
0a95fd875d
Removed the use of register hint and cleaned up indentation
2016-06-04 18:40:37 +01:00
Robert Osfield
c3f55ad1d8
Added "" around the CMAKE_CXX_FLAGS setting to fix build error
2016-06-04 18:36:36 +01:00
Robert Osfield
7dbb4b8c5f
Updated AUTHORS file
2016-06-03 18:53:24 +01:00
Robert Osfield
8d55c5b8e9
Updated ChangeLog
2016-06-03 18:24:53 +01:00
Julien Valentin
71339906c0
Fixed little bug in DrawArraysLength (instancing not supported).
...
Corrected PrimitiveSet.cpp in order DrawArraysLength can be instanced.
It's the only pr missing code
if (_numInstances>=1) glDrawXXXInstanced(...,_numInstances);
else glDrawXXX();
2016-06-03 17:57:04 +01:00
Robert Osfield
017ec902e2
Added -Wno-deprecated-register for Clang build to quieten warnings related to lex/yacc generated files
2016-06-03 17:38:32 +01:00
Björn Blissing
6c842a534e
Last two files with fixes to the virtual inheritance warnings...
...
I have also attached the fix to the type shadowing problem in ConvexPolyhedron.cpp
2016-06-03 17:33:45 +01:00
Björn Blissing
abf34d2838
fix for the rest of the VS2015 virtual inheritance warnings. Same as for issues as for the Operation class.
2016-06-03 17:30:12 +01:00
Björn Blissing
e8f103afc9
VS2015 build fix
2016-06-03 17:22:28 +01:00
Jordi Torres
35705cedcf
initial travis file, support for ubuntu trusty and osx builds
2016-06-03 13:41:19 +02:00
Björn Blissing
66a1e564d7
Fixed VS2015 compiler warnings
2016-06-03 11:30:48 +01:00
Robert Osfield
afe89e8d94
Added float variants of osg::PI etc. in the form osg::PIf
...
Converted osg::PI usage to osg::PIf in ShapeDrawable.cpp to address Windows build errors
2016-06-03 11:28:10 +01:00
Robert Osfield
728c439e35
Fixed Clang warnings related to external dependencies
2016-06-03 10:18:41 +01:00
Robert Osfield
41ce857c93
Fixed clang warnings
2016-06-03 09:33:47 +01:00
Robert Osfield
7d7c0daa5e
Added check against GCC version when adding the -Wshadow warning to OSG_AGGRESSIVE_WARNING_FLAGS so that it's only used in versions later than 4.9.
2016-06-02 20:00:42 +01:00
Robert Osfield
b1655dd17b
Moved the REGISTER_WINDOWINGSYSTEMINTERFACE macro into the osgViewer namespace
2016-06-02 17:54:24 +01:00
Robert Osfield
9aef7d2954
Removed osgViewer:: prefix to addres build error
2016-06-02 17:50:53 +01:00
Juan Hernando Vieites
42af2d3597
The current implementation of readImageFromCurrentTexture doesn't consider the texture rectangle mode.
...
Find attached a version of the file that corrects this issue
2016-06-02 16:04:06 +01:00
Robert Osfield
4d2221bdb3
Fixed potential memory leak
2016-06-02 15:43:31 +01:00
Robert Osfield
f10e931f82
Fixed uninitialized variable.
2016-06-02 15:41:15 +01:00
Robert Osfield
700e38ba9d
Added handling of failure to create ElementBufferObject.
2016-06-02 15:35:47 +01:00
Robert Osfield
9eb9186200
Removed debugging code
2016-06-02 15:23:38 +01:00
Robert Osfield
f16b805e0d
Moved status check to quieten coverity warning
2016-06-02 14:56:43 +01:00
Robert Osfield
66ee7daac3
Added missing break
2016-06-02 14:53:11 +01:00
Robert Osfield
d858195d66
Removed debug message
2016-06-02 14:38:23 +01:00
Robert Osfield
9dee2ecf33
Fixed redundent checks and clean up clone usage
2016-06-02 14:36:38 +01:00
Robert Osfield
d6b6d10611
Added missing break
2016-06-02 14:33:32 +01:00
Robert Osfield
d038866649
Fixed method to match parent class.
2016-06-02 14:31:44 +01:00
Robert Osfield
09bad85522
Fixed method to match parent class.
2016-06-02 14:30:58 +01:00
Robert Osfield
203e5f7ef8
Removed redudent codepaths, standardizing on the most portable Texture2D path.
2016-06-02 14:22:25 +01:00
Robert Osfield
5c7e155a69
Removed redudent code paths
2016-06-02 14:18:12 +01:00
Robert Osfield
26e489f17d
Cleaned up the cloning usage
2016-06-02 13:51:46 +01:00
Robert Osfield
2b3ecb4af8
Fixed unitialized variables
2016-06-02 13:23:34 +01:00
Robert Osfield
dd9bcf6013
Set default value of OSG_USE_REF_PTR_SAFE_DEREFERENCE of OFF to avoid the check overhead polutting all OSG applications.
2016-06-02 13:03:07 +01:00
Robert Osfield
c0b560175c
Fixed typo
2016-06-02 12:43:09 +01:00
Robert Osfield
b1b7d17633
Fixed build issues when OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION is set to OFF
2016-06-02 12:22:51 +01:00
Robert Osfield
88a01aa09d
Bumped version number for 3.5.3 dev release
2016-06-02 11:25:40 +01:00
Robert Osfield
045fa05b0d
Restructed the control of OSG_AGGRESSIVE_WARNINGS_FLAGS to make it possible to edit them in ccmake/CMakeSetup.
...
Changed the name of OSG_USE_AGGRESSIVE_WARNINGS to OSG_AGGRESSIVE_WARNINGS to make sure it sits alongside the OSG_AGGRESSIVE_WARNINGS_FLAGS within ccmake
so that it's easier to see how the two variables are coupled.
2016-06-02 11:06:50 +01:00
Davide Raccagni
6428c33d30
Fixed version of CMakeLists.txt when you check BUILD_OPENTHREAD_WITH_QT and compile with Visual Studio 2015
2016-06-02 10:06:58 +01:00
Robert Osfield
a58f50e6fd
Fixed line endings
2016-06-02 10:04:36 +01:00
Robert Osfield
5211c782d8
Added _LIBRARIES var to mix
2016-06-01 16:22:42 +01:00
Robert Osfield
853fad71ae
Changed freetype plugin to utilize CMake's FindFreetype.cmake rather than use a local one.
2016-06-01 15:51:49 +01:00
Robert Osfield
5c5753682b
Fixed line endings
2016-06-01 15:09:21 +01:00
Robert Osfield
d3c6dc6f34
Fixed doxygen warnings
2016-06-01 14:20:14 +01:00
Robert Osfield
99391a2cea
Removed no longer supported doxygen settings
2016-06-01 13:41:17 +01:00
Robert Osfield
58bf998442
Fixed line endings
2016-06-01 13:40:06 +01:00
Robert Osfield
2be4e3c4d6
Fixed missing "
2016-06-01 12:50:38 +01:00
Robert Osfield
ebfbc3dd78
Added macosx10.11 to the list of supported OSX SDK's
2016-06-01 11:41:10 +01:00
Robert Osfield
1c78996a09
Added in extra search paths for FBX
2016-06-01 11:26:18 +01:00
OpenSceneGraph git repository
51e3b61555
Merge pull request #74 from susnux/fix-61
...
Added missing stdexcept header, fixes #61
2016-06-01 10:55:19 +01:00
Andreas Cadhalpun
e85d574334
Replace deprecated FFmpeg API to fix build with ffmpeg-3.0.x
2016-06-01 10:32:35 +01:00
Julien Valentin
5a4a5c3507
Added glDrawArraysIndirect, glMultiDrawArraysIndirect, glDrawElementsIndirect and glMultiDrawElementsIndirect extensions.
2016-06-01 10:01:44 +01:00
Stephan van Alste
e6d200abfb
Do not install non existant pdb file in release build mode
2016-05-31 17:05:39 +01:00
Ralf Habacker
fc3e30ef25
Install msvc debug files along with the binaries
2016-05-31 17:02:33 +01:00
Ralf Habacker
c31baa96de
Fixed bug not detecting unc pathes in osgDB::isAbsolutePath()
2016-05-31 16:14:51 +01:00
Alberto Luaces
68baf15806
defines for building on Hurd and BSD kernels
2016-05-31 12:58:57 +01:00
Marcin Hajder
37258df59c
Fix for nvtt plugin to support RGTC1/RGTC2 pixel format.
...
Thanks to this simple fix it's possible to compress red/red-green channel of RGB/RGBA image to GL_COMPRESSED_RED_RGTC1_EXT/GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT pixel format.
2016-05-31 12:45:28 +01:00
Pjotr Svetachov
1823341cce
small optimization to the osgb/t serializers.
2016-05-31 11:27:30 +01:00
Nguyen Van Truong
60c3998143
I Use two touch screen in my App. I had a bug touch point in secondary screen ( the touch point not same mouse push point).
2016-05-31 11:05:02 +01:00
Robert Osfield
8336ce121e
Fixed indentation
2016-05-31 10:54:38 +01:00
Robert Osfield
3bb8b73b8c
Fixed warning message
2016-05-31 10:32:43 +01:00
Robert Osfield
01f1277203
Removed the redudent ive::ReadWrite base class
2016-05-31 10:28:08 +01:00
Robert Osfield
1b4aa2ce51
Removed virtual methods from base class as this was breaking the casting. Ironically this fix was required as the original "fix" for issue raised by Coverity introduced
...
a crash!
2016-05-31 09:46:03 +01:00
Jannik Heller
55e5d74a1c
Fixed typo of method name
2016-05-30 13:44:54 +01:00
Tony Vasile
759b537250
OpenFlight-plugin with Surface Material Codes. There is one additional field that may be required by an existing application in addition to the IR Code is the IR Material. I have a small fix to include the IR Material as the User Value <UA:IRM>
2016-05-30 12:41:25 +01:00
Alberto Luaces
260cbab518
Typo fixes
2016-05-30 12:30:05 +01:00
Ralf Habacker
307001391f
Fix 'unterminated_case: The case for value 7U is not terminated by a 'break' statement' in jpeg plugin.
...
Reported by Coverity: CID 86499: Missing break in switch (MISSING_BREAK)
2016-05-27 10:34:15 +01:00
Ralf Habacker
8851d548f9
Fix 'bad_override: Method ive::DirectionalSector::read hides
...
but does not override ive::ReadWrite::read because some type qualifiers do
not match'.
Reported by Coverity: CID 86119 and 269 others
2016-05-27 10:28:26 +01:00
Robert Osfield
31592d206b
Changed the RenderStageCache::RenderStageMap to use map<Referenced*, ref_ptr<RenderStage>> in place of map<CullVisitor*, ref_ptr<RenderStage>> to
...
avoid problems of dynamic_cast<> on an object that is being deleted.
2016-05-27 09:47:07 +01:00
Robert Osfield
110cf56a17
From Wee See, "attached a small submission, which makes the option "readObjectRecordData" of OpenFlight-plugin working like documented in the Knowledge Base of OSG (52-using-the-openflight-plugin).
...
Actually, if the option "readObjectRecordData" is set, ObjectRecordData will not be read and set.
With this submission, if the option "readObjectRecordData" is set, ObjectRecordData will be read and set."
2016-05-26 18:08:44 +01:00
Robert Osfield
8c7806eab3
From Philippe Renon and Robert Osfield, osgViewer::Viewer::checkNeedToDoFrame should return true when only the root node has an update callback.
...
Note, from Robert, I took Philippe modifications to Viewer.cpp and reformated them slightly to avoid a double check against getSceneData()!=0 and then rolled
the changes out to CompositeViewer::checkNeedToDoFrame() to ensure that both implementations work the same.
2016-05-26 17:49:06 +01:00
Robert Osfield
7d816362e6
Fixed shadows warning
2016-05-26 15:07:02 +01:00
Robert Osfield
dbce12842e
Fixed shadows warnings
2016-05-26 11:13:56 +01:00
Robert Osfield
80e318ce15
Fixed shadows warnigns
2016-05-26 10:35:33 +01:00
Robert Osfield
304c048d84
Fixed shadows warnings
2016-05-26 10:24:44 +01:00
Robert Osfield
40f4cdb1ce
Fixed shadows warnings
2016-05-26 10:24:31 +01:00
Robert Osfield
a41282b7be
Fixed shadows warnings
2016-05-26 10:01:20 +01:00
Robert Osfield
bf8e22ae63
Fixed shadows warnings
2016-05-26 09:48:16 +01:00
Robert Osfield
bdad1f60c9
Fixed shadows warnings
2016-05-26 08:25:12 +01:00
Robert Osfield
95d8d7d993
Fixed shadows warnings in lwo plugin
2016-05-25 18:12:43 +01:00
Robert Osfield
f268afd044
Disable -Wshadow on GNU compile as OGR headers have shadowing parameters we can't fix.
2016-05-25 17:39:25 +01:00
Robert Osfield
29d4a02ee7
Fixed shadows warnigns
2016-05-25 17:34:59 +01:00
Robert Osfield
259b70156f
Fixed shadows warnings
2016-05-25 17:10:54 +01:00
Robert Osfield
3a77520d22
Fixed shadows warnings - txp plugin was a mess w.r.t shadowing member variables.
2016-05-25 17:08:51 +01:00
Robert Osfield
e8aa106184
Fixed shadows warnings
2016-05-25 13:58:06 +01:00
Robert Osfield
426fd3acb1
Fixed shadows warnings
2016-05-25 13:27:35 +01:00
Robert Osfield
89b061e318
Fixed shadows warning
2016-05-25 13:22:51 +01:00
Robert Osfield
1cc0f31e30
Fixed shadows warnings
2016-05-25 11:30:49 +01:00
Robert Osfield
9cb714cd39
Fixed shadows warning and an associated by in osgAnimation::Statshandler::changeYposition(..)
2016-05-25 11:20:13 +01:00
Robert Osfield
13dfd34ab6
Fixed shadows warnings
2016-05-25 11:11:11 +01:00
Robert Osfield
9ba599fe4c
Fixed shadows warnings
2016-05-25 11:00:35 +01:00
Robert Osfield
831f406d17
Fixed shadows warnings
2016-05-25 10:26:35 +01:00
Robert Osfield
8f20bc9147
Fixed shadows warnings
2016-05-25 10:10:43 +01:00
Robert Osfield
92ffa85917
Fixed line endings
2016-05-25 10:09:18 +01:00
Robert Osfield
559f138152
Fixed shadows warnings
2016-05-25 09:56:40 +01:00
Robert Osfield
ff9617d210
Fixed RenderStageCache's handling of Observer functionality that was causing a crashing on exit in osgoit and osgprerender examples.
2016-05-24 20:46:44 +01:00
Robert Osfield
c36c0033fd
Fixed shadows warnings
2016-05-23 20:02:36 +01:00
Robert Osfield
2056800017
Fixed shadows warning
2016-05-23 16:22:49 +01:00
Robert Osfield
4b61f4c95d
Fixed shadows warnings
2016-05-23 16:20:59 +01:00
Robert Osfield
5260e3a35e
Fixed build error introduced by c3f2711b09
2016-05-23 11:31:02 +01:00
OpenSceneGraph git repository
c3f2711b09
Merge pull request #73 from susnux/safeptr
...
add safety checking when dereferencing ref_ptr
2016-05-23 11:29:07 +01:00
Robert Osfield
c72516ceb0
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2016-05-23 11:24:50 +01:00
OpenSceneGraph git repository
b76538d6ea
Merge pull request #72 from bjornblissing/feature/gitignore-visualstudio
...
GitIgnorePatterns for Visual Studio
2016-05-23 11:24:23 +01:00
Robert Osfield
ff01d9c663
Fixed shadows warnings
2016-05-23 10:52:55 +01:00
Robert Osfield
04214a4288
Fixed shadows warning
2016-05-23 10:36:00 +01:00
Robert Osfield
c15dfa7ddd
Fixed shadows warning
2016-05-23 10:31:56 +01:00
Robert Osfield
d4815932dc
Removed redundent local variable
2016-05-23 10:30:22 +01:00
Robert Osfield
33ec90376c
Fixed shadows warning
2016-05-23 10:28:45 +01:00
Robert Osfield
776fa48cd4
Fixed shadows warnings
2016-05-23 10:22:16 +01:00
Rohan Budhiraja
475948f8a2
Added missing stdexcept header, fixes #61
2016-05-21 21:40:07 +02:00
rdiankov
da34da18ca
add safety checking when dereferencing ref_ptr
2016-05-21 21:29:14 +02:00
Robert Osfield
ae3ba28fee
Fixes shadows warnings
2016-05-20 13:38:34 +01:00
Björn Blissing
580ebbdbef
GitIgnorePatterns for Visual Studio
...
Added patterns for visual studio generated files as well as for files
generated by CMake for windows only.
2016-05-20 14:12:09 +02:00
Robert Osfield
e900ecc4c7
Added -Wshadow tp OSG_AGGRESSIVE_WARNING_FLAGS for GNU compiler
2016-05-20 10:51:40 +01:00
Robert Osfield
bf343240e4
Merge branch 'AdriCS-master'
2016-05-19 18:54:11 +01:00
Adri
89a2ed7da4
Extra header include.
...
Removed an extra header include for <QGLWidget>
2016-05-19 18:53:15 +01:00
Robert Osfield
a81edcfba7
Added include/osgQt/Version and src/osgQt/__ to .gitignore
2016-05-19 18:51:58 +01:00
Robert Osfield
3db6aa255f
Removed redundent #if OSG_USE_BOUND block
2016-05-19 17:38:50 +01:00
Jannik Heller
a5b05f77ea
This submission removes the define / code path OSG_USE_BOUND that was never used. The class osg::Bound used by this code doesn't exist either.
2016-05-19 17:32:24 +01:00
Christian Buchner
2ef6909d9b
I am hereby submitting a deferred rendering code sample, originally written by Michael Kapelko in 2013. I am submitting this code with his approval.
...
Deferred rendering is now the de-facto standard rendering technique in many modern game engines, hence I think it is important to have this technique demonstrated in an osg code example.
This particular sample adds soft shadows as well as bump mapping into the rendering pipeline. The image files whitemetal_diffuse.jpg and whitemetal_normal.jpg from OpenSceneGraph-Data images folder are required (The OSG_FILE_PATH environment variable must be set correctly)
Two additional osgt models are included with the demo (best to also put them into OpenSceneGraph-Data, I think.
The shaders are currently defined in separate .frag and .vert files.
2016-05-19 17:20:29 +01:00
Robert Osfield
037de9bd20
Fixed build error associated with change of type of getInterface()
2016-05-19 14:26:48 +01:00
Robert Osfield
10a89ae0c5
Win32 Build fixes
...
Removed the duplicate constructor and destructor
2016-05-18 19:31:03 +01:00
Robert Osfield
a0684bd058
Changed osg::NodeVisitor::traverse(node) to traverse(node) to take advantage of the local travese() implementation pushing/popping any StateSet that is on the node.
2016-05-18 18:30:51 +01:00
Robert Osfield
8863e03685
Replaced static ref_ptr<> with observer_ptr<> to avoid local static references hanging around.
2016-05-16 18:52:39 +01:00
Robert Osfield
fe6238d126
Added osg::GraphicsContext::WindowingSystemInterfaces singleton for managing multiple WIndowinSystemInterface
...
implementations being registered at the same time.
One usage case for this functionality to support usage of Wayland and X11 in the same version of the osgViewer.
As part of the new functionality there is now a osg::GraphicsContext::Traits::windowingSystemPreferrence string
that default to empty, but if defined will ensure that a specific WindowingSystemInterface is utilized when
you do a generic call like osg::createGraphicsContext().
Also implemented is standard proxy object for registering the new contexts and removing them automatically, and
declaration of standard graphicswindow_name() C entry point to help with static build linking.
2016-05-16 13:45:31 +01:00
Robert Osfield
dd10619192
Added GLES3 path for setting up with EGL
2016-05-06 20:15:18 +01:00
Robert Osfield
58ca08a7ca
Added 3.4 press release to NEWS.txt
2016-05-06 17:49:01 +01:00
Robert Osfield
7b34ca0a39
Added using to quieten warning
2016-04-29 10:39:57 +01:00
Robert Osfield
6cfbaa61c0
Moved the IdentifierMap from global to into osg namespace and changed to static
2016-04-27 14:21:11 +01:00
Robert Osfield
cba48de3d3
Fixed copy _readBuffer bug.
2016-04-21 14:07:22 +01:00
Robert Osfield
eb50a15b52
Fixed ShaderComposer::releaseGLObjects(State*) const method as it's const was missing.
...
Rewrote the ShaderComposer::releaseGLObjects() const method to pass on the releaseGLObjects() calls to any associated Program or Shader objects.
2016-04-18 20:46:45 +01:00
Robert Osfield
84618896c2
From Vladimir Chebaev, fixed handling of outline orientiation
2016-04-14 17:55:19 +01:00
Robert Osfield
8c10323154
From Vladimir Chebaev, fixed handling of outline orientiation
2016-04-14 17:46:27 +01:00
Robert Osfield
91ca25d2b8
Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph
2016-03-31 19:22:03 +01:00
Robert Osfield
d41d92e65d
added assignment of mipmap levels from source image.
2016-03-31 19:21:25 +01:00
Robert Osfield
893628971a
From Sherman Wilcox, added assignment of mipmap levels from source image.
2016-03-31 17:52:29 +01:00
Robert Osfield
e6a99b5ae5
Reversed the order of some sizedInternalFormats enum entries to sync with the change in serach direction that was checked in as an earlier revision.
2016-03-31 17:12:28 +01:00
Robert Osfield
459ae5ce64
Changed the default value paramter to be consistent with the non templated version of StateSet::setTextureAttributeAndModes(..)
2016-03-29 20:24:05 +01:00
Robert Osfield
cd3831b045
Added &nl; xml control character to allow one to put newlines into a single text string in Present3D presentations
2016-03-13 09:03:44 -02:30
Robert Osfield
9d68e13567
Added support for invoked an editor defined by P3D_EDITOR or EDITOR env vars when user press 'U' in Present3D.
...
This feature makes it easier to editor an presentation that is already running in Present3D, once the edits are done
pressing 'u' in Present3D then loads the file again.
2016-03-11 19:41:22 +00:00
Robert Osfield
cb2af961db
From Jannik Heller, Wrong function call in setTextureAttributeAndModes
...
"From I think that this piece of code in StateSet::setTextureAttributeAndModes is a copy&paste mistake:
OSG_NOTICE<<"Warning: non texture attribute '"<<attribute->className()<<"' passed to setTextureAttributeAndModes(unit,attr,value), "<<std::endl;
OSG_NOTICE<<" assuming setAttributeAndModes(attr,value) instead."<<std::endl;
OSG_NOTICE<<" please change calling code to use appropriate call."<<std::endl;
setAttribute(attribute,value);
As per the warning message it should be calling setAttributeAndModes(attribute,value); ."
2016-03-11 15:35:07 +00:00
Robert Osfield
faea95b5fb
Added handling of auto stepping to ON_DEMAND handling.
2016-03-10 19:58:35 +00:00
Robert Osfield
68430ee8e5
Added a local implementation of SlideEventHandler::checkNeedToDoFrame() so that Present3D can toggle on/off the need for continuous rendering to only slides that require it,
...
enabling slides with no animation to sit iddle rather keeping rendering, reducing CPU/GPU overhead and saving power.
2016-03-10 16:35:08 +00:00
Robert Osfield
1f5b7855eb
Added basic support for OSG_RUN_FRAME_SCHEME ON_DEMAND env var and --run-on-demand, --run-continuous to Present3D
2016-03-10 11:24:21 +00:00
Robert Osfield
f5b5202296
From Joe Thompson, "OpenSceneGraph cannot be built with Visual Studio 2008.
...
The file osg-OpenSceneGraph-3.4.0\include\osg\Types
typedefs int8_t, int16_t, int32_t and int64_t
These are typedefed as signed __intX in several other places.
With VS2008, this causes an error "int8_t redifined, different basic types"
Explicitly declaring them signed fixes the error."
2016-03-02 09:18:26 +00:00
Robert Osfield
92ee6de05e
Changed svn reference to git
2016-03-01 20:35:58 +00:00
Robert Osfield
02625801da
Updated ChangeLog
2016-03-01 20:25:33 +00:00
Robert Osfield
cd00f7b558
Fixed the make tag-run and branch-run
2016-03-01 20:24:19 +00:00
Robert Osfield
7c61acef40
Updated ChangeLog and AURHORS file
2016-03-01 19:55:01 +00:00
Robert Osfield
a1aecc024e
Refactored the make tag-test, tag-run, branch-test, branch-run and ChangeLog features of the CMakeLists build system so it now supports working off git instead of subversion
2016-03-01 19:44:32 +00:00
Robert Osfield
0d1c8286a2
Updated version number for 3.5.2 dev release
2016-03-01 15:33:16 +00:00
Robert Osfield
bb79e523d4
From Konstantin Matveyev, "Two classes (with wrappers) added to osgAnimation: UpdateVec2fUniform and UpdateVec4fUniform"
2016-03-01 15:09:12 +00:00
Robert Osfield
33b838e437
From Jannik Heller, "This submission makes the osgFX::Technique traverse as a normal Group if the visitor is not a cull visitor.
...
As for motivation behind the change, I think it makes more sense that way because only the CullVisitor cares about rendering. Say an intersection visitor or update visitor only needs to traverse the subgraph once, not once for each pass. For these visitors there is no point in traversing the subgraph more than once, since it's exactly the same graph. Another motivation is the performance improvement had when an intersection visitor tests against a multipass Technique."
Note about mods by Robert Osfield, "Changed dyanmic_cast<> and check against getTraversalType() to utilize the new asCullVisitor() instead to improve efficiency."
2016-03-01 11:57:02 +00:00
Robert Osfield
707c1a32aa
Within the #pragmatic shader composition code added platform specific line endings for WIN32 vs all other platforms to "\r\n" and "\n" respectively.
2016-03-01 11:45:20 +00:00
Robert Osfield
d055216740
From Wee See and Robert Osfield, Introduced StatsHandler::collectWhichCamerasToRenderStatsFor(osgViewer::ViewerBase* viewer, osgViewer::ViewerBase::Cameras& cameras) method to make it
...
possible to customize which Cameras the handler renders stats for.
2016-03-01 11:06:39 +00:00
Robert Osfield
5d03bb9a2b
From Jannik Heller, "This submission fixes a stuttering issue that may occur when occlusion query nodes are in view. The problem is that OSG retrieves the occlusion query result without first checking if it's available (GL_QUERY_RESULT_AVAILABLE). Thus, the driver has to sync with the GPU i.e. wait for all queued draw calls to complete. This is particularly bad in V-Synced situations where the driver may be using multi frame queueing techniques - coupled with the fact that OSG only runs an occlusion query every 5th frame, results in very unpleasant stuttering in some situations.
...
The change I made is to check GL_QUERY_RESULT_AVAILABLE before retrieving the query, to ensure that there won't be a stall. If the query result is not available yet, we'll leave it alone and try again in the next frame.
Had to make a few more changes than I'd liked, mostly because the TestResult mechanism wasn't designed for holding on to query objects for more than one frame. As well, I'm thinking that RetrieveQueriesCallback and ClearQueriesCallback could be merged together, if we wanted to go for more refactoring. For though now my strategy is to make as little changes as possible. Let me know what you think of the patch."
2016-03-01 10:37:41 +00:00
Robert Osfield
be98c884bd
From Ognjen Kostic, "Some android phones have no support for OES_element_index_uint extension that is required if glDrawElements is to be called with GL_UNSIGNED_INT for element type.
...
In OSG 3.4, osgText::Text( ::_quadIndices) uses DrawElementsUInt that will fail on these devices and no text will appear - tested on Samsung Galaxy Trend 2 SM-G313HN.
When DrawElementsUInt is replaced with DrawElementsUShort it works, although I'm not sure if this can cause other problems with some fonts.
Fix:
- In include\osgText\Text, line 316:
replace: "osg::ref_ptr< osg::DrawElementsUInt > _quadIndices;"
with: "osg::ref_ptr< osg::DrawElementsUShort > _quadIndices;"
- In src\osgText\Text.cpp, line 2094:
replace: "_quadIndices = new DrawElementsUInt(PrimitiveSet::TRIANGLES);"
with: "_quadIndices = new DrawElementsUShort(PrimitiveSet::TRIANGLES);"
"
2016-03-01 10:21:14 +00:00
Robert Osfield
f73d1fb7ea
Refactored the parsing of #pragma to address problems handling #pragma without () usage.
2016-02-29 15:06:36 +00:00
Robert Osfield
370cb7bc6e
Fixed debug build
2016-02-24 16:01:00 +00:00
Robert Osfield
31fad1476f
From Jannik Heller, osgParticle freeze on cull fix, ammended by Robert Osfield to make if statements a little more readable.
2016-02-23 10:12:31 +00:00
Robert Osfield
e8ac5af41b
From Anish Thomas, "Underflow bug in BufferObject pool usage"
2016-02-22 09:19:51 +00:00
Robert Osfield
78aaf7955e
From Bjorn Blissing, "I stumbled upon a strange ifdef-case inside Geometry.cpp
...
Currently the code looks like this:
Code:
DrawElementsUByte* elems = new DrawElementsUByte(PrimitiveSet::TRIANGLES);
elems->push_back(0);
elems->push_back(1);
elems->push_back(2);
elems->push_back(2);
elems->push_back(3);
elems->push_back(0);
geom->addPrimitiveSet(elems);
geom->addPrimitiveSet(new DrawArrays(PrimitiveSet::QUADS,0,4));
The second condition looked really strange (note the ! sign), and results in pretty much all code paths uses the first code. The correct version should probably be that only people with GLES1 or GLES2 should use GL_TRIANGLES to simulate quads. And all others should use the native support for GL_QUADS.
"
2016-02-19 15:01:27 +00:00
Robert Osfield
09bde307de
To the COLLADA_INCLUDE_DIR search paths added the directories:
...
/usr/local/include/collada-dom2.4
/usr/local/include/collada-dom2.2
/opt/local/include/collada-dom2.4
/opt/local/include/collada-dom2.2
/usr/include/collada-dom2.4
/usr/include/collada-dom2.2
To enable recent versions of the DOM to be found in their new install locations.
2016-02-19 12:19:12 +00:00
Robert Osfield
58f940c0f1
Updated the AuthenticationDetails::HttpAuthentication enum to reflect current libcurl values
2016-02-18 19:53:36 +00:00
Robert Osfield
9bdb3f55dd
Replaced (long int) with more portable (GLint64)
2016-02-18 10:57:19 +00:00
Robert Osfield
08a1c45605
From Tony Vasile, "This is a fix for the handling of OpenFlight files with switches whose children have a transformation matrix on them. It may break other things and I have only tested this with one of my models."
2016-02-18 10:04:04 +00:00
Robert Osfield
93b10f35c1
From Mourad Boufarguine, "This submission fixes typos in Uniform::getTypename() method in Uniform.cpp (missing "r" in usampler names)."
2016-02-18 09:25:48 +00:00
Robert Osfield
51136204d2
Renamed zero and one to transparentCount and opaqueCount to avoid confusion in their meaning and usage.
2016-02-18 08:50:06 +00:00
Robert Osfield
c297fd18b2
Fixed warning
2016-02-17 17:47:38 +00:00
Robert Osfield
4f36b553b3
Commented out unused functions and variable.
2016-02-17 17:44:05 +00:00
Robert Osfield
f6372f2fab
Introduced a separate GLuint64 one variable to get around a 32bit build timer issue under Windows.
2016-02-17 15:59:13 +00:00
Robert Osfield
98ca24ff4e
From Laurens Voerman, "a few additions in the repository (asDrawableEventCallback / asDrawableCullCallback) made this version a bit outdated,
...
so I get so new warnings. This update can fix those warnings."
2016-02-17 15:09:14 +00:00
Robert Osfield
67202b2662
From Romain Ouabdelkader, "This is a fix for osgText to calculate kerning and to load glyph3D with the text's font resolution.
...
Font::getKerning(...), Font::getGlyph3D(...) doesn't ask for a font resolution so it uses the last font resolution requested by Font:: getGlyph(...).
This can leads to different results depending of the precedent call to Font::getGlyph(...).
See http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2016-January/271952.html for more infos.
This fix adds a font resolution parameter to Font::getKerning(...), Font::getGlyph3D(...) and to the font implementations.
This was made under the base revision r15182."
2016-02-15 13:30:39 +00:00
Robert Osfield
937ef73521
From Laurens Loerman, Fix for "Visual Studio 2013 gives me a large amount (2778) of warnings about inheritance via dominace (C4250)."
2016-02-15 12:37:05 +00:00
Robert Osfield
9bde2ef631
Added support for NodeMask to osg::Drawable serializers
2016-02-11 16:25:47 +00:00
Robert Osfield
3e0435febd
From Jannik Heller , GL object deletion fix.
...
"This submission changes deleteGLObject calls to scheduleGLObjectForDeletion, to ensure that the actual deletion happens from the correct thread (the graphics thread). This fixes the leak I reported in http://forum.openscenegraph.org/viewtopic.php?t=15567 , and possibly also http://forum.openscenegraph.org/viewtopic.php?t=15564 ."
2016-02-05 20:29:22 +00:00
Robert Osfield
8cefa05e3a
From "Jannik Heller", I just updated to the latest commit and noticed that drawable cull callbacks were no longer working. As it turns out there was a missing implementation of the asDrawableCullCallback() and asDrawableEventCallback(), after implementing these methods everything is working as expected.
2016-02-04 20:15:14 +00:00
Robert Osfield
aa17f5441a
From Laurens Voerman,
...
"E:\osg\osgSvnGit\OpenSceneGraph\include\osg/Callback(286): warning C4099: 'osg::DrawableUpdateCallback' : type name first seen using 'class' now seen using 'struct' (E:\osg\osgSvnGit\OpenSceneGraph\src\osgUtil\RenderBin.cpp)
E:\osg\osgSvnGit\OpenSceneGraph\include\osg/Callback(27) : see declaration of 'osg::DrawableUpdateCallback'
attached is a modified version of include/osg/Callback:
changing
- struct OSG_EXPORT DrawableUpdateCallback : public virtual Callback
- {
to
+ class OSG_EXPORT DrawableUpdateCallback : public virtual Callback
+ {
+ public:
and the same changes for DrawableEventCallback and DrawableCullCallback"
2016-02-04 19:53:13 +00:00
Robert Osfield
e00977f3c2
Added OSG_EXPORT
2016-02-04 19:40:14 +00:00
Robert Osfield
e1eaeced8c
From Laurens Voerman, "While compiling with Visual Studio 12 (aka 2013 update 3) I get a these errors:
...
E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(364): error C2039: 'min' : is not a member of 'std'
E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(364): error C3861: 'min': identifier not found
E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(372): error C2039: 'min' : is not a member of 'std'
E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(372): error C3861: 'min': identifier not found
E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(381): error C2039: 'min' : is not a member of 'std'
E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(381): error C3861: 'min': identifier not found
E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(436): error C2039: 'min' : is not a member of 'std'
E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(436): error C3861: 'min': identifier not found
I suggest to replace std::min by osg::minimum, attached is a (zipped) modified version of src/osg/PrimitiveSet.cpp
applies to the git reposetory only (updated 1 Feb 2016 ae6bade641ee4d8436ef69e7a7a347be81195a47 )
"
2016-02-04 19:38:23 +00:00
Robert Osfield
dcadd69c5a
Added releaseGLObjects(..) and resizeGLObjectBuffers(..) to osgShadow::ShadowTechnique's
2016-02-04 17:52:44 +00:00
Robert Osfield
f373bcf23d
Added osg::resizeGLObjectBuffers(..) and osg::releaseGLObjects(..) functions to make it easier to call these methods on objects which ref_ptr<> or C pointers are held for.
2016-02-04 17:36:33 +00:00
Robert Osfield
5ff6fe7c68
Commented out debug message
2016-02-04 17:35:32 +00:00
Robert Osfield
f8306f145a
Added NodeVisitor::g/setValueMap and g/setValueStack, and osg::PushPopObject and osg::PushPopValue helper classes for pushing/popping values to the NodeVisitor's ValueStack.
2016-02-04 13:12:33 +00:00
Robert Osfield
b4eb8d4597
Improved the speed of the ValueObject get/setting by utilizing typeid() and static_cast<> in place of original dynamic_cast<>'s
2016-02-04 13:10:28 +00:00
Robert Osfield
d8d37e3da7
Added new Identifer, ValueMap and ValueStack class to build
2016-02-04 13:07:55 +00:00
Robert Osfield
041ab29d1f
Added osg::Identifer, osg::ValueMap and osg::ValueStack classes to provide a general purpose means for storing and retrieving values from map or stack containers.
...
Typical use will be for storing and passing values between nodes during traversals.
2016-02-04 13:04:40 +00:00
Robert Osfield
90a0170d47
Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF.
2016-01-29 11:54:17 +00:00
Robert Osfield
39b1f379dc
Fixed check against Drawable::isCullingActive().
...
Removed old code intended to check the Geode parent of a Drawable to see if it's CullingActive is true as this was broken by the change osg::Drawable being derived from osg::Node rather than osg::Object.
2016-01-27 10:06:33 +00:00
Robert Osfield
bc33515360
Added C++ gitignore entries
2016-01-26 09:57:26 +00:00
Robert Osfield
e4a59bcd9d
Added .gitignore to queiten down git status reports
2016-01-25 19:38:44 +00:00
OpenSceneGraph git repository
7455db439a
Merge pull request #42 from podsvirov/topic-upgrade-doxygen-configuration
...
From Konstantin Podsvirov, "Corrects an incorrect parsing of header files
without an extension when used doxygen larger 1.8.3.1"
2016-01-25 14:18:58 +00:00
Robert Osfield
4deca2d38b
From Jannik Heller and Robert Osfield, introduced ReadResult/WriteResult::statusMessage() method that creates a std::string from the stutus value and message string.
2016-01-25 12:23:04 +00:00
OpenSceneGraph git mirror maintainer
72cc10e309
Merge pull request #51 from scrawl/occlusionqueryfix_osg
...
From Jannik Heller, "Check for presence of occlusion query extension"
2016-01-25 11:05:40 +00:00
Robert Osfield
4b2912e096
From John Farrier, "Best I can tell, there is an enumeration for NEVER_CHECK_GL_ERRORS in CheckForGLErrors, defined in State. State.cpp does check to see if you want MORE error checking, but there is no way to turn OFF error checking. This change allows disabling of OpenGL error checking."
2016-01-25 10:45:07 +00:00
Robert Osfield
a83b390d55
From Patrick Neary, "In ShaderComposer::getOrCreateProgram(), tesselation control and evaluation shaders are processed but not added to the shader program."
2016-01-25 10:25:15 +00:00
Robert Osfield
b141c0f63e
Changed the prototype from NULL to osg::DummyObject to address a bug in reading .osgt + .osgx where an image is written out but fails to read the file causes subsequent parts of the file to be mis-read
2016-01-22 10:09:00 +00:00
Robert Osfield
5cb486f7c5
Added osg::MultiDrawArrays which wraps up glMultiDrawArrays extension.
2016-01-22 09:47:49 +00:00
Robert Osfield
2791d280ae
From Sukender, "Collada writer fix : Fixed wrong handling of duplicate names in Collada writer.
...
The uniquify() method was not checking if the new name was actually in use or not.
Collada with rename option : Added an option to Collada writer, to rename uncommon IDs (geometries, materials...) to something more compatible (especially Google Earth).
Characters which may be interpreted as an URI are replaced with '_'. Useful if you want to ensure names having spaces or slashes to behave correctly. This may be undesired if original naming must be somewhat kept (hence making it an option)."
2016-01-21 12:40:11 +00:00
Robert Osfield
4de2fc120d
Merge branch 'master' of https://github.com/openscenegraph/osg
2016-01-20 17:51:03 +00:00
Robert Osfield
8fc287c1b7
Added asUpdate/Cull/EventVisitor and asCamera/asDrawable to osg::Object and usage of these within the code base to avoid dynamic_cast<> usage.
2016-01-20 17:49:10 +00:00
Robert Osfield
1219a6d3bf
Added more osg::Object::as*() methods and usage of these through the code base to avoid use of dynamic_cast<> when using UpdateVisitor/CullVisitor/EventVIisitor etc.
2016-01-20 15:13:19 +00:00
Robert Osfield
2e7cfe7efa
From Ravi Mathur, OSX/Clang 7.0.0 build fix
2016-01-19 15:39:46 +00:00
Robert Osfield
e5a7c353ae
From Jannik Heller, "This submission fixes a typo in the new GLObjectManager
...
sheduleGLObjectForDeletion(GLuint globj);
should be
scheduleGLObjectForDeletion(GLuint globj)"
2016-01-19 14:49:56 +00:00
Robert Osfield
b3e0f83c07
From Jordi Torres, "Added TriangleLinePointIndexFunctor to osg namespace"
2016-01-19 14:22:12 +00:00
Robert Osfield
84c202f2ab
From Jannik Heller, "removed a const_cast that wasn't necessary"
2016-01-19 14:16:58 +00:00
Robert Osfield
55a8f4abbc
Renamed DrawableUpdate/Event/Cull callbacks to use new include/osg/Callback versions
2016-01-19 11:39:28 +00:00
Robert Osfield
e8fd414661
Fixed line endings
2016-01-19 11:35:13 +00:00
Robert Osfield
30dc6a9428
Fixed line endings
2016-01-19 11:25:30 +00:00
Robert Osfield
baaf5712c4
Added missing OSG_EXPORT
2016-01-19 09:46:20 +00:00
Robert Osfield
3e92c1fc43
Added osg::Object::asStateSet() implementation and usage to avoid use of dynamic_cast<>
2016-01-18 20:05:20 +00:00
Robert Osfield
340615de55
Replaced dynamic_cast<*Callback> with as*Callback() implementation/usage.
2016-01-18 19:04:28 +00:00
Robert Osfield
48225171e0
From Jannik Heller, "This submission fixes a bug introduced in commit 5b17e3bc2a "Introduced CMake option OSG_PROVIDE_READFILE option...". The added overload for StateSet::setAttributeAndModes was ignoring the mode setting.
...
"
2016-01-18 13:10:14 +00:00
Robert Osfield
7409820a8f
Added Simplifier::requiresDownSampling()/requiresDownSamplingImplementation() to make it possible for the
...
Simplfifer::ContinueSimplificationCallback to be able to decide whether up or downsampling is required,
removing the previous hardwards reliance on getSampleRatio<1.0.
2016-01-18 11:50:07 +00:00
Robert Osfield
e9179aaa4b
Added window size, state and stats event handlers to viewer to help with QA'ing simplification results.
2016-01-18 11:49:18 +00:00
Robert Osfield
8882fb697e
From Wojciech Lewandowski, Visual Studio 2008 compatibility fix
...
Two fixed files:
osgPlugins/osgjs/JSON_Objects
osgPlugins/stl/ReaderWriterSTL.cpp.
They did not compile with VS 2008 (recent master from Github). It looks like they defined stdint types (missing in VS 2008) but code using them also included <osg/Types> header. Errors were caused by minor differences in signed int definitions. I just removed own definitions and added include<osg/Types> instead. It solves the problem and makes the code clearer now.
2015-12-14 17:59:45 +00:00
scrawl
9aba89c88d
Check for presence of occlusion query extension
2015-12-06 18:20:41 +01:00
Robert Osfield
c7f32e11f2
From Jordi Torres, Fix for missing header file in distribution
...
osg/TriangleLinePointIndexFunctor was not being installed because it was not added to the CMakeLists.txt
2015-11-23 13:15:05 +00:00
Robert Osfield
a1cfb037f4
Added support for copying include/osgViewer/config headers on make install.
2015-11-23 11:45:01 +00:00
Robert Osfield
bc794e3807
Refactored the signal handling to be thread safe
2015-11-23 11:01:47 +00:00
Robert Osfield
ead6924a78
Fixed typo
2015-11-23 08:54:09 +00:00
Konstantin Podsvirov
61885d2df0
Upgrade Doxygen configuration
...
This change corrects an incorrect parsing of header files
without an extension when used doxygen larger 1.8.3.1
2015-11-11 22:38:38 +03:00
Robert Osfield
208affb513
Updated ChangeLog for 3.5.1 dev release
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15181 16af8721-9629-0410-8352-f15c8da7e697
2015-11-09 16:02:09 +00:00
Robert Osfield
44130fc527
Cleaned up OSX option selection code.
...
Updated version for 3.5.1 dev release
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15180 16af8721-9629-0410-8352-f15c8da7e697
2015-11-09 15:52:06 +00:00
Robert Osfield
0401ab4ce7
Fixed warning message.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15178 16af8721-9629-0410-8352-f15c8da7e697
2015-11-09 15:13:51 +00:00
Robert Osfield
15f866a322
Addded setting of the Locator CoordinateSystemType
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15177 16af8721-9629-0410-8352-f15c8da7e697
2015-11-09 15:10:50 +00:00
Robert Osfield
a4600e46f9
From Jannik Heller, fix typo of OSG_COMPILE_CONTEXTS.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15176 16af8721-9629-0410-8352-f15c8da7e697
2015-11-09 10:43:15 +00:00
Robert Osfield
1ad8ba358e
From Mathias Froehlich, "Avoid per frame X11 roundtrips"
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15173 16af8721-9629-0410-8352-f15c8da7e697
2015-11-05 14:38:04 +00:00
Robert Osfield
2e9c4b1aed
Restructed the setting of the RenderStage ClearColor/ClearMask to make the code more readable and to avoid double setting of the ClearMask.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15171 16af8721-9629-0410-8352-f15c8da7e697
2015-10-26 11:41:48 +00:00
Robert Osfield
f893dc5ad1
From Alberto Luaces, "here are two minimal capitalization fixes for mingw cross-compilation, where case sensitivity matters."
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15169 16af8721-9629-0410-8352-f15c8da7e697
2015-10-23 15:04:13 +00:00
Robert Osfield
85cdfff7a7
From Sebastian Messershmidt, "The uncommented pointer type QTimerEvent */*event*/ leads to a compiler error under visual studio 2010"
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15167 16af8721-9629-0410-8352-f15c8da7e697
2015-10-23 11:07:21 +00:00
Robert Osfield
dd996a3289
Introduced CMake option OSG_PROVIDE_READFILE option that defaults to ON, but when switched to OFF disables the building of the osgDB::read*File() methods,
...
forcing users to use osgDB::readRef*File() methods. The later is preferable as it closes a potential threading bug when using paging databases in conjunction
with the osgDB::Registry Object Cache. This threading bug occurs when one thread gets an object from the Cache via an osgDB::read*File() call where only
a pointer to the object is passed back, so taking a reference to the object is delayed till it gets reassigned to a ref_ptr<>, but at the same time another
thread calls a flush of the Object Cache deleting this object as it's referenceCount is now zero. Using osgDB::readREf*File() makes sure the a ref_ptr<> is
passed back and the referenceCount never goes to zero.
To ensure the OSG builds when OSG_PROVIDE_READFILE is to OFF the many cases of osgDB::read*File() usage had to be replaced with a ref_ptr<> osgDB::readRef*File()
usage. The avoid this change causing lots of other client code to be rewritten to handle the use of ref_ptr<> in place of C pointer I introduced a serious of
templte methods in various class to adapt ref_ptr<> to the underly C pointer to be passed to old OSG API's, example of this is found in include/osg/Group:
bool addChild(Node* child); // old method which can only be used with a Node*
tempalte<class T> bool addChild(const osg::ref_ptr<T>& child) { return addChild(child.get()); } // adapter template method
These changes together cover 149 modified files, so it's a large submission. This extent of changes are warrent to make use of the Object Cache
and multi-threaded loaded more robust.
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15164 16af8721-9629-0410-8352-f15c8da7e697
2015-10-22 13:42:19 +00:00
Robert Osfield
79fb9abbbf
updated ChangeLog
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15151 16af8721-9629-0410-8352-f15c8da7e697
2015-10-09 08:44:45 +00:00
Robert Osfield
572bb61a2d
Added osg::flushAllDeletedGLObjects to clean up of graphics context after the existing osg::deleteAllGLObjects() to catch any cases where delete doesn't flush GL objects.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15150 16af8721-9629-0410-8352-f15c8da7e697
2015-10-08 15:58:24 +00:00
Robert Osfield
27962a73ee
Introduced usage of OSG_INIT_SINGLETON_PROXY into DatabasePager::prototype() and Registry::instance(), removing the InitRegistry proxy object in src/osgViewer/ViewerBase.cpp.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15147 16af8721-9629-0410-8352-f15c8da7e697
2015-10-05 10:58:32 +00:00
Robert Osfield
de4a430931
From Kristofer Tingdahl, "we had a minor shadow problem with the osg-3.4 that pollutes our continuous integration"
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15143 16af8721-9629-0410-8352-f15c8da7e697
2015-09-25 15:20:25 +00:00
Robert Osfield
ef6f2dbcfd
Added fix for case when Renderer is assigned to a Camera that has now View
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15141 16af8721-9629-0410-8352-f15c8da7e697
2015-09-25 11:15:04 +00:00
Robert Osfield
e878e53cab
From Curtis Rubel, "I would like to submit the attached file for inclusion in future releases of
...
OpenSceneGraph and the OpenThreads library.
The changes in the file simply remove a few ifndef's that currently
do not allow Linux systems to fully utilize the PThread real-time
scheduling API.
Since Linux now fully supports the PThread scheduling API it would
be beneficial to have it available to use as necessary. I have
been testing this change since OSG release 3.3.7 and have not seen
any ill affects.
The Priority scheduling api is further protected by another ifdef:
#ifdef ALLOW_PRIORITY_SCHEDULING
that only appears to be defined in the pthreads implementation as
well. This would make it unlikely that anyone would be affected
by this unless they are intentionally wanting to run with priority
scheduling. In which case on Linux they would need to make
these same modifications themselves to utilize it to its full extent.
Attached file is for the current trunk as of this date.
"
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15140 16af8721-9629-0410-8352-f15c8da7e697
2015-09-25 10:11:52 +00:00
Robert Osfield
7aae720636
Refactored the way that FrameStamp is managed in osgViewer::Renderer to avoid thread conflicts
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15138 16af8721-9629-0410-8352-f15c8da7e697
2015-09-25 10:09:27 +00:00
Robert Osfield
f626d85c2b
From John Hedström,"Texture2DArray support for the .osg serializer"
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15136 16af8721-9629-0410-8352-f15c8da7e697
2015-09-24 14:14:37 +00:00
Robert Osfield
62764a56c5
Added support for serializing Camera::ImplicitBufferAttachmentRenderMask and ImplicitBufferAttachmentResolveMask properties.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15135 16af8721-9629-0410-8352-f15c8da7e697
2015-09-24 10:52:35 +00:00
Robert Osfield
57d0538f1e
Quietened down debug messages
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15134 16af8721-9629-0410-8352-f15c8da7e697
2015-09-24 10:48:57 +00:00
Robert Osfield
80e5338194
Fixed line endings.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15132 16af8721-9629-0410-8352-f15c8da7e697
2015-09-24 09:29:03 +00:00
Robert Osfield
2fe4fc38bb
Added missing OSG_EXPORT to fix Windows build
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15131 16af8721-9629-0410-8352-f15c8da7e697
2015-09-23 10:41:54 +00:00
Robert Osfield
161246d864
Refactored the GL object deletion management to use new osg::GraphicsObjectManager/GLObjectManager base classes, and osg::ContextData container.
...
This approach unifies much of the code handling the clean up of OpenGL graphics data, avoids lots of local mutexes and static variables that were previously required,
and enables the clean up scheme to be easily extended by users providing their own GraphicsObjectManager subclasses.
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15130 16af8721-9629-0410-8352-f15c8da7e697
2015-09-23 09:47:34 +00:00
Robert Osfield
cb3396b0e5
From Jannik Heller, "I've hit what I believe to be a bug (or at the very least, an unintuitive behaviour) in the osg::Geometry copy constructor. I noticed it when using osg::clone on a Geometry with vertex buffer objects, and the copy flags DEEP_COPY_ARRAYS. To be precise, I add a Geometry to an osgUtil::IncrementalCompileOperation, then osg::clone the Geometry. I was getting reports from users of random crashes happening.
...
I believe the offending lines are in the osg::Geometry copy constructor:
if ((copyop.getCopyFlags() & osg::CopyOp::DEEP_COPY_ARRAYS))
{
if (_useVertexBufferObjects)
{
// copying of arrays doesn't set up buffer objects so we'll need to force
// Geometry to assign these, we'll do this by switching off VBO's then renabling them.
setUseVertexBufferObjects(false);
setUseVertexBufferObjects(true);
}
}
Toggling the vertex buffer objects off then on again actually touches not only the arrays controlled by DEEP_COPY_ARRAYS, but also the PrimitiveSets which are controlled by DEEP_COPY_PRIMITIVES. This means if the user has copyflags of only DEEP_COPY_ARRAYS, we are modifying arrays that belong to the original const Geometry& we are copying from. I believe this shouldn't be allowed to happen because we are using a const& specifier for the original Geometry.
In my case the osgUtil::IncrementalCompileOperation was trying to compile the geometry, while in the main thread a clone operation toggled the VBO's off and on, a crash ensues.
In the attached patch, you will find a more efficient handling of VBO's in the osg::Geometry copy constructor, so that only the Arrays that were actually deep copied have their VBO assigned, and no changes are made to Arrays that already had a valid VBO assigned. In addition, the DEEP_COPY_PRIMITIVES flag is now honored so that VBO's are set up correctly should a user copy a Geometry with only that flag.
"
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15129 16af8721-9629-0410-8352-f15c8da7e697
2015-09-04 15:35:24 +00:00
Robert Osfield
34794c5c27
From Laurens Voerman, "I found that using an ImageSequence with mode PAGE_AND_DISCARD_USED_IMAGES triggers the (3) imageThreads to run and never stop, even when no more work is to be done. This is due to a bug in the stop condition currently setting the thread to stop and wait for a signal only when no work needs to be done AND the databasepager is paused.
...
It should stop and wait for a signal on either of those two. Due to a few logical inversions it boils down to replacing || with &&
OLD _block->set((!_requestList.empty() || !_pager->_databasePagerThreadPaused));
NEW _block->set((!_requestList.empty() && !_pager->_databasePagerThreadPaused));//release the threads to run IF (work_to_be_done && not_paused)
This bug is present since svn rev 8663 (just before 2.6.0 release)
attached is a zip with the files:
OpenSceneGraph\include\osgDB\ImagePager
This file is valid for svn branch and stable 3.2 and 3.4
branches 2.6 - 3.0 have the same bug, but other differences in the file."
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15125 16af8721-9629-0410-8352-f15c8da7e697
2015-09-04 15:04:58 +00:00
Robert Osfield
8b37ff25e7
From Laurens Voerman, "I crashed osgconv while compressing textures:
...
osgconv --compressed-dxt1 cow.osg cow.ive
due to different handling of the extentions in osg 3.4 and up.
attached is a zip with the files:
OpenSceneGraph\applications\osgconv\osgconv.cpp
This file is valid for svn branch and stable3.4."
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15124 16af8721-9629-0410-8352-f15c8da7e697
2015-09-04 14:50:39 +00:00
Robert Osfield
aa96046632
From Julien Valentin, "Serializing custom geometry i ran into a crash due to a
...
setVertexAttribArrayList(array) with array containing NULL vertexAttrib.
I added a test in order to avoid it
Code:
void Geometry::setVertexAttribArrayList(const ArrayList& arrayList)
{
_vertexAttribList = arrayList;
dirtyDisplayList();
if (_useVertexBufferObjects)
{
for(ArrayList::iterator itr = _vertexAttribList.begin();
itr != _vertexAttribList.end();
++itr)
{
if(itr->get())//ADDED
addVertexBufferObjectIfRequired(itr->get());
}
}
}
"
and
"The bug i ran into is a crash reading osgt Geometry with null vertexattribs.
The only thing i added is a not nul check on array passed to setVertexAttribArrayList."
--------------------This line, and those below, will be ignored--
M src/osg/Geometry.cpp
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15121 16af8721-9629-0410-8352-f15c8da7e697
2015-09-04 14:34:45 +00:00
Robert Osfield
d7cd5b1811
Updated SO version for svn/trunk.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15120 16af8721-9629-0410-8352-f15c8da7e697
2015-09-04 14:24:40 +00:00
Robert Osfield
0d72b85881
Fixed warning
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15119 16af8721-9629-0410-8352-f15c8da7e697
2015-09-04 14:24:11 +00:00
Robert Osfield
53a850c671
Fixed warning by removing redundent check
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15118 16af8721-9629-0410-8352-f15c8da7e697
2015-09-04 14:23:55 +00:00
Robert Osfield
0532c93c8c
Corrected the Subload::generateTextureObject() return type to make it consistent with Texture::generateTextureObject(..)
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15117 16af8721-9629-0410-8352-f15c8da7e697
2015-08-14 15:25:08 +00:00
Robert Osfield
051ee49098
Updated shaders from OpenSceneGraph-Data with refactor of workaround to NVidia driver bug
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15110 16af8721-9629-0410-8352-f15c8da7e697
2015-08-12 10:18:09 +00:00
Robert Osfield
6a41ccf537
Added GL1 to the docs of the GL_PROFILE string
...
Updated the date of the 3.4.0 release in the README.
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15100 16af8721-9629-0410-8352-f15c8da7e697
2015-08-12 06:39:57 +00:00
Robert Osfield
eba1cc6e4f
Refactored workaround of NVidia nan lenght() bug.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15096 16af8721-9629-0410-8352-f15c8da7e697
2015-08-11 20:06:38 +00:00
Robert Osfield
41f284b678
Moved FIND_PACKAGE(Boost) to within the individual Find scripts that actually need it rather in the root CMakeLists.txt.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15093 16af8721-9629-0410-8352-f15c8da7e697
2015-08-11 08:43:40 +00:00
Robert Osfield
b964c53445
Removed spaces
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15088 16af8721-9629-0410-8352-f15c8da7e697
2015-08-10 19:55:16 +00:00
Robert Osfield
5194d81a89
Fixed line endings
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15085 16af8721-9629-0410-8352-f15c8da7e697
2015-08-10 19:40:36 +00:00
Robert Osfield
8ebe075722
Updated built-in shaders from OpenSceneGraph-Data vesion that introduce #pragma(tic) shaders that resolve the NVidia loop iteration bug.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15083 16af8721-9629-0410-8352-f15c8da7e697
2015-08-10 19:39:23 +00:00
Robert Osfield
a2013caa47
Quietened down #pragma(tic) shader composition messages
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15079 16af8721-9629-0410-8352-f15c8da7e697
2015-08-10 19:18:54 +00:00
Robert Osfield
aff6e112ec
Added support for injecting GL_VENDOR strings into GLSL shaders via the new #pragma(tic) shader composition
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15078 16af8721-9629-0410-8352-f15c8da7e697
2015-08-10 17:42:05 +00:00
Robert Osfield
8ab27a20d2
Build fix for VS and installing Types
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15077 16af8721-9629-0410-8352-f15c8da7e697
2015-08-10 05:04:56 +00:00
Robert Osfield
7aa2c7c10f
Changed GLint64 and GLuint64 setup to use int64_t and uint64_t resptectivly respectively to avoid issues with compiling against Qt5
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15071 16af8721-9629-0410-8352-f15c8da7e697
2015-08-09 09:42:31 +00:00
Robert Osfield
583801179e
Added #ifdef guards around SGIX specific parts to avoid build problems with GLES
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15069 16af8721-9629-0410-8352-f15c8da7e697
2015-08-09 09:07:05 +00:00
Robert Osfield
fde838b029
From Glenn Waldron, fix error in ZIP plugin handling of memory buffer
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15067 16af8721-9629-0410-8352-f15c8da7e697
2015-08-08 08:49:42 +00:00
Robert Osfield
cd09242520
Added checks for the validity of chached coordinate arrays.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15060 16af8721-9629-0410-8352-f15c8da7e697
2015-08-06 15:03:05 +00:00
Robert Osfield
d205919881
Updated shaders from OpenSceneGraph-Data.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15059 16af8721-9629-0410-8352-f15c8da7e697
2015-08-06 10:09:29 +00:00
Robert Osfield
687e77ddc9
From Andy Skinner, "Someone was using our code on a system that does not seem to have the SGIX symbols used in osgViewer.cpp.
...
I used osgSetGLExtensionsFuncPtr to remove the symbols. I don't know how to test this path, but it did remove the symbols from libosgViewer.so. I have also not been able yet to see if that was sufficient for our customer.
I did this by looking at other cases, and I tried to follow some of the same practices in PixelBufferX11, like using _useSGIX in a similar way to the previous _useGLX1_3."
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15041 16af8721-9629-0410-8352-f15c8da7e697
2015-08-03 19:14:09 +00:00
Robert Osfield
e4697ae7fc
From Terry Welsh, "I downloaded the Android 3rdparty deps from here
...
http://www.openscenegraph.org/index.php/download-section/dependencies
but was not able to use them for a while. Attached are changes to
OsgAndroidMacroUtils.cmake that allow the deps to be found by cmake.
Specifically, all FIND_PATH commands require the
NO_CMAKE_FIND_ROOT_PATH option to actually find paths. This is odd
because if you inspect CMAKE_FIND_ROOT_PATH it appears to be empty. I
would expect it to have no effect at all.
I also needed to remove quotes from this line in order for headers to be found:
set(FREETYPE_INCLUDE_DIRS "${FREETYPE_DIR}/include
${FREETYPE_DIR}/include/freetype/config")
Assuming this script worked in the past, it seems like cmake behavior
may have changed at some point. I'm using cmake version 2.8.12.2."
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15036 16af8721-9629-0410-8352-f15c8da7e697
2015-07-31 13:46:57 +00:00
Robert Osfield
42884e7600
From Jannik Heller, "Here is a patch for the S3TC capability check.
...
On a Intel HD graphics Linux system with Mesa 10.1.3, I found that osg's Extensions::isTextureCompressionS3TCSupported() returned false, even though S3TC compressed textures *are* in fact working. I tested this by loading and rendering various DXT1, DXT3 and DXT5 compressed textures in the OSG.
"glxinfo | grep s3tc" gives:
GL_S3_s3tc
Note, if I install the package "libtxc-dxtn-s2tc0", I get in addition:
glxinfo | grep s3tc
GL_EXT_texture_compression_s3tc
GL_S3_s3tc
However, S3TC compressed textures worked correctly within the OSG even without libtxc-dxtn-s2tc0 installed.
I'm not sure what the differences between these extensions are, but based on the description at https://www.opengl.org/registry/specs/S3/s3tc.txt I would assume that both will work for OSG's purposes. The attached patch changes isTextureCompressionS3TCSupported() to accept either extension."
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15035 16af8721-9629-0410-8352-f15c8da7e697
2015-07-31 13:44:39 +00:00
Robert Osfield
55d36b544b
Warning fix
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15032 16af8721-9629-0410-8352-f15c8da7e697
2015-07-31 10:59:11 +00:00
Robert Osfield
1fe7aa056b
From Kristofer Tingdahl, warning fixes.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15030 16af8721-9629-0410-8352-f15c8da7e697
2015-07-31 10:54:13 +00:00
Robert Osfield
d6828651d0
Compile fix for Mingw.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15029 16af8721-9629-0410-8352-f15c8da7e697
2015-07-31 10:27:11 +00:00
Robert Osfield
0dd625f17e
Added explicit initialization of osg::Referenced(true) to osg::Operation subclasses as it uses virtual inhertiance from osg::Referenced.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15025 16af8721-9629-0410-8352-f15c8da7e697
2015-07-23 15:46:47 +00:00
Robert Osfield
435a81a905
From Pjotr Svetachov, buid fixes for VS2015.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15021 16af8721-9629-0410-8352-f15c8da7e697
2015-07-23 14:37:17 +00:00
Robert Osfield
f5ef9486bb
Merged VS2013 warning fixes from OSG-3.4 branch
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15020 16af8721-9629-0410-8352-f15c8da7e697
2015-07-23 14:31:05 +00:00
Robert Osfield
2208303496
Warning fixes for Clang-3.6
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15016 16af8721-9629-0410-8352-f15c8da7e697
2015-07-23 11:11:58 +00:00
Robert Osfield
71c6d27b57
Added missing handling of lightnumber and associate lights
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15015 16af8721-9629-0410-8352-f15c8da7e697
2015-07-23 09:23:42 +00:00
Robert Osfield
b90bbdaebf
Changed the GL_HEADER_HAS_GLINT64 and GL_HEADER_HAS_GLUINT64 to use cmakedefine to improve handling of when cmake doesn't find GLint64 and GLuint64.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15013 16af8721-9629-0410-8352-f15c8da7e697
2015-07-23 07:39:12 +00:00
Robert Osfield
7e3ac0e584
Fixed AUTHORS file
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15011 16af8721-9629-0410-8352-f15c8da7e697
2015-07-22 17:01:03 +00:00
Robert Osfield
cf35354bf7
Fixed contributors list
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15009 16af8721-9629-0410-8352-f15c8da7e697
2015-07-22 14:55:38 +00:00
Robert Osfield
e350a443d9
Updated ChangeLog
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15007 16af8721-9629-0410-8352-f15c8da7e697
2015-07-22 14:52:08 +00:00
Robert Osfield
ec8779ca6f
Moved GL_ALPHA_TEST from AlphaFunc header to GLDefines header
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15002 16af8721-9629-0410-8352-f15c8da7e697
2015-07-22 14:03:24 +00:00
Robert Osfield
000c9af7c2
Added CMake test for presence of GLuint64 and GLint64 in OpenGL/GLES headers to better handle when/where GL defines the 64 bit typedefs
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15001 16af8721-9629-0410-8352-f15c8da7e697
2015-07-22 13:49:14 +00:00
Robert Osfield
7c4b5febcb
Added check for validity of OpenFlight shininess value.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14998 16af8721-9629-0410-8352-f15c8da7e697
2015-07-21 14:21:49 +00:00
Robert Osfield
36352031ef
Fixed typo
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14997 16af8721-9629-0410-8352-f15c8da7e697
2015-07-21 13:42:35 +00:00
Robert Osfield
492ac89613
Reduced debug message verbosity.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14993 16af8721-9629-0410-8352-f15c8da7e697
2015-07-20 13:23:07 +00:00
Robert Osfield
13a5608975
Changed the _MSC_VER check to <= 1700 to support VS2012.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14989 16af8721-9629-0410-8352-f15c8da7e697
2015-07-20 07:42:05 +00:00
Robert Osfield
0d120d208b
Reinstated the TIFFSetField(image, TIFFTAG_ROWSPERSTRIP, rowsperstrip);
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14985 16af8721-9629-0410-8352-f15c8da7e697
2015-07-19 09:51:01 +00:00
Robert Osfield
6c83b2e3a9
From KOS, "'ve mentioned in the "osg-users" ML about build error with the newest GStreamer 1.5
...
Please, have a look at the attached patch.
CMakeModules/FindGStreamer.cmake"
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14984 16af8721-9629-0410-8352-f15c8da7e697
2015-07-17 18:31:22 +00:00
Robert Osfield
afe911957c
Updated ChangeLog and AUTHORS
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14977 16af8721-9629-0410-8352-f15c8da7e697
2015-07-17 09:04:30 +00:00
Robert Osfield
466a4a5d69
Added cmake version check to cmake_policy usage
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14973 16af8721-9629-0410-8352-f15c8da7e697
2015-07-17 08:21:06 +00:00
Robert Osfield
67fb0b3530
From Patrick Neary, "To the tiff plugin, add the capability to write tiff images with unsigned short data"
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14969 16af8721-9629-0410-8352-f15c8da7e697
2015-07-17 08:12:38 +00:00
Robert Osfield
7a94ce8585
From Patrick Neary, "Added some lesser used tokens that we use from GL_ARB_texture_rg to computeFormatDataType(), and computeNumComponents() in src/osg/Image.cpp"
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14967 16af8721-9629-0410-8352-f15c8da7e697
2015-07-16 19:17:01 +00:00
Robert Osfield
c7d4f7d2cb
Updated ChangeLog and AUTHORS
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14965 16af8721-9629-0410-8352-f15c8da7e697
2015-07-16 16:06:43 +00:00
Robert Osfield
0f918ee5c9
From Cory Slep and Robert Osfield, "When using Open Scene Graph and Qt on Android, the resulting thread that an application developer’s Q*Application is run on is different than what Qt considers the “main” thread, which can cause subtle problems. This is because Qt loads native libraries in one thread, and later runs the application in a different thread. They delay running in the second thread as long as possible as they have a nontrivial bootstrapping process. The motivation for Qt having this second thread is to allow them to remain responsive to both Java and native events, and capture events that would otherwise be “missed”.
...
This gives arise to the requirement that a static initialization of a QObject cannot occur for the Android platform, as Qt incorrectly considers that first thread the “main” one before a client application has even begun executing in its second thread.
The HeartBeat in GraphicsWindowQt.cpp is a QObject static global initialized at load time, causing the above issue. This changeset changes it to be a singleton that is constructed upon first access to its “instance” method.
I have:
- added the static method “instance”,
- moved its constructor to be private, and
- changed the one place it is accessed to access it through the “instance” method.
"
Changes by Robert are to adopt QPointer<HeartBeat> rather than use a C pointer to ensure that the HeartBeat object will be cleaned up automatically rather than leaked.
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14963 16af8721-9629-0410-8352-f15c8da7e697
2015-07-16 15:49:32 +00:00
Robert Osfield
b908ced20c
Added check to catch cases where the backdrop coordinate cache is too small for the number of contexts being computed.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14961 16af8721-9629-0410-8352-f15c8da7e697
2015-07-16 11:01:35 +00:00
Robert Osfield
229477c35c
Added initializers and reverted OSX workaround from 2013.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14959 16af8721-9629-0410-8352-f15c8da7e697
2015-07-15 10:00:55 +00:00
Robert Osfield
47fd0423ec
Moved the cmake_policy(SET CMP0043 NEW) to work for all script paths that Qt5 usage could pass through.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14953 16af8721-9629-0410-8352-f15c8da7e697
2015-07-14 13:33:12 +00:00
Robert Osfield
d85d98e916
Added cmake_policy(SET CMP0043 NEW) usage when compiling against Qt5 as it was causing a warning we couldn't fix on the OSG side otherwise.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14952 16af8721-9629-0410-8352-f15c8da7e697
2015-07-14 13:26:40 +00:00
Robert Osfield
4f1504e125
Updated ChangeLog and AUTHORS.txt
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14950 16af8721-9629-0410-8352-f15c8da7e697
2015-07-14 08:42:36 +00:00
Robert Osfield
423105c299
Added _defineList into the osg::StateSet::compare() implementation to address issues with osgUtil::Optimizer ignoring defines.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14948 16af8721-9629-0410-8352-f15c8da7e697
2015-07-14 08:25:17 +00:00
Robert Osfield
c4fdc93053
Added Text::GlyphQuads::release/resizeGLObjects() and handling of inconsistent contextID sizes to avoid crashes when viewers and scene graphs aren't initialized correctly to the right number of contexts.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14947 16af8721-9629-0410-8352-f15c8da7e697
2015-07-13 16:09:45 +00:00
Robert Osfield
e94c3334f9
Standardize the call to setUpThreading() in CompositeViewer/Viewer::realize().
...
Standardize the call to scene->resizeGLObjects().
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14944 16af8721-9629-0410-8352-f15c8da7e697
2015-07-13 16:03:51 +00:00
Robert Osfield
1859e27501
From Terry Welsh, "fThis fixes problem where new glClipControl feature would not compile for GLES2 profile"
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14943 16af8721-9629-0410-8352-f15c8da7e697
2015-07-13 08:48:46 +00:00
Robert Osfield
1477e046f6
Updated version number to 3.5.0 after 3.4 branch.
...
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14941 16af8721-9629-0410-8352-f15c8da7e697
2015-07-03 06:51:09 +00:00