Commit Graph

14921 Commits

Author SHA1 Message Date
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