Commit Graph

2361 Commits

Author SHA1 Message Date
Robert Osfield
19499d4109 Added ToggleFrustumHandler that toggles the use of the custom frustum when the 'c' key is pressed. 2020-12-24 13:41:42 +00:00
Robert Osfield
38ed11b924 Added custom InitialFrustumCallback 2020-12-24 09:53:09 +00:00
Robert Osfield
5f03aec6bc Added support for vertex colours 2020-11-12 18:35:16 +00:00
Robert Osfield
8bad3be995 Removed debug right eye camera clear colour setting 2020-11-12 18:32:27 +00:00
Robert Osfield
d77a08bfe7 Fixed format 2020-11-12 18:05:12 +00:00
Robert Osfield
b244e658d6 Removed debug code path 2020-11-12 17:22:03 +00:00
Robert Osfield
9e161a5559 Removed the copyright notices as the code is new and doesn't require the standar OSGPL license. 2020-11-12 17:19:23 +00:00
Robert Osfield
0b0457f46b Added uniform arrays for left and right view and projection matrix offsets 2020-11-12 17:04:22 +00:00
Robert Osfield
e93753e261 Added ovr related shader variables 2020-11-12 15:53:38 +00:00
Robert Osfield
c4c0577726 Selected single threading to avoid multibuffering of multiview structures 2020-11-12 15:52:24 +00:00
Robert Osfield
efe358048b Updated shaders for GL_OVR_multiview2 usage 2020-11-12 15:13:29 +00:00
Robert Osfield
c1b3a30e7c Copied StandardStereo class renamed to MultivewOVR to use as base of multiviewOVR work. 2020-11-12 12:36:24 +00:00
Robert Osfield
d6ce7550e3 Added standard side by side stereo config to use as a comparison to multviewOVR implementation 2020-11-12 12:22:40 +00:00
Robert Osfield
6831e072e4 Moved osgmultiviewpaging to osgcustompager to avoid name confusion with new multiview extension example 2020-11-11 14:32:28 +00:00
Robert Osfield
7994bfa767
Merge branch 'OpenSceneGraph-3.6' into build/windows_clang_3.6_target 2020-11-10 14:41:56 +00:00
Alberto Luaces
2ade061ced Code comments, log strings and some variable spell fixes. 2020-10-29 15:14:29 +00:00
MeyerFabian
ba70c7d543 build/windows_clang 2020-07-21 17:37:24 +02:00
Scott Giese
6c908e9081 osgsimplegl3: fix minor typo 2020-04-29 09:18:54 +01:00
Robert Osfield
cdbec116fa Added arguments to viwer construction to allow better command line control 2020-03-13 08:33:52 +00:00
limbolily
315031fa3b
Fix navagation error about Android GLES2 example.
Android GLES2 example use event queue without initializing window rectangle with graphics context,that produce navigation error.
2020-01-06 14:48:34 +08:00
PntAndCnt
3fbf24759f Fix a typo and invisible 3dtext in examples/osgtext.
Second text alignment is wrong when "--alignment" specified.

3D text radius is too small, only SCREEN_COORDS can be seen.

