Commit Graph

13586 Commits

Author SHA1 Message Date
Robert Osfield
10d2f05c31 Fixes shadows warnings
(cherry picked from commit ae3ba28fee)
2021-09-23 11:48:15 +02:00
Robert Osfield
61ecf0a7e2
Merge pull request #982 from rhabacker/3.4-add-plugin-env-support
Add support for showing environment variables provided by osg plugins
2020-11-10 16:22:36 +00:00
Ralf Habacker
a14c9f3e43 Use new method supportsEnvironment() from class ReaderWriter in client code 2020-08-19 11:21:46 +02:00
Ralf Habacker
792288f8bb Add support for showing environment variables provided by osg plugins 2020-08-19 11:21:46 +02:00
Robert Osfield
1568ff2e2a Updated SO version number to reflect the API change 2019-07-15 13:20:30 +01:00
OpenSceneGraph git repository
b3569882c9
Merge pull request #770 from rhabacker/3.4-obj-plugin-fixes
obj plugin fixes
2019-07-15 13:16:59 +01:00
Ralf Habacker
6b9e8d85e4 obj plugin: Fix bug not adding first vertex index on writing GL_LINExxx array types 2019-05-29 10:13:09 +02:00
Ralf Habacker
34b9cceca3 obj plugin: Fix not writing material shininess 2019-05-29 10:13:09 +02:00
Ralf Habacker
fa0f09ff84 obj plugin: add option "NsIfNotPresent=" for setting the specular exponent of a material if not present 2019-05-29 10:02:27 +02:00
Ralf Habacker
03bfcf6a70 obj plugin: Make ObjOptionsStruct a real class 2019-05-29 10:02:16 +02:00
Ralf Habacker
49ad02dffe 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-05-29 10:02:00 +02:00
Robert Osfield
199651ebbd Added handling of the possibility of null Options pointers
(cherry picked from commit e3c48d9f45)
2019-05-29 09:47:09 +02:00
Ralf Habacker
aa95d3f9bf example_osgobjectcache: Add a check that we really get the correct nodes.
(cherry picked from commit 67e6f675e6)
2019-05-29 09:47:04 +02:00
Ralf Habacker
5cc53e1aa2 Fix finding object cache entries.
(cherry picked from commit 69929f596f)
2019-05-29 09:47:00 +02:00
Ralf Habacker
3e7f2feb6b 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.

(cherry picked from commit 85cd1c456f)
2019-05-29 09:46:55 +02:00
Robert Osfield
1f89e6eb10 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:37:34 +01:00
Robert Osfield
8656ab8a3c Fixed support for update and event callbacks on StateSet/Uniform/StateAttributes on View(er) Cameras. 2018-05-14 09:36:34 +01:00
Robert Osfield
970fc7dc5d Merged improvements from master to fix crash when using Terrrain::setEqualizeBoundaries(true); 2018-04-18 10:44:47 +01:00
Robert Osfield
81b7e9e7c2 Fixed the handle of boundary equalization 2018-04-18 10:28:29 +01:00
Robert Osfield
1bf6acd80d Added --equalize-boundaries -e command line option to call terrain->setEqualizeBoundaries(true) 2018-04-18 10:28:02 +01:00
Robert Osfield
018383dca1 Added -4 command line entry that creates two seperate windows within CompositeViewer 2018-04-04 12:30:24 +01:00
Robert Osfield
e486e487db Removed stray CMAkeLists.txt from TARGET_SRC list 2018-04-01 10:41:42 +01:00
Robert Osfield
ddce3e0079 To osgclipe example added --text textstring and --simple command line options to test mixing text and clipping 2018-03-30 15:38:30 +01:00
Robert Osfield
68ec892419 Re-ordered the creating of the DatagbaseThread to avoid startThread being called twice. 2018-03-25 12:28:53 +01:00
Robert Osfield
20cbb25cd1 Added check if thraeding is running before executing start thread. 2018-03-25 12:28:28 +01:00
Robert Osfield
7e476c6f63 Merge branch 'OpenSceneGraph-3.4' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.4 2018-03-22 17:02:07 +00:00
Robert Osfield
68ba89c6dc 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 17:01:17 +00:00
Robert Osfield
cae533dca3 Made CMake 2.8.0 mininum release for build 2018-03-22 16:55:44 +00:00
Victor
74b4e8a758 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:40:16 +00:00
Glen A Johnson Jr
2922eeb2f4 Fixed handling external window integration osgViewer::GraphicsWindowWin32 2018-03-12 16:36:11 +00:00
Robert Osfield
e5ddfcd501 Fixed spacing 2018-03-12 16:31:05 +00:00
Robert Osfield
9ed77cb500 Added missing setDrawBuffer/setReadBuffer() 2018-03-07 10:13:16 +00:00
Robert Osfield
a9f5ce5d91 Merge branch 'OpenSceneGraph-3.4' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.4 2018-03-07 09:38:08 +00:00
Robert Osfield
ee3e820277 Added missing Camera::setDrawBuffer()/setReadBuffer() 2018-03-07 09:37:11 +00:00
Robert Osfield
14fdc5da8e Merged fixes from master 2018-03-06 10:22:05 +00:00
Robert Osfield
7890951ff4 Merge branch 'OpenSceneGraph-3.4' of https://github.com/openscenegraph/OpenSceneGraph into OpenSceneGraph-3.4 2018-02-10 18:40:07 +00:00
Robert Osfield
b99f7aaf5a Changed internalFormat to use pixelFormat 2018-02-10 18:39:05 +00:00
Robert Osfield
54ccde5d02 Refactored the event handler so that it contains a helper NodeVistor class rather than inherits from inappropriately using multiple inheritance. 2018-02-07 18:14:20 +00:00
Robert Osfield
18721039c5 Fixed Linux NVTT build issue by restricting the addition of the new libs to just Windows 2018-01-11 10:11:55 +00:00
OpenSceneGraph git repository
ff1acce59e
Merge pull request #436 from mp3butcher/OpenSceneGraph-3.4
add missing NVTT libraries to nvtt plugin linker
2018-01-11 09:31:41 +00:00
Robert Osfield
559dad93b8 Added returns to avoid fall through between case statements 2018-01-11 08:54:20 +00:00
mp3butcher Win32
7118910edd improve FindNVTT.cmake
and add missing NVTT libraries
2018-01-11 02:21:19 +01:00
Robert Osfield
5f7b388c16 Commented out osx build 2018-01-05 13:43:53 +00:00
Robert Osfield
7e592cf1e0 Fixed return values 2018-01-05 12:16:01 +00:00
Robert Osfield
abbfc6c2eb Fixed file search for shaders 2017-11-29 11:04:53 +00:00
Robert Osfield
a99937e43a Added support for .vs, .fs. .gs, .cs etc, GLSL file extensions 2017-11-29 11:04:02 +00:00
OpenSceneGraph git repository
93bafec0ce
Merge pull request #393 from mathieu/OpenSceneGraph-3.4
Make the culling be disabled at the drawable level
2017-11-29 10:39:22 +00:00
Mathieu
1c4f0b93a0
Make the culling be disables at the drawable level not at the geode level 2017-11-29 11:06:16 +01:00
Robert Osfield
bc562a5858 Removed use of local static to avoid threading issue. 2017-11-22 11:06:09 +00:00
Robert Osfield
f59c87daee Adopted the improvements to TangentSpaceGenerator.cpp from master 2017-11-21 15:40:01 +00:00