Commit Graph

16083 Commits

Author SHA1 Message Date
Laurens Voerman
27b295caa4 fix indentation for osgt files for windows dynamic library build. 2019-06-14 14:33:22 +01:00
Laurens Voerman
acddb66240 fix compile error if OSGUTIL_RENDERBACKEND_USE_REF_PTR not defined in include/osgUtil/RenderLeaf 2019-06-14 14:31:01 +01:00
Riccardo Corsi
3b7f933984 Bugfix due to copy-paste typo which prevented multi uv channel mesh to be imported correctly. 2019-06-07 12:45:45 +02:00
Alexey Galitsyn
7a53bc5238 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-05-30 23:10:27 +03:00
Laurens Voerman
6a8f4ad818 replaced "if (apm || !apm->valid())" 2019-05-22 09:52:56 +02:00
Laurens Voerman
b006a7afae fix typo in header guard. 2019-05-22 09:45:58 +02:00
Laurens Voerman
3e78992cce fix typo in ReaderWriterFBX: writObject -> writeObject 2019-05-15 11:49:17 +02:00
Laurens Voerman
7a25132b33 implement readObject for all relevant readerWriters 2019-05-14 14:36:35 +02:00
Robert Osfield
a9590ab80b Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph 2019-05-08 09:38:15 +01:00
OpenSceneGraph git repository
7e77f0ab66
Merge pull request #751 from LaurensVoerman/ELSIFm
add missing E to ELSIF
2019-05-08 09:38:00 +01:00
Laurens Voerman
e1de14c689 add missing E to ELSIF
# Conflicts:
#	src/osgViewer/CMakeLists.txt
2019-04-30 11:26:03 +02:00
Robert Osfield
22f4e44fa4 Fixed indentation 2019-04-26 10:47:15 +01:00
OpenSceneGraph git repository
5b688eb99d
Merge pull request #735 from Tlsirius/fix_fbx_hierarchy
fix fbx redundant node issue
2019-04-26 10:08:06 +01:00
Robert Osfield
5a6baf3885 Merged CMake: OSG_WINDOWING_SYSTEM fixed from the 3.6 branch 2019-04-26 09:53:49 +01:00
Wei Lisi
a8397b1caf remove tabs 2019-04-19 13:04:35 +08:00
Robert Osfield
971c2c2e90 Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph 2019-04-12 14:26:02 +01:00
Robert Osfield
07689f7b84 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 14:19:59 +01:00
OpenSceneGraph git repository
3dbba705d9
Merge pull request #744 from zakalawe/master
macOS support for glVertexAttribDivisor with legacy GL
2019-04-11 12:44:11 +01:00
OpenSceneGraph git repository
d520fc15fb
Merge pull request #741 from flashk/patch-11
Support loading FBX meshes with both skinning and morph target data
2019-04-11 12:43:43 +01:00
James Turner
0081c71cde macOS support for this extension with legacy GL
In compatibility mode (OpenGL 2.1), glVertexAttribDivisor is available
via glVertexAttribDivisorARB on macOS.
2019-04-11 09:25:15 +01:00
flashk
c0b046ead9
Update fbxRMesh.cpp 2019-04-05 14:31:21 -07:00
Wei Lisi
249a60c328 clean up 2019-03-26 22:37:50 +08:00
Wei Lisi
97ce560f72 fix fbx hierarchy issue 2019-03-26 21:01:24 +08:00
Robert Osfield
c07d5c07c4 Fixed line ending 2019-03-26 08:06:15 +00:00
OpenSceneGraph git repository
efd8ef9e7e
Merge pull request #733 from eknabe/master
Collada (DAE) support recognized for VisualStudio 2017
2019-03-26 08:01:31 +00:00
Jeongseok Lee
36cceb6930
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 06:52:09 +01:00
Robert Osfield
b988e690bb Added basic load and compile stats collection enabled by --stats command line. 2019-03-25 14:10:25 +00:00
Robert Osfield
50d1517833 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 14:10:25 +00:00
Robert Osfield
e0d90fb4c2 Added --NO_CULLING, --VIEW_FRSUTUM and --VIEW_FRUSTUM_SIDES/--vfs command line options for setting the Camera CullingMode value 2019-03-25 14:10:13 +00:00
Emil Knabe
32db1d04a0 Merge branch 'master' of git://github.com/openscenegraph/OpenSceneGraph 2019-03-23 13:21:14 +01:00
Emil Knabe
8bd4d9ef49 Updating DAE support for vc141 (VisualStudio2017), aligned with 3rdParty package 2019-03-23 13:14:24 +01:00
OpenSceneGraph git repository
c9e2bda0d7
Merge pull request #729 from jslee02/gnu_install_dirs
Use GNUInstallDirs for library installation path
2019-03-21 07:07:47 +00:00
Jeongseok Lee
8fc039d352 Update comments and fix cmake version check 2019-03-20 09:09:56 -07:00
Jeongseok Lee
ce61fc413a Use GNUInstallDirs only for CMake >= 2.8.5 2019-03-20 08:56:17 -07:00
OpenSceneGraph git repository
3ba6f3d682
Merge pull request #725 from Capostrophic/dynamiccast
Get rid of some type conversions
2019-03-16 11:33:42 +00:00
Capostrophic
de64d58e06 Override default behavior for linear vector interpolations 2019-03-16 11:31:26 +00:00
Capostrophic
35f256a9a1 Replace redundant asCullVisitor usage with a type check 2019-03-15 18:09:13 +03:00
Capostrophic
da16693b4a Add asOccluderNode method to avoid dynamic casts in group child handling 2019-03-15 18:09:13 +03:00
Jeongseok Lee
3285bdc8d8 Use GNUInstallDirs for library installation path 2019-03-14 08:46:46 -07:00
OpenSceneGraph git repository
d3174bd36c
Merge pull request #716 from AnyOldName3/patch-2
Resolve OpenGL error caused by confusion between geometry shader implementations
2019-03-14 13:51:05 +00:00
OpenSceneGraph git repository
cad7418eb2
Merge pull request #718 from flashk/patch-10
Fix osgAnimation transform not updating in some cases
2019-03-14 11:24:19 +00:00
OpenSceneGraph git repository
7b61419891
Merge pull request #722 from Capostrophic/matrix
Avoid unnecessary matrix type conversion in osgParticle
2019-03-14 10:34:37 +00:00
Robert Osfield
f6acb80357 Removed the optional code path hack 2019-03-14 10:13:15 +00:00
OpenSceneGraph git repository
4e9762ddd0
Merge pull request #723 from Capostrophic/quat
Add OSG_USE_FLOAT_QUAT build option to use single precision quaternions
2019-03-14 09:47:22 +00:00
AnyOldName3
7de007ca3e Add Visual Studio cache/options directory to .gitignore 2019-03-14 09:45:37 +00:00
Capostrophic
52fe3679a3 Add OSG_USE_FLOAT_QUAT build option to use single precision quaternions 2019-03-13 22:08:19 +03:00
Capostrophic
7c71d8dc16 Avoid unnecessary matrix type conversion in osgParticle 2019-03-10 15:51:44 +03:00
flashk
22c8c669e7
Update StackedTransform.cpp 2019-03-05 09:32:55 -08:00
Chris Djali
fbb5839298
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-02-26 17:19:06 +00:00
Robert Osfield
572e1d75a4 Merge branch 'master' of https://github.com/openscenegraph/OpenSceneGraph 2019-02-25 15:07:38 +00:00