Text position should multiply radius.
2019-12-13 10:23:47 +00:00
Robert Osfield
bf208e1d10 Changed the #extension enable 2019-07-25 14:58:17 +01:00
Robert Osfield
59f417f1e0 Added test of picking 2019-07-15 16:13:57 +01:00
Laurens Voerman
4b6d9287bc replaced "if (apm || !apm->valid())" 2019-06-14 15:46:55 +01:00
Robert Osfield
9e18a7542b 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 13:55:39 +01:00
Robert Osfield
1c65815f4e Fixed crash on exit issues with osgFX, osgParticle, osgSim and the osgforest example 2019-01-07 17:46:02 +00:00
Thomas Hogarth
e8ba57b22f Improved iOS cmake support for xcode 9.4 and cmake 3.11 2018-12-10 08:22:36 -07:00
Boris Pek
7eaceb0baa fix builds with case sensitive includes
Tested during cross-compilation for MS Windows using MinGW.
2018-10-10 18:26:43 +01:00
Julien Valentin
8a29c504e4 add version and required extension
let a chance to work on intel chipset
2018-10-02 11:06:22 +01:00
Robert Osfield
66246703bf Warning fixes 2018-09-11 15:32:44 +01:00
Robert Osfield
fb09be05a9 Fixed warning 2018-09-11 12:29:40 +01:00
mp3butcher
385cfa0cbf fix examples context creation for X11
(when display not :0.0)
2018-09-11 08:40:02 +01:00
Robert Osfield
257c2deb86 Added greater control of how cubemap is set up and controlled 2018-09-11 08:11:27 +01:00
Alex Burton
a7747972dc updated osgviewerWX to remove deprecated calls in wxWidgets 3.x 2018-07-27 17:12:07 +01:00
弥继平
2205506aa3 Fixed the position of the viewport for the camera
The position of viewport doesn't setup properly, some part of viewer is out of CMFC_OSG_MDIView,  and not visible.
2018-06-18 19:38:27 +01:00
Robert Osfield
3b563ab21b Fixed create of graphics context by explicting adding USE_GRAPHICSWINDOW to force the WindowingSystemInterface to initialize 2018-05-18 12:47:34 +01:00
Alberto Luaces
02c310982e Fix typos and spelling. 2018-04-23 11:03:37 +01:00
Robert Osfield
709194c88c Replaced osgUtil::IntersectVisitor usage with osgUtil::InteresectionVisitor 2018-04-20 14:32:34 +01:00
Robert Osfield
a082b57c3f Removed usage of the osgUtil::TriStripVisitor is it generates osg::Geometry that perform very poorly when using VBO and VAO's vs GL DisplayLists.
With DisplayLists being deprecated in GL and VBO and VAO becoming standard it's best to standardize on using the osgUtil::MeshOptimizers instead of TripStrupVisitor
2018-04-20 11:44:44 +01:00
Robert Osfield
d88f0c4cd1 Added --equalize-boundaries -e command line option to call terrain->setEqualizeBoundaries(true) 2018-04-18 10:03:52 +01:00
Robert Osfield
7ab1208c65 Renamed osg::ComputeDispatch to osg::DispatchCompute to make sure the nameing between GL and OSG is consistent i.e glDispatchCompute -> osg::DispatchCompute
Updated AUTHORS.txt, NEWS.txt and README.txt for CMakeLists.txt for 3.6.0 release
2018-04-07 17:59:55 +01:00
Robert Osfield
d1c54223cb Added osgtext --alignment test to look the effect of calling Text::setAlignent() before and after the Text::setText(). 2018-04-06 14:10:43 +01:00
Robert Osfield
b8b105b54e Added EventHandler to report key and mouse events for debugging purposes 2018-04-04 14:10:43 +01:00
Robert Osfield
3be15a310e Added -4 command line entry that creates two seperate windows within CompositeViewer 2018-04-04 14:10:43 +01:00
Robert Osfield
3450b9fee8 Removed osgShadow::ShadowVolume as it functionality isn't functional 2018-04-03 12:23:18 +01:00
Robert Osfield
88e8b1ede0 To osgclipe example added --text textstring and --simple command line options to test mixing text and clipping 2018-03-30 15:16:45 +01:00
Robert Osfield
1930d9c345 Fixed read shader to safer ref version 2018-03-24 11:23:59 +00:00
Robert Osfield
640e7bc06c Fixed spotlight colour mixing 2018-03-24 10:59:15 +00:00
Michael Kapelko
96b586c165 Provide osgemscripten example CMake flags in a more stable way 2018-03-23 16:42:40 +00:00
Robert Osfield
b563f1bd78 Fixed build issues when building with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF 2018-03-19 14:08:47 +00:00