Commit Graph

16172 Commits

Author SHA1 Message Date
Tim Moore
1c281a3def Fix bug in matrix transpose() and transpose3x3
The diagonal elements were not copied from the source matrix.
2019-11-04 05:37:37 +01:00
flashk
921d10a636
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-11-01 09:26:28 -07:00
Laurens Voerman
9f6fdbc224 fix copySubImage crash on compressed files 2019-11-01 16:56:14 +01:00
PntAndCnt
b26d88ab78 Init isPointSpriteModeSupported correctly.
examples/osgpointsprite and examples/osgpoints are broken due to
incorrect isPointSpriteModeSupported state in legacy opengl.
2019-10-13 20:04:33 +08:00
Arnaud Huck
856acfdda4 fixed installation of PDB files on Windows with Ninja generator. Added installation of PDB files for OpenThreads 2019-10-04 09:53:57 +02:00
DCFennell
9d9c892bbb GL_CLAMP_VERTEX_COLOR and GL_CLAMP_FRAGMENT_COLOR deprecated in GL core profile according to OpenGL 4.5 specification. 2019-09-25 12:16:51 -05:00
Johannes Pabst
6bf4afa386 Fix: LuaCallbackObject could form circular references to LuaScriptEngine that prevented its destruction. Destruction of LuaScriptEngine now disarms all callbacks into Lua. 2019-09-23 15:05:54 +02:00
remoe
2e395dce26 update: WGL 2019-09-19 17:43:31 +02:00
Remo E
0daef92522 update: PixelBuffer for EGL
refactor
2019-09-17 11:50:42 +02:00
Riccardo Corsi
35ed188b02 Fbx Plugin: added plugin option to set the target axis system. Default left to OpenGL. 2019-09-13 12:50:29 +02:00
grdowns
f2b72fa465 Add vcpkg installation instructions 2019-09-12 13:54:28 -07:00
Kent
7bb44d7e18 emmmmmmm 2019-09-03 16:11:14 +08:00
Kent
df087b9524 may be better 2019-09-03 15:54:58 +08:00
Kent
880d002568 seems fixed this 2019-09-03 15:30:43 +08:00
Remo E
fbc31d9987 First implementation of EGL/Angle support. Tested with GLES3 on DirectX11 platform.
Pixelbuffer currently not supported.
2019-08-30 19:28:55 +02:00
Guilhem Saurel
297531e777 fix dae readme 2019-08-30 16:48:25 +02:00
Daniel Trstenjak
718383cac0 OcclusionQueryNode: make all usages of 'updateDefaultQueryGeometry' thread safe 2019-08-23 09:59:54 +02:00
Daniel Trstenjak
79f7727a59 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.
2019-08-23 09:46:02 +02:00
Robert Osfield
bd50af117b Removed exlict keyword to address build problems with VS older than 2015. 2019-08-22 14:49:43 +01:00
Robert Osfield
3a17fd3e9c Fixed build regression 2019-08-22 14:27:17 +01:00
OpenSceneGraph git repository
88a6868be5
Merge pull request #813 from dan-t/fix_custom_query_geometry
OcclusionQueryNode: fix use case of user defined query geometry
2019-08-22 14:18:09 +01:00
OpenSceneGraph git repository
eb980136a0
Merge branch 'master' into fix_custom_query_geometry 2019-08-22 14:17:58 +01:00
Robert Osfield
af7d6478e6 Added check aginst _enabled from the 3.6 branch 2019-08-22 14:11:29 +01:00
OpenSceneGraph git repository
f18dd05350
Merge pull request #823 from remoe/patch-4
Debugging: Hint to debug LoadLibrary issues
2019-08-22 13:47:25 +01:00
Daniel Trstenjak
aff574b3ea 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.
2019-08-21 16:44:15 +02:00
Remo E
822840bd1a
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-18 20:14:17 +02:00
capostrophic
21828fe725 Fix memory leaks 2019-08-17 20:06:43 +01:00
capostrophic
4f3fce0254 Add support for DDPF_PALETTEINDEXED8 pixel format reading 2019-08-17 20:06:43 +01:00
OpenSceneGraph git repository
5e93e6f0c3
Merge pull request #819 from bjornblissing/minor_fix/tiff_reader
Fixed spelling error in warning message
2019-08-17 19:50:06 +01:00
Björn Blissing
844ec25948 Fixed spelling error in warning message 2019-08-16 13:52:56 +02:00
Robert Osfield
da40a565bf Added TKXCAF to find package list 2019-08-16 10:28:38 +01:00
Julien Valentin
f87b6303a9 fix cmake block comment syntax 2019-08-16 10:00:49 +01:00
Julien Valentin
23371bf16e remove unproperly parsed CMake comment
https://github.com/openscenegraph/OpenSceneGraph/issues/812
2019-08-16 10:00:39 +01:00
Ralf Habacker
2a19d1ab22 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-08-16 10:00:12 +01:00
Robert Osfield
260c32940f Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph 2019-08-16 09:35:18 +01:00
OpenSceneGraph git repository
d38589ff7f
Merge pull request #817 from mp3butcher/patch-30
remove return of local pointer
2019-08-16 09:34:19 +01:00
Julien Valentin
c50235ba62
remove return of local pointer 2019-08-15 20:21:15 +02:00
Daniel Wendt
5fd35e87a2 las plugin: fix linking against static boost library under windows
Signed-off-by: Daniel Wendt <daniel.wendt@linux.com>
2019-08-07 10:58:14 +01:00
Robert Osfield
fd8019c886 Merged TextBase fixed from OpenSceneGraph-3.6 commit 149c04b0df 2019-07-31 14:30:47 +01:00
Robert Osfield
2b5e659973 Replaced GL_QUADS usage with GL_TRIANGLE_STRIP 2019-07-29 13:02:08 +01:00
Robert Osfield
8fad6bd039 Refactored the mesh setup to use GL_TRIANGLE_STIP instead of GL_QUADS 2019-07-29 12:29:25 +01:00
konstantin.matveyev
9d9273ca12 OSG_TEXT_USE_FONTCONFIG additional check needed 2019-07-26 14:52:56 +01:00
konstantin.matveyev
36a3c5f2b2 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:13:02 +01:00
Robert Osfield
2716c8a32b 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:18:51 +01:00
Robert Osfield
887ecf255c Added readObject() implementations 2019-07-25 12:50:22 +01:00
Robert Osfield
62a4be7aeb Added ReaderWriterOBJ::readObject(..) implementations to address issue with using osgconv 2019-07-25 10:40:33 +01:00
Robert Osfield
d6af3f7d79 Added handling of iOS and Android to make sure FontConfig is only used for Desktop builds 2019-07-22 18:07:37 +01:00
Linan Wang
d79cad7fd1 fix typo 2019-07-19 09:21:56 +01:00
Linan Wang
4b046c7562 fix u64 and i64 allocation, setArray bug 2019-07-19 09:21:56 +01:00
Ralf Habacker
cae16c5fd7 obj plugin: Fix not writing material shininess 2019-07-18 13:29:55 +01:00