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