OpenSceneGraph/examples
Robert Osfield e5a9eaa711 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.
A few things remain to do:
* The binding between a uniform block in a shader program and a buffer indexed target number is fixed, like a vertex attribute binding. This is too restrictive because that binding can be changed without relinking the program. This mapping should be done by name in the same way that uniform values are handled i.e., like a pseudo state attribute;

* There's no direct way yet to query for the offset of uniforms in uniform block, so only the std140 layout is really usable. A helper class that implemented the std140 rules would be quite helpful for setting up uniform blocks without having to link a program first;

* There's no direct support for querying parameters such as the maximum block length, minimum offset alignment, etc. Having that information available outside of the draw thread would make certain instancing techniques easier to implement."
2010-11-29 17:43:27 +00:00
..
osg2cpp From Jean-Sebastien Guay, Explanation: 2009-11-27 15:39:07 +00:00
osganalysis From Magnus Kessler, "Typo in usage string of examples/osganalysis 2010-11-26 10:31:34 +00:00
osganimate From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osganimationeasemotion Fixed warning 2010-03-25 14:12:28 +00:00
osganimationhardware From Cedric Pinson, "Here a list of changes: 2010-01-27 12:24:55 +00:00
osganimationmakepath Fixed warnings 2009-01-07 11:24:47 +00:00
osganimationmorph From Wang Rui, "Attached is the osgAnimation wrappers for serialize IO operations. A 2010-04-19 10:35:18 +00:00
osganimationnode Fixed warnings 2009-01-07 11:24:47 +00:00
osganimationskinning From Cedric Pinson, "Here a list of changes: 2010-01-27 12:24:55 +00:00
osganimationsolid From Jan Klimke, "I did recently some work understanding the osgAnimation classes. Here the osganimationsolid example seems not to be very helpful at the moment. There are basically no comments in it and additionally there is a second animation defined which was simply not working (wrong channel type for angle animation). I added some comments and fixed the example to contain 2 working animations by now. I think this could help others who are trying to understand the osgAnimation plugin. 2010-11-04 15:24:00 +00:00
osganimationtimeline From Cedric Pinson, updates to osganimation example to keep in sync with changes with osgAnimation, and introduction of a hardware skinning example 2009-10-28 13:31:24 +00:00
osganimationviewer From Bryan Thrall, "Attached files fix typos, from svn 9791: 2009-02-20 11:53:49 +00:00
osgautocapture From David Fries, "Fix remote X11 crash querying GL_NUM_EXTENSIONS 2010-11-03 09:28:28 +00:00
osgautotransform To osg::AutoTransform added support for MinimumScale, MaximumScale and AutoScaleTransitionWidth parameters 2008-03-18 15:37:38 +00:00
osgbillboard From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osgblendequation From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osgbrowser Fixed empty lines 2009-09-04 09:11:49 +00:00
osgcallback From Chris Hanson, comment fix 2010-02-26 09:40:11 +00:00
osgcamera Added check for Geometry pointer being valid 2009-11-26 10:12:38 +00:00
osgcatch Updated wrappers 2009-10-16 17:22:20 +00:00
osgcegui Fixed typo of commercial 2010-11-22 11:22:03 +00:00
osgclip From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osgcluster From Nguyen Van Truong, introduced the use of the ScratchPad when distributing the master killed message 2010-06-17 14:36:11 +00:00
osgcompositeviewer From Paul Melis, "While trying out the osgbrowser example (where I had forgotten to update 2009-02-08 15:56:35 +00:00
osgcopy From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osgcubemap From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osgdatabaserevisions Fixed typo of commercial 2010-11-22 11:22:03 +00:00
osgdelaunay From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)." 2007-12-10 17:30:18 +00:00
osgdepthpartition Fixed build error by replacing M_PI with osg::PI. 2009-04-10 11:19:34 +00:00
osgdepthpeeling From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and 2008-11-07 15:08:08 +00:00
osgdistortion Added support for --sky-light and headlight with local position at 0,0,0 2007-07-11 14:16:02 +00:00
osgdrawinstanced Tweaks to shader to fix warnings on with ATI drivers 2009-04-03 09:54:15 +00:00
osgfadetext From Mathias Froehlich, "n examples/osgfadetext/CMakeLists.txt osgSim as dependency is missing." 2007-12-06 17:07:04 +00:00
osgfont Added StateSet event handler to osgfont and osgtext to aid with debugging 2010-03-18 17:10:48 +00:00
osgforest Replaced glColor4fv call with osg::State::Color(..) 2009-11-03 16:48:48 +00:00
osgfpdepth Changed the ref_ptr<T> observer_ptr<>::lock() method to be 2010-05-28 08:57:48 +00:00
osgfxbrowser From Ulrich Hertlein, "attached is a stencil buffer-based constant-width outline f/x with example. I've also modified osgfxbrowser to setup the stencil buffer accordingly." 2009-12-08 17:41:44 +00:00
osggameoflife Removed geomoflife_frag.cpp experiement from CMakeList.txt file 2008-10-14 15:10:10 +00:00
osggeodemo From Gary Quinn, spelling fixes 2009-02-06 15:17:49 +00:00
osggeometry From Magnus Kessler, "Attached are a number of files where I have tried to fix up some of the 2010-09-15 12:00:12 +00:00
osggeometryshaders Added missing *. 2009-01-08 12:47:20 +00:00
osggpx Added support for a wider range of gpx files 2010-05-31 15:51:59 +00:00
osghangglide Renamed osgGA::MatrixManipualtor to osgGA::CameraManipulator so its name better reflects it's function 2010-05-27 15:54:37 +00:00
osghud From Mathias Goldau, "Added very brief documentation when to use the triangle mesh class. I 2010-11-01 10:31:30 +00:00
osgimagesequence Warning fixes 2009-02-03 15:28:53 +00:00
osgimpostor Renamed osgGA::MatrixManipualtor to osgGA::CameraManipulator so its name better reflects it's function 2010-05-27 15:54:37 +00:00
osgintersection From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osgkdtree Cleaned up osgkdtree example 2008-07-12 11:19:25 +00:00
osgkeyboard From Melchior Franz, "The GUIEventAdapter header file had KeySymbols for the super and 2008-04-11 11:10:12 +00:00
osgkeyboardmouse From Peter Hrenka, "Due to popular demand I would like to submit this 2007-12-08 16:37:05 +00:00
osglauncher From Jean-Sebastien Guay, warning fixes 2009-02-05 10:14:49 +00:00
osglight From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osglightpoint From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osglogicop From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osglogo Fixed positioning of wings 2008-10-27 10:40:13 +00:00
osgmanipulator Introduced TabBoxTrackballDragger 2009-08-05 16:02:44 +00:00
osgmemorytest From Gary Quinn, spelling fixes 2009-02-06 15:17:49 +00:00
osgmotionblur From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osgmovie From Jean-Sebastien Guay, build fixes for Mingw 2010-01-18 14:27:20 +00:00
osgmultiplerendertargets From J.P Delport, "I changed the default HDR mode to the ARB format and put in comments for some other possible modes. 2008-12-17 17:23:17 +00:00
osgmultitexture From Gary Quinn, spelling fixes 2009-02-06 15:17:49 +00:00
osgmultitexturecontrol Fixed handling of Terrain/CoordinateSystem node so that the code now handles the fact that Terrain now subclasses from CoordinateSystemNode. 2010-04-29 09:46:14 +00:00
osgmultiviewpaging Refactored the PagedLODList implementation so that it's now done via a base class that enables different implementations to be easily tried. Initial concrete PagedLODList is the SetBasedPagedLODList. 2010-06-03 14:14:40 +00:00
osgoccluder From Magnus Kessler, "Attached are a number of files where I have tried to fix up some of the 2010-09-15 12:00:12 +00:00
osgocclusionquery From Paul Melis, "While trying out the osgbrowser example (where I had forgotten to update 2009-02-08 15:56:35 +00:00
osgoit From Mathias Froehlich, "I have now put together what I have for the order independent transparency or 2010-07-12 11:30:15 +00:00
osgoutline From Ulrich Hertlein, "I've added a command line switch '--testOcclusion' that enables display of other models in 2010-09-17 11:20:11 +00:00
osgpackeddepthstencil Fix for build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off 2008-11-25 15:57:27 +00:00
osgpagedlod From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)." 2007-12-10 17:30:18 +00:00
osgparametric Fixed compile warnings 2009-12-15 14:45:33 +00:00
osgparticle From Martin Scheffler, "osgParticle: method to set start and end tile for particle texture (for animated particles). I also updated examples/osgParticle to show the feature. 2009-11-24 15:00:11 +00:00
osgparticleeffects Replaced usage of depreacted IntersectVisitor with IntersectionVisitor 2008-10-07 14:01:14 +00:00
osgparticleshader From Wang Rui, reverted changes to osgPartcile that caused problems with osgparticleeffects. 2010-09-20 11:50:24 +00:00
osgpdf Cleaned up osgWidget::VncClient and osgWidget::Browser so that their implementations are all more consitent with the osgWidget::PdfReader. 2008-12-09 11:05:04 +00:00
osgphotoalbum Introduced osg namespace to new local GLU functions 2010-10-07 11:53:28 +00:00
osgpick From Chris Denham, added transform to cube to test picking fixes 2008-11-06 13:36:25 +00:00
osgplanets From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)." 2007-12-10 17:30:18 +00:00
osgpoints From Paul Martz, added --points option for forcing points rendering of polygonal models 2009-01-05 17:06:09 +00:00
osgpointsprite Fixed permissions 2010-06-03 15:04:58 +00:00
osgprecipitation Added support for user defined clipping of the precipitation effect, to test use: 2008-12-19 16:13:19 +00:00
osgprerender Added support for Camera::PACKED_DEPTH_STENCIL_BUFFER to .osg and .ive formats 2008-11-09 11:56:02 +00:00
osgprerendercubemap From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)." 2007-12-10 17:30:18 +00:00
osgQtBrowser Fixes for warning from qt headers 2010-03-05 15:08:03 +00:00
osgQtWidgets From Jean-Sebastien Guay, "I've added a second ctor where no argument is optional, and documented that it's meant to be used when the InteractiveImage is going to be used in a fullscreen HUD. 2010-09-09 09:47:31 +00:00
osgreflect From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)." 2007-12-10 17:30:18 +00:00
osgrobot From Jean-Sebastien Guay, replaced M_PI with osg::PI. 2008-11-08 17:53:51 +00:00
osgscalarbar From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osgscreencapture Fixed typo of commercial 2010-11-22 11:22:03 +00:00
osgscribe From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osgsequence From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osgshadercomposition Added debug State::print(std::ostream&) method and extra debug messages in ShaderComposer and ShaderAttribute. 2010-07-10 17:14:59 +00:00
osgshadergen Fixed typo of commercial 2010-11-22 11:22:03 +00:00
osgshaders From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osgshaderterrain Replaced usage of depreacted IntersectVisitor with IntersectionVisitor 2008-10-07 14:01:14 +00:00
osgshadow Added StandardShadowMap to list to test cases 2008-12-19 12:28:53 +00:00
osgshape Added enabling of lighting, and disabling of mipmapping to help out testing of GLES2 target 2009-11-10 12:01:28 +00:00
osgsharedarray From Mike Garrity, "There was an on again/off again thread on OSG users about 2007-12-11 15:55:02 +00:00
osgsidebyside Fixed warnings 2008-12-18 13:56:30 +00:00
osgsimplifier From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osgsimulation From Michael Platings, Converted std::fstream/ifstream/ofstream to osgDB::fstream/ifstream/ofstream and 2008-11-07 15:08:08 +00:00
osgslice From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)." 2007-12-10 17:30:18 +00:00
osgspacewarp From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osgspheresegment From Luc Frauciel, added extra test case accessible via -t 7. 2010-06-14 16:30:43 +00:00
osgspotlight From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +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 Added shader to convert images into greyscale when rendering in anaglyphic 2009-03-30 09:55:40 +00:00
osgstereomatch Added reference to osgstereomatch example to osgmultiplerendertargets. 2008-04-11 13:04:21 +00:00
osgteapot Added include/osg/GLObjects + .cpp which provide osg::flush*DeletedGLObjects() methods. 2007-07-06 13:08:51 +00:00
osgterrain Added window size event handler 2010-04-01 21:04:36 +00:00
osgtessellate From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osgtext Added command line option for writing out the scene graph to file. 2010-09-29 12:38:56 +00:00
osgtext3D From Jean-Sebastien Guay, build fixes for windows. 2010-11-24 20:20:57 +00:00
osgtexture1D From Eduardo Alberto Hernández Muñoz, change to using TexGenNode for setting up tex coordinates 2009-04-22 11:00:20 +00:00
osgtexture2D Added setDataVariance(DYNAMIC) to text label as it's being updated dynamically 2009-02-03 12:47:41 +00:00
osgtexture3D Introduced osg namespace to new local GLU functions 2010-10-07 11:53:28 +00:00
osgtexturecompression Added osgtexturecompression example to demonstate the quality difference between 2009-03-26 17:24:28 +00:00
osgtexturerectangle From Martin Lavery and Robert Osfield, Updated examples to use a variation of the MIT License 2007-06-12 14:20:16 +00:00
osgthirdpersonview From Paul Martz, a third person view CompositeViewer example 2008-03-04 13:30:41 +00:00
osgthreadedterrain From Wojciech Lewandowski, "Support for compressed texture arrays + mipmaps + auto mipmap generation. Changes vs OSG trunk. Thanks to Ricardo Corsi I was able to add last time tweaks and remove few issues. This version was so well tested that it has to be posted for inclusion into OSG ;-) 2010-05-21 09:34:25 +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 Fixed warning 2010-03-11 10:17:50 +00:00
osguserstats Fixed typo of commercial 2010-11-22 11:22:03 +00:00
osgvertexattributes Changed default enabling of vertex attribute mapping 2009-11-10 12:03:03 +00:00
osgvertexprogram From Mathias Froehlich, "This is a generic optimization that does not depend on any cpu or instruction 2008-09-17 16:14:28 +00:00
osgviewerCocoa From Eric Sokolowski, Cmake support for osgviewerCocoa 2008-06-26 13:08:24 +00:00
osgviewerFLTK Added setting of the Camera's projection matrix to fit the windowing aspect ratio. 2007-06-23 11:21:54 +00:00
osgviewerFOX Ran conversion of tabs to four spaces 2007-09-14 11:00:32 +00:00
osgviewerGLUT From Jean-Sebastien Guay, warning fixes 2009-02-05 10:14:49 +00:00
osgviewerGTK Removed std:: from in front of strcmp and added a string.h 2008-09-01 10:19:06 +00:00
osgviewerIPhone From Tomas Holgarth and Stephan Huber, " 2010-11-26 18:19:28 +00:00
osgviewerMFC From Wang Rui, "For a long time, the osgviewerMFC example uses addSlave() to setup the 2010-06-14 15:25:05 +00:00
osgviewerQT Fixes for building OSG with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF. 2010-05-12 11:37:27 +00:00
osgviewerQtContext Build fixes for GLES1, GLES2 and GL3 2010-10-08 17:13:59 +00:00
osgviewerQtWidget Fixes for building OSG with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF. 2010-05-12 11:37:27 +00:00
osgviewerSDL From Jean-Sebastien Guay, build fixes for Mingw 2010-01-18 14:27:20 +00:00
osgviewerWX From J.P. Delport, "simple addition to make the scroll wheel work in the example." 2009-11-19 11:21:05 +00:00
osgvirtualprogram From Magnus Kessler, "After a closer look at this particular issue, I used some grep and sed magic 2010-09-30 16:57:02 +00:00
osgvnc Cleaned up osgWidget::VncClient and osgWidget::Browser so that their implementations are all more consitent with the osgWidget::PdfReader. 2008-12-09 11:05:04 +00:00
osgvolume From Jean-Sebastien Guay, osgDB functions to expand wildcards - required to aid windows consule usage as this doesn't not automatically expand * usage. 2010-11-01 11:06:12 +00:00
osgwidgetaddremove From Jeremy Moles, updates to osgwidget examples. 2008-11-28 14:36:39 +00:00
osgwidgetbox Form Roland Smeenk, "Attached is a small change to the osgWidget::EventInterface so it matches the NotifyWidget and NullWidget interface (added const). Due to this mismatch these widgets never received events. 2009-11-19 11:30:22 +00:00
osgwidgetcanvas From Cedric Pinson and Jeremey Moles, Changes to OpenSceneGraph-osgWidget-dev branch. 2008-12-16 20:29:00 +00:00
osgwidgetframe From Jeremy Moles, updates to osgwidget examples. 2008-11-28 14:36:39 +00:00
osgwidgetinput From Jeremy Moles, updates to osgwidget examples. 2008-11-28 14:36:39 +00:00
osgwidgetlabel From Jeremy Moles, updates to osgwidget examples. 2008-11-28 14:36:39 +00:00
osgwidgetmenu From Jeremy Moles, updates to osgwidget examples. 2008-11-28 14:36:39 +00:00
osgwidgetmessagebox From Cedric Pinson and Jeremey Moles, Changes to OpenSceneGraph-osgWidget-dev branch. 2008-12-16 20:29:00 +00:00
osgwidgetnotebook From Jeremy Moles, updates to osgwidget examples. 2008-11-28 14:36:39 +00:00
osgwidgetperformance From Jeremy Moles, updates to osgwidget examples. 2008-11-28 14:36:39 +00:00
osgwidgetprogress From Cedric Pinson and Jeremey Moles, Changes to OpenSceneGraph-osgWidget-dev branch. 2008-12-16 20:29:00 +00:00
osgwidgetscrolled Intoduce new osgWidget::PdfReader and osgWidget::VncClient front ends to osgWidget, 2008-12-07 17:02:30 +00:00
osgwidgetshader Renamed enums in osgWidget from ALLCAPITALS to normal OSG conventional of AllCapital 2008-07-25 20:50:42 +00:00
osgwidgetstyled Fixed warnings 2008-12-18 13:56:30 +00:00
osgwidgettable From Cedric Pinson and Jeremey Moles, Changes to OpenSceneGraph-osgWidget-dev branch. 2008-12-16 20:29:00 +00:00
osgwidgetwindow Fixed warnings 2008-12-18 13:56:30 +00:00
osgwindows From Thibault Genessay, "You'll find attached a fix for the comments of the osgwindows example. It fixes a typo in the comments which is quite disturbing for newbies trying to learn using the source (twice 'left' instead of 'left' and 'right'). 2007-07-03 17:32:19 +00:00
CMakeLists.txt 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