OpenSceneGraph/examples
Robert Osfield 75b9cd3627 Completed support for assigning 3D osg::Image to osg::Texture2DArray.
Improved the osgtexture2DArray example to add --mipmap and --packed command line options to help with testing.


git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14775 16af8721-9629-0410-8352-f15c8da7e697
2015-03-11 17:27:08 +00:00
..
osg2cpp Changed the default directory for the output files to be the current working directory, 2014-01-20 17:03:29 +00:00
osganalysis From Alberto Luacas, typo fixes 2011-07-17 16:24:47 +00:00
osgAndroidExampleGLES1 From Jordi Torres, "We must use JNI_FALSE instead of false in JNI code. Otherwise the examples will not compile. This patch should be applied to osgAndroidExampleGLES1/jni and osgAndroidExampleGLES2/jni. the osgNativeLib.cpp is the same. " 2013-05-24 17:06:08 +00:00
osgAndroidExampleGLES2 From Jordi Torres, "We must use JNI_FALSE instead of false in JNI code. Otherwise the examples will not compile. This patch should be applied to osgAndroidExampleGLES1/jni and osgAndroidExampleGLES2/jni. the osgNativeLib.cpp is the same. " 2013-05-24 17:06:08 +00:00
osganimate Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osganimationeasemotion Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:59:33 +00:00
osganimationhardware Clean up up osg::Geometry, removing long deprecated support for array indices and BIND_PER_PRIMITIVE binding that forced OpenGL slow paths. osg::Geometry is now smaller and only supports OpenGL fasts paths. 2013-06-18 11:18:28 +00:00
osganimationmakepath Converted FrameStamp::g/setFrameNumber from int to uint 2010-12-22 20:11:05 +00:00
osganimationmorph Fixed memory leak by introducing use of ref_ptr<> 2010-12-20 12:03:56 +00:00
osganimationnode Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osganimationskinning Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:59:33 +00:00
osganimationsolid Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:59:33 +00:00
osganimationtimeline Introduce new osgGA::Event and osgGA::EventHandler base classes that the old GUIEventAdapter and GUIEventHandler now subclass from. 2013-10-25 14:54:15 +00:00
osganimationviewer Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:59:33 +00:00
osgatomiccounter From David Callu, "Here an update of osg::Uniform : 2012-03-29 09:43:12 +00:00
osgautocapture From Christophe Herreman, Added viewer.setCameraManipulator( keyswitchManipulator.get() ) to fix problem with master Camera not being updated 2012-04-26 10:07:36 +00:00
osgautotransform Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgbillboard Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgblenddrawbuffers From Wand Rui, "I've rewritten the osgblenddrawbuffers example to use the new BlendFunci and Capability classes. Hope it will tell others how to make use of the new functionality and why they are important in modern MRT-based applications." 2014-12-09 19:20:05 +00:00
osgblendequation Fixed typo 2014-12-02 15:21:24 +00:00
osgcallback Fixed build 2014-08-19 09:00:42 +00:00
osgcamera Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgcatch Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgclip Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgcluster Fixed warnings. 2014-11-26 16:04:33 +00:00
osgcompositeviewer Introduced new scheme for handling mouse events with osgViewer. The new scheme enables robust event handling even when using distortion correction render to texture Cameras. 2013-05-03 19:26:27 +00:00
osgcomputeshaders From Sebastian Messerschmidt, "Original shader was not running on various NVidia cards due to old syntax in shader." 2014-01-07 16:15:50 +00:00
osgcopy Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgcubemap MOved SampleMaski::Extensions into osg::GL2Extensions 2014-12-07 17:31:49 +00:00
osgdatabaserevisions Fixed typo of commercial 2010-11-22 11:22:03 +00:00
osgdelaunay Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgdepthpartition Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgdepthpeeling Further work on Bound class/Node::getBound() and Drawable::getBound() and usage in OSG codebase 2014-05-14 16:01:40 +00:00
osgdirectinput Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgdistortion Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgdrawinstanced Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgfadetext
osgfont From Andreas Henne, Support for GL3 core profile in osgText 2015-02-25 18:56:29 +00:00
osgforest 2014-05-14 10:19:43 +00:00
osgfpdepth Fixes for warnings 2015-02-27 04:29:30 +00:00
osgframerenderer Added support for RGBA colour buffer in osgframerenderer using the --rgba command line option (--rgb selects the standard non colour frame buffer which is the default). 2012-12-17 15:58:57 +00:00
osgfxbrowser Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osggameoflife Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osggeometry Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osggeometryshaders Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osggpucull From PawelKsiezopolski, "This submission contains a new example for OSG : a geometry instancing rendering 2014-11-25 10:58:23 +00:00
osggpx Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osggraphicscost Moved GraphicsCostEstimator from osgUtil into core OSG library 2011-02-03 12:22:09 +00:00
osghangglide Fixed warning 2013-10-24 20:22:13 +00:00
osghud Further work on Bound class/Node::getBound() and Drawable::getBound() and usage in OSG codebase 2014-05-14 16:01:40 +00:00
osgimagesequence Refactored ImageSequence to better handle random access usage. 2012-11-08 11:19:31 +00:00
osgimpostor With assistance from Sukender, moved the depreacted osg::Geometry vertex indices and AttributeBinding definitions out into a separated namespace/class so to use 2013-06-25 16:10:24 +00:00
osgintersection
osgkdtree
osgkeyboard From Alexander Sinditskiy, "reason of this changes described in http://forum.openscenegraph.org/viewtopic.php?t=7596 2011-01-27 16:23:48 +00:00
osgkeyboardmouse Reverted change of Node::ParentList from being a vector<Node*> back to a vector<Group*> 2014-06-03 09:52:55 +00:00
osgkeystone Refactored the support for stereo and keystone RTT setup so that it can be applied to an existing Camera. 2013-05-20 19:24:34 +00:00
osglauncher Introduced new scheme for handling mouse events with osgViewer. The new scheme enables robust event handling even when using distortion correction render to texture Cameras. 2013-05-03 19:26:27 +00:00
osglight Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osglightpoint
osglogicop Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osglogo Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgmanipulator From Andreas Henne, "in my application I use the TrackballDragger, the ScaleAxisDragger and the TranslateAxisDragger. Unfortunately these draggers are very thin and they do not provide methods to change their visual appearance. Another problem that I noticed is that lighting on the cones and boxes of the TranslateAxisDragger and ScaleAxisDragger is incorrect when the draggers are scaled due to not normalized normals. This small patch adresses these problems, providing methods to make the draggers thicker. I have attached a zip archive containing the corresponding files and also a modified osgManipulator example that makes use of the modifications. I don't want to retain any copyright." 2013-10-18 07:31:22 +00:00
osgmemorytest
osgmotionblur Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgmovie Fixed warning 2014-12-18 11:09:43 +00:00
osgmultiplemovies From Laurens Voerman, "two minor fixes, both in a CMakeList.txt file, 2013-09-09 12:33:18 +00:00
osgmultiplerendertargets Added osg::Capability and Cabibilityi base classes to wrap up glEnable/glDisable + glEnablei/glDisablei functionality, with osg::Enablei and osg::Disablei concrete implementations. 2014-12-03 17:31:16 +00:00
osgmultitexture Moved GL2Extensions functionality into the include/osg/GLExtensions header and new GLExtensions object. 2014-12-10 10:38:12 +00:00
osgmultitexturecontrol Converted FrameStamp::g/setFrameNumber from int to uint 2010-12-22 20:11:05 +00:00
osgmultitouch From Stephan Huber, * GUIEventAdapter: add support for getting normalized touch points 2013-11-18 13:25:55 +00:00
osgmultiviewpaging From Mathias Froehlich, "Attached are most of the fixes that are required to build osg on solaris and 2010-12-02 14:13:54 +00:00
osgoccluder Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgocclusionquery With assistance from Sukender, moved the depreacted osg::Geometry vertex indices and AttributeBinding definitions out into a separated namespace/class so to use 2013-06-25 16:10:24 +00:00
osgoit Moved GL2Extensions functionality into the include/osg/GLExtensions header and new GLExtensions object. 2014-12-10 10:38:12 +00:00
osgoscdevice From Stephan Huber, * GUIEventAdapter: add support for getting normalized touch points 2013-11-18 13:25:55 +00:00
osgoutline Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgpackeddepthstencil
osgpagedlod From Alberto Luacas, typo fixes 2011-07-17 16:24:47 +00:00
osgparametric
osgparticle
osgparticleeffects Reverted change of Node::ParentList from being a vector<Node*> back to a vector<Group*> 2014-06-03 09:52:55 +00:00
osgparticleshader
osgpdf
osgphotoalbum Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:59:33 +00:00
osgpick Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgplanets Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgpoints
osgpointsprite Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgposter Refactored Callback system in osg::Node, osg::Drawable, osg::StateSet and osg::StateAttribute to use a new osg::Callback base class. 2014-06-05 16:26:13 +00:00
osgprecipitation
osgprerender Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgprerendercubemap
osgpresentation Added readScript/writeScript methods to ReaderWriter 2014-07-14 15:59:06 +00:00
osgqfont Further work on Bound class/Node::getBound() and Drawable::getBound() and usage in OSG codebase 2014-05-14 16:01:40 +00:00
osgQtBrowser Replaced use of while(isRunning()) { YieldCurrentThread(); } style loops with use of join() to avoid false positives being reported by valgrind when using the helgrind tool for thread debugging. 2014-11-04 10:46:59 +00:00
osgQtWidgets From Wang Rui, "The submission includes some fixes for osgQt library and osgQtWidgets example: (1) QTextEdit now works with mouse/drag events, (2) scrollbars will change when OSG window is resizing, (3) improve rendering efficiency of QGraphicsViewAdapter so that it works with complex Qt UI, (4) add new setBackgroundWidget() method to indicate a 'background widget', which will ignore mouse/key events on it and pass them to the 3D scene." 2014-11-19 11:30:53 +00:00
osgreflect Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgrobot
osgscalarbar From Kristofer Tingdahl, "the vertical bar is upside down, and hence not as the documentation says it should be. This is corrected with this patch" 2014-01-28 11:01:28 +00:00
osgscreencapture Moved GL2Extensions functionality into the include/osg/GLExtensions header and new GLExtensions object. 2014-12-10 10:38:12 +00:00
osgscribe Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgsequence Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgshadercomposition Fixed StateSet::Define names to match OpenSceneGraph-Data/shaders. 2015-03-01 15:20:37 +00:00
osgshadergen Ran svn propset -R svn:eol-style native . on the OpenSceneGraph 2011-04-19 11:40:22 +00:00
osgshaders Moved osgshaders example across to use the new osgUtil::PerlinNoise example 2011-12-13 21:14:33 +00:00
osgshaderterrain Removed old GL2Extensions class, replacing it with a typedef to GL2Extensions 2014-12-10 10:44:58 +00:00
osgshadow Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgshape
osgsharedarray Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgsidebyside Changed NodeVisitor so that is subclasses from osg::Object rather than osg::Referenced to enable it to be used with serialization and scripting 2013-09-24 15:08:23 +00:00
osgsimplegl3 Fixed osgsimplegl3 example's set up of the main camera. 2014-11-24 14:09:14 +00:00
osgsimpleshaders From Christian Buchner, "The attached openscenegraph example is much simpler than 2012-03-06 10:29:47 +00:00
osgsimplifier Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgsimulation Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgslice
osgspacewarp Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgspheresegment Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgspotlight Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgSSBO Build fix 2014-12-10 18:23:32 +00:00
osgstaticviewer From Wang Rui, "I've finally completed the static build support for dotosg wrapper and 2010-11-11 11:47:24 +00:00
osgstereoimage Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgstereomatch Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgteapot 2014-05-14 10:19:43 +00:00
osgterrain Changed the toggle of defines so that it works with assumed defaults now set up by the GeometryPool so that when toggling it doesn't have a delay in what the user would expect 2015-02-20 15:12:57 +00:00
osgtessellate Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgtessellationshaders From Michael McDonnel, "The tessellation shader example has a small bug.The middle of the 2015-03-02 12:09:25 +00:00
osgtext From Andreas Henne, Support for GL3 core profile in osgText 2015-02-25 18:56:29 +00:00
osgtext3D Resolved warnings reported by g++ 4.6's -Wunused-but-set-variable. 2011-06-22 12:30:01 +00:00
osgtexture1D Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgtexture2D Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgtexture2DArray Completed support for assigning 3D osg::Image to osg::Texture2DArray. 2015-03-11 17:27:08 +00:00
osgtexture3D Updated the comments to be more relevant 2015-03-11 15:44:23 +00:00
osgtexturecompression
osgtexturerectangle Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgthirdpersonview Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgthreadedterrain Resolved warnings reported by g++ 4.6's -Wunused-but-set-variable. 2011-06-22 12:30:01 +00:00
osgtransferfunction Fixed windows build warnings 2014-12-05 10:37:20 +00:00
osgtransformfeedback Fixed warning 2015-01-22 15:07:50 +00:00
osguniformbuffer From Tim Moore, "Here is initial support for uniform buffer objects. The binding between a buffer object and an indexed target is implemented as a new StateAttribute, UniformBufferBinding. I've included an example program based on the code in the ARB_uniform_buffer_object specification. 2010-11-29 17:43:27 +00:00
osgunittests Replaced use of while(isRunning()) { YieldCurrentThread(); } style loops with use of join() to avoid false positives being reported by valgrind when using the helgrind tool for thread debugging. 2014-11-04 10:46:59 +00:00
osguserdata Refactored the UserDataContainer so that the osg::UserDataContainer is now a pure virtual base class, 2011-06-09 12:57:14 +00:00
osguserstats Replaced use of while(isRunning()) { YieldCurrentThread(); } style loops with use of join() to avoid false positives being reported by valgrind when using the helgrind tool for thread debugging. 2014-11-04 10:46:59 +00:00
osgvertexattributes Replaced deprecated osg::Geometry::set*Binding() usage. 2013-06-27 09:54:12 +00:00
osgvertexprogram Moved GL2Extensions functionality into the include/osg/GLExtensions header and new GLExtensions object. 2014-12-10 10:38:12 +00:00
osgviewerCocoa From Stephan Huber, build fix 2013-10-17 14:02:15 +00:00
osgviewerFLTK
osgviewerFOX From Colin McDonald and Robert Osfield, converted Traits::sharedContext from GraphicsContext* to osg:observer_ptr<GraphicsContext> to prevent dangling pointer issues. 2012-09-05 21:03:41 +00:00
osgviewerGLUT
osgviewerGTK
osgviewerIPhone From Stephan Huber, "attached are some fixes to the osc-plugin and the touch-implementations for iOS and os x and other small bugfixes. These fixes will normalize the orientation of the touch points, and transmitting the touch points over osc via the TUIO-protocol works now more robustly between two osg-applications. 2014-01-23 15:37:48 +00:00
osgviewerMFC Replaced use of while(isRunning()) { YieldCurrentThread(); } style loops with use of join() to avoid false positives being reported by valgrind when using the helgrind tool for thread debugging. 2014-11-04 10:46:59 +00:00
osgviewerQt From Jonathan Greig, "I was testing out the example and it works fine as a standalone example, but I found that it didn't work as expected when adding the class to some existing code I have to test it out. The osg widget was appearing but it didn't appear to be updating. After tweaking it to pass on the parent QWidget pointer from my code, it worked as expected. I added the WindowFlags to the attached file for good measure. If you look at the Qt Documentation for QWidget ( http://doc.qt.io/qt-5/qwidget.html#QWidget ), you'll see that is exactly where I got this from. When subclassing a widget as such, you should allow the user to pass in the parent at least, considering that has a major effect on how or if Qt may clean up the memory." 2015-02-25 19:19:37 +00:00
osgviewerSDL
osgviewerWX From Colin McDonald and Robert Osfield, converted Traits::sharedContext from GraphicsContext* to osg:observer_ptr<GraphicsContext> to prevent dangling pointer issues. 2012-09-05 21:03:41 +00:00
osgvirtualprogram
osgvnc Added password support into osgvnc example and vnc plugin 2011-10-26 12:29:38 +00:00
osgvolume Changed osgvolume example to use the new tf plugin rather than having local code for reading transfer function 2014-09-16 17:40:13 +00:00
osgwidgetaddremove From Mattias Helsing, "Fixes two of the osgWidget examples that were broken due to changed 2011-04-26 12:07:37 +00:00
osgwidgetbox Introduced new scheme for handling mouse events with osgViewer. The new scheme enables robust event handling even when using distortion correction render to texture Cameras. 2013-05-03 19:26:27 +00:00
osgwidgetcanvas Resolved warnings reported by g++ 4.6's -Wunused-but-set-variable. 2011-06-22 12:30:01 +00:00
osgwidgetframe
osgwidgetinput
osgwidgetlabel
osgwidgetmenu From Alberto Luacas, typo fixes 2011-07-17 16:24:47 +00:00
osgwidgetmessagebox Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgwidgetnotebook
osgwidgetperformance
osgwidgetprogress Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgwidgetscrolled
osgwidgetshader
osgwidgetstyled
osgwidgettable
osgwidgetwindow Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
osgwindows Replaced .osg with .osgt file usage 2011-06-14 16:54:20 +00:00
CMakeLists.txt Work in progress on new osgtexture2DArray example 2015-03-10 18:07:17 +00:00