diff --git a/AUTHORS.txt b/AUTHORS.txt index 9fd6e08be..044d5c3b7 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -1,159 +1,158 @@ -OpenSceneGraph Library 3.5.0 +OpenSceneGraph Library 3.5.2 -550 Contributors: +582 Contributors: Firstname Surname ----------------- Robert Osfield -Don Burns Stephan Huber Paul Martz Farshid Lashkari Mathias Fröhlich -Marco Jez Wang Rui Jean-Sébastien Guay -Ulrich Hertlein Mike Weiblen +Ulrich Hertlein +Marco Jez Sukender Eric Wing Cedric Pinson Brede Johansen Bob Kuehne -Michael Platings -Geoff Michel Wojciech Lewandowski +Michael Platings +Laurens Voerman +Geoff Michel Eric Sokolowsky David Callu -Laurens Voerman Colin McDonald -Trajce Nikolov Tim Moore Martin Lavery +Trajce Nikolov Mattias Helsing -Tree Jason Beverage -Luigi Calori +Jannik Heller +Tree Wed Pjotr Svetachov +Luigi Calori +Alberto Luaces Mike Wittman Jan Peciva Chris Hanson -Alberto Luaces Roland Smeenk Roger James Jeremy Moles J.P. Delport +Andy Skinner Magnus Kessler David Fries -Andy Skinner Tom Jolley Paul Melis Luc Frauciel Aurelien Albert -Pavel Moloshtan Brad Christiansen +Terry Welsh +Pavel Moloshtan Olaf Flebbe Mathieu Marache Lionel Lagarde Jason Daly Art Tevs -Terry Welsh Philip Lowman Per Fahlberg Norman Vine Chris Denham Serge Lages -Romano José Magacho da Silva -Jannik Heller +Mourad Boufarguine Alberto Farre Torben Dannhauer Sherman Wilcox -Robert Michael -Mourad Boufarguine +Romano José Magacho da Silva +Marco Fri +Glenn Waldron André Garneau Adrian Egli -Ruben Lopez -Randall Hopper -Jan Ciger -Glenn Waldron Sebastian Messerschmidt +Randall Hopper +Kristofer Tingdahl +Jan Ciger Gideon May Don Tidrow -Stephane Lamoliatte +Ruben Lopez Michael Gronager Martin Naylor -Kristofer Tingdahl Joakim Simonsson David Spilling Daniel Sjölie Bryan Thrall +Robert Michael Rafa Gaitan Mike Connell +Konstantin Matveyev Fabien Lavignotte Andreas Ekstrand Thomas Hogarth Riccardo Corsi Melchior Franz -Konstantin Matveyev +Jordi Torres Johannes Baeuerle +Stephane Lamoliatte Neil Hughes Martin Beckett Marc Helbling Joran Jessurun Gino van den Bergen -Frederic Marmond David Guthrie Csaba Halasz Cory Riddell Chuck Seberino Boris Bralo -Yefei He Sondra Iverson Simon Julier -Rune Schmidt Jensen +Ravi Mathur Rainer Oder Nico Kruithof Martin Aumueller Mario Valle Lukasz Izdebski Jorge Izquierdo Ciges -Jordi Torres Gordon Tomlinson +Frederic Marmond Frederic Bouvier Carlo Camporesi -Ben Discoe +Björn Blissing Alexander Sinditskiy +Yefei He Thibault Genessay Sasa Bistrovic -Ravi Mathur Ralf Habacker -Neil Groves Mikhail Izmestev Markus Trenkwalder Loic Dachary Joseph Steel John Shue Brad Colbert -Björn Blissing +Ben Discoe Vivek Rajan Uwe Woessner Tony Horrobin Thom DeCarlo Tatsuhiro Nishioka Tanguy Fautré -Sean Spicer Ryan Kawicki Richard Schmidt Peter Hrenka Paul de Repentigny Nikolaus Hanekamp Neil Salter +Neil Groves Mihai Radu Michael Hartman Martins Innus Maciej Krol Lilin Xiong Leandro Motta Barros +Julien Valentin Johan Nouvel Javier Taibo Hartwig Wiesmann @@ -161,13 +160,14 @@ Donn Mielcarek Corbin Holtz Blasius Czink Alexander Irion +Ulrich Fri Toshiyuki Takahei Sebastien Grignard +Rune Schmidt Jensen Rudolf Wiedemann Maria Ten Liang Aibin Katharina Plugge -Julien Valentin John Vidar Larring John Kelso John Ivar @@ -182,15 +182,17 @@ Bradley Anderegg Andreas Goebel Alok Priyadarshi Ali Botorabi -Alberto Barbati Alan Dickinson +Wee See Vladimir Shabanov Vladimir Chebaev Tugkan Calapoglu Tim Daoust Sylvain Marie +Stephane Fri Sohey Yamamoto Sergey Leontyev +Sean Spicer Santosh Gaikwad Ryan Pavlik Robert Milharcic @@ -198,6 +200,7 @@ Rene Molenaar Piotr Domagalski Phil Atkin Pawel Ksiezopolski +Patrick Neary Nathan Monteleone Miha Rav¨elj Miguel Escriva @@ -225,6 +228,7 @@ Fabio Mierlo Doug McCorkle Donald Cipperly Don Leich +Don Burns Dietmar Funck Colin Cochran Christian Ruzicka @@ -239,9 +243,9 @@ Andreas Henne Anders Backman Alexander Wiebel Alessandro Terenzi +Alberto Barbati Zach Deedler Yuzhong Shen -Wee See Warren Macchi Vincent Bourdier Terrex @@ -249,8 +253,9 @@ Tassilo Glander Steve Lunsford Stephane Simon Stephan Eilemann -Stanislav Blinov Sergey Polischuk +Sean Sat +Rune Mon Roni Zanolli Raymond de Vries Ralf Kern @@ -260,7 +265,7 @@ Philippe Renon Perry Miller Paul Palumbo Paul Obermeier -Patrick Neary +Nick Mon Nguyen Van Truong Nathan Cournia Morten Haukness @@ -268,7 +273,6 @@ Morn Michael Mc Donnell Michael Henheffer Michael Guerrero -Maya Leonard Max Bandazian Mathias Fiedler Mathew May @@ -301,8 +305,8 @@ Gill Peacegood Giampaolo Viganò Gerrick Bivins George Tarantilis +Geoff Fri Ferdi Smit -Eric Buehler Eduardo Poyart Edgar Ellis Dmitry Marakasov @@ -318,12 +322,14 @@ Christian Kehl Bradley Baker Searles Brad Anderegg Aric Aumann +Anish Thomas Andrew Sampson Andrew Lorino Alexandre Amalric Aitor Moreno Zbigniew Sroczynski Yuri Vilmanis +Yefei Wed Xin Li Wang Lam Wand Rui @@ -340,6 +346,7 @@ Valeriy Dubov Vaclav Bilek Tyge Løvset Troy Yee +Tony Vasile Tomas Hogarth Tomas Hnilica Todd Furlong @@ -353,6 +360,8 @@ Tamer Fahmy Stewart Andreason Steven Thomas Stephan Wenglorz +Stanislav Fri +Stanislav Blinov Simon Hammett Simon Carmody Simon Buckley @@ -362,13 +371,19 @@ Shane Arnott Sergey Kurdakov Sebastien Kuntz Ruth Lang +Rune Sat +Ruben Tue +Ruben The Ruben Smelik Ross Anderson Ronny Krueger Ronald van Maarseveen +Romano Wed +Romain Ouabdelkader Romain Charbit Rocco Martino Robert Swain +Robert Mon Rob Smith Rob Radtke Rob Bloemkool @@ -378,6 +393,7 @@ Remo Eichenberger Reinhard Sainitzer Rein Kadijk Ragnar Hammarqvist +R Fri Qing Shen Piotr Rak Pierre Bourdin @@ -389,6 +405,7 @@ Petr Salinger Peter Bear Peter Amstutz Per Nordqvist +Pavel Sat Paul Idstein Paul Fredrikson Paul Fotheringham @@ -402,13 +419,18 @@ Orhun Birsoy Oren Fromberg Oliver Neumann Ole-Morten Duesund +Ognjen Kostic Nicolas Brodu +Nick Thu +Nick Fri Nick Black +Neil Tue Mojtaba Fathi Mirko Viviani Mikkel Gjøl Mike Krus Mike Garrity +Mick Thu Michal Durkovic Michael Schanne Michael Polak @@ -416,6 +438,8 @@ Michael Morrison Michael Logan Michael Kapelko Michael Bach Jensen +Maya Thu +Maya Leonard Max Rhiener Max Behensky Mauricio Hofmam @@ -432,14 +456,15 @@ Martin Beck Marius Kintel Mario Guimaraes Marcus Hein +Marco Thu Marco Sciabica Marco Lehmann -Maik Keller Lukas Diduch Louis Hamilton Likasz Izebski Lewis Harmon Leigh Stivers +Laurens Loerman Laurence Muller Laura Cerritelli Kyle Centers @@ -456,7 +481,9 @@ Juan Hernando Josh Portway Jonathan Greig John Tan +John Hedström John Grant +John Farrier John Donovan John Davis John Cummings @@ -479,8 +506,10 @@ Hartmut Seichter Gunter Huber Gregory Jaegy Graeme Harkness +Github It Gian Lorenzetto George Papagiannakis +Geoff Thu Galen Faidley Frida Schlaug Frederic Smith @@ -495,6 +524,8 @@ Ferdinand Cornelissen Fajran Iman Fabien Dachicourt Erik Johnson +Eric Thu +Eric Buehler Eduardo Alberto Edmond Gheury Ed Ralston @@ -510,6 +541,7 @@ Daniel Stien Dan Minor César L. B. Silveira Cyril Brulebois +Curtis Rubel Cory Slep Clément B½sch Clay Fowler @@ -526,8 +558,9 @@ Carlos Garcea Bryce Eldridge Bruno Herbelin Brian Keener +Brede Wed +Brede Thu Brandon Hamm -Bora Utka Bill Prendergast Bernardt Duvenhage Benoit Laniel @@ -537,7 +570,6 @@ Bart Gallet Axel Volley Arjun Ramamurthy Anthousis Andreadis -Anish Thomas Andy Preece Andrew Reyonolds Andreas Roth diff --git a/ChangeLog b/ChangeLog index c0b1c14c3..4ce85e971 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,132697 +1,67215 @@ -2015-11-09 15:52 robert - - * CMakeLists.txt: Cleaned up OSX option selection code. - - Updated version for 3.5.1 dev release - -2015-11-09 15:13 robert - - * src/osg/Geometry.cpp: Fixed warning message. - -2015-11-09 15:10 robert - - * src/osgPlugins/shp/ESRIShapeReaderWriter.cpp: Addded setting of - the Locator CoordinateSystemType - -2015-11-09 10:43 robert - - * src/osg/DisplaySettings.cpp: From Jannik Heller, fix typo of - OSG_COMPILE_CONTEXTS. - -2015-11-05 14:38 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From Mathias Froehlich, - "Avoid per frame X11 roundtrips" - -2015-10-26 11:41 robert - - * src/osgUtil/CullVisitor.cpp: Restructed the setting of the - RenderStage ClearColor/ClearMask to make the code more readable - and to avoid double setting of the ClearMask. - -2015-10-23 15:04 robert - - * src/osg/DisplaySettings.cpp, src/osgPlugins/osc/CMakeLists.txt: - From Alberto Luaces, "here are two minimal capitalization fixes - for mingw cross-compilation, where case sensitivity matters." - -2015-10-23 11:07 robert - - * src/osgQt/GraphicsWindowQt.cpp: From Sebastian Messershmidt, "The - uncommented pointer type QTimerEvent */*event*/ leads to a - compiler error under visual studio 2010" - -2015-10-22 13:42 robert - - * CMakeLists.txt, applications/osgarchive/osgarchive.cpp, - applications/osgconv/osgconv.cpp, - applications/osgfilecache/osgfilecache.cpp, - applications/osgviewer/osgviewer.cpp, - applications/present3D/ReadShowFile.cpp, - applications/present3D/present3D.cpp, - examples/osg2cpp/osg2cpp.cpp, examples/osgSSBO/osgSSBO.cpp, - examples/osganalysis/osganalysis.cpp, - examples/osganimate/osganimate.cpp, - examples/osganimationhardware/osganimationhardware.cpp, - examples/osganimationmorph/osganimationmorph.cpp, - examples/osganimationtimeline/osganimationtimeline.cpp, - examples/osganimationviewer/AnimtkViewer.cpp, - examples/osgatomiccounter/osgatomiccounter.cpp, - examples/osgautocapture/osgautocapture.cpp, - examples/osgbillboard/osgbillboard.cpp, - examples/osgblenddrawbuffers/osgblenddrawbuffers.cpp, - examples/osgblendequation/osgblendequation.cpp, - examples/osgcallback/osgcallback.cpp, - examples/osgcamera/osgcamera.cpp, examples/osgcatch/osgcatch.cpp, - examples/osgclip/osgclip.cpp, examples/osgcluster/osgcluster.cpp, - examples/osgcompositeviewer/osgcompositeviewer.cpp, - examples/osgcomputeshaders/osgcomputeshaders.cpp, - examples/osgcopy/osgcopy.cpp, examples/osgcubemap/osgcubemap.cpp, - examples/osgdatabaserevisions/osgdatabaserevisions.cpp, - examples/osgdelaunay/osgdelaunay.cpp, - examples/osgdepthpartition/osgdepthpartition.cpp, - examples/osgdepthpeeling/osgdepthpeeling.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgdrawinstanced/osgdrawinstanced.cpp, - examples/osgfadetext/osgfadetext.cpp, - examples/osgfont/osgfont.cpp, examples/osgforest/osgforest.cpp, - examples/osgfpdepth/osgfpdepth.cpp, - examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osggameoflife/osggameoflife.cpp, - examples/osggeometry/osggeometry.cpp, examples/osggpx/osggpx.cpp, - examples/osggraphicscost/osggraphicscost.cpp, - examples/osghangglide/base.cpp, examples/osghangglide/sky.cpp, - examples/osghangglide/tank.cpp, - examples/osghangglide/terrain.cpp, - examples/osghangglide/trees.cpp, examples/osghud/osghud.cpp, - examples/osgimagesequence/osgimagesequence.cpp, - examples/osgimpostor/osgimpostor.cpp, - examples/osgintersection/osgintersection.cpp, - examples/osgkdtree/osgkdtree.cpp, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osgkeystone/osgkeystone.cpp, - examples/osglauncher/osglauncher.cpp, - examples/osglight/osglight.cpp, - examples/osglightpoint/osglightpoint.cpp, - examples/osglogicop/osglogicop.cpp, examples/osglogo/osglogo.cpp, - examples/osgmanipulator/osgmanipulator.cpp, - examples/osgmotionblur/osgmotionblur.cpp, - examples/osgmovie/osgmovie.cpp, - examples/osgmultiplemovies/osgmultiplemovies.cpp, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - examples/osgmultitouch/osgmultitouch.cpp, - examples/osgmultiviewpaging/osgmultiviewpaging.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgocclusionquery/osgocclusionquery.cpp, - examples/osgoit/osgoit.cpp, - examples/osgoscdevice/osgoscdevice.cpp, - examples/osgoutline/osgoutline.cpp, - examples/osgpagedlod/osgpagedlod.cpp, - examples/osgparametric/osgparametric.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgphotoalbum/ImageReaderWriter.cpp, - examples/osgphotoalbum/ImageReaderWriter.h, - examples/osgphotoalbum/PhotoArchive.cpp, - examples/osgphotoalbum/PhotoArchive.h, - examples/osgpick/osgpick.cpp, examples/osgplanets/osgplanets.cpp, - examples/osgpoints/osgpoints.cpp, - examples/osgpointsprite/osgpointsprite.cpp, - examples/osgposter/PosterPrinter.cpp, - examples/osgposter/osgposter.cpp, - examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgscreencapture/osgscreencapture.cpp, - examples/osgscribe/osgscribe.cpp, - examples/osgsequence/osgsequence.cpp, - examples/osgshadercomposition/oldshadercomposition.cpp, - examples/osgshadercomposition/osgshadercomposition.cpp, - examples/osgshadergen/osgshadergen.cpp, - examples/osgshaderterrain/osgshaderterrain.cpp, - examples/osgshadow/osgshadow.cpp, examples/osgshape/osgshape.cpp, - examples/osgsidebyside/osgsidebyside.cpp, - examples/osgsimplegl3/osgsimplegl3.cpp, - examples/osgsimplifier/osgsimplifier.cpp, - examples/osgsimulation/osgsimulation.cpp, - examples/osgslice/osgslice.cpp, - examples/osgspheresegment/osgspheresegment.cpp, - examples/osgspotlight/osgspotlight.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgstereomatch/osgstereomatch.cpp, - examples/osgteapot/osgteapot.cpp, - examples/osgterrain/osgterrain.cpp, - examples/osgtessellate/osgtessellate.cpp, - examples/osgtext/osgtext.cpp, examples/osgtext3D/osgtext3D.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgtexture2D/osgtexture2D.cpp, - examples/osgtexture2DArray/osgtexture2DArray.cpp, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgtexturecompression/osgtexturecompression.cpp, - examples/osgtexturerectangle/osgtexturerectangle.cpp, - examples/osgthirdpersonview/osgthirdpersonview.cpp, - examples/osgthreadedterrain/osgthreadedterrain.cpp, - examples/osgtransferfunction/osgtransferfunction.cpp, - examples/osguniformbuffer/osguniformbuffer.cpp, - examples/osgunittests/MultiThreadRead.cpp, - examples/osguserdata/osguserdata.cpp, - examples/osguserstats/osguserstats.cpp, - examples/osgvertexattributes/osgvertexattributes.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, - examples/osgviewerGLUT/osgviewerGLUT.cpp, - examples/osgviewerQt/osgviewerQt.cpp, - examples/osgviewerSDL/osgviewerSDL.cpp, - examples/osgvirtualprogram/CreateAdvancedHierachy.cpp, - examples/osgvirtualprogram/osgvirtualprogram.cpp, - examples/osgvolume/osgvolume.cpp, - examples/osgwidgetbox/osgwidgetbox.cpp, - examples/osgwidgetframe/osgwidgetframe.cpp, - examples/osgwidgetmenu/osgwidgetmenu.cpp, - examples/osgwidgetmessagebox/osgwidgetmessagebox.cpp, - examples/osgwidgetscrolled/osgwidgetscrolled.cpp, - examples/osgwidgetwindow/osgwidgetwindow.cpp, - examples/osgwindows/osgwindows.cpp, include/osg/Drawable, - include/osg/Geode, include/osg/Group, include/osg/Image, - include/osg/ImageSequence, include/osg/LOD, include/osg/Node, - include/osg/NodeVisitor, include/osg/Object, - include/osg/PagedLOD, include/osg/Program, include/osg/ProxyNode, - include/osg/Sequence, include/osg/Shape, - include/osg/ShapeDrawable, include/osg/StateSet, - include/osg/Switch, include/osg/Texture, include/osg/Texture1D, - include/osg/Texture2D, include/osg/Texture2DArray, - include/osg/Texture2DMultisample, include/osg/Texture3D, - include/osg/TextureCubeMap, include/osg/TextureRectangle, - include/osg/UserDataContainer, include/osgDB/ImagePager, - include/osgDB/Input, include/osgDB/InputStream, - include/osgDB/ReadFile, include/osgDB/ReaderWriter, - include/osgDB/Serializer, include/osgManipulator/Dragger, - include/osgParticle/Particle, include/osgParticle/ParticleEffect, - include/osgPresentation/SlideShowConstructor, - include/osgShadow/ShadowedScene, include/osgSim/LineOfSight, - include/osgSim/OverlayNode, include/osgTerrain/Layer, - include/osgTerrain/TerrainTile, include/osgText/Font, - include/osgText/Font3D, include/osgUtil/IntersectionVisitor, - include/osgUtil/Optimizer, include/osgViewer/CompositeViewer, - include/osgViewer/View, include/osgViewer/Viewer, - include/osgVolume/Layer, include/osgVolume/Locator, - include/osgVolume/Property, include/osgWidget/Frame, - include/osgWidget/Widget, src/osg/Config.in, - src/osg/ImageSequence.cpp, src/osgDB/FileCache.cpp, - src/osgDB/ImagePager.cpp, src/osgDB/Input.cpp, - src/osgDB/InputStream.cpp, src/osgDB/ReadFile.cpp, - src/osgFX/BumpMapping.cpp, src/osgParticle/ParticleSystem.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/gles/ReaderWriterGLES.cpp, - src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/HeightFieldLayer.cpp, - src/osgPlugins/ive/Layer.cpp, src/osgPlugins/ive/ProxyNode.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lws/SceneLoader.cpp, - src/osgPlugins/normals/ReaderWriterNormals.cpp, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgPlugins/osgjs/ReaderWriterJSON.cpp, - src/osgPlugins/osgjs/WriteVisitor.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/revisions/ReaderWriterRevisions.cpp, - src/osgPlugins/rot/ReaderWriterROT.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgPlugins/shadow/ReaderWriterOsgShadow.cpp, - src/osgPlugins/terrain/ReaderWriterOsgTerrain.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp, - src/osgPlugins/trk/ReaderWriterTRK.cpp, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/vrml/ConvertToVRML.cpp, - src/osgPresentation/Cursor.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgSim/LineOfSight.cpp, src/osgSim/ScalarBar.cpp, - src/osgTerrain/GeometryPool.cpp, src/osgTerrain/TerrainTile.cpp, - src/osgText/Font.cpp, src/osgUI/Style.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Keystone.cpp, - src/osgViewer/Viewer.cpp, src/osgWidget/Browser.cpp, - src/osgWidget/Frame.cpp, src/osgWidget/PdfReader.cpp, - src/osgWidget/VncClient.cpp, src/osgWidget/Widget.cpp, - src/osgWrappers/deprecated-dotosg/osg/ProxyNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/Shader.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture1D.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture2D.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture2DArray.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture3D.cpp, - src/osgWrappers/deprecated-dotosg/osg/TextureCubeMap.cpp, - src/osgWrappers/deprecated-dotosg/osg/TextureRectangle.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_AnisotropicLighting.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/HeightFieldLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/TerrainTile.cpp, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/CompositeShape.cpp, - src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/HeightField.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osg/Program.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp, - src/osgWrappers/serializers/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/Texture2DArray.cpp, - src/osgWrappers/serializers/osg/TriangleMesh.cpp, - src/osgWrappers/serializers/osg/Uniform.cpp, - src/osgWrappers/serializers/osg/UserDataContainer.cpp, - src/osgWrappers/serializers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/serializers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMatrixTransform.cpp, - src/osgWrappers/serializers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/serializers/osgManipulator/CompositeDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Dragger.cpp, - src/osgWrappers/serializers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/serializers/osgParticle/CompositePlacer.cpp, - src/osgWrappers/serializers/osgParticle/ModularProgram.cpp, - src/osgWrappers/serializers/osgParticle/Particle.cpp, - src/osgWrappers/serializers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/serializers/osgSim/LightPointNode.cpp, - src/osgWrappers/serializers/osgSim/ScalarBar.cpp, - src/osgWrappers/serializers/osgTerrain/CompositeLayer.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp, - src/osgWrappers/serializers/osgText/TextBase.cpp, - src/osgWrappers/serializers/osgVolume/CompositeLayer.cpp, - src/osgWrappers/serializers/osgVolume/CompositeProperty.cpp, - src/osgWrappers/serializers/osgVolume/Locator.cpp: Introduced - CMake option OSG_PROVIDE_READFILE option that defaults to ON, but - when switched to OFF disables the building of the - osgDB::read*File() methods, - forcing users to use osgDB::readRef*File() methods. The later is - preferable as it closes a potential threading bug when using - paging databases in conjunction - with the osgDB::Registry Object Cache. This threading bug occurs - when one thread gets an object from the Cache via an - osgDB::read*File() call where only - a pointer to the object is passed back, so taking a reference to - the object is delayed till it gets reassigned to a ref_ptr<>, but - at the same time another - thread calls a flush of the Object Cache deleting this object as - it's referenceCount is now zero. Using osgDB::readREf*File() - makes sure the a ref_ptr<> is - passed back and the referenceCount never goes to zero. - - To ensure the OSG builds when OSG_PROVIDE_READFILE is to OFF the - many cases of osgDB::read*File() usage had to be replaced with a - ref_ptr<> osgDB::readRef*File() - usage. The avoid this change causing lots of other client code to - be rewritten to handle the use of ref_ptr<> in place of C pointer - I introduced a serious of - templte methods in various class to adapt ref_ptr<> to the - underly C pointer to be passed to old OSG API's, example of this - is found in include/osg/Group: - - bool addChild(Node* child); // old method which can only be used - with a Node* - - tempalte bool addChild(const osg::ref_ptr& child) { - return addChild(child.get()); } // adapter template method - - These changes together cover 149 modified files, so it's a large - submission. This extent of changes are warrent to make use of the - Object Cache - and multi-threaded loaded more robust. - -2015-10-09 08:44 robert - - * ChangeLog: updated ChangeLog - -2015-10-08 15:58 robert - - * src/osg/GraphicsContext.cpp: Added osg::flushAllDeletedGLObjects - to clean up of graphics context after the existing - osg::deleteAllGLObjects() to catch any cases where delete doesn't - flush GL objects. - -2015-10-05 10:58 robert - - * src/osgDB/DatabasePager.cpp, src/osgDB/Registry.cpp, - src/osgViewer/ViewerBase.cpp: Introduced usage of - OSG_INIT_SINGLETON_PROXY into DatabasePager::prototype() and - Registry::instance(), removing the InitRegistry proxy object in - src/osgViewer/ViewerBase.cpp. - -2015-09-25 15:20 robert - - * include/osg/BoundingSphere: From Kristofer Tingdahl, "we had a - minor shadow problem with the osg-3.4 that pollutes our - continuous integration" - -2015-09-25 11:15 robert - - * src/osgViewer/Renderer.cpp: Added fix for case when Renderer is - assigned to a Camera that has now View - -2015-09-25 10:11 robert - - * src/OpenThreads/pthreads/PThread.cpp: From Curtis Rubel, "I would - like to submit the attached file for inclusion in future releases - of - OpenSceneGraph and the OpenThreads library. - - The changes in the file simply remove a few ifndef's that - currently - do not allow Linux systems to fully utilize the PThread real-time - scheduling API. - - Since Linux now fully supports the PThread scheduling API it - would - be beneficial to have it available to use as necessary. I have - been testing this change since OSG release 3.3.7 and have not - seen - any ill affects. - - The Priority scheduling api is further protected by another - ifdef: - - #ifdef ALLOW_PRIORITY_SCHEDULING - - that only appears to be defined in the pthreads implementation as - well. This would make it unlikely that anyone would be affected - by this unless they are intentionally wanting to run with - priority - scheduling. In which case on Linux they would need to make - these same modifications themselves to utilize it to its full - extent. - - Attached file is for the current trunk as of this date. - " - -2015-09-25 10:09 robert - - * include/osgUtil/SceneView, src/osgViewer/Renderer.cpp: Refactored - the way that FrameStamp is managed in osgViewer::Renderer to - avoid thread conflicts - -2015-09-24 14:14 robert - - * src/osgWrappers/deprecated-dotosg/osg/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture2DArray.cpp: From - John Hedström,"Texture2DArray support for the .osg serializer" - -2015-09-24 10:52 robert - - * include/osg/Camera, src/osgWrappers/serializers/osg/Camera.cpp: - Added support for serializing - Camera::ImplicitBufferAttachmentRenderMask and - ImplicitBufferAttachmentResolveMask properties. - -2015-09-24 10:48 robert - - * src/osg/Drawable.cpp: Quietened down debug messages - -2015-09-24 09:29 robert - - * src/osgWrappers/serializers/osg/Camera.cpp: Fixed line endings. - -2015-09-23 10:41 robert - - * include/osg/ContextData: Added missing OSG_EXPORT to fix Windows - build - -2015-09-23 09:47 robert - - * examples/osganalysis/osganalysis.cpp, - examples/osgfpdepth/osgfpdepth.cpp, include/osg/BufferObject, - include/osg/ContextData, include/osg/Drawable, - include/osg/FragmentProgram, include/osg/FrameBufferObject, - include/osg/GLObjects, include/osg/Program, include/osg/Shader, - include/osg/State, include/osg/Texture, - include/osg/VertexProgram, src/CMakeLists.txt, - src/osg/BufferObject.cpp, src/osg/CMakeLists.txt, - src/osg/ContextData.cpp, src/osg/Drawable.cpp, - src/osg/FragmentProgram.cpp, src/osg/FrameBufferObject.cpp, - src/osg/GLObjects.cpp, src/osg/GraphicsContext.cpp, - src/osg/OcclusionQueryNode.cpp, src/osg/Program.cpp, - src/osg/Shader.cpp, src/osg/State.cpp, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture2DMultisample.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp, src/osg/VertexProgram.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/SceneView.cpp: - Refactored the GL object deletion management to use new - osg::GraphicsObjectManager/GLObjectManager base classes, and - osg::ContextData container. - - This approach unifies much of the code handling the clean up of - OpenGL graphics data, avoids lots of local mutexes and static - variables that were previously required, - and enables the clean up scheme to be easily extended by users - providing their own GraphicsObjectManager subclasses. - -2015-09-04 15:35 robert - - * src/osg/Geometry.cpp: From Jannik Heller, "I've hit what I - believe to be a bug (or at the very least, an unintuitive - behaviour) in the osg::Geometry copy constructor. I noticed it - when using osg::clone on a Geometry with vertex buffer objects, - and the copy flags DEEP_COPY_ARRAYS. To be precise, I add a - Geometry to an osgUtil::IncrementalCompileOperation, then - osg::clone the Geometry. I was getting reports from users of - random crashes happening. - - I believe the offending lines are in the osg::Geometry copy - constructor: - - if ((copyop.getCopyFlags() & osg::CopyOp::DEEP_COPY_ARRAYS)) - { - if (_useVertexBufferObjects) - { - // copying of arrays doesn't set up buffer objects so we'll need - to force - // Geometry to assign these, we'll do this by switching off VBO's - then renabling them. - setUseVertexBufferObjects(false); - setUseVertexBufferObjects(true); - } - } - - Toggling the vertex buffer objects off then on again actually - touches not only the arrays controlled by DEEP_COPY_ARRAYS, but - also the PrimitiveSets which are controlled by - DEEP_COPY_PRIMITIVES. This means if the user has copyflags of - only DEEP_COPY_ARRAYS, we are modifying arrays that belong to the - original const Geometry& we are copying from. I believe this - shouldn't be allowed to happen because we are using a const& - specifier for the original Geometry. - - In my case the osgUtil::IncrementalCompileOperation was trying to - compile the geometry, while in the main thread a clone operation - toggled the VBO's off and on, a crash ensues. - - In the attached patch, you will find a more efficient handling of - VBO's in the osg::Geometry copy constructor, so that only the - Arrays that were actually deep copied have their VBO assigned, - and no changes are made to Arrays that already had a valid VBO - assigned. In addition, the DEEP_COPY_PRIMITIVES flag is now - honored so that VBO's are set up correctly should a user copy a - Geometry with only that flag. - " - -2015-09-04 15:04 robert - - * include/osgDB/ImagePager: From Laurens Voerman, "I found that - using an ImageSequence with mode PAGE_AND_DISCARD_USED_IMAGES - triggers the (3) imageThreads to run and never stop, even when no - more work is to be done. This is due to a bug in the stop - condition currently setting the thread to stop and wait for a - signal only when no work needs to be done AND the databasepager - is paused. - It should stop and wait for a signal on either of those two. Due - to a few logical inversions it boils down to replacing || with && - - OLD _block->set((!_requestList.empty() || - !_pager->_databasePagerThreadPaused)); - NEW _block->set((!_requestList.empty() && - !_pager->_databasePagerThreadPaused));//release the threads to - run IF (work_to_be_done && not_paused) - - This bug is present since svn rev 8663 (just before 2.6.0 - release) - - - attached is a zip with the files: - - OpenSceneGraph\include\osgDB\ImagePager - - - - This file is valid for svn branch and stable 3.2 and 3.4 - branches 2.6 - 3.0 have the same bug, but other differences in - the file." - -2015-09-04 14:50 robert - - * applications/osgconv/osgconv.cpp: From Laurens Voerman, "I - crashed osgconv while compressing textures: - - osgconv --compressed-dxt1 cow.osg cow.ive - - due to different handling of the extentions in osg 3.4 and up. - - attached is a zip with the files: - - OpenSceneGraph\applications\osgconv\osgconv.cpp - - - - This file is valid for svn branch and stable3.4." - -2015-09-04 14:34 robert - - * src/osg/Geometry.cpp: From Julien Valentin, "Serializing custom - geometry i ran into a crash due to a - setVertexAttribArrayList(array) with array containing NULL - vertexAttrib. - I added a test in order to avoid it - - - Code: - void Geometry::setVertexAttribArrayList(const ArrayList& - arrayList) - { - _vertexAttribList = arrayList; - - dirtyDisplayList(); - - if (_useVertexBufferObjects) - { - for(ArrayList::iterator itr = _vertexAttribList.begin(); - itr != _vertexAttribList.end(); - ++itr) - { - if(itr->get())//ADDED - addVertexBufferObjectIfRequired(itr->get()); - } - } - } - " - - and - - "The bug i ran into is a crash reading osgt Geometry with null - vertexattribs. - The only thing i added is a not nul check on array passed to - setVertexAttribArrayList." - - --------------------This line, and those below, will be ignored-- - - M src/osg/Geometry.cpp - -2015-09-04 14:24 robert - - * CMakeLists.txt: Updated SO version for svn/trunk. - -2015-09-04 14:24 robert - - * include/osg/OperationThread: Fixed warning - -2015-09-04 14:23 robert - - * include/osgDB/OutputStream: Fixed warning by removing redundent - check - -2015-08-14 15:25 robert - - * include/osg/Texture2D, src/osg/Texture2D.cpp: Corrected the - Subload::generateTextureObject() return type to make it - consistent with Texture::generateTextureObject(..) - -2015-08-12 10:18 robert - - * src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp: Updated shaders - from OpenSceneGraph-Data with refactor of workaround to NVidia - driver bug - -2015-08-12 06:39 robert - - * CMakeLists.txt, README.txt: Added GL1 to the docs of the - GL_PROFILE string - Updated the date of the 3.4.0 release in the README. - -2015-08-11 20:06 robert - - * src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp: Refactored - workaround of NVidia nan lenght() bug. - -2015-08-11 08:43 robert - - * CMakeLists.txt, CMakeModules/FindAsio.cmake, - CMakeModules/FindLIBLAS.cmake, src/osgPlugins/CMakeLists.txt: - Moved FIND_PACKAGE(Boost) to within the individual Find scripts - that actually need it rather in the root CMakeLists.txt. - -2015-08-10 19:55 robert - - * src/osg/State.cpp: Removed spaces - -2015-08-10 19:40 robert - - * CMakeLists.txt: Fixed line endings - -2015-08-10 19:39 robert - - * src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp: Updated built-in - shaders from OpenSceneGraph-Data vesion that introduce - #pragma(tic) shaders that resolve the NVidia loop iteration bug. - -2015-08-10 19:18 robert - - * src/osg/Shader.cpp: Quietened down #pragma(tic) shader - composition messages - -2015-08-10 17:42 robert - - * include/osg/State, src/osg/State.cpp: Added support for injecting - GL_VENDOR strings into GLSL shaders via the new #pragma(tic) - shader composition - -2015-08-10 05:04 robert - - * include/osg/Types, src/osg/CMakeLists.txt: Build fix for VS and - installing Types - -2015-08-09 09:42 robert - - * src/osg/GL.in: Changed GLint64 and GLuint64 setup to use int64_t - and uint64_t resptectivly respectively to avoid issues with - compiling against Qt5 - -2015-08-09 09:07 robert - - * include/osgViewer/api/X11/PixelBufferX11, - src/osgViewer/PixelBufferX11.cpp: Added #ifdef guards around SGIX - specific parts to avoid build problems with GLES - -2015-08-08 08:49 robert - - * src/osgPlugins/zip/ZipArchive.cpp: From Glenn Waldron, fix error - in ZIP plugin handling of memory buffer - -2015-08-06 15:03 robert - - * src/osgText/Text.cpp: Added checks for the validity of chached - coordinate arrays. - -2015-08-06 10:09 robert - - * src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp: Updated shaders - from OpenSceneGraph-Data. - -2015-08-03 19:14 robert - - * include/osgViewer/api/X11/PixelBufferX11, - src/osgViewer/PixelBufferX11.cpp: From Andy Skinner, "Someone was - using our code on a system that does not seem to have the SGIX - symbols used in osgViewer.cpp. - - - - I used osgSetGLExtensionsFuncPtr to remove the symbols. I don't - know how to test this path, but it did remove the symbols from - libosgViewer.so. I have also not been able yet to see if that was - sufficient for our customer. - - - - I did this by looking at other cases, and I tried to follow some - of the same practices in PixelBufferX11, like using _useSGIX in a - similar way to the previous _useGLX1_3." - -2015-07-31 13:46 robert - - * CMakeModules/OsgAndroidMacroUtils.cmake: From Terry Welsh, "I - downloaded the Android 3rdparty deps from here - http://www.openscenegraph.org/index.php/download-section/dependencies - but was not able to use them for a while. Attached are changes to - OsgAndroidMacroUtils.cmake that allow the deps to be found by - cmake. - - Specifically, all FIND_PATH commands require the - NO_CMAKE_FIND_ROOT_PATH option to actually find paths. This is - odd - because if you inspect CMAKE_FIND_ROOT_PATH it appears to be - empty. I - would expect it to have no effect at all. - - I also needed to remove quotes from this line in order for - headers to be found: - - set(FREETYPE_INCLUDE_DIRS "${FREETYPE_DIR}/include - ${FREETYPE_DIR}/include/freetype/config") - - Assuming this script worked in the past, it seems like cmake - behavior - may have changed at some point. I'm using cmake version - 2.8.12.2." - -2015-07-31 13:44 robert - - * src/osg/GLExtensions.cpp: From Jannik Heller, "Here is a patch - for the S3TC capability check. - - On a Intel HD graphics Linux system with Mesa 10.1.3, I found - that osg's Extensions::isTextureCompressionS3TCSupported() - returned false, even though S3TC compressed textures *are* in - fact working. I tested this by loading and rendering various - DXT1, DXT3 and DXT5 compressed textures in the OSG. - - "glxinfo | grep s3tc" gives: - GL_S3_s3tc - - Note, if I install the package "libtxc-dxtn-s2tc0", I get in - addition: - - glxinfo | grep s3tc - GL_EXT_texture_compression_s3tc - GL_S3_s3tc - - However, S3TC compressed textures worked correctly within the OSG - even without libtxc-dxtn-s2tc0 installed. - - I'm not sure what the differences between these extensions are, - but based on the description at - https://www.opengl.org/registry/specs/S3/s3tc.txt I would assume - that both will work for OSG's purposes. The attached patch - changes isTextureCompressionS3TCSupported() to accept either - extension." - -2015-07-31 10:59 robert - - * include/osgText/Text: Warning fix - -2015-07-31 10:54 robert - - * src/osg/Image.cpp, src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgViewer/ViewerEventHandlers.cpp: From Kristofer Tingdahl, - warning fixes. - -2015-07-31 10:27 robert - - * src/osg/GL.in: Compile fix for Mingw. - -2015-07-23 15:46 robert - - * examples/osganalysis/osganalysis.cpp, - examples/osgcatch/osgcatch.cpp, - examples/osggraphicscost/osggraphicscost.cpp, - examples/osgmotionblur/osgmotionblur.cpp, - examples/osgshaderterrain/osgshaderterrain.cpp, - examples/osgtext/osgtext.cpp, - examples/osgthreadedterrain/osgthreadedterrain.cpp, - examples/osgvolume/osgvolume.cpp, include/osg/GraphicsThread, - include/osg/OperationThread, src/osg/GraphicsThread.cpp, - src/osg/OperationThread.cpp, src/osgUtil/GLObjectsVisitor.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/RenderStage.cpp, src/osgViewer/Renderer.cpp: Added - explicit initialization of osg::Referenced(true) to - osg::Operation subclasses as it uses virtual inhertiance from - osg::Referenced. - -2015-07-23 14:37 robert - - * include/osg/Types, include/osgViewer/ViewerBase: From Pjotr - Svetachov, buid fixes for VS2015. - -2015-07-23 14:31 robert - - * src/osgPlugins/osc/osc/OscOutboundPacketStream.cpp: Merged VS2013 - warning fixes from OSG-3.4 branch - -2015-07-23 11:11 robert - - * examples/osgSSBO/osgSSBO.cpp, examples/osgcluster/osgcluster.cpp, - examples/osggpucull/AggregateGeometryVisitor.h, - examples/osgoit/DepthPeeling.cpp, examples/osgoit/DepthPeeling.h, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgshadow/osgshadow.cpp, - examples/osgspotlight/osgspotlight.cpp, - examples/osgwidgetnotebook/osgwidgetnotebook.cpp, - src/osg/glu/libutil/mipmap.cpp, src/osgDB/ConvertBase64.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.cpp, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.h, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/osc/OscHostEndianness.h, - src/osgPlugins/osga/OSGA_Archive.h, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/OccluderGeometry.cpp, src/osgShadow/ShadowMap.cpp, - src/osgSim/SphereSegment.cpp, - src/osgUtil/DelaunayTriangulator.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/View.cpp, - src/osgWrappers/deprecated-dotosg/osg/NodeCallback.cpp: Warning - fixes for Clang-3.6 +Tue, 1 Mar 2016 15:33:16 +0000 +Checked in by : Robert Osfield +Updated version number for 3.5.2 dev release -2015-07-23 09:23 robert +Tue, 1 Mar 2016 15:09:12 +0000 +Checked in by : Robert Osfield +From Konstantin Matveyev, "Two classes (with wrappers) added to osgAnimation: UpdateVec2fUniform and UpdateVec4fUniform" - * src/osgFX/BumpMapping.cpp, src/osgFX/Cartoon.cpp: Added missing - handling of lightnumber and associate lights +Tue, 1 Mar 2016 11:57:02 +0000 +Checked in by : Robert Osfield +From Jannik Heller, "This submission makes the osgFX::Technique traverse as a normal Group if the visitor is not a cull visitor.As for motivation behind the change, I think it makes more sense that way because only the CullVisitor cares about rendering. Say an intersection visitor or update visitor only needs to traverse the subgraph once, not once for each pass. For these visitors there is no point in traversing the subgraph more than once, since it's exactly the same graph. Another motivation is the performance improvement had when an intersection visitor tests against a multipass Technique." -2015-07-23 07:39 robert + Note about mods by Robert Osfield, "Changed dyanmic_cast<> and check against getTraversalType() to utilize the new asCullVisitor() instead to improve efficiency." - * src/osg/GL.in: Changed the GL_HEADER_HAS_GLINT64 and - GL_HEADER_HAS_GLUINT64 to use cmakedefine to improve handling of - when cmake doesn't find GLint64 and GLuint64. -2015-07-22 17:01 robert +Tue, 1 Mar 2016 11:45:20 +0000 +Checked in by : Robert Osfield +Within the #pragmatic shader composition code added platform specific line endings for WIN32 vs all other platforms to "\r\n" and "\n" respectively. - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Fixed - AUTHORS file +Tue, 1 Mar 2016 11:06:39 +0000 +Checked in by : Robert Osfield +From Wee See and Robert Osfield, Introduced StatsHandler::collectWhichCamerasToRenderStatsFor(osgViewer::ViewerBase* viewer, osgViewer::ViewerBase::Cameras& cameras) method to make it possible to customize which Cameras the handler renders stats for. -2015-07-22 14:55 robert +Tue, 1 Mar 2016 10:37:41 +0000 +Checked in by : Robert Osfield +From Jannik Heller, "This submission fixes a stuttering issue that may occur when occlusion query nodes are in view. The problem is that OSG retrieves the occlusion query result without first checking if it's available (GL_QUERY_RESULT_AVAILABLE). Thus, the driver has to sync with the GPU i.e. wait for all queued draw calls to complete. This is particularly bad in V-Synced situations where the driver may be using multi frame queueing techniques - coupled with the fact that OSG only runs an occlusion query every 5th frame, results in very unpleasant stuttering in some situations.The change I made is to check GL_QUERY_RESULT_AVAILABLE before retrieving the query, to ensure that there won't be a stall. If the query result is not available yet, we'll leave it alone and try again in the next frame. - * applications/osgversion/Contributors.cpp: Fixed contributors list +Had to make a few more changes than I'd liked, mostly because the TestResult mechanism wasn't designed for holding on to query objects for more than one frame. As well, I'm thinking that RetrieveQueriesCallback and ClearQueriesCallback could be merged together, if we wanted to go for more refactoring. For though now my strategy is to make as little changes as possible. Let me know what you think of the patch." -2015-07-22 14:52 robert - * ChangeLog: Updated ChangeLog +Tue, 1 Mar 2016 10:21:14 +0000 +Checked in by : Robert Osfield +From Ognjen Kostic, "Some android phones have no support for OES_element_index_uint extension that is required if glDrawElements is to be called with GL_UNSIGNED_INT for element type. In OSG 3.4, osgText::Text( ::_quadIndices) uses DrawElementsUInt that will fail on these devices and no text will appear - tested on Samsung Galaxy Trend 2 SM-G313HN.When DrawElementsUInt is replaced with DrawElementsUShort it works, although I'm not sure if this can cause other problems with some fonts. -2015-07-22 14:03 robert +Fix: +- In include\osgText\Text, line 316: + replace: "osg::ref_ptr< osg::DrawElementsUInt > _quadIndices;" + with: "osg::ref_ptr< osg::DrawElementsUShort > _quadIndices;" - * include/osg/AlphaFunc, include/osg/GLDefines: Moved GL_ALPHA_TEST - from AlphaFunc header to GLDefines header +- In src\osgText\Text.cpp, line 2094: + replace: "_quadIndices = new DrawElementsUInt(PrimitiveSet::TRIANGLES);" + with: "_quadIndices = new DrawElementsUShort(PrimitiveSet::TRIANGLES);" +" -2015-07-22 13:49 robert - * CMakeLists.txt, src/osg/GL.in: Added CMake test for presence of - GLuint64 and GLint64 in OpenGL/GLES headers to better handle - when/where GL defines the 64 bit typedefs - -2015-07-21 14:21 robert - - * src/osgPlugins/OpenFlight/PaletteRecords.cpp: Added check for - validity of OpenFlight shininess value. - -2015-07-21 13:42 robert - - * include/osg/BoundsChecking: Fixed typo - -2015-07-20 13:23 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Reduced debug message verbosity. - -2015-07-20 07:42 robert +Mon, 29 Feb 2016 15:06:36 +0000 +Checked in by : Robert Osfield +Refactored the parsing of #pragma to address problems handling #pragma without () usage. - * src/osgPlugins/osgjs/json_stream: Changed the _MSC_VER check to - <= 1700 to support VS2012. +Wed, 24 Feb 2016 16:00:12 +0000 +Checked in by : Robert Osfield +Fixed debug build -2015-07-19 09:51 robert +Tue, 23 Feb 2016 10:12:31 +0000 +Checked in by : Robert Osfield +From Jannik Heller, osgParticle freeze on cull fix, ammended by Robert Osfield to make if statements a little more readable. - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Reinstated the - TIFFSetField(image, TIFFTAG_ROWSPERSTRIP, rowsperstrip); +Mon, 22 Feb 2016 09:19:51 +0000 +Checked in by : Robert Osfield +From Anish Thomas, "Underflow bug in BufferObject pool usage" -2015-07-17 18:31 robert +Fri, 19 Feb 2016 15:01:27 +0000 +Checked in by : Robert Osfield +From Bjorn Blissing, "I stumbled upon a strange ifdef-case inside Geometry.cppCurrently the code looks like this: - * CMakeModules/FindGStreamer.cmake: From KOS, "'ve mentioned in the - "osg-users" ML about build error with the newest GStreamer 1.5 - - Please, have a look at the attached patch. - - CMakeModules/FindGStreamer.cmake" +Code: + DrawElementsUByte* elems = new DrawElementsUByte(PrimitiveSet::TRIANGLES); + elems->push_back(0); + elems->push_back(1); + elems->push_back(2); -2015-07-17 09:04 robert + elems->push_back(2); + elems->push_back(3); + elems->push_back(0); + geom->addPrimitiveSet(elems); + geom->addPrimitiveSet(new DrawArrays(PrimitiveSet::QUADS,0,4)); - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS +The second condition looked really strange (note the ! sign), and results in pretty much all code paths uses the first code. The correct version should probably be that only people with GLES1 or GLES2 should use GL_TRIANGLES to simulate quads. And all others should use the native support for GL_QUADS. +" -2015-07-17 08:21 robert - * CMakeLists.txt: Added cmake version check to cmake_policy usage +Fri, 19 Feb 2016 12:19:12 +0000 +Checked in by : Robert Osfield +To the COLLADA_INCLUDE_DIR search paths added the directories: /usr/local/include/collada-dom2.4 + /usr/local/include/collada-dom2.2 + /opt/local/include/collada-dom2.4 + /opt/local/include/collada-dom2.2 + /usr/include/collada-dom2.4 + /usr/include/collada-dom2.2 -2015-07-17 08:12 robert +To enable recent versions of the DOM to be found in their new install locations. - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Patrick Neary, "To - the tiff plugin, add the capability to write tiff images with - unsigned short data" -2015-07-16 19:17 robert +Thu, 18 Feb 2016 19:53:36 +0000 +Checked in by : Robert Osfield +Updated the AuthenticationDetails::HttpAuthentication enum to reflect current libcurl values - * src/osg/Image.cpp: From Patrick Neary, "Added some lesser used - tokens that we use from GL_ARB_texture_rg to - computeFormatDataType(), and computeNumComponents() in - src/osg/Image.cpp" +Thu, 18 Feb 2016 10:57:19 +0000 +Checked in by : Robert Osfield +Replaced (long int) with more portable (GLint64) -2015-07-16 16:06 robert +Thu, 18 Feb 2016 10:04:04 +0000 +Checked in by : Robert Osfield +From Tony Vasile, "This is a fix for the handling of OpenFlight files with switches whose children have a transformation matrix on them. It may break other things and I have only tested this with one of my models." - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS +Thu, 18 Feb 2016 09:25:48 +0000 +Checked in by : Robert Osfield +From Mourad Boufarguine, "This submission fixes typos in Uniform::getTypename() method in Uniform.cpp (missing "r" in usampler names)." -2015-07-16 15:49 robert +Thu, 18 Feb 2016 08:50:06 +0000 +Checked in by : Robert Osfield +Renamed zero and one to transparentCount and opaqueCount to avoid confusion in their meaning and usage. - * src/osgQt/GraphicsWindowQt.cpp: From Cory Slep and Robert - Osfield, "When using Open Scene Graph and Qt on Android, the - resulting thread that an application developer’s Q*Application is - run on is different than what Qt considers the “main†thread, - which can cause subtle problems. This is because Qt loads native - libraries in one thread, and later runs the application in a - different thread. They delay running in the second thread as long - as possible as they have a nontrivial bootstrapping process. The - motivation for Qt having this second thread is to allow them to - remain responsive to both Java and native events, and capture - events that would otherwise be “missedâ€. - - - - This gives arise to the requirement that a static initialization - of a QObject cannot occur for the Android platform, as Qt - incorrectly considers that first thread the “main†one before a - client application has even begun executing in its second thread. - - - - The HeartBeat in GraphicsWindowQt.cpp is a QObject static global - initialized at load time, causing the above issue. This changeset - changes it to be a singleton that is constructed upon first - access to its “instance†method. - - - - I have: - - - added the static method “instanceâ€, - - - moved its constructor to be private, and - - - changed the one place it is accessed to access it through the - “instance†method. - - " - - Changes by Robert are to adopt QPointer rather than - use a C pointer to ensure that the HeartBeat object will be - cleaned up automatically rather than leaked. +Wed, 17 Feb 2016 17:36:10 +0000 +Checked in by : Robert Osfield +Fixed warning -2015-07-16 11:01 robert +Wed, 17 Feb 2016 17:08:07 +0000 +Checked in by : Robert Osfield +Commented out unused functions and variable. - * src/osgText/Text.cpp: Added check to catch cases where the - backdrop coordinate cache is too small for the number of contexts - being computed. +Wed, 17 Feb 2016 15:59:13 +0000 +Checked in by : Robert Osfield +Introduced a separate GLuint64 one variable to get around a 32bit build timer issue under Windows. -2015-07-15 10:00 robert +Wed, 17 Feb 2016 15:09:14 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, "a few additions in the repository (asDrawableEventCallback / asDrawableCullCallback) made this version a bit outdated, so I get so new warnings. This update can fix those warnings." - * src/osgPlugins/ive/DataInputStream.cpp: Added initializers and - reverted OSX workaround from 2013. +Mon, 15 Feb 2016 13:30:39 +0000 +Checked in by : Robert Osfield +From Romain Ouabdelkader, "This is a fix for osgText to calculate kerning and to load glyph3D with the text's font resolution.Font::getKerning(...), Font::getGlyph3D(...) doesn't ask for a font resolution so it uses the last font resolution requested by Font:: getGlyph(...). +This can leads to different results depending of the precedent call to Font::getGlyph(...). +See http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2016-January/271952.html for more infos. -2015-07-14 13:33 robert +This fix adds a font resolution parameter to Font::getKerning(...), Font::getGlyph3D(...) and to the font implementations. +This was made under the base revision r15182." - * CMakeLists.txt: Moved the cmake_policy(SET CMP0043 NEW) to work - for all script paths that Qt5 usage could pass through. -2015-07-14 13:26 robert +Mon, 15 Feb 2016 12:37:05 +0000 +Checked in by : Robert Osfield +From Laurens Loerman, Fix for "Visual Studio 2013 gives me a large amount (2778) of warnings about inheritance via dominace (C4250)." - * CMakeLists.txt: Added cmake_policy(SET CMP0043 NEW) usage when - compiling against Qt5 as it was causing a warning we couldn't fix - on the OSG side otherwise. +Thu, 11 Feb 2016 16:25:47 +0000 +Checked in by : Robert Osfield +Added support for NodeMask to osg::Drawable serializers -2015-07-14 08:42 robert +Fri, 5 Feb 2016 20:29:22 +0000 +Checked in by : Robert Osfield +From Jannik Heller , GL object deletion fix. "This submission changes deleteGLObject calls to scheduleGLObjectForDeletion, to ensure that the actual deletion happens from the correct thread (the graphics thread). This fixes the leak I reported in http://forum.openscenegraph.org/viewtopic.php?t=15567 , and possibly also http://forum.openscenegraph.org/viewtopic.php?t=15564." - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS.txt +Thu, 4 Feb 2016 20:15:14 +0000 +Checked in by : Robert Osfield +From "Jannik Heller", I just updated to the latest commit and noticed that drawable cull callbacks were no longer working. As it turns out there was a missing implementation of the asDrawableCullCallback() and asDrawableEventCallback(), after implementing these methods everything is working as expected. -2015-07-14 08:25 robert +Thu, 4 Feb 2016 19:53:13 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, "E:\osg\osgSvnGit\OpenSceneGraph\include\osg/Callback(286): warning C4099: 'osg::DrawableUpdateCallback' : type name first seen using 'class' now seen using 'struct' (E:\osg\osgSvnGit\OpenSceneGraph\src\osgUtil\RenderBin.cpp) E:\osg\osgSvnGit\OpenSceneGraph\include\osg/Callback(27) : see declaration of 'osg::DrawableUpdateCallback'attached is a modified version of include/osg/Callback: +changing +- struct OSG_EXPORT DrawableUpdateCallback : public virtual Callback +- { +to ++ class OSG_EXPORT DrawableUpdateCallback : public virtual Callback ++ { ++ public: - * src/osg/StateSet.cpp: Added _defineList into the - osg::StateSet::compare() implementation to address issues with - osgUtil::Optimizer ignoring defines. +and the same changes for DrawableEventCallback and DrawableCullCallback" -2015-07-13 16:09 robert - * include/osgText/Text, src/osgText/Text.cpp: Added - Text::GlyphQuads::release/resizeGLObjects() and handling of - inconsistent contextID sizes to avoid crashes when viewers and - scene graphs aren't initialized correctly to the right number of - contexts. +Thu, 4 Feb 2016 19:40:14 +0000 +Checked in by : Robert Osfield +Added OSG_EXPORT -2015-07-13 16:03 robert +Thu, 4 Feb 2016 19:38:23 +0000 +Checked in by : Robert Osfield +From Laurens Voerman, "While compiling with Visual Studio 12 (aka 2013 update 3) I get a these errors: E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(364): error C2039: 'min' : is not a member of 'std' E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(364): error C3861: 'min': identifier not found E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(372): error C2039: 'min' : is not a member of 'std' E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(372): error C3861: 'min': identifier not found E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(381): error C2039: 'min' : is not a member of 'std' E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(381): error C3861: 'min': identifier not found E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(436): error C2039: 'min' : is not a member of 'std' E:\osg\osgSvnGit\OpenSceneGraph\src\osg\PrimitiveSet.cpp(436): error C3861: 'min': identifier not foundI suggest to replace std::min by osg::minimum, attached is a (zipped) modified version of src/osg/PrimitiveSet.cpp +applies to the git reposetory only (updated 1 Feb 2016 ae6bade641ee4d8436ef69e7a7a347be81195a47 ) - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgViewer/ViewerBase.cpp: Standardize the call to - setUpThreading() in CompositeViewer/Viewer::realize(). - - Standardize the call to scene->resizeGLObjects(). +" -2015-07-13 08:48 robert - * include/osg/GLDefines: From Terry Welsh, "fThis fixes problem - where new glClipControl feature would not compile for GLES2 - profile" +Thu, 4 Feb 2016 17:52:44 +0000 +Checked in by : Robert Osfield +Added releaseGLObjects(..) and resizeGLObjectBuffers(..) to osgShadow::ShadowTechnique's -2015-07-03 06:51 robert +Thu, 4 Feb 2016 17:36:33 +0000 +Checked in by : Robert Osfield +Added osg::resizeGLObjectBuffers(..) and osg::releaseGLObjects(..) functions to make it easier to call these methods on objects which ref_ptr<> or C pointers are held for. - * CMakeLists.txt: Updated version number to 3.5.0 after 3.4 branch. +Thu, 4 Feb 2016 17:35:32 +0000 +Checked in by : Robert Osfield +Commented out debug message -2015-07-03 06:28 robert +Thu, 4 Feb 2016 13:12:33 +0000 +Checked in by : Robert Osfield +Added NodeVisitor::g/setValueMap and g/setValueStack, and osg::PushPopObject and osg::PushPopValue helper classes for pushing/popping values to the NodeVisitor's ValueStack. - * README.txt: Updated for 3.4 branch. +Thu, 4 Feb 2016 13:10:28 +0000 +Checked in by : Robert Osfield +Improved the speed of the ValueObject get/setting by utilizing typeid() and static_cast<> in place of original dynamic_cast<>'s -2015-07-02 11:58 robert +Thu, 4 Feb 2016 13:07:55 +0000 +Checked in by : Robert Osfield +Added new Identifer, ValueMap and ValueStack class to build - * src/osgPlugins/gdal/CMakeLists.txt: Fixed repeated name in - SETUP_PLUGIN. +Thu, 4 Feb 2016 13:04:40 +0000 +Checked in by : Robert Osfield +Added osg::Identifer, osg::ValueMap and osg::ValueStack classes to provide a general purpose means for storing and retrieving values from map or stack containers.Typical use will be for storing and passing values between nodes during traversals. -2015-07-02 10:25 robert - * CMakeLists.txt, ChangeLog: Updated ChangeLog and AUTHORS file in - prep for 3.4 branch. +Fri, 29 Jan 2016 11:54:17 +0000 +Checked in by : Robert Osfield +Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF. -2015-07-02 08:57 robert +Wed, 27 Jan 2016 10:06:33 +0000 +Checked in by : Robert Osfield +Fixed check against Drawable::isCullingActive().Removed old code intended to check the Geode parent of a Drawable to see if it's CullingActive is true as this was broken by the change osg::Drawable being derived from osg::Node rather than osg::Object. - * src/osgPlugins/osgjs/JSON_Objects: Build fix -2015-07-02 08:52 robert +Tue, 26 Jan 2016 09:57:26 +0000 +Checked in by : Robert Osfield +Added C++ gitignore entries - * include/osg/GLDefines: Moved the defination of - GL_MAX_VARYING_COMPONENTS to GL_3_0 block to avoid warnings of - redefinition. +Mon, 25 Jan 2016 19:38:44 +0000 +Checked in by : Robert Osfield +Added .gitignore to queiten down git status reports -2015-07-01 05:32 robert +Mon, 25 Jan 2016 14:18:58 +0000 +Checked in by : OpenSceneGraph git repository +Merge pull request #42 from podsvirov/topic-upgrade-doxygen-configurationFrom Konstantin Podsvirov, "Corrects an incorrect parsing of header files +without an extension when used doxygen larger 1.8.3.1" - * ChangeLog: Updated ChangeLog +Tue, 19 Jan 2016 17:39:03 +0000 +Checked in by : Robert Osfield +From Jannik Heller and Robert Osfield, introduced ReadResult/WriteResult::statusMessage() method that creates a std::string from the stutus value and message string. -2015-07-01 05:10 robert +Mon, 25 Jan 2016 11:05:40 +0000 +Checked in by : OpenSceneGraph git mirror maintainer +Merge pull request #51 from scrawl/occlusionqueryfix_osgFrom Jannik Heller, "Check for presence of occlusion query extension" - * src/osgWrappers/deprecated-dotosg/osg/ClipControl.cpp, - src/osgWrappers/serializers/osg/ClipControl.cpp: From Mathias - Froehlich, added seriliazers for new osg::ClipControl +Mon, 25 Jan 2016 10:45:07 +0000 +Checked in by : Robert Osfield +From John Farrier, "Best I can tell, there is an enumeration for NEVER_CHECK_GL_ERRORS in CheckForGLErrors, defined in State. State.cpp does check to see if you want MORE error checking, but there is no way to turn OFF error checking. This change allows disabling of OpenGL error checking." -2015-06-30 09:51 robert +Mon, 25 Jan 2016 10:25:15 +0000 +Checked in by : Robert Osfield +From Patrick Neary, "In ShaderComposer::getOrCreateProgram(), tesselation control and evaluation shaders are processed but not added to the shader program." - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS files +Fri, 22 Jan 2016 10:09:00 +0000 +Checked in by : Robert Osfield +Changed the prototype from NULL to osg::DummyObject to address a bug in reading .osgt + .osgx where an image is written out but fails to read the file causes subsequent parts of the file to be mis-read -2015-06-30 09:11 robert +Fri, 22 Jan 2016 09:47:49 +0000 +Checked in by : Robert Osfield +Added osg::MultiDrawArrays which wraps up glMultiDrawArrays extension. - * include/osg/ClipControl, include/osg/GLExtensions, - include/osg/StateAttribute, src/osg/CMakeLists.txt, - src/osg/ClipControl.cpp, src/osg/GLExtensions.cpp: From Mathias - Froehlich, "Attached a new state attribute implementing the - glClipControl that appeared with GL4.5." +Thu, 21 Jan 2016 12:40:11 +0000 +Checked in by : Robert Osfield +From Sukender, "Collada writer fix : Fixed wrong handling of duplicate names in Collada writer. The uniquify() method was not checking if the new name was actually in use or not.Collada with rename option : Added an option to Collada writer, to rename uncommon IDs (geometries, materials...) to something more compatible (especially Google Earth). +Characters which may be interpreted as an URI are replaced with '_'. Useful if you want to ensure names having spaces or slashes to behave correctly. This may be undesired if original naming must be somewhat kept (hence making it an option)." -2015-06-30 08:39 robert - * src/osgViewer/Viewer.cpp: Quitened down debug for ViewConfig - argument parsing +Wed, 20 Jan 2016 17:51:03 +0000 +Checked in by : Robert Osfield +Merge branch 'master' of https://github.com/openscenegraph/osg -2015-06-30 08:38 robert +Wed, 20 Jan 2016 17:49:10 +0000 +Checked in by : Robert Osfield +Added asUpdate/Cull/EventVisitor and asCamera/asDrawable to osg::Object and usage of these within the code base to avoid dynamic_cast<> usage. - * src/osgPlugins/ogr/ReaderWriterOGR.cpp: Build fix for GLDAL>=2 +Wed, 20 Jan 2016 15:13:19 +0000 +Checked in by : Robert Osfield +Added more osg::Object::as*() methods and usage of these through the code base to avoid use of dynamic_cast<> when using UpdateVisitor/CullVisitor/EventVIisitor etc. -2015-06-26 09:40 robert +Tue, 19 Jan 2016 15:39:46 +0000 +Checked in by : Robert Osfield +From Ravi Mathur, OSX/Clang 7.0.0 build fix - * include/osg/Vec2f: From Christian Kehl, added Vec2::set(const - Vec2) method +Tue, 19 Jan 2016 14:49:56 +0000 +Checked in by : Robert Osfield +From Jannik Heller, "This submission fixes a typo in the new GLObjectManagersheduleGLObjectForDeletion(GLuint globj); -2015-06-19 09:51 robert +should be - * src/osgUtil/RenderStage.cpp: From Jannik Heller, fixed - clearReferencesToDependentCameras() calls +scheduleGLObjectForDeletion(GLuint globj)" -2015-06-17 16:25 robert - * src/osgUtil/GLObjectsVisitor.cpp: Fixed handling of use - GLObjectsVisitor for modifying scene graph state without - compiling to OpenGL so that the visitor can be run safely without - a graphics context being current. +Tue, 19 Jan 2016 14:22:12 +0000 +Checked in by : Robert Osfield +From Jordi Torres, "Added TriangleLinePointIndexFunctor to osg namespace" -2015-06-16 17:18 robert +Tue, 19 Jan 2016 14:16:58 +0000 +Checked in by : Robert Osfield +From Jannik Heller, "removed a const_cast that wasn't necessary" - * src/osgQt/CMakeLists.txt: Small tidy up to make script more - readable. +Tue, 19 Jan 2016 11:39:28 +0000 +Checked in by : Robert Osfield +Renamed DrawableUpdate/Event/Cull callbacks to use new include/osg/Callback versions -2015-06-16 17:17 robert +Tue, 19 Jan 2016 11:35:13 +0000 +Checked in by : Robert Osfield +Fixed line endings - * src/osgPlugins/qfont/CMakeLists.txt: Added QT_QTCORE_INCLUDE_DIR - entry to qfont plugin build to fix Qt4 build under Linux +Tue, 19 Jan 2016 11:25:30 +0000 +Checked in by : Robert Osfield +Fixed line endings -2015-06-15 19:59 robert +Tue, 19 Jan 2016 09:46:20 +0000 +Checked in by : Robert Osfield +Added missing OSG_EXPORT - * include/osgQt/GraphicsWindowQt, - include/osgQt/QFontImplementation, - include/osgQt/QGraphicsViewAdapter, include/osgQt/QWebViewImage, - include/osgQt/QWidgetImage, src/osgQt/CMakeLists.txt, - src/osgQt/Version.in: From Jannik Heller, "I've added the check - for Qt version mismatches into osgQt as suggested in - http://forum.openscenegraph.org/viewtopic.php?t=14999. - - When an application is built with Qt4, but osgQt was built with - Qt5 (or vice versa), upon #includeing osgQt users will receive an - #error aborting the build. - - This at least provides a proper error message rather than a - crash, while we are working on better fixes for the problem." +Mon, 18 Jan 2016 20:05:20 +0000 +Checked in by : Robert Osfield +Added osg::Object::asStateSet() implementation and usage to avoid use of dynamic_cast<> -2015-06-15 13:51 robert +Mon, 18 Jan 2016 19:04:28 +0000 +Checked in by : Robert Osfield +Replaced dynamic_cast<*Callback> with as*Callback() implementation/usage. - * include/osg/GLDefines: Experiment with how to define GLsizeiptr. +Mon, 18 Jan 2016 13:10:14 +0000 +Checked in by : Robert Osfield +From Jannik Heller, "This submission fixes a bug introduced in commit https://github.com/openscenegraph/osg/commit/5b17e3bc2a0c02cf84d891bfdccf14f170ee0ec8 "Introduced CMake option OSG_PROVIDE_READFILE option...". The added overload for StateSet::setAttributeAndModes was ignoring the mode setting. " -2015-06-15 13:51 robert +Mon, 18 Jan 2016 11:50:07 +0000 +Checked in by : Robert Osfield +Added Simplifier::requiresDownSampling()/requiresDownSamplingImplementation() to make it possible for the Simplfifer::ContinueSimplificationCallback to be able to decide whether up or downsampling is required, removing the previous hardwards reliance on getSampleRatio<1.0. - * CMakeLists.txt: Upated version number +Mon, 18 Jan 2016 11:49:18 +0000 +Checked in by : Robert Osfield +Added window size, state and stats event handlers to viewer to help with QA'ing simplification results. -2015-06-12 20:23 robert +Mon, 14 Dec 2015 17:59:45 +0000 +Checked in by : Robert Osfield +From Wojciech Lewandowski, Visual Studio 2008 compatibility fixTwo fixed files: - * include/OpenThreads/Exports: Removed old and unused windows code - path to avoid confusion +osgPlugins/osgjs/JSON_Objects +osgPlugins/stl/ReaderWriterSTL.cpp. -2015-06-12 11:28 robert +They did not compile with VS 2008 (recent master from Github). It looks like they defined stdint types (missing in VS 2008) but code using them also included header. Errors were caused by minor differences in signed int definitions. I just removed own definitions and added include instead. It solves the problem and makes the code clearer now. - * ChangeLog: Updated ChangeLog -2015-06-12 08:04 robert +Sun, 6 Dec 2015 14:08:49 +0100 +Checked in by : scrawl +Check for presence of occlusion query extension - * src/osgText/TextBase.cpp: From Farshid Lashkari, "I've modified - some setter methods of TextBase to avoid unnecessary calls to - computeGlyphRepresentation() if the value has not changed." +Mon, 23 Nov 2015 13:15:05 +0000 +Checked in by : Robert Osfield +From Jordi Torres, Fix for missing header file in distributionosg/TriangleLinePointIndexFunctor was not being installed because it was not added to the CMakeLists.txt -2015-06-11 08:44 robert - * include/osg/GLDefines: Reverted the typdef GLfloat GLdouble for - Andoid as this was causing conflicts. +Mon, 23 Nov 2015 11:45:01 +0000 +Checked in by : Robert Osfield +Added support for copying include/osgViewer/config headers on make install. -2015-06-10 18:22 robert +Mon, 23 Nov 2015 11:01:47 +0000 +Checked in by : Robert Osfield +Refactored the signal handling to be thread safe - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - 3.3.8 dev release +Mon, 23 Nov 2015 08:54:09 +0000 +Checked in by : Robert Osfield +Fixed typo -2015-06-10 16:48 robert +Wed, 11 Nov 2015 22:38:38 +0300 +Checked in by : Konstantin Podsvirov +Upgrade Doxygen configurationThis change corrects an incorrect parsing of header files +without an extension when used doxygen larger 1.8.3.1 - * CMakeModules/FindOpenEXR.cmake: From Laurens Voerman, "attached - is a zip with the files: - - OpenSceneGraph\CMakeModules\FindOpenEXR.cmake - - I introduced a bug in the previous submission pointed out by - Dmitry Marakasov: - looking for IlmIlf instead of IlmImf (as the previous version did - - but using variable OPENEXR_IlmIlf_LIBRARY) - - For some reason google decided his message was spam, so I just - noticed it, and I reply to confirm his remarks and attach a full - file. - - " -2015-06-10 16:47 robert +Mon, 9 Nov 2015 16:02:09 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 3.5.1 dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15181 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/GLExtensions.cpp, src/osg/Texture.cpp: From Colin - McDonald, "An earlier fix in OSG 3.2 has been inadvertently lost - in 3.3.x. The glGenerateMipMap function is part of the - GL_EXT_framebuffer_object extension. Just checking if the - function is present before using it for texture mipmaps is not - sufficient, as on remote X-windows displays the client side - capability may be different from the display server. This can - lead to mipmapped textures failing to render. I've restored a fbo - extension check. I've also tided up the GL version checking a - little." -2015-06-10 10:00 robert +Mon, 9 Nov 2015 15:52:06 +0000 +Checked in by : Robert OSFIELD +Cleaned up OSX option selection code.Updated version for 3.5.1 dev release - * src/osgGA/NodeTrackerManipulator.cpp: From Philippe Renon, "Fixed - potential divide by zero in NodeTrackerManipulator : The divide - by zero happens when throwing a NodeTrackerManipulator. - The infinite result trickles down and later causes NaN in - culling. - - The fix was to use getThrowScale() as done everywhere else." -2015-06-09 16:49 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15180 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt, include/osgDB/Serializer, - src/osgWrappers/serializers/osg/Camera.cpp: Added supoort for - osg::CullSettings/Camera::InheritanceMaskActionOnAttributeSetting - and InheritanceMask properties. -2015-06-09 12:51 robert +Mon, 9 Nov 2015 15:13:51 +0000 +Checked in by : Robert OSFIELD +Fixed warning message.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15178 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/GLDefines: Added namespace around typedef to avoid - conflict issues -2015-06-09 10:49 robert +Mon, 9 Nov 2015 15:10:50 +0000 +Checked in by : Robert OSFIELD +Addded setting of the Locator CoordinateSystemTypegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15177 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/Node, include/osg/NodeVisitor, include/osg/Object, - include/osg/StateAttribute, include/osg/Uniform, - src/osg/Callback.cpp: Introduce osg::Object::asNode(), - asNodeVisitor(), asStateAttribute() and asUniform() to replace - dynamic_cast<> usage in Callback.cpp. -2015-06-09 09:44 robert +Mon, 9 Nov 2015 10:43:15 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, fix typo of OSG_COMPILE_CONTEXTS.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15176 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osghud/osghud.cpp: Added output of HUD scene graph to - hud.osgt and hud.osgb for testing purposes. -2015-06-08 11:33 robert +Thu, 5 Nov 2015 14:38:04 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "Avoid per frame X11 roundtrips"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15173 16af8721-9629-0410-8352-f15c8da7e697 - * AUTHORS.txt, ChangeLog: Updated AUTHORS and ChangeLog for dev - release -2015-06-08 11:18 robert +Mon, 26 Oct 2015 11:41:48 +0000 +Checked in by : Robert OSFIELD +Restructed the setting of the RenderStage ClearColor/ClearMask to make the code more readable and to avoid double setting of the ClearMask.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15171 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgDB/Options, src/osgDB/DatabasePager.cpp, - src/osgDB/Options.cpp: From Mike Connell, "Give ReadFileCallback - access to parent location : These small changes to the database - pager allow user code in the ReadFileCallback to safely determine - where the file being loaded is destined to be inserted into the - scenegraph. - " -2015-06-08 10:20 robert +Fri, 23 Oct 2015 15:04:13 +0000 +Checked in by : Robert OSFIELD +From Alberto Luaces, "here are two minimal capitalization fixes for mingw cross-compilation, where case sensitivity matters."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15169 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgUtil/SceneView.cpp: Addressed race condition where - SceneView::setLightingMode() was setting a shread Master Camera's - StateSet. - -2015-06-07 11:13 robert - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Fixed setReferenceTime() bug where a * eather than the correct / - was being used. Bug and fix suggested Benjamin Richter. - -2015-06-04 09:35 robert +Fri, 23 Oct 2015 11:07:21 +0000 +Checked in by : Robert OSFIELD +From Sebastian Messershmidt, "The uncommented pointer type QTimerEvent */*event*/ leads to a compiler error under visual studio 2010"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15167 16af8721-9629-0410-8352-f15c8da7e697 - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated AUTHORS for dev release - -2015-06-04 09:13 robert - - * src/osg/Transform.cpp: From Jannik Heller, - Transform::computeBound() optimization. - -2015-06-04 09:05 robert - - * include/osgViewer/ViewerEventHandlers: From Jannik Heller, - Removed unused StatsHandler::_keyEventToggleVsync - -2015-06-04 09:00 robert - - * include/osgAnimation/UpdateUniform: From Jannik Heller, "In the - attachment you will find a build fix for the latest trunk. - osgAnimation failed to compile when using - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION=OFF ." - -2015-06-03 10:28 robert - - * include/osgAnimation/UpdateUniform: Removed export that was - breaking windows build - -2015-06-03 09:14 robert - - * include/osgAnimation/UpdateUniform, - src/osgAnimation/CMakeLists.txt, - src/osgWrappers/serializers/osgAnimation/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateFloatUniform.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMatrixfUniform.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateVec3fUniform.cpp: - From KOS, "New classes for osgAnimation presented: - UpdateFloatUniform, UpdateVec3fUniform and UpdateMatrixfUniform - (based on UpdateUniform template) - - - Classes operate like osgAnimation::UpdateMaterial for Material's - diffuse component, but change Uniform." - -2015-06-03 09:07 robert - - * examples/osggeometryshaders/osggeometryshaders.cpp, - examples/osgparametric/osgparametric.cpp, - examples/osgshaders/GL2Scene.cpp, - examples/osgsimpleshaders/osgsimpleshaders.cpp, - examples/osgtransformfeedback/osgtransformfeedback.cpp: From KOS, - build fix for osg::Uniform::Callback to osg::UniformCallback - change - -2015-06-03 09:06 robert - - * include/osg/Uniform: Added doxygen comment for typedef - -2015-06-03 08:38 robert - - * src/osgWrappers/serializers/osg/Uniform.cpp: Build fix for when - Uniform::Callback isn't defined - -2015-06-02 10:25 robert - - * src/osgWrappers/serializers/osg/UniformCallback.cpp: From - Konstantin Matveyev, serializer support for UniformCallback - -2015-06-02 09:33 robert - - * include/osg/Callback, include/osg/CopyOp, include/osg/Uniform, - src/osg/Callback.cpp, src/osg/CopyOp.cpp, src/osg/StateSet.cpp, - src/osg/Uniform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Uniform.cpp, - src/osgWrappers/serializers/osg/LibraryWrapper.cpp: From - Konstantin Matveyev, "I've changed osg::Uniform::Callback to - osg::UniformCallback. - osg::UniformCallback inherits osg::Callback now. - - I don't really now if this class should be inside - osgWrappers/serializers - because StateAttributeCallback is not presented there, but i've - included it in the patch. - - - Please see archive in the attachment. - - - PS - DEEP_COPY_UNIFORMS works for me. - " - Note from Robert Osfield, added typedef UniformCallback Callback - for backwards compatibility. - -2015-06-02 09:18 robert - - * examples/osguniformbuffer/osguniformbuffer.cpp: Changed name of - UniformCallback to UniformBufferCallback to avoid conflict with - changes to come to the osg::Uniform::Callback -> - osg::UniformCallback. - -2015-06-01 13:40 robert - - * include/OpenThreads/Thread, include/osg/BoundsChecking, - include/osg/Geometry, include/osg/Image, include/osg/ImageUtils, - include/osg/Object, include/osg/TransferFunction, - include/osg/observer_ptr, include/osg/ref_ptr, - include/osgDB/ClassInterface, include/osgDB/ExternalFileWriter, - include/osgDB/ReaderWriter, include/osgGA/GUIActionAdapter, - include/osgManipulator/Dragger, - include/osgParticle/ConnectedParticleSystem, - include/osgShadow/ViewDependentShadowTechnique, - include/osgTerrain/TerrainTile, include/osgText/Glyph, - include/osgUI/Widget, include/osgUtil/SceneGraphBuilder, - include/osgWidget/Widget, - src/OpenThreads/pthreads/PThreadBarrier.cpp, - src/OpenThreads/pthreads/PThreadMutex.cpp, - src/OpenThreads/win32/Win32Thread.cpp, src/osg/ImageUtils.cpp, - src/osg/Sequence.cpp, src/osg/ShadowVolumeOccluder.cpp, - src/osg/TexGen.cpp, src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osg/Uniform.cpp, src/osgAnimation/RigGeometry.cpp, - src/osgDB/DynamicLibrary.cpp, src/osgDB/FileNameUtils.cpp, - src/osgDB/FileUtils.cpp, src/osgDB/Registry.cpp, - src/osgDB/XmlParser.cpp, src/osgManipulator/Dragger.cpp, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/QTKit/OSXCoreVideoTexture.cpp, - src/osgPlugins/ac/ac3d.cpp, - src/osgPlugins/avfoundation/OSXAVFoundationCoreVideoTexture.cpp, - src/osgPlugins/cfg/VisualChooser.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeReader.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/directshow/DirectShowTexture.cpp, - src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/gles/ReaderWriterGLES.cpp, - src/osgPlugins/ive/Material.cpp, - src/osgPlugins/jpeg/EXIF_Orientation.cpp, - src/osgPlugins/ktx/ReaderWriterKTX.cpp, - src/osgPlugins/las/ReaderWriterLAS.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/Object.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/ply/plyfile.cpp, - src/osgPlugins/ply/vertexData.cpp, - src/osgPlugins/pov/POVWriterNodeVisitor.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp, - src/osgPlugins/txf/TXFFont.cpp, - src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgPlugins/txp/TileMapper.cpp, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/zip/unzip.cpp, - src/osgPresentation/KeyEventHandler.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/MinimalShadowMap.cpp, src/osgShadow/ShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp, - src/osgShadow/ViewDependentShadowMap.cpp, - src/osgSim/InsertImpostorsVisitor.cpp, src/osgSim/Sector.cpp, - src/osgText/GlyphGeometry.cpp, src/osgText/TextBase.cpp, - src/osgUtil/DelaunayTriangulator.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/Simplifier.cpp, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp, - src/osgWidget/Box.cpp, src/osgWidget/StyleManager.cpp, - src/osgWidget/Window.cpp: From Albert Luaces, typo fixes. - -2015-06-01 13:11 robert - - * CMakeModules/FindSDL2.cmake, - applications/present3D/present3D.cpp, - examples/osgcluster/osgcluster.cpp, - examples/osgdepthpeeling/DePee.h, - examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgscribe/osgscribe.cpp, - examples/osgtexture2D/osgtexture2D.cpp, - examples/osgunittests/UnitTestFramework.h, - examples/osgvolume/osgvolume.cpp, include/osg/GraphicsContext, - include/osg/StateAttribute, include/osg/Texture2DArray, - include/osg/Texture3D, include/osg/TextureCubeMap, - include/osg/Timer, include/osg/TransferFunction, - include/osg/Uniform, include/osgAnimation/RigTransformSoftware, - include/osgDB/DatabasePager, include/osgDB/ExternalFileWriter, - include/osgDB/Registry, include/osgSim/ScalarBar, - include/osgViewer/View, src/osg/BufferObject.cpp, - src/osg/GraphicsContext.cpp, src/osg/Notify.cpp, - src/osg/OperationThread.cpp, src/osg/Texture.cpp, - src/osg/dxtctool.h, src/osgDB/FileUtils.cpp, - src/osgDB/ImagePager.cpp, src/osgGA/StateSetManipulator.cpp, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/ac/ac3d.cpp, src/osgPlugins/cfg/RenderSurface.h, - src/osgPlugins/zip/unzip.cpp, src/osgPresentation/Timeout.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/RenderBin.cpp, src/osgUtil/SceneView.cpp: From Jannik - Heller, typo fixes - -2015-06-01 12:14 robert - - * src/osgParticle/ParticleProcessor.cpp: From Jannik Heller, "This - patch adds a missing initialization of - osgParticle::ParticleProcessor::_frameNumber in the copy - constructor. - I noticed this because valgrind was complaining about use of - uninitialized memory." - -2015-06-01 12:07 robert - - * include/osgDB/ObjectWrapper, src/osgDB/ObjectWrapper.cpp: From - Frashud Lashkari, "I was getting "Unsupported wrapper class..." - error messages when attempting to load osgb models simultaneously - from multiple threads. I believe the problem is caused by - un-synchronized access to the global osgDB::ObjectWrapperManager - class. I've attached a change that adds a mutex to the class and - uses it when accessing the internal wrapper/compress maps. This - appears to fix the issues I was having." - -2015-06-01 10:50 robert - - * include/osg/Texture, include/osg/Texture2D, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture2DMultisample.cpp, - src/osg/Texture3D.cpp, src/osg/TextureBuffer.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osgText/Glyph.cpp: From Jannik Heller, "I have added new - functions Texture::generateAndAssignTextureObject mirroring the - Texture::generateTextureObject functions. - - I have left the Texture::generateTextureObject functions intact - as I'm not sure if/how it's used outside the core OSG. If you - feel that compatibility isn't important in that area feel free to - drop it. - - While testing the build with - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION=OFF I found a compile - error in GlyphGeometry.cpp that was entirely unrelated to the - changes I've made. The fix is included in the patch. - - There is one thing left to fix and that is - Texture2D::SubloadCallback: - - class OSG_EXPORT SubloadCallback : public Referenced - { - public: - .... - virtual TextureObject* generateTextureObject(const Texture2D& - texture, State& state) const - { - return osg::Texture::generateTextureObject(&texture, - state.getContextID(), GL_TEXTURE_2D); - } - ... - }" - - -2015-06-01 10:41 robert - - * src/osgText/GlyphGeometry.cpp: From Jannik Heller, build fix - -2015-05-29 07:52 robert - - * include/osg/BufferObject, src/osg/BufferObject.cpp: From Jannik - Heller, fix for race condition in orphanded BufferObject - handling. - -2015-05-26 17:24 robert - - * src/osgUtil/MeshOptimizers.cpp: From Colin McDonald, - "rc/osgUtl/MeshOptimizers.cpp won't compile on some systems due - to a missing std:: namespace prefix." - -2015-05-26 17:22 robert - - * src/osgUtil/SceneView.cpp: From Farshid Lashkari, "attached a - small change to osgUtil::SceneView that prevents unnecessary - calls to glClear when the split stereo separation is 0." - -2015-05-26 17:17 robert - - * src/osgDB/ClassInterface.cpp: From Thomas Hogarth, "Little fix - for ClassInterface::getSupportedProperties, before if you set - searchAssociates to false then it would return the same - BaseSerialiser::Type for every entry in the PropertyMap as i was - not being incremented on line 539. Fix attached." - -2015-05-26 17:12 robert - - * src/osgUtil/RenderStage.cpp: From We See, "I found a small bug in - osgUtil::RenderStage::draw() (osg 3.3.7), which crashes osg. The - problem was caused by an access to the object _camera without - checking whether the object is valid. So I changed the line: - - Code: - if (_cameraRequiresSetUp || - (_cameraAttachmentMapModifiedCount!=_camera->getAttachmentMapModifiedCount())) - - to - - Code: - if (_cameraRequiresSetUp || (_camera.valid() && - _cameraAttachmentMapModifiedCount!=_camera->getAttachmentMapModifiedCount())) - " - -2015-05-26 17:09 robert - - * src/osgUtil/CullVisitor.cpp: From Farshid Lashkari and Robert - Osfield, "a small change to the CullVisitor class, which will use - cloneType() on the root render stage when creating children - render stages. This allows us to pass a custom RenderStage object - to the SceneView and have it used for all sub-stages." - -2015-05-26 10:05 robert - - * examples/osgtext3D/TextNode.cpp, - examples/osgtext3D/osgtext3D.cpp, include/osgText/Style, - src/osgText/Glyph.cpp, src/osgText/GlyphGeometry.cpp, - src/osgText/GlyphGeometry.h, src/osgText/Style.cpp: Rewrote the - Text3D bevel implementation to automatically adjust bevel - thickness to avoid overalapping and erronous tesselation. - - Added osgText::Bevel::s/getRoundedConcaveJunctions(bool) to - control how the bevel should be tessellated around concave - junctions on the glyph boundary. - -2015-05-26 08:48 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added use of ref_ptr<> - -2015-05-25 12:39 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Changed the EventQueue::frame() event generation to use the - generatePointerData/reprojectPointerData() methods in the same - way that other events are handled. - -2015-05-25 11:33 robert - - * include/osgGA/EventQueue, src/osgGA/EventQueue.cpp: Added - osgGA::GUIEventAdapter* returns from various EventQueue event - generation methods. -2015-05-21 14:11 robert +Thu, 22 Oct 2015 13:42:19 +0000 +Checked in by : Robert OSFIELD +Introduced CMake option OSG_PROVIDE_READFILE option that defaults to ON, but when switched to OFF disables the building of the osgDB::read*File() methods, forcing users to use osgDB::readRef*File() methods. The later is preferable as it closes a potential threading bug when using paging databases in conjunction with the osgDB::Registry Object Cache. This threading bug occurs when one thread gets an object from the Cache via an osgDB::read*File() call where only a pointer to the object is passed back, so taking a reference to the object is delayed till it gets reassigned to a ref_ptr<>, but at the same time another thread calls a flush of the Object Cache deleting this object as it's referenceCount is now zero. Using osgDB::readREf*File() makes sure the a ref_ptr<> is passed back and the referenceCount never goes to zero.To ensure the OSG builds when OSG_PROVIDE_READFILE is to OFF the many cases of osgDB::read*File() usage had to be replaced with a ref_ptr<> osgDB::readRef*File() +usage. The avoid this change causing lots of other client code to be rewritten to handle the use of ref_ptr<> in place of C pointer I introduced a serious of +templte methods in various class to adapt ref_ptr<> to the underly C pointer to be passed to old OSG API's, example of this is found in include/osg/Group: - * src/osgText/Text3D.cpp: Fixed memory error associated with - reading over the end of container due to an unbounded while loop. + bool addChild(Node* child); // old method which can only be used with a Node* -2015-05-06 18:39 robert + tempalte bool addChild(const osg::ref_ptr& child) { return addChild(child.get()); } // adapter template method - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Update ChangeLog and AUTHORS file +These changes together cover 149 modified files, so it's a large submission. This extent of changes are warrent to make use of the Object Cache +and multi-threaded loaded more robust. -2015-05-05 11:05 robert - * CMakeLists.txt: Changed the CMP0020 check to > 2.8.10 - Updated SO version number -2015-04-30 14:04 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15164 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/GLDefines: From Christian Kehl, changes for making - osgAndroid working with GLES1 enabled -2015-04-30 13:59 robert +Fri, 9 Oct 2015 08:44:45 +0000 +Checked in by : Robert OSFIELD +updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15151 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgViewer/GraphicsWindowWin32.cpp: From Dmitriy Ogalcev, fix - for crash when calling setCursor from a non GUI thread -2015-04-28 16:12 robert +Thu, 8 Oct 2015 15:58:24 +0000 +Checked in by : Robert OSFIELD +Added osg::flushAllDeletedGLObjects to clean up of graphics context after the existing osg::deleteAllGLObjects() to catch any cases where delete doesn't flush GL objects.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15150 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgShadow/MinimalShadowMap, - src/osgShadow/MinimalShadowMap.cpp: Replaced attempt at passing - NULL Matrix with two specialized methods. -2015-04-27 19:31 robert +Mon, 5 Oct 2015 10:58:32 +0000 +Checked in by : Robert OSFIELD +Introduced usage of OSG_INIT_SINGLETON_PROXY into DatabasePager::prototype() and Registry::instance(), removing the InitRegistry proxy object in src/osgViewer/ViewerBase.cpp.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15147 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/LineSegment, src/osg/LineSegment.cpp: Renamed - LineSegment::intersect(BoundingSphere/Box, double/float&, - double/float&) methods to - LineSegment::intersectAndComputeRations(..) to avoid confusion - with the change in convention for - the old intersect(BoundingBox&, float/double&, float/double&) - method as it was inconsitent with the rest of the OSG including - the intersect(BoundingSphere) method in how the ratio for the - second intersection was measure from - original from the end - point, but now made consistent with other places in the OSG so be - based on ration from start to end of segment. -2015-04-23 14:44 robert +Fri, 25 Sep 2015 15:20:25 +0000 +Checked in by : Robert OSFIELD +From Kristofer Tingdahl, "we had a minor shadow problem with the osg-3.4 that pollutes our continuous integration"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15143 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgText/GlyphGeometry.cpp: Refactoring GlyphGeometry Boundary - class to facilate better bevel overlap detection -2015-04-23 12:58 robert +Fri, 25 Sep 2015 11:15:04 +0000 +Checked in by : Robert OSFIELD +Added fix for case when Renderer is assigned to a Camera that has now Viewgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15141 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgtext/osgtext.cpp: Comment out debug notification -2015-04-23 09:49 robert +Fri, 25 Sep 2015 10:11:52 +0000 +Checked in by : Robert OSFIELD +From Curtis Rubel, "I would like to submit the attached file for inclusion in future releases of OpenSceneGraph and the OpenThreads library.The changes in the file simply remove a few ifndef's that currently +do not allow Linux systems to fully utilize the PThread real-time +scheduling API. - * src/osgText/GlyphGeometry.cpp: Removed unused method +Since Linux now fully supports the PThread scheduling API it would +be beneficial to have it available to use as necessary. I have +been testing this change since OSG release 3.3.7 and have not seen +any ill affects. -2015-04-22 14:25 robert +The Priority scheduling api is further protected by another ifdef: - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Giampaolo Vigano, - "please find attached a further fix for 3ds plugin: now - reflection map works also with transparent objects (I also - removed a redundant setting of BlendFunc)." +#ifdef ALLOW_PRIORITY_SCHEDULING -2015-04-21 17:29 robert +that only appears to be defined in the pthreads implementation as +well. This would make it unlikely that anyone would be affected +by this unless they are intentionally wanting to run with priority +scheduling. In which case on Linux they would need to make +these same modifications themselves to utilize it to its full extent. - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/lib3ds/lib3ds_util.c: From Chris Denham, "I - found a couple of memory leaks in 3DS reader plugin and I have - attached corrected files. I have attached an example 3DS file I - used to test the leaks/fixes using osgviewer for trunk at rev - [14853] and the tagged version 3.2.1. - - The first leak is in the lib3ds module (yeah, I know that - probably should be corrected at http://code.google.com/p/lib3ds/ - but I'm assuming that as no commits have happened there since - 2011 that it may be better to fix the copy we have in the OSG of - that project) The leak is caused by lib3d's use of realloc(ptr, - 0) to free up memory allocations, but realloc, when ptr==NULL - returns malloc(0) rather than NULL and thus leaks a zero byte - allocation. The solution here was to adjust the - 'lib3ds_util_reserve_array' function so that it realloc is not - used to release a NULL pointer. - - The second leak is in ReaderWriter3DS.cpp and arises when any of - the created StateSet objects added to the StateSetMap don't - subsequently get applied to a Node. The solution here was just to - simply use the osg::ref_ptr around the raw StateSet pointer that - was used in the locally defined StateSetInfo struct." +Attached file is for the current trunk as of this date. +" -2015-04-20 10:41 robert - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated AUTHORS +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15140 16af8721-9629-0410-8352-f15c8da7e697 -2015-04-20 10:36 robert - * examples/osgmanipulator/osgmanipulator.cpp: Build fix +Fri, 25 Sep 2015 10:09:27 +0000 +Checked in by : Robert OSFIELD +Refactored the way that FrameStamp is managed in osgViewer::Renderer to avoid thread conflictsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15138 16af8721-9629-0410-8352-f15c8da7e697 -2015-04-20 10:19 robert - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: Build fix +Thu, 24 Sep 2015 14:14:37 +0000 +Checked in by : Robert OSFIELD +From John Hedström,"Texture2DArray support for the .osg serializer"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15136 16af8721-9629-0410-8352-f15c8da7e697 -2015-04-20 09:39 robert - * src/osg/State.cpp: Moved uniform substitution to infront of - vertex attribute substituion to make sure gl_Vertex usage is - replaced when required. +Thu, 24 Sep 2015 10:52:35 +0000 +Checked in by : Robert OSFIELD +Added support for serializing Camera::ImplicitBufferAttachmentRenderMask and ImplicitBufferAttachmentResolveMask properties.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15135 16af8721-9629-0410-8352-f15c8da7e697 -2015-04-20 09:08 robert - * include/osgUtil/MeshOptimizers: From Tim Moore, "The - order_by_primitive_mode comparer was not providing a strict weak - ordering, which was causing a crash in the sort() call in - VertexAccessOrderVisitor::optimizeOrder (gcc 4.9, Fedora 21)." +Thu, 24 Sep 2015 10:48:57 +0000 +Checked in by : Robert OSFIELD +Quietened down debug messagesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15134 16af8721-9629-0410-8352-f15c8da7e697 -2015-04-17 14:36 robert - * CMakeLists.txt: Updated dev release number +Thu, 24 Sep 2015 09:29:03 +0000 +Checked in by : Robert OSFIELD +Fixed line endings.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15132 16af8721-9629-0410-8352-f15c8da7e697 -2015-04-17 13:33 robert - * include/osgManipulator/AntiSquish: Added implementations for the - libraryName and className for the AntiSquish node. - -2015-04-17 13:24 robert - - * src/osg/Node.cpp: Fixed CollectParentPaths visitor so that it - sets the setNodeMaskOverride(0xffffffff) to make sure all parents - are traversed to find parents, even ones that have their NodeMask - set to 0x0. - -2015-04-17 13:22 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Added --test-NodeMask - option to test crash when a parent of osgmanipulator::AntiSquish - node has a NodeMask set to 0x0. - -2015-04-16 11:19 robert - - * src/osgPlugins/osgjs/json_stream: Changed MSVC version test to <= - to enable fallback for VS2010. - -2015-04-16 10:07 robert - - * src/osgManipulator/AntiSquish.cpp: Fixed crash when AntiSquish - node is the root of the scene graph. - -2015-04-15 18:34 robert - - * ChangeLog: Updated ChangeLog - -2015-04-15 18:05 robert - - * CMakeLists.txt: Updated version number of dev release - -2015-04-15 17:12 robert - - * src/osgPlugins/gles/LineIndexFunctor: Added missing const to find - VS2005 build - -2015-04-14 18:16 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: Added check for changes to - window size during GraphicsWindowWin32::init() to fix bug that - occurs when the window manage resizes the window automatically on - creation. - -2015-04-14 15:50 robert - - * src/osgPlugins/osgjs/JSON_Objects: From Philippe Renon, MingW - build fix - -2015-04-13 11:48 robert - - * examples/osgprerender/osgprerender.cpp, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - include/osg/Camera, src/osgSim/ElevationSlice.cpp, - src/osgUtil/RenderStage.cpp, - src/osgWrappers/deprecated-dotosg/osg/Camera.cpp, - src/osgWrappers/serializers/osg/Camera.cpp: Fixed typo of - SEPARATE enums - -2015-04-13 10:43 robert - - * CMakeModules/FindFFmpeg.cmake, CMakeModules/OsgMacroUtils.cmake, - applications/osgconv/osgconv.cpp, - applications/osgversion/osgversion.cpp, - applications/present3D/Cluster.cpp, - applications/present3D/present3D.cpp, - examples/osg2cpp/osg2cpp.cpp, - examples/osganimationsolid/osganimationsolid.cpp, - examples/osganimationtimeline/osganimationtimeline.cpp, - examples/osgautocapture/osgautocapture.cpp, - examples/osgbillboard/osgbillboard.cpp, - examples/osgcamera/osgcamera.cpp, examples/osgclip/osgclip.cpp, - examples/osgcopy/osgcopy.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osgparticleshader/osgparticleshader.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgshadercomposition/osgshadercomposition.cpp, - examples/osgtexture2DArray/osgtexture2DArray.cpp, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgwindows/osgwindows.cpp, include/OpenThreads/Thread, - include/osg/Billboard, include/osg/BoundingSphere, - include/osg/BufferIndexBinding, include/osg/BufferTemplate, - include/osg/ImageSequence, include/osg/ScriptEngine, - include/osg/Shader, include/osg/Shape, include/osg/State, - include/osg/StateSet, include/osg/ValueObject, - include/osgAnimation/Action, include/osgAnimation/RigGeometry, - include/osgDB/Callbacks, include/osgManipulator/Dragger, - include/osgPresentation/SlideEventHandler, - include/osgShadow/OccluderGeometry, - include/osgShadow/ViewDependentShadowMap, - include/osgUtil/Optimizer, include/osgWidget/EventInterface, - src/OpenThreads/pthreads/PThreadBarrierPrivateData.h, - src/osg/Referenced.cpp, src/osg/Shader.cpp, src/osg/State.cpp, - src/osg/Uniform.cpp, src/osgGA/CameraManipulator.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_pparse.cpp, - src/osgPlugins/txp/trpage_write.h, - src/osgPresentation/SlideEventHandler.cpp, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/ShadowTechnique.cpp, - src/osgShadow/ShadowVolume.cpp, - src/osgShadow/ViewDependentShadowMap.cpp, src/osgViewer/View.cpp, - src/osgWrappers/serializers/osgManipulator/Dragger.cpp: From - Jannik Heller, typo fixes - -2015-04-13 10:11 robert - - * CMakeLists.txt, README.txt, src/osg/GL.in, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgViewer/GraphicsWindowIOS.mm: From Konstantin Matveyev, - "I've added GLES3 profile, which also enables GLES2 features - (OSG_GLES3_AVAILABLE=true => OSG_GLES2_AVAILABLE=true). - - If OSG_OPENGL_PROFILE="GLES3" => - GraphicsWindowIOS will create gles3 context. - If failed, GraphicsWindowIOS will create gles2 context. - Multisampling also working. - - " - -2015-04-13 09:50 robert - - * CMakeModules/FindOpenEXR.cmake, - src/osgPlugins/exr/CMakeLists.txt: From Laurens Voerman, I have - modified the FindOpenEXR.cmake to find the debug libraries, and - to define a variable - (OPENEXR_LIBRARIES_VARS) with the variable names that might have - a _DEBUG version defined. - -2015-04-13 08:55 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Added passing of - command line arguments to viewer construction to allow one to - specify extra controls for the viewer such as window size etc. - -2015-04-09 18:42 robert - - * include/osgManipulator/AntiSquish, - src/osgManipulator/AntiSquish.cpp: Refactored - AntiSquish::computeUnSquishedMatrix() method to use the parent - node path of the AntiSquish node - to compute the required matrix rather than using the NodePath - provided by the NodeVistor. This is required - as in osg::computeLocalToWorld() usage case the NodeVisitor - pointer is NULL, so the correct matrix isn't possible to compute. - -2015-04-09 18:38 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Added - WindowSizeHandler to osgmanipulator example - -2015-04-07 18:01 robert - - * applications/present3D/present3D.cpp, - examples/osgclip/osgclip.cpp, - examples/osgkeystone/osgkeystone.cpp, - examples/osgmemorytest/osgmemorytest.cpp, - examples/osgocclusionquery/osgocclusionquery.cpp, - examples/osgposter/PosterPrinter.cpp, - examples/osgshadercomposition/oldshadercomposition.cpp, - examples/osgshadercomposition/osgshadercomposition.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgtexture2D/osgtexture2D.cpp, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgtransferfunction/osgtransferfunction.cpp, - include/OpenThreads/Thread, include/osg/Array, - include/osg/Callback, include/osg/Camera, - include/osg/CullSettings, include/osg/CullingSet, - include/osg/DisplaySettings, include/osg/GLU, - include/osg/GraphicsContext, include/osg/Image, - include/osg/ImageUtils, include/osg/Object, include/osg/State, - include/osg/UserDataContainer, include/osg/View, - include/osgDB/ClassInterface, - include/osgManipulator/Scale2DDragger, - include/osgPresentation/PropertyManager, - include/osgSim/LightPointNode, include/osgUtil/IntersectVisitor, - include/osgUtil/IntersectionVisitor, - include/osgUtil/LineSegmentIntersector, - include/osgUtil/PositionalStateContainer, - include/osgUtil/RayIntersector, include/osgUtil/TriStripVisitor, - include/osgViewer/CompositeViewer, - include/osgViewer/GraphicsWindow, include/osgViewer/Keystone, - include/osgViewer/View, include/osgViewer/Viewer, - include/osgViewer/ViewerBase, include/osgWidget/PdfReader, - include/osgWidget/VncClient, include/osgWidget/Window, - src/OpenThreads/pthreads/PThread.cpp, src/osg/Image.cpp, - src/osg/LightSource.cpp, src/osg/OcclusionQueryNode.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DMultisample.cpp, src/osg/TextureRectangle.cpp, - src/osgAnimation/Bone.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/txp/trpage_geom.h, src/osgText/String.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/View.cpp: From Jannik - Heller, typo fixes - -2015-04-07 16:58 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Giampaolo Viganò, - "you can find in the attached ZIP archive a fix for 3ds plugin - transparent/diffuse textures and opacity maps and the support for - reflection map" - -2015-04-07 15:53 robert - - * applications/osgconv/osgconv.cpp, - examples/osganalysis/osganalysis.cpp: From Janik Heller, clean up - of drawable/node usage - -2015-04-07 15:52 robert - - * examples/osggpucull/ShapeToGeometry.cpp, - examples/osggpucull/ShapeToGeometry.h: Removed unused - ShapesToGeometriesVisitor. - -2015-04-07 15:49 robert - - * include/osgUtil/Optimizer, src/osgDB/SharedStateManager.cpp, - src/osgGA/StateSetManipulator.cpp, src/osgUtil/Optimizer.cpp: - Cleaned up handling of Drawables so it utilizes the Node - inheritance properly. - -2015-04-03 15:43 robert - - * src/osgPlugins/stl/ReaderWriterSTL.cpp: Build fix for VS2005. - -2015-04-03 13:34 robert - - * include/osg/ImageUtils: Improved the doxygen comment for the new - createImageWithOrientationConversion(..) function. - -2015-04-03 13:29 robert - - * src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: Added automatic - rotation of jpeg image based on EXIF rotation information - provided in the header. - -2015-04-03 13:19 robert - - * include/osg/ImageUtils, src/osg/ImageUtils.cpp: Implemented an - osg::createImageWithOrientationConversion(...) method to aid for - changing orientation of images. - -2015-04-02 16:11 robert - - * src/osgPlugins/jpeg/CMakeLists.txt, - src/osgPlugins/jpeg/EXIF_Orientation.cpp, - src/osgPlugins/jpeg/EXIF_Orientation.h, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: Added reading of - EXIF_Orientation tags when present in a jpeg file. - -2015-04-02 10:12 robert - - * src/osgPlugins/osgjs/JSON_Objects, - src/osgPlugins/osgjs/json_stream: From Wojciech Lewandowski, - Windows build fixes, "These are the tweaks I had to make. - JSON_Objects / json_stream headers attached. I am not sure how - these will behave on VS 2010. Someone with VS 2010 should test - it. Should be okay on VS 2008 and below + VS 2012 and above, - though." - -2015-04-01 09:37 robert - - * src/osg/Image.cpp: From Lionel Largarde, "fix for the - Image::computeNumberOfMipmapLevels method. The method did use the - float version of the log function and the / operator. - It works for most of the input sizes, but fails for 8192, - 32768... - For 8192, the method returns 13 instead of 14." - -2015-03-31 19:31 robert - - * src/osg/Texture2DArray.cpp: Fixed crash when using a subload - callback, where the _images array is empty by _images[0] was - still being accessed. - -2015-03-31 19:29 robert +Wed, 23 Sep 2015 10:41:54 +0000 +Checked in by : Robert OSFIELD +Added missing OSG_EXPORT to fix Windows buildgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15131 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgtexture2DArray/osgtexture2DArray.cpp: Added --subload - command line option and test subload callback for testing - purposes -2015-03-31 16:23 robert +Wed, 23 Sep 2015 09:47:34 +0000 +Checked in by : Robert OSFIELD +Refactored the GL object deletion management to use new osg::GraphicsObjectManager/GLObjectManager base classes, and osg::ContextData container.This approach unifies much of the code handling the clean up of OpenGL graphics data, avoids lots of local mutexes and static variables that were previously required, +and enables the clean up scheme to be easily extended by users providing their own GraphicsObjectManager subclasses. - * examples/osgdistortion/osgdistortion.cpp, include/osg/Camera, - src/osg/Camera.cpp: Introduced osg::Camera::resize(..) method and - associated enum thus: - - enum ResizeMask - { - RESIZE_VIEWPORT=1, - RESIZE_ATTACHMENTS=2, - RESIZE_PROJECTIONMATRIX=4, - RESIZE_DEFAULT=RESIZE_VIEWPORT|RESIZE_ATTACHMENTS - }; - - /** Resize, to the specified width and height, the viewport, - attachments and projection matrix according to the resizeMask - provided. - * Note, the adjustment of the projection matrix is done if the - RESIZE_PROJECTIONMATRIX mask to set and according to the rules - specified in the ProjectionResizePolicy. */ - void resize(int width, int height, int - resizeMask=RESIZE_DEFAULT); -2015-03-31 15:08 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15130 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgdistortion/osgdistortion.cpp, include/osg/Camera, - src/osg/Camera.cpp: Introduced Camera::resizeAttachments(int - width, int height) to resize all the Texture and Image assigned - the the Camera attachments. -2015-03-31 10:41 robert +Fri, 4 Sep 2015 15:35:24 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, "I've hit what I believe to be a bug (or at the very least, an unintuitive behaviour) in the osg::Geometry copy constructor. I noticed it when using osg::clone on a Geometry with vertex buffer objects, and the copy flags DEEP_COPY_ARRAYS. To be precise, I add a Geometry to an osgUtil::IncrementalCompileOperation, then osg::clone the Geometry. I was getting reports from users of random crashes happening.I believe the offending lines are in the osg::Geometry copy constructor: - * examples/osgdistortion/osgdistortion.cpp: Refactor the RTT Camera - resize code into a seperate Callback method in prep for this all - being done by a single Camera API call. + if ((copyop.getCopyFlags() & osg::CopyOp::DEEP_COPY_ARRAYS)) + { + if (_useVertexBufferObjects) + { + // copying of arrays doesn't set up buffer objects so we'll need to force + // Geometry to assign these, we'll do this by switching off VBO's then renabling them. + setUseVertexBufferObjects(false); + setUseVertexBufferObjects(true); + } + } -2015-03-31 10:36 robert +Toggling the vertex buffer objects off then on again actually touches not only the arrays controlled by DEEP_COPY_ARRAYS, but also the PrimitiveSets which are controlled by DEEP_COPY_PRIMITIVES. This means if the user has copyflags of only DEEP_COPY_ARRAYS, we are modifying arrays that belong to the original const Geometry& we are copying from. I believe this shouldn't be allowed to happen because we are using a const& specifier for the original Geometry. - * include/osg/Camera, include/osgUtil/RenderStage, - src/osg/Camera.cpp, src/osgUtil/RenderStage.cpp: Added - Camera::dirtyAttachmentMap(), - Camera::s/getAttachmentMapModified() value and usage of this in - RenderStage as a new mechanism - for telling the rendering backend to update itself to reflect new - values in the attachments such as new texture or image sizes. +In my case the osgUtil::IncrementalCompileOperation was trying to compile the geometry, while in the main thread a clone operation toggled the VBO's off and on, a crash ensues. -2015-03-23 11:36 robert +In the attached patch, you will find a more efficient handling of VBO's in the osg::Geometry copy constructor, so that only the Arrays that were actually deep copied have their VBO assigned, and no changes are made to Arrays that already had a valid VBO assigned. In addition, the DEEP_COPY_PRIMITIVES flag is now honored so that VBO's are set up correctly should a user copy a Geometry with only that flag. +" - * examples/osgtessellationshaders/osgtessellationshaders.cpp: Added - StatsHandler to osgtessellationshaders example to test out - rendering bug associated with stats rendering. -2015-03-20 17:58 robert - * examples/osgdistortion/osgdistortion.cpp: Added event handle to - alter the RTT Camera's dimensions to follow the windows resizes. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15129 16af8721-9629-0410-8352-f15c8da7e697 -2015-03-20 15:49 robert - * src/osgViewer/GraphicsWindowX11.cpp: Fixed resize dimensions of - X11 window +Fri, 4 Sep 2015 15:04:58 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "I found that using an ImageSequence with mode PAGE_AND_DISCARD_USED_IMAGES triggers the (3) imageThreads to run and never stop, even when no more work is to be done. This is due to a bug in the stop condition currently setting the thread to stop and wait for a signal only when no work needs to be done AND the databasepager is paused. It should stop and wait for a signal on either of those two. Due to a few logical inversions it boils down to replacing || with &&OLD _block->set((!_requestList.empty() || !_pager->_databasePagerThreadPaused)); +NEW _block->set((!_requestList.empty() && !_pager->_databasePagerThreadPaused));//release the threads to run IF (work_to_be_done && not_paused) -2015-03-20 11:48 robert +This bug is present since svn rev 8663 (just before 2.6.0 release) - * examples/osgviewerQt/osgviewerQt.cpp: From Jannik Heller, "Fix - for Qt4 multi-threaded crash. This patch adds the - AA_X11InitThreads flag to the QApplication setup, meaning QT will - call XInitThreads for us. This also bumps the required QT version - to 4.8+, because the AA_X11InitThreads flag was introduced in - that version. If that is not acceptable, we could add a - QT_VERSION >= 0x040800 guard, or manually call XInitThreads() - instead. Let me know what you think." -2015-03-19 10:49 robert +attached is a zip with the files: - * examples/osgdistortion/osgdistortion.cpp: Added Texture wrap - setting to CLAMP_TO_EDGE to fix rendering problem when running - the default osgdistortion example +OpenSceneGraph\include\osgDB\ImagePager -2015-03-17 18:10 robert - * src/osgPlugins/osgjs/JSON_Objects.cpp: Fixed VisualStudio warning -2015-03-17 14:50 robert +This file is valid for svn branch and stable 3.2 and 3.4 +branches 2.6 - 3.0 have the same bug, but other differences in the file." - * src/osgWrappers/serializers/osg/ComputeBoundingBoxCallback.cpp, - src/osgWrappers/serializers/osg/ComputeBoundingSphereCallback.cpp, - src/osgWrappers/serializers/osg/LibraryWrapper.cpp, - src/osgWrappers/serializers/osg/UpdateCallback.cpp: From - Konstantin Matveyev, "Added ComputeBoundingBoxCallback, - ComputeBoundingSphereCallback and UpdateCallback implmenentations - to serializers" -2015-03-17 09:40 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - dev release - -2015-03-17 09:09 robert - - * src/osgWrappers/serializers/osg/LibraryWrapper.cpp: Fixed library - wrapper - -2015-03-17 08:25 robert - - * src/osgWrappers/serializers/osg/LibraryWrapper.cpp: Added - ComputeBoundingSphereCallback reference +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15125 16af8721-9629-0410-8352-f15c8da7e697 -2015-03-17 08:24 robert - * src/osgWrappers/serializers/osg/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgAnimation/LibraryWrapper.cpp: From - Konstantin Matveyev, "More "LibraryWrapper" fixes for osg and - osgAnimation NodeKits - in the attachment (for 3.3.6 version :) - - Fixes: - - osg: - Unsupported associated class osg::UpdateCallback - (osg_Drawable_UpdateCallback); - ComputeBoundingBoxCallback - - osgAnimation: - Unsupported wrapper class - osgAnimation::RigComputeBoundingBoxCallback - " +Fri, 4 Sep 2015 14:50:39 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "I crashed osgconv while compressing textures:osgconv --compressed-dxt1 cow.osg cow.ive -2015-03-17 08:19 robert +due to different handling of the extentions in osg 3.4 and up. - * src/osgPlugins/osgjs/json_stream: Changed to using - osgDB::ofstream to work around Windows build issue +attached is a zip with the files: -2015-03-16 17:01 robert +OpenSceneGraph\applications\osgconv\osgconv.cpp - * src/osgPlugins/osgjs/CMakeLists.txt: Removed unneccessary library - link line. -2015-03-16 14:16 robert - * src/osgUtil/MeshOptimizers.cpp: Removed the using namespace std - and replaced with local std:: to make the code clearer +This file is valid for svn branch and stable3.4." -2015-03-16 12:13 robert - * examples/osgdistortion/osgdistortion.cpp: Refactored the command - line setup to enable better control of set up. - Added WindowSizeHandler to allow for adjustment of window size. -2015-03-16 10:30 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15124 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgAnimation/Animation.cpp: From Konstantin Matveyev, "Last - update in the osgAnimation::Animation ONCE mode bug fix" -2015-03-16 10:07 robert +Fri, 4 Sep 2015 14:34:45 +0000 +Checked in by : Robert OSFIELD +From Julien Valentin, "Serializing custom geometry i ran into a crash due to a setVertexAttribArrayList(array) with array containing NULL vertexAttrib. I added a test in order to avoid itCode: +void Geometry::setVertexAttribArrayList(const ArrayList& arrayList) +{ + _vertexAttribList = arrayList; - * examples/osganimationviewer/AnimtkViewer.cpp: Added --play-mode - [ONCE, STAY, LOOP, PPONG] to help with testing. + dirtyDisplayList(); -2015-03-13 08:12 robert + if (_useVertexBufferObjects) + { + for(ArrayList::iterator itr = _vertexAttribList.begin(); + itr != _vertexAttribList.end(); + ++itr) + { +if(itr->get())//ADDED + addVertexBufferObjectIfRequired(itr->get()); + } + } +} +" - * src/osgWrappers/serializers/osg/LibraryWrapper.cpp: From - Konstantin Matveyev, "Small fix for OSG 3.3.6.119 in the - attachment. - - One line added in osg/LibraryWrapper.cpp - - USE_SERIALIZER_WRAPPER(Callback) - " +and -2015-03-12 17:11 robert +"The bug i ran into is a crash reading osgt Geometry with null vertexattribs. +The only thing i added is a not nul check on array passed to setVertexAttribArrayList." - * CMakeLists.txt, include/osgAnimation/MorphGeometry, - include/osgAnimation/RigGeometry, - src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/RigGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateBone.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMaterial.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMatrixTransform.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMorph.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMorphGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateRigGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateSkeleton.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateVertex.cpp: - Refactored how the callbacks for updating geometry are managed in - MorphGeometry and RigGeometry to address bugs in serialization. - -2015-03-12 15:12 robert - - * CMakeModules/FindFBX.cmake: From Laurens Voerman, "attached is a - zip with a modified version of: - OpenSceneGraph\CMakeModules\FindFBX.cmake - - This version can find fbx sdk 2015.1 and will prefer it over - older versions. - - Tested with Visual Studio Express 2013 on 64bit windows 7" - -2015-03-12 13:41 robert - - * src/osgPlugins/osgjs/json_stream: From Mattias Helsing, add - copyright notice from other osgjs header to the json_stream - header - -2015-03-12 13:37 robert - - * src/osgPlugins/osgjs/json_stream: Added using namespace std and - removed the std:: prefixes before the std::isfinte and std::isinf - function calls to avoid problems with Android builds against - older NDK's. - -2015-03-11 17:47 robert - - * src/osgPlugins/exr/ReaderWriterEXR.cpp: From Laurens Voerman, - warning fixes - -2015-03-11 17:36 robert - - * src/osgPlugins/sdl/JoystickDevice.cpp: From Laurens Voerman, "The - current version will not compile with SDL version 2, error - OpenSceneGraph\src\osgPlugins\sdl\JoystickDevice.cpp(42): error - C2664: 'const char *SDL_JoystickName(SDL_Joystick *)' : cannot - convert argument 1 from 'int' to 'SDL_Joystick *' - due to changes in the SDL api. - - Tested with Visual Studio Express 2013; SDL 2.0.1" - -2015-03-11 17:27 robert - - * examples/osgtexture2DArray/osgtexture2DArray.cpp, - include/osg/Texture2DArray, src/osg/Texture2DArray.cpp: 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. - -2015-03-11 15:44 robert - - * examples/osgtexture3D/osgtexture3D.cpp: Updated the comments to - be more relevant - -2015-03-10 18:15 robert - - * include/osg/Texture2DArray, src/osg/Texture2DArray.cpp, - src/osgWrappers/serializers/osg/Texture2DArray.cpp: Work in - progress to allow osg::Texture2DArray to be set up with a single - osg::Image containing 3D image data. - -2015-03-10 18:07 robert - - * examples/CMakeLists.txt, examples/osgtexture2DArray, - examples/osgtexture2DArray/CMakeLists.txt, - examples/osgtexture2DArray/osgtexture2DArray.cpp: Work in - progress on new osgtexture2DArray example - -2015-03-09 11:27 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/gles, - src/osgPlugins/gles/AnimationVisitor, - src/osgPlugins/gles/BindPerVertexVisitor, - src/osgPlugins/gles/CMakeLists.txt, - src/osgPlugins/gles/DetachPrimitiveVisitor, - src/osgPlugins/gles/DrawArrayVisitor, - src/osgPlugins/gles/EdgeIndexFunctor, - src/osgPlugins/gles/GeometryArray, - src/osgPlugins/gles/GeometrySplitterVisitor, - src/osgPlugins/gles/GeometryUniqueVisitor, - src/osgPlugins/gles/IndexMeshVisitor, - src/osgPlugins/gles/IndexMeshVisitor.cpp, - src/osgPlugins/gles/LineIndexFunctor, - src/osgPlugins/gles/OpenGLESGeometryOptimizer, - src/osgPlugins/gles/OpenGLESGeometryOptimizer.cpp, - src/osgPlugins/gles/PointIndexFunctor, - src/osgPlugins/gles/PreTransformVisitor, - src/osgPlugins/gles/PrimitiveIndexors, - src/osgPlugins/gles/ReaderWriterGLES.cpp, - src/osgPlugins/gles/StatLogger, - src/osgPlugins/gles/TangentSpaceVisitor, - src/osgPlugins/gles/TriangleLinePointIndexFunctor, - src/osgPlugins/gles/TriangleStripVisitor, - src/osgPlugins/gles/TriangleStripVisitor.cpp, - src/osgPlugins/gles/UnIndexMeshVisitor, - src/osgPlugins/gles/UnIndexMeshVisitor.cpp, - src/osgPlugins/gles/WireframeVisitor, - src/osgPlugins/gles/forsythtriangleorderoptimizer.cpp, - src/osgPlugins/gles/forsythtriangleorderoptimizer.h, - src/osgPlugins/gles/glesUtil, src/osgPlugins/osgjs, - src/osgPlugins/osgjs/Adaptator, src/osgPlugins/osgjs/Animation, - src/osgPlugins/osgjs/Animation.cpp, src/osgPlugins/osgjs/Base64, - src/osgPlugins/osgjs/Base64.cpp, - src/osgPlugins/osgjs/CMakeLists.txt, - src/osgPlugins/osgjs/CompactBufferVisitor, - src/osgPlugins/osgjs/JSON_Objects, - src/osgPlugins/osgjs/JSON_Objects.cpp, - src/osgPlugins/osgjs/ReaderWriterJSON.cpp, - src/osgPlugins/osgjs/WriteVisitor, - src/osgPlugins/osgjs/WriteVisitor.cpp, - src/osgPlugins/osgjs/json_stream: From Cedric Pinson, gles and - osgjs plugins that support conversion of OSG loaded models into a - form that can be used with osgjs JavaScript library - -2015-03-05 19:53 robert - - * AUTHORS.txt: Update AUTHORS file for 3.3.6 dev release - -2015-03-05 19:33 robert - - * CMakeLists.txt: Updated dev release number - -2015-03-05 19:26 robert - - * ChangeLog: Updated ChangeLog for dev release - -2015-03-05 10:53 robert - - * src/osg/Shader.cpp: Added check for newline at end of version - line, and of it's not add a '\n' - -2015-03-04 18:39 robert - - * CMakeLists.txt: Updated SO_VERSION after changes to - osgPresentation - -2015-03-04 18:36 robert - - * applications/present3D/CMakeLists.txt, - applications/present3D/Cluster.cpp, - applications/present3D/Cluster.h, - applications/present3D/ExportHTML.cpp, - applications/present3D/ExportHTML.h, - applications/present3D/PointsEventHandler.cpp, - applications/present3D/PointsEventHandler.h, - applications/present3D/ReadShowFile.cpp, - applications/present3D/ReadShowFile.h, - applications/present3D/SDLIntegration.cpp, - applications/present3D/SDLIntegration.h, - applications/present3D/ShowEventHandler.cpp, - applications/present3D/ShowEventHandler.h, - applications/present3D/SpellChecker.cpp, - applications/present3D/SpellChecker.h, - applications/present3D/deprecated, - applications/present3D/present3D.cpp, - include/osgPresentation/AnimationMaterial, - include/osgPresentation/CompileSlideCallback, - include/osgPresentation/KeyEventHandler, - include/osgPresentation/PickEventHandler, - include/osgPresentation/PropertyManager, - include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, - include/osgPresentation/Timeout, - include/osgPresentation/deprecated/AnimationMaterial, - include/osgPresentation/deprecated/CompileSlideCallback, - include/osgPresentation/deprecated/KeyEventHandler, - include/osgPresentation/deprecated/PickEventHandler, - include/osgPresentation/deprecated/PropertyManager, - include/osgPresentation/deprecated/SlideEventHandler, - include/osgPresentation/deprecated/SlideShowConstructor, - include/osgPresentation/deprecated/Timeout, - src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/ReaderWriterOscDevice.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPresentation/AnimationMaterial.cpp, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/CompileSlideCallback.cpp, - src/osgPresentation/KeyEventHandler.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/PropertyManager.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgPresentation/Timeout.cpp, - src/osgPresentation/deprecated/AnimationMaterial.cpp, - src/osgPresentation/deprecated/CompileSlideCallback.cpp, - src/osgPresentation/deprecated/KeyEventHandler.cpp, - src/osgPresentation/deprecated/PickEventHandler.cpp, - src/osgPresentation/deprecated/PropertyManager.cpp, - src/osgPresentation/deprecated/SlideEventHandler.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgPresentation/deprecated/Timeout.cpp: Restructed the - osgPresentation and present3D directories back to the structure - that was present in OSG-3.2 - -2015-03-04 17:42 robert - - * examples/CMakeLists.txt, include/osgDB/ClassInterface, - include/osgPresentation/Action, include/osgPresentation/Audio, - include/osgPresentation/Element, include/osgPresentation/Group, - include/osgPresentation/Image, include/osgPresentation/Layer, - include/osgPresentation/Model, include/osgPresentation/Movie, - include/osgPresentation/Presentation, - include/osgPresentation/PresentationInterface, - include/osgPresentation/Section, include/osgPresentation/Show, - include/osgPresentation/Slide, include/osgPresentation/Text, - include/osgPresentation/Volume, src/osgPresentation/Action.cpp, - src/osgPresentation/Audio.cpp, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/Element.cpp, src/osgPresentation/Group.cpp, - src/osgPresentation/Image.cpp, src/osgPresentation/Layer.cpp, - src/osgPresentation/Model.cpp, src/osgPresentation/Movie.cpp, - src/osgPresentation/Presentation.cpp, - src/osgPresentation/PresentationInterface.cpp, - src/osgPresentation/Section.cpp, src/osgPresentation/Show.cpp, - src/osgPresentation/Slide.cpp, src/osgPresentation/Text.cpp, - src/osgPresentation/Volume.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osgPresentation: Removed the - experiemental osgPresentation classes. These are only partially - functional and not appropriate for the stable OSG-3.4 release - -2015-03-03 15:26 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated AUTHORS for 3.3.5 dev release - -2015-03-03 14:59 robert - - * src/osgWrappers/serializers/osg/ClusterCullingCallback.cpp: Fixed - ClusterCullingCallback parser problem due to osg::Callback not - being included in inheritance list - -2015-03-03 12:56 robert - - * src/osgUtil/Optimizer.cpp: Restructed the checks in the - CollectLowestTransformsVisitor::removeTransforms() to avoid - benign case being flagged as warning. - -2015-03-03 12:03 robert - - * include/osgDB/ObjectWrapper, include/osgDB/Serializer, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/ClearNode.cpp, - src/osgWrappers/serializers/osgText/TextBase.cpp: From Miha - Ravselj, "Regarding previous submission it was only partial - solution. After further testing I found similar bug also in - ClearNode serializer. - - //GLbitfield mask = GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT; - This line was problematic since it produced incorrect result when - let's say COLOR flag is serialized - it should be null as in Camera serializer or in a proposed - BitFlagsSerializer - - - This line of code caused that whenever only GL_COLOR_BUFFER_BIT - bit was written and on value read - GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT was restored instead of - GL_COLOR_BUFFER_BIT only. - - //GLbitfield mask = 0; //this resolves the issue same as in - camera - Also same bit-wise comparison bug was also present in write - method. - ------------------------------------------------------------------------------------- - - As you can see there are total 3 bit mask serializers in OSG and - all 3 had bugs so I decided to add ADD_BITFLAGS_SERIALIZER and - replace USER serializers in osg::Camera, osg::ClearNode and - osgText::TextBase. I have made sure that bitflags serializer does - not break backwards-compatibility since it uses same code as user - serializer does in all 3 cases. (see tester.cpp on how - compatibility test was performed)" - -2015-03-03 12:00 robert - - * src/osg/PolygonMode.cpp: Re-organized the #ifdef's to avoid usage - of glPolyginMode under GLES - -2015-03-02 14:38 robert - - * CMakeLists.txt: Updated SO_VERSION to take account of API changes - in osgDB - -2015-03-02 12:11 robert - - * include/osgDB/ConvertBase64, src/osgDB/CMakeLists.txt, - src/osgDB/ConvertBase64.cpp, src/osgDB/InputStream.cpp, - src/osgDB/OutputStream.cpp: From Johannes Scholz, "Attached you - find a patch for osgDB::OutputStream and osgDB::InputStream to - include osg::Image::data() using Base64 encoding inside the ASCII - OSGT, if WriteImageHint=IncludeData is set, only." - -2015-03-02 12:09 robert - - * examples/osgtessellationshaders/osgtessellationshaders.cpp, - include/osg/GLDefines: From Michael McDonnel, "The tessellation - shader example has a small bug.The middle of the - geometry is clipped as soon as it is tessellated. The clipping is - probably caused by rounding errors because it is only in one - spot. The - clipping disappears when the camera is moved, and reappears when - it is - moved back. Expanding the the bounding box fixed the clipping - bug." - - Tweaked by Robert Osfield to expand it to a -1 to 1 unit box. - Actual clipping bug is not due to rounding errors but the shaders - creating vertices outside the bounding box of the original input - vertices +--------------------This line, and those below, will be ignored-- -2015-03-01 15:20 robert +M src/osg/Geometry.cpp - * examples/osgshadercomposition/osgshadercomposition.cpp: Fixed - StateSet::Define names to match OpenSceneGraph-Data/shaders. -2015-03-01 11:08 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15121 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgGA/OrbitManipulator.cpp, - src/osgGA/StandardManipulator.cpp: From Jannik Heller, "I noticed - the rotation in the OrbitManipulator depends on the framerate. To - reproduce this issue, start the osganimate example, rotate the - model with the left mouse button, then let go of the mouse button - while still moving. You will notice that with V-Sync enabled, the - model rotates slower. - - The OrbitManipulator calculates a scale to counteract the - framerate dependency, but it turns out this scale wasn't used for - the rotation yet." - -2015-02-27 10:01 robert - - * CMakeLists.txt: Updated version number after dev release. - -2015-02-27 09:47 robert - - * ChangeLog, applications/osgversion/Contributors.cpp: Updated - ChangeLog and Contributors to fix trailing spaces - -2015-02-27 09:05 robert - - * src/osgPlugins/lua/lua-5.2.3/src/ldo.c, - src/osgPlugins/lua/lua-5.2.3/src/lgc.c, - src/osgPlugins/lua/lua-5.2.3/src/lparser.c, - src/osgPlugins/lua/lua-5.2.3/src/lstrlib.c: Fixed Windows - warnings - -2015-02-27 04:29 robert - - * examples/osgfpdepth/osgfpdepth.cpp, src/osg/State.cpp: Fixes for - warnings - -2015-02-26 20:15 robert - - * src/osgText/Text.cpp: Fixed build with auto ptr conversion - switched off - -2015-02-26 19:51 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated AUTHORS - -2015-02-26 19:14 robert - - * src/osg/Image.cpp: From Bradley Baker Searles, "We had someone - replace a DDS texture with a GL_RGB/GL_UNSIGNED_SHORT_5_6_6 - image, which would trigger a crash in Image.cpp while flipping - the mipmap chain. The code was trying to flip the mipmaps using - the rowStep for the full-size image (we have "dds_flip" set in - the osgDB::ReaderWriter::Options in the osgDB::Registry)." - -2015-02-26 18:06 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Bradley Baker - Searles, "Small patch attached to handle DDS flip when s=4. - Currently it will omit flipping and generate a warning: "Vertical - flip was skipped. Image dimensions have to be multiple of 4." - -2015-02-26 17:49 robert - - * include/osg/GLExtensions, src/osg/GLExtensions.cpp: From Julien - Valentin and Alberto Luaces, added support for transform feedback - extensions - -2015-02-26 17:18 robert - - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Update - AUTHORS file - -2015-02-26 14:16 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Fixed typo - -2015-02-26 13:52 robert - - * AUTHORS.txt: Regenerated AUTHORS.txt to fix missing special - characters - -2015-02-25 19:59 robert - - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - AUTHORS file - -2015-02-25 19:52 robert - - * ChangeLog: Updated ChangeLog - -2015-02-25 19:38 robert - - * src/osgPlugins/las/ReaderWriterLAS.cpp: From Aitor Moreno, - "Attached you will find the modified file without the lines which - raises the exception. " - -2015-02-25 19:31 robert - - * src/osgSim/ScalarBar.cpp: From Jamie Robertson, "I've been using - osgSim::ScalarBar to display fixed range color values (e.g. red - from 1-2, green from 3-4 etc), by setting the _numColors the same - as the number of actual colors in the ColorRange. - - Currently if you do this you get strange looking results as the - colors are calculated for values in the centre of each color - step, so if your steps are large, the colors are interpolated - sigificantly (see screen grab of red, green and blue colors for - illustration). - - I've attached a fix which just uses the original color values - whenever _numColors equals the number of actual defined colors in - the ColorRange. I doubt anyone would want interpolated colors in - these circumstances." -2015-02-25 19:25 robert +Fri, 4 Sep 2015 14:24:40 +0000 +Checked in by : Robert OSFIELD +Updated SO version for svn/trunk.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15120 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt, CMakeModules/FindGStreamer.cmake: From Dmitry - Marakasov, "While packaging osg-3.3.3 I've discovered that - gstreamer detection is - broken: - - -- Could NOT find GStreamer (missing: GSTREAMER_BASE_INCLUDE_DIRS - GSTREAMER_BASE_LIBRARIES GSTREAMER_GSTREAMER-APP_INCLUDE_DIRS - GSTREAMER_GSTREAMER-APP_LIBRARIES - GSTREAMER_GSTREAMER-PBUTILS_INCLUDE_DIRS - GSTREAMER_GSTREAMER-PBUTILS_LIBRARIES) (found version "1.4.5") - - though all required modules are installed. - - There are two problems: first, module names are spelled - incorrectly in root - CMakeLists.txt (e.g. gstreamer-app instead of app), so variables - expected - for them are e.g. GSTREAMER_GSTREAMER-APP_INCLUDE_DIRS instead of - GSTREAMER_APP_INCLUDE_DIRS. - - Second, gstreamer base component is detected as GSTREAMER while - checked - later as GSTREAMER_BASE. I've uncommented the detection as - GSTREAMER_BASE, but obviously that should be revisited and only - one - detection left. With this patch, gstreamer is detected properly - and - the plugins is successfully built and installed." - -2015-02-25 19:19 robert - - * examples/osgviewerQt/osgviewerQt.cpp: 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 18:56 robert - - * examples/osgfont/osgfont.cpp, examples/osgtext/osgtext.cpp, - include/osgText/Glyph, include/osgText/Text, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgQt/QFontImplementation.cpp, src/osgText/DefaultFont.cpp, - src/osgText/Glyph.cpp, src/osgText/Text.cpp, - src/osgWidget/Input.cpp: From Andreas Henne, Support for GL3 core - profile in osgText - -2015-02-25 16:59 robert - - * examples/osgtessellationshaders/osgtessellationshaders.cpp: From - Michael McDonnell, "I have changed the code so that the plus key - increases both the inner - and outer tessellation. The minus key decrease both the inner and - outer tessellation. You can still use the arrow keys to control - inner - and outer tessellation separately." - - From Robert Osfield, clean up the code to fix warnings and make - the coding style more consistent with the rest of the OSG. - -2015-02-25 14:55 robert - - * include/osgDB/Serializer, src/osgDB/InputStream.cpp, - src/osgDB/OutputStream.cpp: Fixed handling of NULL entries in - osg::Geometry TexCoordArrayList and VertexAttribArrayList. - -2015-02-24 11:06 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp: Fixed matrix setup. - -2015-02-23 20:28 robert - - * src/osg/TransferFunction.cpp: Fixed image allocation operations. - -2015-02-23 11:43 robert - - * src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osgText/TextBase.cpp: From Miha - RavÅ¡elj and Robert Osfield, fix for serializer bug in - osgText::TextBase and osg::Camera - -2015-02-23 11:07 robert - - * src/osgViewer/StatsHandler.cpp: From Arjun Ramamurthy, fix for - use of StatsHandler in multipleviews/windows - -2015-02-20 15:12 robert - - * examples/osgterrain/osgterrain.cpp: 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:04 robert - - * src/osgTerrain/shaders/terrain_displacement_mapping_CCC_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_CC_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_C_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_flat_vert.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_geom.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_vert.cpp: - Removed redudent shaders, and updated remaining shaders to match - OpenSceneGraph-Data/shaders - -2015-02-20 15:02 robert - * examples/osgterrain/osgterrain.cpp, include/osg/StateSet, - include/osgTerrain/GeometryPool, - src/osgFX/MultiTextureControl.cpp, - src/osgTerrain/GeometryPool.cpp, src/osgTerrain/Terrain.cpp: - First step of refactoring the osg::Program management in - osgTerrain::GeometryPool for better performance by placing - default osg::Program and shader defines on a single StateSet - below the osgTerrain::Terrain +Fri, 4 Sep 2015 14:24:11 +0000 +Checked in by : Robert OSFIELD +Fixed warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15119 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-18 10:52 robert - * include/osgTerrain/DisplacementMappingTechnique, - include/osgTerrain/Terrain, - src/osgTerrain/DisplacementMappingTechnique.cpp, - src/osgTerrain/Terrain.cpp: Moved osgTerrain::GeometryPool from - osgTerrain::DisplacementMappingTechnique to the - osgTerrain::Terrain +Fri, 4 Sep 2015 14:23:55 +0000 +Checked in by : Robert OSFIELD +Fixed warning by removing redundent checkgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15118 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-18 10:23 robert - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Sebastian - Messerschmidt, "Attached you find a version of the - ReaderWriterDDS with info outputs set to OSG_INFO instead of - OSG_NOTICE. The old version spams the console for each loaded DDS - file." +Fri, 14 Aug 2015 15:25:08 +0000 +Checked in by : Robert OSFIELD +Corrected the Subload::generateTextureObject() return type to make it consistent with Texture::generateTextureObject(..)git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15117 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-17 20:42 robert - * src/osg/StateSet.cpp: Added support for DefineList to - StateSet::merge(..) +Wed, 12 Aug 2015 10:18:09 +0000 +Checked in by : Robert OSFIELD +Updated shaders from OpenSceneGraph-Data with refactor of workaround to NVidia driver buggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15110 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-17 19:40 robert - * src/osg/OperationThread.cpp: From Stephan Wenglorz, "the attached - fix corrects a small bug in OperationThread::setDone(bool), - calling it had the opposite effect of what was intended, i.e. - setting done to false actually finished the thread. The effect - was that VPB threads would exit before starting osgdem when a - task had been enqueued, because they initially set done to - false." +Wed, 12 Aug 2015 06:39:57 +0000 +Checked in by : Robert OSFIELD +Added GL1 to the docs of the GL_PROFILE string Updated the date of the 3.4.0 release in the README.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15100 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-17 19:22 robert - * examples/osgterrain/osgterrain.cpp: Removed GL_ usage in defines +Tue, 11 Aug 2015 20:06:38 +0000 +Checked in by : Robert OSFIELD +Refactored workaround of NVidia nan lenght() bug.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15096 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-17 19:21 robert - * src/osgTerrain/GeometryPool.cpp: Removed commented out lines +Tue, 11 Aug 2015 08:43:40 +0000 +Checked in by : Robert OSFIELD +Moved FIND_PACKAGE(Boost) to within the individual Find scripts that actually need it rather in the root CMakeLists.txt.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15093 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-17 10:36 robert - * include/osg/Callback, include/osg/Object, - include/osg/ScriptEngine, include/osgDB/Serializer, - include/osgGA/EventHandler, include/osgGA/GUIEventHandler, - include/osgViewer/ViewerEventHandlers: Cleaned up warning - generated when compiling osgocculusviewer +Mon, 10 Aug 2015 19:55:16 +0000 +Checked in by : Robert OSFIELD +Removed spacesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15088 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-13 12:50 robert - * include/osg/Program, include/osg/State, src/osg/Shader.cpp, - src/osg/State.cpp: Improvements to the #pragma(tic) shader - composition support +Mon, 10 Aug 2015 19:40:36 +0000 +Checked in by : Robert OSFIELD +Fixed line endingsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15085 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-13 10:56 robert - * examples/osgshadercomposition/CMakeLists.txt, - examples/osgshadercomposition/oldshadercomposition.cpp, - examples/osgshadercomposition/osgshadercomposition.cpp: - Deprecated the old ShaderComposition example code so that it's - now only invoked if you add a --old to the osgshadercomposition - command line. - - Introduced a new shader composition example based on the new - #pragama and #define based GLSL shader/osg::StateSet::setDefine() - functionality now built into the core OSG. +Mon, 10 Aug 2015 19:39:23 +0000 +Checked in by : Robert OSFIELD +Updated built-in shaders from OpenSceneGraph-Data vesion that introduce #pragma(tic) shaders that resolve the NVidia loop iteration bug.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15083 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-13 07:45 robert - * src/osg/glu/libutil/mipmap.cpp: From Farshid Lashkari, "I've - attached a fix for some internal glu functions so that they use - size_t for computing allocation sizes instead of GLint. I - encountered some large images that were triggering integer - overflows with the current code." +Mon, 10 Aug 2015 19:18:54 +0000 +Checked in by : Robert OSFIELD +Quietened down #pragma(tic) shader composition messagesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15079 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-11 19:21 robert - * src/osgPlugins/ply/vertexData.cpp: Fixed warning +Mon, 10 Aug 2015 17:42:05 +0000 +Checked in by : Robert OSFIELD +Added support for injecting GL_VENDOR strings into GLSL shaders via the new #pragma(tic) shader compositiongit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15078 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-11 16:41 robert - * src/osg/Shader.cpp: Added reassignment of the #version line to - the first entry in the source list. +Mon, 10 Aug 2015 05:04:56 +0000 +Checked in by : Robert OSFIELD +Build fix for VS and installing Typesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15077 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-11 09:41 robert - * include/osg/GLDefines: Added GL #define for Windows build +Sun, 9 Aug 2015 09:42:31 +0000 +Checked in by : Robert OSFIELD +Changed GLint64 and GLuint64 setup to use int64_t and uint64_t resptectivly respectively to avoid issues with compiling against Qt5git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15071 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-10 21:13 robert - * include/osg/GLDefines: Windows build fix +Sun, 9 Aug 2015 09:07:05 +0000 +Checked in by : Robert OSFIELD +Added #ifdef guards around SGIX specific parts to avoid build problems with GLESgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15069 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-10 18:01 robert - * include/osgDB/Serializer, src/osgDB/ObjectWrapper.cpp: Added - GL_LINES_ADJACENCY_EXT variants back into ObjectWraper to enable - backwards compatibility. +Sat, 8 Aug 2015 08:49:42 +0000 +Checked in by : Robert OSFIELD +From Glenn Waldron, fix error in ZIP plugin handling of memory buffergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15067 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-10 17:53 robert - * src/osgUtil/GLObjectsVisitor.cpp: Change for new Program API +Thu, 6 Aug 2015 15:03:05 +0000 +Checked in by : Robert OSFIELD +Added checks for the validity of chached coordinate arrays.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15060 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-10 17:20 robert - * examples/osgterrain/osgterrain.cpp, - include/osgTerrain/GeometryPool, src/osgTerrain/GeometryPool.cpp: - Added support for new #pragam(atic) shader composition to new - displacement mapping technique +Thu, 6 Aug 2015 10:09:29 +0000 +Checked in by : Robert OSFIELD +Updated shaders from OpenSceneGraph-Data.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15059 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-10 17:04 robert - * include/osg/BufferObject, include/osg/Drawable, - include/osg/GLDefines, include/osg/Geometry, - include/osg/PrimitiveSet, include/osg/Program, - include/osg/Shader, include/osg/State, include/osg/StateSet, - src/osg/Geometry.cpp, src/osg/Program.cpp, src/osg/Shader.cpp, - src/osg/State.cpp, src/osg/StateSet.cpp: Introduced new shader - composition approach that utilizes #pragma requires(), #pragma - import_defines() and #ifdef in GLSL to enable multiple different - versions of shaders based - on defines passed in from osg::StateSet::setDefine(..). +Mon, 3 Aug 2015 19:14:09 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, "Someone was using our code on a system that does not seem to have the SGIX symbols used in osgViewer.cpp.I used osgSetGLExtensionsFuncPtr to remove the symbols. I don't know how to test this path, but it did remove the symbols from libosgViewer.so. I have also not been able yet to see if that was sufficient for our customer. -2015-02-04 15:11 robert + - * include/osgGA/EventQueue, src/osgGA/EventQueue.cpp, - src/osgQt/GraphicsWindowQt.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/GraphicsWindowIOS.mm, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Fixed typo. +I did this by looking at other cases, and I tried to follow some of the same practices in PixelBufferX11, like using _useSGIX in a similar way to the previous _useGLX1_3." -2015-02-03 16:36 robert - * include/osg/Shader: Removed unncessary _EXT +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15041 16af8721-9629-0410-8352-f15c8da7e697 -2015-02-02 09:53 robert - * CMakeLists.txt, src/osgPlugins/CMakeLists.txt: Commented out the - experimental V8 and Python plugins as these plugins only existed - as a proof of concept test linkage with these dependenices, and - have no functionality beyond this. +Fri, 31 Jul 2015 13:46:57 +0000 +Checked in by : Robert OSFIELD +From Terry Welsh, "I downloaded the Android 3rdparty deps from here http://www.openscenegraph.org/index.php/download-section/dependencies but was not able to use them for a while. Attached are changes to OsgAndroidMacroUtils.cmake that allow the deps to be found by cmake.Specifically, all FIND_PATH commands require the +NO_CMAKE_FIND_ROOT_PATH option to actually find paths. This is odd +because if you inspect CMAKE_FIND_ROOT_PATH it appears to be empty. I +would expect it to have no effect at all. -2015-01-27 15:07 robert +I also needed to remove quotes from this line in order for headers to be found: - * include/osg/GLDefines, include/osg/PrimitiveSet, - src/osgDB/ObjectWrapper.cpp: Replaced _EXT defines with GL-3.2 - versions +set(FREETYPE_INCLUDE_DIRS "${FREETYPE_DIR}/include +${FREETYPE_DIR}/include/freetype/config") -2015-01-23 17:15 robert +Assuming this script worked in the past, it seems like cmake behavior +may have changed at some point. I'm using cmake version 2.8.12.2." - * src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: From Javier Taibo, - "I have found a "bug" in the new audio decoding code (actually I - think the bug is in ffmpeg, but anyway it should be wise to - protect the OSG plug-in about it). I am attaching a security - check in FFmpegDecoderAudio.cpp. - - If anybody is curious about the problem, it happens sometimes - when decoding an AAC audio stream. It eventually includes a PCE - block inside the AAC audio frame and then ffmpeg audio decoding - function signals a "new_frame" with 1024 samples, but a null - pointer instead of the audio data. It can be easily detected - because in these cases number of channels is 0. Maybe this is the - intended behaviour for ffmpeg, but I find it quite weird. - " - - " It seems that libav does not have a channels attribute in - AVFrame structure. This new version should do." -2015-01-23 13:51 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15036 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgFX/MultiTextureControl, - src/osgFX/MultiTextureControl.cpp, - src/osgWrappers/serializers/osgFX/MultiTextureControl.cpp: - Changed osgFX::MultiTextureControl so that it uses an - osg::FloatArray internally to enable sharing with osg::Uniform. -2015-01-23 13:50 robert +Fri, 31 Jul 2015 13:44:39 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, "Here is a patch for the S3TC capability check.On a Intel HD graphics Linux system with Mesa 10.1.3, I found that osg's Extensions::isTextureCompressionS3TCSupported() returned false, even though S3TC compressed textures *are* in fact working. I tested this by loading and rendering various DXT1, DXT3 and DXT5 compressed textures in the OSG. - * examples/osgterrain/CMakeLists.txt, - examples/osgterrain/osgterrain.cpp: Added MultiTextureControl - event handling of shift 012 i.e. ')', '!', '"' and 'A' to toggle - full on for each of the respective or all texture units. +"glxinfo | grep s3tc" gives: + GL_S3_s3tc -2015-01-22 16:49 robert +Note, if I install the package "libtxc-dxtn-s2tc0", I get in addition: - * include/osg/GLDefines: Added #define GL_SEPARATE_ATTRIBS and - correcte GL_INTERLEAVED_ATTRIBS +glxinfo | grep s3tc + GL_EXT_texture_compression_s3tc + GL_S3_s3tc -2015-01-22 16:41 robert +However, S3TC compressed textures worked correctly within the OSG even without libtxc-dxtn-s2tc0 installed. - * src/osg/DisplaySettings.cpp: From Alexey Pavlov, "Export fix for - Windows platform" +I'm not sure what the differences between these extensions are, but based on the description at https://www.opengl.org/registry/specs/S3/s3tc.txt I would assume that both will work for OSG's purposes. The attached patch changes isTextureCompressionS3TCSupported() to accept either extension." -2015-01-22 15:08 robert - * include/osg/GLDefines: Added GL_INTERLEAVED_ATTRIBS for windows - build +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15035 16af8721-9629-0410-8352-f15c8da7e697 -2015-01-22 15:07 robert - * examples/osgtransformfeedback/osgtransformfeedback.cpp: Fixed - warning - -2015-01-21 15:35 robert - - * include/osg/Texture, src/osg/PolygonMode.cpp, src/osg/State.cpp, - src/osg/Texture.cpp: From Andreas Henne, OpenGL core profile - fixes required for OSX. - -2015-01-21 11:09 robert - - * include/osgFX/MultiTextureControl, - src/osgFX/MultiTextureControl.cpp, - src/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/serializers/osgFX/MultiTextureControl.cpp: Added - TextureWeights uniform support and controls to - osgFX::MultiTextureControl to support usage with shaders. +Fri, 31 Jul 2015 10:59:11 +0000 +Checked in by : Robert OSFIELD +Warning fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15032 16af8721-9629-0410-8352-f15c8da7e697 -2015-01-20 18:01 robert - * src/osgTerrain/GeometryPool.cpp: Re-enabled texturing and fixed - runtime warning +Fri, 31 Jul 2015 10:54:13 +0000 +Checked in by : Robert OSFIELD +From Kristofer Tingdahl, warning fixes.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15030 16af8721-9629-0410-8352-f15c8da7e697 -2015-01-20 17:58 robert - * src/osgTerrain/GeometryPool.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_geom.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_vert.cpp: - Added hardwired geometry shaders +Fri, 31 Jul 2015 10:27:11 +0000 +Checked in by : Robert OSFIELD +Compile fix for Mingw.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15029 16af8721-9629-0410-8352-f15c8da7e697 -2015-01-20 17:40 robert - - * src/osgTerrain/shaders/terrain_displacement_mapping_CCC_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_CC_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_C_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_vert.cpp: - Updated shaders - -2015-01-20 15:23 robert - - * include/osgTerrain/GeometryPool: Added key - osgTerrain::GeometryPool methods virtual to make it easier to - override the shaders - -2015-01-20 11:24 robert - - * src/osg/State.cpp: Changed the reset of the GLExtensions::Set() - in the State destructor so that it checks to see if the local - _glExtensions pointer has been set up and taken ownership of the - GLExtensions::Set() value - -2015-01-19 11:29 robert - - * include/osgTerrain/GeometryPool, src/osgTerrain/GeometryPool.cpp: - Added GeometryPool::s/getUseGeometryShader() hint, and - OSG_TERRAIN_USE_GEOMETRY_SHADER env var for setting the default - value. -2015-01-16 11:03 robert +Thu, 23 Jul 2015 15:46:47 +0000 +Checked in by : Robert OSFIELD +Added explicit initialization of osg::Referenced(true) to osg::Operation subclasses as it uses virtual inhertiance from osg::Referenced.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15025 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgTerrain/GeometryPool, src/osgTerrain/GeometryPool.cpp: - Added support for using geometry shaders to align the quad - diagonals with the local terrain -2015-01-12 10:31 robert +Thu, 23 Jul 2015 14:37:17 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, buid fixes for VS2015.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15021 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgTerrain/GeometryPool, src/osgTerrain/GeometryPool.cpp: - Added a local Vec3Array cache to the HeightFieldDrawable to - facilitate efficient intersection testing -2015-01-12 10:30 robert +Thu, 23 Jul 2015 14:31:05 +0000 +Checked in by : Robert OSFIELD +Merged VS2013 warning fixes from OSG-3.4 branchgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15020 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/PrimitiveSet, include/osg/TemplatePrimitiveFunctor, - include/osg/TriangleFunctor: Added ability to populate a local - vertex cache for when one computes final vertex position in a - vertex shader but still want to the Primitive functors to work - with the transformed positions. -2015-01-07 14:14 robert +Thu, 23 Jul 2015 11:11:58 +0000 +Checked in by : Robert OSFIELD +Warning fixes for Clang-3.6git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15016 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From Javier Taibo, - "I have found that since version 1.1, FFMPEG changed the way - audio streams are retrieved, from packed to planar format. SDL - interprets packed audio, as is used in the osgmovie example. To - make the audio work when the OSGffmpeg plug-in is compiled - against recent FFMPEG versions, FFmpegDecoderAudio must check for - planar formats and in these cases request the samples as packed. - This way all works as before. It can be checked with osgmovie - example application. - - $ osgmovie --audio movie.avi.ffmpeg - FFmpegImageStream::open audio failed, audio stream will be - disabled: unknown audio format - - With the attached FFmpegDecoderAudio.cpp, audio sounds correctly. - - I am also attaching a modified version of FindFFmpeg.cmake that - allows to set as FFMPEG_DIR the ffmpeg compiled in the source - directory structure. It should not break anything as it only adds - some additional search paths. - " - -2015-01-07 10:36 robert - - * src/osg/Image.cpp: From Farshid Lashkari, "small change to - osg::Image::readImageFromCurrentTexture to allow reading data - from compressed cubemap textures." - -2015-01-06 17:23 robert - - * include/osg/TextureBuffer, src/osg/StateSet.cpp, - src/osg/TextureBuffer.cpp: Cleaned up GL_TEXTURE_BUFFER_*ARB - usage as include/osg/GLDefines now provides the non ARB variants - -2015-01-06 17:12 robert - - * examples/CMakeLists.txt, examples/osgtransformfeedback, - examples/osgtransformfeedback/CMakeLists.txt, - examples/osgtransformfeedback/osgtransformfeedback.cpp, - include/osg/GLExtensions, include/osg/Program, - src/osg/GLExtensions.cpp, src/osg/Program.cpp, - src/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/Program.cpp: From Julien - Valentin, "To sum up changes, I had: - -some extensions in GLExtensions - - GL_TEXTURE_BUFFER as target in osg::StateSet - - a VBO based transform feed back example - " - -2015-01-06 17:09 robert - - * CMakeLists.txt: Updates SO_VERSION in prep for API modifications - since the 3.3.3 dev release - -2015-01-06 14:55 robert - - * src/osgVolume/Property.cpp: From Julien Valentin, added missing - initializer - -2015-01-06 14:41 robert - - * src/osgWrappers/serializers/osgVolume/VolumeTechnique.cpp: From - Julien Valentin, typo fix - -2015-01-05 17:39 robert - - * src/osgPlugins/stl/ReaderWriterSTL.cpp: From Jason Beverage, - "Here is a fix to the STL plugin that fixes build errors - introduced in the last commit. It's just a simple addition of the - stdint.h header." - -2014-12-24 11:56 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated ChangeLog and AUTHORS - -2014-12-24 11:43 robert - - * CMakeModules/FindCOLLADA.cmake: Removed debug message - -2014-12-24 11:25 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp, src/osgPlugins/obj/obj.h: From Marc - Helbling, Clément Léger, Aurélien Chatelain, Paul Cheyrou-Lagrèze - : - "a last submission for the obj plugin - * supports vertex color definition after vertex position by - Clément Léger - * supports zbrush vertex color definition (as #MRGB comment) by - Aurélien Chatelain - * adds a noReverseFace option to not mess with face definition by - Aurélien Chatelain - * makes material parsing case insensitive (by Paul - Cheyrou-Lagrèze and me) - * makes the plugin resilient to faulty vertex uv/normal - definition (i.e. when a too big index is referenced) by Aurélien - hatelain - " - -2014-12-24 11:02 robert - - * src/osgPlugins/ply/plyfile.cpp, - src/osgPlugins/ply/vertexData.cpp, - src/osgPlugins/ply/vertexData.h: From Aurélien Chatelain, "adds - support for - * quad primitives - * face definition with the "vertex_index" label (previously only - "vertex_indices" was supported) - * replaces normal computation by the SmoothingVisitor to avoid - code duplication - " - - Submitted by Marc Helbling. -2014-12-24 10:55 robert +Thu, 23 Jul 2015 09:23:42 +0000 +Checked in by : Robert OSFIELD +Added missing handling of lightnumber and associate lightsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15015 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUtil/MeshOptimizers, src/osgUtil/MeshOptimizers.cpp, - src/osgUtil/SmoothingVisitor.cpp: From Aurélien Chatelain, "the - smoothing visitor did not handle shared arrays. It may leads to - bad geometry arrays when a shared array is involved in the scene. - This submission adds shared array duplication (and moves the - SharedArrayOptimizer declaration in MeshOptimizer to make it - callable from the SmoothingVisitor)." - - Submitted by Marc Helbling. - Edited by Robet Osfield to retain the usual OSG coding style. -2014-12-24 10:47 robert +Thu, 23 Jul 2015 07:39:12 +0000 +Checked in by : Robert OSFIELD +Changed the GL_HEADER_HAS_GLINT64 and GL_HEADER_HAS_GLUINT64 to use cmakedefine to improve handling of when cmake doesn't find GLint64 and GLuint64.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15013 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/stl/ReaderWriterSTL.cpp: From Aurélien Chatelain, - "updates the STL plugin: - * fixes vertex color support - * adds 'magics' color definition - * cleans options to make the plugin more consistent with other - plugins - * adds options to not tristrip geometries" - - Submitted by Marc Helbling. -2014-12-24 10:14 robert +Wed, 22 Jul 2015 17:01:03 +0000 +Checked in by : Robert OSFIELD +Fixed AUTHORS filegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15011 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgTerrain/GeometryPool.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_CCC_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_CC_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_C_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_flat_vert.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_frag.cpp: - Aded shaders for various combinations of layers. -2014-12-24 10:13 robert +Wed, 22 Jul 2015 14:55:38 +0000 +Checked in by : Robert OSFIELD +Fixed contributors listgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15009 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgDB/ReadFile: Added - osgDB::readShaderFileWithFallback(..) convinience functions to - make it easier to set up reading external shader files with a - built in fallback. -2014-12-23 14:20 robert +Wed, 22 Jul 2015 14:52:08 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15007 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/dae/daeRGeometry.cpp: Added support for reading - Vec3 colour arrays -2014-12-23 12:10 robert +Wed, 22 Jul 2015 14:03:24 +0000 +Checked in by : Robert OSFIELD +Moved GL_ALPHA_TEST from AlphaFunc header to GLDefines headergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15002 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeModules/FindCOLLADA.cmake, - src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeRTransforms.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWAnimations.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWTransforms.cpp, - src/osgPlugins/dae/daeWriter.h, - src/osgPlugins/dae/domSourceReader.h: Changes to allow the - COLLADA plugin to compile against the latest COLLADA DOM version - 2.4 as well as retaining compatibility with the old 2.2 DOM. - -2014-12-22 10:35 robert - - * CMakeLists.txt: Added comment about using - -DCMAKE_DISABLE_FINDPACKAGE_* command line. - -2014-12-22 09:50 robert - - * include/osg/ref_ptr: Added doxygen comment for - ref_ptr<>::release(). -2014-12-22 09:49 robert +Wed, 22 Jul 2015 13:49:14 +0000 +Checked in by : Robert OSFIELD +Added CMake test for presence of GLuint64 and GLint64 in OpenGL/GLES headers to better handle when/where GL defines the 64 bit typedefsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@15001 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt: Updated version number after dev release -2014-12-19 11:00 robert +Tue, 21 Jul 2015 14:21:49 +0000 +Checked in by : Robert OSFIELD +Added check for validity of OpenFlight shininess value.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14998 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/DisplaySettings.cpp, src/osgPlugins/dae/daeReader.h: - Windows build error and warning fixes -2014-12-19 10:25 robert +Tue, 21 Jul 2015 13:42:35 +0000 +Checked in by : Robert OSFIELD +Fixed typogit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14997 16af8721-9629-0410-8352-f15c8da7e697 - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - dev release - -2014-12-19 08:27 robert - - * CMakeModules/FindGLIB.cmake: Added if () block to avoid script - variables set to NOT-Found being used in searching - -2014-12-19 08:25 robert - - * CMakeModules/FindLIBLAS.cmake: Fixed script warnings - -2014-12-18 17:47 robert - - * CMakeLists.txt, CMakeModules/FindLIBLAS.cmake, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/las, - src/osgPlugins/las/CMakeLists.txt, - src/osgPlugins/las/ReaderWriterLAS.cpp: From Aitor Moreno, LAS - plugin - depends upon boost and liblas and liblas-c - -2014-12-18 16:52 robert - - * PlatformSpecifics/Android/Application.mk.master.in: From Adrian - Clark, build fix for recent Android NDK using the old Android - build approach. - -2014-12-18 15:59 robert - - * CMakeLists.txt: From Mattias Helsing, "CMake have release 3.0 and - 3.1 and we have some bad checks for cmake - major version when settings cmake policies in CMakeLists.txt. - This fixes it" - -2014-12-18 11:36 robert - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - AUTHORS +Mon, 20 Jul 2015 13:23:07 +0000 +Checked in by : Robert OSFIELD +Reduced debug message verbosity.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14993 16af8721-9629-0410-8352-f15c8da7e697 -2014-12-18 11:19 robert - * ChangeLog: Updated ChangeLog in prep for dev release +Mon, 20 Jul 2015 07:42:05 +0000 +Checked in by : Robert OSFIELD +Changed the _MSC_VER check to <= 1700 to support VS2012.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14989 16af8721-9629-0410-8352-f15c8da7e697 -2014-12-18 11:09 robert - * examples/osgmovie/CMakeLists.txt: Fixed warning +Sun, 19 Jul 2015 09:51:01 +0000 +Checked in by : Robert OSFIELD +Reinstated the TIFFSetField(image, TIFFTAG_ROWSPERSTRIP, rowsperstrip);git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14985 16af8721-9629-0410-8352-f15c8da7e697 -2014-12-18 10:59 robert - * include/osg/DisplaySettings, src/osg/DisplaySettings.cpp: Added - DisplaySettings::s/getNvOptimusEnablement() and - OSG_NvOptimusEnablement env var control to control the setting of - the NvOptimusEnablement variable +Fri, 17 Jul 2015 18:31:22 +0000 +Checked in by : Robert OSFIELD +From KOS, "'ve mentioned in the "osg-users" ML about build error with the newest GStreamer 1.5Please, have a look at the attached patch. -2014-12-18 09:24 robert +CMakeModules/FindGStreamer.cmake" - * src/osgPlugins/fbx/ReaderWriterFBX.cpp: From Sukender, "Added - options to the FBX writer: an ascii/binary switch, and the - ability to select FBX version as the SDK handles it (Ex: - "FBX201300"). - - This allows the user to achieve backward compatibility, and debug - format issues using text output." - -2014-12-18 09:03 robert - - * CMakeModules/FindGStreamer.cmake: From Mattias Helsing, "The - addition of the GStreamer cmake find script broke my build - because - cmake vars weren't passed correctly to find_package_handler_args, - so - while the find script didn't find a single required GStreamer lib - or - include path it still reported GSTREAMER_FOUND=TRUE (and then - tried to - compile the new plugin). This fixes it and correctly reports - missing - components." - -2014-12-17 19:21 robert - - * CMakeLists.txt, CMakeModules/FindSDL2.cmake, - examples/osgmovie/CMakeLists.txt, examples/osgmovie/osgmovie.cpp: - Added support for using SDL2 to the osgmovie to enable it to - handle floating point audio formats - -2014-12-17 19:20 robert - - * CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: From Javier Taibo, - " I have found that since version 1.1, FFMPEG changed the way - audio streams are retrieved, from packed to planar format. SDL - interprets packed audio, as is used in the osgmovie example. To - make the audio work when the OSGffmpeg plug-in is compiled - against recent FFMPEG versions, FFmpegDecoderAudio must check for - planar formats and in these cases request the samples as packed. - This way all works as before. It can be checked with osgmovie - example application. - - $ osgmovie --audio movie.avi.ffmpeg - FFmpegImageStream::open audio failed, audio stream will be - disabled: unknown audio format - - With the attached FFmpegDecoderAudio.cpp, audio sounds correctly. - - I am also attaching a modified version of FindFFmpeg.cmake that - allows to set as FFMPEG_DIR the ffmpeg compiled in the source - directory structure. It should not break anything as it only adds - some additional search paths. - - " - - Note from Robert Osfield, I have found in testing that audio - quality is not good for planar floating point formats, even with - adding support for SDL2 to the osgmovie example. I haven't yet - tracked down the cause of these audio problems or a solution. - -2014-12-17 10:19 robert - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp: From Sukender, "FBX - writer was writing an empty file when the scene had a root node - being a Geode. - This was caused be the change in Drawable (now derived from Node) - and Geode (now derived from Group). - This fix simply sticks with previous behaviour. Another change - could be to adapt WriterNodeVisitor. - " - -2014-12-16 17:37 robert - - * src/osgPlugins/gstreamer/GStreamerImageStream.cpp: Fixed warnings - and memmory leaks - -2014-12-16 17:15 robert - - * src/osgPlugins/gstreamer/CMakeLists.txt, - src/osgPlugins/gstreamer/GStreamerImageStream.cpp: Fixed warnings - -2014-12-16 17:08 robert - - * src/osgPlugins/gstreamer/GStreamerImageStream.cpp, - src/osgPlugins/gstreamer/GStreamerImageStream.hpp: Improved - handling of invalid/unhandled files - Added support for ImageStream::LoopigMode variable - Fixed memory leak associtied with restarting videos - Changed Image::setData() to Image::dirty() to avoid resetting - data - -2014-12-16 11:20 robert - - * CMakeLists.txt, CMakeModules/FindGLIB.cmake, - CMakeModules/FindGStreamer.cmake, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/gstreamer, - src/osgPlugins/gstreamer/CMakeLists.txt, - src/osgPlugins/gstreamer/GStreamerImageStream.cpp, - src/osgPlugins/gstreamer/GStreamerImageStream.hpp, - src/osgPlugins/gstreamer/ReaderWriterGStreamer.cpp: From Julen - Garcia, "Here there is a small plugin I use to play video files. - It is based on GStreamer http://gstreamer.freedesktop.org and I - have used the FFmpeg plugin as inspiration." - - From Robert Osfield, fixed handled of row widths so that they are - padded to a 4 byte boundary as certain row widths were being - rendered incorrectly. - -2014-12-16 09:34 robert - - * include/osg/TriangleLinePointIndexFunctor, - include/osgUtil/MeshOptimizers, src/osgUtil/MeshOptimizers.cpp: - From Marc Helbling, "please find enclosed a submission that - should improve the VertexAccessOrderVisitor (pre-transform) - optimizer: - * it sorts primitives to keep "more complex" primitives first; - maybe you'll prefer to have this as an option (but usually it - should make more sense to pre-transform triangles before e.g. - lines) - * currently, the visitor rely on TriangleIndexFunctor and does - not take care of points and lines (see - https://github.com/openscenegraph/osg/blob/master/include/osg/TriangleIndexFunctor#L124-130). - This can lead to issues e.g. if you store the wireframe lines - along with some triangles: the triangles will be reindexed but - not the line. I've therefore added - osg/include/TriangleLinePointIndexFunctor to index triangles, - lines and points and derived VertexReorder from this class. - * to avoid issues, shared arrays are duplicated. However, in some - cases (e.g. an UV channel shared in the geometry only) this is - not required. I'm adding a SharedArrayOptimizer to optimize this: - it looks for duplicated UVs before the array duplication and - deduplicate arrays after. - " - -2014-12-15 17:15 robert - - * include/osgUtil/TriStripVisitor, src/osgUtil/TriStripVisitor.cpp: - From Marc Helbling, "please find the mergeTriangleStrip code - merged in osgUtil::TriStripVisitor. - I've removed the references to DrawArrays as we should no longer - produce any. - - Note that: - * as the name suggest, it only works for triangle strips but - could probably be easily extended to quads - * the resulting primitive is not highly optimized; we could - probably sort the strips in order to minimize the number of - primitive restart - * as we may merge DrawElementsUInt and DrawElementUShort, the - code will only generate DrawElementsUInt" - -2014-12-10 18:23 robert - - * examples/osgSSBO/osgSSBO.cpp: Build fix - -2014-12-10 13:05 robert - - * include/osg/GLExtensions, src/osg/GLExtensions.cpp: Added OpenGL - Transform Feedback extensions. - -2014-12-10 12:23 robert - - * examples/CMakeLists.txt, examples/osgSSBO, - examples/osgSSBO/CMakeLists.txt, examples/osgSSBO/osgSSBO.cpp, - include/osg/BufferIndexBinding, include/osg/BufferObject, - include/osg/StateAttribute, src/osg/BufferIndexBinding.cpp, - src/osg/BufferObject.cpp: From Marcus Hein, Added support for - OpenGL SSBO and SSBB via osg::ShaderStorageBufferObject and - osg::ShaderStorageBufferBinding to core OSG library, and added - new osgSSBO example - -2014-12-10 11:44 robert - - * include/osg/GLDefines: Added GLDefines header - -2014-12-10 11:29 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: From Farshid Lashkari, "The - Collada loader would crash while processing textures on certain - files. I've attached the fix." - -2014-12-10 10:44 robert - - * examples/osgshaderterrain/osgshaderterrain.cpp, - include/osg/GL2Extensions, src/osg/CMakeLists.txt, - src/osg/GL2Extensions.cpp, src/osgAnimation/RigGeometry.cpp, - src/osgDB/ObjectWrapper.cpp: Removed old GL2Extensions class, - replacing it with a typedef to GL2Extensions - Removed old includes to include/osg/GL2Extensions - -2014-12-10 10:38 robert - - * examples/osgfpdepth/osgfpdepth.cpp, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgoit/DepthPeeling.cpp, - examples/osgscreencapture/osgscreencapture.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, - include/osg/BufferObject, include/osg/FrameBufferObject, - include/osg/GL2Extensions, include/osg/GLExtensions, - include/osg/PatchParameter, include/osg/PrimitiveSet, - include/osg/Program, include/osg/Shader, include/osg/State, - include/osg/Texture, include/osg/TextureBuffer, - include/osg/Uniform, include/osgViewer/Renderer, - src/osg/ArrayDispatchers.cpp, src/osg/BlendColor.cpp, - src/osg/BlendEquation.cpp, src/osg/BlendEquationi.cpp, - src/osg/BlendFunc.cpp, src/osg/BlendFunci.cpp, - src/osg/BufferObject.cpp, src/osg/CMakeLists.txt, - src/osg/Capability.cpp, src/osg/ClampColor.cpp, - src/osg/ColorMaski.cpp, src/osg/FragmentProgram.cpp, - src/osg/FrameBufferObject.cpp, src/osg/GLExtensions.cpp, - src/osg/Geometry.cpp, src/osg/GraphicsContext.cpp, - src/osg/Image.cpp, src/osg/Multisample.cpp, - src/osg/OcclusionQueryNode.cpp, src/osg/PatchParameter.cpp, - src/osg/Point.cpp, src/osg/PointSprite.cpp, - src/osg/PrimitiveRestartIndex.cpp, src/osg/Program.cpp, - src/osg/SampleMaski.cpp, src/osg/Shader.cpp, src/osg/State.cpp, - src/osg/Stencil.cpp, src/osg/StencilTwoSided.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture2DMultisample.cpp, - src/osg/Texture3D.cpp, src/osg/TextureBuffer.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osg/Uniform.cpp, src/osg/VertexAttribDivisor.cpp, - src/osg/VertexProgram.cpp, src/osgFX/SpecularHighlights.cpp, - src/osgParticle/PrecipitationEffect.cpp, src/osgText/Glyph.cpp, - src/osgUtil/GLObjectsVisitor.cpp, src/osgUtil/RenderStage.cpp, - src/osgViewer/Renderer.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, - src/osgViewer/StatsHandler.cpp: Moved GL2Extensions functionality - into the include/osg/GLExtensions header and new GLExtensions - object. - Moved the #defines into new include/osg/GLDefines - Converted all GL2Extensions usage to GLExtensions usage - -2014-12-10 09:11 robert - - * include/osg/GLExtensions: Streamlined the extension functions - -2014-12-09 21:33 robert - - * include/osg/GL2Extensions: Added #ifdef's around GLsync typedef - -2014-12-09 20:09 robert - - * include/osg/GL2Extensions, include/osg/GraphicsContext, - include/osg/Texture, include/osg/Texture3D, src/osg/Texture.cpp: - Windows build fixes - -2014-12-09 19:31 robert - - * runexamples.bat: Added new examples to runexamples.bat script - -2014-12-09 19:22 robert - - * src/osg/Capability.cpp: Quietened down debug messages - -2014-12-09 19:20 robert - - * examples/CMakeLists.txt, examples/osgblenddrawbuffers, - examples/osgblenddrawbuffers/CMakeLists.txt, - examples/osgblenddrawbuffers/osgblenddrawbuffers.cpp: 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 18:30 robert - - * examples/osgfpdepth/osgfpdepth.cpp, - examples/osgoit/DepthPeeling.cpp, include/osg/FrameBufferObject, - include/osg/GL2Extensions, include/osg/GraphicsContext, - src/osg/BufferObject.cpp, src/osg/FrameBufferObject.cpp, - src/osg/GL2Extensions.cpp, src/osg/GraphicsContext.cpp, - src/osg/OcclusionQueryNode.cpp, src/osg/Texture.cpp, - src/osg/Texture3D.cpp, src/osg/TextureRectangle.cpp, - src/osgUtil/RenderStage.cpp: Moved FBO Extensions into - GL2Extensions. - -2014-12-09 14:58 robert - - * include/osg/PrimitiveRestartIndex: Removed no longer used - Extension definition - -2014-12-09 14:57 robert - - * include/osg/ClampColor, include/osg/ColorMaski, - include/osg/GL2Extensions, include/osg/Multisample, - include/osg/Point, include/osg/PointSprite, - include/osg/PrimitiveRestartIndex, include/osg/Stencil, - src/osg/ClampColor.cpp, src/osg/ColorMaski.cpp, - src/osg/GL2Extensions.cpp, src/osg/Multisample.cpp, - src/osg/Point.cpp, src/osg/PointSprite.cpp, - src/osg/PrimitiveRestartIndex.cpp: Moved local Extensions structs - into GL2Extensions - -2014-12-09 11:14 robert - - * include/osg/GL2Extensions, include/osg/Stencil, - include/osg/StencilTwoSided, src/osg/GL2Extensions.cpp, - src/osg/Stencil.cpp, src/osg/StencilTwoSided.cpp: Moveved - Stencil/StencilTwoSided::Extensions into GL2Extensions - -2014-12-09 10:37 robert - - * include/osg/BlendColor, include/osg/BlendEquation, - include/osg/Capability, include/osg/GL2Extensions, - src/osg/BlendColor.cpp, src/osg/BlendEquation.cpp, - src/osg/BlendEquationi.cpp, src/osg/Capability.cpp, - src/osg/GL2Extensions.cpp: Moved local Extensions objects to - GL2Extensions -2014-12-09 10:05 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14984 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgmultitexture/osgmultitexture.cpp, - include/osg/GL2Extensions, include/osg/Texture, - include/osg/Texture2DArray, include/osg/Texture3D, - src/osg/GL2Extensions.cpp, src/osg/Image.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture2DMultisample.cpp, - src/osg/Texture3D.cpp, src/osg/TextureBuffer.cpp, - src/osg/TextureRectangle.cpp, src/osgText/Glyph.cpp: Moved - Texture*::Extensions functionality into GL2Extensions -2014-12-08 16:08 robert +Fri, 17 Jul 2015 09:04:30 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14977 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgvertexprogram/osgvertexprogram.cpp, - include/osg/FragmentProgram, include/osg/GL2Extensions, - include/osg/VertexProgram, src/osg/FragmentProgram.cpp, - src/osg/GL2Extensions.cpp, src/osg/VertexProgram.cpp: MOved - VertexProgram and FragmentProgram::Extensions into GL2Extensions. -2014-12-08 11:08 robert +Fri, 17 Jul 2015 08:21:06 +0000 +Checked in by : Robert OSFIELD +Added cmake version check to cmake_policy usagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14973 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgUtil/CullVisitor.cpp: Fixed memory leak in - RenderStageCache. -2014-12-07 17:31 robert +Fri, 17 Jul 2015 08:12:38 +0000 +Checked in by : Robert OSFIELD +From Patrick Neary, "To the tiff plugin, add the capability to write tiff images with unsigned short data"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14969 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgcubemap/osgcubemap.cpp, include/osg/GL2Extensions, - include/osg/SampleMaski, src/osg/GL2Extensions.cpp, - src/osg/SampleMaski.cpp: MOved SampleMaski::Extensions into - osg::GL2Extensions -2014-12-05 20:05 robert +Thu, 16 Jul 2015 19:17:01 +0000 +Checked in by : Robert OSFIELD +From Patrick Neary, "Added some lesser used tokens that we use from GL_ARB_texture_rg to computeFormatDataType(), and computeNumComponents() in src/osg/Image.cpp"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14967 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/GL2Extensions, include/osg/TextureCubeMap, - src/osg/GL2Extensions.cpp, src/osg/TextureCubeMap.cpp, - src/osgFX/SpecularHighlights.cpp: Moved TextureCubeMap::Extension - functionality into GL2Extensions -2014-12-05 17:26 robert +Thu, 16 Jul 2015 16:06:43 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14965 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/Drawable, include/osg/GL2Extensions, - include/osg/State, include/osgViewer/Renderer, - src/osg/ArrayDispatchers.cpp, src/osg/Drawable.cpp, - src/osg/GL2Extensions.cpp, src/osg/OcclusionQueryNode.cpp, - src/osg/State.cpp, src/osg/TextureRectangle.cpp, - src/osgParticle/PrecipitationEffect.cpp, - src/osgViewer/Renderer.cpp, src/osgViewer/StatsHandler.cpp: Moved - osg::Drawable::Extensions into osg::GL2Extensions - -2014-12-05 10:37 robert - - * examples/osgshaderterrain/osgshaderterrain.cpp, - examples/osgtransferfunction/TransferFunctionWidget.h, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/lua-5.2.3/src/lauxlib.c, - src/osgPlugins/lua/lua-5.2.3/src/lcode.c: Fixed windows build - warnings -2014-12-05 09:52 robert +Thu, 16 Jul 2015 15:49:32 +0000 +Checked in by : Robert OSFIELD +From Cory Slep and Robert Osfield, "When using Open Scene Graph and Qt on Android, the resulting thread that an application developer’s Q*Application is run on is different than what Qt considers the “main†thread, which can cause subtle problems. This is because Qt loads native libraries in one thread, and later runs the application in a different thread. They delay running in the second thread as long as possible as they have a nontrivial bootstrapping process. The motivation for Qt having this second thread is to allow them to remain responsive to both Java and native events, and capture events that would otherwise be “missedâ€.This gives arise to the requirement that a static initialization of a QObject cannot occur for the Android platform, as Qt incorrectly considers that first thread the “main†one before a client application has even begun executing in its second thread. - * src/osg/BufferObject.cpp: Windows build fix + -2014-12-05 08:58 robert +The HeartBeat in GraphicsWindowQt.cpp is a QObject static global initialized at load time, causing the above issue. This changeset changes it to be a singleton that is constructed upon first access to its “instance†method. - * include/osg/BufferObject, include/osg/Drawable, - include/osg/GL2Extensions, src/osg/Drawable.cpp: From the - GLintptr + GLsizeiptr defintions to GL2Extensions header + -2014-12-04 19:03 robert +I have: - * include/osg/BlendFunc, include/osg/GL2Extensions, - src/osg/BlendFunc.cpp, src/osg/BlendFunci.cpp, - src/osg/GL2Extensions.cpp: Moved osg::BlenFunc::Extensions into - osg::GL2Extensions +- added the static method “instanceâ€, -2014-12-04 18:13 robert +- moved its constructor to be private, and - * examples/osgscreencapture/osgscreencapture.cpp, - include/osg/BufferObject, include/osg/GL2Extensions, - include/osg/TextureBuffer, src/osg/BufferIndexBinding.cpp, - src/osg/BufferObject.cpp, src/osg/GL2Extensions.cpp, - src/osg/Geometry.cpp, src/osgViewer/ScreenCaptureHandler.cpp: - Moved GLBufferObject::Extensions structure into - osg::GL2Extensions +- changed the one place it is accessed to access it through the “instance†method. -2014-12-04 18:12 robert +" - * examples/osgscreencapture/osgscreencapture.cpp: Removed redundent - spaces +Changes by Robert are to adopt QPointer rather than use a C pointer to ensure that the HeartBeat object will be cleaned up automatically rather than leaked. -2014-12-04 17:12 robert - * include/osg/GL2Extensions, src/osg/GL2Extensions.cpp: Added - glMemoryBarrier, glMapBufferRange and glBindBufferBase to - GL2Extensions -2014-12-04 16:28 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14963 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/VertexAttribDivisor.cpp, - src/osgUtil/GLObjectsVisitor.cpp: Moved old - GL2Extensions::Get(..) usage across to new - osg::State::get() usage -2014-12-04 16:22 robert +Thu, 16 Jul 2015 11:01:35 +0000 +Checked in by : Robert OSFIELD +Added check to catch cases where the backdrop coordinate cache is too small for the number of contexts being computed.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14961 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgshaderterrain/osgshaderterrain.cpp, - include/osg/GL2Extensions, include/osg/State, - src/osg/FrameBufferObject.cpp, src/osg/GL2Extensions.cpp, - src/osg/PatchParameter.cpp, src/osg/Program.cpp, - src/osg/Shader.cpp, src/osg/State.cpp: Ported GL2Extentions - across to using the new GL extensions approach - cutting code - count by 3000 lines! -2014-12-04 15:10 robert +Wed, 15 Jul 2015 10:00:55 +0000 +Checked in by : Robert OSFIELD +Added initializers and reverted OSX workaround from 2013.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14959 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgDB/DatabasePager.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: Build fix for when - ref_ptr<> auto conversion is disabled -2014-12-03 17:31 robert +Tue, 14 Jul 2015 13:33:12 +0000 +Checked in by : Robert OSFIELD +Moved the cmake_policy(SET CMP0043 NEW) to work for all script paths that Qt5 usage could pass through.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14953 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp, - include/osg/Capability, include/osg/StateAttribute, - src/osg/CMakeLists.txt, src/osg/Capability.cpp: 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-02 17:12 robert +Tue, 14 Jul 2015 13:26:40 +0000 +Checked in by : Robert OSFIELD +Added cmake_policy(SET CMP0043 NEW) usage when compiling against Qt5 as it was causing a warning we couldn't fix on the OSG side otherwise.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14952 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/BlendEquation, include/osg/BlendEquationi, - include/osg/BlendFunc, include/osg/BlendFunci, - include/osg/ColorMaski, src/osg/BlendEquation.cpp, - src/osg/BlendEquationi.cpp, src/osg/BlendFunc.cpp, - src/osg/BlendFunci.cpp, src/osg/CMakeLists.txt, - src/osg/ColorMaski.cpp, - src/osgWrappers/serializers/osg/BlendEquationi.cpp, - src/osgWrappers/serializers/osg/BlendFunci.cpp, - src/osgWrappers/serializers/osg/ColorMaski.cpp: Added - osg::BlendFunci, osg::BlendEquationi and osg::ColorMaski - StateAttrirbutes that wrap the glBlendFunci, glBlendEquationi and - glColorMaski functions -2014-12-02 15:37 robert +Tue, 14 Jul 2015 08:42:36 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS.txtgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14950 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/BlendEquation, include/osg/BlendFunc, - src/osg/BlendEquation.cpp, src/osg/BlendFunc.cpp: Moved - BlendEquation across to using the new GL extension setup - approach. -2014-12-02 15:21 robert +Tue, 14 Jul 2015 08:25:17 +0000 +Checked in by : Robert OSFIELD +Added _defineList into the osg::StateSet::compare() implementation to address issues with osgUtil::Optimizer ignoring defines.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14948 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgblendequation/osgblendequation.cpp: Fixed typo -2014-12-02 11:10 robert +Mon, 13 Jul 2015 16:09:45 +0000 +Checked in by : Robert OSFIELD +Added Text::GlyphQuads::release/resizeGLObjects() and handling of inconsistent contextID sizes to avoid crashes when viewers and scene graphs aren't initialized correctly to the right number of contexts.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14947 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/BlendFunc, include/osg/State, src/osg/BlendFunc.cpp: - Added a template get and get_exisiting method into osg::State - that implements a new mechanism for managing OpenGL extensions. - - Refactored the BendFunc::Extensions usage to simplify it - utilizing the new osg::State extension mechanism. -2014-11-28 16:20 robert +Mon, 13 Jul 2015 16:03:51 +0000 +Checked in by : Robert OSFIELD +Standardize the call to setUpThreading() in CompositeViewer/Viewer::realize().Standardize the call to scene->resizeGLObjects(). - * PlatformSpecifics/Android/android.toolchain.cmake: From Rafa - Gaitan, "I'm attaching also a new version of the toolchain with - support for the r10c ndk. This fixes some CMake Warnings and - allows to use the toolchain in macosx." -2014-11-28 16:10 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14944 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt, include/OpenThreads/Version, include/osg/Version, - src/OpenThreads/CMakeLists.txt, src/osg/CMakeLists.txt: Removed - include/osg/Version and include/OpenThreads/Version headers as - these are autogenerated. - - Changed the paths for the OpenThreads/osg Version headers to be - placed in the PROJECT_BINARY_DIR. -2014-11-28 10:54 robert +Mon, 13 Jul 2015 08:48:46 +0000 +Checked in by : Robert OSFIELD +From Terry Welsh, "fThis fixes problem where new glClipControl feature would not compile for GLES2 profile"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14943 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/BufferObject, include/osgDB/ConvertUTF, - src/OpenThreads/pthreads/PThread.cpp, src/osg/GLExtensions.cpp: - Standardized on defined(__ANDROID__) -2014-11-28 10:52 robert +Fri, 3 Jul 2015 06:51:09 +0000 +Checked in by : Robert OSFIELD +Updated version number to 3.5.0 after 3.4 branch.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14941 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/lua/lua-5.2.3/src/llex.c, - src/osgPlugins/lua/lua-5.2.3/src/luaconf.h: Added - getlocaledecpoint() workaround for Android build of lua plugin -2014-11-27 15:54 robert +Fri, 3 Jul 2015 06:28:05 +0000 +Checked in by : Robert OSFIELD +Updated for 3.4 branch.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14937 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgTerrain/GeometryPool.cpp, src/osgTerrain/shaders, - src/osgTerrain/shaders/terrain_displacement_mapping_frag.cpp, - src/osgTerrain/shaders/terrain_displacement_mapping_vert.cpp: - Added in source shaders -2014-11-27 15:39 robert +Thu, 2 Jul 2015 11:58:49 +0000 +Checked in by : Robert OSFIELD +Fixed repeated name in SETUP_PLUGIN.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14936 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgTerrain/GeometryPool.cpp: Changed the name of shader files -2014-11-26 20:40 robert +Thu, 2 Jul 2015 10:25:14 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file in prep for 3.4 branch.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14935 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/CMakeLists.txt: From Jason Beverage, "It looks like the - Callback header got accidentally removed from the CMakeLists.txt - in the submission yesterday for the geometry instancing example." -2014-11-26 19:05 robert +Thu, 2 Jul 2015 08:57:08 +0000 +Checked in by : Robert OSFIELD +Build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14934 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgTerrain/DisplacementMappingTechnique, - include/osgTerrain/GeometryPool: Windows build fix -2014-11-26 17:08 robert +Thu, 2 Jul 2015 08:52:55 +0000 +Checked in by : Robert OSFIELD +Moved the defination of GL_MAX_VARYING_COMPONENTS to GL_3_0 block to avoid warnings of redefinition.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14933 16af8721-9629-0410-8352-f15c8da7e697 - * applications/present3D/deprecated/Cluster.h: Fixed warnings -2014-11-26 17:04 robert - - * src/osgQt/GraphicsWindowQt.cpp: Fixed warnings - -2014-11-26 16:29 robert - - * src/osgPlugins/ffmpeg/CMakeLists.txt: Fixed deprecated warnings - -2014-11-26 16:15 robert - - * src/osgPlugins/pdf/CMakeLists.txt: Fixed warning - -2014-11-26 16:04 robert - - * examples/osgcluster/osgcluster.cpp: Fixed warnings. - -2014-11-26 16:00 robert - - * src/osgPlugins/lwo/Object.cpp: Fixed warning - -2014-11-26 15:59 robert - - * src/osgWrappers/deprecated-dotosg/osg/StateSet.cpp: Fixed warning - -2014-11-26 14:06 robert - - * src/osgWrappers/serializers/osgTerrain/DisplacementMappingTechnique.cpp: - Added osgTerrain::DisplacementMappingTechnique serializer - -2014-11-26 14:04 robert - - * examples/osgterrain/CMakeLists.txt, - examples/osgterrain/ShaderTerrain.cpp, - examples/osgterrain/ShaderTerrain.h, - examples/osgterrain/osgterrain.cpp, - include/osgTerrain/DisplacementMappingTechnique, - include/osgTerrain/GeometryPool, src/osgTerrain/CMakeLists.txt, - src/osgTerrain/DisplacementMappingTechnique.cpp, - src/osgTerrain/GeometryPool.cpp: Renamed ShaderTerrain to - DisplacementMappingTechnique and moved it from the osgterrain - example testbed into the osgTerrain NodeKit - -2014-11-26 13:36 robert - - * examples/osgterrain/ShaderTerrain.cpp, - examples/osgterrain/ShaderTerrain.h, - include/osgTerrain/GeometryPool, src/osgTerrain/CMakeLists.txt, - src/osgTerrain/GeometryPool.cpp: Moved osgTerrain::GeometryPool - from osgterrain example into osgTerrain NodeKit - -2014-11-25 14:37 robert - - * src/osg/CMakeLists.txt: Removed GL header as it's already - included via the ${OPENSCENEGRAPH_OPENGL_HEADER} entry. - -2014-11-25 10:58 robert - - * examples/CMakeLists.txt, examples/osggpucull, - examples/osggpucull/AggregateGeometryVisitor.cpp, - examples/osggpucull/AggregateGeometryVisitor.h, - examples/osggpucull/CMakeLists.txt, - examples/osggpucull/DrawIndirectPrimitiveSet.cpp, - examples/osggpucull/DrawIndirectPrimitiveSet.h, - examples/osggpucull/GpuCullShaders.h, - examples/osggpucull/ShapeToGeometry.cpp, - examples/osggpucull/ShapeToGeometry.h, - examples/osggpucull/osggpucull.cpp, include/osg/BufferTemplate, - src/osg/CMakeLists.txt: From PawelKsiezopolski, "This submission - contains a new example for OSG : a geometry instancing rendering - algorithm consisting of two consequent phases : - - - first phase is a GLSL shader performing object culling and LOD - picking ( a culling shader ). - Every culled object is represented as GL_POINT in the input - osg::Geometry. - The output of the culling shader is a set of object LODs that - need to be rendered. - The output is stored in texture buffer objects. No pixel is drawn - to the screen - because GL_RASTERIZER_DISCARD mode is used. - - - second phase draws osg::Geometry containing merged LODs using - glDrawArraysIndirect() - function. Information about quantity of instances to render, its - positions and other - parameters is sourced from texture buffer objects filled in the - first phase. - - The example uses various OpenGL 4.2 features such as texture - buffer objects, - atomic counters, image units and functions defined in - GL_ARB_shader_image_load_store - extension to achieve its goal and thus will not work on graphic - cards with older OpenGL - versions. - - The example was tested on Linux and Windows with NVidia 570 and - 580 cards. - The tests on AMD cards were not conducted ( due to lack of it ). - The tests were performed using OSG revision 14088. - - The main advantages of this rendering method : - - instanced rendering capable of drawing thousands of different - objects with - almost no CPU intervention ( cull and draw times are close to 0 - ms ). - - input objects may be sourced from any OSG graph ( for example - - information about - object points may be stored in a PagedLOD graph. This way we may - cover the whole - countries with trees, buildings and other objects ). - Furthermore if we create osgDB plugins that generate data on the - fly, we may - generate information for every grass blade for that country. - - every object may have its own parameters and thus may be - distinct from other objects - of the same type. - - relatively low memory footprint ( single object information is - stored in a few - vertex attributes ). - - no GPU->CPU roundtrip typical for such methods ( method uses - atomic counters - and glDrawArraysIndirect() function instead of OpenGL queries. - This way - information about quantity of rendered objects never goes back to - CPU. - The typical GPU->CPU roundtrip cost is about 2 ms ). - - this example also shows how to render dynamic objects ( objects - that may change - its position ) with moving parts ( like car wheels or airplane - propellers ) . - The obvious extension to that dynamic method would be the - animated crowd rendering. - - rendered objects may be easily replaced ( there is no need to - process the whole - OSG graphs, because these graphs store only positional - information ). - - The main disadvantages of a method : - - the maximum quantity of objects to render must be known - beforehand - ( because texture buffer objects holding data between phases have - constant size ). - - OSG statistics are flawed ( they don't know anymore how many - objects are drawn ). - - osgUtil::Intersection does not work - - Example application may be used to make some performance tests, - so below you - will find some extended parameter description : - --skip-dynamic - skip rendering of dynamic objects if you only - want to - observe static object statistics - --skip-static - the same for static objects - --dynamic-area-size - size of the area for dynamic rendering. - Default = 1000 meters - ( square 1000m x 1000m ). Along with density defines - how many dynamic objects is there in the example. - --static-area-size - the same for static objects. Default = 2000 - meters - ( square 2000m x 2000m ). - - Example application defines some parameters (density, LOD ranges, - object's triangle count). - You may manipulate its values using below described modifiers: - --density-modifier - density modifier in percent. Default = 100%. - Density ( along with LOD ranges ) defines maximum - quantity of rendered objects. registerType() function - accepts maximum density ( in objects per square kilometer ) - as its parameter. - --lod-modifier - defines the LOD ranges. Default = 100%. - --triangle-modifier - defines the number of triangles in finally - rendered objects. - Default = 100 %. - --instances-per-cell - for static rendering the application - builds OSG graph using - InstanceCell class ( this class is a modified version of Cell - class - from osgforest example - it builds simple quadtree from a list - of static instances ). This parameter defines maximum number - of instances in a single osg::Group in quadtree. - If, for example, you modify it to value=100, you will see - really big cull time in OSG statistics ( because resulting - tree generated by InstanceCell will be very deep ). - Default value = 4096 . - --export-objects - write object geometries and quadtree of - instances to osgt files - for later analysis. - --use-multi-draw - use glMultiDrawArraysIndirect() instead of - glDrawArraysIndirect() in a - draw shader. Thanks to this we may render all ( different ) - objects - using only one draw call. Requires OpenGL version 4.3 and some - more - work from me, because now it does not work ( probably I - implemented - it wrong, or Windows NVidia driver has errors, because it hangs - the apllication at the moment ). - - This application is inspired by Daniel Rákos work : "GPU based - dynamic geometry LOD" that - may be found under this address : - http://rastergrid.com/blog/2010/10/gpu-based-dynamic-geometry-lod/ - There are however some differences : - - Daniel Rákos uses GL queries to count objects to render, while - this example - uses atomic counters ( no GPU->CPU roundtrip ) - - this example does not use transform feedback buffers to store - intermediate data - ( it uses texture buffer objects instead ). - - I use only the vertex shader to cull objects, whereas Daniel - Rákos uses vertex shader - and geometry shader ( because only geometry shader can send more - than one primitive - to transform feedback buffers ). - - objects in the example are drawn using glDrawArraysIndirect() - function, - instead of glDrawElementsInstanced(). - - Finally there are some things to consider/discuss : - - the whole algorithm exploits nice OpenGL feature that any GL - buffer - may be bound as any type of buffer ( in our example a buffer is - once bound - as a texture buffer object, and later is bound as - GL_DRAW_INDIRECT_BUFFER ). - osg::TextureBuffer class has one handy method to do that trick ( - bindBufferAs() ), - and new primitive sets use osg::TextureBuffer as input. - For now I added new primitive sets to example ( - DrawArraysIndirect and - MultiDrawArraysIndirect defined in - examples/osggpucull/DrawIndirectPrimitiveSet.h ), - but if Robert will accept its current implementations ( I mean - - primitive - sets that have osg::TextureBuffer in constructor ), I may add it - to - osg/include/PrimitiveSet header. - - I used BufferTemplate class writen and published by Aurelien in - submission forum - some time ago. For some reason this class never got into - osg/include, but is - really needed during creation of UBOs, TBOs, and possibly SSBOs - in the future. - I added std::vector specialization to that template class. - - I needed to create similar osg::Geometries with variable number - of vertices - ( to create different LODs in my example ). For this reason I've - written - some code allowing me to create osg::Geometries from osg::Shape - descendants. - This code may be found in ShapeToGeometry.* files. Examples of - use are in - osggpucull.cpp . The question is : should this code stay in - example, or should - it be moved to osgUtil ? - - this remark is important for NVidia cards on Linux and Windows - : if - you have "Sync to VBlank" turned ON in nvidia-settings and you - want to see - real GPU times in OSG statistics window, you must set the power - management - settings to "Prefer maximum performance", because when "Adaptive - mode" is used, - the graphic card's clock may be slowed down by the driver during - program execution - ( On Linux when OpenGL application starts in adaptive mode, clock - should work - as fast as possible, but after one minute of program execution, - the clock slows down ). - This happens when GPU time in OSG statistics window is shorter - than 3 ms. - " - -2014-11-25 10:33 robert - - * src/osgUtil/TriStripVisitor.cpp: Removed DrawArrays optimization - to simplify the code and open the door to adding primitive - combining. - -2014-11-25 10:11 robert - - * src/osg/State.cpp: Commented out - State::setUpVertexAttribAlias(..) debug message. - -2014-11-24 15:19 robert - - * CMakeLists.txt, CMakeModules/FindAVFoundation.cmake, - CMakeModules/FindQuickTime.cmake, - src/osgViewer/PixelBufferCocoa.mm: From Jan Klimke, "i noticed, - that there are a couple of additional flaws when building osg for - Mac OS X 10.10 Yosemite. - - The mac os sdk version is recognized by the current CMAKE script - as 10.1 instead of 10.10 since it cuts the version string from - the 4th place. I introduced a more reliable version checking - based on splitting the returned version code into MAJOR MINOR and - PATCH parts and reassemble the OSG sdk version afterwards. - - I replaced the existing CMake code against the following - (returning now version 10.10 as expected): - - # Determine the canonical name of the selected Platform SDK - EXECUTE_PROCESS(COMMAND "/usr/bin/sw_vers" "-productVersion" - OUTPUT_VARIABLE OSG_OSX_SDK_NAME - OUTPUT_STRIP_TRAILING_WHITESPACE) - STRING(REPLACE "." ";" MACOS_VERSION_LIST ${OSG_OSX_SDK_NAME}) - LIST(GET MACOS_VERSION_LIST 0 MACOS_VERSION_MAJOR) - LIST(GET MACOS_VERSION_LIST 1 MACOS_VERSION_MINOR) - LIST(GET MACOS_VERSION_LIST 2 MACOS_VERSION_PATCH) - - SET(OSG_OSX_SDK_NAME - "macosx${MACOS_VERSION_MAJOR}.${MACOS_VERSION_MINOR}") - - Also i added the check for the new Version to some more find - scripts. - - Additionally the nil object in Objective C now seems to be - equivalent with a null_ptr that cannot be passed as GLInt - anymore. So i switched this in the PixelBufferCocoa.mm to pass a - zero instead of nil. - " - -2014-11-24 14:54 robert - - * include/osg/StateAttribute, include/osg/VertexAttribDivisor, - src/osg/CMakeLists.txt, src/osg/VertexAttribDivisor.cpp, - src/osgWrappers/serializers/osg/VertexAttribDivisor.cpp: Added - VertexAttribDivisor class to wrap up glVertexAttribDivisor - function - -2014-11-24 14:09 robert - - * examples/osgsimplegl3/osgsimplegl3.cpp: Fixed osgsimplegl3 - example's set up of the main camera. - -2014-11-24 14:01 robert - - * include/osg/State, src/osg/State.cpp: Added numTextureUnits - parameter to the osg::State::resetVertexAttributeAlias(bool, - unit) method, and set the default to 8. - -2014-11-21 20:16 robert - - * src/osgDB/CMakeLists.txt, src/osgDB/FileUtils.cpp: From Alberto - Luaces,"the current code uses the preprocessor for generating the - plugin path in - a way that when CMAKE_INSTALL_PREFIX contains something along the - lines - of - - /usr/x86_64-linux-gnu/ - - it gets substituted as - - /usr/x86_64-1-gnu/ - - that is, the string is preprocessed again, thereby making changes - to - anything that matches any defined symbol, as "linux" in this - example - (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763816). - - Quoting that path directly in CMake scripts solves that problem. - " - -2014-11-21 20:15 robert - - * include/osg/Image: Added comment clarifying how - Image::getColor(..) out of 0..1 range texcoords are handled - now - clamped to edge. - -2014-11-21 17:22 robert - - * src/osg/Image.cpp: Implemented a clamp to edge policy for the - Image::g/setColor(color, texcoord). - -2014-11-21 17:17 robert - - * src/osg/CopyOp.cpp: Added testing for Drawables in the - CopyOp::operator(Node*) to replicate the old functionality. - -2014-11-21 16:27 robert - - * include/osg/Image, src/osg/Image.cpp: From Sebastian - Messerschmidt, "Added setColor function to modify an image based - on texture coordinates, parallel to the getColor functionality." - -2014-11-21 14:46 robert - - * examples/osgterrain/osgterrain.cpp: Added --db-affinit cpuNum - option to osgterrain example to illustrate how to set the thead - affinity of the DatabasePager threads. - -2014-11-21 10:44 robert - - * include/osg/Texture2DMultisample: From Sebastian Messerschmidt, - "Attached you find a change adding a getNumSamples() function to - retrieve the value set via setNumSamples." - -2014-11-21 10:37 robert - - * CMakeLists.txt, CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgMacroUtils.cmake, - PlatformSpecifics/Android/android.toolchain.cmake, - src/CMakeLists.txt, src/OpenThreads/pthreads/CMakeLists.txt, - src/osgWrappers/serializers/osg/LibraryWrapper.cpp: From Rafa - Gaitan, "I finally had some time to change the build system for - Android using a Toolchain, which, I think, will be easier to - maintain and uses cmake standard system to build it. - - My changes: - ------------------- - - I changed the cmake files and added a toolchain for building - OSG in Android. The toolchain is based on the one used at OpenCV. - For building OSG for android you just need to do: - - mkdir build_android_static_gles2 && cd build_android_static_gles2 - cmake .. -DANDROID_NDK= - -DCMAKE_TOOLCHAIN_FILE=../PlatformSpecifics/Android/android.toolchain.cmake - -DOPENGL_PROFILE="GLES2" - -DDYNAMIC_OPENTHREADS=OFF - -DDYNAMIC_OPENSCENEGRAPH=OFF - -DANDROID_NATIVE_API_LEVEL=15 # optional - -DANDROID_ABI=armeabim #optional - -DCMAKE_INSTALL_PREFIX= #optional - make -j 8 - make install - - The OPENGL_PROFILE works as expected, changing it to "GLES1" it - builds and links OSG using GLES1. - The DYNAMIC_OPENTHREADS/DYNAMIC_OPENSCENEGRAPH parameters also - allows to build the dynamic libraries - - - I also added some build fixes for android related to the - texture formats and added some missing USE_OSG_SERIALIZER_WRAPPER - in the osg serializer library to support loading osgb files in - static." - -2014-11-21 10:21 robert - - * CMakeModules/CheckAtomicOps.cmake: From Björn Blissing, fix for - ambiguous defines in Atomic.cpp when compiling with MinGW and GCC - -2014-11-20 17:37 robert - - * include/osg/Texture: From Claus Steuer, "XCode 6, IOs 8.1 SDK - Compile fix : There are some undefined texture formats when - compiling osg for IOs 8.1 with XCode 6 and OpenGLES2 enabled." - -2014-11-20 17:00 robert - - * include/osg/State: From Pjotr Svetachov, "I was experimenting - with VBO's to try to get them on par with display - lists when drawing lots of batches and noticed that my program - generated a lot of unneeded glClientActiveTexture calls. Digging - deeper I found out it came from State::disableTexCoordPointer - where - the function would call glClientActiveTexture but not - glDisableClientState because the geometry didn't have texture - coordinates for that channel. This is because in our scene there - are - some geometries that have move than one uv channels making - State::_texCoordArrayList grow. Then the method - State::applyDisablingOfVertexAttributes() will call - disableTexCoordPointer multiple times. - - I rearrange the method a little to combat this. Now the logic has - the - same ordering as disableTexCoordPointersAboveAndIncluding which - already combats this." - -2014-11-20 16:38 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: From Farshid Lashkari, - "The obj loader was overriding the existing database path list - with the file path of the model, instead of prepending the file - path to the path list. The latter seems to be more common - behavior for most of the existing loader plugins. Also, the local - options weren't actually being used when processing the scene - graph for textures. I've attached the fix for both issues." - -2014-11-20 10:52 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: From Marc - Helbling, "here is a trivial fix in the Inventor plugin. In one - code path, the pointer validity is checked after dereferencing a - pointer that can be null (image->valid()) instead of calling - ref_ptr::valid (image.valid())." - -2014-11-20 10:45 robert - - * src/osgUtil/MeshOptimizers.cpp: From Marc Helbling, "I've come - across scenes that contains geometries with initialized but empty - vertex arrays and primitives and that would make some optimizers - crash. - - The submission therefore only contains a test on the size of the - vertex array for the VertexCacheMissVisitor and the - VertexAccessOrderVisitor visitors." - -2014-11-20 10:05 robert - - * src/osg/Texture.cpp: From Christian Ruzicka, "while testing this - commit on our OSG 3.2 version, I observed that the changes for - ETC2 brake ETC1 support. Attached you'll find the changes to get - ETC1 running again" - -2014-11-20 09:55 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Sukender, "Fix for - 3DS reader, which may read wrong triangles. Actually, indices may - suffer a 'short int' overflow, in two places." - -2014-11-20 09:41 robert - - * src/osg/Texture2DArray.cpp: Fixed segfalt in Texture2DArray copy - constructor where it would apply images to an uninitialzed - vector. - -2014-11-20 09:32 robert +Wed, 1 Jul 2015 05:32:40 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14931 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRMesh.cpp: From Marc Helbling, "patch - adding support for ambient material in the FBX plugin. It's a - straightfoward adaptation of the emissive support and has been - tested on a proprietary model." -2014-11-20 09:21 robert +Wed, 1 Jul 2015 05:10:20 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, added seriliazers for new osg::ClipControlgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14930 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/gif/ReaderWriterGIF.cpp: From Pjotr Svetachov, fix - for build breakage with giflib 5.0. -2014-11-20 08:26 robert +Tue, 30 Jun 2015 09:51:05 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS filesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14929 16af8721-9629-0410-8352-f15c8da7e697 - * README.txt: From Per Nordqvist, "The README.txt is still somewhat - confusing so I have updated it" -2014-11-19 17:45 robert +Tue, 30 Jun 2015 09:11:00 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "Attached a new state attribute implementing the glClipControl that appeared with GL4.5."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14928 16af8721-9629-0410-8352-f15c8da7e697 - * README.txt, configure: Removed configure script as it's no longer - required as cmake . will now default to Release -2014-11-19 17:42 robert +Tue, 30 Jun 2015 08:39:33 +0000 +Checked in by : Robert OSFIELD +Quitened down debug for ViewConfig argument parsinggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14927 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt: Added CMake script to set the default - CMAKE_BUILD_TYPE to Release. Approach taken from simgear. -2014-11-19 17:29 robert +Tue, 30 Jun 2015 08:38:01 +0000 +Checked in by : Robert OSFIELD +Build fix for GLDAL>=2git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14925 16af8721-9629-0410-8352-f15c8da7e697 - * ChangeLog, applications/osgversion/Contributors.cpp: Fixed - Contributors names -2014-11-19 17:10 robert +Fri, 26 Jun 2015 09:40:37 +0000 +Checked in by : Robert OSFIELD +From Christian Kehl, added Vec2::set(const Vec2) methodgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14924 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/gif/ReaderWriterGIF.cpp: From Clement Boesch, "Fix - remaining bit of Giflib5 usage" -2014-11-19 11:37 robert +Fri, 19 Jun 2015 09:51:30 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, fixed clearReferencesToDependentCameras() callsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14922 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgWrappers/deprecated-dotosg/osg/ProxyNode.cpp: From Laurens - Voerman, "I found a new way to crach the osgviewer: - osgviewer "ProxyNode { FileNameList { cow.osgt } num_children 1 - }".osgs - - The proxy node reader wrongly assumes options to be non NULL. - - fixed in attached zip: - src\osgWrappers\deprecated-dotosg\osg\ProxyNode.cpp - - applies to both the 3.2 branch and svn trunk" -2014-11-19 11:30 robert +Wed, 17 Jun 2015 16:25:47 +0000 +Checked in by : Robert OSFIELD +Fixed handling of use GLObjectsVisitor for modifying scene graph state without compiling to OpenGL so that the visitor can be run safely without a graphics context being current.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14921 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgQtWidgets/osgQtWidgets.cpp, - include/osgQt/QGraphicsViewAdapter, include/osgQt/QWebViewImage, - include/osgQt/QWidgetImage, src/osgQt/QGraphicsViewAdapter.cpp, - src/osgQt/QWidgetImage.cpp, - src/osgViewer/ViewerEventHandlers.cpp: 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 10:43 robert +Tue, 16 Jun 2015 17:18:11 +0000 +Checked in by : Robert OSFIELD +Small tidy up to make script more readable.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14920 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgterrain/ShaderTerrain.cpp: Changed the way that the - cell size is passed to the shader -2014-11-19 09:33 robert +Tue, 16 Jun 2015 17:17:50 +0000 +Checked in by : Robert OSFIELD +Added QT_QTCORE_INCLUDE_DIR entry to qfont plugin build to fix Qt4 build under Linuxgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14919 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/Texture.cpp: From James Turner, "Converting the loops to - forward versions fixed the issue. The problem is size_t is - unsigned; at the limit condition it doesn’t go negative but wraps - around to 0xffffffffffffffff …. and boom." -2014-11-17 15:43 robert +Mon, 15 Jun 2015 19:59:01 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, "I've added the check for Qt version mismatches into osgQt as suggested in http://forum.openscenegraph.org/viewtopic.php?t=14999.When an application is built with Qt4, but osgQt was built with Qt5 (or vice versa), upon #includeing osgQt users will receive an #error aborting the build. - * src/osgPlugins/exr/ReaderWriterEXR.cpp: Fixed typo +This at least provides a proper error message rather than a crash, while we are working on better fixes for the problem." -2014-11-17 09:19 robert - * src/osgDB/ObjectCache.cpp: Fixed typo in comment +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14918 16af8721-9629-0410-8352-f15c8da7e697 -2014-11-14 17:44 robert - * examples/osgterrain/ShaderTerrain.cpp: Added use of - GL_TRIANGLE_STRIP to cut down the size of the primitive indices - required. +Mon, 15 Jun 2015 13:51:29 +0000 +Checked in by : Robert OSFIELD +Experiment with how to define GLsizeiptr.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14917 16af8721-9629-0410-8352-f15c8da7e697 -2014-11-14 16:47 robert - * examples/osgterrain/ShaderTerrain.cpp: Implemented skirt - functionality +Mon, 15 Jun 2015 13:51:09 +0000 +Checked in by : Robert OSFIELD +Upated version numbergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14916 16af8721-9629-0410-8352-f15c8da7e697 -2014-11-13 09:40 robert - * include/osgDB/DatabasePager, include/osgDB/ObjectCache, - include/osgDB/Options, src/osgDB/DatabasePager.cpp, - src/osgDB/ObjectCache.cpp, src/osgDB/Options.cpp, - src/osgDB/Registry.cpp: Refactored the handling of use of the - osgDB::ObjectCache in the DatabasePager to use a local thread - specific ObjectCache to handle new additions and - then have these additions merged with the main Registry - ObjectCache during the main loop. +Fri, 12 Jun 2015 20:23:15 +0000 +Checked in by : Robert OSFIELD +Removed old and unused windows code path to avoid confusiongit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14915 16af8721-9629-0410-8352-f15c8da7e697 -2014-11-11 18:28 robert - * include/osgDB/ObjectCache, include/osgDB/Registry, - src/osgDB/CMakeLists.txt, src/osgDB/ObjectCache.cpp, - src/osgDB/Registry.cpp: Moved implementation of ObjectCache - functionality out of Registry into a dedicated osgDB::ObjectCache - class. +Fri, 12 Jun 2015 11:28:54 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14913 16af8721-9629-0410-8352-f15c8da7e697 -2014-11-10 16:04 robert - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: To - handle thread safe paging and use of the osgDB::Registry - ObjectCache, moved the handling of cache into - osgDB::DatabasePager. - -2014-11-06 10:44 robert - - * src/osgDB/InputStream.cpp: From Pjotr Svetachov, "I tried your - fix and it exposed a bug in my fix :) - The problem is that the readObjectFields method will add the - object to the _identifierMap. So all the other instances of that - image in the same file will be replaced by the created dummy - object. In my fix this was an dummy image and I didn't notice it - in our scene's, probably because it covered a small part of an - object. In your fix the dummy object was not an image and that - leads to a crash when something tries to use it as an image. I - have attached a small fix for this bug. - - " - -2014-11-06 10:40 robert - - * include/osg/Object, include/osgDB/DatabasePager, - include/osgUtil/IncrementalCompileOperation, - src/osgDB/DatabasePager.cpp, src/osgDB/InputStream.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: Introduced use of - MarkerObject to IncrmentalCompileOperation/DatabasePager as a way - of marking objects that have already been processed and compiled, - thus avoid potential threading conflicts when paged subgraphs are - reused. - -2014-11-05 16:08 robert - - * include/osgDB/InputStream, src/osgDB/InputStream.cpp: Added - handling of the reading of field properties to a dummy object for - cached images to avoid threading issues associated with reusing - and modifying an active object. - -2014-11-05 13:38 robert - - * src/osg/OperationThread.cpp: Reinstated the original mechanism - for OperationThread::cancel() that co-operatively releases - blocks/barriers to make sure the thread is able to exit - correctly. - -2014-11-04 20:07 robert - - * examples/osgterrain/ShaderTerrain.cpp, - examples/osgterrain/ShaderTerrain.h: Improvements to the - ShaderTerrain experiemental terrain rendering technique. - -2014-11-04 20:07 robert - - * src/osgTerrain/TerrainTile.cpp: Changed TerrainTile::setDirty() - to use children needing update traversal mechanism to address - threadng issues. - -2014-11-04 20:06 robert - - * src/OpenThreads/pthreads/PThread.cpp, - src/OpenThreads/pthreads/PThreadPrivateData.h: Change isRunning - variable to an Atomic to address possible race condition - asscoiated with reading and writing to the variable from - different threads. - -2014-11-04 16:29 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: Build fixes for - ffmpeg LIBAVCODEC_VERSION_MAJOR >= 56 - -2014-11-04 11:18 robert - - * src/osgViewer/ViewerBase.cpp: Added an InitRegistry static - intiialization and destrucion static to help control the order of - construction and destruction of the osgDB::Registry. - -2014-11-04 10:46 robert - - * examples/osgQtBrowser/osgQtBrowser.cpp, - examples/osgunittests/MultiThreadRead.cpp, - examples/osgunittests/osgunittests.cpp, - examples/osguserstats/osguserstats.cpp, - examples/osgviewerMFC/MFC_OSG.cpp, include/osg/OperationThread, - src/OpenThreads/pthreads/PThread.cpp, - src/OpenThreads/qt/QtThread.cpp, - src/OpenThreads/sproc/SprocThread.c++, - src/OpenThreads/win32/Win32Thread.cpp, - src/osg/OperationThread.cpp, src/osgDB/DatabasePager.cpp, - src/osgDB/ImagePager.cpp, src/osgPlugins/cfg/RenderSurface.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/vnc/ReaderWriterVNC.cpp: 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-10-21 15:08 robert - - * examples/osgterrain/CMakeLists.txt, - examples/osgterrain/ShaderTerrain.cpp, - examples/osgterrain/ShaderTerrain.h, - examples/osgterrain/osgterrain.cpp, - src/osgTerrain/TerrainTile.cpp: Added experimental - osgTerrain::ShaderTerrain TerrainTechnique to osgterrain example - to flesh out new shader based displacement mapping approach to - osgTerrain databases. - - Requires shader files place in OpenSceneGraph-Data/shaders from - OpenSceneGraph-Data's svn/trunk to function. - - Run osgterrain example with --shader command line option to - select displacement mapping shader approach. - -2014-10-21 14:47 robert - - * applications/osgviewer/osgviewer.cpp: Removed --sync related code - as it's now integrated into osg::DisplaySettings and osgViewer - -2014-10-21 14:46 robert - - * include/osg/DisplaySettings, include/osg/GraphicsContext, - src/osg/DisplaySettings.cpp, src/osg/GraphicsContext.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added osg::SyncSwapBuffersCallback to include/osg/GraphicsContext - and support for enabling it to include/osg/DisplaySettings, and - to the Viewer/CompositeViewer::realize() methods. - - To enable the sync of swap buffers set the env var - OSG_SYNC_SWAP_BUFFERS to ON or 1, to switch off set to OFF or 0. - - One can also use the --sync command line option for application - that pass on command line options to the - osg::DisplaySettings::instance(). - -2014-10-21 08:27 robert +Fri, 12 Jun 2015 08:04:42 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I've modified some setter methods of TextBase to avoid unnecessary calls to computeGlyphRepresentation() if the value has not changed."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14912 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/StateSet.cpp: Removed checks against Drawable as these - are no longer required. - -2014-09-17 17:40 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgPlugins/lua/ReaderWriterLua.cpp: Added support for writing - the file path of a script to the lua package.path to help with - loading scripts within lua. - -2014-09-16 17:40 robert - - * examples/osgvolume/osgvolume.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/tf/ReaderWriterTF.cpp: Changed osgvolume example - to use the new tf plugin rather than having local code for - reading transfer function - -2014-09-16 11:00 robert - - * src/osgPlugins/tf/ReaderWriterTF.cpp: Added write support - -2014-09-15 17:53 robert - * src/osgDB/Registry.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/tf, src/osgPlugins/tf/CMakeLists.txt, - src/osgPlugins/tf/ReaderWriterTF.cpp: Added .tf & .tf-255 plugin - for reading ascii 1D transfer functon files in support for volume - rendering. +Thu, 11 Jun 2015 08:44:26 +0000 +Checked in by : Robert OSFIELD +Reverted the typdef GLfloat GLdouble for Andoid as this was causing conflicts.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14910 16af8721-9629-0410-8352-f15c8da7e697 -2014-09-12 14:16 robert - * include/osgUI/TabWidget, src/osgUI/TabWidget.cpp: Added basic - frame rendering for TabWidget +Wed, 10 Jun 2015 18:22:09 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file for 3.3.8 dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14909 16af8721-9629-0410-8352-f15c8da7e697 -2014-09-10 17:03 robert - * include/osgUI/AlignmentSettings, src/osgUI/AlignmentSettings.cpp, - src/osgUI/TabWidget.cpp: Improved the alignment and sizing of - TabWidget tab headers - -2014-09-10 11:59 robert - - * src/osgUI/TabWidget.cpp: Implemented the selection of tabs by - clicking, using mouse wheel or arrow keys. +Wed, 10 Jun 2015 16:48:28 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "attached is a zip with the files:OpenSceneGraph\CMakeModules\FindOpenEXR.cmake -2014-09-09 16:12 robert +I introduced a bug in the previous submission pointed out by Dmitry Marakasov: +looking for IlmIlf instead of IlmImf (as the previous version did - but using variable OPENEXR_IlmIlf_LIBRARY) - * src/osgUI/Dialog.cpp, src/osgUI/TabWidget.cpp: Improved the - handling of the dialog title text +For some reason google decided his message was spam, so I just noticed it, and I reply to confirm his remarks and attach a full file. -2014-09-09 15:14 robert +" - * include/osgUI/Callbacks, src/osgUI/Callbacks.cpp, - src/osgUI/Dialog.cpp, src/osgUI/Widget.cpp: Moved the diaglog - title bar widgets into the Widget::GraphicsSubgraph map to avoid - them poluting the Dialog's children list and to prevent them from - being serialized. -2014-09-09 13:37 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14908 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUI/TabWidget, include/osgUI/Widget, - src/osgUI/ComboBox.cpp, src/osgUI/Dialog.cpp, - src/osgUI/Label.cpp, src/osgUI/LineEdit.cpp, src/osgUI/Popup.cpp, - src/osgUI/PushButton.cpp, src/osgUI/Style.cpp, - src/osgUI/TabWidget.cpp, src/osgUI/Widget.cpp, - src/osgWrappers/serializers/osgUI/Tab.cpp, - src/osgWrappers/serializers/osgUI/Widget.cpp: Introduced - Widget::WidgetStateSet to help localize the StateSet set up by - Widget implementations from being serialized or - affecting what end users apply via the standard - Node::s/getStateSet(). - - Further work on TabWidget. -2014-09-08 08:53 robert +Wed, 10 Jun 2015 16:47:15 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "An earlier fix in OSG 3.2 has been inadvertently lost in 3.3.x. The glGenerateMipMap function is part of the GL_EXT_framebuffer_object extension. Just checking if the function is present before using it for texture mipmaps is not sufficient, as on remote X-windows displays the client side capability may be different from the display server. This can lead to mipmapped textures failing to render. I've restored a fbo extension check. I've also tided up the GL version checking a little."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14907 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgtransferfunction/TransferFunctionWidget.cpp: Build - fix -2014-09-05 16:04 robert +Wed, 10 Jun 2015 10:00:27 +0000 +Checked in by : Robert OSFIELD +From Philippe Renon, "Fixed potential divide by zero in NodeTrackerManipulator : The divide by zero happens when throwing a NodeTrackerManipulator. The infinite result trickles down and later causes NaN in culling.The fix was to use getThrowScale() as done everywhere else." - * include/osgUI/TabWidget, src/osgUI/CMakeLists.txt, - src/osgUI/TabWidget.cpp, - src/osgWrappers/serializers/osgUI/Tab.cpp, - src/osgWrappers/serializers/osgUI/TabWidget.cpp: Added shell of - new osgUI::TabWidget class -2014-09-05 11:05 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14905 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgDB/ObjectWrapper, include/osgDB/Serializer, - src/osgDB/ObjectWrapper.cpp, - src/osgWrappers/serializers/osgVolume/VolumeSettings.cpp: - Introduced support for specifying whether a serializer supports - different types of usage - one or more of READ_WRITE_PROPERTY, - GET_PROPERTY and SET_PROPERTY. -2014-09-03 15:54 robert +Tue, 9 Jun 2015 16:49:20 +0000 +Checked in by : Robert OSFIELD +Added supoort for osg::CullSettings/Camera::InheritanceMaskActionOnAttributeSetting and InheritanceMask properties.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14904 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgVolume/VolumeSettings, - src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgVolume/VolumeSettings.cpp, - src/osgWrappers/serializers/osgVolume/VolumeSettings.cpp: Added - setting of the IsoSurfaceProperty in VolumeSettings -2014-09-03 12:28 robert +Tue, 9 Jun 2015 12:51:38 +0000 +Checked in by : Robert OSFIELD +Added namespace around typedef to avoid conflict issuesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14903 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUI/Callbacks, src/osgUI/Callbacks.cpp, - src/osgUI/Dialog.cpp, src/osgUI/PushButton.cpp: Added close - button on Dialog title bar -2014-09-02 17:01 robert +Tue, 9 Jun 2015 10:49:34 +0000 +Checked in by : Robert OSFIELD +Introduce osg::Object::asNode(), asNodeVisitor(), asStateAttribute() and asUniform() to replace dynamic_cast<> usage in Callback.cpp.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14902 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUI/ComboBox, src/osgUI/ComboBox.cpp: Refactored the - handling of ComboBox item picking to make it faster and more - reliable -2014-09-02 10:00 robert +Tue, 9 Jun 2015 09:44:37 +0000 +Checked in by : Robert OSFIELD +Added output of HUD scene graph to hud.osgt and hud.osgb for testing purposes.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14901 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgUI/ComboBox.cpp: Improved handling of ComboBox popup - toggling -2014-09-02 09:14 robert +Mon, 8 Jun 2015 11:33:49 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS and ChangeLog for dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14900 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgUI/Callbacks.cpp, src/osgUI/Widget.cpp: Added support for - scaling widgets via the scoll wheel. -2014-09-02 08:41 robert +Mon, 8 Jun 2015 11:18:24 +0000 +Checked in by : Robert OSFIELD +From Mike Connell, "Give ReadFileCallback access to parent location : These small changes to the database pager allow user code in the ReadFileCallback to safely determine where the file being loaded is destined to be inserted into the scenegraph. "git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14899 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgGA/KeySwitchMatrixManipulator.cpp: Removed debugging - message -2014-09-01 19:13 robert +Mon, 8 Jun 2015 10:20:53 +0000 +Checked in by : Robert OSFIELD +Addressed race condition where SceneView::setLightingMode() was setting a shread Master Camera's StateSet.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14898 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUI/Callbacks, include/osgUI/Widget, - src/osgUI/CMakeLists.txt, src/osgUI/Callbacks.cpp, - src/osgUI/Dialog.cpp, src/osgUI/LineEdit.cpp, - src/osgUI/Widget.cpp: Added DragCallback class to help dialog - dragging support. - Introduced a new - Widget::computeExtentsPositionInLocalCoordinates() method that - intersects with a ray through mouse pointer and the extents of - the widget. -2014-08-28 15:11 robert +Sun, 7 Jun 2015 11:13:02 +0000 +Checked in by : Robert OSFIELD +Fixed setReferenceTime() bug where a * eather than the correct / was being used. Bug and fix suggested Benjamin Richter.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14896 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgVolume/MultipassTechnique.cpp: Improved support for - controlling the ShadingModel via the VolumeSettings object -2014-08-28 09:42 robert +Thu, 4 Jun 2015 09:35:19 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS for dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14895 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgVolume/Property.cpp: Improved handling of VolumeSettings -2014-08-27 15:08 robert +Thu, 4 Jun 2015 09:13:05 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, Transform::computeBound() optimization.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14894 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgUI/Widget.cpp, src/osgVolume/Property.cpp, - src/osgWrappers/serializers/osgVolume/SampleRatioProperty.cpp: - Changed the osgUI behaviour so that events are set to be handled - by Widgets that have focus even if they don't directly use them. -2014-08-27 15:07 robert +Thu, 4 Jun 2015 09:05:24 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, Removed unused StatsHandler::_keyEventToggleVsyncgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14893 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/NodeVisitor.cpp: Changed the - NodeVisitor::apply(Drawable&) to call apply(Node&) -2014-08-27 09:25 robert +Thu, 4 Jun 2015 09:00:17 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, "In the attachment you will find a build fix for the latest trunk. osgAnimation failed to compile when using OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION=OFF ."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14892 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgDB/Serializer, - src/osgWrappers/serializers/osgVolume/VolumeSettings.cpp: Added - support for getting osgVolumre::Property::ModifieCount -2014-08-25 16:56 robert +Wed, 3 Jun 2015 10:28:34 +0000 +Checked in by : Robert OSFIELD +Removed export that was breaking windows buildgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14891 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgDB/Serializer, include/osgVolume/Property, - include/osgVolume/VolumeSettings, src/osgVolume/Property.cpp, - src/osgWrappers/serializers/osgVolume/Property.cpp, - src/osgWrappers/serializers/osgVolume/VolumeSettings.cpp: Added - Property::getModifiedCount() + dirty() to help with tracking - changes. Added VolumeSettings serializers for Property objects -2014-08-25 13:43 robert +Wed, 3 Jun 2015 09:14:35 +0000 +Checked in by : Robert OSFIELD +From KOS, "New classes for osgAnimation presented: UpdateFloatUniform, UpdateVec3fUniform and UpdateMatrixfUniform (based on UpdateUniform template)Classes operate like osgAnimation::UpdateMaterial for Material's diffuse component, but change Uniform." - * include/osg/StateSet, src/osg/NodeVisitor.cpp, - src/osg/StateSet.cpp: Changed StateSet::ParentList from - vector to vector to reflect that Drawable is now - a Node. -2014-08-22 19:00 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14890 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUI/Style, src/osgUI/Popup.cpp, src/osgUI/Style.cpp: - Improved handling of setting of the depth of the UI. -2014-08-20 14:15 robert +Wed, 3 Jun 2015 09:07:41 +0000 +Checked in by : Robert OSFIELD +From KOS, build fix for osg::Uniform::Callback to osg::UniformCallback changegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14889 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgUI/Style.cpp: Reordered method implemenations to make it - easier to compare similar methods -2014-08-19 16:58 robert +Wed, 3 Jun 2015 09:06:44 +0000 +Checked in by : Robert OSFIELD +Added doxygen comment for typedefgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14888 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - toggling on/off of the VolumeSettings ui via the 'E' key. -2014-08-19 16:37 robert - - * src/osgPresentation/deprecated/SlideShowConstructor.cpp: Updated - VolumeSettings.lua reference to use ui prefix to work with the - new OpenSceneGraph-Data/ui/VolumeSettings.lua file. - -2014-08-19 09:27 robert - - * src/osgPlugins/md2/ReaderWriterMD2.cpp: Fixed MD2 danglng pointer - crash. - -2014-08-19 09:00 robert - - * examples/osgcallback/osgcallback.cpp: Fixed build - -2014-08-19 08:57 robert - - * src/osgUI/Style.cpp: Fixed build - -2014-08-14 19:00 robert - - * include/osgUI/ComboBox, src/osgUI/ComboBox.cpp, - src/osgWrappers/serializers/osgUI/ComboBox.cpp: Added support for - ComboBox::currentIndexChanged*(uint) callback API. - -2014-08-13 09:24 robert - - * src/osgPresentation/deprecated/SlideShowConstructor.cpp: Resert - default value to 1.0 - -2014-08-08 16:42 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp: From Ryan Kawicki, "There - is an issue where the model insets of a terrex terrain are being - removed during the loading process. The issue is described below. - - - the issue here is that the plugin is removing group nodes if - that group node only has one child. becuase transforms are also - group nodes, there were cases when the transform would have only - one child under it and would cause it to remove the translation - portion. this would cause all the vertex data to be loaded around - the last matrix operation, which in our case was the origin - (0,0,0). - - We work off of OSG 2.8.1 but see that this has not been addressed - on latest yet. I’ve tested this against 2.8.1 and have cleanly - applied it to my local repository off of latest." - -2014-08-08 16:34 robert - - * src/osgUtil/RenderStage.cpp: From Tim George, "Currently there is - a problem with using a camera with a viewport with a non 0 offset - and also using an FBO. The problem is that only area made up of - the viewports width and height is drawn based on an offset of 0,0 - instead of using the viewports offset. - - It is caused by line 991 in RenderStage.cpp: - - - Code: - fbo_ext->glBlitFramebuffer( - 0, 0, static_cast(_viewport->width()), - static_cast(_viewport->height()), - 0, 0, static_cast(_viewport->width()), - static_cast(_viewport->height()), - blitMask, GL_NEAREST); - - - - which is not taking into account the viewport x and y when - performing the blit. It probably should be: - - - Code: - fbo_ext->glBlitFramebuffer( - static_cast(_viewport->x()), - static_cast(_viewport->y()), - static_cast(_viewport->width()) + - static_cast(_viewport->x()), - static_cast(_viewport->height()) + - static_cast(_viewport->y()), - static_cast(_viewport->x()), - static_cast(_viewport->y()), - static_cast(_viewport->width()) + - static_cast(_viewport->x()), - static_cast(_viewport->height()) + - static_cast(_viewport->y()), - blitMask, GL_NEAREST); - " - - Note from Robert Osfield, made small tweak to above on merge, - changing the width+x to x+width to make it read more naturally. - -2014-08-08 16:09 robert - - * src/osgUtil/MeshOptimizers.cpp: From Marc Helbling, "please find - a fix for the vertex pretransform visitor - (VertexAccessOrderVisitor). - The issue with current code is that arrays are collected *before* - duplicating shared arrays which leads to arrays that are - correctly duplicated but that are not reordered. - - Also the submitted patch contains a small cleaning in - GeometryArrayGathrer as the _useDrawElements variable is not - used; it is only set in the GeometryArrayGathrer constructor and - VertexAccessOrderVisitor already checks that primitives have - indexed type." - -2014-08-08 15:45 robert - - * include/osg/Node: From Glen Waldron, "Node: patch for - remove*Callback() methods to resolve a crash" - -2014-08-08 09:28 robert - - * CMakeLists.txt, include/osg/Texture: Changes to support building - against ANDROID under OSX. - -2014-08-05 18:32 robert - - * include/osg/Callback, include/osgUI/LineEdit, - include/osgUI/Validator, src/osgUI/CMakeLists.txt, - src/osgUI/LineEdit.cpp, src/osgUI/Validator.cpp, - src/osgWrappers/serializers/osgUI/DoubleValidator.cpp, - src/osgWrappers/serializers/osgUI/IntValidator.cpp, - src/osgWrappers/serializers/osgUI/LineEdit.cpp, - src/osgWrappers/serializers/osgUI/Validator.cpp: Implemented - osgUI::Validator, IntValidator and DoubleValidator classes that - manage validation/specialization of LineEdit widgets to work with - just integer or double values. - -2014-08-01 13:07 robert - - * include/osgUI/LineEdit, src/osgUI/LineEdit.cpp: Implemented - callbacks for validate(), textChanged() and returnPressed() - -2014-08-01 10:57 robert - - * src/osgUI/ComboBox.cpp, src/osgUI/LineEdit.cpp, - src/osgUI/PushButton.cpp, src/osgUI/Widget.cpp: Moved - responsiblity for checking current event focus onto - Widget::handleImplementations(). - - Added support for closing CombinBox popup when the mouse is - clicked outside the popup or combobox widget. - -2014-07-31 18:29 robert - - * include/osg/NodeVisitor, src/osgUI/Widget.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/IntersectionVisitor.cpp, - src/osgUtil/UpdateVisitor.cpp, - src/osgWrappers/serializers/osg/NodeVisitor.cpp: Added - NodeVisitor::INTERSECTION_VISITOR VisitorType - -2014-07-30 12:48 robert - - * include/osgUI/Style, src/osgUI/ComboBox.cpp, - src/osgUI/Dialog.cpp, src/osgUI/Popup.cpp, src/osgUI/Style.cpp: - Fixed rendering of Popups - -2014-07-30 12:47 robert - - * CMakeLists.txt: Update SO version to account for new changes to - osg::StateSet and osgUI - -2014-07-30 12:47 robert +Wed, 3 Jun 2015 08:38:18 +0000 +Checked in by : Robert OSFIELD +Build fix for when Uniform::Callback isn't definedgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14887 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/StateSet, include/osg/Version, - include/osgUtil/CullVisitor, - src/osgWrappers/serializers/osg/StateSet.cpp: Added - StateSet::RenderBinMode::PROTECTED_RENDERBIN_DETAILS and - OVERRIDE_PROTECTED_RENDERBIN_DETAILS options. -2014-07-29 15:50 robert +Tue, 2 Jun 2015 10:25:13 +0000 +Checked in by : Robert OSFIELD +From Konstantin Matveyev, serializer support for UniformCallbackgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14886 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUI/ComboBox, src/osgUI/ComboBox.cpp: Added preliminary - icon to ComboBox. -2014-07-29 15:50 robert +Tue, 2 Jun 2015 09:33:22 +0000 +Checked in by : Robert OSFIELD +From Konstantin Matveyev, "I've changed osg::Uniform::Callback to osg::UniformCallback. osg::UniformCallback inherits osg::Callback now.I don't really now if this class should be inside osgWrappers/serializers +because StateAttributeCallback is not presented there, but i've included it in the patch. - * src/osgUI/LineEdit.cpp: Fixed debug comment -2014-07-29 15:50 robert +Please see archive in the attachment. - * include/osgUI/Style, src/osgUI/Style.cpp: Implemented prelimary - icon support allowing UI widget to place image and model based - icons on widgets -2014-07-29 15:47 robert +PS +DEEP_COPY_UNIFORMS works for me. +" +Note from Robert Osfield, added typedef UniformCallback Callback for backwards compatibility. - * src/osgUtil/Optimizer.cpp: Added catch for NULL Transform - pointers getting into the _transformMap. -2014-07-28 16:19 robert - * include/osg/ComputeBoundsVisitor, - src/osg/ComputeBoundsVisitor.cpp: Added handling of Drawables - added directly to scene graph without Geode decorating them. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14885 16af8721-9629-0410-8352-f15c8da7e697 -2014-07-24 14:14 robert - * include/osgUI/LineEdit, src/osgUI/LineEdit.cpp, - src/osgUI/PushButton.cpp: Added support for changing background - colour of LineEdit widget when focus changes +Tue, 2 Jun 2015 09:18:19 +0000 +Checked in by : Robert OSFIELD +Changed name of UniformCallback to UniformBufferCallback to avoid conflict with changes to come to the osg::Uniform::Callback -> osg::UniformCallback.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14884 16af8721-9629-0410-8352-f15c8da7e697 -2014-07-24 13:25 robert - * src/osgUI/ComboBox.cpp, src/osgUI/Dialog.cpp, - src/osgUI/LineEdit.cpp, src/osgUI/PushButton.cpp: Refined the - colouring of widget to be more in sync with the defaults used in - Qt. - -2014-07-23 16:36 robert - - * include/osgVolume/VolumeSettings, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgVolume/VolumeSettings.cpp, - src/osgWrappers/serializers/osgVolume/VolumeSettings.cpp: Added - VolumeSettings::Filename property. - -2014-07-23 15:57 robert - - * src/osgUI/Style.cpp: Changed the default text colour to black - -2014-07-23 14:50 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp: Added writeFile support - -2014-07-23 10:49 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp: Added - Node:getNumParents() and Node:getParent(index) support - -2014-07-22 16:02 robert - - * CMakeLists.txt, include/osg/State, include/osg/Version, - src/osg/State.cpp, src/osgUtil/SceneView.cpp: Removed - State::AppliedProgramObjectSet container and Obsever usage from - osg::State to address threading bug crash. - - The State::AppliedProgramObjectSet wasn't ever being used - actively in the current rev of the OSG so populating and clearing - was no longer neccessary, allowing the code to be removed - completely. - -2014-07-21 16:36 robert - - * applications/osgviewer/osgviewer.cpp, include/osg/Types, - src/osgPlugins/ktx/ReaderWriterKTX.h, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/pvr/ReaderWriterPVR.cpp: Centralized the calling - of #include and VS fallback into include/osg/Types - header - -2014-07-21 14:32 robert - - * src/osgUtil/CullVisitor.cpp: From Pjotr Svetachov, "I think I - spotted some unneeded ref_ptrs in the cullvisitor. The call - pushModelViewMatrix or pushProjectionMatrix will already keep the - reference when adding it to the MatrixStack. In - CullVisitor::apply - methods for the billboard and the camera you already take a - pointer - instead of a ref_ptr." - -2014-07-21 13:45 robert - - * src/osgText/Glyph.cpp: Added setting of glPixelStore before - glTexSubImage2D call. - -2014-07-21 13:43 robert - - * src/osgText/Glyph.cpp: From Jaap Gas, "I want to submit a bugfix - for a crash occurring in osgText/Glyph.cpp if - the scene tree contains (large) 2D textures from images with - STRIDE. - - ============================================================================ - #0 0x00007fffe8ea4350 in __memmove_ssse3 () from /lib64/libc.so.6 - #1 0x00007fffe52ced76 in ?? () from - /usr/lib64/libnvidia-glcore.so.310.44 - #2 0x00007fffe52d8e86 in ?? () from - /usr/lib64/libnvidia-glcore.so.310.44 - #3 0x00007fffe53dd8be in ?? () from - /usr/lib64/libnvidia-glcore.so.310.44 - #4 0x00007fffe53c2643 in ?? () from - /usr/lib64/libnvidia-glcore.so.310.44 - #5 0x00007fffe53c7fdd in ?? () from - /usr/lib64/libnvidia-glcore.so.310.44 - #6 0x00007fffe53cbabf in ?? () from - /usr/lib64/libnvidia-glcore.so.310.44 - #7 0x00007fffe53cc1fa in ?? () from - /usr/lib64/libnvidia-glcore.so.310.44 - #8 0x00007ffff30092fd in osgText::GlyphTexture::apply - (this=0x1bb8cf0, state= - ...) - at - /d43/jaap/dev/jaapOSG/build/OpenSceneGraph3.3.1/src/osgText/Glyph.cpp:234 - #9 0x00007ffff56c30b6 in osg::State::applyAttributeOnTexUnit - (this=0x125f180, - unit=0, attribute=0x1bb8cf0, as=...) - at - /d43/jaap/dev/jaapOSG/build/OpenSceneGraph3.3.1/include/osg/State:1713 - #10 0x00007ffff56c2f3f in osg::State::applyTextureAttribute - (this=0x125f180, - unit=0, attribute=0x1bb8cf0) - at - /d43/jaap/dev/jaapOSG/build/OpenSceneGraph3.3.1/include/osg/State:411 - #11 0x00007ffff30204da in osgText::Text::drawTextWithBackdrop - (this=0x1baed70, - state=..., colorMultiplier=...) - ============================================================================== - - The crash disappears if I either (1) disable the use of images - with stride - in the (public) osgGeo-library, or (2) add the following bugfix - to Glyph.cpp. - This combination gives me the confidence that I understand where - this problem - originates from, without trying to understand the full OpenGL - details. - - =============================================================================== - @@ -221,7 +223,12 @@ - imageData[i] = 0; - } - - + glPixelStorei(GL_UNPACK_ALIGNMENT,1); - - + #if !defined(OSG_GLES1_AVAILABLE) && - !defined(OSG_GLES2_AVAILABLE) - + glPixelStorei(GL_UNPACK_ROW_LENGTH,getTextureWidth()); - + #endif - + - // allocate the texture memory. - glTexImage2D( GL_TEXTURE_2D, 0, GL_ALPHA, - getTextureWidth(), getTextureHeight(), 0, - ================================================================================ - - I have copied (and adapted) the added lines above from the same - source file, - where they were used in front of a similar call to - glTexSubImage2D(.) around - line 515. - " - -2014-07-21 12:21 robert - - * src/osgPresentation/CMakeLists.txt, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Initial - work on integtasting osgUI into Present3D - -2014-07-21 12:18 robert - - * include/osg/NodeVisitor: Fixed indentation - -2014-07-21 09:35 robert - - * src/osgUI/Style.cpp: Added debug messages - -2014-07-18 17:17 robert - - * src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osg/NodeVisitor.cpp, - src/osgWrappers/serializers/osgGA/EventVisitor.cpp, - src/osgWrappers/serializers/osgUtil, - src/osgWrappers/serializers/osgUtil/CMakeLists.txt, - src/osgWrappers/serializers/osgUtil/CullVisitor.cpp, - src/osgWrappers/serializers/osgUtil/UpdateVisitor.cpp: Added - serailizer support for NodeVisitor, UpdateVisitor, CullVisitor - and EventVisitor - -2014-07-14 15:59 robert - - * examples/osgpresentation/osgpresentation.cpp, - include/osgDB/Callbacks, include/osgDB/ReadFile, - include/osgDB/ReaderWriter, include/osgDB/Registry, - include/osgDB/WriteFile, src/osgDB/Callbacks.cpp, - src/osgDB/ReadFile.cpp, src/osgDB/ReaderWriter.cpp, - src/osgDB/Registry.cpp, src/osgDB/WriteFile.cpp, - src/osgPlugins/V8/ReaderWriterV8.cpp, - src/osgPlugins/lua/ReaderWriterLua.cpp, - src/osgPlugins/python/ReaderWriterPython.cpp: Added - readScript/writeScript methods to ReaderWriter - -2014-07-14 14:09 robert - - * CMakeLists.txt, examples/osgpresentation/osgpresentation.cpp, - include/osg/Version, include/osgDB/ClassInterface, - include/osgDB/PropertyInterface, src/osgDB/CMakeLists.txt, - src/osgDB/ClassInterface.cpp, src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h: Renamed - osgDB::PropertyInterface to osgDB::ClassInterface to better - reflect it's functionality - -2014-07-04 16:45 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - include/osgVolume/Property, include/osgVolume/VolumeSettings, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgVolume/Property.cpp, src/osgVolume/VolumeSettings.cpp: - Added preliminary support for writing VolumeSettings to disk from - within Present3D in response to pressing and releasing 'Ctrl-S'. - -2014-07-03 16:36 robert - - * src/osgVolume/Shaders/volume_accumulateSamples_iso_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_mip_frag.cpp: - Updated iso and mip shaders from OpenSceneGraph-Data. - -2014-07-03 13:06 robert - - * src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPresentation/deprecated/PropertyManager.cpp: Added virtual - destructors +Mon, 1 Jun 2015 13:40:20 +0000 +Checked in by : Robert OSFIELD +From Albert Luaces, typo fixes.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14883 16af8721-9629-0410-8352-f15c8da7e697 -2014-07-03 13:05 robert - * src/osgPlugins/osc/OscSendingDevice.cpp: Fixed line endings +Mon, 1 Jun 2015 13:11:49 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, typo fixesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14882 16af8721-9629-0410-8352-f15c8da7e697 -2014-07-03 13:01 robert - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Changed - enum usage to use the new osgVolume::VolumeSettings versions and - added support for reading a VolumeSettings file. +Mon, 1 Jun 2015 12:14:53 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, "This patch adds a missing initialization of osgParticle::ParticleProcessor::_frameNumber in the copy constructor. I noticed this because valgrind was complaining about use of uninitialized memory."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14881 16af8721-9629-0410-8352-f15c8da7e697 -2014-07-03 10:01 robert - * include/osgVolume/VolumeSettings, - src/osgVolume/VolumeSettings.cpp: Refactor VolumeSettings so that - it's subclassed from osgVolume::Property +Mon, 1 Jun 2015 12:07:04 +0000 +Checked in by : Robert OSFIELD +From Frashud Lashkari, "I was getting "Unsupported wrapper class..." error messages when attempting to load osgb models simultaneously from multiple threads. I believe the problem is caused by un-synchronized access to the global osgDB::ObjectWrapperManager class. I've attached a change that adds a mutex to the class and uses it when accessing the internal wrapper/compress maps. This appears to fix the issues I was having."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14880 16af8721-9629-0410-8352-f15c8da7e697 -2014-07-02 16:26 robert - * include/osgVolume/VolumeSettings, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgVolume/CMakeLists.txt, src/osgVolume/VolumeSettings.cpp, - src/osgWrappers/serializers/osgVolume/VolumeSettings.cpp: Added - osgVolume::VolumeSettings object +Mon, 1 Jun 2015 10:50:44 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, "I have added new functions Texture::generateAndAssignTextureObject mirroring the Texture::generateTextureObject functions.I have left the Texture::generateTextureObject functions intact as I'm not sure if/how it's used outside the core OSG. If you feel that compatibility isn't important in that area feel free to drop it. -2014-07-02 15:34 robert +While testing the build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION=OFF I found a compile error in GlyphGeometry.cpp that was entirely unrelated to the changes I've made. The fix is included in the patch. - * examples/osgvolume/osgvolume.cpp: Changed the default image - output format to .osgb as .dds isn't able to represent signed - byte, short and int data correctly. +There is one thing left to fix and that is Texture2D::SubloadCallback: -2014-07-02 14:14 robert + class OSG_EXPORT SubloadCallback : public Referenced + { + public: + .... + virtual TextureObject* generateTextureObject(const Texture2D& texture, State& state) const + { + return osg::Texture::generateTextureObject(&texture, state.getContextID(), GL_TEXTURE_2D); + } + ... + }" + - * src/osgPlugins/osg/ReaderWriterOSG2.cpp: fixed handlng of file - type of nested files within a .osgx, .osgt and .osgb file. -2014-07-02 10:25 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14879 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgViewer/ViewerEventHandlers: From Laurens Voerman, - "just like ClusterCullingCallback (fixed in r14322) visual studio - likes an explicit implementation of run() for - InteractiveImageHandler. - - The warning is (14 times): - include\osgViewer/ViewerEventHandlers(542): warning C4250: - 'osgViewer::InteractiveImageHandler' : inherits - 'osgGA::EventHandler::osgGA::EventHandler::run' via dominance - (src\osgViewer\StatsHandler.cpp) - include\osgGA/EventHandler(45) : see declaration of - 'osgGA::EventHandler::run' - - - attached a zipped version of - include\osgViewer\ViewerEventHandlers" -2014-07-01 07:31 robert +Mon, 1 Jun 2015 10:41:43 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14878 16af8721-9629-0410-8352-f15c8da7e697 - * applications/osgviewer/osgviewer.cpp: Added #include - to address compile issue on some Linux distro's. -2014-06-30 15:31 robert +Fri, 29 May 2015 07:52:27 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, fix for race condition in orphanded BufferObject handling.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14877 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgvolume/osgvolume.cpp: Add dds no flip on write option - to prevent output of .dds volume from being flipped by the dds - plugin. -2014-06-30 13:24 robert +Tue, 26 May 2015 17:24:48 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "rc/osgUtl/MeshOptimizers.cpp won't compile on some systems due to a missing std:: namespace prefix."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14876 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: REmoved debug cout -2014-06-30 10:13 robert +Tue, 26 May 2015 17:22:05 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "attached a small change to osgUtil::SceneView that prevents unnecessary calls to glClear when the split stereo separation is 0."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14875 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUtil/StateGraph: From Mikhail Izmestev, "Attached fix - to avoid vector reallocs on push_back in - StateGraph::moveStateGraph." -2014-06-30 09:12 robert +Tue, 26 May 2015 17:17:26 +0000 +Checked in by : Robert OSFIELD +From Thomas Hogarth, "Little fix for ClassInterface::getSupportedProperties, before if you set searchAssociates to false then it would return the same BaseSerialiser::Type for every entry in the PropertyMap as i was not being incremented on line 539. Fix attached."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14874 16af8721-9629-0410-8352-f15c8da7e697 - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file -2014-06-30 08:56 robert +Tue, 26 May 2015 17:12:05 +0000 +Checked in by : Robert OSFIELD +From We See, "I found a small bug in osgUtil::RenderStage::draw() (osg 3.3.7), which crashes osg. The problem was caused by an access to the object _camera without checking whether the object is valid. So I changed the line:Code: +if (_cameraRequiresSetUp || (_cameraAttachmentMapModifiedCount!=_camera->getAttachmentMapModifiedCount())) - * CMakeLists.txt, include/osg/Version: Updated version number +to -2014-06-30 08:46 robert +Code: +if (_cameraRequiresSetUp || (_camera.valid() && _cameraAttachmentMapModifiedCount!=_camera->getAttachmentMapModifiedCount())) +" - * include/osg/Image: From Pjotr Svetachov, "Here is a small fix for - a overflow when editing large 3d volume data." -2014-06-30 08:20 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14873 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/svg/ReaderWriterSVG.cpp: Removed space from - #include. -2014-06-30 07:37 robert +Tue, 26 May 2015 17:09:25 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari and Robert Osfield, "a small change to the CullVisitor class, which will use cloneType() on the root render stage when creating children render stages. This allows us to pass a custom RenderStage object to the SceneView and have it used for all sub-stages."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14872 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/svg/ReaderWriterSVG.cpp: From Alexander - Sinditskiy, build fix to allow building against versions older - than librsvg-2.36.2 -2014-06-28 06:22 robert +Tue, 26 May 2015 10:05:47 +0000 +Checked in by : Robert OSFIELD +Rewrote the Text3D bevel implementation to automatically adjust bevel thickness to avoid overalapping and erronous tesselation.Added osgText::Bevel::s/getRoundedConcaveJunctions(bool) to control how the bevel should be tessellated around concave junctions on the glyph boundary. - * include/osg/ClusterCullingCallback: Replaced using - NodeCallback::run with explict run() implementation. -2014-06-27 15:57 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14871 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/ive/DataOutputStream.cpp: From Pjotr Svetachov, "I - made a small change to DataOutputStream.cpp which makes saving - Geodes possible again. This is only half a fix as it only will - save a Drawable that is part of a Geode. But this change does not - require a version bump of the .ive format. I tried it with a few - datasets we have here with the 3.2 stable branch and the trunk - with this patch and there was no difference in the .ive files - that were produced." -2014-06-27 15:55 robert +Tue, 26 May 2015 08:48:33 +0000 +Checked in by : Robert OSFIELD +Added use of ref_ptr<>git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14870 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgUtil/DelaunayTriangulator.cpp: Removed unused method. -2014-06-27 15:48 robert +Mon, 25 May 2015 12:39:18 +0000 +Checked in by : Robert OSFIELD +Changed the EventQueue::frame() event generation to use the generatePointerData/reprojectPointerData() methods in the same way that other events are handled.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14869 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgUtil/Tessellator.cpp: From Laurens Voerman, "attached is a - modified version of src/osgUtil/Tessellator.cpp - current code checks for a Nullpointer and on notify level info or - above will inform you with a crash, by dereferencing it." -2014-06-27 15:39 robert +Mon, 25 May 2015 11:33:04 +0000 +Checked in by : Robert OSFIELD +Added osgGA::GUIEventAdapter* returns from various EventQueue event generation methods.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14868 16af8721-9629-0410-8352-f15c8da7e697 - * AUTHORS.txt: Updated AUTHORS file -2014-06-27 15:38 robert +Thu, 21 May 2015 14:11:32 +0000 +Checked in by : Robert OSFIELD +Fixed memory error associated with reading over the end of container due to an unbounded while loop.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14866 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/ApplicationUsage.cpp: Added an OSG_INIT_SINGLETON_PROXY - to make sure that the ApplicationUsage singleton gets intialized - before usage. - -2014-06-27 15:36 robert - - * AUTHORS.txt: Updated AUTHORS file - -2014-06-27 15:30 robert - - * include/osg/Camera, src/osg/GraphicsContext.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added a render order sort to the list of Cameras being tested by - the *Viewer::generatePointerData(..) method to ensure that the - highest Camera gets focus. -2014-06-26 15:54 robert +Wed, 6 May 2015 18:39:44 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog and AUTHORS filegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14865 16af8721-9629-0410-8352-f15c8da7e697 - * ChangeLog: Update ChangeLog for dev release -2014-06-26 14:16 robert +Tue, 5 May 2015 11:05:09 +0000 +Checked in by : Robert OSFIELD +Changed the CMP0020 check to > 2.8.10 Updated SO version numbergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14864 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/KdTree, include/osg/NodeVisitor, src/osg/KdTree.cpp: - Revised KdTreeBuilder so that is used the new - apply(osg::Geometry&) method rather than expanding an osg::Geode. -2014-06-26 11:49 robert - - * src/osg/Sequence.cpp: From Sebastian Messerschmidt, "I've applied - a simple fix for the backward animation support in osg::Sequence. - It will simply use the sign of the speed set in the getNextValue. - Attached file is against trunk." - -2014-06-26 11:11 robert - - * src/osgDB/Registry.cpp: From Lauren Voerman, "In order to speed - up loading large scenes (especially from network disk) I added - code to our viewer to setup multiple database-pagers and request - the files trough a database-request: - databasePager->setUpThreads(16, 1); - - We experienced problems with multiple databasepagers loading - files in parallel, when two threads start to load the same file - (usually a texture referenced by multiple models). The second - thread to add the file to the cache (sometimes) manages to do so - while the refcount from the cached object still is zero, causing - the object loaded to be destroyed. - Sometimes the second thread manages to ref() the object before - Referenced::signalObserversAndDelete does the final recount - check, causing a warning: - "Warning Referenced::signalObserversAndDelete(,,) doing delete - with _refCount=1" - - With a deleted object added to the scenegraph we get some - undesired results, I think the program only crashes if the object - was a Node, and just has some untextured surfaces if it was a - texture, but I'm not completely sure. - - Attached is a modified version of the Registry.cpp, returning the - object in cache and let the duplicate loaded object to be - destroyed. - - A more efficient option would be to add some sort of blocking - entry to the objectcache to stop the second thread from reading - the file, and just wait until the first thread added it to the - cache. If you think that's worthwile we would be happy to - implement that version. A bit tricky to implement and test, - that's why I submit a simple version that stops my program from - crashing." - -2014-06-26 11:09 robert - - * src/osgDB/Registry.cpp: Removed erroneous character - -2014-06-26 10:53 robert - - * src/osgText/Text3D.cpp, src/osgText/TextBase.cpp: From Farshid - Lashkari, - "I noticed that Text3D objects would change there z alignment - depending on the alignment mode. I'm not sure if this was - intentional or just a simple mistake. My expectation was that the - front of the object would always stay aligned to the 0 z-plane, - regardless of the alignment mode. I've attached an updated - version that retains a consistent z-alignment." - "I just now noticed another issue with Text3D objects. It was not - properly computing the bounding box when non-axis aligned - rotations were being applied. In this case all corners of the - bounding box need to be transformed in order to get the correct - containing box. I've attached the updated file." - "The incorrect bounding box problem also applies to regular Text - objects. I've attached the fix for that as well as the original - Text3D fix." - -2014-06-26 10:45 robert - - * include/osgAnimation/Interpolator, - src/osgAnimation/StackedTransform.cpp, - src/osgAnimation/UpdateBone.cpp: From Pjotr Svetachov, "For a - scene with a lot of animated agents I did some small - optimizations to reduce cpu overhead: - 1) Avoid a load-hit-store in UpdateBone. - b->getMatrixInBoneSpace() - returns the same matrix that was just stored with b->setMatrix() - 2) Avoid calling element->isIdentity() for the whole transform - stack - (can be expensive is element is a matrix) - 3) Make the key frame interpolator use binary search instead of a - linear one. This is very noticeable in scenes where some geometry - has - long repeating animations that start at the same time, you will - see - the update time grow then reset and grow again." - -2014-06-26 10:24 robert - - * src/osg/ImageSequence.cpp: From Laurens Voerman, "while debugging - ImageSequence I had a crash, due to the very large frametimes - caused by halting the program. The problem is that when the frame - time exceeds the length of the entire image sequence, a looping - sequence will try to read it's _imageDataList beyond its size. - fix attached for src/osg/ImageSequence.cpp" - -2014-06-26 10:05 robert - - * src/osgPlugins/ive/ImageSequence.cpp, - src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp: From Laurens - Voerman, "while testing databasepager stuff I noticed that the - various loaders (osg/ive/osgx) do not pass the current options to - the imagePager, therefore the images cannot be found if not in - the global OSG_FILE_PATH. Attached is a fix, containing modified - versions of - - From Robert Osfield, add check to only apply Options object when - a valid Option object is assigned. - -2014-06-26 09:38 robert - - * src/osgPlugins/ply/plyfile.cpp: From Farshid Lashkari, "I've - attached a small fix for the ply loader to support Windows style - line endings when reading the header." - -2014-06-26 09:33 robert - - * src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osga/OSGA_Archive.cpp: From Aurelien Albert, "This - submission fix all my problems with reading / writing "osgb" - files inside "osga" archive with final archive size > 2 Go, with - Windows OS (didn't tested with Linux)" - -2014-06-25 16:05 robert - - * src/osgDB/Registry.cpp: From Riccardo Corsi, "there's an - inconsistency between the behavior of the method and the - debug message it prints out on the console. - - Around line 1040 of Registry.cpp (see code below) the method - returns - "simpleFileName" but prints about returning "filename". - - In attachment the modified file, based on osg 3.2.0 - ricky - - - - if(fileExists(simpleFileName)) - { - OSG_DEBUG << "FindFileInPath(" << filename << "): returning " << - filename << std::endl; - return simpleFileName; - } - - " - -2014-06-25 15:55 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h: From Auelien Albert, "I'm - working on an application which use 3ds file format as input and - use the name of the material to "map" specific data with 3d - geometry. - - The osg 3ds plugin modify the exported materials name in the same - way it modifies the node names. - - I've added an option to preserve originals materials names, with - the assurance of unique material names are preserved." - -2014-06-25 15:47 robert - - * src/osg/CollectOccludersVisitor.cpp: Refactored the way that hole - are pruned from the occluder hole list. - -2014-06-25 11:07 robert - - * applications/osgconv/osgconv.cpp: From Laurens Voerman, "a minor - patch for osgconv to make sure the helptext is printed if you run - "osgconv -h" with OSG_NOTIFY_LEVEL set too low. - applys to both trunk and stable branch." - -2014-06-25 10:45 robert - - * src/osgUtil/StateGraph.cpp: From Mikhail Izmestev, "Attached fix - to avoid vector usage in StateGraph::prune and reduce heap - allocations." - - Notes from Robert Osfield, ammended the erase so that it - explictly increments the iterator before the erase call. - -2014-06-25 09:58 robert - - * src/osg/Texture.cpp: changed debug message to use OSG_DEBUG - -2014-06-25 09:57 robert - - * include/osg/Texture, src/osg/Texture.cpp: From Alexander - Sinditskiy, "My changes added support for gltexstorrage2d for - texture2d. - - Initially I described issue in message: - http://forum.openscenegraph.org/viewtopic.php?t=13820 - It solves issue with compiling texture using ico from image with - mipmaps - - I added enviroment variable OSG_GL_TEXTURE_STORAGE_ENABLE to - control usage of glTexStorage2d. Initially it is disabled. - - It used only if image have mipmaps. - - Another issue is converting from internalFormat + type to sized - internal format. I created sizedInternalFormats[] struct where - sized internal formats are ordered from worse->best. - also this struct have commented lines. Commented formats are - listed in - http://www.opengl.org/wiki/GLAPI/glTexStorage2D - but looks like not using in osg." - - Note from Robert Osfield. Changed the env var control to - OSG_GL_TEXTURE_STORAGE and made it's value true by default when - the feature is supported by the OpenGL driver. To disable to - use of glTexStorage2D use OSG_GL_TEXTURE_STORAGE="OFF" or - "DISABLE" - -2014-06-25 08:21 robert - - * include/osg/Math: From Björn Blissing, "I found a minor error in - documentation in include/osg/Math. - Function: absolute() had the same description as the function - minimum() - - I removed the erroneous text." - -2014-06-25 08:18 robert - - * src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp: From Björn - Blissing, "Fix to support correct shininess and transparency in - FBX plugin" +Thu, 30 Apr 2015 14:04:51 +0000 +Checked in by : Robert OSFIELD +From Christian Kehl, changes for making osgAndroid working with GLES1 enabledgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14862 16af8721-9629-0410-8352-f15c8da7e697 -2014-06-24 19:57 robert - * src/osgDB/ObjectWrapper.cpp: From Pjotr Svetachov, "There were - some modes missing when exporting to .ogst so I added them." +Thu, 30 Apr 2015 13:59:24 +0000 +Checked in by : Robert OSFIELD +From Dmitriy Ogalcev, fix for crash when calling setCursor from a non GUI threadgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14861 16af8721-9629-0410-8352-f15c8da7e697 -2014-06-24 14:58 robert - * src/osgPlugins/osg/ReaderWriterOSG2.cpp: From Farshid Lashkari, - "I've attached a small for the osg ReaderWriter. It was - performing a case sensitive comparison to the file extension to - determine whether to write the file in ascii or binary. This - meant that if the filename was "model.OSGT" it would be treated - as binary, instead of ascii. I've updated the plugin to ignore - case." +Tue, 28 Apr 2015 16:12:57 +0000 +Checked in by : Robert OSFIELD +Replaced attempt at passing NULL Matrix with two specialized methods.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14860 16af8721-9629-0410-8352-f15c8da7e697 -2014-06-24 11:24 robert - * src/osgUtil/Optimizer.cpp: Merged fix to merge geometries. +Mon, 27 Apr 2015 19:31:13 +0000 +Checked in by : Robert OSFIELD +Renamed LineSegment::intersect(BoundingSphere/Box, double/float&, double/float&) methods to LineSegment::intersectAndComputeRations(..) to avoid confusion with the change in convention for the old intersect(BoundingBox&, float/double&, float/double&) method as it was inconsitent with the rest of the OSG including the intersect(BoundingSphere) method in how the ratio for the second intersection was measure from - original from the end point, but now made consistent with other places in the OSG so be based on ration from start to end of segment.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14859 16af8721-9629-0410-8352-f15c8da7e697 -2014-06-23 12:02 robert - * src/osg/Callback.cpp: Fixed nested callback calling. +Thu, 23 Apr 2015 14:44:06 +0000 +Checked in by : Robert OSFIELD +Refactoring GlyphGeometry Boundary class to facilate better bevel overlap detectiongit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14858 16af8721-9629-0410-8352-f15c8da7e697 -2014-06-16 16:16 robert - * src/osgUtil/Optimizer.cpp: Fixed check against totaly number of - vertices +Thu, 23 Apr 2015 12:58:27 +0000 +Checked in by : Robert OSFIELD +Comment out debug notificationgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14857 16af8721-9629-0410-8352-f15c8da7e697 -2014-06-16 08:54 robert - * src/osgPlugins/osg/BinaryStreamOperator.h: From Aurelien Albert, - "I've got some issues using osgb files within an big osga archive - (file size > 2Go). - - Issue is described here : - http://forum.openscenegraph.org/viewtopic.php?t=13914 - - Here is a fix, using "std::streampos" standard type for stream - positions up to 64bits. - " +Thu, 23 Apr 2015 09:49:16 +0000 +Checked in by : Robert OSFIELD +Removed unused methodgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14856 16af8721-9629-0410-8352-f15c8da7e697 -2014-06-13 17:17 robert - - * include/osgUI/ColorPalette, src/osgUI/CMakeLists.txt, - src/osgUI/ColorPalette.cpp, - src/osgWrappers/serializers/osgUI/ColorPalette.cpp: Added - osgUI::ColorPalette class - -2014-06-13 17:16 robert - - * include/osgUI/AlignmentSettings: Fixed typo in parameter name - -2014-06-12 16:00 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Removed generation of scroll - event on the X11 button release event as X11 was generating both - a pair of press/release events for a single scroll when movement. - -2014-06-12 15:24 robert - - * src/osg/State.cpp: Added if () blocks to - State::convertVertexShaderSourceToOsgBuiltIns() to ensure that - only parts of the shader than need replacing are replaced. - -2014-06-12 14:12 robert - - * src/osgUI/ComboBox.cpp: Improved positioning of combo box popup - items - -2014-06-12 14:05 robert - - * src/osgUI/ComboBox.cpp, src/osgUI/Style.cpp: Added frame support - to ComboBox. - - Improved the alingment support for text - -2014-06-11 16:31 robert - - * src/osgUI/Style.cpp: Added handling of AligmentSettings of Text - layout - -2014-06-11 10:55 robert - - * include/osgUI/Widget, src/osgUI/ComboBox.cpp, - src/osgUI/Popup.cpp, src/osgUI/Style.cpp, src/osgUI/Widget.cpp: - Implemented more robust intersection handling for mouse - interactions. Wired up even handling of ComboBox popup. - -2014-06-10 08:50 robert - - * include/osg/Drawable: Added using Callback::run() method to - Drawable::CullCallback - -2014-06-09 13:46 robert - - * include/osgGA/EventVisitor: Fixed handling of Drawable callbacks - and NumChildrenRequiringEventTraversal - -2014-06-06 15:05 robert - - * include/osg/NodeVisitor, include/osgViewer/ViewerEventHandlers: - Removed redudent NodeVisitor::s/getUserData() as osg::Object - provide this. - - Added using run entry to InteractiveImageHandler to quieten - warning - -2014-06-06 09:12 robert - - * include/osg/ClusterCullingCallback: Added using - NodeCallback::run() to avoid warnings - -2014-06-06 09:01 robert - - * include/osg/Callback, include/osg/StateSet: Added missing - OSG_EXPORT - -2014-06-05 16:26 robert - - * examples/osgfpdepth/osgfpdepth.cpp, - examples/osgposter/PosterPrinter.h, - examples/osgvertexprogram/osgvertexprogram.cpp, - include/osg/AnimationPath, include/osg/Callback, - include/osg/ClusterCullingCallback, include/osg/CopyOp, - include/osg/Drawable, include/osg/Node, include/osg/NodeCallback, - include/osg/NodeTrackerCallback, include/osg/ScriptEngine, - include/osg/StateAttribute, include/osg/StateAttributeCallback, - include/osg/StateSet, include/osgAnimation/Skeleton, - include/osgAnimation/UpdateMatrixTransform, - include/osgGA/EventHandler, include/osgGA/EventVisitor, - include/osgGA/GUIEventHandler, - include/osgPresentation/deprecated/AnimationMaterial, - include/osgPresentation/deprecated/PropertyManager, - include/osgShadow/MinimalDrawBoundsShadowMap, - include/osgUtil/CullVisitor, include/osgUtil/TransformCallback, - include/osgUtil/UpdateVisitor, - include/osgViewer/ViewerEventHandlers, - include/osgVolume/Property, src/osg/CMakeLists.txt, - src/osg/Callback.cpp, src/osg/CopyOp.cpp, src/osg/Drawable.cpp, - src/osg/Node.cpp, src/osg/NodeCallback.cpp, - src/osg/ScriptEngine.cpp, src/osg/StateAttribute.cpp, - src/osg/StateSet.cpp, src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/LinkVisitor.cpp, - src/osgAnimation/StatsHandler.cpp, - src/osgGA/CameraManipulator.cpp, - src/osgGA/FirstPersonManipulator.cpp, - src/osgGA/FlightManipulator.cpp, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/OrbitManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, - src/osgPlugins/bvh/ReaderWriterBVH.cpp, - src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeRTransforms.cpp, - src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWAnimations.cpp, - src/osgPlugins/dae/daeWTransforms.cpp, - src/osgPlugins/dae/daeWriter.h, src/osgPlugins/txp/TXPNode.h, - src/osgUtil/CullVisitor.cpp, src/osgUtil/SceneView.cpp, - src/osgWrappers/deprecated-dotosg/osg/NodeCallback.cpp, - src/osgWrappers/serializers/osg/Callback.cpp, - src/osgWrappers/serializers/osg/Drawable.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/NodeCallback.cpp: Refactored - Callback system in osg::Node, osg::Drawable, osg::StateSet and - osg::StateAttribute to use a new osg::Callback base class. - -2014-06-04 08:59 robert - - * src/osgVolume/Shaders/volume_accumulateSamples_lit_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_mip_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_standard_frag.cpp, - src/osgVolume/Shaders/volume_multipass_vert.cpp: Updated shaders - from OpenSceneGraph-Data sources - -2014-06-03 15:05 robert - - * examples/osgcallback/osgcallback.cpp: From Pjotr Sventachov and - Robert Osfield, added callback unit test to osgcallback example, - to use test run osgcallback --test, if everything is functioning - then test1 to test7 messages should be reported to the console. - -2014-06-03 09:52 robert - - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - include/osg/Node, src/osg/Node.cpp, - src/osgPlugins/txp/TXPParser.cpp, src/osgUtil/Optimizer.cpp: - Reverted change of Node::ParentList from being a vector - back to a vector - -2014-06-03 09:23 robert - - * include/osg/Drawable, include/osg/Geode, src/osg/Billboard.cpp, - src/osg/Geode.cpp, src/osg/Group.cpp, - src/osgPlugins/pov/POVWriterNodeVisitor.cpp, - src/osgShadow/DebugShadowMap.cpp, src/osgSim/ScalarBar.cpp, - src/osgSim/SphereSegment.cpp, src/osgUtil/Optimizer.cpp: Refactor - osg::Geode to subclass from osg::Group and reuse the NodeList - children container - -2014-06-02 16:20 robert - - * CMakeLists.txt, include/osg/BoundingSphere, include/osg/Drawable, - include/osg/Node, include/osg/Plane, include/osg/Polytope, - src/osg/Config.in, src/osg/Node.cpp: Removed OSG_USE_BOUND and - associated osg::Bound adapter class to avoid problems with - BoundingBox::expandBy/expandByRadius() implementation choosing a - null BoundingBox from - the osg::Bound class causing crashes. - -2014-06-02 08:13 robert - - * CMakeLists.txt: From Roni Zanolli, build fix for iPhone - -2014-05-30 16:44 robert - - * include/osgUI/Style, src/osgUI/Dialog.cpp, - src/osgUI/LineEdit.cpp, src/osgUI/Popup.cpp, - src/osgUI/PushButton.cpp, src/osgUI/Style.cpp: Implemented basic - frame graphic - -2014-05-29 15:21 robert - - * src/osgUI/ComboBox.cpp, src/osgUI/Popup.cpp: Futher work on - ComboBox/Popup - -2014-05-29 10:51 robert - - * include/osgUI/ComboBox, src/osgUI/ComboBox.cpp: Added beginnings - of ComboBox popup functionality. - -2014-05-28 10:18 robert - - * include/osgUI/Style, src/osgUI/Style.cpp: Added cached Depth and - ColorMask to reduce the amount of duplicate state in the osgUI - subgraph -2014-05-28 10:06 robert +Wed, 22 Apr 2015 14:25:34 +0000 +Checked in by : Robert OSFIELD +From Giampaolo Vigano, "please find attached a further fix for 3ds plugin: now reflection map works also with transparent objects (I also removed a redundant setting of BlendFunc)."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14855 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgDB/Serializer, include/osgUI/Style, - include/osgUI/Widget, src/osgUI/ComboBox.cpp, - src/osgUI/Dialog.cpp, src/osgUI/Label.cpp, - src/osgUI/LineEdit.cpp, src/osgUI/Popup.cpp, - src/osgUI/PushButton.cpp, src/osgUI/Style.cpp, - src/osgUI/Widget.cpp, - src/osgWrappers/serializers/osg/TransferFunction1D.cpp, - src/osgWrappers/serializers/osgUI/Widget.cpp: Replaced - Widget::GraphicsSubgraph with GraphicsSubgraphMap to allow finer - control of when the rendering subgraphs are done. -2014-05-27 14:14 robert +Tue, 21 Apr 2015 17:29:15 +0000 +Checked in by : Robert OSFIELD +From Chris Denham, "I found a couple of memory leaks in 3DS reader plugin and I have attached corrected files. I have attached an example 3DS file I used to test the leaks/fixes using osgviewer for trunk at rev [14853] and the tagged version 3.2.1.The first leak is in the lib3ds module (yeah, I know that probably should be corrected at http://code.google.com/p/lib3ds/ but I'm assuming that as no commits have happened there since 2011 that it may be better to fix the copy we have in the OSG of that project) The leak is caused by lib3d's use of realloc(ptr, 0) to free up memory allocations, but realloc, when ptr==NULL returns malloc(0) rather than NULL and thus leaks a zero byte allocation. The solution here was to adjust the 'lib3ds_util_reserve_array' function so that it realloc is not used to release a NULL pointer. - * src/osgUI/Label.cpp, src/osgUI/Style.cpp: Improved handling of - text +The second leak is in ReaderWriter3DS.cpp and arises when any of the created StateSet objects added to the StateSetMap don't subsequently get applied to a Node. The solution here was just to simply use the osg::ref_ptr around the raw StateSet pointer that was used in the locally defined StateSetInfo struct." -2014-05-26 16:32 robert - * include/osgUI/Dialog, include/osgUI/Popup, src/osgUI/Dialog.cpp, - src/osgUI/Popup.cpp, - src/osgWrappers/serializers/osgUI/Dialog.cpp, - src/osgWrappers/serializers/osgUI/Popup.cpp: Removed - Dialog/Popup::open/close() methods as they are replaced by the - setVisible() method -2014-05-26 16:27 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14854 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUI/Dialog, src/osgUI/Dialog.cpp, src/osgUI/Popup.cpp, - src/osgUI/Widget.cpp: Implemented Widger::Visible and Enabled - usage -2014-05-26 16:15 robert +Mon, 20 Apr 2015 10:41:45 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14851 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUI/Widget, src/osgUI/Widget.cpp, - src/osgWrappers/serializers/osgUI/Widget.cpp: Added Visible and - Enalbed properties to Widget -2014-05-26 16:15 robert +Mon, 20 Apr 2015 10:36:42 +0000 +Checked in by : Robert OSFIELD +Build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14850 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgUI/ComboBox.cpp: Fixed missing initilaizer -2014-05-26 15:58 robert +Mon, 20 Apr 2015 10:19:04 +0000 +Checked in by : Robert OSFIELD +Build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14849 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgWrappers/serializers/osgUI/Item.cpp: Added item serializer -2014-05-23 18:59 robert +Mon, 20 Apr 2015 09:39:00 +0000 +Checked in by : Robert OSFIELD +Moved uniform substitution to infront of vertex attribute substituion to make sure gl_Vertex usage is replaced when required.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14848 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUI/Style, src/osgUI/ComboBox.cpp, - src/osgUI/Dialog.cpp, src/osgUI/LineEdit.cpp, - src/osgUI/Popup.cpp, src/osgUI/PushButton.cpp, - src/osgUI/Style.cpp: Implemented clipping of widget to the - widgets extents. -2014-05-23 15:00 robert +Mon, 20 Apr 2015 09:08:56 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, "The order_by_primitive_mode comparer was not providing a strict weak ordering, which was causing a crash in the sort() call in VertexAccessOrderVisitor::optimizeOrder (gcc 4.9, Fedora 21)."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14846 16af8721-9629-0410-8352-f15c8da7e697 - * applications/osgversion/Contributors.cpp, include/osgUI/Style, - src/osgUI/Dialog.cpp, src/osgUI/Popup.cpp, - src/osgUI/PushButton.cpp, src/osgUI/Style.cpp: Implemented scheme - for making sure nested widgest overdraw parent widgets graphics -2014-05-23 15:00 robert +Fri, 17 Apr 2015 14:36:05 +0000 +Checked in by : Robert OSFIELD +Updated dev release numbergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14845 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgWrappers/serializers/osgUI/Dialog.cpp, - src/osgWrappers/serializers/osgUI/Popup.cpp: Added wrappers for - open and close methods -2014-05-22 10:02 robert +Fri, 17 Apr 2015 13:33:08 +0000 +Checked in by : Robert OSFIELD +Added implementations for the libraryName and className for the AntiSquish node.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14844 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUI/Widget, src/osgUI/ComboBox.cpp, - src/osgUI/Dialog.cpp, src/osgUI/LineEdit.cpp, - src/osgUI/Popup.cpp, src/osgUI/PushButton.cpp, - src/osgUI/Widget.cpp, - src/osgWrappers/serializers/osgUI/Widget.cpp: Added - osgUI::Widget::set/getGraphicsSubgraph() to hold the subgraph - that does the rendering portion of widgets -2014-05-21 16:15 robert +Fri, 17 Apr 2015 13:24:44 +0000 +Checked in by : Robert OSFIELD +Fixed CollectParentPaths visitor so that it sets the setNodeMaskOverride(0xffffffff) to make sure all parents are traversed to find parents, even ones that have their NodeMask set to 0x0.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14843 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgDB/ObjectWrapper, include/osgDB/Serializer, - include/osgUI/PushButton, src/osgUI/PushButton.cpp, - src/osgWrappers/serializers/osgUI/PushButton.cpp, - src/osgWrappers/serializers/osgUI/Widget.cpp: Addd method - implementation in serializers -2014-05-21 10:17 robert +Fri, 17 Apr 2015 13:22:07 +0000 +Checked in by : Robert OSFIELD +Added --test-NodeMask option to test crash when a parent of osgmanipulator::AntiSquish node has a NodeMask set to 0x0.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14842 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgUI/PushButton.cpp, src/osgUI/Widget.cpp: Fixed handling of - traverse -2014-05-21 09:45 robert +Thu, 16 Apr 2015 11:19:50 +0000 +Checked in by : Robert OSFIELD +Changed MSVC version test to <= to enable fallback for VS2010.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14841 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUI/Widget, src/osgUI/Widget.cpp: Improved handling of - callback object to open the door to use of general - osg::CallbackObject as mechnisms for something simialr to Qt's - signal/slot mechanism. -2014-05-21 09:07 robert +Thu, 16 Apr 2015 10:07:23 +0000 +Checked in by : Robert OSFIELD +Fixed crash when AntiSquish node is the root of the scene graph.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14840 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/ScriptEngine: Added osg::runNamedCallbackObjects(..) - convinience method for run all named osg::CallbackObjects - attached to an osg::Object -2014-05-21 09:06 robert +Wed, 15 Apr 2015 18:34:16 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14839 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/Drawable, src/osg/Drawable.cpp: Renamed callbacks to - avoid overlap with Node callbacks -2014-05-20 16:09 robert +Wed, 15 Apr 2015 18:05:43 +0000 +Checked in by : Robert OSFIELD +Updated version number of dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14837 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/Drawable, include/osgUtil/UpdateVisitor: Moved the - _boundingSphere set method into the update section of the - Drawable::getBoundingBox() method - - Added an UpdateVisitor::apply(Drawable&) implementation. -2014-05-20 15:34 robert +Wed, 15 Apr 2015 17:12:52 +0000 +Checked in by : Robert OSFIELD +Added missing const to find VS2005 buildgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14836 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/Drawable: From Pjotr Svetachov, "I stumbled on a - little bug with the new drawables. I was distributing points data - into different drawables that I used in a LOD later. When - simplifying the system to not use geodes anymore I came upon the - following bug: - If Drawable::getBoundingBox would compute an invalid bounding box - (if it was for example empty) it would make a bounding sphere - with a infinite radius which counts as a valid sphere in osg. - - Attached is a small fix." -2014-05-20 08:35 robert +Tue, 14 Apr 2015 18:16:32 +0000 +Checked in by : Robert OSFIELD +Added check for changes to window size during GraphicsWindowWin32::init() to fix bug that occurs when the window manage resizes the window automatically on creation.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14835 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUI/LineEdit, src/osgUI/Dialog.cpp, - src/osgUI/LineEdit.cpp: Improved the handling of updating of text -2014-05-20 08:35 robert +Tue, 14 Apr 2015 15:50:51 +0000 +Checked in by : Robert OSFIELD +From Philippe Renon, MingW build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14834 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUI/Popup, src/osgUI/CMakeLists.txt, - src/osgUI/Popup.cpp, src/osgWrappers/serializers/osgUI/Popup.cpp: - Added shell of Popup class -2014-05-20 08:34 robert +Mon, 13 Apr 2015 11:48:28 +0000 +Checked in by : Robert OSFIELD +Fixed typo of SEPARATE enumsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14833 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added check against whether an event has been handled or not - before actioning escape/quit. -2014-05-19 10:11 robert +Mon, 13 Apr 2015 10:43:56 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, typo fixesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14832 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUI/Dialog, src/osgUI/CMakeLists.txt, - src/osgUI/Dialog.cpp, - src/osgWrappers/serializers/osgUI/Dialog.cpp: Add shell of Dialog - class -2014-05-19 09:30 robert +Mon, 13 Apr 2015 10:11:32 +0000 +Checked in by : Robert OSFIELD +From Konstantin Matveyev, "I've added GLES3 profile, which also enables GLES2 features (OSG_GLES3_AVAILABLE=true => OSG_GLES2_AVAILABLE=true).If OSG_OPENGL_PROFILE="GLES3" => +GraphicsWindowIOS will create gles3 context. +If failed, GraphicsWindowIOS will create gles2 context. +Multisampling also working. - * src/osgUI/ComboBox.cpp: Added handling of up/down key to ComboBox +" -2014-05-16 19:24 robert - * include/osgUI/ComboBox, include/osgUI/PushButton, - src/osgUI/CMakeLists.txt, src/osgUI/ComboBox.cpp, - src/osgUI/PushButton.cpp, - src/osgWrappers/serializers/osgUI/ComboBox.cpp: Added initial cut - of ComboBox +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14831 16af8721-9629-0410-8352-f15c8da7e697 -2014-05-16 10:38 robert - * include/osgUI/Label, include/osgUI/LineEdit, - include/osgUI/PushButton, src/osgUI/CMakeLists.txt, - src/osgUI/Label.cpp, src/osgUI/LineEdit.cpp, - src/osgUI/PushButton.cpp, src/osgUI/Style.cpp, - src/osgUI/Widget.cpp, - src/osgWrappers/serializers/osgUI/PushButton.cpp: Added initial - shell of PushButton implementation - -2014-05-15 16:30 robert +Mon, 13 Apr 2015 09:50:27 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, I have modified the FindOpenEXR.cmake to find the debug libraries, and to define a variable (OPENEXR_LIBRARIES_VARS) with the variable names that might have a _DEBUG version defined.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14830 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUtil/IntersectVisitor, - include/osgUtil/IntersectionVisitor, - src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/IntersectionVisitor.cpp: Added support for - intesecting Drawable that are attached directly to the scene - graph without an osg::Geode - -2014-05-15 14:57 robert - - * src/osg/Notify.cpp: From Sebastian Messerschmidt, "There was some - small error due to MS non-conformity handling comments - correctly." - -2014-05-15 14:45 robert - - * include/osgUI/Export, src/osgUI/CMakeLists.txt: From Pjotr - Svetachov, build fixes for VisualStudio - -2014-05-15 13:34 robert - - * src/osgUI/CMakeLists.txt: Added osgGA dependency - -2014-05-15 13:22 robert - - * include/osg/Plane: Placed the #include within #ifdef - OSG_USE_BOUND to prevent unncessary inclusion of Node header when - OSG_USE_BOUND is false. - -2014-05-15 09:26 robert - - * include/osg/Drawable, include/osg/Geometry, include/osg/Node, - src/osg/Group.cpp: Added Node::asDrawable() and - Node::asGeometry() methods to provide a low cost way of casting a - node to Drawable and Geoemtry. - - Changed the Group::computeBound() method so that it takes account - of the a Drawable's BoundingBox. - -2014-05-14 16:52 robert - - * include/osg/Drawable, src/osgUtil/CullVisitor.cpp: Fixed the - bounding sphere computation and handling of Drawable as the root - of the scene graph - -2014-05-14 16:01 robert - - * examples/osgdepthpeeling/DePee.cpp, examples/osghud/osghud.cpp, - examples/osgoit/HeatMap.cpp, - examples/osgposter/PosterPrinter.cpp, - examples/osgqfont/osgqfont.cpp, examples/osgtext/osgtext.cpp, - include/osg/CullingSet, include/osg/Drawable, include/osg/Node, - src/osg/Billboard.cpp, src/osg/ComputeBoundsVisitor.cpp, - src/osg/Geode.cpp, src/osg/Group.cpp, src/osg/KdTree.cpp, - src/osg/Switch.cpp, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.cpp, - src/osgPlugins/txp/TXPParser.cpp, - src/osgPresentation/deprecated/PickEventHandler.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgShadow/ViewDependentShadowMap.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/RayIntersector.cpp, - src/osgViewer/HelpHandler.cpp, src/osgViewer/StatsHandler.cpp, - src/osgWidget/Label.cpp: Further work on Bound - class/Node::getBound() and Drawable::getBound() and usage in OSG - codebase - -2014-05-14 16:00 robert - - * src/osgViewer/config/WoWVxDisplay.cpp: Cleaned up code - -2014-05-14 10:19 robert - - * CMakeLists.txt, examples/osgforest/osgforest.cpp, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osgoit/HeatMap.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgteapot/osgteapot.cpp, include/osg/CullingSet, - include/osg/DrawPixels, include/osg/Drawable, include/osg/Node, - include/osg/Plane, include/osg/Polytope, - include/osg/ShapeDrawable, include/osgParticle/ParticleSystem, - include/osgShadow/OccluderGeometry, - include/osgSim/ImpostorSprite, include/osgText/Text3D, - include/osgText/TextBase, src/osg/Config.in, - src/osg/DrawPixels.cpp, src/osg/Drawable.cpp, src/osg/Group.cpp, - src/osg/ShapeDrawable.cpp, src/osg/Switch.cpp, - src/osgAnimation/RigGeometry.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgShadow/OccluderGeometry.cpp, - src/osgSim/ImpostorSprite.cpp, src/osgSim/LightPointDrawable.cpp, - src/osgSim/LightPointDrawable.h, src/osgSim/OverlayNode.cpp, - src/osgSim/SphereSegment.cpp, src/osgText/Text3D.cpp, - src/osgText/TextBase.cpp, src/osgUtil/PlaneIntersector.cpp, - src/osgUtil/PolytopeIntersector.cpp: - -2014-05-13 08:43 robert - - * include/osg/Group, include/osg/Node, src/osg/Group.cpp, - src/osg/Node.cpp, src/osgPlugins/txp/TXPParser.cpp, - src/osgUtil/Optimizer.cpp: Changed the Node::ParentList to be a - list of osg::Node rather than osg::Group, and added addChild, - removeChild, replaceChild virtual method to Node to enable code - to user code compile with minimal modifications to account for - the new change to the Node ParentList. - -2014-05-12 12:10 robert - - * include/osg/Drawable, include/osg/Geode, include/osg/Geometry, - include/osg/NodeVisitor, include/osgUtil/CullVisitor, - include/osgUtil/IncrementalCompileOperation, - src/osg/Drawable.cpp, src/osg/Geode.cpp, src/osg/NodeVisitor.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/GLObjectsVisitor.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/Statistics.cpp: From Farshid Lashkari, "As discussed, - I've added the ability to handle Drawable objects within the - NodeVisitor class. Here is an overview of the changes: - - - Added apply(Drawable) and apply(Geometry) to NodeVisitor - - - Added accept(NodeVisitor) method to Drawable/Geometry - - - Added traverse(NodeVisitor) to Geode which calls - accept(NodeVisitor) on all Drawables - - - Updated CullVisitor to use new apply(Drawable) to handle - drawables. The apply(Billboard) method still manually handles the - drawables since it is depends on the billboard settings. I needed - to disable the traverse within billboard to prevent duplicate - traversal of drawables. - - - Update other osgUtil node visitors (GLObjectsVisitor, - IncrementalCompileOperation, ..) to use new apply(Drawable) - method. - " - -2014-05-12 11:27 robert - - * examples/osgtransferfunction/CMakeLists.txt, - examples/osgtransferfunction/TransferFunctionWidget.h, - include/osgUI, include/osgUI/AlignmentSettings, - include/osgUI/Export, include/osgUI/FrameSettings, - include/osgUI/Label, include/osgUI/LineEdit, include/osgUI/Style, - include/osgUI/TextSettings, include/osgUI/Widget, - src/CMakeLists.txt, src/osgUI, src/osgUI/AlignmentSettings.cpp, - src/osgUI/CMakeLists.txt, src/osgUI/FrameSettings.cpp, - src/osgUI/Label.cpp, src/osgUI/LineEdit.cpp, src/osgUI/Style.cpp, - src/osgUI/TextSettings.cpp, src/osgUI/Widget.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osgUI, - src/osgWrappers/serializers/osgUI/AlignmentSettings.cpp, - src/osgWrappers/serializers/osgUI/CMakeLists.txt, - src/osgWrappers/serializers/osgUI/FrameSettings.cpp, - src/osgWrappers/serializers/osgUI/Label.cpp, - src/osgWrappers/serializers/osgUI/LineEdit.cpp, - src/osgWrappers/serializers/osgUI/TextSettings.cpp, - src/osgWrappers/serializers/osgUI/Widget.cpp: Added beginnings of - new osgUI library, a replacement for osgWidget that works fully - in 3D/stereo and is scriptable. - -2014-05-06 16:38 robert - - * src/OpenThreads/pthreads/PThread.cpp: Replaced obsolete __linux - usage. - -2014-05-06 09:43 robert - - * CMakeLists.txt: From Stephan Huber, "Xcode changed the default - std-lib-implementation again. Now it’s GNU++98 instead of C++11. - I adapted the cMakeList.txt files accordingly to add this new - option so we can set it explicitly and link against - 3rdparty-c++-libs." - -2014-05-06 08:37 robert - - * CMakeModules/FindQuickTime.cmake: From Stephan Huber, "Please - revert the change to FindQuickTime.cmake as this breaks - compilation for IOS and possibly OS X." - -2014-05-02 09:12 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: From Farshid Lashkari, "fix - for the Collada loader where it would access a null string in - some cases" - -2014-05-02 09:11 robert - - * src/OpenThreads/win32/Win32Thread.cpp: From Ali Botorabi, - "recently I ran into a problem with Microsoft's Appverifier while - using OpenThreads on win32 platform. The Appverifier complained - about an invalid thread handle during starting of a new thread. - After looking closer into the problem it seemed that indeed a - potential root of problem may be in the thread startup code. See - the line below in Win32Thread.cpp (line number 347): - - pd->tid.set( - (void*)_beginthreadex(NULL,static_cast(pd->stackSize),ThreadPrivateActions::StartThread,static_cast(this),0,&ID)); - - the method "pd->tid.set" sets the thread id, however via the - startup function "ThreadPrivateActions::StartThread" that thread - id is used (see further down the call hierarchy the line "int - status = SetThreadPriority( pd->tid.get(), prio);". - - Until now I never ran into any problem in debug or release - builds, though. It seems that furtunately the tid.set method was - executed always before the tid.get method in the startup code. - However, this may make trouble in the furture. A simple solution - is the following: just replace the line above with following two - lines: - - pd->tid.set( - (void*)_beginthreadex(NULL,static_cast(pd->stackSize),ThreadPrivateActions::StartThread,static_cast(this),CREATE_SUSPENDED,&ID)); - ResumeThread(pd->tid.get()); - - - The trick is just starting the thread in suspended mode so the - StartThread function does not get executed and we can safely - store the tid by pd->tid.set. Then start the Thread by calling - ResumeThread." - -2014-05-01 15:50 robert - - * CMakeLists.txt: From Stephan Huber, fix for OSX build - -2014-04-30 13:19 robert - - * CMakeLists.txt, include/osg/GL, src/osg/CMakeLists.txt, - src/osg/GL.in, src/osg/OpenGL.in: Renamed the new - include/osg/OpenGL automatically configured header file to - include/osg/GL replacing the original hand built GL header - -2014-04-30 11:51 robert - - * include/osgDB/PropertyInterface: From Sebastian Messerschmidt, - "attached is the compile/linker fix for multiple definitions of - getTypeEnum when compiling the Lua with VisualStudio and - potentially other compilers. - " - -2014-04-29 15:14 robert - - * include/osgAnimation/RigGeometry, - src/osgAnimation/RigGeometry.cpp, - src/osgWrappers/serializers/osg/ComputeBoundingBoxCallback.cpp, - src/osgWrappers/serializers/osg/UpdateCallback.cpp, - src/osgWrappers/serializers/osgAnimation/RigComputeBoundingBoxCallback.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateVertex.cpp: From - Pjotr Svetachov, "have added some missing serializers for - RigGeomery. Withouth them I - ran into two issues. - - At first you get a bunch of warnings that - osg::ComputeBoundCallback - and osg::UpdateCallback were unsupported wrapper classes when - converting fbx models with skeletal animation to osg(t/b). - - The second issue was that when reading, the readers fail to read - the - ComputeBoundCallback and UpdateCallback and set them to NULL - which - messes up the RigGeometry. - - Because a RigGeometry makes his own classes in the constructor it - might be preferable to not write them at all, because now those - classes are being made two times when reading a RigGeometry. But - after - thinking about this that would place too much limits on them (you - won't be able to share or name them and save that information or - make - a new inherited class from them and write that one) So I ended up - thinking the best way was to just write the files. - " - -2014-04-29 13:41 robert - - * include/osgDB/OutputStream: From Pjotr Svetachov, "Today I found - a bug in the IutputStream class when saving array - attributes in vec3b format. It looks like my compiler takes the - wrong - overload and outputs integers instead of characters. The problem - is - that vec3b is of type signed char and that is not the same as - char ( - see - http://stackoverflow.com/questions/436513/char-signed-char-char-unsigned-char - ) and visual studio 2013 will promote it to integer when choosing - an - overload. - It looks like that the InputStream class already takes care of - this - issue (if it didn't it would have read everything ok and I would - have - not even stumbled upon this bug. :) )" - -2014-04-29 12:19 robert - - * CMakeModules/FindFLTK.cmake, CMakeModules/FindFreetype.cmake, - CMakeModules/FindGDAL.cmake, CMakeModules/FindJasper.cmake, - CMakeModules/FindOpenThreads.cmake, - CMakeModules/FindQuickTime.cmake, CMakeModules/FindZLIB.cmake: - From Mattias Helsing, "I finally got to fix the cmake Modules - that have duplicates in later - version of cmake. See attached submission. I have tested the ones - that - I compile myself (GDAL, Freetype, ZLIB) on ubuntu 12.04 with - cmake-2.8.7." - -2014-04-29 12:18 robert - - * CMakeLists.txt, CMakeModules/FindGLCORE.cmake, - CMakeModules/OsgMacroUtils.cmake: From Paul Martz, "There is no - standard place for gl/glcorearb.h on Windows. Previously, the - only way to get OSG to build for core profile was to append an - additional include directory ("/I") onto the CFLAGS variables - This submission adds a FindGLCORE.cmake script so that the path - to gl/glcorearb.h can be specified with a variable, GLCORE_ROOT, - either in CMake or the environment. - - Currently this submission is Windows-only. I don't think OSX or - Linux require any help in locating gl/glcorearb.h. But if they - do, this submission can be easily modified. - - Files: - - "CMakeLists.txt" is the top-level file. - - FindGLCORE.cmake" and "OsgMacroUtils.cmake" go in CMakeModules. - " - -2014-04-28 14:58 robert - - * src/osg/Image.cpp: From Pjotr Svetachov, "I had the osgvolume - example crash on me when loading large volume - datasets due to an overflow in image.cpp after a unneeded cast - from - unsigned int to int. Here is a small fix." - -2014-04-28 14:57 robert - - * src/osgDB/FileUtils.cpp: From Jason Beverage, "Here is a fix for - a small race condition in osgDB::makeDirectory. It attempts to - create all the directories in the given path and stops attempting - to make directories when one of them fails. I've added a check to - see if the failure occurred b/c the directory was created by - another thread or process. - - We were running into issues occasionally in osgEarth where - multiple threads were writing out files like /1/2/3.jpg and - /1/3/4.jpg. Both threads would try to create the /1 directory and - only one of them would succeed. So the first thread would write - out the full /1/2/3.jpg while the second thread wouldn't create - the /1/3 directory b/c /1 was already created and the writing of - /1/3/4.jpg would fail. - " - -2014-04-28 11:53 robert - - * src/osgSim/SphereSegment.cpp: Fixed type error - -2014-04-25 08:57 robert - - * applications/osgviewer/osgviewer.cpp, src/osg/CMakeLists.txt, - src/osgViewer/Renderer.cpp: From Pjotr Svetachov, "For me - osgviewer.cpp and Renderer.cpp were not compiling (visual studio - 2013 with profile GL2) because they were still using GLuintEXT. - So I changed that, see the attached files. - - I also noticed that the generated OpenGL header were not copied - to the installation directory so my own application could not - find it." - -2014-04-25 08:56 robert - - * CMakeLists.txt: Reordered the configuiration file blocks to make - it more understandable - -2014-04-25 08:18 robert - - * CMakeLists.txt: From Paul Martz, fixed placement of OpenGL header - so that it gets generated and placed in the build directory as - per the Config file - -2014-04-24 17:26 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: From Farshid Lashkari, - "I've attached a small fix to the Collada loader which prevents a - null pointer access in some cases." - -2014-04-24 17:23 robert - - * src/osg/Texture2DArray.cpp: From Lionel Lagarde, "In the ::apply - method, when the image data need to be re-uploaded, the - Texture2DArray checks if the TextureObject can be re-used. The - test was made using the constant 1 instead of the real texture - depth, so the TextureObject was never re-used." - -2014-04-24 17:14 robert - - * examples/osgviewerQt/osgviewerQt.cpp, - include/osgGA/GUIEventAdapter, include/osgQt/GraphicsWindowQt, - src/osgGA/GUIEventAdapter.cpp, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgQt/GraphicsWindowQt.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: From - Kristofer Tingdahl, "I and my team have gone over the code again, - and we feel that we are comfortable in our current proposal for - change. It goes deeper than it did before, and I explain why: - - There was code in the osgViewer/Viewer.cpp and - osgViewer/CompositeViewer.cpp that transformed the Y-coordinates - of an event. The code in the composite viewer did however miss - the touch-data of the event. I thought that it should really be - the GUIEventAdapter that should know about this, and hence I - added the - GUIEventAdapter::setMouseYOrientationAndUpdateCoords which is - re-computing the coordinates. First I simply added a boolean to - the setMouseYOrientation function: - - setMouseYOrientation( MouseYOrientation, bool updatecooreds=false - ); - - but then the serializer complained. - - This function is called from both the Viewer and the - CompositeViewer. We have not tested from the viewer, but I cannot - see it would not work from visual inspection. - - The other change is in - MultiTouchTrackballManipulator::handleMultiTouchDrag. I have - removed the normalisation. The reason for that is that it - normalised into screen coordinates from 0,0 to 1,1. The problem - with that is that if you have a pinch event and you keep the - distance say 300 pixels between your fingers, these 300 pixels - represent 0.20 of the screen in the horizontal domain, but 0.3 of - the screen in the vertical domain. A rotation of the - pinch-fingers will hence result in a zoom in, as the normalised - distance is changing between them. - - A consequence of this is that I have changed the pan-code to use - the same algorithm as the middle-mouse-pan. - - The rest of it is very similar from previous revision, and there - has been some fine-tuning here and there. - - " - -2014-04-24 10:49 robert - - * CMakeModules/FindGDAL.cmake: From Mattias Helsing, "Seems I was - only half right given what you asked for. CMP0017 only - says that modules that are found and ran from cmake modules dir - should - prefer cmake-provided modules. find_package() and include() still - look - in CMAKE_MODULE_PATH first. - - After some investigating I've come up with a proposal examplified - in - the attached FindGDAL.cmake script. It simply calls the cmake - provided - FindGDAL.cmake if it exists and returns if it succeeds in finding - GDAL - using that, otherwise continue with our local cmake code. - Pro: Wont clutter our root CMakeLists.txt - Con: If we begin to write more advanced Findxxx modules (using - COMPONENTS, REQUIRED etc.) we may have to revise this scheme. - " - -2014-04-24 10:38 robert - - * src/osgSim/SphereSegment.cpp: Fixed reference invalidation bug. - -2014-04-24 07:22 robert - - * CMakeLists.txt: Fixed typo in OPENSCENEGRAPH_OPENGL_HEADER name - -2014-04-24 07:20 robert - - * include/osg/OpenGL: Removed header as this CMake generated - configuration file is not required to be part of svn repository - -2014-04-23 19:30 robert - - * include/osg/OpenGL, src/osg/OpenGL.in: Added src/osg/OpenGL.in - configuration file and include/osg/OpenGL header files - -2014-04-23 09:08 robert - - * CMakeLists.txt, applications/osgviewer/osgviewer.cpp, - examples/CMakeLists.txt, include/osg/Drawable, include/osg/GL, - include/osg/State, include/osgQt/GraphicsWindowQt, - include/osgQt/QGraphicsViewAdapter, include/osgQt/QWidgetImage, - src/osg/Config.in, src/osg/Drawable.cpp, src/osg/State.cpp, - src/osgQt/GraphicsWindowQt.cpp: Introduced new scheme for setting - up which version of OpenGL/OpenGL ES the OSG is compiled for. - - To select standard OpenGL 1/2 build with full backwards and - forwards comtability use: - - ./configure - make - - OR - - ./configure -DOPENGL_PROFILE=GL2 - - To select OpenGL 3 core profile build using GL3/gl3.h header: - - ./configure -DOPENGL_PROFILE=GL3 - - To select OpenGL Arb core profile build using GL/glcorearb.h - header: - - ./configure -DOPENGL_PROFILE=GLCORE - - To select OpenGL ES 1.1 profile use: - - ./configure -DOPENGL_PROFILE=GLES1 - - To select OpenGL ES 2 profile use: - - ./configure -DOPENGL_PROFILE=GLES2 - - - Using OPENGL_PROFILE will select all the appropriate features - required so no other settings in cmake will need to be adjusted. - The new configuration options are stored in the - include/osg/OpenGL header that deprecates the old include/osg/GL - header. - -2014-04-14 16:16 robert - - * include/osgManipulator/TranslatePlaneDragger: Fixed comment - -2014-04-13 16:04 robert - - * CMakeLists.txt, CMakeModules/FindFreeType.cmake, - CMakeModules/FindFreetype.cmake: Renamed FindFreeType.cmake to - FindFreetype.cmake to enable CMake build to pick up on CMake's - own FindFreetype.cmake when it's available. - -2014-04-09 17:40 robert - - * CMakeModules/FindFBX.cmake, - src/osgPlugins/fbx/ReaderWriterFBX.cpp: From Paul - Cheyrou-Lagreze, "Attached is fix/feature for FBX osgplugins - against latest trunk: - - - ReaderWriterFBX.cpp: add "z up scene axis" support: FBX - provides facility to convert model scene axis during conversion. - Currently fbx plugin convert axis to fbx:opengl axis system - (which is arbitrarily at Y up, as opengl is in reality axis - agnostic) and sometimes what is needed is Z up so added an option - for Z up conversion - - - FindFBX.cmake: add support for latest fbx sdk ( 2014.2 )" - -2014-04-09 17:20 robert - - * src/osgPlugins/fbx/CMakeLists.txt: Disabled warnings to address - issues in FBX headers that generate lots of warnings that we - can't fix. - -2014-04-08 19:42 robert - - * CMakeModules/FindFreeType.cmake: Added extra search paths to add - compatibility with Kubuntu/Ubuntu 14.04 now locaton for freetype - -2014-04-08 17:45 robert - - * ChangeLog, applications/osgversion/Contributors.cpp: Updated - ChangeLog and fixed Contributors list - -2014-04-08 12:00 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Remo Eichenberger, - "I have extended the TIFF plugin that allows you to write LZW or - JPEG compressed TIFF's. Options are: - - tiff_compression = lzw | jpeg" - -2014-04-08 11:48 robert - - * include/osgGA/GUIActionAdapter: From Sebastian Messerschmidt, "n - the trunk version the osgGA::GUIActionAdapter has additional - functions for lineIntersection which use osgGA::GUIEventAdapter&, - but the class declaration is neither forwarded, nor is the header - included. - Using the trunk together with osgEarth 2.5 will fail to build, - due to the missing type. - - Attached is the file forward declaring osgGA::GUIEventAdapter." - -2014-04-08 11:17 robert - - * src/osgWrappers/serializers/osgAnimation/Animation.cpp: From - Pjotr Svetachov, "We had a small problem converting skeleton - animations from fbx to osgt - format. Turned out that the serializer didn't handle bone names - with - spaces very well (the 3ds studio max biped for instance has - spaces by - default). Here is a small fix for the problem." - -2014-04-08 11:08 robert - - * src/osgPlugins/obj/obj.cpp: From Pjotr Svetachov, previous obj - "commit broke compilation under visual studio 2013. To use - std::not1 you need to include the functional header. Here is a - fix." - -2014-04-07 15:04 robert - - * include/osg/BoundingBox, include/osg/BoundingSphere: Fixed build - when using of double BoundingBox/BoundingSphere - -2014-04-07 14:17 robert - - * src/osgPlugins/obj/obj.cpp: From Jan Peciva, "I am sending four - fixes to obj plugin: - - - materialName used to be not stripped of whitespace, making - number of models - fail to load materials; now fixed - - stripping was considering spaces only, thus models using tabs - had problems - to load correctly; fixed - - fixed references to textures; they did not performed conversion - to native - directory separators - - make d (dissolve) takes precedence over Tr (transparency); - there seems to be - a confusion about the Tr item - some claiming 1 to be opaque and - 0 - transparent, while number of models uses exactly the opposite. d - (dissolve), - if present in the model, does not suffer from this confusion, - thus using it - instead fixes the problem for many many models. - - I put many comments to the file concerning d and Tr item as - others may further - investigate. Let me know in the case of any problems." - -2014-04-07 14:11 robert - - * src/OpenThreads/pthreads/PThread.cpp: From Marcel Pursche, "The - problem is that when OpenThreads is build with the Linux pthreads - implementation all threads inherit the processor affinity from - their parent thread. - This behavior is also described in the pthreads man page - (http://man7.org/linux/man-pages/man3/pthread_create.3.html): - - > - > Linux-specific details - > The new thread inherits copies of the calling thread's - capability - > sets (see capabilities(7)) and CPU affinity mask (see - > sched_setaffinity(2)). - > - - To prevent this behaviour I wrote a patch that explicitly sets - the affinity mask to all cores of the system, if no specific - affinity was defined with PThread::setProcessorAffinity(unsigned - int) . - - Thank you! - " - -2014-04-07 14:03 robert - - * src/osgPlugins/3ds/lib3ds/lib3ds.h, - src/osgPlugins/3ds/lib3ds/lib3ds_chunktable.c, - src/osgPlugins/3ds/lib3ds/lib3ds_impl.h, - src/osgPlugins/3ds/lib3ds/lib3ds_material.c: From Bjorn Blessing, - "I got bored of the constant reports of “missing chunk 0xA08A†- when reading 3ds-files. After a bit of research I discovered that - this property is related to the advanced transparency settings - for the material in 3D studio. In this case the falloff - parameter. These controls affect the opacity falloff of a - transparent material. And the property chooses whether falloff is - in or out. I have added the property to the file reader BUT no - changes are made to make this property propagate into the - osgMaterial. But at least we get rid of this annoying error - message." - -2014-04-07 13:52 robert - - * src/osgUtil/RayIntersector.cpp: From Bjorn Hein, "please find - attached a small fix for RayIntersector.cpp. - - * Changes are made against trunk - * Reason: crashes when using specific constructor from - RayIntersector - * Info: Line 42: added in constructor - RayIntersector::RayIntersector(const Vec3d& start, const Vec3d& - direction) missing initialisation of _parent - " - -2014-04-07 13:48 robert - - * include/osg/GL2Extensions: From Paul Martz, "We discussed the - issue of GL_RED_SNORM and GL_RG_SNORM some time ago, but the - issue was never completely resolved. Please see the attached - submission to fix the issue. - - osg/GL2Extensions was incorrectly defining GL_RED_SNORM and - GL_RG_SNORM as part of the definitions for OpenGL v3.1. However, - a quick review of the 3.1 spec indicates that these are not part - of the 3.1 standard. - - My attached change moves these definitions out of the #ifndef - GL_VERSION_3_1 conditional block, and defines them conditionally - if not already defined. This allows the DDS plugin to build for - GL3. - " - -2014-04-04 11:25 robert - - * src/osgVolume/Shaders/volume_accumulateSamples_iso_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_iso_tf_frag.cpp: - Fixed iso surface shaders - -2014-04-01 18:56 robert - - * src/osgVolume/Property.cpp: Improved the setting of sample - density/ratio so that they are consistent - -2014-04-01 18:33 robert - - * include/osgVolume/MultipassTechnique, - src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_iso_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_mip_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_standard_tf_frag.cpp, - src/osgVolume/Shaders/volume_compute_ray_color_frag.cpp, - src/osgVolume/VolumeScene.cpp: Fixed handling of volume tiles - with a region. - -2014-03-27 12:47 robert - - * include/osgVolume/MultipassTechnique, - include/osgVolume/VolumeTechnique, - src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_iso_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_iso_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_lit_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_mip_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_mip_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_standard_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_standard_tf_frag.cpp, - src/osgVolume/Shaders/volume_compute_ray_color_frag.cpp, - src/osgVolume/Shaders/volume_multipass_cube_and_hull_frag.cpp, - src/osgVolume/Shaders/volume_multipass_cube_frag.cpp, - src/osgVolume/Shaders/volume_multipass_frag.cpp, - src/osgVolume/Shaders/volume_multipass_hull_frag.cpp, - src/osgVolume/VolumeScene.cpp: Added cube and hull rendering - support - -2014-03-19 17:56 robert - - * include/osgVolume/MultipassTechnique, - include/osgVolume/VolumeScene, include/osgVolume/VolumeTechnique, - src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/VolumeScene.cpp: Restructured the handling of - TileData to make it more extensible and flexible. - -2014-03-18 18:14 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - include/osgVolume/Property, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp: - Addd ExteriorTransparencyFactorProperty for support of upcomming - functionality of rendering a cube volume with a hull volume - inside it. - -2014-03-17 15:54 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgVolume/MultipassTechnique.cpp: Added support for animating - volume hulls. - -2014-03-13 14:02 robert - - * src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp: From Stephan - Huber, "attached is a fix for the rest-http-plugin which should - fix the font-issue reported by Phil. The old implementation did - forward all requests to the internal http-server via user-events. - This prevented error-reporting for missing files, as the request - was accidentally handled by the plugin. As a request for missing - font-file succeeds and returned an empty file, the curl-plugin - hands the data happily to the freetype-plugin which failed trying - to load an empty font-file, obviously. - - My fix was to rename the standard request handler to a - specialized user-event-handler which handles only requests for - "/user-event“ - - So fonts should work on iOS when loaded remotely, even when a - local file is available and with the resthttp-plugin serving the - presentation. - " - -2014-03-13 13:59 robert - - * src/osgPlugins/CMakeLists.txt: From Stephan Huber, fix for - building lua plugin from local source - -2014-03-13 10:28 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - support for directly invoking scripts using and - to enable scripts to interact with each other. - -2014-03-12 11:01 robert - - * src/osgGA/Widget.cpp, - src/osgPresentation/deprecated/SlideEventHandler.cpp, - src/osgWrappers/serializers/osgPresentation/PresentationInterface.cpp: - Improved support for passing events between scripts and Present3D - application - -2014-03-11 10:52 robert - - * include/osgPresentation/PresentationInterface, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/PresentationInterface.cpp, - src/osgWrappers/serializers/osgPresentation/PresentationInterface.cpp: - Added PresentationInterface class to make it more convinient to - access the current presentation from scripting languages - -2014-03-10 19:08 robert - - * include/osgPresentation/deprecated/SlideEventHandler, - src/osgPresentation/deprecated/SlideEventHandler.cpp: Added - scripting support for JumpData, KeyPosition, HomePosition and - parts of SlideEventHandler that enable dispatching of user - created events. - -2014-03-07 11:09 robert - - * src/osgGA/Widget.cpp, src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgWrappers/serializers/osg/Switch.cpp: Added ability to - replace callback objects via lua scripts to allow one to override - callbacks. - - Added fallback for osgGA::Widget::Extents. - -2014-03-06 10:27 robert - - * include/osgDB/OutputStream, src/osg/Image.cpp, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp, - src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgWrappers/serializers/osg/Image.cpp: Added support for - osg::Image to the lua plugin. - -2014-03-04 13:36 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp: Implement add, set and - get methods for StateSet. - -2014-03-04 13:35 robert - - * include/osgDB/PropertyInterface, src/osgDB/PropertyInterface.cpp: - Relaxed the handling of Image objects -2014-03-04 13:34 robert +Mon, 13 Apr 2015 08:55:08 +0000 +Checked in by : Robert OSFIELD +Added passing of command line arguments to viewer construction to allow one to specify extra controls for the viewer such as window size etc.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14829 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgWrappers/serializers/osg/StateSet.cpp: Fixed handling of - OverrideValue -2014-02-28 17:38 robert +Thu, 9 Apr 2015 18:42:08 +0000 +Checked in by : Robert OSFIELD +Refactored AntiSquish::computeUnSquishedMatrix() method to use the parent node path of the AntiSquish node to compute the required matrix rather than using the NodePath provided by the NodeVistor. This is required as in osg::computeLocalToWorld() usage case the NodeVisitor pointer is NULL, so the correct matrix isn't possible to compute.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14828 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: From Stephan Huber, fix - for handling font paths on a local machine when other files have - been source from a remote machine. -2014-02-27 10:02 robert +Thu, 9 Apr 2015 18:38:53 +0000 +Checked in by : Robert OSFIELD +Added WindowSizeHandler to osgmanipulator examplegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14827 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgDB/Serializer, src/osgPlugins/lua/LuaScriptEngine.cpp: - Added MapReverseIterator implementation. -2014-02-26 18:18 robert +Tue, 7 Apr 2015 18:01:12 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, typo fixesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14826 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgDB/Serializer, src/osgPlugins/lua/LuaScriptEngine.cpp: - Added MapIteratorObject and support for it in the lua plugin to - provide map iterator functionality. -2014-02-26 11:01 robert +Tue, 7 Apr 2015 16:58:31 +0000 +Checked in by : Robert OSFIELD +From Giampaolo Viganò, "you can find in the attached ZIP archive a fix for 3ds plugin transparent/diffuse textures and opacity maps and the support for reflection map"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14825 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgDB/Serializer, src/osgPlugins/lua/LuaScriptEngine.cpp: - Added Map serializer size() method and support for it in the lua - plugin. Renamed functions in lua plugin to be more consistent. -2014-02-26 08:26 robert +Tue, 7 Apr 2015 15:53:17 +0000 +Checked in by : Robert OSFIELD +From Janik Heller, clean up of drawable/node usagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14824 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/TransferFunction, include/osg/UserDataContainer, - include/osgDB/PropertyInterface, include/osgDB/Serializer, - src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgWrappers/serializers/osg/TransferFunction1D.cpp: Added - support for vector and map containers in osgDB::Serailizer's and - lua plugin. -2014-02-24 10:19 robert +Tue, 7 Apr 2015 15:52:02 +0000 +Checked in by : Robert OSFIELD +Removed unused ShapesToGeometriesVisitor.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14823 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt, include/osg/Geometry, include/osg/Version, - include/osgDB/InputStream, include/osgDB/OutputStream, - include/osgDB/PropertyInterface, include/osgDB/Serializer, - src/osg/Geometry.cpp, src/osgDB/OutputStream.cpp, - src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgWrappers/serializers/osg/Array.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/PrimitiveSet.cpp: Added Vector - serialization and support in lua plugin top enable script users - to set/get vector properties such as osg::Array, - osg::PrimitiveSet and children lists. -2014-02-13 18:52 robert +Tue, 7 Apr 2015 15:49:06 +0000 +Checked in by : Robert OSFIELD +Cleaned up handling of Drawables so it utilizes the Node inheritance properly.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14822 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/PrimitiveSet.cpp, src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgWrappers/serializers/osg/PrimitiveSet.cpp: Fixed handling - of enums in Lua plugin. - - Fixed computation of getNumPrimitives() so that it returns 0 when - PrimitiveSet is zero. - - Added missing properties to PrimitiveSet serializers -2014-02-13 11:01 robert +Fri, 3 Apr 2015 15:43:34 +0000 +Checked in by : Robert OSFIELD +Build fix for VS2005.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14821 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/PrimitiveSet, - src/osgWrappers/serializers/osg/Array.cpp, - src/osgWrappers/serializers/osg/PrimitiveSet.cpp: Added inital - cut of PrimitiveSetSet wrappers to scripting -2014-02-12 18:10 robert +Fri, 3 Apr 2015 13:34:13 +0000 +Checked in by : Robert OSFIELD +Improved the doxygen comment for the new createImageWithOrientationConversion(..) function.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14820 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgWrappers/serializers/osg/Array.cpp: Added full range of - Array subclasses to wrappers -2014-02-12 18:03 robert +Fri, 3 Apr 2015 13:29:31 +0000 +Checked in by : Robert OSFIELD +Added automatic rotation of jpeg image based on EXIF rotation information provided in the header.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14819 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgDB/Serializer, src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgWrappers/serializers/osg/Array.cpp: Added initial support - for wrapping osg::Array in a way that can be used via scripting. -2014-02-11 18:18 robert +Fri, 3 Apr 2015 13:19:32 +0000 +Checked in by : Robert OSFIELD +Implemented an osg::createImageWithOrientationConversion(...) method to aid for changing orientation of images.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14818 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgDB/PropertyInterface: Fixed handling of assignment of - User Object's that replace existing Object with the specified - propertyName. -2014-02-11 18:07 robert +Thu, 2 Apr 2015 16:11:22 +0000 +Checked in by : Robert OSFIELD +Added reading of EXIF_Orientation tags when present in a jpeg file.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14817 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/UserDataContainer, include/osgDB/PropertyInterface, - src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp: Improved support for - setting/getting properties via the osg::UserDataContainer. -2014-02-11 10:56 robert +Thu, 2 Apr 2015 10:12:22 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, Windows build fixes, "These are the tweaks I had to make. JSON_Objects / json_stream headers attached. I am not sure how these will behave on VS 2010. Someone with VS 2010 should test it. Should be okay on VS 2008 and below + VS 2012 and above, though."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14816 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp: Quitened down debug - messages -2014-02-11 09:43 robert +Wed, 1 Apr 2015 09:37:44 +0000 +Checked in by : Robert OSFIELD +From Lionel Largarde, "fix for the Image::computeNumberOfMipmapLevels method. The method did use the float version of the log function and the / operator. It works for most of the input sizes, but fails for 8192, 32768... For 8192, the method returns 13 instead of 14."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14814 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/lua/LuaScriptEngine.cpp: Changed implementation of - enums to use strings as lua type to make it easier to do - comparisons and track values -2014-02-10 18:07 robert +Tue, 31 Mar 2015 19:31:34 +0000 +Checked in by : Robert OSFIELD +Fixed crash when using a subload callback, where the _images array is empty by _images[0] was still being accessed.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14813 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgGA/Widget.cpp, - src/osgWrappers/serializers/osgGA/Widget.cpp: Implemented - Widget::handle, handleImplementation, traverse and - travseImplementation() wrappers to enable them to be extended via - scripting -2014-02-10 16:44 robert +Tue, 31 Mar 2015 19:29:02 +0000 +Checked in by : Robert OSFIELD +Added --subload command line option and test subload callback for testing purposesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14812 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/ValueObject, include/osgDB/InputStream, - include/osgDB/OutputStream, include/osgDB/PropertyInterface, - include/osgDB/Serializer, include/osgGA/Widget, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp, - src/osgDB/PropertyInterface.cpp, src/osgGA/Widget.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgWrappers/serializers/osgGA/Widget.cpp: Added support for - serailizing and scripting BoundingBox and BoundingSphere objects - -2014-02-08 17:53 robert - - * include/osgDB/Serializer, src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgWrappers/serializers/osgGA/Widget.cpp: Fixed handling of - setting member variables via the Serializers when the value is - the default. - - Added support for more features of the osgDB::Widget class. - - Fixed handling of boolean values in the Lua plugin - -2014-02-08 10:39 robert - - * include/osgDB/PropertyInterface, include/osgDB/Serializer, - src/osgPlugins/lua/LuaScriptEngine.cpp: Added support for enum's - in the Lua script integration - -2014-02-08 10:38 robert - - * include/osgGA/Widget: Fixed export - -2014-02-07 16:06 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/ReaderWriterLua.cpp, - src/osgWrappers/serializers/osgGA/Widget.cpp: Fixed handling of - returns when invoking a script, removed some debug messages, - added a warning message when detecting erronous types. - - Added FocusBehaviour enum to osgGA::Widget serialization - -2014-02-07 10:46 robert - - * include/osgGA/Widget, src/osgWrappers/serializers/osg/Group.cpp, - src/osgWrappers/serializers/osgGA/Widget.cpp: Added initial - Widget wrapper - -2014-02-06 17:32 robert - - * examples/osgtransferfunction/CMakeLists.txt, - examples/osgtransferfunction/TransferFunctionWidget.h, - examples/osgtransferfunction/Widget.cpp, - examples/osgtransferfunction/Widget.h, - include/osgGA/GUIActionAdapter, include/osgGA/Widget, - src/osgGA/CMakeLists.txt, src/osgGA/Widget.cpp: Moved - experimental Widget class to osgGA - Add computeIntersections() to the osgGA::GUIActionAdapter base - class to enable intersection tests without needing to directly - link to osgViewer. - -2014-02-06 17:04 robert - - * examples/osgtransferfunction/TransferFunctionWidget.cpp, - examples/osgtransferfunction/TransferFunctionWidget.h, - examples/osgtransferfunction/Widget.cpp, - examples/osgtransferfunction/Widget.h, - examples/osgtransferfunction/osgtransferfunction.cpp: Added - osg::CallbackObject suport to the experiment Widget base class to - enable script language extension of widgets - -2014-02-06 11:25 robert - - * include/osgDB/PropertyInterface, src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h: Added support for casting - objects to allow one to access a parent classes methods. - -2014-02-05 11:08 robert - - * src/osgPresentation/deprecated/SlideShowConstructor.cpp: Tweaked - the detection of when the position transform for the hull is - required. - -2014-02-05 11:07 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - support for a tag that can be used within tag. - -2014-02-05 11:04 robert - - * src/osgDB/XmlParser.cpp: Improved the white space trimming - -2014-02-04 16:49 robert - - * CMakeLists.txt, - examples/osgtransferfunction/osgtransferfunction.cpp, - src/osgPlugins/lua/CMakeLists.txt, src/osgPlugins/lua/lua-5.2.3, - src/osgPlugins/lua/lua-5.2.3/Makefile, - src/osgPlugins/lua/lua-5.2.3/README, - src/osgPlugins/lua/lua-5.2.3/doc, - src/osgPlugins/lua/lua-5.2.3/doc/contents.html, - src/osgPlugins/lua/lua-5.2.3/doc/logo.gif, - src/osgPlugins/lua/lua-5.2.3/doc/lua.1, - src/osgPlugins/lua/lua-5.2.3/doc/lua.css, - src/osgPlugins/lua/lua-5.2.3/doc/luac.1, - src/osgPlugins/lua/lua-5.2.3/doc/manual.css, - src/osgPlugins/lua/lua-5.2.3/doc/manual.html, - src/osgPlugins/lua/lua-5.2.3/doc/osi-certified-72x60.png, - src/osgPlugins/lua/lua-5.2.3/doc/readme.html, - src/osgPlugins/lua/lua-5.2.3/src, - src/osgPlugins/lua/lua-5.2.3/src/Makefile, - src/osgPlugins/lua/lua-5.2.3/src/lapi.c, - src/osgPlugins/lua/lua-5.2.3/src/lapi.h, - src/osgPlugins/lua/lua-5.2.3/src/lauxlib.c, - src/osgPlugins/lua/lua-5.2.3/src/lauxlib.h, - src/osgPlugins/lua/lua-5.2.3/src/lbaselib.c, - src/osgPlugins/lua/lua-5.2.3/src/lbitlib.c, - src/osgPlugins/lua/lua-5.2.3/src/lcode.c, - src/osgPlugins/lua/lua-5.2.3/src/lcode.h, - src/osgPlugins/lua/lua-5.2.3/src/lcorolib.c, - src/osgPlugins/lua/lua-5.2.3/src/lctype.c, - src/osgPlugins/lua/lua-5.2.3/src/lctype.h, - src/osgPlugins/lua/lua-5.2.3/src/ldblib.c, - src/osgPlugins/lua/lua-5.2.3/src/ldebug.c, - src/osgPlugins/lua/lua-5.2.3/src/ldebug.h, - src/osgPlugins/lua/lua-5.2.3/src/ldo.c, - src/osgPlugins/lua/lua-5.2.3/src/ldo.h, - src/osgPlugins/lua/lua-5.2.3/src/ldump.c, - src/osgPlugins/lua/lua-5.2.3/src/lfunc.c, - src/osgPlugins/lua/lua-5.2.3/src/lfunc.h, - src/osgPlugins/lua/lua-5.2.3/src/lgc.c, - src/osgPlugins/lua/lua-5.2.3/src/lgc.h, - src/osgPlugins/lua/lua-5.2.3/src/linit.c, - src/osgPlugins/lua/lua-5.2.3/src/liolib.c, - src/osgPlugins/lua/lua-5.2.3/src/llex.c, - src/osgPlugins/lua/lua-5.2.3/src/llex.h, - src/osgPlugins/lua/lua-5.2.3/src/llimits.h, - src/osgPlugins/lua/lua-5.2.3/src/lmathlib.c, - src/osgPlugins/lua/lua-5.2.3/src/lmem.c, - src/osgPlugins/lua/lua-5.2.3/src/lmem.h, - src/osgPlugins/lua/lua-5.2.3/src/loadlib.c, - src/osgPlugins/lua/lua-5.2.3/src/lobject.c, - src/osgPlugins/lua/lua-5.2.3/src/lobject.h, - src/osgPlugins/lua/lua-5.2.3/src/lopcodes.c, - src/osgPlugins/lua/lua-5.2.3/src/lopcodes.h, - src/osgPlugins/lua/lua-5.2.3/src/loslib.c, - src/osgPlugins/lua/lua-5.2.3/src/lparser.c, - src/osgPlugins/lua/lua-5.2.3/src/lparser.h, - src/osgPlugins/lua/lua-5.2.3/src/lstate.c, - src/osgPlugins/lua/lua-5.2.3/src/lstate.h, - src/osgPlugins/lua/lua-5.2.3/src/lstring.c, - src/osgPlugins/lua/lua-5.2.3/src/lstring.h, - src/osgPlugins/lua/lua-5.2.3/src/lstrlib.c, - src/osgPlugins/lua/lua-5.2.3/src/ltable.c, - src/osgPlugins/lua/lua-5.2.3/src/ltable.h, - src/osgPlugins/lua/lua-5.2.3/src/ltablib.c, - src/osgPlugins/lua/lua-5.2.3/src/ltm.c, - src/osgPlugins/lua/lua-5.2.3/src/ltm.h, - src/osgPlugins/lua/lua-5.2.3/src/lua.c, - src/osgPlugins/lua/lua-5.2.3/src/lua.h, - src/osgPlugins/lua/lua-5.2.3/src/lua.hpp, - src/osgPlugins/lua/lua-5.2.3/src/luac.c, - src/osgPlugins/lua/lua-5.2.3/src/luaconf.h, - src/osgPlugins/lua/lua-5.2.3/src/lualib.h, - src/osgPlugins/lua/lua-5.2.3/src/lundump.c, - src/osgPlugins/lua/lua-5.2.3/src/lundump.h, - src/osgPlugins/lua/lua-5.2.3/src/lvm.c, - src/osgPlugins/lua/lua-5.2.3/src/lvm.h, - src/osgPlugins/lua/lua-5.2.3/src/lzio.c, - src/osgPlugins/lua/lua-5.2.3/src/lzio.h: Added lua-5.2.3 as - source code so it can be optinally built as part of the lua - plugin, making it possible to work out of the box across all - platforms with needing lua as an external dependency. - - Added the Cmake option OSG_USE_LOCAL_LUA_SOURCE to control - whether to build and use the Lua source code in the lua plugin, - or look for lua as an external dependency. - -2014-02-04 16:46 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added test code for - nesting a within a volume tag. - -2014-02-04 11:24 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/lua/CMakeLists.txt: - From Stephan Huber, added support for compile source code of lua - with the lua plugin - -2014-02-03 15:35 robert - - * src/osgVolume/Shaders/volume_tf_mip_frag.cpp: Fixed error in the - computation of tex coords of Maximum Intensity Projection + - Transfer Function rendering. - -2014-01-31 19:18 robert - - * src/osgText/Glyph.cpp: Replaced C cast to long with a - static_cast() to avoid a build error under Mingw 64. - -2014-01-31 16:20 robert - - * examples/osgpresentation/osgpresentation.cpp, - include/osg/ScriptEngine, src/osg/ScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - osg::CallbackObject to be used to extend C++ class from scripting - languages by providing callback objects assigned to the - osg::Object UserDataContainer, with the CallbackObject's Name - used to map the "method" provided by the CallbackObject. The - CallbackObject is implemented by the script engine to provide the - neccessary glue to invoking the script with the appropriate input - parameters and handling the output parameters. - - To the Lua plugin added support for assigned lua functions to C++ - osg::Objects via the new osg::CallbackObject mechanism. To invoke - the scripts function from C++ one must get the CallbackObject and - call run on it. - - Renamed ScriptCallback to ScriptNodeCallback to avoid possibly - confusion between osg::CallbackObject and the ScriptNodeCallback. - -2014-01-29 11:01 robert - - * ChangeLog: Updated ChangeLog - -2014-01-28 16:49 robert - - * include/osgGA/MultiTouchTrackballManipulator: From Kristofer - Tingdahl, made method virtual - -2014-01-28 16:48 robert - - * CMakeModules/OsgMacroUtils.cmake: Fixed MingW build's handling of - debug d postfix. - -2014-01-28 15:28 robert - - * src/osgPlugins/cfg/ConfigParser.cpp: Removed the invocation of - gcc on all platforms - -2014-01-28 11:01 robert - - * examples/osgscalarbar/osgscalarbar.cpp, src/osgSim/ScalarBar.cpp: - 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" - - From Robert Osfield, changed the example so that the vertical and - horizon scalar bars are rotated to the XZ plane so you can see - them with the default viewer's camera orientation. - Tweaked the positioning of title text of vertic scalar bar to - avoid overlap of text. - -2014-01-27 15:43 robert - - * include/osgViewer/api/Win32/GraphicsWindowWin32: Removed - unimplemented method - -2014-01-24 17:31 robert - - * src/osg/Geometry.cpp: From Laurens Voerman, "I experienced a - crash in Geometry::fixDeprecatedData(), on certain files, and - brought the problem down to a very simple test file, attached as - test3.zip. - - There are two problems: - 1> for DrawElementsUShortPrimitiveType (and UInt) the - source_pindex still equals -1 and causes a crash - in DrawElementsUBytePrimitiveType source_pindex is incremented, - and in DrawElementsU(Short/Int)PrimitiveType primitiveNum is - incremented, but never used - - 2> The drawelements need to be rewritten as the vertices are - reordered. - - created a patch for osg stable branch(r14038): attached as - Geometry-osg-3.2.zip - and for svn brach(r14044): attached as Geometry_osg_svn.zip" - -2014-01-24 17:06 robert - - * src/osg/FrameBufferObject.cpp: From Aurelien Albert, "In the - "apply" method of osg::FrameBufferObject, the draw buffers are - always enabled, even if the target is only "READ_FRAMEBUFFER". - - This can lead to inconsistency if you bind a framebuffer with - multiple attachments in DRAW mode and then a framebuffer with - different attachment count in READ mode (for example to manually - "blit" from a FBo to another). - - On some ATI cards (at least RADEON HD) this also leads to an - "incomplete " FBO status - - I've added a test to enable drawbuffers only if target is "DRAW" - or "READ_DRAW", this solves my problems on ATI cards." - -2014-01-24 16:45 robert - - * src/osg/KdTree.cpp: From Michael Schanne, "small fix for a - duplicate OR operand in KdTree.cpp." - -2014-01-24 16:28 robert - - * CMakeModules/FindCOLLADA.cmake: From Torben Dannahuer, "modified - findcollada.cmake which can now detect Boost 1.55 libraries, - which are used by Collada in my 3rdParty package" - -2014-01-24 16:24 robert - - * src/osgPlugins/dxf/dxfEntity.cpp, src/osgPlugins/txf/TXFFont.cpp: - From Torben Dannhauer, VisualStudio 2013 build fixes - -2014-01-24 16:19 robert - - * examples/osgscalarbar/osgscalarbar.cpp, src/osgSim/ScalarBar.cpp: - From Kristofer, "The osgSim::ScalarBar has a problem in that if - the scalarbar has a color in one end that co-incides with the - background color, one cannot see where the scalarbar ends. With - this patch, we add a line around the perimiter of the bar to mark - it. - - Secondly, we thought the text-annotation missed ticks that mark - out precisely where on the bar the texts relate to, so we added - that as well." - -2014-01-24 16:01 robert - - * src/osgPlugins/ply/plyfile.cpp: From Marc Helbling, "I am sending - a small fix in the PLY pseudo-loader; the extension was checked - in plyfile.cpp thus preventing the loading of any .PLY file - (extension in uppercase). The extension filtering is already - handled by ReaderWriter::acceptsExtension in a case unsensitive - way." - -2014-01-24 15:40 robert - - * src/osgQt/GraphicsWindowQt.cpp, - src/osgQt/QGraphicsViewAdapter.cpp, - src/osgShadow/ViewDependentShadowMap.cpp, - src/osgVolume/VolumeScene.cpp, - src/osgWrappers/deprecated-dotosg/osg/StateSet.cpp: Fixed - warnings - -2014-01-24 14:26 robert - - * src/osgPlugins/cfg/ReaderWriterCFG.cpp: Changed the handling of - single window configurations so that simply reuse the - View::getCamera() instead of creating a slave. - -2014-01-24 12:01 robert - - * include/osg/Texture2DArray, include/osg/Texture2DMultisample: - Added a getModeUsage() method that prevents any mode being - automatically associated with these Texture types that are only - usable using non fixed function pipeline. - -2014-01-24 11:37 robert - - * src/osgViewer/Viewer.cpp: Fixed crash when reading a viewer - configuration file where the EventVisitor was being re-assigned - but left a dangling pointer - -2014-01-24 10:10 robert - - * src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPresentation/deprecated/PickEventHandler.cpp: From Stephan - Huber, "attached is a new zip containing two small fixes: - * forwarded touch-events do have a correct input-range from 0 .. - 1 - * I refactored sending touch-events per osc so the receiver can - detect a TOUCH_ENDED better" - -2014-01-23 19:55 robert - - * src/osgPlugins/3ds/WriterCompareTriangle.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.h, - src/osgPlugins/3ds/lib3ds/lib3ds_file.c, - src/osgPlugins/dxf/ReaderWriterDXF.cpp, - src/osgPlugins/lwo/lwo2parser.h, src/osgPlugins/zip/unzip.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture.cpp: Fixed warnings - -2014-01-23 16:48 robert - - * include/osg/ComputeBoundsVisitor, - src/osg/ComputeBoundsVisitor.cpp: From Kristofer Tingdahl,"we - have a bunch of classes that inherit osg::Node, and they create - their own, internal geometry which is passed into the render - bucket at the cull-traversal. Last week, we realised that these - classes are not accounted for when doing an ComputeBoundVisitor- - traversal, as there is no specialization in ComputeBoundVisitor - for them. - - One solution is naturally to create a new class that would - inherit the osg::ComputeBoundVisitor, and use that. I don't like - that idea as the ComputeBoundVisitor does actually have what I - need - it is only hidden in a protected function. - - I am therefor suggesting a slight generalization of the - ComputeBoundVisitor with the attached patch, which is tested. - - The patch has two parts: - we add applyBBox() so that one can use that in a customized - traverse-function and add a bbox to the visitor. I considered - calling this function expandByBBox(), but I though applyBBox was - better. - The MatrixStack is made available to the outside world. That - enables a traverse-function to do whatever it wishes. - I do actually only need one of the two, as I can implement what I - wish either way, but adding getMatrixStack() will make more - generic expansions possible. - " - - From Robert Osfield, changed the name of the new applyBBox(..) - method to applyBoundingBox(..) to keep it's naming more - consistent with the rest of the OSG. - -2014-01-23 15:37 robert - - * applications/present3D/deprecated/present3D.cpp, - examples/osgviewerIPhone/iphoneViewerAppDelegate.mm, - include/osgGA/GUIEventAdapter, - include/osgPresentation/deprecated/SlideEventHandler, - src/osgGA/GUIEventAdapter.cpp, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.hpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/KeyEventHandler.cpp, - src/osgPresentation/deprecated/PickEventHandler.cpp, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/GraphicsWindowIOS.mm, src/osgViewer/Viewer.cpp: - 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. - - I added a new tag to p3d called forward_touch_event_to_device and - renamed the existing forward_event_to_device to - forward_mouse_event_to_device. This new tag will transmit touches - to the virtual trackpad as touch events. I added the - MultitouchTrackball to the p3d-app so zooming and moving a model - remotely should now work, if you use - forward_touch_event_to_device. I kept (and fixed) - forward_mouse_event_to_device for background compatibility, so - old presentations works as in previous versions, without the - ability to zoom + scale. of course. - - forward_touch_event_to_device needs some more testing, (e.g. with - image-streams and keystone, afaik there’s no support for - touch-events...) but for a first version it works nice. - " - -2014-01-23 10:56 robert - - * src/osgVolume/VolumeTechnique.cpp: Removed debug message - -2014-01-23 10:50 robert - - * src/osgVolume/Property.cpp: Changed the TransprencyProperty range - to 0 to 2.0 to enable forcing opaque qualities on fragments - -2014-01-23 10:11 robert - - * src/osgDB/ObjectWrapper.cpp: Cleaned up debug message. - -2014-01-23 10:09 robert - - * CMakeLists.txt, examples/osgviewerQt/osgviewerQt.cpp: Cleaned up - the Qt find package, and made changed the default threading model - to SingleThreaded when using Qt5 to avoid crash due to - regresssion since Qt4. - -2014-01-23 09:41 robert - - * src/osgUtil/GLObjectsVisitor.cpp: Added clean up of osg::Program - that are applied by the GLObjectsVisitor, which addresses a state - leak that creates GL error once the main scene graph is rendered. - -2014-01-23 07:59 robert - - * src/osg/StateSet.cpp: Added GL_TEXTURE_2D_MULTISAMPLE to texture - mode list. - -2014-01-22 17:29 robert - - * include/osgViewer/api/Win32/GraphicsWindowWin32: Made protected - methods virtual to allow subclassing to customize more aspects of - the window setup. - -2014-01-22 16:29 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Refactored .p3d loader to - make it less strict about the tag, property and value strings - when matching them to supported values. - - Examples of supported matches are: - - and will be treated the same - WHITE and White will be - treated the same - and , will all be - treated the same - -2014-01-22 11:25 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for - sampleRatio and sampleRatioWhenMoving properties - -2014-01-21 18:58 robert - * examples/osgtransferfunction/TransferFunctionWidget.cpp: Build - fixes for when ref_ptr<> automatic type conversion is turned off - -2014-01-21 18:48 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPresentation/deprecated/PickEventHandler.cpp, - src/osgPresentation/deprecated/SlideEventHandler.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - support for osgVolue::SampleRatioProperty. Fixed build errors - when compiling with ref_ptr<> automatic type conversion. - -2014-01-21 18:31 robert - - * src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/VolumeScene.cpp: Build fixes for when ref_ptr<> has - no auto type conversion - -2014-01-21 17:27 robert - - * src/osgGA/MultiTouchTrackballManipulator.cpp: Fixed build error - -2014-01-21 17:00 robert - - * src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp: Fixed build - error due to typo. - -2014-01-20 17:23 robert - - * src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_iso_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_iso_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_lit_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_mip_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_mip_tf_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_standard_frag.cpp, - src/osgVolume/Shaders/volume_accumulateSamples_standard_tf_frag.cpp, - src/osgVolume/Shaders/volume_compute_ray_color_frag.cpp, - src/osgVolume/Shaders/volume_multipass_frag.cpp, - src/osgVolume/Shaders/volume_multipass_vert.cpp: Integrated - multipass volume rendering shaders from OpenSceneGraph-Data - -2014-01-20 17:03 robert - - * examples/osg2cpp/osg2cpp.cpp: Changed the default directory for - the output files to be the current working directory, - with the --write-to-source-file-directory added to allow one to - have the original behaviour - of writing to the same directory as the original source file. - -2014-01-20 16:21 robert - - * include/osgVolume/MultipassTechnique, - src/osgVolume/MultipassTechnique.cpp: Removed nolonger used code - paths - -2014-01-20 15:54 robert - - * src/osgVolume/MultipassTechnique.cpp: Disable depth test for - rendering of hull backface - -2014-01-20 15:10 robert - - * include/osg/GL: From Stephan Huber, "recent commits regarding - GLuint64EXT broke the build for GLES1 and GLES2. Attached you’ll - find a fix which hopefully work for every platform." - -2014-01-20 11:00 robert - - * include/osgManipulator/AntiSquish, - src/osgManipulator/AntiSquish.cpp: From Kristofer Tingdahl, - reimplement of AntiSquish node to avoid the use of an update - callback. - - From Robert Osfield, small ammendments to clean up header. - -2014-01-20 10:40 robert - - * include/osgQt/GraphicsWindowQt, src/osgQt/GraphicsWindowQt.cpp: - From Roni Zanolli,Added use of Qt's new devicePixelRatio() method - to assist with handling the upscalling of resolution on iPhone - for "retina" displays. - - From Robert Osfield, changed Roni's code to use a #define - GETDEVICEPIXELRATIO to access the versioned Qt devicePixelRatio() - method to avoid duplication of the Qt version checking. - -2014-01-17 18:20 robert - - * src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp: Fixed warning - -2014-01-17 18:20 robert - - * src/osgDB/CMakeLists.txt: From Stephan Huber, fix for OSX build - issue - -2014-01-17 14:02 robert - - * src/osgQt/CMakeLists.txt: From Kristoger Tingdahl, "the patch I - sent to src/osgQt/CMakeModules.txt did not do the work on - windows. I have fixed that, and also made it more generic so - there is no special handling of qt5.2, but all qt5 are the same. - - I have tested this on: - - mac/qt5.2 - linux/qt5.2 - windows/qt5.2, and - mac/qt5.1 - - All platforms perform as expected. - - The previous fix removed the -f flag to the moc-pre-processor, - but on windows, it turned out that -f "osgQt/QGraphicsViewer" was - needed. - - This becomes an include-statement in the file generated by moc - which is needed for compiling it. I ask you consider this patch - for the trunk and the 3.2 branch. - - - Secondly, I wonder if it would be possible to apply my patch for - FindRSVG.cmake from 22nd November in the 3.2 branch. - - In short, the version of librsvg must be equal or higher to 2.35: - - PKG_CHECK_MODULES(RSVG librsvg-2.0>=2.35) - " - -2014-01-17 13:59 robert - - * include/osgGA/EventHandler, include/osgGA/GUIEventHandler: From - Jordi Torres, "We have a code using gcc with -Wextra flag and - using OSG as a third party library. It does not compile when - importing failing in EventHandler and - GUIEventHandler: - - .... - - GUIEventHandler: In copy constructor - 'osgGA::GUIEventHandler::GUIEventHandler(const - osgGA::GUIEventHandler&, const osg::CopyOp&)': - - /include/osgGA/GUIEventHandler:56:9: error: base class 'class - osg::Object' should be explicitly initialized in the copy - constructor [-Werror=extra] - - It seems the diamond problem: - - A = osg::Object - / \ - / \--> Virtual inheritance - B C - \ / - \ / - D = EventHandler - | - | - E = GUIEventHandler - - The most derived class(E) handles the instantiation of A - (osg::Object), but all have to be responsible in case they are - the ones instantiated. - - - In case A is not initialized in the copy constructor of derived - classes the default constructor will be called, which seems a - bug. - - I've added osg::Object to the initalization list of EventHandler - and GUIEventHandler copy constructors, because both classes are - instantiables. - " - -2014-01-17 13:54 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: From Jordi Torres, - "Fixed a typo in ReaderWriterCURL::ReaderWriterCURL() changed - Psuedo for Pseudo." - -2014-01-17 12:40 robert - - * src/osgVolume/VolumeScene.cpp: Fixed handling of background - colours. - -2014-01-16 17:26 robert - - * src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/VolumeScene.cpp: Removed old redundent TexGen - usage. - -2014-01-16 17:17 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - hull="hul-filename" property support to tag that can - used thus: - - - CardiacCT - - -2014-01-16 16:08 robert - - * include/osgVolume/MultipassTechnique, - include/osgVolume/VolumeScene, - src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/VolumeScene.cpp: Added support for controlling the - extents of the volume rendering by nesting the hull underneath - VolumeTile. Currently only supported by the new - osgVolume::MultipassTechnique +Tue, 31 Mar 2015 16:23:43 +0000 +Checked in by : Robert OSFIELD +Introduced osg::Camera::resize(..) method and associated enum thus: enum ResizeMask + { + RESIZE_VIEWPORT=1, + RESIZE_ATTACHMENTS=2, + RESIZE_PROJECTIONMATRIX=4, + RESIZE_DEFAULT=RESIZE_VIEWPORT|RESIZE_ATTACHMENTS + }; -2014-01-09 11:13 robert + /** Resize, to the specified width and height, the viewport, attachments and projection matrix according to the resizeMask provided. + * Note, the adjustment of the projection matrix is done if the RESIZE_PROJECTIONMATRIX mask to set and according to the rules specified in the ProjectionResizePolicy. */ + void resize(int width, int height, int resizeMask=RESIZE_DEFAULT); - * include/osg/GL: From Paul Martz, build fix for Windows GL3 build -2014-01-09 09:41 robert - * include/osgVolume/VolumeScene, src/osgVolume/VolumeScene.cpp: - Added per TileData RTT Camera in prep for rendering backface of - volume to a depth texture +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14811 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-08 15:56 robert - * src/osgVolume/VolumeScene.cpp: Changed near/far values to use - CullVisitor::value_type and use std::numeric_limits<>. +Tue, 31 Mar 2015 15:08:13 +0000 +Checked in by : Robert OSFIELD +Introduced Camera::resizeAttachments(int width, int height) to resize all the Texture and Image assigned the the Camera attachments.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14810 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-08 10:33 robert - * src/osgPlugins/dae/daeRMaterials.cpp: From Farshid Lashkari, - "I've attached a fix for the Collada loader that prevents a crash - with some files containing textures. I also converted an - OSG_NOTICE to OSG_INFO to be consistent with other log messages - within the loader." +Tue, 31 Mar 2015 10:41:33 +0000 +Checked in by : Robert OSFIELD +Refactor the RTT Camera resize code into a seperate Callback method in prep for this all being done by a single Camera API call.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14809 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-08 10:31 robert - * src/osgPlugins/dae/daeRMaterials.cpp: Removed more odd characters +Tue, 31 Mar 2015 10:36:38 +0000 +Checked in by : Robert OSFIELD +Added Camera::dirtyAttachmentMap(), Camera::s/getAttachmentMapModified() value and usage of this in RenderStage as a new mechanism for telling the rendering backend to update itself to reflect new values in the attachments such as new texture or image sizes.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14808 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-08 10:28 robert - * src/osgPlugins/dae/daeRMaterials.cpp: Removed more odd characters +Mon, 23 Mar 2015 11:36:02 +0000 +Checked in by : Robert OSFIELD +Added StatsHandler to osgtessellationshaders example to test out rendering bug associated with stats rendering.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14807 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-08 10:24 robert - * src/osgPlugins/dae/daeRMaterials.cpp: Removed odd characters +Fri, 20 Mar 2015 17:58:34 +0000 +Checked in by : Robert OSFIELD +Added event handle to alter the RTT Camera's dimensions to follow the windows resizes.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14806 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-08 10:16 robert - * include/osgManipulator/AntiSquish: Moved destructor to protected +Fri, 20 Mar 2015 15:49:12 +0000 +Checked in by : Robert OSFIELD +Fixed resize dimensions of X11 windowgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14805 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-07 19:06 robert - * include/osg/GL: Refined the GLint64 definitions +Fri, 20 Mar 2015 11:48:21 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, "Fix for Qt4 multi-threaded crash. This patch adds the AA_X11InitThreads flag to the QApplication setup, meaning QT will call XInitThreads for us. This also bumps the required QT version to 4.8+, because the AA_X11InitThreads flag was introduced in that version. If that is not acceptable, we could add a QT_VERSION >= 0x040800 guard, or manually call XInitThreads() instead. Let me know what you think."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14804 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-07 18:32 robert - * include/osg/Drawable, include/osg/State: Removed duplicated - instances of GLint64EXT declarations +Thu, 19 Mar 2015 10:49:17 +0000 +Checked in by : Robert OSFIELD +Added Texture wrap setting to CLAMP_TO_EDGE to fix rendering problem when running the default osgdistortion examplegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14803 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-07 16:43 robert - * CMakeModules/FindAsio.cmake, CMakeModules/FindZeroConf.cmake: - Removed execute properties via svn propdel svn:executable file +Tue, 17 Mar 2015 18:10:21 +0000 +Checked in by : Robert OSFIELD +Fixed VisualStudio warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14802 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-07 16:29 robert - * src/osgPlugins/dae/daeWTransforms.cpp: From Farshid Lashkari, - "I've attached a small change to the DAE writer to support - writing out unknown transform types. It will essentially treat it - as a matrix transform, using the the local to world matrix - value." +Tue, 17 Mar 2015 14:50:34 +0000 +Checked in by : Robert OSFIELD +From Konstantin Matveyev, "Added ComputeBoundingBoxCallback, ComputeBoundingSphereCallback and UpdateCallback implmenentations to serializers"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14801 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-07 16:18 robert - * include/OpenThreads/Version, src/OpenThreads/CMakeLists.txt: - Bumped SO_VERSION number of OpenThreads to avoid conflicts with - Debian SO_VERSION bump +Tue, 17 Mar 2015 09:40:31 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file for dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14800 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-07 16:15 robert - * examples/osgcomputeshaders/osgcomputeshaders.cpp: From Sebastian - Messerschmidt, "Original shader was not running on various NVidia - cards due to old syntax in shader." +Tue, 17 Mar 2015 09:09:10 +0000 +Checked in by : Robert OSFIELD +Fixed library wrappergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14798 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-07 11:01 robert - * include/osg/State: Added State::getMaxTextureCoords() and - State::getMaxTextureUnits() inline methods. +Tue, 17 Mar 2015 08:25:49 +0000 +Checked in by : Robert OSFIELD +Added ComputeBoundingSphereCallback referencegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14796 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-06 17:19 robert - * src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgWrappers/serializers/osg/Switch.cpp: Added support for - Switch::set/getValue() +Tue, 17 Mar 2015 08:24:01 +0000 +Checked in by : Robert OSFIELD +From Konstantin Matveyev, "More "LibraryWrapper" fixes for osg and osgAnimation NodeKits in the attachment (for 3.3.6 version :)Fixes: -2014-01-06 16:58 robert +osg: +Unsupported associated class osg::UpdateCallback (osg_Drawable_UpdateCallback); +ComputeBoundingBoxCallback - * src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/Group.cpp: Added - Group::setChild(..) and Geode::setDrawable(..) MethodObjects +osgAnimation: +Unsupported wrapper class osgAnimation::RigComputeBoundingBoxCallback +" -2014-01-06 15:46 robert - * src/osgPlugins/lua/GeodeMethods.cpp, - src/osgPlugins/lua/GroupMethods.cpp, - src/osgPlugins/lua/MethodObject.cpp, - src/osgPlugins/lua/MethodObject.h: Removed the prototype - MethodObject classes +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14795 16af8721-9629-0410-8352-f15c8da7e697 -2014-01-06 15:45 robert - * include/osgDB/ObjectWrapper, include/osgDB/PropertyInterface, - src/osgDB/ObjectWrapper.cpp, src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/CMakeLists.txt, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgPlugins/lua/MethodObject.h, - src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/Group.cpp: Moved - osgDB::MethodObject from lua plugin into osgDB, added support for - running methods via the osgDB::PropertyInterface class. - - Updated lua plugin to use new osgDB::PropertyInterface to run - methods. - - Added addChild/removeChild() etc to Group.cpp, and - addDrawable/removeDrawable() etc. to Geode.cpp serializers. - -2014-01-06 10:23 robert - - * CMakeModules/FindOSG.cmake: Renamed the OSGSIM cmake variable to - OSGSIM_LIBRARY to be consistent with the rest of the variables. - -2014-01-03 14:36 robert - - * src/osgPlugins/V8/V8ScriptEngine.cpp, - src/osgPlugins/V8/V8ScriptEngine.h, - src/osgPlugins/python/PythonScriptEngine.cpp, - src/osgPlugins/python/PythonScriptEngine.h: Fixed build of V8 and - Python plugins - -2013-12-25 17:36 robert - - * examples/osgpresentation/osgpresentation.cpp, - include/osg/ScriptEngine, include/osg/ValueObject, - src/osg/ScriptEngine.cpp, src/osgPlugins/lua/CMakeLists.txt, - src/osgPlugins/lua/GeodeMethods.cpp, - src/osgPlugins/lua/GroupMethods.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgPlugins/lua/MethodObject.cpp, - src/osgPlugins/lua/MethodObject.h, - src/osgPlugins/lua/ReaderWriterLua.cpp: Preliminary support for - wrapping methods in the lua script plugin. - -2013-12-20 09:57 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - tag to .p3d to allow one to provide multiple ways to - render children within a layer. - -2013-12-19 17:13 robert - - * src/osgQt/CMakeLists.txt: From Kristofer Tingdahl, "the syntax of - the moc executable has changed between 5.1.1 and 5.2.0 versions - of qt (see below). The difference is that the argument has - become mandatory after the -f option. - - Hence, moc will complain when osg throws in a -f without anything - after it. Hence I propose removing the -f on Qt5 builds. I have - tested building without -f on both qt520 and qt511, and that - works well. - - The attached src/osgQt/CMakeLists.txt that can be patched into - 3.2 safely. For the trunk, I would consider dropping the check on - the version, and simply remove the option on qt5. I have tested - that on qt5.1.1, and that worked fine. Question is however if it - works on qt5.0. Probably it does, so the question is simplicity - of CMakeList.txt vs safety." - -2013-12-19 15:10 robert - - * CMakeLists.txt: From Sylvain Marie, When compiling OSG for the - iOS simulator, providing both -miphoneos-version-min and - -mios-simulator-version-min doesn’t please clang (tested on OS X - 10.9.0 with Xcode 5.0.1). - Here is a small change (against commit - da597ab16945c572a2ad2f4f26fcef38ed21b074) in the CMakeLists.txt - to avoid this situation. - -2013-12-19 13:53 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp: From Michal Durkovic, - "I’m building current trunk on Mac OS X 10.9 and have encountered - this error during linking of osgdb_lua plugin: - - - - Undefined symbols for architecture x86_64: - - "lua::LuaScriptEngine::pushValue(osg::Quat const&) const", - referenced from: - - PushStackValueVisitor::apply(osg::Quat const&) in - LuaScriptEngine.o - - "lua::LuaScriptEngine::pushValue(osg::Plane const&) const", - referenced from: - - PushStackValueVisitor::apply(osg::Plane const&) in - LuaScriptEngine.o - - ld: symbol(s) not found for architecture x86_64 - - clang: error: linker command failed with exit code 1 (use -v to - see invocation) - - - - Looks like LuaScriptEngine was missing implementation of those 2 - member functions. Fixed src/osgPlugins/lua/LuaScriptEngine.cpp - file in attachment. - - " - -2013-12-19 13:49 robert - - * applications/present3D/deprecated/present3D.cpp, - include/osgPresentation/deprecated/SlideEventHandler, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/PickEventHandler.cpp, - src/osgPresentation/deprecated/SlideEventHandler.cpp: From - Stephan Hunber, "attached you’ll find some changes to osg/p3d: - - * a new command-line-option to present3d and a new option to the - p3d-plugin to suppress any found tags - * a new command-line-option to present3d to forward mouse-events - via osgGA::Device (defaults to off) so we can test the - interface-files with present3d better - * I added a new attribute forward_to_devices for click_to_event - to forward the event to all attached devices instead of handling - the event locally. This will fix the annoyance with the new - interface-files when toggling polygon-mode or switching light - on/off. - - Here’s an example: - - 0x72 - " - -2013-12-19 13:44 robert - - * src/osgDB/CMakeLists.txt, src/osgDB/FileUtils.cpp, - src/osgViewer/DarwinUtils.h, src/osgViewer/DarwinUtils.mm: From - Stephan Hunber, "I found some time and ported osgDB::FileUtils - and DarwinUtils across new apis to fix the warnings about - deprecated api-usage. - - * osgDB::FileUtils uses now the Cocoa-API to determine the paths - of the application-support-folder - * DarwinUtils uses now modern functions of the quartz-api to get - and set screen-resolutions. Removed some of the osg-deprecated - stuff. - " - -2013-12-19 10:02 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: - Implemented support for calling scripts from with Present3D. - -2013-12-17 12:18 robert - - * include/osgPresentation/deprecated/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - support for new osgVolume::MultiPassTechnique to Present3D. To - use add property renderer="MultiPass": - - MyVolumeData - -2013-12-17 10:52 robert - - * src/osgVolume/MultipassTechnique.cpp: Added experimental image 3d - downsample function. - -2013-12-16 11:28 robert - - * include/osg/Texture, src/osg/Texture.cpp: Removed the unused - Texture::Extensions::numTextureUnits() - -2013-12-13 12:38 robert - - * examples/osgvolume/osgvolume.cpp, - include/osgVolume/MultipassTechnique, src/osg/Program.cpp, - src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp: - Implemented ability to switch between different shaders with new - MultipassTechnique - -2013-12-12 09:53 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Property, - include/osgVolume/RayTracedTechnique, - include/osgVolume/VolumeTechnique, - src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp, - src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/VolumeTechnique.cpp: Added SampleRatioWhenMoving - property and support to new osgVolume::MultipassTechnique. - -2013-12-12 09:51 robert - - * src/osgViewer/Renderer.cpp: Applied unquie - CullVisitor::Identifier rather than reusing the cloned one. - -2013-12-11 17:20 robert - - * src/osgUtil/LineSegmentIntersector.cpp: Changed epsilon to 1e-5 - to address picking problems with planaer objects - -2013-12-11 12:00 robert - - * examples/osgvolume/osgvolume.cpp, - src/osgVolume/MultipassTechnique.cpp: Added initial support for - 1D transfer functions to MultipassTechnique - -2013-12-10 13:38 robert - - * include/osgVolume/VolumeScene, src/osgVolume/VolumeScene.cpp: - Added support for handling viewports with offset origins, and - with it split stereo. - -2013-12-10 10:43 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Property, - src/osgVolume/MultipassTechnique.cpp, src/osgVolume/Property.cpp: - Introduced SampleRatioValueProperty for more intuitive control of - how many samples to take when volume rendering - -2013-12-09 10:39 robert - - * src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/VolumeScene.cpp: Improvements to new - MultipassTechnique - -2013-12-06 19:31 robert - - * examples/osgvolume/osgvolume.cpp, include/osgUtil/CullVisitor, - include/osgVolume/Locator, include/osgVolume/VolumeScene, - src/osgVolume/Locator.cpp, src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/VolumeScene.cpp: Further work on new - MultipassTechnique/VolumeScene. - -2013-12-06 09:35 robert - - * src/osgPlugins/freetype/FreeTypeFont.cpp: From Mike Krus, compile - fix to enable compiling across a wider set of versions. - -2013-11-26 19:03 robert - - * include/osgVolume/VolumeScene, - src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/VolumeScene.cpp: Added support for using shaders to - render the RTT textures with depth - -2013-11-26 10:38 robert - - * include/osgDB/ReadFile, src/osgVolume/RayTracedTechnique.cpp: - Replaced readShaderFile() usage to readRefShaderFile() - -2013-11-25 17:36 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/VolumeScene, - src/osgVolume/VolumeScene.cpp: Added initial render to texture - functionality into osgVolume::VolumeScene - -2013-11-22 10:27 robert - - * src/osg/glu/libutil/mipmap.cpp, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Warning fixes - -2013-11-22 09:48 robert - - * CMakeModules/FindRSVG.cmake, include/osg/ValueObject: From - Kristofer Tingdahl, Build fix for svg plugin that makes sure the - version of librsvg is at sufficient, and fixed a missing virtual - destructor warning. - -2013-11-22 09:38 robert - - * include/osg/ScriptEngine, include/osgPresentation/Cursor, - include/osgPresentation/deprecated/Timeout, - include/osgShadow/ShadowSettings, include/osgViewer/Keystone, - src/osg/glu/libutil/error.cpp, src/osgPresentation/Group.cpp, - src/osgViewer/config/WoWVxDisplay.cpp: Removed trailing spaces, - added missing return to last lines - -2013-11-21 18:17 robert - - * examples/osgvolume/osgvolume.cpp, - include/osgVolume/MultipassTechnique, - include/osgVolume/VolumeScene, src/osgVolume/CMakeLists.txt, - src/osgVolume/MultipassTechnique.cpp, - src/osgVolume/VolumeScene.cpp: Added new osgVolume::VolumeScene - and osgVolume::MultipassTechnique class shells that will be - filled out to provide multi-pass volume rendering that handles - mixing of - 3D meshes with volume rendering and segmentation of volumes via a - user defined hull mesh. - -2013-11-21 14:21 robert - - * include/osgGA/GUIEventHandler, src/osgGA/GUIEventHandler.cpp: - From Stephan Huber, "CLang / LLVM on OS X seems to have a problem - compiling the osgGA-serializer. (It was reported before on the - list, but the error is hard to track as it shows up only - sometimes) - - I fixed the compile-error with a dedicated destructor of - osgGA::GUIEventHandler" - -2013-11-21 14:08 robert - - * src/osgDB/InputStream.cpp, src/osgPlugins/ive/Image.cpp: From - Farshid Lashkari, " recently encountered an issue attempting to - load an IVE file generated by an older version of OSG. The file - contained dxt1 compressed image data with mipmaps. The loaded - model would cause crashes when passing the mipmap data to - glCompressedTexImage2D. It seems that the size of the data array - within the IVE file did not match the computed size from - Image::getTotalSizeInBytesIncludingMipmaps(). This essentially - made the mipmap offsets invalid within the Image object. - - I'm not sure if the IVE was simply generated incorrectly, or if - the Image::getTotalSizeInBytesIncludingMipmaps() was modified - since the file was generated. Either way, I added a simple check - in the IVE loader so that it clears the mipmap offsets if the - actual data size does not match the computed data size. This - seems like a safe fallback since the mipmap data can be - automatically generated, and it fixes the problem in my case. - - Also, while looking into this issue, I noticed that the - osgDB::InputStream class applies the serialized image allocation - mode. However, since the serializer is allocating the image data - itself, it seems like it should force the allocation mode to - USE_NEW_DELETE. - " - -2013-11-21 13:59 robert - - * src/osgDB/InputStream.cpp, src/osgPlugins/ive/Image.cpp: From - Farshid Lashkari, "I recently encountered an issue attempting to - load an IVE file generated by an older version of OSG. The file - contained dxt1 compressed image data with mipmaps. The loaded - model would cause crashes when passing the mipmap data to - glCompressedTexImage2D. It seems that the size of the data array - within the IVE file did not match the computed size from - Image::getTotalSizeInBytesIncludingMipmaps(). This essentially - made the mipmap offsets invalid within the Image object. - - I'm not sure if the IVE was simply generated incorrectly, or if - the Image::getTotalSizeInBytesIncludingMipmaps() was modified - since the file was generated. Either way, I added a simple check - in the IVE loader so that it clears the mipmap offsets if the - actual data size does not match the computed data size. This - seems like a safe fallback since the mipmap data can be - automatically generated, and it fixes the problem in my case. - - Also, while looking into this issue, I noticed that the - osgDB::InputStream class applies the serialized image allocation - mode. However, since the serializer is allocating the image data - itself, it seems like it should force the allocation mode to - USE_NEW_DELETE. - " - -2013-11-21 11:02 robert - - * src/osgText/Glyph.cpp: Converted std::max to osg::maximum to fix - VS2013 build error - -2013-11-21 10:31 robert - - * include/osg/Geometry, src/osg/Geometry.cpp: Added - Geometry::drawVertexArraysomplemetation(..) and - drawPrimitivesImplemenation(..) methods that are called from - drawImplementation(..). These new vertex methods - allow subclasses from osg::Geometry to specialize the vertex - array setup or how the primitives are dispatched to OpenGL. - -2013-11-18 14:21 robert - - * CMakeModules/CheckAtomicOps.cmake, - examples/osgviewerIPhone/iphoneViewerAppDelegate.h, - src/osgViewer/GraphicsWindowIOS.mm: From Stephan Huber, "minor - ios-fixes/-enhancements - - * force _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC for IOS device + - simulator as the test does not pick the right implementation - * fixed a small compile-bug for iphone-example - * added a check to prevent multiple realization of a - GraphicsWindowIOS-object - " - -2013-11-18 13:31 robert - - * include/osg/Image: From Stephan Huber, compile fix for OpenGL ES - on iOS. - -2013-11-18 13:25 robert - - * examples/osgmultitouch/osgmultitouch.cpp, - examples/osgoscdevice/osgoscdevice.cpp, - include/osgGA/GUIEventAdapter, - include/osgGA/MultiTouchTrackballManipulator, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/OscReceivingDevice.hpp, - src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.hpp, - src/osgPlugins/osc/ReaderWriterOscDevice.cpp, - src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, * - GUIEventAdapter: add support for getting normalized touch points - * MultiTouchTrackball: some code cleanup and support for - normalized touch-points - * oscdevice: receiving and sending multi-touch-events via the - Cursor2D-profile from TUIO - * added some documentation - -2013-11-18 12:46 robert - - * examples/osgtransferfunction/CMakeLists.txt, - examples/osgtransferfunction/TransferFunctionWidget.cpp, - examples/osgtransferfunction/TransferFunctionWidget.h, - examples/osgtransferfunction/Widget.cpp, - examples/osgtransferfunction/Widget.h, - examples/osgtransferfunction/osgtransferfunction.cpp: Added - panning and zooming functionality to transfer function UI - prototype code. - -2013-11-18 12:45 robert - - * include/osg/BoundingBox: Added BoundingBox::contains(const - vec_type& v, value_type epsilon) method with new epsilon - parameter to make it easier to test for containment in the - presence of numerical errors - -2013-11-15 16:15 robert - - * include/osgGA/CameraManipulator, include/osgGA/Event, - include/osgGA/GUIEventAdapter, - include/osgGA/KeySwitchMatrixManipulator, src/osgGA/Event.cpp, - src/osgGA/GUIEventAdapter.cpp, - src/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgGA/StandardManipulator.cpp: Moved Handled propety from - GUIEventAdapter to Event base class. - - Added CameraManipulator::finishAnimation() method to allow - application code to stop any animation/throw of manipulators. - -2013-11-12 14:21 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Restored the - rescaleToZeroToOneRange() to address rendering issues. - -2013-11-11 10:55 robert - - * src/osgPresentation/deprecated/SlideShowConstructor.cpp: Removed - unused variables +Tue, 17 Mar 2015 08:19:05 +0000 +Checked in by : Robert OSFIELD +Changed to using osgDB::ofstream to work around Windows build issuegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14794 16af8721-9629-0410-8352-f15c8da7e697 -2013-11-08 12:28 robert - * examples/osgoscdevice/osgoscdevice.cpp, - src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, - src/osgPlugins/ZeroConfDevice/ReaderWriterZeroConfDevice.cpp, - src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/OscReceivingDevice.hpp, - src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.hpp: From Stepan Huber, - "attached are my changes for the osc, zeroconf and - resthttp-plugin to use the new event-class. I refactored the - osgoscdevice-example so that it’s working again. " - -2013-11-08 12:26 robert - - * examples/osgtransferfunction/osgtransferfunction.cpp: Added - support for assinging and display transfer functions - -2013-11-08 12:25 robert - - * src/osgUtil/LineSegmentIntersector.cpp: Quietened down debug - messages - -2013-11-07 12:37 robert - - * src/osgViewer/Viewer.cpp: Changed the LineSegmentIntersector to - RayIntersector to provide more reliable intersections with flat - meshes. - -2013-11-07 12:35 robert - - * include/osgUtil/IntersectionVisitor, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgUtil/RayIntersector.cpp: Added - osgUtil::Intersector::PrecisionHint member and set it's default - to USE_DOUBLE_COMPUTATIONS, and implemented support for use - double or float maths internally in LineSegmentIntersector and - RayIntersector classes - -2013-11-06 09:50 robert - - * examples/osgtransferfunction/osgtransferfunction.cpp: Re-enabled - the disable of the transfer function - -2013-11-06 09:49 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Fixed handling of - web cams - -2013-11-06 09:23 robert +Mon, 16 Mar 2015 17:01:57 +0000 +Checked in by : Robert OSFIELD +Removed unneccessary library link line.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14793 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgvolume/osgvolume.cpp, include/osg/ImageUtils, - include/osg/io_utils, src/osg/ImageUtils.cpp, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/Layer.cpp: Introduced a cast(T) method into the - ImageUtils template functor to allow code reading images to - handle casting from source data to a form that a user can use - more conviently -2013-11-06 09:20 robert +Mon, 16 Mar 2015 14:16:52 +0000 +Checked in by : Robert OSFIELD +Removed the using namespace std and replaced with local std:: to make the code clearergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14792 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: Restructed the call to - avformat_open_input to provide more information. -2013-11-05 15:23 robert +Mon, 16 Mar 2015 12:13:44 +0000 +Checked in by : Robert OSFIELD +Refactored the command line setup to enable better control of set up. Added WindowSizeHandler to allow for adjustment of window size.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14791 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/Texture.cpp: Fixed typo -2013-11-01 14:40 robert +Mon, 16 Mar 2015 10:30:18 +0000 +Checked in by : Robert OSFIELD +From Konstantin Matveyev, "Last update in the osgAnimation::Animation ONCE mode bug fix"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14789 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake: From Stephan - Huber, "Build Problem with osgGA at MacOS with Xcode - 5"..."attached you'll find a possible solution for the issue. - This will add a new option to cmake called - OSG_CXX_LANGUAGE_STANDARD which defaults to C++11. If you set it - to C++98 it will setup the project accordingly." -2013-10-28 17:46 robert +Mon, 16 Mar 2015 10:07:13 +0000 +Checked in by : Robert OSFIELD +Added --play-mode [ONCE, STAY, LOOP, PPONG] to help with testing.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14788 16af8721-9629-0410-8352-f15c8da7e697 - * examples/CMakeLists.txt, examples/osgtransferfunction, - examples/osgtransferfunction/CMakeLists.txt, - examples/osgtransferfunction/osgtransferfunction.cpp: Added - initial shell of new osgtransferfunction example that will be - tested bed for upcomming transfer function editing UI. -2013-10-28 12:03 robert +Fri, 13 Mar 2015 08:12:26 +0000 +Checked in by : Robert OSFIELD +From Konstantin Matveyev, "Small fix for OSG 3.3.6.119 in the attachment.One line added in osg/LibraryWrapper.cpp - * include/osg/Image, include/osg/Texture, src/osg/Image.cpp, - src/osg/Texture.cpp, src/osgDB/ObjectWrapper.cpp: From Likasz - Izebski, "added support for etc2/eac compression" +USE_SERIALIZER_WRAPPER(Callback) +" -2013-10-25 15:47 robert - * src/osgViewer/Keystone.cpp: Added explict setting of the - PolygonMode to over the distion mesh being toggled to wireframe. -2013-10-25 14:54 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14786 16af8721-9629-0410-8352-f15c8da7e697 - * applications/present3D/deprecated/Cluster.cpp, - applications/present3D/deprecated/PointsEventHandler.cpp, - applications/present3D/deprecated/PointsEventHandler.h, - applications/present3D/deprecated/ShowEventHandler.cpp, - applications/present3D/deprecated/ShowEventHandler.h, - examples/osganimationtimeline/osganimationtimeline.cpp, - examples/osgcluster/osgcluster.cpp, - include/osgGA/CameraManipulator, include/osgGA/Device, - include/osgGA/Event, include/osgGA/EventHandler, - include/osgGA/EventQueue, include/osgGA/EventVisitor, - include/osgGA/GUIEventAdapter, include/osgGA/GUIEventHandler, - include/osgPresentation/deprecated/KeyEventHandler, - include/osgPresentation/deprecated/PickEventHandler, - include/osgPresentation/deprecated/SlideEventHandler, - include/osgViewer/View, src/osgDB/PropertyInterface.cpp, - src/osgGA/CMakeLists.txt, src/osgGA/Device.cpp, - src/osgGA/Event.cpp, src/osgGA/EventHandler.cpp, - src/osgGA/EventQueue.cpp, src/osgGA/EventVisitor.cpp, - src/osgGA/GUIEventAdapter.cpp, src/osgGA/GUIEventHandler.cpp, - src/osgManipulator/Dragger.cpp, src/osgPresentation/Cursor.cpp, - src/osgPresentation/deprecated/KeyEventHandler.cpp, - src/osgPresentation/deprecated/PickEventHandler.cpp, - src/osgPresentation/deprecated/SlideEventHandler.cpp, - src/osgPresentation/deprecated/Timeout.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Introduce new osgGA::Event and - osgGA::EventHandler base classes that the old GUIEventAdapter and - GUIEventHandler now subclass from. - - The new osgGA::Event is written to support more generic events - than the original GUIEventAdapter which are written for keyboard - and mouse events. -2013-10-25 14:46 robert +Thu, 12 Mar 2015 17:11:11 +0000 +Checked in by : Robert OSFIELD +Refactored how the callbacks for updating geometry are managed in MorphGeometry and RigGeometry to address bugs in serialization.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14784 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt: Remoed -fpermissive -2013-10-25 09:02 robert +Thu, 12 Mar 2015 15:12:29 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "attached is a zip with a modified version of: OpenSceneGraph\CMakeModules\FindFBX.cmakeThis version can find fbx sdk 2015.1 and will prefer it over older versions. - * src/osgWrappers/serializers/osg/Geometry.cpp: Fixed warning - -2013-10-24 20:22 robert - - * examples/osghangglide/terrain.cpp: Fixed warning - -2013-10-24 19:56 robert - - * src/osgPlugins/pdf/ReaderWriterPDF.cpp: Removed depreated glib - call - -2013-10-24 19:32 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Fixed FileInfo self - intialization bug - -2013-10-24 17:43 robert - - * src/osgManipulator/ScaleAxisDragger.cpp, - src/osgManipulator/TrackballDragger.cpp, - src/osgManipulator/TranslateAxisDragger.cpp: Fixed build problems - with the OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off - -2013-10-24 12:15 robert - - * applications/present3D/deprecated/present3D.cpp: From Stephan - Huber, "attached you’ll find a small enhancement for present3d. - Now you can get advanced help via —help-all etc (similar to - osgviewer)" - -2013-10-24 10:10 robert - - * src/osgViewer/DarwinUtils.h, src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, add - support for controlling the OSXMenubarBehavior set by - DisplaySettings. - -2013-10-24 09:06 robert +Tested with Visual Studio Express 2013 on 64bit windows 7" - * src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h: Cleaned up - addChild/getChild/setChild/getNumChildren methods and added - readNodeFile, readImageFile and readObjectFile functions -2013-10-23 16:17 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14782 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/ReaderWriterLua.cpp: Added support for - Group::addChild/setChild/getChild/getNumChildren. -2013-10-22 19:12 robert +Thu, 12 Mar 2015 13:41:00 +0000 +Checked in by : Robert OSFIELD +From Mattias Helsing, add copyright notice from other osgjs header to the json_stream headergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14781 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/DisplaySettings, include/osg/GraphicsContext, - src/osg/DisplaySettings.cpp, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/Viewer.cpp: Merged changes to DisplaySettings from - Stephan Huber in prep for controlling the menu hiding behaviour - under OSX. - - Added new WindowSystemInterface::setDisplaySettings() method to - provide a mechanism for passing settings onto the - WindowSystemInterface so it can then set up the system - appropriately. - - Added assignment of the DisplaySettings to the - WindowSystemInterface in Viewer/ComppsiteViewer::realize(). - -2013-10-22 18:58 robert - - * src/osg/Texture.cpp: Preliminary remapping of internalFormat for - GL3 core profile - -2013-10-22 16:28 robert - - * src/osgPlugins/svg/ReaderWriterSVG.cpp: Fixed warnings - -2013-10-22 11:32 robert - - * src/osgPlugins/osg/ReaderWriterOSG2.cpp: From Colin McDonald, - "The osgt/osgb file formats output a scenegraph node with the - type - set to "SCENE" in the file header. But if the file is stored and - then extracted again from an osga archive this header info is - lost, - and the resulting file is just an "OBJECT". Possibly other plugin - operations would have the same effect. The osgt/osgb plugin won't - then return the scenegraph contents. - - I have updated the osgt/osgb plugin to return a node from an - "OBJECT" - file." -2013-10-22 11:26 robert +Thu, 12 Mar 2015 13:37:08 +0000 +Checked in by : Robert OSFIELD +Added using namespace std and removed the std:: prefixes before the std::isfinte and std::isinf function calls to avoid problems with Android builds against older NDK's.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14780 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/osga/OSGA_Archive.cpp: From Colin McDonald, "The - osgb file reader uses seek to position within the file. - But the nested stream implementation for osga archive files - doesn't - support seeking. So osgb files can't currently be used in an osga - archive e.g. if osgdem is used to output a osgb format database - it - can't be packaged in an archive file, in the same manner that ive - files could. - - I've added seek support to the osga nested stream - implementation." -2013-10-22 11:18 robert +Wed, 11 Mar 2015 17:47:08 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, warning fixesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14778 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/State.cpp: Fixed handling of osg::Program so that it's - not overriden by shader composition when enabled -2013-10-21 16:35 robert +Wed, 11 Mar 2015 17:36:45 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "The current version will not compile with SDL version 2, error OpenSceneGraph\src\osgPlugins\sdl\JoystickDevice.cpp(42): error C2664: 'const char *SDL_JoystickName(SDL_Joystick *)' : cannot convert argument 1 from 'int' to 'SDL_Joystick *' due to changes in the SDL api.Tested with Visual Studio Express 2013; SDL 2.0.1" - * include/osg/ShaderComposer, include/osg/State, - src/osg/GraphicsContext.cpp, src/osg/ShaderComposer.cpp, - src/osg/State.cpp: Added State::releaseGLObjects() and - ShaderComposer::releaseGLObjects() to avoid problems with cleanup - of graphics context - -2013-10-21 09:54 robert - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPlugins/vtf/ReaderWriterVTF.cpp, - src/osgPlugins/x/directx.cpp: Build fixes for clang - -2013-10-18 09:57 robert - - * src/osgPlugins/dae/daeReader.cpp: From Farshid Lashkari, - "previously discussed change to the dae loader which applies the - node ID as a "dae_node_id" user value." - -2013-10-18 08:37 robert - - * include/osg/Node: From Vladimir Chebeav, fix for removal of - nested callbacks - -2013-10-18 07:55 robert - - * src/osgPlugins/fbx/fbxRLight.cpp: From Konstantin Matveyev, - "Multiple light fix in FBX-importer" - -2013-10-18 07:52 robert - - * src/osgWrappers/serializers/osg/LibraryWrapper.cpp: From Colin - McDonald, "Some missing updates to the serializer static build - support." - -2013-10-18 07:31 robert - - * examples/osgmanipulator/osgmanipulator.cpp, - include/osgManipulator/ScaleAxisDragger, - include/osgManipulator/TrackballDragger, - include/osgManipulator/TranslateAxisDragger, - src/osgManipulator/ScaleAxisDragger.cpp, - src/osgManipulator/TrackballDragger.cpp, - src/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/serializers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TranslateAxisDragger.cpp: - 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-17 18:29 robert - - * src/osg/Program.cpp: Fix for error in getting the uniform block - max name length, fix suggested by Christopher Fennell. - -2013-10-17 14:02 robert - - * examples/osgviewerCocoa/CMakeLists.txt, - examples/osgviewerCocoa/main.m, examples/osgviewerCocoa/main.mm: - From Stephan Huber, build fix - -2013-10-10 20:43 robert - - * include/osgDB/Serializer, src/osgDB/PropertyInterface.cpp: Added - set/get to the ImageSerializer and removed some redudent comments - -2013-10-10 20:42 robert - - * src/osgAnimation/RigTransformHardware.cpp: From Pjotr Svetachov, - "With the new osg::Geometry the binding for arrays now default to - undefined. This breaks previously working code in - osgAnimation::RigTransformHardware where the arrays got an - undefined bounding and because of this the bone indices and - weights were not loaded by the shader. Here is a little patch to - fix this." - -2013-10-10 14:45 robert - - * include/osg/AudioStream, include/osg/CollectOccludersVisitor: - From Laurens Voerman, compile fix for VisualStudio - -2013-10-10 14:41 robert - - * CMakeModules/FindLua52.cmake: Laurens Voerman, "my cmake - (2.8.10.2 generating for Visual Studio 11 Win64) doesn't like - include(${CMAKE_MODULE_PATH}/FindPackageHandleStandardArgs.cmake) - in CMakeModules/FindLua52.cmake - changing to a more common - include(FindPackageHandleStandardArgs) - solves my problem." - -2013-10-10 09:28 robert - - * include/osgDB/Serializer, src/osgDB/PropertyInterface.cpp: Added - get/set method to Serializer to allow pointer passing without - going through InputStream/OutputStream. - -2013-10-09 15:32 robert - - * include/osgDB/PropertyInterface, src/osgDB/PropertyInterface.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgPlugins/lua/ReaderWriterLua.cpp: Implemented preliminary - readNode/readImage support in the lua plugin allow a lua script - to create a scene graph as return it. - -2013-10-07 10:05 robert - - * CMakeLists.txt, CMakeModules/FindAVFoundation.cmake, - CMakeModules/OsgMacroUtils.cmake, - examples/osgviewerIPhone/CMakeLists.txt, - examples/osgviewerIPhone/iphoneViewerAppDelegate.h, - examples/osgviewerIPhone/iphoneViewerAppDelegate.mm, - examples/osgviewerIPhone/osgPlugins.h, - src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, - src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp, - src/osgPlugins/ZeroConfDevice/AutoDiscoveryBonjourImpl.mm, - src/osgPlugins/avfoundation/CMakeLists.txt, - src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/GraphicsWindowIOS.mm: From Stephan Huber, "attached - you’ll find a bunch of fixes + enhancements for iOS and OS X - based on current trunk. I incorporated + tested the submission - from Colin Cochran, so his submission is not needed anymore. - - * fixed a bug with multi-touch and touch-id-generation on iOS and - OS X. (will fix a bug reported by Colin Cochran, without ditching - the existing logic) - * removed unnecessary warning-flagss when generating - xcode-projects via cmake, will enable the usage of - OSG_AGGRESSIVE_WARNING_FLAGS - * added support for 10.9 (OS X) - * new cmake-variable: IPHONE_VERSION_MIN, this will set the - deployment-target (previously hard-coded) If you set the - IPHONE_VERSION_MIN to something like 7.0 osg gets compiled also - for 64bit (amd64) - * cmake defaults now to the clang compiler if IPHONE_VERSION_MIN - > 4.2 - * cmake now sets some xcode-settings so the compiler uses the - c++98-standard (clang defaults to c++11, w/o this I got a lot of - linking errors) - * removed include-dir for avfoundation-plugin as not needed on - OSX/IOS. - * enhanced the ios-example, will now show multitouch-information - on a hud (similar to the osgmultitouch-example), and more - importantly, will compile + link out of the box - * small enhancements for the osc-device-plugin (send only one msg - for MOVE/DRAG, even if multiple msgs/event is enabled) - * better memory-handling for the zeroconf-plugin - * fixed a possible bug in the rest-http-plugin when receiving - mouse-events. - * incorporated a fix from Colin Cochran "forwarded touch events - are not transformed into the GL UIView“ - " - -2013-10-07 09:33 robert - - * CMakeModules/FindAVFoundation.cmake, - CMakeModules/OsgMacroUtils.cmake: Cleaned up line endings - -2013-10-04 20:42 robert - - * CMakeLists.txt, src/osgPlugins/lua/LuaScriptEngine.cpp: Added - support for automatically select Lua 5.2 is it's available, then - falling back to checking for Lua 5.1 otherwise. - -2013-10-04 19:48 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp: Moved code across to use - lua_userdata to manage pointer to osg::Object that is - ref()/unref() - -2013-10-04 16:30 robert - - * CMakeModules/FindLua52.cmake, - examples/osgpresentation/osgpresentation.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h: Added support for Lua 5.2 - and osg::Object creation from within Lua scripts. - -2013-10-04 16:29 robert - - * include/osgDB/PropertyInterface, src/osgDB/PropertyInterface.cpp: - Added createObject() interface - -2013-10-04 16:28 robert - - * CMakeLists.txt, include/osg/Version: Updated version number after - 3.3.0 dev release - -2013-10-03 16:20 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Fixed errors in Contributors list - -2013-10-03 08:45 robert - - * include/osgUtil/IntersectionVisitor, - include/osgUtil/LineSegmentIntersector, - include/osgUtil/RayIntersector, src/osgUtil/CMakeLists.txt, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgUtil/RayIntersector.cpp: From Jan Peciva, RayIntersector - implementation - -2013-10-02 13:59 robert - - * include/osgDB/ObjectWrapper, src/osgDB/InputStream.cpp, - src/osgDB/ObjectWrapper.cpp: From Colin McDonald and Robert - Osfield, "When a serializer shared library is loaded it registers - all of - the wrappers it contains. The registration creates a prototype - object for all of the wrapped classes. For some of the - higher-level - classes this can be a bit heavy. - - I noticed a problem with a model which required a single class - from - osgSim. When osgdb_serializers_osgsim.so was loaded it registered - wrappers and created prototype objects for all of the osgSim - classes, - including osgSim::ScalarBar. The constructor for that class - creates - several drawables, and loads arial.ttf using the freetype plugin. - I - don't need that, and don't even ship the font or plugin with my - application, resulting in an unexplained warning message loading - the model. - - I've modified the ObjectWrapper class to defer the prototype - object - creation until if & when actually required." - -2013-10-02 11:29 robert - - * src/osgPlugins/osc/osc/OscHostEndianness.h: From Dmitry - Marakasov, "These are FreeBSD bits for - src/osgPlugins/osc/osc/OscHostEndianness.h, - required to build newever OSG on this OS. Also corrects file name - in the error message - I was confused not to find - OSCHostEndianness.h - after I've got this error. - - Tested by successfully building OSG 3.2.0 with this patch on - FreeBSD - 9.1." - -2013-10-02 11:28 robert - - * include/osg/State: Re-ordered the public/protected sections to - keep the public section all together - -2013-10-02 11:09 robert - - * src/osgPlugins/stl/ReaderWriterSTL.cpp: From Björn Hein, "it - seems that for generating "per vertex normals" as stated in the - comment, two of them are missing. This results in wrong display - of - STL-files regarding normals. Following simple fix seems to work: - - Index: ReaderWriterSTL.cpp - =================================================================== - --- ReaderWriterSTL.cpp (Revision 13797) - +++ ReaderWriterSTL.cpp (Arbeitskopie) - @@ -108,6 +108,8 @@ - ++itr) - { - perVertexNormals->push_back(*itr); - + perVertexNormals->push_back(*itr); - + perVertexNormals->push_back(*itr); - } - - geom->setNormalArray(perVertexNormals.get(), - osg::Array::BIND_PER_VERTEX); - " - -2013-10-01 19:34 robert - - * src/osgPresentation/Cursor.cpp, src/osgPresentation/Image.cpp, - src/osgPresentation/Movie.cpp: Fixed build with no automatic - ref_ptr<> conversion - -2013-10-01 19:31 robert - - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - AUTHORS files - -2013-10-01 19:00 robert - - * ChangeLog: Updated ChangeLog in prep for dev release - -2013-10-01 17:01 robert - - * include/osg/State: From Aurelien Albert, "I'm working with OSG - and a customer low-level OpenGL library. - - To make easier "lazy apply" on the customer OpenGL shaders, the - easiest way was to add an accessor to current OSG state's - UniformMap. - - I've also added accessors for modes and texture, since it could - be usefull in the same way. - - All methods are const, so I think there is no side-effects." - -2013-10-01 16:20 robert - - * src/osgAnimation/LinkVisitor.cpp, - src/osgAnimation/RigGeometry.cpp: From Björn Blissing, "I propose - making the following outputs a little bit more silent. In my mind - it would suffice with OSG_DEBUG (compared to OSG_NOTICE) for - these information messages." - -2013-10-01 09:37 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: From Christopher - Baker, submitted by Alberto Luacas, "there is a bug report in the - Ubuntu tracker that points to a bug when - loading multiple VRML files in parallel. Christopher R. Baker has - detected this bug and crafted a patch. In addition, libcoin has - to be - also built with the "--enable-threadsafe" option. - - I copy here his report, extracted from - (https://bugs.launchpad.net/ubuntu/+source/openscenegraph/+bug/1211993) - and attach his fix. All credit is due to him: - - « - There are three instances of a classical method-local-static - multithreaded initialization bug in the Inventor plugin for OSG - that - trigger various memory faults when reading multiple VRML files in - parallel via osgDB::readNodeFile. These bugs are of the form: - - static std::map myHandyMap; - static bool once = true; - if(once) { ...fill myHandyMap; once = false } - ... use myHandyMap; - - To repeat: try loading multiple VRML files from multiple threads. - The - liklihood of the bug depends on many factors, but my application, - which - parallel-loads some dozens of small (<100K) VRML files on - startup, - triggers this problem 25% of the time or more. - - The attached patch (inventor-plugin-multithread.patch) rectifies - this - problem by: - - 1 - Inheriting MyHandyMap from std::map, then - 2 - Moving the map initialization into the derived constructor, - which - 3 - Is intrinsically protected from multithread issues by g++ - (and is - part of the C++ standard), unless you pass - -fno-threadsafe-statics, - which is strongly discouraged by the man page. - » - " - -2013-10-01 09:11 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Adrien Grandemange, - "On Windows 7 and 8, mouse messages are generated in addition to - touch messages, which leads to duplicate PUSH, DRAG and RELEASE - events in OSG. Besides, the mouse and touch messages referring to - the same user input are not necessarily sent at the same time, - due to gesture translation done by Windows by default, such as - double-tap => double-click and long-push => right-click. - The delay between the 2 types of messages is more noticeable on - Windows 8 and leads to serious disruptions in our application. - - Mouse messages generated by touch input are only present for - legacy support. I think they should be filtered out by OSG (real - click events originating from a physical mouse will of course - still go through). - - This is what this patch does, according to this suggestion: - http://msdn.microsoft.com/en-us/library/dd693088%28v=VS.85%29.aspx - (third issue in this page)." - -2013-10-01 09:05 robert - - * src/osg/PointSprite.cpp: From Thomas Hogarth, "Attached is a - small build fix for PointSprite when compiling under GLES2 - (r13788) - - GL_POINT_SPRITE_OES does not exist in GLES2, instead you just - draw using GL_POINTS then use gl_PointSize in a vertex shader to - set the size." - -2013-09-30 18:32 robert - - * src/osgPlugins/avfoundation/CMakeLists.txt, - src/osgPlugins/avfoundation/OSXAVFoundationCoreVideoTexture.cpp, - src/osgPlugins/avfoundation/OSXAVFoundationCoreVideoTexture.h, - src/osgPlugins/avfoundation/OSXAvFoundationCoreVideoTexture.cpp, - src/osgPlugins/avfoundation/OSXAvFoundationCoreVideoTexture.h: - From Jeffrey Kinross, "I ran into an issue with case sensitivity - on OS X and the OSXAVFoundation code. - In CMakeList.txt there is a case sensitivity issue which a fix - was posted by Robert Osfield in the users forum. - - I also had to rename the files OSXAvFoundationCoreVideoTexture.h - and OSXAvFoundationCoreVideoTexture.cpp to - OSXAVFoundationCoreVideoTexture.h and - OSXAVFoundationCoreVideoTexture.cpp - - Finally in OSXAvFoundationCoreVideoTexture.cpp the include - OSXAVFoundationVideo.H was updated to OSXAVFoundationVideo.h" - -2013-09-30 18:15 robert - - * src/osg/StateSet.cpp: From Farshid Lashkari, "I have a scene that - makes heavy use of the StateSet::compare method and my profiler - showed that a lot of time was being spent inside it. I made a - small change to the method so that it performs a quick size - comparison between the attribute/mode lists and bin mode before - iterating through all the attributes. This made a noticeable - improvement in my scene. I've attached the change." - -2013-09-30 10:28 robert - - * src/osgUtil/LineSegmentIntersector.cpp: - -2013-09-27 18:43 robert - - * src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h: Unified Vec/Plane/Quat - handling code. - -2013-09-27 13:04 robert - - * examples/osgpresentation/osgpresentation.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h: Added support for getting - Vec* and Matrix objects from Lua stack and assigning them as OSG - object properties. - -2013-09-26 17:27 robert - - * examples/osgpresentation/osgpresentation.cpp, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h: Initial cut of setting and - getting osg::Object properties within Lua scripts - -2013-09-24 15:17 robert - - * examples/osgpresentation/osgpresentation.cpp, - include/osg/ScriptEngine, src/osg/ScriptEngine.cpp, - src/osgPlugins/V8/V8ScriptEngine.cpp, - src/osgPlugins/V8/V8ScriptEngine.h, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgPlugins/python/PythonScriptEngine.cpp, - src/osgPlugins/python/PythonScriptEngine.h, - src/osgUtil/CullVisitor.cpp: Added support for passing parameters - in and out of scripts. - - Implemented support for osg::ValueObject in LuaScriptEngine. - -2013-09-24 15:08 robert - - * examples/osgsidebyside/osgsidebyside.cpp, - include/osg/NodeVisitor, src/osg/KdTree.cpp, - src/osg/NodeVisitor.cpp: 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 08:56 robert - - * include/osgUtil/LineSegmentIntersector: Removed redundent spaces - -2013-09-23 14:10 robert - - * examples/osgpresentation/osgpresentation.cpp: Added test for - osgGA::GUIEventAdapter - -2013-09-20 15:43 robert - - * src/osgVolume/VolumeTile.cpp: Removed unnceccesary - setNumChildrenRequiringUpdateTraversal from VolumeTile - constructor. - -2013-09-20 10:44 robert - - * examples/osgpresentation/osgpresentation.cpp, - src/osgDB/PropertyInterface.cpp: Added initial cut of white and - black lists - -2013-09-20 10:25 robert - - * include/osg/Object: Added compoundClassName() convinience method - to standardize the generation of the compoundClassName. - -2013-09-20 10:04 robert - - * examples/osgpresentation/osgpresentation.cpp, - include/osgDB/PropertyInterface, src/osgDB/PropertyInterface.cpp: - Added type maps to help with querrying supported type names - -2013-09-19 16:19 robert - - * examples/osgpresentation/CMakeLists.txt, - examples/osgpresentation/osgpresentation.cpp, - include/osgDB/ObjectWrapper, include/osgDB/PropertyInterface, - src/osgDB/CMakeLists.txt, src/osgDB/InputStream.cpp, - src/osgDB/ObjectWrapper.cpp, src/osgDB/OutputStream.cpp, - src/osgDB/PropertyInterface.cpp: Introduce - osgDB::PropetyInterface class that provided a generic interface - for get/setting properties on scene graph objects, utilizing the - osgDB serializers to do - the actual interface query and set/gets. - -2013-09-19 16:18 robert - - * include/osgPresentation/Group: Removed unneccessary return - -2013-09-11 15:44 robert - - * include/osgDB/DataTypes, include/osgDB/ObjectWrapper, - include/osgDB/Serializer, src/osgDB/InputStream.cpp, - src/osgDB/ObjectWrapper.cpp, src/osgDB/OutputStream.cpp: Added - access methods to Serializer to help with using wrappers for - other purposes such as script integration. - - Added Vec*i and Vec*ui support to serializers - -2013-09-10 15:17 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Giuseppe Donvito, - "I'm using OSG 320 and I need to flush a DDS 3D texture on disk. - I found a bug on DDS ReaderWriter that generates a false positive - on a guard for the size check on writing operation. This is due - to a wrong imageSize computation that uses - img->getImageSizeInBytes() method instead of - img->getTotalSizeInBytes(), that actually ignores the r() - dimension, contrariwise taken into account by the function - ComputeImageSizeInBytes() later. - - The line 1062 on file ReaderWriterDDS.cpp should be fixed with: - [code]unsigned int imageSize = img->getTotalSizeInBytes();[/code] - " - -2013-09-10 13:29 robert - - * include/osgUtil/SceneView: From Giuseppe Donvito, Fixed typo of - "CLEAR_GLOBAL_STATESET = 0x16," to indended - "CLEAR_GLOBAL_STATESET = "0x10". - -2013-09-10 09:23 robert - - * include/osgPresentation/Layer, - include/osgPresentation/Presentation, - include/osgPresentation/Section, include/osgPresentation/Show, - include/osgPresentation/Slide, src/osgPlugins/mdl/MDLReader.cpp, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/Layer.cpp, - src/osgPresentation/Presentation.cpp, - src/osgPresentation/Section.cpp, src/osgPresentation/Show.cpp, - src/osgPresentation/Slide.cpp, - src/osgWrappers/serializers/osgPresentation/Show.cpp: Added - osgPresentation::Show node and implementations with basic - property reporting for various internal nodes of presentation - graph - -2013-09-09 16:02 robert - - * src/osgPlugins/python/CMakeLists.txt: From Wang Rui, "The Python - header will look for its libraries using "#pragma - comment(lib,"python32_d.lib")" for MSVC. So user-specified - libraries will not really be set for the osgdb_python plugin. - This small fix may help locate the Python libraries after putting - the CMakeLists.txt into src/osgPlugins/python - - " - -2013-09-09 14:58 robert - - * src/osg/PointSprite.cpp: From Colin Cochran, OES support for - point sprites - -2013-09-09 13:33 robert - - * src/osg/FrameBufferObject.cpp, src/osg/Texture.cpp: From Colin - McDonald, "Add test for GL_EXT_framebuffer_object extension : osg - uses osg::FBOExtensions to check if Frame Buffer Objects are - available. But this just checks if the fbo functions can be - called. - It doesn't check if the OpenGL renderer supports fbos. For - indirect - rendering on linux the client side capability may be different - from - the display server, which can lead to mipmapped textures failing - to - render. I've added a fbo extension check. - " - -2013-09-09 12:44 robert - - * CMakeModules/FindAVFoundation.cmake: From Ulrich Hertlein, "Patch - for FindAVFoundation to work with OS X 10.9" - -2013-09-09 12:37 robert - - * examples/osgviewerMFC/MFC_OSG.cpp: From Wang Rui, "Some - developers report that the osgviewerMFC example is broken in 3.2, - in which depth test is not enabled by default so all models - loaded look awkward. I submit this patch to make it work again. I - haven't gone deep to check why previous example goes wrong in - newer version but I believe the problem was because the newly - created camera object missed some important global statesets - before set as the main camera." - -2013-09-09 12:33 robert - - * examples/osgmultiplemovies/CMakeLists.txt, - src/osgPlugins/osg/CMakeLists.txt: From Laurens Voerman, "two - minor fixes, both in a CMakeList.txt file, - - 1> osgmultiplemovies example does not use SDL so needs no link to - SDL - - 2> Added header files to "Plugins osg" project, so visual studio - can find the source of - OSG_WARN << "AsciiInputIterator::readProperty(): Unmatched - property " - " - -2013-09-06 09:35 robert - - * examples/osgpresentation/osgpresentation.cpp, - include/osgPresentation/Audio, include/osgPresentation/Image, - include/osgPresentation/Model, include/osgPresentation/Movie, - include/osgPresentation/Volume, src/osgPresentation/Audio.cpp, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/Image.cpp, src/osgPresentation/Movie.cpp, - src/osgPresentation/Volume.cpp: Initial cut of - Audio/Volume/Movie/Image presentation objects - -2013-09-05 10:23 robert - - * include/osgUtil/SceneView, src/osg/Uniform.cpp, - src/osgDB/OutputStream.cpp, src/osgPlugins/lws/SceneLoader.cpp: - From Colin McDonald, "Attached are some fixes to build osg using - the Solaris Studio compiler. - I've also checked the modified files still build ok with other - compilers (Linux gcc, Windows Visual Studio). - - osgDB/OutputStream.cpp and osgPlugins/lws/SceneLoader.cpp require - stdlib.h for atoi use. - - In osg/Uniform.cpp the compiler complains that base_class is - unknown - unless I add a class name qualifier. - - Not a build fix, but I spotted a typo in osgUtil/SceneView." - -2013-09-05 10:08 robert - - * src/osgWrappers/serializers/osg/PagedLOD.cpp: From Laurens - Voerman, "like the "Bug in ProxyNode serializer" Farshid Lashkari - found (svn submit 13754) the PagedLOD serializer attempts to read - begin and and brackets. - Fix is identical (don't read brackets when num_chidren is zero) - and applies both to trunk and 3.2 branch." - -2013-09-05 10:04 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegParameters.cpp: Fixed warnings - -2013-09-05 08:42 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: From Alberto Luaces, - "current versions of ffmpeg render «url_feof» macro as obsolete. - The fix - is very simple and it is contained in the attached file." - -2013-09-05 08:22 robert - - * src/osgPresentation/Model.cpp: Added missing Model.cpp - -2013-09-04 17:27 robert - - * examples/osgpresentation/osgpresentation.cpp: Moved the property - test from the model to presentation to test out the property - inheritance scheme - -2013-09-04 16:25 robert - - * examples/osgpresentation/osgpresentation.cpp, - include/osgPresentation/Action, include/osgPresentation/Model, - src/osgPresentation/Action.cpp, - src/osgPresentation/CMakeLists.txt: Added PrintProperties visitor - -2013-09-04 15:39 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14776 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgpresentation/osgpresentation.cpp, - include/osgPresentation/Action, src/osgPresentation/Action.cpp: - Added PrintPropertiesAction to osgPresentation - -2013-09-04 10:33 robert - - * examples/osgpresentation/osgpresentation.cpp, - include/osgPresentation/Action, include/osgPresentation/Audio, - include/osgPresentation/Element, include/osgPresentation/Group, - include/osgPresentation/Image, include/osgPresentation/Layer, - include/osgPresentation/Model, include/osgPresentation/Movie, - include/osgPresentation/Presentation, - include/osgPresentation/Section, include/osgPresentation/Slide, - include/osgPresentation/Text, include/osgPresentation/Volume, - src/osgPresentation/Action.cpp, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/Element.cpp, src/osgPresentation/Group.cpp, - src/osgPresentation/Text.cpp: Added Action class NodeVisitor that - supports osgPresentation nodes. -2013-09-03 15:50 robert +Wed, 11 Mar 2015 17:27:08 +0000 +Checked in by : Robert OSFIELD +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. - * examples/osgpresentation/CMakeLists.txt, - examples/osgpresentation/osgpresentation.cpp, - src/osgPresentation/Text.cpp: Added test for - osgPresentatation::Group::getSupportedProperties() -2013-09-03 10:17 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14775 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgPresentation/Element, include/osgPresentation/Group, - include/osgPresentation/Text, src/osgPresentation/CMakeLists.txt, - src/osgPresentation/Element.cpp, src/osgPresentation/Group.cpp, - src/osgPresentation/Text.cpp: Added beginings of Text - implementation -2013-09-02 10:56 robert +Wed, 11 Mar 2015 15:44:23 +0000 +Checked in by : Robert OSFIELD +Updated the comments to be more relevantgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14774 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgWrappers/serializers/osg/ProxyNode.cpp: From Farshid - Lashkari, "The ProxyNode serializer was not correctly reading the - "Children" field. It conditionally writes the begin/end brackets, - depending on whether it has children. However, during input it - unconditionally attempts to read the begin/end brackets. I've - modified the code to only read the brackets if it has children." -2013-09-02 10:56 robert +Tue, 10 Mar 2015 18:15:02 +0000 +Checked in by : Robert OSFIELD +Work in progress to allow osg::Texture2DArray to be set up with a single osg::Image containing 3D image data.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14773 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUtil/IntersectionVisitor, - src/osgUtil/LineSegmentIntersector.cpp: Refactored the use of - epsilon in the clamping of the start/end points of the - LineSegmentIntersector to better handle numerical precision - issues. -2013-09-02 09:12 robert +Tue, 10 Mar 2015 18:07:17 +0000 +Checked in by : Robert OSFIELD +Work in progress on new osgtexture2DArray examplegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14772 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgAnimation/StackedTransform.cpp: Fixed double copy in - StackedTransform copy constructor -2013-09-02 08:29 robert +Mon, 9 Mar 2015 11:27:26 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, gles and osgjs plugins that support conversion of OSG loaded models into a form that can be used with osgjs JavaScript librarygit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14770 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgpresentation/osgpresentation.cpp: Added IO test for - new osgPresentation nodes -2013-09-01 17:24 robert +Thu, 5 Mar 2015 19:53:17 +0000 +Checked in by : Robert OSFIELD +Update AUTHORS file for 3.3.6 dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14768 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgPresentation/Audio, include/osgPresentation/Element, - include/osgPresentation/Image, include/osgPresentation/Layer, - include/osgPresentation/Model, include/osgPresentation/Movie, - include/osgPresentation/Presentation, - include/osgPresentation/Slide, include/osgPresentation/Text, - include/osgPresentation/Volume, - src/osgPresentation/CMakeLists.txt, - src/osgWrappers/serializers/osgPresentation/Audio.cpp, - src/osgWrappers/serializers/osgPresentation/Image.cpp, - src/osgWrappers/serializers/osgPresentation/Model.cpp, - src/osgWrappers/serializers/osgPresentation/Movie.cpp, - src/osgWrappers/serializers/osgPresentation/Text.cpp, - src/osgWrappers/serializers/osgPresentation/Volume.cpp: Added - Audio, Image, Movie, Model and Volume class to osgPresentation. - -2013-08-23 16:47 robert - - * applications/osgviewer/osgviewer.cpp: Fixed build - -2013-08-23 11:42 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added color property to - FontData parsing - -2013-08-22 13:39 robert - - * src/osgVolume/Locator.cpp: Quitened down debug message - -2013-08-22 12:37 robert - - * src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPresentation/deprecated/SlideEventHandler.cpp: Removed - debug messages - -2013-08-22 12:07 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Quitened down debug - message - -2013-08-22 11:18 robert - - * applications/present3D/deprecated/present3D.cpp: Quitened down - debug message - -2013-08-22 10:09 robert - - * src/osgPresentation/deprecated/SlideShowConstructor.cpp: Added - warning when model file has not be found - -2013-08-22 10:05 robert - - * src/osgPresentation/deprecated/SlideEventHandler.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp: Reduced - debug message level, and added a notify message for when an image - isn't loaded - -2013-08-22 07:49 robert - - * examples/osgpresentation/osgpresentation.cpp, - src/osgWrappers/serializers/osgPresentation/Element.cpp, - src/osgWrappers/serializers/osgPresentation/Group.cpp, - src/osgWrappers/serializers/osgPresentation/Layer.cpp, - src/osgWrappers/serializers/osgPresentation/Presentation.cpp, - src/osgWrappers/serializers/osgPresentation/Section.cpp, - src/osgWrappers/serializers/osgPresentation/Slide.cpp: Added test - for serializers and fixed serializers - -2013-08-21 19:54 robert - - * include/osgPresentation/Element, include/osgPresentation/Group, - include/osgPresentation/Layer, - include/osgPresentation/Presentation, - include/osgPresentation/Section, include/osgPresentation/Slide, - src/osgPresentation/CMakeLists.txt, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osgPresentation, - src/osgWrappers/serializers/osgPresentation/CMakeLists.txt, - src/osgWrappers/serializers/osgPresentation/Element.cpp, - src/osgWrappers/serializers/osgPresentation/Group.cpp, - src/osgWrappers/serializers/osgPresentation/Layer.cpp, - src/osgWrappers/serializers/osgPresentation/Presentation.cpp, - src/osgWrappers/serializers/osgPresentation/Section.cpp, - src/osgWrappers/serializers/osgPresentation/Slide.cpp: Added - initial classes for present3D refactor - -2013-08-18 18:10 robert - - * applications/present3D/deprecated/ExportHTML.h, - applications/present3D/deprecated/ReadShowFile.cpp, - applications/present3D/deprecated/present3D.cpp, - include/osgPresentation/AnimationMaterial, - include/osgPresentation/CompileSlideCallback, - include/osgPresentation/KeyEventHandler, - include/osgPresentation/PickEventHandler, - include/osgPresentation/PropertyManager, - include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, - include/osgPresentation/Timeout, - include/osgPresentation/deprecated, - include/osgPresentation/deprecated/AnimationMaterial, - include/osgPresentation/deprecated/CompileSlideCallback, - include/osgPresentation/deprecated/KeyEventHandler, - include/osgPresentation/deprecated/PickEventHandler, - include/osgPresentation/deprecated/PropertyManager, - include/osgPresentation/deprecated/SlideEventHandler, - include/osgPresentation/deprecated/SlideShowConstructor, - include/osgPresentation/deprecated/Timeout, - src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/ReaderWriterOscDevice.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPresentation/AnimationMaterial.cpp, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/CompileSlideCallback.cpp, - src/osgPresentation/KeyEventHandler.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/PropertyManager.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgPresentation/Timeout.cpp, src/osgPresentation/deprecated, - src/osgPresentation/deprecated/AnimationMaterial.cpp, - src/osgPresentation/deprecated/CompileSlideCallback.cpp, - src/osgPresentation/deprecated/KeyEventHandler.cpp, - src/osgPresentation/deprecated/PickEventHandler.cpp, - src/osgPresentation/deprecated/PropertyManager.cpp, - src/osgPresentation/deprecated/SlideEventHandler.cpp, - src/osgPresentation/deprecated/SlideShowConstructor.cpp, - src/osgPresentation/deprecated/Timeout.cpp: Moved old - osgPresentation source files to osgPresentation/deprecated - subdirectory. - -2013-08-18 16:59 robert - - * applications/present3D/CMakeLists.txt, - applications/present3D/Cluster.cpp, - applications/present3D/Cluster.h, - applications/present3D/ExportHTML.cpp, - applications/present3D/ExportHTML.h, - applications/present3D/PointsEventHandler.cpp, - applications/present3D/PointsEventHandler.h, - applications/present3D/ReadShowFile.cpp, - applications/present3D/ReadShowFile.h, - applications/present3D/SDLIntegration.cpp, - applications/present3D/SDLIntegration.h, - applications/present3D/ShowEventHandler.cpp, - applications/present3D/ShowEventHandler.h, - applications/present3D/SpellChecker.cpp, - applications/present3D/SpellChecker.h, - applications/present3D/deprecated, - applications/present3D/deprecated/Cluster.cpp, - applications/present3D/deprecated/Cluster.h, - applications/present3D/deprecated/ExportHTML.cpp, - applications/present3D/deprecated/ExportHTML.h, - applications/present3D/deprecated/PointsEventHandler.cpp, - applications/present3D/deprecated/PointsEventHandler.h, - applications/present3D/deprecated/ReadShowFile.cpp, - applications/present3D/deprecated/ReadShowFile.h, - applications/present3D/deprecated/SDLIntegration.cpp, - applications/present3D/deprecated/SDLIntegration.h, - applications/present3D/deprecated/ShowEventHandler.cpp, - applications/present3D/deprecated/ShowEventHandler.h, - applications/present3D/deprecated/SpellChecker.cpp, - applications/present3D/deprecated/SpellChecker.h, - applications/present3D/deprecated/present3D.cpp, - applications/present3D/present3D.cpp: Moved old present3D sources - into local deprecated directory to clean up the main present3D - source directory for future refactored present3D - -2013-08-09 16:51 robert - - * CMakeLists.txt, examples/osgpresentation/CMakeLists.txt, - examples/osgpresentation/osgpresentation.cpp, - include/osg/CameraNode, include/osg/ScriptEngine, - src/osg/CMakeLists.txt, src/osg/ScriptEngine.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/V8, src/osgPlugins/V8/CMakeLists.txt, - src/osgPlugins/V8/ReaderWriterV8.cpp, - src/osgPlugins/V8/V8ScriptEngine.cpp, - src/osgPlugins/V8/V8ScriptEngine.h, src/osgPlugins/lua, - src/osgPlugins/lua/CMakeLists.txt, - src/osgPlugins/lua/LuaScriptEngine.cpp, - src/osgPlugins/lua/LuaScriptEngine.h, - src/osgPlugins/lua/ReaderWriterLua.cpp, src/osgPlugins/python, - src/osgPlugins/python/CMakeLists.txt, - src/osgPlugins/python/PythonScriptEngine.cpp, - src/osgPlugins/python/PythonScriptEngine.h, - src/osgPlugins/python/ReaderWriterPython.cpp: Added initial cut - of basic scripting support, introducing an osg::Script object to - wrap up the individual scripts, osg::ScriptCallback for assigning - a Script as node callback and an osg::ScriptEngine base class - that plugins implement to provided support for specific scripting - languages. - - Provided are lua, python and V8 (for javascript) plugins that - just open up enough of a link to the respective libs to run a - script, there is no scene graph <-> script communication in - current implementation. - -2013-08-09 11:00 robert - - * src/osg/CMakeLists.txt: Removed CameraNode reference - -2013-08-09 07:46 robert - - * applications/present3D/present3D.cpp: Removed unused includes - -2013-08-09 07:38 robert - - * applications/present3D/present3D.cpp: Removed old cursor code - -2013-08-08 17:21 robert - - * src/osgPresentation/Cursor.cpp: Added translucent version of - cushion which isn't depth tested to enable one to see the cursor - even when it's behind other objects - -2013-08-08 16:49 robert - - * applications/present3D/present3D.cpp, - include/osgPresentation/Cursor, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/Cursor.cpp: Added osgPresentation::Cursor - class to wrap up 3D cursor in the scene functionality - -2013-08-07 17:08 robert - - * CMakeModules/FindV8.cmake, examples/CMakeLists.txt, - examples/osgpresentation, - examples/osgpresentation/CMakeLists.txt, - examples/osgpresentation/osgpresentation.cpp: Added - osgpresentation example as a test bed for new osgPresentation - object model. - - First cut of example test bed is to test how easy it is to build - against Lua, V8 and Python for purposes of running embedded - scripts. - -2013-08-05 12:00 robert - - * src/osg/State.cpp: From Aurelien Albert, "I've go some problem - with the method "State_Utils::replace" : if the original_phrase - is empty, it leads to an infinite loop. - - Here is a path to prevent this." - -2013-08-01 17:38 robert - - * include/osgUtil/IntersectionVisitor: Added missing initializer - for _epsilon - -2013-08-01 11:25 robert - - * src/osgUtil/DelaunayTriangulator.cpp: From Anish Thomas, added - catch for to an empty DrawElementsUInt creation. - -2013-08-01 10:38 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file - -2013-08-01 10:28 robert - - * src/osgPlugins/shp/ESRIShapeReaderWriter.cpp, - src/osgPlugins/shp/XBaseParser.cpp, - src/osgPlugins/shp/XBaseParser.h: From Ulrich Hertlein, "Based on - the exchange on osg-users I went ahead and reworked - shp/XBaseParser to avoid - weird behaviour (closing stdin) and leaking file descriptors, as - well as some const-ness." -2013-08-01 10:04 robert +Thu, 5 Mar 2015 19:33:17 +0000 +Checked in by : Robert OSFIELD +Updated dev release numbergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14767 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp: From Sebastian - Messerschmidt, "Seems like your re-factoring didn't really - produces the correct results. - You can check with the tester2.flt provided earlier and check - with the result image. - I double checked this with OpenFlight creator, and it seems the - yaw is broken. - - With my initial quaternion version is seems correct and if I - change the - - - float cos_yaw = cosf(osg::inDegrees(yaw)); - float sin_yaw = sinf(osg::inDegrees(yaw)); - - to be - float cos_yaw = cosf(osg::inDegrees(-yaw)); - float sin_yaw = sinf(osg::inDegrees(-yaw)); - - it seems to work as well." -2013-08-01 10:00 robert +Thu, 5 Mar 2015 19:26:08 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14765 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/Geometry.cpp: From Tom Jolley, "I found a couple more - bugs after closely looking at the small piece of deprecated - geometry in my model. There were problems with more than one - primitive in a couple places. The first was the number of - vertices were not being accumulated for DrawArraysPrimitiveType - (caused another crash). The second is I had to move target_vindex - and source_pindex before the PrimitiveSetList loop so they don't - get reset on the next primitive (otherwise you end up with a lot - of zeros in per vertex lists)." -2013-08-01 07:19 robert +Thu, 5 Mar 2015 10:53:28 +0000 +Checked in by : Robert OSFIELD +Added check for newline at end of version line, and of it's not add a '\n'git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14761 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/RenderInfo, src/osgUtil/RenderBin.cpp: Added - osg::RenderInfo::pushRenderBin()/popRenderBin() and - RenderInfo::getRenderBinStack() and getCameraStack() access - methods for getting access to the current RenderBin/RenderStage. -2013-07-31 13:11 robert +Wed, 4 Mar 2015 18:39:04 +0000 +Checked in by : Robert OSFIELD +Updated SO_VERSION after changes to osgPresentationgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14760 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUtil/IntersectionVisitor, - src/osgUtil/LineSegmentIntersector.cpp: Added - Intersector::get/setEpsilon(double) to allow users to control - what epsilon is used by the LineSegmentIntersector when doing - testing of itersections with bounding boxes -2013-07-31 07:11 robert +Wed, 4 Mar 2015 18:36:44 +0000 +Checked in by : Robert OSFIELD +Restructed the osgPresentation and present3D directories back to the structure that was present in OSG-3.2git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14759 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/FrameBufferObject: From Aurelien Albert, "Here is the - code to get access to OpenGL handle of an osg::FrameBufferObject" -2013-07-31 06:56 robert +Wed, 4 Mar 2015 17:42:30 +0000 +Checked in by : Robert OSFIELD +Removed the experiemental osgPresentation classes. These are only partially functional and not appropriate for the stable OSG-3.4 releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14758 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/Geometry.cpp: From Tom Jolly, "I ran across this error - reading one of our older files. An iterator was being changed - inside a loop that caused a crash." -2013-07-31 06:42 robert +Tue, 3 Mar 2015 15:26:15 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS for 3.3.5 dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14756 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/State.cpp: From Sergey Kurdakov, fixed GLES2 invalid - enumerant warning by disabling the check against - GL_MAX_TEXTURE_COORDS under GLES. -2013-07-30 06:39 robert +Tue, 3 Mar 2015 14:59:37 +0000 +Checked in by : Robert OSFIELD +Fixed ClusterCullingCallback parser problem due to osg::Callback not being included in inheritance listgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14755 16af8721-9629-0410-8352-f15c8da7e697 - * applications/present3D/present3D.cpp: Changed default cull mask - to match the left cull mask so that mono rendering of - presentations with left/right stereo images/movies works fine. -2013-07-30 06:36 robert +Tue, 3 Mar 2015 12:56:09 +0000 +Checked in by : Robert OSFIELD +Restructed the checks in the CollectLowestTransformsVisitor::removeTransforms() to avoid benign case being flagged as warning.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14753 16af8721-9629-0410-8352-f15c8da7e697 - * applications/present3D/present3D.cpp: Removed trailing spaces -2013-07-30 06:12 robert +Tue, 3 Mar 2015 12:03:23 +0000 +Checked in by : Robert OSFIELD +From Miha Ravselj, "Regarding previous submission it was only partial solution. After further testing I found similar bug also in ClearNode serializer.//GLbitfield mask = GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT; +This line was problematic since it produced incorrect result when let's say COLOR flag is serialized +it should be null as in Camera serializer or in a proposed BitFlagsSerializer - * CMakeLists.txt: Merged from OSG-3.2 branch the removal of check - for Asio under Windows -2013-07-24 17:30 robert +This line of code caused that whenever only GL_COLOR_BUFFER_BIT bit was written and on value read GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT was restored instead of GL_COLOR_BUFFER_BIT only. - * src/osg/DisplaySettings.cpp: Changed default of serialize draw to - off +//GLbitfield mask = 0; //this resolves the issue same as in camera +Also same bit-wise comparison bug was also present in write method. +------------------------------------------------------------------------------------- -2013-07-24 14:24 robert +As you can see there are total 3 bit mask serializers in OSG and all 3 had bugs so I decided to add ADD_BITFLAGS_SERIALIZER and replace USER serializers in osg::Camera, osg::ClearNode and osgText::TextBase. I have made sure that bitflags serializer does not break backwards-compatibility since it uses same code as user serializer does in all 3 cases. (see tester.cpp on how compatibility test was performed)" - * AUTHORS.txt, NEWS.txt, README.txt: Pulled in READE, NEWS and - AUTHORS changes from OSG-3.2 branch. -2013-07-24 13:02 robert - * include/osg/GL2Extensions, src/osg/FrameBufferObject.cpp: Added - GL2Extensions::isDrawBuffersSupported() and usage of this in - FrameBufferObject.cpp to prevent crash under GLES2 when users - attempt to use MRT when it's not supported +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14752 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-24 12:51 robert - * NEWS.txt: Updated NEWS from OSG-3.2 branch +Tue, 3 Mar 2015 12:00:52 +0000 +Checked in by : Robert OSFIELD +Re-organized the #ifdef's to avoid usage of glPolyginMode under GLESgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14751 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-24 12:48 robert - * src/osg/Program.cpp: Fixed warning +Mon, 2 Mar 2015 14:38:17 +0000 +Checked in by : Robert OSFIELD +Updated SO_VERSION to take account of API changes in osgDBgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14749 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-24 12:25 robert - * CMakeLists.txt, include/osg/Version: Updated SO version for post - 3.2 era. +Mon, 2 Mar 2015 12:11:43 +0000 +Checked in by : Robert OSFIELD +From Johannes Scholz, "Attached you find a patch for osgDB::OutputStream and osgDB::InputStream to include osg::Image::data() using Base64 encoding inside the ASCII OSGT, if WriteImageHint=IncludeData is set, only."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14748 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-24 12:17 robert - * include/osgWidget/EventInterface: Added getCallbacks() methods +Mon, 2 Mar 2015 12:09:25 +0000 +Checked in by : Robert OSFIELD +From Michael McDonnel, "The tessellation shader example has a small bug.The middle of the geometry is clipped as soon as it is tessellated. The clipping is probably caused by rounding errors because it is only in one spot. The clipping disappears when the camera is moved, and reappears when it is moved back. Expanding the the bounding box fixed the clipping bug."Tweaked by Robert Osfield to expand it to a -1 to 1 unit box. +Actual clipping bug is not due to rounding errors but the shaders creating vertices outside the bounding box of the original input vertices -2013-07-23 18:11 robert - * src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: From Rocco Martino, - build fix for compiling against ffmpeg/trunk +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14747 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-23 15:28 robert - * src/osgPlugins/osc/CMakeLists.txt: Added NOT ANDROID to force use - of posix API when building for Android under Windows +Sun, 1 Mar 2015 15:20:37 +0000 +Checked in by : Robert OSFIELD +Fixed StateSet::Define names to match OpenSceneGraph-Data/shaders.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14745 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-23 10:24 robert - * src/osg/Node.cpp: Added lazy setting of the UserDataContainer to - avoid unncessarily create a UserDataContain when an empty - description list is passed to Node::setDescriptions(..) +Sun, 1 Mar 2015 11:08:58 +0000 +Checked in by : Robert OSFIELD +From Jannik Heller, "I noticed the rotation in the OrbitManipulator depends on the framerate. To reproduce this issue, start the osganimate example, rotate the model with the left mouse button, then let go of the mouse button while still moving. You will notice that with V-Sync enabled, the model rotates slower.The OrbitManipulator calculates a scale to counteract the framerate dependency, but it turns out this scale wasn't used for the rotation yet." -2013-07-23 09:54 robert - * src/osgPlugins/shp/XBaseParser.cpp: Fixed crash when open(..) - returns an error. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14744 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-23 05:25 robert - * CMakeModules/Find3rdPartyDependencies.cmake, - CMakeModules/FindCOLLADA.cmake, CMakeModules/FindNVTT.cmake: From - Torben Dannhauer, "Please find attached further changes to make - library auto detection - functional again for some libraries: - - Find3rdPa..: Fix to find libxml2 - FindCollada: Rearranged to handle different MSVC versions more - effective. - This file is already prepared for the upcoming VS 2013. - FindNVTT: introduced management of debug libraries (also auto - detected). - " +Fri, 27 Feb 2015 10:01:56 +0000 +Checked in by : Robert OSFIELD +Updated version number after dev release.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14740 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-22 13:31 robert - * src/osgPlugins/dae/daeWGeometry.cpp: From Andreas Ekstrand, - "Attached is a small modification of the Collada writer that - protects from crashes due to valArray being NULL in some - situations." +Fri, 27 Feb 2015 09:47:58 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and Contributors to fix trailing spacesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14738 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-22 10:15 robert - * include/osg/FrameBufferObject, include/osg/StateAttribute: Added - FRAME_BUFFER_OBJECT enum +Fri, 27 Feb 2015 09:05:04 +0000 +Checked in by : Robert OSFIELD +Fixed Windows warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14737 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-22 10:15 robert - * include/OpenThreads/Version: Updated OpenThreads version +Fri, 27 Feb 2015 04:29:30 +0000 +Checked in by : Robert OSFIELD +Fixes for warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14736 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-19 21:05 robert - * src/osgViewer/GraphicsWindowIOS.mm: From Christian Ruzicka, "with - the current touch implementation on iOS the touches are not - forwarded to parent views because the base implementation is not - called. Also see the "Best Practices" in the iOS documentation - for event handling: - - http://developer.apple.com/library/ios/#documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/multitouch_background/multitouch_background.html - - "If you handle events in a subclass of any other UIKit responder - class: - - You do not have to implement all of the event handling methods. - - In the methods you do implement, be sure to call the superclass - implementation. For example, [super touchesBegan:touches - withEvent:event]." - - I added the missing lines and tested it with OSG 3.1.9 and iOS - SDK 6.1." +Thu, 26 Feb 2015 20:15:36 +0000 +Checked in by : Robert OSFIELD +Fixed build with auto ptr conversion switched offgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14735 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-19 20:59 robert - * src/osg/Geometry.cpp: Added default setting of BIND_PER_VERTEX - when applying Geometry::setTexCoordArray() +Thu, 26 Feb 2015 19:51:56 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14733 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-19 17:00 robert - * src/OpenThreads/CMakeLists.txt: Updated OpenThreads version to be - in sync with OSG version +Thu, 26 Feb 2015 19:14:28 +0000 +Checked in by : Robert OSFIELD +From Bradley Baker Searles, "We had someone replace a DDS texture with a GL_RGB/GL_UNSIGNED_SHORT_5_6_6 image, which would trigger a crash in Image.cpp while flipping the mipmap chain. The code was trying to flip the mipmaps using the rowStep for the full-size image (we have "dds_flip" set in the osgDB::ReaderWriter::Options in the osgDB::Registry)."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14732 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-19 14:55 robert - * CMakeLists.txt, include/osg/Version: Updated version number for - svn/trunk to 3.3.0 for all new feature development +Thu, 26 Feb 2015 18:06:06 +0000 +Checked in by : Robert OSFIELD +From Bradley Baker Searles, "Small patch attached to handle DDS flip when s=4. Currently it will omit flipping and generate a warning: "Vertical flip was skipped. Image dimensions have to be multiple of 4."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14729 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-19 14:07 robert - * AUTHORS.txt: Updated AUTHORS file for new 3.2 branch +Thu, 26 Feb 2015 17:49:36 +0000 +Checked in by : Robert OSFIELD +From Julien Valentin and Alberto Luaces, added support for transform feedback extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14728 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-19 14:06 robert - * CMakeLists.txt, include/osg/Version: Updated version number to - 3.2.0-rc1 in prep for create the 3.2 branch, and 3.2.0-rc1 +Thu, 26 Feb 2015 17:18:31 +0000 +Checked in by : Robert OSFIELD +Update AUTHORS filegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14727 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-19 10:31 robert - * AUTHORS.txt, ChangeLog: Update ChangeLog and AUTHORS files for - 3.1.10 dev release +Thu, 26 Feb 2015 14:16:22 +0000 +Checked in by : Robert OSFIELD +Fixed typogit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14725 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-19 10:17 robert - * CMakeLists.txt, include/osg/Version: Updater version for 3.1.10 - dev release +Thu, 26 Feb 2015 13:52:12 +0000 +Checked in by : Robert OSFIELD +Regenerated AUTHORS.txt to fix missing special charactersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14724 16af8721-9629-0410-8352-f15c8da7e697 -2013-07-19 10:11 robert - * examples/osgviewerQt/osgviewerQt.cpp: Removed #if 0 #endif block - -2013-07-19 09:43 robert - - * examples/osgviewerQt/osgviewerQt.cpp: Fixed problem with the - osgviewerQt code override the default View::Camera without - setting it's default state on it's StateSet like View does by - default. - -2013-07-19 06:56 robert - - * include/osgFX/Registry: From Johannes Scholz, "as we need to - dynamically add and remove Effects to and from our Application, I - created a small patch for osgFX/Registry to add the - osgFX::Registry::removeEffect(effect*) method and extended - osgFX::Registry::Proxy to call removeEffect upon its - destruction." - -2013-07-19 06:39 robert - - * src/osgPlugins/osc/osc/OscHostEndianness.h, - src/osgViewer/CMakeLists.txt: From Wang Rui, "A very small - clerical error in the src/osgViewer/CMakeLists.txt makes - MinGW/Cygwin builds fail. Now it is fixed and now OSG works well - again with Cygwin. :-) The OSC plugin also needs a small fix to - compile with Cygwin, as attached file - src/osgPlugins/osc/osc/OscHostEndianness.h shows." - -2013-07-19 06:20 robert - - * include/osgUtil/SceneView, include/osgViewer/GraphicsWindow: From - Mathieu Marache, "we found that events where not caught when - running in ON_DEMAND frame scheme : GraphicsWindow::checkEvents() - always return false and GraphicsWindowQt doesn't overload it. - - here is a simple fix that will return if the list is empty or not - and will match the comment in checkEvents() - -2013-07-18 20:17 robert - - * src/osg/Image.cpp: Added a dirty() call to Image::setData(..) - -2013-07-18 16:29 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From Torben - Dannhauer, "after being absent for more than 12 month, I'm very - pleased to present my - new 3rdparty package (V8). - - This package is compiled with Visual Studio 2012 Update 3. Some - community - members complained that these package is very large (indeed), so - I - introduced 2 versions: - - The small version contains the dependencies for several image - file formats - ( tiff, png, gif, jpeg), as well as zlib, minizip, curl, - freetype, glut, - gdal and openSSL - - The full version will include all libraries which were include - in the - previous releases of my 3rd party package. - - Some of the included libraries are released in newer versions, so - I adapted - the attached CMake module to find these renamed files. - - I hope you can merge this minor changes soon, since I plan to - publish the - small 3rdparty package today. - " - -2013-07-18 16:27 robert - - * include/osg/GL2Extensions: From Lionel Lagarde, "The extension - name is misspelled. It conflicts with GLEW." - -2013-07-02 19:24 robert - - * AUTHORS.txt, ChangeLog: Updated AUTHORS and ChangeLog for 3.1.9 - dev release - -2013-07-02 14:35 robert - - * CMakeLists.txt: From Laurens Voerman, "With fstream inheritaince - now removed the warning can be enabled again." - -2013-07-02 14:17 robert - - * src/osgPlugins/ive/Geometry.cpp: From Laurens Voerman, "some of - my ive files now generate a warning: - Warning, can't assign attribute binding as no has been array - assigned to set binding for. - - I think those are ive's with bumpmaps, but I have not checked - yet. The problem is in - OpenSceneGraph\src\osgPlugins\ive\Geometry.cpp - where the code tries to set Normalize and Binding for a missing - Array. - I think that code can safely be skipped, considering the write - function has a hardcoded write when the array is missing. - (introduced in svn rev 13488) - - modified file (OpenSceneGraph\src\osgPlugins\ive\Geometry.cpp) - attached in Zip" - -2013-07-02 14:02 robert - - * src/osgPlugins/osg/BinaryStreamOperator.h: From Laurens Voerman, - "Recent changes cause a few warnings in MSVC 2012 - svn 13587 From David Callu, warning fixes and removal of spaces - at end of lines. - - this can be fixed by adding a space before the comment opening - /*. - full modified file - (openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h) - attached in zip - - Regards, Laurens. - - - openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(71): - warning C4138: '*/' found outside of comment - (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp) - openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(73): - warning C4138: '*/' found outside of comment - (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp) - openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(211): - warning C4138: '*/' found outside of comment - (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp) - openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(213): - warning C4138: '*/' found outside of comment - (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp)" - -2013-07-02 13:45 robert - - * src/osg/State.cpp: Restructed handling of the - _currentShaderCompositionUniformList in State::apply() and - State::apply(const StateSet*) so that it can be used even when - shader composition isn't enabled. - -2013-07-02 10:32 robert - - * include/osg/Program, src/osg/Program.cpp: From Aurelien Albert, - "Recently I had to integrate a client OpenGL library with OSG. - For textures and other StateAttribute I've done that by - subclassing osg::StateAttribute and this works well. - - But for glPrograms, in order to get all osg's uniform management - system to work, I had to subclass - osg::program::PerContextProgram. - - Here is a modified version of this class, which add some - "virtual" method to allow easy subclassing." - -2013-07-02 09:44 robert - - * include/osg/Array: From Pjotr Svetachov, "The binding of arrays - is always set to BIND_UNDEFINED when using the array constructor - because the binding parameter is ignored. Here is a fix." - -2013-07-02 09:27 robert - - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: Added - SceneView::Options enum enetries APPLY_GLOBAL_DEFAULTS and - CLEAR_GLOBAL_STATESET to control whether a - _globalStateSet->clear() and _globalStateSet->setGlobalDefaults() - should be called. - - osgViewer::Renderer doesn't use these enum settings so now no - longer has a calls StateSet::clear() or - StateSet::setGlobalDefaults() on the osg::Camera's StateSet. - Previously these were being - called and breaking the ability to attached state to Camera's - StateSet. - -2013-07-01 16:15 robert - - * src/osg/Array.cpp: From Pjotr Svetachov, "In a submission on June - 27th a lot of new array types were added. This modified the - osg::Array::Type enum. Because of this s_ArrayNames array in - Array.cpp is now not in sync. This can lead to corrupt exports or - crashes when writing .osg files because the change added new - types in the middle of the enum instead of at the end. - - Attached is a new Array.cpp to reflect the new array types." - -2013-07-01 12:16 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated AUTHORS, ChangeLog for dev release - -2013-07-01 10:22 robert - - * include/osg/Array: Removed BIND_INSTANCE_DIVISOR as they don't - yet have any implementation backend to support them. - -2013-07-01 09:12 robert - - * CMakeModules/FindFBX.cmake: From David Callu, "Here a fix for - FindFBX.cmake - - under linux, library name to look for must be fbxsdk instead of - libfbxsdk." - -2013-07-01 09:10 robert - - * CMakeLists.txt: From David Callu, "Here a CMakeLists.txt modified - with OSG_AGGRESSIVE_WARNING_FLAGS defined when Clang compilator - is used" - -2013-07-01 09:09 robert - - * src/osg/glu/libutil/mipmap.cpp: Fixed debug build compile problem - -2013-07-01 08:21 robert - - * include/OpenThreads/Exports, include/osg/Export, - src/OpenThreads/pthreads/PThread.cpp, src/osg/PrimitiveSet.cpp, - src/osg/Referenced.cpp, src/osgDB/ConvertUTF.cpp, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, src/osgWidget/Input.cpp, - src/osgWidget/Lua.cpp, src/osgWidget/Python.cpp: Reverted the - usage of OSG_UNUSED and OT_UNUSED as in hindsight these should - never have been merged. Adding code to quieten - inappropriate warnings is a bad programming practice and does not - desrve a place in the OSG code base. - -2013-06-28 15:44 robert - - * src/osgPlugins/png/ReaderWriterPNG.cpp: From John Kaniarz, "This - patch modifies ReaderWriterPNG.cpp to - 1. Check the bit depth of the passed Image and return an error if - not 8 or 16. (not fully featured, but still an improvement over - hard coded 8bit for everything) - 2. Endian swap 16bit image data when on a little endian - architecture. - " - -2013-06-28 14:47 robert - - * applications/osgviewer/osgviewer.cpp: From Alberto Luaces, - "Documentation for -p and --speed options in osgviewer" - -2013-06-28 14:38 robert - - * src/osg/ImageUtils.cpp: From Marcel Pursche, fixed checking of - destination dimensions in osg::copyImage. - -2013-06-28 14:32 robert - - * src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/ProxyNode.cpp: From Lilin Xiong, "When writing - proxyNode to ive file, we forget "LoadingExternalReferenceMode ". - Add some code to fix this. - - if (out->getVersion() >= VERSION_0045) - { - out->writeInt(getLoadingExternalReferenceMode()); - } - - if (in->getVersion() >= VERSION_0045) - { - setLoadExternalReferenceFiles( - (osg::ProxyNode::LoadingExternalReferenceMode)in->readInt() ); - } - " - -2013-06-28 14:21 robert - - * include/osgUtil/DelaunayTriangulator, - src/osgUtil/DelaunayTriangulator.cpp: From Gill Peacegood, "fix - for a memory leak in the DelaunayConstraint class" - -2013-06-28 14:08 robert - - * include/osg/BufferObject: From Laurens Voerman, "the current - version of BufferObject causes a huge amount of warnings in - Visual Studio 2012 like: - - OpenSceneGraph/include\osg/BufferObject(701): warning C4138: '*/' - found outside of comment - (E:\osg\osgSvn\OpenSceneGraph\src\osg\Array.cpp) - - adding a space before /* fixes the problem - void removeClient(osg::Object * /*client*/) { --_numClients; } - " - -2013-06-28 14:07 robert - - * src/osg/GraphicsContext.cpp: Fixed handling of - DISPLAY=127.0.0.1:2 usage. - -2013-06-28 13:43 robert - - * include/osg/PrimitiveRestartIndex, include/osg/StateAttribute, - src/osg/CMakeLists.txt, src/osg/PrimitiveRestartIndex.cpp, - src/osgWrappers/serializers/osg/PrimitiveRestartIndex.cpp: From - Aurelien Albert, Added support for glPrimitiveRestartIndex. - - "The idea of this new OpenGL feature is : - - - set RestartIndex = "n" - - draw elements strip - -> when the index is "n", the strip is "stopped" and restarted - - It's very usefull for drawing tiles with a single strip and a - "restart" at the end of each row. - - The idea a an OSG StateAttribute is : - - Usually we use to build geometry from code, because software - modelers rarely support it (and 3d file formats doesn't support - it) : - - -RootNode <= "PrimitiveRestartIndex=0" // So now, we know that - our restart index is 0 for all drawables under this node - | - - Drawable 1 : triangles => as usual - | - - Drawable 2 : triangles strip => as usual - | - - Drawable 3 : triangles strip + "GL_PRIMITIVE_RESTART" mode = ON - => use the restart index - | - - Drawable 4 : triangles strip + "GL_PRIMITIVE_RESTART" mode = ON - => use the restart index - | - - Drawable 5 : triangles strip => as usual - - - With a StateAttribute, it's easy for the developper to say "0 - will be my restart index for all this object" and then activate - the mode only on some nodes. - - The main problem is if you set and restart index value which is - not included in the vertex array (for exemple set restart index = - 100 but you have only 50 vertex). There is no problem with - OpenGL, but some OSG algorithms will try to access the - vertex[100] and will segfault. - - To solve this, I think there is two ways : - - 1/ add restart index in osg::PrimitiveSet and use this value in - all algorithms. It's a lot of work, maybe dangerous, and it - concern only a few situations : developpers who use this - extension should be aware of advanced OpenGL (and OSG) data - management - - 2/ use a StateAttribute, and choose a "correct" restart index. In - my applications, I always use "0" as a restart index and - duplicate the first vertex (vertex[0] = vertex[1]). So there is - no difference for OpenGL and all OSG algorithms works properly. - " - -2013-06-28 12:45 robert - - * src/osg/ShapeDrawable.cpp: Added handling of an odd number rows - in the capsule rendering and primitive calculation. - -2013-06-28 12:00 robert - - * include/OpenThreads/Exports, include/osg/BufferObject, - include/osg/Export, include/osg/ImageStream, - include/osg/TextureBuffer, include/osg/ValueObject, - include/osgAnimation/Action, - include/osgAnimation/AnimationUpdateCallback, - include/osgAnimation/MorphGeometry, - include/osgDB/DatabaseRevisions, include/osgGA/GUIEventAdapter, - include/osgManipulator/Constraint, - include/osgParticle/DomainOperator, - include/osgQt/QFontImplementation, include/osgSim/ShapeAttribute, - include/osgText/Font, include/osgVolume/Locator, - src/OpenThreads/pthreads/PThread.cpp, src/osg/BufferObject.cpp, - src/osg/GraphicsCostEstimator.cpp, src/osg/KdTree.cpp, - src/osg/Notify.cpp, src/osg/PrimitiveSet.cpp, - src/osg/Referenced.cpp, src/osg/Shader.cpp, - src/osg/ShaderAttribute.cpp, src/osg/Texture.cpp, - src/osg/glu/libtess/dict.cpp, src/osg/glu/libtess/memalloc.cpp, - src/osg/glu/libutil/mipmap.cpp, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/Skeleton.cpp, - src/osgAnimation/StackedMatrixElement.cpp, - src/osgAnimation/StackedQuaternionElement.cpp, - src/osgAnimation/StackedRotateAxisElement.cpp, - src/osgAnimation/StackedScaleElement.cpp, - src/osgAnimation/StackedTransform.cpp, - src/osgAnimation/StackedTranslateElement.cpp, - src/osgAnimation/StatsHandler.cpp, src/osgDB/ConvertUTF.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/DatabaseRevisions.cpp, - src/osgDB/ImagePager.cpp, src/osgDB/Registry.cpp, - src/osgDB/XmlParser.cpp, src/osgGA/CameraManipulator.cpp, - src/osgGA/Device.cpp, src/osgGA/FirstPersonManipulator.cpp, - src/osgGA/FlightManipulator.cpp, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/OrbitManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, - src/osgParticle/SinkOperator.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osg/XmlStreamOperator.h, - src/osgPresentation/KeyEventHandler.cpp, - src/osgPresentation/PropertyManager.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgQt/GraphicsWindowQt.cpp, - src/osgQt/QFontImplementation.cpp, src/osgQt/QWidgetImage.cpp, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/ViewDependentShadowMap.cpp, - src/osgTerrain/Layer.cpp, src/osgTerrain/TerrainTechnique.cpp, - src/osgText/DefaultFont.h, src/osgText/Style.cpp, - src/osgUtil/CullVisitor.cpp, - src/osgUtil/DelaunayTriangulator.cpp, - src/osgUtil/PolytopeIntersector.cpp, - src/osgUtil/SceneGraphBuilder.cpp, - src/osgUtil/SmoothingVisitor.cpp, src/osgUtil/Tessellator.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Keystone.cpp, - src/osgViewer/PixelBufferX11.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, src/osgViewer/Viewer.cpp, - src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/Layer.cpp, src/osgVolume/Locator.cpp, - src/osgVolume/RayTracedTechnique.cpp, src/osgWidget/Browser.cpp, - src/osgWidget/Canvas.cpp, src/osgWidget/Frame.cpp, - src/osgWidget/Input.cpp, src/osgWidget/Lua.cpp, - src/osgWidget/Python.cpp, src/osgWidget/StyleManager.cpp, - src/osgWidget/ViewerEventHandlers.cpp, src/osgWidget/Window.cpp, - src/osgWidget/WindowManager.cpp: From David Callu, warning fixes - and removal of spaces at end of lines. - -2013-06-28 10:59 robert - - * include/osgViewer/config/WoWVxDisplay: From David Callu, "in - osgViewer::WoWVxDisplay::WoWVxDisplay(unsigned int type=20, - unsigned int screenNum=0) - screenNum is unused. - - fix attached. - " - -2013-06-28 10:51 robert - - * include/osg/State, src/osg/Geometry.cpp, src/osg/State.cpp: From - David Callu, added support for glVertexAttribLPointer and - glVertexAttribIPointer, utilized via - osg::Array::setPreserveDataType(true); - -2013-06-28 08:57 robert - - * include/osgDB/DataTypes, include/osgDB/InputStream, - include/osgDB/OutputStream, include/osgDB/Serializer, - src/osgDB/InputStream.cpp, src/osgDB/ObjectWrapper.cpp, - src/osgDB/OutputStream.cpp: From David Callu, serializer support - for new Vec* and Vec*Array classes - -2013-06-28 08:11 robert - - * src/osg/Geometry.cpp: - -2013-06-27 17:37 robert - - * include/osg/Array, include/osg/Vec2ub, include/osg/Vec2us, - include/osg/Vec3ub, include/osg/Vec3us, include/osg/Vec4us, - src/osg/CMakeLists.txt: From David Callu, "Added Vec3ub, Vec3us, - Vec4us, Vec2ub and Vec2us classes" - -2013-06-27 16:44 robert - - * include/osg/BufferObject, src/osg/BufferObject.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureBuffer.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp: From - Lionel Lagarde, "Support for paging and shared PBO" - - "The attached file contains: - - a per-context read counter in GLBufferObject::BufferEntry - - a global client counter in BufferData - - the glue between Texture* and Image client counter - " - -2013-06-27 15:18 robert - - * include/osg/State, src/osg/GLBeginEndAdapter.cpp, - src/osg/Geometry.cpp, src/osg/State.cpp: From Aurelien Albert, - added passing on of the gl array normalize to OpenGL when uses - vertex attribute aliasing. - -2013-06-27 14:46 robert - - * include/osg/Array, include/osg/Geometry, src/osg/Geometry.cpp, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp, - src/osgPlugins/normals/Normals.cpp, - src/osgPlugins/normals/Normals.h, - src/osgPlugins/obj/OBJWriterNodeVisitor.cpp, - src/osgPlugins/vrml/ConvertToVRML.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp: Replaced - deprecatated osg::Geometry::get*Binding() calls. - -2013-06-27 13:37 robert - - * src/osgDB/Input.cpp: Added Geometry::containsDeprecatedData() / - fixDeprecatedData() - -2013-06-27 10:58 robert - - * src/osgUtil/MeshOptimizers.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/Simplifier.cpp, src/osgUtil/SmoothingVisitor.cpp, - src/osgUtil/TangentSpaceGenerator.cpp, - src/osgUtil/Tessellator.cpp, src/osgUtil/TriStripVisitor.cpp: - Removed deprecated usage of osg::Geometry::get*Binding() - -2013-06-27 09:59 robert - - * examples/osganimationeasemotion/osganimationeasemotion.cpp, - examples/osganimationskinning/osganimationskinning.cpp, - examples/osganimationsolid/osganimationsolid.cpp, - examples/osganimationviewer/AnimtkViewer.cpp, - examples/osgphotoalbum/ImageReaderWriter.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp: Replaced deprecated - osg::Geometry::set*Binding() usage. - -2013-06-27 09:54 robert - - * applications/osgconv/osgconv.cpp: Replaced deprecated - osg::Geometry::set*Binding() usage - -2013-06-27 09:54 robert - - * examples/osganimate/osganimate.cpp, - examples/osganimationnode/osganimationnode.cpp, - examples/osgautotransform/osgautotransform.cpp, - examples/osgbillboard/osgbillboard.cpp, - examples/osgdelaunay/osgdelaunay.cpp, - examples/osgdepthpartition/osgdepthpartition.cpp, - examples/osgdepthpeeling/DePee.cpp, - examples/osgdepthpeeling/Utility.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgforest/osgforest.cpp, - examples/osgfxbrowser/Frame.cpp, - examples/osggameoflife/GameOfLifePass.cpp, - examples/osggameoflife/osggameoflife.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osggeometryshaders/osggeometryshaders.cpp, - examples/osggpx/osggpx.cpp, examples/osghangglide/base.cpp, - examples/osghangglide/sky.cpp, examples/osghangglide/terrain.cpp, - examples/osghangglide/trees.cpp, examples/osghud/osghud.cpp, - examples/osglight/osglight.cpp, examples/osglogo/osglogo.cpp, - examples/osgmultiplemovies/osgmultiplemovies.cpp, - examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgoit/DepthPeeling.cpp, examples/osgoit/HeatMap.cpp, - examples/osgoscdevice/osgoscdevice.cpp, - examples/osgpick/osgpick.cpp, examples/osgplanets/osgplanets.cpp, - examples/osgpointsprite/osgpointsprite.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgshaderterrain/osgshaderterrain.cpp, - examples/osgshadow/IslandScene.cpp, - examples/osgshadow/osgshadow.cpp, - examples/osgsharedarray/osgsharedarray.cpp, - examples/osgspacewarp/osgspacewarp.cpp, - examples/osgspheresegment/osgspheresegment.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgstereomatch/StereoMultipass.cpp, - examples/osgstereomatch/osgstereomatch.cpp, - examples/osgtessellate/osgtessellate.cpp, - examples/osgtexture2D/osgtexture2D.cpp, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgtexturerectangle/osgtexturerectangle.cpp, - examples/osgthirdpersonview/osgthirdpersonview.cpp, - examples/osgvertexattributes/osgvertexattributes.cpp: Replaced - deprecated osg::Geometry::set*Binding() usage. - -2013-06-27 08:44 robert - - * src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/mdl/VTXReader.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/shp/ESRIShapeParser.cpp, - src/osgPlugins/txp/TXPParser.cpp: Replaced deprecated - osg::Geometry::set*Binding() usage - -2013-06-27 08:30 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/ac/ac3d.cpp, src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/Surface.cpp, src/osgPlugins/lwo/old_Lwo2.cpp, - src/osgPlugins/ply/vertexData.cpp, - src/osgPlugins/trk/ReaderWriterTRK.cpp: Replaced deprecated - Geometry::set*Binding() - -2013-06-26 18:06 robert - - * src/osgSim/ScalarBar.cpp, - src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/RayTracedTechnique.cpp, src/osgWidget/Widget.cpp: - Replaced deprecated Geometry::set*Binding() usage - -2013-06-26 17:58 robert - - * src/osgAnimation/RigGeometry.cpp, src/osgViewer/Keystone.cpp, - src/osgViewer/StatsHandler.cpp, - src/osgViewer/config/PanoramicSphericalDisplay.cpp, - src/osgViewer/config/SphericalDisplay.cpp: Removed deprecated - Geometry::set*Binding() usage - -2013-06-26 17:54 robert - - * include/osg/Array: Added osg::getBinding(osg::Array* array) - convinience function that returns the Array::getBinding() is the - array is not NULL, otherwise returns BIND_OFF. - -2013-06-26 17:45 robert - - * src/osgTerrain/GeometryTechnique.cpp, - src/osgText/GlyphGeometry.cpp, src/osgUtil/SmoothingVisitor.cpp: - Replaced deprecated osg::Geometry::set*Binding() usage - -2013-06-26 17:44 robert - - * src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, src/osgPlugins/dxf/scene.h, - src/osgPlugins/lwo/Converter.cpp, - src/osgPlugins/normals/Normals.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/vrml/Primitives.cpp, - src/osgPlugins/x/ReaderWriterDirectX.cpp: Replaced deprecated - osg::Geometry::set*Binding() calls. - -2013-06-26 16:16 robert - - * src/osg/Geometry.cpp, src/osg/Image.cpp, - src/osg/OcclusionQueryNode.cpp, - src/osgAnimation/RigTransformSoftware.cpp, - src/osgAnimation/StatsHandler.cpp, - src/osgManipulator/RotateCylinderDragger.cpp, - src/osgManipulator/TabPlaneDragger.cpp, - src/osgManipulator/TrackballDragger.cpp, - src/osgManipulator/TranslatePlaneDragger.cpp, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgShadow/ConvexPolyhedron.cpp, src/osgSim/OverlayNode.cpp, - src/osgUtil/SceneGraphBuilder.cpp: From Sebastian Messerschmidt, - "I've taken some time and refactored some places where the old - set*Binding were used." - -2013-06-26 13:00 robert - - * include/osg/State, src/osg/State.cpp: From Aurelien Albert, "This - submission allow the user to specify how to setup - VertexAttributeAliasing. - - I think this is necessary on OpenGL 3.2+ since this is no more - "default" locations in the OpenGL specs. - - The default behaviour stay the same. - - There is a few new methods on osg::State : - - - resetVertexAttributeAlias : reset all vertex alias to osg's - default ones - - set**Alias : set a vertex attribute alias configuration - - setAttributeBindingList : set the attribute binding list (allow - to specify an empty list if you're using "layout" qualifier in - glsl code to specify the bindings. This save some CPU - operations)" - -2013-06-26 12:59 robert - - * include/osg/ArrayDispatchers: Removed unused methods - -2013-06-26 12:33 robert - - * src/osg/ArrayDispatchers.cpp: Removed spaces from end of line - -2013-06-26 12:33 robert - - * src/osg/ArrayDispatchers.cpp: Fixed bug in - TemplateTargetAttributeDispatch that was causing a crash with the - osgsimplegl3 example - -2013-06-26 09:04 robert - - * src/osgUtil/MeshOptimizers.cpp: From Pjotr Svetachov and Robert - Osfield, "the index mesh and vertex pre-transform optimizers can - rearrange or change the size of arrays assigned to a geometry. - This leads to crashes or corrupt geometry when using shared - arrays. - - Attached a fix that duplicates shared geometry arrays." - -2013-06-26 08:53 robert - - * src/osgPlugins/fbx/WriterNodeVisitor.cpp: Removed - Geometry::fixDeprecatedData() as it won't work on const Geometry - -2013-06-26 07:08 robert - - * src/osgSim/ScalarBar.cpp: From Mathias Froehlich, "The attached - file replaces the deprecated geometry use in osgSim. - The per primitive use is changed to full per vertex arrays." - -2013-06-25 16:19 robert - - * include/osg/Geometry: Removed #include as it's - nolonger required in the header - -2013-06-25 16:10 robert - - * CMakeLists.txt, examples/osgdelaunay/osgdelaunay.cpp, - examples/osgimpostor/osgimpostor.cpp, - examples/osgocclusionquery/osgocclusionquery.cpp, - include/osg/Geometry, src/osg/Config.in, src/osg/Geometry.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.h, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.h, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/Geometry.cpp, src/osgPlugins/ive/Geometry.h, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.h, - src/osgPlugins/vrml/IndexedFaceSet.cpp, - src/osgPlugins/vrml/Primitives.cpp, src/osgSim/ScalarBar.cpp, - src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp: With - assistance from Sukender, moved the depreacted osg::Geometry - vertex indices and AttributeBinding definitions out into a - separated namespace/class so to use - deprecated features you should now use deprecated_osg::Geometry - in place of osg::Geometry. - -2013-06-25 11:13 robert - - * examples/osgoit/CMakeLists.txt, examples/osgoit/DepthPeeling.cpp, - examples/osgoit/DepthPeeling.h, examples/osgoit/HeatMap.cpp, - examples/osgoit/HeatMap.h, examples/osgoit/osgoit.cpp: From - Christian Buchner, "Here is a strongly overhauled version of the - original osgoit ("order independent transparency") by Mathias - Fröhlich. I called this version myosgoit. It looks very nice, - just build and run it! - - This version adds: - - - an encapsulation of the entire Depth Peeling procedure into a - class (not currently a scene graph node) for easier integration - in other projects. - - - compositing with opaque (solid) geometry is possible and the - opaque model is only rendered once. This needs to performs some - depth buffer blitting between FBOs. - - - mix and match with GLSL shaders in the transparent objects is - possible, as demonstrated with a 3D heat map intersecting an - opaque truck model. - - - Some Drawbacks: - - - the display framebuffer does not receive any depth information - from the compositing camera. This could be fixed by compositing - with a GLSL shader and writing to FragDepth." - - From Robert Osfield, ported the code to work under Linux and - without the automatic ref_ptr to C* conversion. - -2013-06-25 09:52 robert - - * doc/Doxyfiles/all_Doxyfile, doc/Doxyfiles/auto_Doxyfile, - doc/Doxyfiles/auto_Mainpage, doc/Doxyfiles/core_Doxyfile, - doc/Doxyfiles/doxyfile.cmake, - doc/Doxyfiles/openthreads.doxyfile.cmake: From Alberto Luacas, - "current Doxygen warns against the use of obsolete fields: - DETAILS_AT_TOP, SHOW_DIRECTORIES, HTML_ALIGN_MEMBERS. - - I have removed those in the configuration files." - -2013-06-24 12:51 robert - - * src/osgPlugins/lws/SceneLoader.cpp, - src/osgPlugins/lws/SceneLoader.h: From Cedric Pinson, "I fixed a - little issue with the lightwave scene loader. On the version 5 - there are id on the command LoadObjectLayer in the scene file and - of this version the current code use this field as a part of the - filename, and it fails because the file is not found. - I just added a field version_ to read it at the beginning and - added extra code to check it and read the extra field if needed - and read the good filename" - -2013-06-24 12:31 robert - - * src/osgViewer/GraphicsWindowIOS.mm: From Christian Ruzicka, "when - MSAA is activated on iOS, the stencil attachment is not added - (Stencil buffer is not working at all). Attached are the needed - changes to make MSAA + stencil working on iOS. - - Tested with OSG 3.1.7 and iOS SDK 6.1." - -2013-06-24 12:30 robert - - * CMakeLists.txt, include/osg/Version: Updatd SO_VERSION to reflect - changes in ABI from merging submissions. - -2013-06-24 12:27 robert - - * include/osg/Geometry: From Sukender, "I recently pulled from the - GIT mirror and found that - "OSG_USE_DEPRECATED_GEOMETRY_METHODS=OFF" hides a little mistake: - there is a "#include " inside the "osg" namespace, in - inlude/osg/Geometry. - " - -2013-06-24 11:40 robert - - * src/osgPlugins/ply/ReaderWriterPLY.cpp: From Mourad Boufarguine, - "Attached is a fix for the ply reader to use the output of - osgDB::findDataFile. - - " - -2013-06-24 11:39 robert - - * src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp: From Luc Frauciel, - "You'll find attached a modification of DXWriter to support - Material color: - If a material is present, the diffuse color is affected to - current layer." - -2013-06-24 11:14 robert - - * include/osgUtil/IncrementalCompileOperation, - src/osgUtil/IncrementalCompileOperation.cpp: From Lars Nillson, - "The change in this submission is to take care of the setting - given by a call to - setMaximumNumOfObjectsToCompilePerFrame(…). - - - Sometimes if you give a low number, more than the expected number - of objects are compiled." - -2013-06-24 11:03 robert - - * src/osgAnimation/LinkVisitor.cpp, - src/osgDB/SharedStateManager.cpp, - src/osgUtil/GLObjectsVisitor.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/Optimizer.cpp: Convert usage to use const versions of - containers - -2013-06-24 09:59 robert - - * CMakeLists.txt: From Frederic Morin, "Current behaviour uses - SDKSettings.plist to determine osx version but - this file is only available when XCode is installed. - - This version works also when Command Line Tools for XCode are - installed (minimum build env for osx without XCode) - - See https://github.com/openscenegraph/osg/pull/8 for patch - details - Patch: https://github.com/openscenegraph/osg/pull/8/files" - -2013-06-24 09:51 robert - - * include/osg/FrameBufferObject, include/osg/Image, - src/osg/Image.cpp: From Farshid Lashkari, "I've attached a small - patch that extends the Image::readImageFromCurrentTexture method - to support more depth texture pixel formats (16, 24, 32, 32F). In - order to compile, I moved some depth pixel format definitions - from FrameBufferObject to Image. - " - -2013-06-24 09:31 robert - - * include/osgDB/Registry: From Christian Noon, "Got a simple patch - for correcting a problem with the USE_COMPRESSOR_WRAPPER() macro - in the osgDB::Registry. The problem is that the wrapper - declaration doesn't match the one defined in the - REGISTER_COMPRESSOR() method in the osgDB::ObjectWrapper method. - This patch fixes the wrapper declaration so they both match - properly. I ran into this problem using compressed files in an - iOS application where all the libraries and plugins need to be - built statically." - -2013-06-24 09:12 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp: From Nick Black, - "Hey there! avcodec_open() has been deprecated for some time, and - indeed has - been removed in the most recent versions of libavcodec/ffmpeg. - You're - already using avcodec_open2() elsewhere, but one appears to have - been - missed. The change is trivial: - - [skynet](0) $ svn diff - Index: src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp - =================================================================== - --- src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp (revision 13355) - +++ src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp (working copy) - @@ -109,7 +109,7 @@ - // m_context->flags |= CODEC_FLAG_TRUNCATED; - - // Open codec - - if (avcodec_open(m_context, p_codec) < 0) - + if (avcodec_open2(m_context, p_codec, NULL) < 0) - throw std::runtime_error("avcodec_open() failed"); - } - - [skynet](0) $ - - I've applied similar changes this year to many other packages, - including - cheese, blender, linphone, ad nauseam. It's been tested by - verifying that - with my patch, OSG builds against the newest libavcodec and - ffmpeg, whereas - otherwise it does not. - - The modified src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp is - attached. It - originates in svn trunk revision 13355. Thanks!" - -2013-06-24 09:02 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp: Introduced - typedef's to make the code more readble and maintanable - -2013-06-24 08:48 robert - - * include/osgDB/InputStream, include/osgDB/ObjectWrapper, - include/osgDB/OutputStream, include/osgDB/StreamOperator, - src/osgDB/InputStream.cpp, src/osgDB/ObjectWrapper.cpp, - src/osgDB/OutputStream.cpp, - src/osgPlugins/osg/BinaryStreamOperator.h: From Wang Rui, "The - file attached includes two new features for the serialization IO - functionality. First, custom serializer version control should - work now, just by defining a new REGISTER_CUSTOM_OBJECT_WRAPPER - macro. For example: - - // A custom class - namespace CustomDomain { - - class MyGroup : public osg::Group - { - public: - META_Node( CustomDomain, MyGroup ); - - void setMyName( const std::string& n ); - const std::string& getMyName() const; - - void setMyID( int id ); - int getMyID() const; - - ... - }; - - } - - // The serialization wrapper using a custom domain name - REGISTER_CUSTOM_OBJECT_WRAPPER( MyDomain, - CustomDomain_MyGroup, - new CustomDomain::MyGroup, - CustomDomain::MyGroup, - "osg::Object osg::Node osg::Group CustomDomain::MyGroup" ) - { - ADD_STRING_SERIALIZER( MyName, std::string() ); - { - UPDATE_TO_VERSION_SCOPED( 1 ); // Updated for a new domain - version - ADD_INT_SERIALIZER( MyID, 0 ); - } - } - - Save the class instance as follows: - osgDB::writeNodeFile( *myGroup, "serializer_test.osgt", new - osgDB::Options("CustomDomains=MyDomain:1") ); - - The output file will include the domain version definition and - all the class data, and can be read back. We can also force - setting the domain version by the CustomDomains option while - reading the saved files. If we save the class instance without - any options, MyID will be ignored because the default domain - version is 0. - - This may help third-party libraries like osgEarth to maintain - their own serializers without regarding to the OSG soversion - changes. - - Another feature added is a more robust binary format, which in - fact adds a size-offset at each block's beginning. When there are - problems or unsupported data types while reading, we can now - directly jump to the block end indicated by the offset value. So - a .osgb file will automatically ignore bad data and read remains - as normal (at present it will fail at all). This feature will not - break the backward compatibility, and can be disabled by setting - "RobustBinaryFormat=false" while writing out. - - Hope these changes can work smoothly with present and future - community projects. Maybe we should also consider have an - osgserializer example to test and demonstrate all things we can - do now." - -2013-06-24 08:22 robert - - * src/osgWrappers/serializers/osg/Geometry.cpp: From Wang Rui, - "Sorry for my very slow response because of some personal issues. - I found that new Geometry serializers can't work with old .osgb - files. The modified FastPathHint serializer doesn't correctly - read from the stream and thus jumbles following inputs. The file - attached can be placed in osgWrappers/serializers/osg to fix that - problem. - - " - -2013-06-24 08:19 robert - - * src/osgPlugins/ffmpeg/CMakeLists.txt: From Wang Rui, "The - osgdb_ffmpeg plugin may not work with latest ffmpeg windows sdk - and will say "The procedure entry point xxx could not be located - in xxx.dll" instead. The following link describes the reason - (maybe a certain optimization problem of the VS compiler): - http://forum.videolan.org/viewtopic.php?f=32&t=98097 - - After adding the /OPT:NOREF, the problem has gone. - - " - -2013-06-24 08:18 robert - - * src/osgUtil/TangentSpaceGenerator.cpp: From Farshid Lashkari, "In - many game engines it is common to set the W component of the - tangent vector to -1 if the UVs are mirrored and 1 if not. I've - updated the osgUtil::TangentSpaceGenerator class to do the same." - -2013-06-21 19:35 robert - - * CMakeLists.txt, include/osg/Version: Updated version number after - dev release - -2013-06-21 19:35 robert - - * CMakeLists.txt: Removed spaces from end of lines - -2013-06-21 14:37 robert - - * src/osgUtil/tristripper/src/tri_stripper.cpp: Fixed author name - error introduced by xxdiff - -2013-06-21 14:30 robert - - * AUTHORS.txt: Reapplied AUTHORS changes - -2013-06-21 14:29 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Update ChangeLog and AUTHORS.txt for release - -2013-06-21 14:17 robert - - * src/osgPlugins/dae/daeWGeometry.cpp: Removed unneccessary - handling of BIND_PER_PRIMITIVE on output code - -2013-06-21 13:59 robert - - * include/osgUtil/RenderStage, src/osgUtil/RenderStage.cpp: From - Pjotr Svetachov, introduced use of osg::observer_ptr - in place of osg::Camera* - -2013-06-21 13:41 robert - - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Stephan - Huber, "attached you'll find the missing - readObject-implementations for the imageio-plugin as suggested by - Remo Eichenberger." - -2013-06-21 12:10 robert - - * src/osgPlugins/fbx/fbxRMesh.cpp: From Laurens Voerman, build fix - -2013-06-21 10:59 robert - - * src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeWGeometry.cpp: Build fixes for new - osg::Geometry +Wed, 25 Feb 2015 19:59:01 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS filegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14723 16af8721-9629-0410-8352-f15c8da7e697 -2013-06-21 10:14 robert - * src/osgPlugins/dae/daeRGeometry.cpp: Converted - osg::Geometry::ArrayData usage across to osg::Array. +Wed, 25 Feb 2015 19:52:00 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLoggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14722 16af8721-9629-0410-8352-f15c8da7e697 -2013-06-21 10:03 robert - * src/osgViewer/View.cpp: From Laurens Voerman, "I just tested - openGL quadbuffered stereo with the osgviewer, the mouse works - again, so does the keystonecorrection, but the right-eye render - to texture camera appears not to clear it's color buffer. - I found the problem in src\osgViewer\View.cpp, fix attached." +Wed, 25 Feb 2015 19:38:43 +0000 +Checked in by : Robert OSFIELD +From Aitor Moreno, "Attached you will find the modified file without the lines which raises the exception. "git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14721 16af8721-9629-0410-8352-f15c8da7e697 -2013-06-21 09:53 robert - * CMakeModules/FindCOLLADA.cmake: From Mathieu Marache, I needed to - modify the FindCOLLADA.cmake to enable its compilation under - macosx. +Wed, 25 Feb 2015 19:31:20 +0000 +Checked in by : Robert OSFIELD +From Jamie Robertson, "I've been using osgSim::ScalarBar to display fixed range color values (e.g. red from 1-2, green from 3-4 etc), by setting the _numColors the same as the number of actual colors in the ColorRange.Currently if you do this you get strange looking results as the colors are calculated for values in the centre of each color step, so if your steps are large, the colors are interpolated sigificantly (see screen grab of red, green and blue colors for illustration). -2013-06-21 09:47 robert +I've attached a fix which just uses the original color values whenever _numColors equals the number of actual defined colors in the ColorRange. I doubt anyone would want interpolated colors in these circumstances." - * src/osgPlugins/fbx/fbxRMesh.cpp: Converted ArrayData usage across - to set*Array() usage with new binding parameter -2013-06-21 09:43 robert - * examples/osggeometry/osggeometry.cpp, include/osg/Geometry, - src/osg/Geometry.cpp: Added new osg::Array::Binding parameter to - osg::Geometry::set*Array(osg::Array* array, osg::Array::Binding - binding=osg::Array::BIND_UNDEFINED) methods to make it easier for - the user - to set the binding without the need to call the deprecated - osg::Geometry::set*Binding(osg::Geometry::AttributeBinding) +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14720 16af8721-9629-0410-8352-f15c8da7e697 -2013-06-21 09:40 robert - * examples/osggeometry/osggeometry.cpp: Removed spaces at ends of - lines +Wed, 25 Feb 2015 19:25:34 +0000 +Checked in by : Robert OSFIELD +From Dmitry Marakasov, "While packaging osg-3.3.3 I've discovered that gstreamer detection is broken:-- Could NOT find GStreamer (missing: GSTREAMER_BASE_INCLUDE_DIRS GSTREAMER_BASE_LIBRARIES GSTREAMER_GSTREAMER-APP_INCLUDE_DIRS GSTREAMER_GSTREAMER-APP_LIBRARIES GSTREAMER_GSTREAMER-PBUTILS_INCLUDE_DIRS GSTREAMER_GSTREAMER-PBUTILS_LIBRARIES) (found version "1.4.5") -2013-06-21 09:17 robert +though all required modules are installed. - * applications/present3D/Cluster.cpp, src/osgDB/FileUtils.cpp: From - FrancoisTigeot, "OpenSceneGraph 3.0.1 doesn't build out of the - box on DragonFly and needs - a few modifications to these files: - - applications/present3D/Cluster.cpp - - src/osgDB/FileUtils.cpp - - The changes are needed to fix a few platform specific things such - as the - absence of stat64, int/socklen_t differences, etc... and are in - the same - line as Linux, Apple and FreeBSD specific checks. - - I have attached the modified files; the original patches to 3.0.1 - are - also visible here if you find it more convenient: - http://dl.wolfpond.org/dports/graphics.osg/dragonfly/patch-applications_present3D_Cluster.cpp - http://dl.wolfpond.org/dports/graphics.osg/dragonfly/patch-src_osgDB_FileUtils.cpp - - With these changes, osg 3.0.1 is able to be built and packaged on - DragonFly - whereas it previously failed to compile." +There are two problems: first, module names are spelled incorrectly in root +CMakeLists.txt (e.g. gstreamer-app instead of app), so variables expected +for them are e.g. GSTREAMER_GSTREAMER-APP_INCLUDE_DIRS instead of +GSTREAMER_APP_INCLUDE_DIRS. -2013-06-21 08:56 robert +Second, gstreamer base component is detected as GSTREAMER while checked +later as GSTREAMER_BASE. I've uncommented the detection as +GSTREAMER_BASE, but obviously that should be revisited and only one +detection left. With this patch, gstreamer is detected properly and +the plugins is successfully built and installed." - * src/osgViewer/GraphicsWindowX11.cpp: From Matthias Helsing, "Here - is the changed source to prefer using _NET_WM_STATE_ABOVE but - fall back to XRaiseWindow should the Atoms not be supported. I'm - not sure how many might be using the raiseWindow feature but I - needed it for a splash on Ubuntu 12.04." -2013-06-21 08:37 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14719 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp: From Farshid Lashkari, - "I've updated the dds, png, and jpeg plugins to support writing - images with the GL_DEPTH_COMPONENT pixel format. They will simply - treat it the same as the GL_LUMINANCE pixel format." -2013-06-21 08:03 robert - - * CMakeLists.txt: From Jan Ciger, " I have put there in the comment - a nicer way of doing version - checks, but that needs at least CMake 2.6.2." - -2013-06-20 16:44 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgViewer/config/SingleWindow.cpp: Fixed the handling the - mouse min/max ranges of slave Cameras that have a parent Camera - with a viewport. - -2013-06-20 15:48 robert - - * src/osgViewer/config/SingleWindow.cpp: Temporarily commented out - call to view.assignStereoOrKeystoneToCamera() for implementing - stereo as this was causing problem in trackball manipulation - -2013-06-20 15:18 robert - - * src/osg/Geometry.cpp: Added local namespace for util functions, - and fixed the return type of checkDeprecatedData() - -2013-06-20 12:15 robert - - * include/osgParticle/Particle: From Vladimir Chebaev, "I worked - with osg::Particle and see that this class has setter - osgParticle::setTextureTileRange and has no getters for startTile - and endTile. This can be very uncomfortable. - I attached file with two getters." - -2013-06-20 10:59 robert - - * src/osg/State.cpp: Commented out verbose debug messages for - shader composition - -2013-06-20 10:42 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated ChangeLog and AUTHORS file - -2013-06-20 10:05 robert - - * src/osgQt/GraphicsWindowQt.cpp: From Juan Manuel Alvarez, "When - handling keyboard events on osgQt, if a key is kept pressed, - multiple sequences of KEYDOWN -> KEYUP events are fired. - - This is because Qt auto repeats keyboard events, so multiple - calls are made to GLWidget::keyPressEvent and - GLWidget::keyReleaseEvent by Qt, and subsequently translated to - OSG events. - - The way to solve this is ignoring key released auto repeated - events (see - http://qt-project.org/doc/qt-4.8/qkeyevent.html#isAutoRepeat), so - multiple KEYDOWN events are fired, but only one KEYUP. - - I attach a modified osgQt/GraphicsWindowQt.cpp with this change." - -2013-06-20 09:30 robert - - * include/osgQt/GraphicsWindowQt: From Jan Ciger, compilation fix - for Qt 5.0.2 - -2013-06-20 09:27 robert - - * src/osgPlugins/ive/DataInputStream.cpp: From Laurens Voerman, - build fix for VS. - -2013-06-19 17:28 robert - - * examples/osgoscdevice/CMakeLists.txt, - examples/osgoscdevice/osgoscdevice.cpp: Removed svn:executable - property. - -2013-06-19 17:26 robert - - * src/osgPlugins/ZeroConfDevice/AutoDiscovery.cpp, - src/osgPlugins/ZeroConfDevice/AutoDiscovery.h, - src/osgPlugins/ZeroConfDevice/AutoDiscoveryBonjourImpl.h, - src/osgPlugins/ZeroConfDevice/AutoDiscoveryWinImpl.cpp, - src/osgPlugins/ZeroConfDevice/AutoDiscoveryWinImpl.h, - src/osgPlugins/ZeroConfDevice/CMakeLists.txt, - src/osgPlugins/ZeroConfDevice/ReaderWriterZeroConfDevice.cpp, - src/osgPlugins/ZeroConfDevice/mdns_win/ClientCommon.c, - src/osgPlugins/ZeroConfDevice/mdns_win/ClientCommon.h, - src/osgPlugins/ZeroConfDevice/mdns_win/dns-sd.c, - src/osgPlugins/ZeroConfDevice/mdns_win/dns_sd.h: Removed - svn:executable property - -2013-06-19 17:25 robert - - * src/osgPlugins/RestHttpDevice/CMakeLists.txt, - src/osgPlugins/RestHttpDevice/ReaderWriterRestHttpDevice.cpp, - src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, - src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp, - src/osgPlugins/RestHttpDevice/connection.cpp, - src/osgPlugins/RestHttpDevice/connection.hpp, - src/osgPlugins/RestHttpDevice/header.hpp, - src/osgPlugins/RestHttpDevice/io_service_pool.cpp, - src/osgPlugins/RestHttpDevice/io_service_pool.hpp, - src/osgPlugins/RestHttpDevice/mime_types.cpp, - src/osgPlugins/RestHttpDevice/mime_types.hpp, - src/osgPlugins/RestHttpDevice/reply.cpp, - src/osgPlugins/RestHttpDevice/reply.hpp, - src/osgPlugins/RestHttpDevice/request.hpp, - src/osgPlugins/RestHttpDevice/request_handler.cpp, - src/osgPlugins/RestHttpDevice/request_handler.hpp, - src/osgPlugins/RestHttpDevice/request_parser.cpp, - src/osgPlugins/RestHttpDevice/request_parser.hpp, - src/osgPlugins/RestHttpDevice/server.cpp, - src/osgPlugins/RestHttpDevice/server.hpp, - src/osgPlugins/osc/CMakeLists.txt, - src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/OscReceivingDevice.hpp, - src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.hpp, - src/osgPlugins/osc/ReaderWriterOscDevice.cpp: Removed - svn:executable property. - -2013-06-19 16:24 robert - - * examples/osgdelaunay/osgdelaunay.cpp, - examples/osgocclusionquery/osgocclusionquery.cpp, - include/osg/Geometry, src/osg/Geometry.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/normals/Normals.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/vrml/ConvertToVRML.cpp, src/osgSim/ScalarBar.cpp, - src/osgUtil/MeshOptimizers.cpp, src/osgUtil/Tessellator.cpp, - src/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp: Cleaned up usage of - BIND_PER_PRIMITIVE where possible. - -2013-06-19 12:32 robert - - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: From Magnus - Kessler, typo fixes to doxygen docs and comments - -2013-06-19 12:28 robert - - * src/osgUtil/tristripper/src/tri_stripper.cpp: From Magnus - Kessler, "gcc-4.8 flagged this: - - src/osgUtil/tristripper/src/tri_stripper.cpp:375:40: warning: - typedef - ‘tri_node_iter’ locally defined but not used - [-Wunused-local-typedefs] - typedef triangle_graph::node_iterator tri_node_iter; - ^ - --- - src/osgUtil/tristripper/src/tri_stripper.cpp | 1 - - 1 file changed, 1 deletion(-) - - diff --git a/src/osgUtil/tristripper/src/tri_stripper.cpp - b/src/osgUtil/tristripper/src/tri_stripper.cpp - index 2f5a7f3..3396881 100644 - --- a/src/osgUtil/tristripper/src/tri_stripper.cpp - +++ b/src/osgUtil/tristripper/src/tri_stripper.cpp - @@ -372,7 +372,6 @@ inline tri_stripper::const_link_iterator - tri_stripper::BackLinkToNeighbour(const - - void tri_stripper::MarkTriAsTaken(const size_t i) - { - - typedef triangle_graph::node_iterator tri_node_iter; - typedef triangle_graph::out_arc_iterator tri_link_iter; - - // Mark the triangle node" - -2013-06-19 12:27 robert - - * src/osgUtil/tristripper/include/detail/cache_simulator.h, - src/osgUtil/tristripper/include/detail/connectivity_graph.h, - src/osgUtil/tristripper/include/detail/graph_array.h, - src/osgUtil/tristripper/include/detail/heap_array.h, - src/osgUtil/tristripper/include/detail/policy.h, - src/osgUtil/tristripper/include/detail/types.h, - src/osgUtil/tristripper/include/tri_stripper.h, - src/osgUtil/tristripper/src/connectivity_graph.cpp, - src/osgUtil/tristripper/src/policy.cpp, - src/osgUtil/tristripper/src/tri_stripper.cpp: Converted tabs to - four spaces - -2013-06-19 12:19 robert - - * include/osg/GL: From Jan Ciger, "I have found a problem when - building OSG with Qt 5 support. Qt has the - following in the qopengl.h header: - - # include - # ifndef GL_DOUBLE - # define GL_DOUBLE GL_FLOAT - # endif - # ifndef GLdouble - typedef GLfloat GLdouble; - # endif - - Unfortunately, when building for normal OpenGL (not GL/ES!) on - Windows - with MSVC2012, GLdouble is not defined (it is not a macro but - typedef) - and the code above produces a conflicting definition, making the - compile fail. I am attaching a bit hackish workaround for this - problem - in osg/GL " - -2013-06-19 10:56 robert - - * examples/osgcomputeshaders/osgcomputeshaders.cpp, - examples/osgimpostor/osgimpostor.cpp, src/osg/Geometry.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/ive/Geometry.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/vrml/IndexedFaceSet.cpp, - src/osgPlugins/vrml/Primitives.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h, - src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp: Build fixes for new - deprecated osg::Geometry functions - -2013-06-18 19:09 robert - - * examples/osgimpostor/osgimpostor.cpp, src/osg/Geometry.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/ive/Geometry.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h, - src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp: Added #define - OSG_USE_DEPRECATED_GEOMETRY_METHODS usage into code to allow code - to compile enen when CMake configuration has set the #define to - off in include/osg/Config. - -2013-06-18 17:49 robert - - * src/osgPlugins/ac/ac3d.cpp: Moved the assignment of the normal - binding to after the setNormalArray call - -2013-06-18 17:48 robert - - * src/osgPlugins/pfb/ConvertFromPerformer.cpp: Moved the - Geometry::set*Binding to after the set*Array() to prevent - problems when using the deprecated functionality. - -2013-06-18 15:54 robert - - * src/osg/Geometry.cpp: Removed BIND_PER_PRIMITIVE reference - -2013-06-18 15:03 robert - - * src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp: Moved the set - binding and normalize for VertexAttrib to after the VertexAttrib - array assignment - -2013-06-18 14:52 robert - - * include/osg/Array, include/osg/Geometry: Changed header guard - back to original, and removed deprecated enum - -2013-06-18 14:22 robert - - * src/osgPlugins/ive/Geometry.cpp: Fixed order of binding. - -2013-06-18 11:49 robert - - * include/osg/GeometryNew, src/osg/GeometryNew.cpp: Removed - experiment GeometryNew as it's no longer required. - -2013-06-18 11:18 robert - - * CMakeLists.txt, applications/osgfilecache/osgfilecache.cpp, - examples/osganimationhardware/osganimationhardware.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osgimpostor/osgimpostor.cpp, - examples/osgsharedarray/osgsharedarray.cpp, include/osg/Array, - include/osg/ArrayDispatchers, include/osg/Geometry, - src/osg/ArrayDispatchers.cpp, src/osg/CMakeLists.txt, - src/osg/Config.in, src/osg/Geode.cpp, src/osg/Geometry.cpp, - src/osg/GraphicsCostEstimator.cpp, - src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/RigGeometry.cpp, - src/osgAnimation/RigTransformHardware.cpp, - src/osgFX/BumpMapping.cpp, src/osgPlugins/ac/Geode.cpp, - src/osgPlugins/ive/Geometry.cpp, - src/osgPlugins/pov/POVWriterNodeVisitor.cpp, - src/osgUtil/EdgeCollector.cpp, src/osgUtil/MeshOptimizers.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/RenderBin.cpp, - src/osgUtil/Simplifier.cpp, src/osgUtil/SmoothingVisitor.cpp, - src/osgUtil/Statistics.cpp, - src/osgUtil/TangentSpaceGenerator.cpp, - src/osgUtil/Tessellator.cpp, src/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp: 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. - New methods osg::Geometry::containsDeprecatedData() and - osg::Geometry::fixDeprecatedData() provide a means for converting - geometries that still use the array indices and - BIND_PER_PRIMITIVE across to complient - versions. - - Cleaned up the rest of the OSG where use of array indices and - BIND_PER_PRIMITIVE were accessed or used. - -2013-06-14 09:43 robert - - * src/osgText/TextBase.cpp: Fixed TextBase::computeBound() so it - take into account all corners of the text box thus ensuring - proper handling of rotated text - -2013-06-12 12:49 robert - - * include/osgDB/fstream, src/osgDB/fstream.cpp, - src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/OSGA_Archive.h: From Martin Naylor, replace - osgDB::fstream with an osgDB::open() call. - -2013-06-11 10:52 robert - - * examples/osgtessellationshaders/osgtessellationshaders.cpp, - include/osg/PatchParameter, include/osg/Program, - include/osg/StateAttribute, src/osg/CMakeLists.txt, - src/osg/PatchParameter.cpp, src/osg/Program.cpp, - src/osgWrappers/serializers/osg/PatchParameter.cpp: Introduced - new osg::PatchParameter StateAttribute class to wrap up - glPatchParameter associated state. - Note, osg::Program::setParameter(GL_PATCH_VERTICES,num); is - nolonger support and should be replaced by using the new - PatchParameter class. - -2013-06-11 10:49 robert - - * examples/osgtessellationshaders/osgtessellationshaders.cpp: Fixed - indentation - -2013-06-11 09:05 robert - - * include/osgDB/ReaderWriter, src/osgDB/Registry.cpp: Refactored - the way the ReadResult/WriteResult lists are handled, with them - now being sorted so that the Read/WriteResult with highest - numerical value ReadStatus/WriteStatus is returned. - Changed the enum order of ReadStatus/WriteStatus to ensure that - the more relevant errors are last and with the highest numerical - value - -2013-06-10 14:34 robert - - * CMakeLists.txt, examples/CMakeLists.txt, - examples/osgQtBrowser/CMakeLists.txt, - examples/osgQtBrowser/osgQtBrowser.cpp, - examples/osgQtWidgets/CMakeLists.txt, - examples/osgQtWidgets/osgQtWidgets.cpp, - examples/osgqfont/CMakeLists.txt, examples/osgqfont/osgqfont.cpp, - examples/osgviewerQt/CMakeLists.txt, - examples/osgviewerQt/osgviewerQt.cpp, - include/osgQt/GraphicsWindowQt, - include/osgQt/QGraphicsViewAdapter, include/osgQt/QWebViewImage, - src/CMakeLists.txt, src/OpenThreads/CMakeLists.txt, - src/OpenThreads/qt/CMakeLists.txt, - src/OpenThreads/qt/QtConditionPrivateData.h, - src/OpenThreads/qt/QtMutexPrivateData.h, - src/OpenThreads/qt/QtThread.cpp, - src/OpenThreads/qt/QtThreadPrivateData.h, - src/osgQt/CMakeLists.txt, src/osgQt/GraphicsWindowQt.cpp, - src/osgQt/QFontImplementation.cpp, - src/osgQt/QGraphicsViewAdapter.cpp, src/osgQt/QWidgetImage.cpp: - From Kristofer Tingdahl, with additions from Riccardo Corsi and - Robert Milharcic, support for Qt5 build - -2013-06-10 10:37 robert - - * include/osg/NodeCallback: Fixed remove and add callback so they - properly handle nested callbacks - -2013-06-07 10:54 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Marcin Prus, "I - don't know if you seen my second reply to your information about - merging my Image and dds plugin changes. I found one problem in - your latest submit. In ReaderWriterDDS::ComputeImageSizeInBytes - pixelFormat and pixelType are not passed into - osg::Image::computeImageSizeInBytes. - - It's - return osg::Image::computeImageSizeInBytes(width, height, depth, - packing, slice_packing, image_packing); - but I think it should be - return osg::Image::computeImageSizeInBytes(width, height, depth, - pixelFormat, pixelType, packing, slice_packing, image_packing);" - -2013-06-07 10:52 robert - - * examples/osgsharedarray/osgsharedarray.cpp: From Mathias - Froehlich, "attached is a change to osgsharedarray to move - completely to the fast geometry - path. Also the arrays are moved back to static storage since this - is the data - that is actually referenced in draw. So the change moving this - onto the stack - that happend somewhere before broke this." - -2013-06-06 08:23 robert - - * src/osgViewer/Renderer.cpp: Replaced OpenThreads::Mutex with a - OpenThreads::ReentrantMutex to allow draw callbacks to use - Renderer. - -2013-06-05 07:55 robert - - * include/osg/Array: Reorder member variables to ensure better - packing in memory. - -2013-06-05 07:27 robert - - * include/osg/Array, include/osg/GeometryNew, - src/osg/GeometryNew.cpp: Moved the Array::AttribDivisor into the - Array::Binding enum to avoid conflicts in settings between - Binding and AttribDivisor. - - Removed the vertify bindings/shared arrays handling from - GeometryNew - -2013-06-04 19:04 robert - - * include/osg/Array, include/osg/ArrayDispatchers, - include/osg/GeometryNew, src/osg/ArrayDispatchers.cpp, - src/osg/GeometryNew.cpp: Updates to GeometryNew, Array and - ArraDispatchers to clean up GeometryNew so that is no longer uses - ArrayData. - -2013-06-04 14:55 robert - - * include/osg/Array: Added s/getNormalize(), - s/getPreserveDataType(), s/getAttribDivisor() and s/getBinding() - to osg::Array base class in preperation for refactor of - osg::Geometry and introduction of new features. - -2013-06-04 14:43 robert - - * examples/CMakeLists.txt, examples/osggeodemo: Removed now - redundent osggeodemo - -2013-06-04 13:29 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/geo: Removed geo - plugin as the modelling tool it was assocaited is long defunct. - -2013-06-04 10:06 robert - - * examples/osgoscdevice/osgoscdevice.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgpick/osgpick.cpp: Cleaned up BIND_PER_PRIMITIVE and - array indice usage - -2013-06-04 09:32 robert - - * examples/osggeometry/osggeometry.cpp, include/osg/GeometryNew, - src/osg/CMakeLists.txt, src/osg/GeometryNew.cpp: Introduced - GeometryNew which is a cleaned up version of Geometry that - removes support for array indices. - GeometryNew is only temporary and will be renamed to Geometry on - the completion of refactoring work and feedback from community. - Ported osggeometry across to use GeometryNew. - -2013-06-04 09:29 robert - - * examples/osganimate/osganimate.cpp: Removed deprecated usage of - osg::Geometry indices and BIND_PER_PRIMITIVE - -2013-06-03 15:10 robert - - * include/osg/Texture, src/osg/Texture.cpp, - src/osgWrappers/serializers/osg/Texture.cpp: From Aurelien - Albert, Added support for texture swizzle. - -2013-06-03 14:38 robert - - * CMakeLists.txt, include/osg/Version: Updated version and - so_version in prep for 3.1.8 developer release - -2013-06-03 14:27 robert - - * CMakeModules/FindFBX.cmake, - src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRCamera.cpp, - src/osgPlugins/fbx/fbxRLight.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp, - src/osgPlugins/fbx/fbxReader.h: From Laurens Voerman, "Autodesk - released a new version of their FBX Software Development Kit (web - page - http://usa.autodesk.com/adsk/servlet/pc/item?siteID=123112&id=10775847). - The API has changed quite a bit, so lots of changes had to be - made in the osg readerwriter. The preious version of the FBX SDK - (2013.3) already deprecated a lot of the names and functions. The - code I submit now still compiles against 2013.3 (possibly needs a - #define FBX_NEW_API). Not sure if that's useful, but it might - ease the transition." - -2013-06-03 14:04 robert - - * src/osgPlugins/gif/ReaderWriterGIF.cpp: From Laurens Voerman, - "while updating dependencies I found a problem with libgif 5 from - http://sourceforge.net/projects/giflib/ - a change in version 5.0.0 required a call to the fuction - "DGifOpen" to pass an int ref for an error code. - My fix ignores the error, just fixes the compile." - -2013-06-03 14:01 robert - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/fbxRLight.cpp: From Sergey Polischuk, "this - patch fixes light id in gl modes for osg::LightSource's readed - from fbx (previously all lightsources were setting GL_LIGHT0 - mode, while osg::Lights were using different id's), and enables - GL_LIGHT# on root node for all lights contained in model - " - -2013-06-03 13:13 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream, - include/osgDB/Serializer, src/osgDB/InputStream.cpp: Added Vec*b, - Vec4ub, Vec*s, Vec*i, Vec*ui serializers - -2013-06-03 12:19 robert - - * src/osg/CMakeLists.txt: Added Vec2i, Vec2ui, Vec3i, Vec3ui, Vec4i - and Vec4ui headers to CMake header list - -2013-06-03 11:38 robert - - * include/osg/Vec2i, include/osg/Vec2ui, include/osg/Vec3i, - include/osg/Vec3ui, include/osg/Vec4i, include/osg/Vec4ui: From - Art Tevs, int and uint Vec classes - -2013-06-03 09:19 robert - - * include/osg/GL2Extensions, src/osg/GL2Extensions.cpp: From - Aurelien Albert, "This submission is made against trunk version - and add the loading of "glVertexAttribDivisor" extension." - -2013-05-31 10:28 robert - - * CMakeLists.txt: From Laurens Voerman, "I made some changes to the - top level CMakeLists.txt that might be usefull to other - visualstudio users. - 1> Disable project grouping for VCExpress users: the version I - proposed previously in - Re: [osg-submissions] Cmake patch to support folders in IDE (29 - Feb 2012) - - 2> Remove FIND_PACKAGE(OpenAL): not used in any project - - 3> add /wd4250 for Visual Studio 2012: - suppress the errors caused by a microsoft fix for a bugfix. - ref: "Warning messages VS2012..." on osg-users (30 May 2012) - " - -2013-05-31 10:23 robert - - * include/osgGA/GUIEventAdapter: From Ulrich Hertlein, "attached is - a patch that fixes another clang++ compiler warning when - returning - std::vector::size() as 'unsigned int'. - " - -2013-05-30 09:07 robert - - * src/osgPlugins/nvtt/NVTTImageProcessor.cpp: From Wang Rui, "The - osgdb_nvtt plugin needs to be updated to work with the latest - NVTT library, which changes the interface slightly (adding a new - pure virtual method endImage()). I've modified the source file - and attached it here." - -2013-05-28 19:16 robert - - * src/osgViewer/config/PanoramicSphericalDisplay.cpp, - src/osgViewer/config/PanormaicSphericalDisplay.cpp: Renamed - PanoramicSphericalDisplay.cpp to fix a typo - -2013-05-28 16:39 robert - - * ChangeLog, applications/osgversion/Contributors.cpp: Updated - ChangeLog and Contributors list - -2013-05-28 15:43 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Farshid Lashkari, - "The logic for handling opacity maps in the 3ds reader seems to - be incorrect. It checks whether the diffuse texture contains - transparency, instead of the opacity texture. If the diffuse does - not contain an alpha channel it outputs the warning: - - The plugin does not support images without alpha channel for - opacity - - This seems to indicate that the check for alpha should be against - the opacity map. I've attached the updated file. - - " - -2013-05-28 15:40 robert - - * src/osg/State.cpp: From Michael Bach Jensen and Robert Osfield, - "As discussed - (http://forum.openscenegraph.org/viewtopic.php?t=12027) here is - my submission :-) - - The following change to State.cpp fixes the case where textures - in a stateset along with a compute shader program did not make - those textures available to the shader, since it got evaluated - before the texture bind(s)." - - Note from Robert, Michael only change State::apply(StateSet*) so - I also applied the same reversal in apply of texutre modes/state - into the State::apply() method for consistency. - -2013-05-28 15:18 robert - - * src/osgPlugins/ive/Text.cpp: Replaced the initialization of the - strarray to use reseve instead of a initial size provided in the - constructor as this was leading to a bug in output. - -2013-05-28 14:40 robert - - * include/osgShadow/ViewDependentShadowMap: Fixed date typo - -2013-05-28 14:35 robert - - * src/osg/State.cpp: From Farshid Lashkari, "I just started looking - into the shader composition feature. I enabled shader composition - on the osg::State object and noticed a 6x increase in draw time. - I figured that the default composer might have performance - issues, so I created a custom ShaderComposer that overrides - "getOrCreateProgram" and does nothing. This still resulted in a - performance drop. - - I looked into the "State::applyShaderComposition" method and - noticed that it will print debug information to the osg::INFO - stream. I commented that line out and the performance drop was - gone. - - I'm not sure if the printing was accidentally left in or is meant - to be enabled. I've modified the function to only call the print - function if INFO logging is enabled. I've attached the change." - -2013-05-28 14:14 robert - - * examples/osgphotoalbum/ImageReaderWriter.cpp, include/osg/Image, - src/osg/Image.cpp, src/osgPlugins/dds/ReaderWriterDDS.cpp: From - Marcin Prus and Robert Osfield, moved the key parts of the .dds - plugins computeRowWidthInBytes implementation into the - osg::Image::computeImageSizeInBytes(..) to - address bugs in the computation of image size. - -2013-05-28 11:47 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Sukender, "Added - ".dds" file deletion on writing failure." - -2013-05-28 11:46 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Sukender, "Added - vertical flipping to the writer depending on the - Image::getOrigin() value (= flip the image when - Image::BOTTOM_LEFT). Most of the time this will not change DDS - writing (= no v-flip), as it seems images are rarely - "BOTTOM_LEFT". To skip this behaviour, the "ddsNoAutoFlipWrite" - option was added. - I also moved a few lines of code about "dds_flip" option, and - made options reading more like in other ReaderWriters." - -2013-05-28 11:44 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Diane Delallée & - Sukender, "Added some support of non-modulus-4 dimensions in - S3TC-DXTC images (previous implementation seem just not to handle - these properly). - - Added missing packing value on S3TC images. Images are coded - with 4x4 blocs, whatever the image size. So there is an - horizontal packing of 4 pixels (2 bytes in DXT1, 4 bytes in - DXT2-5). - - Added crash guard against writing corrupted S3TC images. - Notes: - - What is missing is a support of "lines packing" in osg::Image - (see code comments). - - S3TC-DXTC vertical flipping crashes (access violation) with - some unusual dimensions (see code). I could not implement missing - cases, so I added guards to avoid crashing." - -2013-05-28 11:25 robert - - * src/osg/Image.cpp, src/osg/dxtctool.cpp, src/osg/dxtctool.h: From - Diane Delallée and Sukender, "1. Image.cpp - Failure to perform a vertical flip on S3TC-DXTC now simply leaves - the original image instead of corrupting it. - Image.cpp was sometimes performing a "normal" (= for uncompressed - images) vertical flip on S3TC-DXTC images, producing weird - results. - Actually, code was trying a "DXTC vertical flip" and relied on - the result to call a "normal vertical flip". But when the "DXTC - v-flip" encounters an error, this is is not necessarily because - the image is not S3TC (ex: unhandled image dimensions)! - So now the code simply does "if dxtc, then flip_dxtc; else - flip_normal;". - - Note from Robert Osfield, moved the isDXT function into the - dxt_tool file and namespace. - -2013-05-28 10:46 robert - - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp: Fixed the - computation of the spot light direction. - -2013-05-28 09:20 robert - - * src/osgViewer/View.cpp: Fixed View::setUpViewInWindow() parameter - -2013-05-28 08:38 robert - - * src/osg/GLExtensions.cpp: Added an OSG_INIT_SINGLETON_PROXY(..) - to initialize the static s_GLExtensionDisableString variable - -2013-05-27 09:10 robert - - * AUTHORS.txt: Updated AUTHORS file - -2013-05-27 09:07 robert - - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - AUTHORS file - -2013-05-27 09:05 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file - -2013-05-27 08:13 robert - - * examples/osgforest/osgforest.cpp: From Martin Naylor, "I am - receiving 1 build error whilst building the SVN, its in osgforest - as follows: - - error C2065: 'GL_RGBA32F' : undeclared identifier - - Shoudlnt that be GL_RGBA32F_ARB as defined in texture header? - - Attached is the easy fix :)." +Wed, 25 Feb 2015 19:19:37 +0000 +Checked in by : Robert OSFIELD +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."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14718 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-27 08:10 robert - * include/osg/Camera, src/osgUtil/SceneView.cpp: Moved quad buffer - definitions into include/osg/Camera +Wed, 25 Feb 2015 18:56:29 +0000 +Checked in by : Robert OSFIELD +From Andreas Henne, Support for GL3 core profile in osgTextgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14717 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-26 10:44 robert - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - AUTHORS file +Wed, 25 Feb 2015 16:59:43 +0000 +Checked in by : Robert OSFIELD +From Michael McDonnell, "I have changed the code so that the plus key increases both the inner and outer tessellation. The minus key decrease both the inner and outer tessellation. You can still use the arrow keys to control inner and outer tessellation separately."From Robert Osfield, clean up the code to fix warnings and make the coding style more consistent with the rest of the OSG. -2013-05-26 10:27 robert - * ChangeLog: Updated ChangeLog +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14716 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-25 10:09 robert - * src/osgUtil/TangentSpaceGenerator.cpp: From Farshid Lashkari, " - small update to TangentSpaceGenerator to support QUAD_STRIP - primitive types." +Wed, 25 Feb 2015 14:55:59 +0000 +Checked in by : Robert OSFIELD +Fixed handling of NULL entries in osg::Geometry TexCoordArrayList and VertexAttribArrayList.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14715 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-24 17:16 robert - * src/osg/Uniform.cpp, src/osgViewer/Scene.cpp: Resrtuctured the - use of static's in the Uniform::getNameID() method to avoid - problems under Android. +Tue, 24 Feb 2015 11:06:05 +0000 +Checked in by : Robert OSFIELD +Fixed matrix setup.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14714 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-24 17:06 robert - * examples/osgAndroidExampleGLES1/jni/osgNativeLib.cpp, - examples/osgAndroidExampleGLES2/jni/osgNativeLib.cpp: 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. " +Mon, 23 Feb 2015 20:28:28 +0000 +Checked in by : Robert OSFIELD +Fixed image allocation operations.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14712 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-24 09:43 robert - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Removed redudent code +Mon, 23 Feb 2015 11:43:21 +0000 +Checked in by : Robert OSFIELD +From Miha RavÅ¡elj and Robert Osfield, fix for serializer bug in osgText::TextBase and osg::Cameragit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14711 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-24 09:35 robert - * include/osgGA/Device, include/osgGA/EventQueue, - include/osgViewer/CompositeViewer, - include/osgViewer/GraphicsWindow, include/osgViewer/View, - include/osgViewer/Viewer, include/osgViewer/ViewerBase, - include/osgViewer/api/Carbon/GraphicsWindowCarbon, - include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - include/osgViewer/api/IOS/GraphicsWindowIOS, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/X11/GraphicsWindowX11, - src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp, - src/osgPlugins/ZeroConfDevice/ReaderWriterZeroConfDevice.cpp, - src/osgPlugins/osc/OscReceivingDevice.hpp, - src/osgPlugins/sdl/JoystickDevice.cpp, - src/osgPlugins/sdl/JoystickDevice.h, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/GraphicsWindowIOS.mm, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp: - Fixed panning bug, when using RUN_ON_DEMAND, that resulted in the - camera being thrown off towards infinity. - - The solution for to refactor the way that events are checked so I - add a bool return type to checkEvents() method across - osgViewer::GraphcisWindow, osgGA::Devive and - osgViewer::Viewer/CompositeViewer classes +Mon, 23 Feb 2015 11:07:03 +0000 +Checked in by : Robert OSFIELD +From Arjun Ramamurthy, fix for use of StatsHandler in multipleviews/windowsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14709 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-23 18:29 robert - - * src/osgParticle/ParticleSystem.cpp: Added repolation of the - _deadparts stack which would otherwise been invalidatd by the - depth sort of particles. - -2013-05-23 15:55 robert - - * examples/osgforest/osgforest.cpp: From Pawel Ksiezopolski, Added - example of using osg::TextureBuffer + GLSL to render forest. - -2013-05-23 14:14 robert - - * CMakeLists.txt: From David Fries, "This updates the - CMakeLists.txt instructions for the commands - to make the doxygen documentation." - -2013-05-23 12:29 robert - - * src/osgPlugins/vnc/ReaderWriterVNC.cpp: Refactored the idle - mechanism to fix problems with the vnc thread going idle when it - shouldn't have. - -2013-05-23 10:25 robert - - * src/osgWidget/PdfReader.cpp, src/osgWidget/VncClient.cpp: Added - assigned of the InteractiveImageHandler as a cull callback to - enable the interactive image to know when it's being actively - used as part of rendering a frame. - -2013-05-22 15:48 robert - - * src/osgViewer/View.cpp: Quitened down debug messages - -2013-05-22 13:16 robert - - * src/osg/ShaderAttribute.cpp: Removed debug messages - -2013-05-22 13:09 robert - - * src/osgPlugins/vnc/CMakeLists.txt: From Nico Kruithof, "For the - VNC server, it seems that the wrong include path is used. - - Instead of - INCLUDE_DIRECTORIES(${LIBVNCCLIENT_INCLUDE_DIR}) - the CMake variable - INCLUDE_DIRECTORIES(${LIBVNCSERVER_INCLUDE_DIR}) - should be used. - - Attached is a fix for src/osgPlugins/vnc/CMakeLists.txt" - -2013-05-22 12:49 robert - - * include/osg/BufferObject, include/osg/TextureBuffer, - src/osg/BufferObject.cpp, src/osg/CMakeLists.txt, - src/osg/TextureBuffer.cpp: From Pawel Ksiezopolski, first email: - "This submission adds texture buffer object ( defined in - GL_ARB_texture_buffer_object extension ) to the osg::Texture* - family. - - TextureBuffer objects may use osg::Texture::bindToImageUnit(), so - GLSL shaders are able to use not only texelFetch() function , but - also functions defined in GL_ARB_shader_image_load_store - extension : imageLoad(), imageStore(), imageAtomicAdd() etc." - - second email: "After a while I found that - osg::Texture::applyTexParameters() used with TextureBuffer may - cause some OpenGL errors ( applying texture filters and wraps to - TextureBuffer makes no sense ) so I fixed it." - -2013-05-22 11:06 robert - - * src/osgWrappers/serializers/osgAnimation/RigGeometry.cpp: From - Jan Ciger, "Here is a little patch to fix a bug in the - InfluenceMap serialization. The names of the maps weren't quoted - properly and therefore it was breaking loading of rigged models - exported from e.g. Blender. Also names that contained spaces - wouldn't have been parsed properly. " - -2013-05-22 10:28 robert - - * CMakeLists.txt: From David Callu, "ust a simple IF ENDIF mismatch - in last commit (I use git so no available SVN commit number ) : - - CMake Warning (dev) in CMakeLists.txt: - A logical block opening on the line - - /home/ledocc/work/perso/osg_Workspace/osg/CMakeLists.txt:823 (IF) - - closes on the line - - /home/ledocc/work/perso/osg_Workspace/osg/CMakeLists.txt:893 - (ENDIF) - - with mis-matching arguments. - - I remove ENDIF argument, it is no longer needed by cmake" - -2013-05-21 17:41 robert - - * src/osg/State.cpp: From Farshid Lashkari, "I'm working on a - custom ShaderComposer and I need access to the full StateSetStack - of the State object within the getOrCreateProgram() method. The - problem is that "State::apply(const StateSet* dstate)" does not - add the specified stateset to the stack. I'm not sure if this was - intentional, but I've updated the function to push/pop the - stateset. - - I hope the change seems reasonable. I searched the entire code - base for code that accesses the StateSetStack, and noticed - RenderBin and RenderStage use it. However, I don't think that - code would ever be called from within the State::apply() - function, so I'm fairly confident the change should be safe." - -2013-05-21 10:22 robert - - * CMakeLists.txt, src/osgDB/CMakeLists.txt, - src/osgViewer/CMakeLists.txt: From Valeriy Dubov, fix for Android - build under OSX - -2013-05-21 09:48 robert - - * src/osgManipulator/Dragger.cpp: From Alexander Sinditskiy, "I - just noticed that Dragger allways handle events even when - handle(const PointerInfo&, const osgGA::GUIEventAdapter&, - osgGA::GUIActionAdapter&) - returns false.I think it is not correct...i think handled should - be changed only when it is really handled." - -2013-05-21 09:44 robert - - * src/osgViewer/View.cpp, - src/osgViewer/config/AcrossAllScreens.cpp, - src/osgViewer/config/SingleWindow.cpp: Added use of SingleWindow - for when only one screen is used - -2013-05-20 19:24 robert - - * examples/osgkeystone/osgkeystone.cpp, include/osgViewer/View, - include/osgViewer/config/SingleWindow, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/config/SingleScreen.cpp, - src/osgViewer/config/SingleWindow.cpp, - src/osgWrappers/serializers/osgViewer/SingleWindow.cpp: - Refactored the support for stereo and keystone RTT setup so that - it can be applied to an existing Camera. - -2013-05-20 14:17 robert - - * include/osgViewer/config/SingleWindow, - src/osgViewer/config/SingleWindow.cpp, - src/osgWrappers/serializers/osgViewer/SingleWindow.cpp: Added - support for controlling border and override redirect to the - SingleWindow View::Config - -2013-05-20 10:23 robert - - * src/osgViewer/View.cpp: Added a dedicated RTT texture for each of - the left and right eyes when doing ANAGLYPHIC stereo to avoid - issues with scene graphs containing ClearNode's such as when - using in Present3D - -2013-05-16 15:52 robert - - * src/osgViewer/View.cpp: Added support for setting the left/right - cull masks - -2013-05-16 14:51 robert - - * src/osg/DisplaySettings.cpp: Changed the default of - OSG_SPLIT_STEREO_AUTO_ADJUST_ASPECT_RATIO to OFF - -2013-05-16 14:11 robert - - * src/osgViewer/View.cpp: Fixed stereo offsets of HORIZONTAL_SPLIT - and VERTICAL_SPLIT stereo modes - -2013-05-16 14:07 robert - - * examples/osgkeystone/osgkeystone.cpp: Reverted back to changes - before experiements with ViewConfig - -2013-05-16 10:28 robert - - * src/osgViewer/Viewer.cpp: Cleaned up the WoWVxDisplay command - line parsing - -2013-05-16 10:11 robert - - * examples/osgkeystone/osgkeystone.cpp, include/osgViewer/Config, - include/osgViewer/View, - include/osgViewer/config/AcrossAllScreens, - include/osgViewer/config/PanoramicSphericalDisplay, - include/osgViewer/config/SingleScreen, - include/osgViewer/config/SingleWindow, - include/osgViewer/config/SphericalDisplay, - include/osgViewer/config/WoWVxDisplay, - src/osgViewer/CMakeLists.txt, src/osgViewer/Config.cpp, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/serializers/osgViewer/Config.cpp, - src/osgWrappers/serializers/osgViewer/PanoramicSphericalDisplay.cpp, - src/osgWrappers/serializers/osgViewer/SingleScreen.cpp, - src/osgWrappers/serializers/osgViewer/SingleWindow.cpp, - src/osgWrappers/serializers/osgViewer/SphericalDisplay.cpp, - src/osgWrappers/serializers/osgViewer/WoWVxDisplay.cpp: Renamed - osgViewer::Config osgViewer::ViewConfig and moved it's - declaration into include/osgViewer. - -2013-05-16 09:08 robert - - * examples/osgkeystone/osgkeystone.cpp, - include/osgViewer/config/PanoramicSphericalDisplay, - include/osgViewer/config/WoWVxDisplay, - src/osgViewer/config/PanormaicSphericalDisplay.cpp, - src/osgViewer/config/WoWVxDisplay.cpp, - src/osgWrappers/serializers/osgViewer/WoWVxDisplay.cpp: Added - WoWVxDisplay view config - -2013-05-15 16:15 robert - - * examples/osgkeystone/osgkeystone.cpp, include/osgViewer/Config, - include/osgViewer/config, - include/osgViewer/config/AcrossAllScreens, - include/osgViewer/config/PanoramicSphericalDisplay, - include/osgViewer/config/SingleScreen, - include/osgViewer/config/SingleWindow, - include/osgViewer/config/SphericalDisplay, - src/osgViewer/CMakeLists.txt, src/osgViewer/Config.cpp, - src/osgViewer/config, src/osgViewer/config/AcrossAllScreens.cpp, - src/osgViewer/config/PanormaicSphericalDisplay.cpp, - src/osgViewer/config/SingleScreen.cpp, - src/osgViewer/config/SingleWindow.cpp, - src/osgViewer/config/SphericalDisplay.cpp, - src/osgWrappers/serializers/osgViewer/AcrossAllScreens.cpp, - src/osgWrappers/serializers/osgViewer/PanoramicSphericalDisplay.cpp, - src/osgWrappers/serializers/osgViewer/SingleScreen.cpp, - src/osgWrappers/serializers/osgViewer/SingleWindow.cpp, - src/osgWrappers/serializers/osgViewer/SphericalDisplay.cpp, - src/osgWrappers/serializers/osgViewer/ViewAcrossAllScreens.cpp, - src/osgWrappers/serializers/osgViewer/ViewInWindow.cpp: Created a - dedicated include/osgViewer/config and src/osgViewer/config - directories to place all the Config classes. - -2013-05-15 12:50 robert - - * src/osgViewer/Viewer.cpp: Added support for osgViewer::Config in - osgViewer::Viewer command line parsing - -2013-05-15 11:31 robert - - * include/osgViewer/Config, src/osgViewer/CMakeLists.txt, - src/osgViewer/Config.cpp, src/osgViewer/Keystone.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osgViewer, - src/osgWrappers/serializers/osgViewer/CMakeLists.txt, - src/osgWrappers/serializers/osgViewer/Config.cpp, - src/osgWrappers/serializers/osgViewer/Keystone.cpp, - src/osgWrappers/serializers/osgViewer/ViewAcrossAllScreens.cpp, - src/osgWrappers/serializers/osgViewer/ViewInWindow.cpp: - Introduced osgViewer::Config base class and beginnigs of various - Config implementations. - Introduced osgViewer serializers plugin for serialization support - for osgViewer::Config implementations and Keystone - -2013-05-14 16:23 robert - - * src/osg/Notify.cpp: From Lionel Lagarde, "When a function do: - - OSG_DEBUG << "Hello world!\n"; - - the underlying stream is not automatically flushed. It is flushed - if endl is queued instead of \n: - - OSG_DEBUG << "Hello world!" << std::endl; - - - The notify macros do: - stream->setCurrentSeverity(severity); - return *stream; - - So, if a function do: - - OSG_DEBUG << "This is a debug message\n"; - OSG_NOTICE << "This is a notice message" << std::endl; - - the debug message will be classified as a notice message. - - It is a problem when the application uses a NotifyHandler. The - notify - method of the handler is called with: - - severity = NOTICE - message = "This is a debug message\nThis is a notice message" - - The attached Notify.cpp contains an automatic flush of the stream - when - the current severity changes. - - " - -2013-05-14 16:18 robert - - * include/osg/GL2Extensions: From Michael Kapelko, "The provided - patch (against SVN revision 13380) adds missing constness to - returning calls (without it the user code does not compile)." - -2013-05-14 16:15 robert - - * src/osgPlugins/tga/ReaderWriterTGA.cpp: From Farshid Lashkari, - "The tga image loader was not properly reading in 16-bit images. - Fix is attached." - -2013-05-14 16:12 robert - - * include/osg/BufferObject, include/osg/Geode, include/osg/LOD, - include/osg/PagedLOD, include/osg/Program, include/osg/Shader, - include/osg/StateSet, include/osg/Texture, include/osg/Uniform, - include/osgDB/DatabasePager, include/osgDB/ImagePager, - include/osgDB/Options, include/osgDB/Serializer, - include/osgGA/GUIEventAdapter, include/osgTerrain/Layer, - include/osgTerrain/TerrainTile: From Ulrich Hertlein, "Attached - is a patch that introduces 'static_cast' on some - instances where - the code returns '.size()' of a std::vector. This caused some - warnings when using clang++ - on OS X." - -2013-05-14 13:35 robert - * ChangeLog: Updated ChangeLog +Fri, 20 Feb 2015 15:12:57 +0000 +Checked in by : Robert OSFIELD +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 expectgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14708 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-14 13:34 robert - * CMakeLists.txt, include/osg/Version: Updated version after dev - release +Fri, 20 Feb 2015 15:04:56 +0000 +Checked in by : Robert OSFIELD +Removed redudent shaders, and updated remaining shaders to match OpenSceneGraph-Data/shadersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14705 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-13 13:12 robert - * include/osgUtil/LineSegmentIntersector: Added OSGUTIL_EXPORT for - Windows build +Fri, 20 Feb 2015 15:02:43 +0000 +Checked in by : Robert OSFIELD +First step of refactoring the osg::Program management in osgTerrain::GeometryPool for better performance by placing default osg::Program and shader defines on a single StateSet below the osgTerrain::Terraingit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14704 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-13 12:08 robert - * AUTHORS.txt: Updated version number for dev release +Wed, 18 Feb 2015 10:52:52 +0000 +Checked in by : Robert OSFIELD +Moved osgTerrain::GeometryPool from osgTerrain::DisplacementMappingTechnique to the osgTerrain::Terraingit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14703 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-13 11:59 robert - * ChangeLog: Updated ChangeLog for dev release - -2013-05-13 11:51 robert - - * CMakeLists.txt: Updated links to svn repository - -2013-05-13 11:02 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Keystone.cpp, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Fixed build for - when automatic type conversion isn't enabled for ref_ptr<> - -2013-05-13 09:53 robert - - * src/osgViewer/View.cpp: Fixed the render order to the Render To - Texture cameras used in stereo keystoning. - -2013-05-13 09:49 robert - - * src/osgViewer/Keystone.cpp, src/osgViewer/View.cpp: Improved the - use of the Keystone's defined in the DisplaySettings object. - -2013-05-13 09:18 robert - - * examples/osgkeystone/osgkeystone.cpp, include/osgViewer/View, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Added to - Viewer::realize() automatic setup using Keystone when available - and enabled, and when no other window setup has been selected. +Wed, 18 Feb 2015 10:23:14 +0000 +Checked in by : Robert OSFIELD +From Sebastian Messerschmidt, "Attached you find a version of the ReaderWriterDDS with info outputs set to OSG_INFO instead of OSG_NOTICE. The old version spams the console for each loaded DDS file."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14701 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-10 17:59 robert - * examples/osgkeystone/osgkeystone.cpp, - include/osg/DisplaySettings, src/osg/DisplaySettings.cpp: Added - DisplaySettings::KeystoneHint flag that can be set via - --keystone-on and --keystone-off command line parameters, and the - OSG_KEYSTONE env var +Tue, 17 Feb 2015 20:42:12 +0000 +Checked in by : Robert OSFIELD +Added support for DefineList to StateSet::merge(..)git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14700 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-10 16:06 robert - * examples/osgkeystone/osgkeystone.cpp, include/osgViewer/Keystone, - src/osgViewer/Keystone.cpp: Added keystone file handling +Tue, 17 Feb 2015 19:40:58 +0000 +Checked in by : Robert OSFIELD +From Stephan Wenglorz, "the attached fix corrects a small bug in OperationThread::setDone(bool), calling it had the opposite effect of what was intended, i.e. setting done to false actually finished the thread. The effect was that VPB threads would exit before starting osgdem when a task had been enqueued, because they initially set done to false."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14699 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-10 11:56 robert - * examples/osgkeystone/osgkeystone.cpp, - src/osg/DisplaySettings.cpp: Added --keystone command - line support into DisplaySettings, and added OSG_KEYSTONE_FILES - env var support into osg::DisplaySettings. +Tue, 17 Feb 2015 19:22:37 +0000 +Checked in by : Robert OSFIELD +Removed GL_ usage in definesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14697 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-10 10:00 robert - * examples/osgkeystone/osgkeystone.cpp, include/osgViewer/Keystone, - include/osgViewer/View, src/osgViewer/View.cpp: Moved Keystone - support from osgkeystone example into osgViewer::View +Tue, 17 Feb 2015 19:21:29 +0000 +Checked in by : Robert OSFIELD +Removed commented out linesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14696 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-09 15:18 robert - * examples/osgkeystone/CMakeLists.txt, - examples/osgkeystone/osgkeystone.cpp, - include/osg/DisplaySettings, include/osgViewer/Keystone, - src/osgViewer/CMakeLists.txt, src/osgViewer/Keystone.cpp: Moved - Keystone class into osgViewer library. +Tue, 17 Feb 2015 10:36:41 +0000 +Checked in by : Robert OSFIELD +Cleaned up warning generated when compiling osgocculusviewergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14695 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-07 14:43 robert - * examples/osgkeystone/osgkeystone.cpp: Cleaned up event handler - and namespaces in prep for integrating keystone functionality - into osgViewer +Fri, 13 Feb 2015 12:50:43 +0000 +Checked in by : Robert OSFIELD +Improvements to the #pragma(tic) shader composition supportgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14694 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-07 13:34 robert - * examples/osgkeystone/osgkeystone.cpp: Added keystone support for - left eye, right eye and quad buffer stereo +Fri, 13 Feb 2015 10:56:59 +0000 +Checked in by : Robert OSFIELD +Deprecated the old ShaderComposition example code so that it's now only invoked if you add a --old to the osgshadercomposition command line.Introduced a new shader composition example based on the new #pragama and #define based GLSL shader/osg::StateSet::setDefine() functionality now built into the core OSG. -2013-05-07 11:13 robert - * examples/osgkeystone/osgkeystone.cpp: Added keystone setup to - vertical split stereo suport and cleaned up the horizontal split - stereo code +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14692 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-03 20:12 robert - * src/osgGA/EventQueue.cpp: Commented out debug output +Fri, 13 Feb 2015 07:45:49 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I've attached a fix for some internal glu functions so that they use size_t for computing allocation sizes instead of GLint. I encountered some large images that were triggering integer overflows with the current code."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14690 16af8721-9629-0410-8352-f15c8da7e697 -2013-05-03 19:26 robert - * examples/osgcompositeviewer/osgcompositeviewer.cpp, - examples/osgkeystone/osgkeystone.cpp, - examples/osglauncher/osglauncher.cpp, - examples/osgmovie/osgmovie.cpp, - examples/osgmultiplemovies/osgmultiplemovies.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgoscdevice/osgoscdevice.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgpick/osgpick.cpp, - examples/osgwidgetbox/osgwidgetbox.cpp, include/osgGA/EventQueue, - include/osgGA/GUIEventAdapter, - include/osgUtil/LineSegmentIntersector, - include/osgViewer/CompositeViewer, include/osgViewer/View, - include/osgViewer/Viewer, include/osgViewer/ViewerEventHandlers, - src/osgGA/EventQueue.cpp, src/osgGA/GUIEventAdapter.cpp, - src/osgManipulator/Dragger.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgQt/GraphicsWindowQt.cpp, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/GraphicsWindowIOS.mm, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerEventHandlers.cpp, - src/osgWidget/ViewerEventHandlers.cpp, src/osgWidget/Widget.cpp, - src/osgWidget/WindowManager.cpp: 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. +Wed, 11 Feb 2015 19:21:27 +0000 +Checked in by : Robert OSFIELD +Fixed warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14689 16af8721-9629-0410-8352-f15c8da7e697 -2013-04-26 10:00 robert - * README.txt: As a test of new repository updated date in - README.txt +Wed, 11 Feb 2015 16:41:31 +0000 +Checked in by : Robert OSFIELD +Added reassignment of the #version line to the first entry in the source list.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14688 16af8721-9629-0410-8352-f15c8da7e697 -2013-04-18 17:02 robert - * examples/osgkeystone/osgkeystone.cpp: Refactored Keystone setup - as a step toward integrating Keystone correction with stereo +Wed, 11 Feb 2015 09:41:15 +0000 +Checked in by : Robert OSFIELD +Added GL #define for Windows buildgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14687 16af8721-9629-0410-8352-f15c8da7e697 -2013-04-18 09:47 robert - * examples/osgkeystone/osgkeystone.cpp, include/osgUtil/SceneView, - src/osgUtil/SceneView.cpp, src/osgViewer/Renderer.cpp: - Implemented stereo support into osgkeystone as a testbed for - moving stereo support from SceneView into osgViewer +Tue, 10 Feb 2015 21:13:16 +0000 +Checked in by : Robert OSFIELD +Windows build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14686 16af8721-9629-0410-8352-f15c8da7e697 -2013-04-17 11:04 robert - * examples/osgkeystone/osgkeystone.cpp: Implemented initial cut of - anaglyphic stereo +Tue, 10 Feb 2015 18:01:02 +0000 +Checked in by : Robert OSFIELD +Added GL_LINES_ADJACENCY_EXT variants back into ObjectWraper to enable backwards compatibility.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14685 16af8721-9629-0410-8352-f15c8da7e697 -2013-04-16 09:26 robert - * include/osgWidget/EventInterface: Changed point to osg::ref_ptr<> - to prevent memory leaks. +Tue, 10 Feb 2015 17:53:29 +0000 +Checked in by : Robert OSFIELD +Change for new Program APIgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14684 16af8721-9629-0410-8352-f15c8da7e697 -2013-04-15 14:21 robert - * include/osg/DisplaySettings, include/osg/Viewport, - include/osgUtil/SceneView, include/osgViewer/Renderer, - src/osg/DisplaySettings.cpp, src/osgUtil/SceneView.cpp, - src/osgViewer/Renderer.cpp: Preperation for adding stereo support - direclty into osgViewer. +Tue, 10 Feb 2015 17:20:26 +0000 +Checked in by : Robert OSFIELD +Added support for new #pragam(atic) shader composition to new displacement mapping techniquegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14683 16af8721-9629-0410-8352-f15c8da7e697 -2013-04-12 13:01 robert - * examples/osgkeystone/osgkeystone.cpp: Added support for - enable/disabling the keystone editing using the Ctrl-g key to - toggle the UI and grid on/off. +Tue, 10 Feb 2015 17:04:02 +0000 +Checked in by : Robert OSFIELD +Introduced new shader composition approach that utilizes #pragma requires(), #pragma import_defines() and #ifdef in GLSL to enable multiple different versions of shaders based on defines passed in from osg::StateSet::setDefine(..).git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14681 16af8721-9629-0410-8352-f15c8da7e697 -2013-04-12 09:05 robert - * examples/osgkeystone/osgkeystone.cpp: Moved keystone event - handler onto the keystone distortion Camera. +Wed, 4 Feb 2015 15:11:00 +0000 +Checked in by : Robert OSFIELD +Fixed typo.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14680 16af8721-9629-0410-8352-f15c8da7e697 -2013-04-12 08:52 robert - * examples/osgkeystone/osgkeystone.cpp: Refactoed the grid - rendering so that it's now implemented as part of the distortion - mesh pass, leaving the main scene graph alone. +Tue, 3 Feb 2015 16:36:19 +0000 +Checked in by : Robert OSFIELD +Removed unncessary _EXTgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14679 16af8721-9629-0410-8352-f15c8da7e697 -2013-04-11 17:12 robert - * examples/osgkeystone/osgkeystone.cpp: Add support for a finer - grained mesh on the distortion mesh for higher quality results. +Mon, 2 Feb 2015 09:53:55 +0000 +Checked in by : Robert OSFIELD +Commented out the experimental V8 and Python plugins as these plugins only existed as a proof of concept test linkage with these dependenices, and have no functionality beyond this.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14678 16af8721-9629-0410-8352-f15c8da7e697 -2013-04-11 16:07 robert - * examples/osgkeystone/osgkeystone.cpp: Moved the keystone geometry - computation into a Keystone::compute3DPositions(..) method +Tue, 27 Jan 2015 15:07:53 +0000 +Checked in by : Robert OSFIELD +Replaced _EXT defines with GL-3.2 versionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14677 16af8721-9629-0410-8352-f15c8da7e697 -2013-04-10 16:36 robert - * examples/osgkeystone/osgkeystone.cpp: Removed old experimental - keystone code to clean up the example +Fri, 23 Jan 2015 17:15:20 +0000 +Checked in by : Robert OSFIELD +From Javier Taibo, "I have found a "bug" in the new audio decoding code (actually I think the bug is in ffmpeg, but anyway it should be wise to protect the OSG plug-in about it). I am attaching a security check in FFmpegDecoderAudio.cpp.If anybody is curious about the problem, it happens sometimes when decoding an AAC audio stream. It eventually includes a PCE block inside the AAC audio frame and then ffmpeg audio decoding function signals a "new_frame" with 1024 samples, but a null pointer instead of the audio data. It can be easily detected because in these cases number of channels is 0. Maybe this is the intended behaviour for ffmpeg, but I find it quite weird. +" -2013-03-28 10:46 robert +" It seems that libav does not have a channels attribute in AVFrame structure. This new version should do." - * examples/osgkeystone/osgkeystone.cpp: Changed the way that the - keystone geometry is calculated. -2013-03-27 16:29 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14676 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgkeystone/osgkeystone.cpp: Added keypad control of - corner points -2013-03-26 17:03 robert +Fri, 23 Jan 2015 13:51:09 +0000 +Checked in by : Robert OSFIELD +Changed osgFX::MultiTextureControl so that it uses an osg::FloatArray internally to enable sharing with osg::Uniform.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14675 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/Shader.cpp: Moved local variable into local scope to - avoid it being created when not used. -2013-03-26 16:47 robert +Fri, 23 Jan 2015 13:50:12 +0000 +Checked in by : Robert OSFIELD +Added MultiTextureControl event handling of shift 012 i.e. ')', '!', '"' and 'A' to toggle full on for each of the respective or all texture units.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14674 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgkeystone/osgkeystone.cpp: Introduced shearing of the - image -2013-03-26 11:00 robert +Thu, 22 Jan 2015 16:49:00 +0000 +Checked in by : Robert OSFIELD +Added #define GL_SEPARATE_ATTRIBS and correcte GL_INTERLEAVED_ATTRIBSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14673 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgkeystone/osgkeystone.cpp: Improved the setup of the - keystone distortion correction mesh. -2013-03-21 16:42 robert +Thu, 22 Jan 2015 16:41:34 +0000 +Checked in by : Robert OSFIELD +From Alexey Pavlov, "Export fix for Windows platform"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14672 16af8721-9629-0410-8352-f15c8da7e697 - * AUTHORS.txt, CMakeLists.txt, ChangeLog, include/osg/Version: - Updated developer release number -2013-03-21 16:22 robert +Thu, 22 Jan 2015 15:08:26 +0000 +Checked in by : Robert OSFIELD +Added GL_INTERLEAVED_ATTRIBS for windows buildgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14671 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/State: Added check against - isVertexBufferObjectSupported() in set*Pointer() methods -2013-03-21 11:35 robert +Thu, 22 Jan 2015 15:07:50 +0000 +Checked in by : Robert OSFIELD +Fixed warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14670 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgkeystone/osgkeystone.cpp: Added keystone grid to aid - editing -2013-03-20 14:03 robert +Wed, 21 Jan 2015 15:35:19 +0000 +Checked in by : Robert OSFIELD +From Andreas Henne, OpenGL core profile fixes required for OSX.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14669 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgkeystone/osgkeystone.cpp: Added arrow key support. - Added support for using ctrl and shift keys to modulate how - senstive the mouse and key movement is when modifying the - keystone parameters. -2013-03-19 16:43 robert +Wed, 21 Jan 2015 11:09:29 +0000 +Checked in by : Robert OSFIELD +Added TextureWeights uniform support and controls to osgFX::MultiTextureControl to support usage with shaders.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14668 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgkeystone/osgkeystone.cpp: Improve corner point - tracking/keystone computation -2013-03-19 12:44 robert +Tue, 20 Jan 2015 18:01:10 +0000 +Checked in by : Robert OSFIELD +Re-enabled texturing and fixed runtime warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14667 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgkeystone/osgkeystone.cpp: Added event handle for - interactive setting of keystone variables -2013-03-15 17:35 robert +Tue, 20 Jan 2015 17:58:56 +0000 +Checked in by : Robert OSFIELD +Added hardwired geometry shadersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14666 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgkeystone/osgkeystone.cpp: Experiments with modifying - the projection matrix to provide keystoning. -2013-03-14 16:24 robert +Tue, 20 Jan 2015 17:40:46 +0000 +Checked in by : Robert OSFIELD +Updated shadersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14664 16af8721-9629-0410-8352-f15c8da7e697 - * examples/CMakeLists.txt, examples/osgkeystone, - examples/osgkeystone/CMakeLists.txt, - examples/osgkeystone/osgkeystone.cpp: Initial skeleton of new - osgkeystone example -2013-03-11 17:16 robert +Tue, 20 Jan 2015 15:23:06 +0000 +Checked in by : Robert OSFIELD +Added key osgTerrain::GeometryPool methods virtual to make it easier to override the shadersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14662 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/Group.cpp: From Aurelien Albert, "There is a little bug - in the osg::Group::insertChild method : - - If the index is more than the size of _children vector, the new - child is pushed at the end of the vector, but the index value is - unmodified, so an incorrect value is passed to the - "childInserted" method." -2013-02-22 17:42 robert +Tue, 20 Jan 2015 11:24:31 +0000 +Checked in by : Robert OSFIELD +Changed the reset of the GLExtensions::Set() in the State destructor so that it checks to see if the local _glExtensions pointer has been set up and taken ownership of the GLExtensions::Set() valuegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14661 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgSim/LightPointNode.cpp: From Chris Hanson, " Adds missing - copy for _bbox member variable to copy constructor: - - LightPointNode::LightPointNode(const LightPointNode& lpn,const - osg::CopyOp& copyop): - osg::Node(lpn,copyop), - _bbox(lpn._bbox), - _lightPointList(lpn._lightPointList), - _minPixelSize(lpn._minPixelSize), - _maxPixelSize(lpn._maxPixelSize), - _maxVisibleDistance2(lpn._maxVisibleDistance2), - _lightSystem(lpn._lightSystem), - _pointSprites(lpn._pointSprites) - { - } - - - Lacking this causes _bbox to be uninitialized after LOD changes - when paged databases refer to shared subgraphs. - - " - -2013-02-13 16:29 robert - - * include/osg/SampleMaski, include/osg/StateAttribute, - src/osg/CMakeLists.txt, src/osg/SampleMaski.cpp, - src/osgWrappers/serializers/osg/SampleMaski.cpp: From Lukasz - Izdebski,"added support for gl_SampleMaski." - -2013-02-13 16:03 robert - - * PlatformSpecifics/Android/AndroidManifest.xml.master.in: From - Jordi Torres, "This error occurs when compiling current OSG with - the NDK >=r8c: - - android-ndk-r8d/build/gmsl/__ - gmsl:512: *** non-numeric second argument to `wordlist' function: - ''. Stop. - - This is discussed in this thread[1]. - The solution is to add to - the manifest as the OSG library will only run in devices with - Android>=2.2 (Froyo) with API level 8 [2]. - - The fix does not affect to older sdk's. - - Thanks to Jan Ciger for spotting the bug and find a possible - solution. " - -2013-02-12 15:44 robert - - * include/osg/Math: From Jordi Torres, Android build fix - -2013-02-12 15:40 robert - - * src/osgPlugins/osc/osc/OscHostEndianness.h: From Jordi Torres, - fix for Android build - -2013-02-12 15:18 robert - - * src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPlugins/osc/ReaderWriterOscDevice.cpp: From Stephan Huber, - fixed bug in setting _numMessagesPerEvent and added more debug - information - -2013-02-07 19:16 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Mike Connell, "3 - smaller fixes for the 3DS loader (against trunk) - - 1. Respect "noMatrixTransforms" option for matrices attached to - meshes, not only those attached to nodes - - 2. traverse_nodes variable did the exact opposite of it's - description. - - 3. Always try to load referenced textures, even if we can't find - the files (in order to the the registry's ReadFileCallback have a - stab at it) - " - -2013-02-07 11:10 robert - - * src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp: From - Lukasz Izdebski , "I added write and read numInstances in - PrimitiveSet." - -2013-02-07 11:08 robert - - * CMakeLists.txt, include/osg/Version: Updated SO version in prep - for serialization foramt change - -2013-02-07 08:46 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated AUTHORS list - -2013-02-06 16:04 robert - - * src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: From Wee See, - Support for importing OpenFlight Surface Material Codes using - osg::Object::UserValue. Notes from Wee See: - - See attached my ported code, which fulfills: - - - using of setUserValue()/getUserValue() - - user-value will be attached to Geode or Drawable - - actually 3 values will be added: SMC (surface), FID (feature) - and IRC (IRcolor). Its UserValue-names are < UA:SMC >, < UA:FID > - and < UA:IRC > (without spaces!) - - user-value will be attached to Geode or Drawable - - has an option (named preserveNonOsgAttrsAsUserData) for control - whether the UserValues should be attached (Default: no UserValues - will be attached) - - Reading out this values is very simple. Here is an example - (uservalue-name without spaces!): - - signed short smc; - if (myGeode.getUserValue("< UA:SMC >", smc)) - { - doSomethingWithTheGeodeAndItsSmc(myGeode, smc); - } - else - { - // geode has no SMC - } - -2013-02-06 14:50 robert - - * include/osg/State: From Aurelien Albert, "This line,I use the - "useVertexAttributeAliasing" mode in my application, and color - arrays are not normalized, so shaders get [0.0-255.0] values - instead of [0.0-1.0] values. - This patch fix this." - - and those below, will be ignored - ---- - - M include/osg/State - -2013-02-06 14:49 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: Added TODO note - about RGB -> RGBA - -2013-02-06 12:46 robert - - * CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegParameters.cpp, - src/osgPlugins/ffmpeg/FFmpegParameters.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From David Longest, - "I have updated the FFmpeg plugin to support the 1.0 release - version of FFmpeg. The files attached were modified in order to - facilitate the update. Below are the details for all changes - made. - - - - Header update - - FindFFmpeg.cmake has been changed in order to support the new - header include format for FFmpeg. In the 1.0 release, a new file - had been added with the name “time.h†in the avutil library. The - previous method of adding includes caused conflicts with the ANSI - C “time.h†file. Now the include directive will only use the main - include folder. All files using the old include format have been - updated to reflect the change. - - - - Added __STDC_CONSTANT_MACROS define to CMakeLists.txt - - Since there is no guarantee that FFmpegHeaders.hpp will be - included before stdint.h is included, the define has been moved - from FFmpegHeaders.hpp to be part of the CMakeLists.txt for the - FFmpeg plugin. This will allow the define to work on all - compilers regardless of include order. - - - - Replaced AVFormatParameters with AVDictionary - - AVFormatParameters is no longer supported in FFmpeg and has been - replaced with a key/value map of strings for each setting. - FFmpegParameters and FFmpegDecoder has been updated to reflect - this. - - - - Replaced av_open_input_file with avformat_open_input - - FFmpeg now opens files using avformat_open_input. Since the - av_open_input_file method is deprecated, the FFmpegDecoder class - has been updated to reflect this change. - - - - Added custom AVIOContext field to options - - Since some formats and inputs may not be supported by FFmpeg, I - have added a new parameter that allows a user to allocate their - own AVIOContext. This class will allow for creating a read, seek, - and write callback if they desire. - - - - Checking for start_time validity - - It is possible for some file formats to not provide a start_time - to FFmpeg. This would cause stuttering in the video since the - clocks class would be incorrect. - - - - Removed findVideoStream and findAudioStream - - The new FFmpeg release already has a function that will find the - best audio and video stream. The code has been replaced with this - function. - - - - Updated error reporting - - Some functions would not log an error when opening a file or - modifying a file failed. New logs have been added as well as a - function to convert error numbers to their string descriptions. - - - - decode_video has been replaced - - The old decode_video function would remove extra data that some - decoders use in order to properly decode a packet. Now - av_codec_decode_video2 has replaced that function. - - - - Picture format changed from RGBA32 to RGB24 - - Since most video will not contain an alpha channel, using a 24 - bit texture will use less memory." - -2013-02-06 12:02 robert - - * include/osg/Math: Simplified include/osg/Math to use Standard C++ - maths headers - and - -2013-02-06 11:16 robert - - * examples/osgdepthpeeling/Utility.cpp: Fixed warning - -2013-02-06 09:20 robert - - * src/osgPlugins/osc/osc/OscOutboundPacketStream.h: From Stephan - Huber, fixed for Windows 64bit build - -2013-02-05 18:22 robert - - * examples/osgoscdevice/osgoscdevice.cpp, - src/osg/ImageSequence.cpp, src/osgDB/Registry.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/trk/ReaderWriterTRK.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgUtil/Optimizer.cpp: Added .get()'s to fix compilation when - ref_ptr<> type conversion is disabled - -2013-02-04 16:25 robert - - * ChangeLog: Updated ChangeLog - -2013-02-04 14:42 robert - - * CMakeLists.txt, include/osg/Version: Updated version number after - 3.1.4 developer release - -2013-02-04 13:28 robert - - * CMakeLists.txt: From Jordi Torres, "The info about cdash reports - was outdated. Now it points to the right URL. - BTW I have checked it out and the cdash server is working ok - again. " - -2013-02-04 13:28 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Fixed warning - -2013-02-04 13:27 robert - - * src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp: Fixed warnings - -2013-02-04 13:11 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp: Fixed warning - -2013-02-04 12:50 robert - - * src/osgPlugins/osc/ip/posix/NetworkingUtils.cpp, - src/osgPlugins/osc/ip/posix/UdpSocket.cpp: Fixed warning and - converted tabs to four spaces - -2013-02-04 12:38 robert - - * src/osgPlugins/logo/ReaderWriterLOGO.cpp: Fixed warnings - -2013-02-04 12:01 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Fixed warning - -2013-01-31 16:26 robert - - * include/osg/Texture, src/osg/Image.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/exr/ReaderWriterEXR.cpp, - src/osgPlugins/vtf/ReaderWriterVTF.cpp: Standardized use of - GL_HALF_FLOAT_NV and GL_HALF_FLOAT_ARB to GL_HALF_FLOAT - -2013-01-31 11:09 robert - - * examples/osgoscdevice/osgoscdevice.cpp, - src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/OscReceivingDevice.hpp, - src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.hpp, - src/osgPlugins/osc/ReaderWriterOscDevice.cpp: From Stephan Huber, - introduction of message id scheme were osc messages are sent with - an unique id, and can be dispatched multiple times to workaround - network packet losses. -2013-01-30 11:31 robert +Mon, 19 Jan 2015 11:29:55 +0000 +Checked in by : Robert OSFIELD +Added GeometryPool::s/getUseGeometryShader() hint, and OSG_TERRAIN_USE_GEOMETRY_SHADER env var for setting the default value.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14660 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPresentation/Timeout.cpp: Added handling of movies into - Timeout -2013-01-30 10:49 robert +Fri, 16 Jan 2015 11:03:11 +0000 +Checked in by : Robert OSFIELD +Added support for using geometry shaders to align the quad diagonals with the local terraingit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14658 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPresentation/Timeout.cpp: Added disabling of the traversal - of the Timeout in update when the timout is not displayed and - disabled traversal by the SlideEventHandler. -2013-01-30 10:40 robert +Mon, 12 Jan 2015 10:31:58 +0000 +Checked in by : Robert OSFIELD +Added a local Vec3Array cache to the HeightFieldDrawable to facilitate efficient intersection testinggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14656 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgAnimation/MorphGeometry.cpp: Fixed the erronous header so - that it is OSGPL like the rest of the osgAnimation. -2013-01-30 10:21 robert +Mon, 12 Jan 2015 10:30:50 +0000 +Checked in by : Robert OSFIELD +Added ability to populate a local vertex cache for when one computes final vertex position in a vertex shader but still want to the Primitive functors to work with the transformed positions.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14655 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPresentation/SlideShowConstructor.cpp: From Stephan Huber, - "As I have not all referenced image-data, SlideShowConstructor - crashed on my end. Attached is a fix for that crash." -2013-01-28 14:56 robert +Wed, 7 Jan 2015 14:14:55 +0000 +Checked in by : Robert OSFIELD +From Javier Taibo, "I have found that since version 1.1, FFMPEG changed the way audio streams are retrieved, from packed to planar format. SDL interprets packed audio, as is used in the osgmovie example. To make the audio work when the OSGffmpeg plug-in is compiled against recent FFMPEG versions, FFmpegDecoderAudio must check for planar formats and in these cases request the samples as packed. This way all works as before. It can be checked with osgmovie example application. $ osgmovie --audio movie.avi.ffmpeg + FFmpegImageStream::open audio failed, audio stream will be disabled: unknown audio format - * src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp: From Wang - Rui, "I've fixed the bug of writing/reading scenes including the - ImageSequence serializer. Current trunk version will fail when - handing image sequences because it forces to set className to - "osg::Image" in InputStream.cpp. I have to read a value saved in - file instead so I must add a hardhanded version checking for - backward compatibility. - - Now we can work with ImageSequence objects, in both osgt and osgb - files." + With the attached FFmpegDecoderAudio.cpp, audio sounds correctly. -2013-01-28 14:30 robert - - * include/osg/CullStack, include/osg/CullingSet: From Laurens - Voerman, "I have implemented and tested (on windows only) your - suggestion for resetCullingMask(), it's far less intrusive than - my previous submission. - attached are the changes to current svn (28 Jan 2013 / rev - :13312). - " - -2013-01-25 16:54 robert - - * CMakeLists.txt: From Thomas Hogarth, "Attached are two minor - modifications to the master CMakeLists.txt file. - - It now points to sdk version 6.0 (I do intend to make this - configurable my command line) - - It also added a search for libtiff to Apple builds mainly for use - with osg earth." - -2013-01-25 11:54 robert - - * examples/CMakeLists.txt, examples/osgcomputeshaders, - examples/osgcomputeshaders/CMakeLists.txt, - examples/osgcomputeshaders/osgcomputeshaders.cpp, - include/osg/GL2Extensions, include/osg/Program, - include/osg/Shader, include/osg/Texture, - src/osg/GL2Extensions.cpp, src/osg/Program.cpp, - src/osg/Shader.cpp, src/osg/ShaderComposer.cpp, - src/osg/Texture.cpp, src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgWrappers/serializers/osg/Program.cpp, - src/osgWrappers/serializers/osg/Shader.cpp, - src/osgWrappers/serializers/osg/Texture.cpp: From Wang Rui, "In - the attached files I've added the Compute Shader support for OSG, - as well as serializer updates and a new osgcomputeshaders - example. My submission also include a setComputeGroups() function - in Program for setting compute-shader work groups, and a - bindToImageUnit() function in Texture for binding textures as - image variables in shaders. - - All code are tested on Windows 7 + NVIDIA GFX 570 with the latest - GeForce 310.70 Driver (BETA), which could support OpenGL 4.3. - - Compute shader information can be found at - "http://www.opengl.org/registry/specs/ARB/compute_shader.txt" - " - -2013-01-25 11:08 robert - - * include/osg/GL2Extensions: From Lukasz Izdebski, "Adding this GL - mode makes possibly to use this GL Modes (added in core OpenGL - 3.2) in Windows." - -2013-01-25 10:36 robert - - * examples/osghangglide/trees.cpp: Fixed compile warning - -2013-01-25 10:24 robert - - * src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/Timeout.cpp: Added debug message for Timout - -2013-01-24 18:48 robert - - * include/osg/CollectOccludersVisitor, - include/osg/ComputeBoundsVisitor, include/osg/KdTree, - include/osg/NodeVisitor, include/osgAnimation/BoneMapVisitor, - include/osgAnimation/LinkVisitor, - include/osgDB/SharedStateManager, include/osgGA/EventVisitor, - include/osgSim/InsertImpostorsVisitor, - include/osgUtil/CullVisitor, - include/osgUtil/DisplayRequirementsVisitor, - include/osgUtil/DrawElementTypeSimplifier, - include/osgUtil/GLObjectsVisitor, - include/osgUtil/IntersectVisitor, - include/osgUtil/IntersectionVisitor, include/osgUtil/Simplifier, - include/osgUtil/Statistics, include/osgUtil/UpdateVisitor: Fixed - usage of META_NodeVisitor so it doesn't include "" - -2013-01-23 17:38 robert - - * include/osgViewer/Renderer, src/osgViewer/Renderer.cpp, - src/osgViewer/ViewerBase.cpp: From Pjotr Svetachov, "when you - restart threading - with startThreading/stopThreading the _drawQueue and - _availableQueue - are not reset properly. This can lead to a deadlock when - threading is - started again. So before threading is started again the queues - must be - reset. This deadlock is also reported earlier by someone else in - here: - http://forum.openscenegraph.org/viewtopic.php?p=43415#43415" - -2013-01-23 17:37 robert - - * src/osgUtil/Optimizer.cpp: From Pjotr Svetachov, "small bug which - I have found in the - FlattenStaticTransformsDuplicatingSharedSubgraphsVisitor: the - visitor - will replace part of the tree when visiting the nodes but it does - not - update the current node path to reflect this. If you then have - multiple nested transform nodes it will usually crash and - sometimes it - won't crash but the resulting mesh will miss some nodes." - -2013-01-23 16:27 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Mathias Froehlich, - "I have extended the dds loader by some newer DX10 texture - formats. Especially - the float texture formats. - I need a few of these formats somewhere but have extended - everything that I - found plausible and was easy to find a GL texture type/format - for. - For some float32 type of texture the files the implementation - seem to work fine. - The rest lacks testing. - The writer side is not implemented." - -2013-01-23 16:22 robert - - * include/osg/GL2Extensions, include/osg/Texture: From Wang Rui - with edits from Robert Osfield, additional GLenums for cross - platform build - -2013-01-23 15:54 robert - - * src/osgUtil/IncrementalCompileOperation.cpp: From Lionel Lagarde, - fixed typo bug - -2013-01-23 11:50 robert - - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: Removed redundent code - block - -2013-01-23 11:45 robert - - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: From Lukasz Izdebski, "I - found problem with rgb plugin. - Internal format of rgb image is wrongly set ( diffrent then in - other images type plugin ), because of that using rgb images in - osg::Texture2DArray causes a bug." - -2013-01-23 11:20 robert - - * src/osgViewer/Renderer.cpp: From Mathias Froehlich, "Attached is - a patch that includes the stereo cameras in - Renderer::*etCameraRequiresSetUp. - - I am not sure if the getter needs to be changed, but this is - currently - included for consistency." - -2013-01-22 16:53 robert - - * src/osgPlugins/avfoundation/OSXAVFoundationVideo.mm: From - Alessandro Terenzi, "I've modified the avfoundation plugin to - copy the preferredTransform matrix into the UserData property of - the corresponding imagestream: by doing so, we can realize if the - video should be transformed when applied as a texture (this - should be the case, for instance, when we record a movie using an - iOS device with any orientation different than 'landscape - left')." - -2013-01-22 16:13 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added and - functionality to .p3d functionality. - -2013-01-22 10:33 robert - - * src/osgUtil/Optimizer.cpp: Added extra check against whether node - needs to be traversed in update and event traversals to prevent - osgPresentation::Timeout being classified as a node that can be - removed. - -2013-01-18 17:11 robert - - * include/osg/NodeVisitor, include/osgDB/ImagePager, - src/osg/ImageSequence.cpp, src/osgDB/ImagePager.cpp: Added - Options support to ImageSequence LOAD_* functionality - -2013-01-18 16:30 robert - - * CMakeLists.txt, include/osg/Version: Update SO_VERSION to reflect - new API changes - -2013-01-18 16:21 robert - - * include/osg/ImageSequence, src/osg/ImageSequence.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp: Added - LOAD_AND_RETAIN_IN_UPDATE_TRAVERSAL and - LOAD_AND_DISCARD_IN_UPDATE_TRAVERSAL ImageSequence::Mode's to - allow for ImageSequence usage without using background paging - threads, instead loading all the images on demand in the update - traversal. - -2013-01-17 13:51 robert - - * include/osgPresentation/Timeout, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/Timeout.cpp: Added - and support to to allow the - different timeout statges to be broadcast. - -2013-01-17 11:57 robert - - * src/osgPresentation/Timeout.cpp: Changed the defaults of the - Timeout to be DBL_MAX by default. - -2013-01-17 11:48 robert - - * include/osgPresentation/Timeout, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/Timeout.cpp: Completed support, to - use it with p3d use it along the lines: - - - - Test - - 3.0 - 5.0 - A - S - D - - w - t - Images/lz.rgb - - - - cow.osg - - - -2013-01-17 09:51 robert - - * include/osgPresentation/SlideShowConstructor, - include/osgPresentation/Timeout, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgPresentation/Timeout.cpp: Added support for - to Timeout support. - -2013-01-16 16:13 robert - - * include/osgPresentation/SlideShowConstructor, - include/osgPresentation/Timeout, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgPresentation/Timeout.cpp: Implemented basic Timeout - display and timing codes - -2013-01-15 11:31 robert - - * include/osgPresentation/Timeout, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/Timeout.cpp: Added shell of Timeout class - -2013-01-11 11:30 robert - - * include/osgPresentation/PropertyManager, - include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added movie volume - animation control to and tags to be used - in the form: - - - - 0.20 - - - - - 0.0 - - - 1.0 - - - 1.0 - - - 0.0 - - - - - big_buck_bunny_1080p_stereo.ogg - - - -2013-01-10 19:55 robert - - * include/osgPresentation/SlideEventHandler, - src/osgPresentation/SlideEventHandler.cpp: Added support for - properties that works in - conjunction with the start="time" property support checked in in - previous submission, - together these control the delay, start position and stop - position of movies. - -2013-01-10 14:37 robert - - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - property that tells a video to start - specificied number of sections into a video. - -2013-01-10 10:53 robert - - * src/osgPlugins/QTKit/OSXQTKitVideo.mm, - src/osgPlugins/avfoundation/OSXAVFoundationVideo.mm: From Stephan - Huber, "thanks for your input, unfortunately I could not get it - working with packing, but setting the row-length works now. Seems - I had it wrong the first time. - - Attached are both files. This should fix the video-bug mentioned - on the dlf-wiki. - - " - -2013-01-09 16:29 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Changed the named colours - back to having a alpha value of 1.0 to avoid problems with text - not appearing. - -2013-01-09 16:03 robert - - * applications/present3D/present3D.cpp: Added reset of the - cursorFileName when hideCursor is activated to prevent the custom - cursor being enabled. - -2013-01-08 10:21 robert - - * src/osgPresentation/KeyEventHandler.cpp: Added case for - FORWARD_EVENT to address warning - -2013-01-07 15:03 robert - - * src/osgPlugins/dae/daeReader.cpp: From Aurelien Albert, "I get a - compile error on Windows VS2008 wih new DAE plugin, here is a fix - : - - - _document = _dae->openFromMemory(fileURI, buffer.data()); - - "data" method is unknow for std::vector with VS2008 - - I've replaced it with : - - _document = _dae->openFromMemory(fileURI, &buffer[0]); - " - -2013-01-07 12:41 robert - - * applications/present3D/present3D.cpp: Added support for - --show-cursor and --hide-cursor command line options, and - P3D_SHOW_CURSOR env var that can be set to YES or NO. - -2013-01-07 12:17 robert - - * applications/present3D/present3D.cpp, - include/osgPresentation/PickEventHandler, - include/osgPresentation/SlideEventHandler, - include/osgViewer/api/IOS/GraphicsWindowIOS, - src/osgDB/Registry.cpp, src/osgGA/EventQueue.cpp, - src/osgPlugins/QTKit/OSXQTKitVideo.mm, - src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.hpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowIOS.mm, src/osgViewer/Viewer.cpp: - From Stephan Huber, "* osgGA: fixed a small bug regarding - emulating mouse-events from touch-events - * resthttp/osc: encapsulate RequestHandler-classes in their own - namespaces to prevent class-name-lookup-errors in the - debugger/code (had some weird crashes) - * QTKit: fixed a compile-bug for gcc and blocks - * osgPresentation: click_to_* will fire on RELEASE, only if the - drawable received a PUSH beforehand - * p3d/osgPresentation: implemented - "forward_mouse_event_to_device"-tag, which will forward - mouse-events to all registered devices of a viewer, if an - intersection occurs. The mouse-coordinates get reprojected - * present3d: all devices get registered with the viewer - * osgViewer: only devices which are capable of receiving events - are queried for new events. - * GraphicWindowIOS: added a flag to GraphicWindowIOS::WindowData - to set up a retained backing buffer (defaults to false) This will - enable read-back of the render-buffer with glReadPixels even - after the renderbuffer got presented - * curl: added an optimized check for file-existance, now only the - headers are requested and checked, instead of reading the whole - file and handle it with a ReaderWriter - * p3d: fixed a bug, where the existence of a local file may - prevent the remote loading of a file with the same name. - - " - -2012-12-20 16:16 robert - - * applications/present3D/present3D.cpp: Made - UpdateVisitor::TravesalMode default to TRAVERSE_ACTIVE_CHILDREN - -2012-12-20 12:14 robert - - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added region="$xmin - $ymin $zmin $xmax $ymax $zmax" support to tag, along with - animation support via the support. - -2012-12-19 17:14 robert - - * src/osgPlugins/trk/ReaderWriterTRK.cpp: Removed lighting of trk - lines - -2012-12-19 12:38 robert - - * src/osgPlugins/trk/ReaderWriterTRK.cpp: Changed the colour - calculation and added gl_ClipVertex to enable clipping. - -2012-12-18 11:20 robert - - * include/osgPresentation/SlideShowConstructor: Removed erroneous - region setting - -2012-12-18 09:49 robert - - * src/osgViewer/GraphicsWindowIOS.mm: From Juergen Rensen, "This is - a fix for the latest SVN version (rev 13269). The - ‘destroyFrameBuffer’ method in ‘GraphicsWindowIOS.mm’ had - ‘glDeleteFramebuffersOES’ calls for the stencil buffer, MSAA - render buffer and MSAA depth buffer instead of - ‘glDeleteRenderbuffersOES’. The fix changes the mismatched calls - to ‘glDeleteRenderbuffersOES’. - - - - The impact of the bug was a memory leak that would affect - multi-sampling iOS apps that allow for device rotation or window - resizing in general. For our app, the leak ranged from ca. 10 MB - to 40 MB per device rotation, depending on device, for the MSAA - buffers. I have not been able to confirm impact for the stencil - buffer. " - -2012-12-17 15:58 robert - - * applications/present3D/present3D.cpp, - examples/osgframerenderer/CaptureSettings.cpp, - examples/osgframerenderer/CaptureSettings.h, - examples/osgframerenderer/osgframerenderer.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: 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-16 17:10 robert - - * examples/osgframerenderer/osgframerenderer.cpp: Added handling of - aspect ratio for vertical/horizontal split stereo. - -2012-12-14 16:31 robert - - * src/osgViewer/GraphicsWindowIOS.mm: From Stephan Hunber, "* now - you can create a transparent opengl-view (see - GraphicWindowIOS::WindowData) - * changes of the view's bound are reported via osg's event-system - more reliably - - " - -2012-12-14 16:30 robert - - * CMakeLists.txt, include/osg/Version: Updated SO version - -2012-12-13 17:35 robert - - * include/osg/Image: From Lionel Lagarde, "Here is a correction on - the PixelBufferObject getter methods of Image. - - The set method modify the buffer object of the BufferData while - the get method returned the buffer object of the Image. - - I've also removed the _bufferObject member of Image (not used - anymore)." - --This line, Lionel Lagardeand those below, will be ignored-- - - M include/osg/Image - -2012-12-13 16:23 robert - - * src/osgPlugins/trk/ReaderWriterTRK.cpp: Added colouring and - lighting of track using shader - -2012-12-11 17:45 robert - - * src/osg/ImageUtils.cpp: Fixed handling of image colour space - conversion when pixel format changes - -2012-12-11 17:27 robert - - * src/osg/ImageUtils.cpp: Added automatic conversion of RGB to RGBA - when doing REPLACE_ALPHA_WITH_LUMINANCE colour space conversion. - -2012-12-11 10:44 robert - - * src/osgPlugins/trk/ReaderWriterTRK.cpp: Disabled lighting and set - the colour to white - -2012-12-11 09:55 robert - - * src/osgPlugins/trk/ReaderWriterTRK.cpp: First cut of generating - lines from .trk data - -2012-12-10 11:11 robert - - * examples/osgframerenderer/CameraProperty.cpp: Added setting of - the fusion distance. - -2012-12-08 16:11 robert - - * examples/osgframerenderer/CaptureSettings.cpp, - examples/osgframerenderer/CaptureSettings.h, - examples/osgframerenderer/osgframerenderer.cpp: Added --flip and - --no-flip command line options to enable/disable a vertical flip - of the captured image before writing out to disk. - -2012-12-07 19:05 robert - - * applications/present3D/present3D.cpp, include/osgDB/ReaderWriter, - include/osgDB/Registry, src/osgDB/ReaderWriter.cpp, - src/osgDB/Registry.cpp, - src/osgPlugins/ZeroConfDevice/ReaderWriterZeroConfDevice.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h, - src/osgPlugins/p3d/ReaderWriterP3D.cpp: From Stephan Huber, - "attached you'll find a zip containing some bug-fixes and some - refactored + new code. - - * ZeroConfDevice does now return FILE_NOT_HANDLED instead of - FILE_NOT_FOUND - * present3D supports multiple devices per env-var P3D_DEVICE, - separate multiple device with a space - - I refactored parts the p3d-plugin, the curl-plugin and parts of - Registry and ReaderWriter. Currently the p3d-plugin tries to open - all remote files with the help of the curl-plugin. - - I added a new method to Registry called - getReaderWriterForProtocolAndExtension. which will return a - ReaderWriter which is capable in handling the remote file for the - given protocol and extension. If no readerwriter is found for the - given extension, a list is built of all readerwriters supporting - the given protocol and this list is checked for support of - wildcards (extension = "*"). If anything matches it get returned. - - I added this principle also to the Registry, so now it's possible - to register a generic ReaderWriter which can handle all filetypes - for a given protocol, similar what curl is doing. All you have to - do is to load the plugin at startup. The curl-fallback is still - in place. - - With these changes it is now possible to reference a movie inside - a presentation without a server-address, read the presentation - (with curl) and stream the movie with the correct plugin (e.g. - QTKit) - - " - -2012-12-07 19:04 robert - - * include/osg/Endian: Added template swapBytes method - -2012-12-07 13:59 robert - - * examples/osgframerenderer/CameraProperty.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added naming of - root of presentation and used this in the setup of the position - of the camera. - -2012-12-07 12:47 robert - - * examples/osgframerenderer/CameraProperty.cpp, - examples/osgframerenderer/osgframerenderer.cpp: Fixed handling of - window size/projection matrix - -2012-12-07 10:19 robert - - * src/osgPresentation/SlideShowConstructor.cpp: From Stephan Huber, - attached is a fix for the bug of present3D not loading fonts - across http. I pass SlideShowConstructor's options-object to - readFontFile when constructing any text-objects so freetype can - pick up the font-data from the curl-plugin. It works fine now on - my end. - -2012-12-06 19:09 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/trk, - src/osgPlugins/trk/CMakeLists.txt, - src/osgPlugins/trk/ReaderWriterTRK.cpp: Intial shell of .trk - plugin - -2012-12-06 18:12 robert - - * src/osgPlugins/ZeroConfDevice/CMakeLists.txt: From Stephan Huber, - build fix - -2012-12-06 14:42 robert - - * src/osgPlugins/ZeroConfDevice/ReaderWriterZeroConfDevice.cpp: - Added default value for initialization of port number - -2012-12-06 11:36 robert - - * applications/present3D/present3D.cpp: Fixed typo - -2012-12-06 11:36 robert - - * examples/osgframerenderer/osgframerenderer.cpp: Added creation of - directory path for ouput if one is required - -2012-12-06 08:02 robert - - * src/osgPlugins/ZeroConfDevice, - src/osgPlugins/ZeroConfDevice/AutoDiscovery.cpp, - src/osgPlugins/ZeroConfDevice/AutoDiscovery.h, - src/osgPlugins/ZeroConfDevice/AutoDiscoveryBonjourImpl.h, - src/osgPlugins/ZeroConfDevice/AutoDiscoveryBonjourImpl.mm, - src/osgPlugins/ZeroConfDevice/AutoDiscoveryWinImpl.cpp, - src/osgPlugins/ZeroConfDevice/AutoDiscoveryWinImpl.h, - src/osgPlugins/ZeroConfDevice/CMakeLists.txt, - src/osgPlugins/ZeroConfDevice/ReaderWriterZeroConfDevice.cpp, - src/osgPlugins/ZeroConfDevice/mdns_win, - src/osgPlugins/ZeroConfDevice/mdns_win/ClientCommon.c, - src/osgPlugins/ZeroConfDevice/mdns_win/ClientCommon.h, - src/osgPlugins/ZeroConfDevice/mdns_win/dns-sd.c, - src/osgPlugins/ZeroConfDevice/mdns_win/dns_sd.h: From Stephan - Huber, ZerConfDevice plugin for Windows and Apple - -2012-12-05 17:15 robert - - * CMakeLists.txt, CMakeModules/FindAVFoundation.cmake, - CMakeModules/FindQuickTime.cmake, - CMakeModules/FindZeroConf.cmake, - applications/present3D/present3D.cpp, - examples/osgoscdevice/osgoscdevice.cpp, - include/osgViewer/api/IOS/GraphicsWindowIOS, - src/osg/Geometry.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/QTKit/OSXCoreVideoTexture.cpp, - src/osgPlugins/QTKit/OSXCoreVideoTexture.h, - src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, - src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp, - src/osgPlugins/RestHttpDevice/connection.cpp, - src/osgPlugins/RestHttpDevice/request_handler.cpp, - src/osgPlugins/RestHttpDevice/server.cpp, - src/osgPlugins/avfoundation/CMakeLists.txt, - src/osgPlugins/avfoundation/OSXAVFoundationVideo.h, - src/osgPlugins/avfoundation/OSXAVFoundationVideo.mm, - src/osgPlugins/avfoundation/OSXAvFoundationCoreVideoTexture.cpp, - src/osgPlugins/avfoundation/OSXAvFoundationCoreVideoTexture.h, - src/osgPlugins/avfoundation/ReaderWriterAVFoundation.cpp, - src/osgPlugins/imageio/CMakeLists.txt, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp, - src/osgPresentation/SlideShowConstructor.cpp: From Stephan Huber, - "* imageio: removed ReaderWriterImageIO_IOS.cpp, refactored - ReaderWriterImageIO to work on OS X and IOS - * avfoundation: added support for IOS (CoreVideo-support is still - in development, works only for SDK >= 6.0, set IPHONE_SDKVER in - cMake accordingly) - * zeroconf: added ZeroConf-device-plugin (Mac/Win only, linux - implementation missing) to advertise and discover services via - ZeroConf/Bonjour, on windows you'll need the Bonjour SDK from - Apple - * osgosc: modified the example to demonstrate the usage of the - ZeroConf-plugin (start the example with the command-line-argument - --zeroconf) - * SlideShowConstructor: enable/disable CoreVideo via a - environment variable (P3D_ENABLE_CORE_VIDEO) - * RestHttp: mouse-motion-events get interpolated - * RestHttp: unhandled http-requests get sent as an user-event to - the event-queue, all arguments get attached as user-values to the - event - * modified some CMakeModules to work correctly when compiling for - IOS - * fixed a compile-error for IOS in GraphicsWindowIOS - * some minor bugfixes" - -2012-12-05 11:41 robert - - * examples/osgframerenderer/CaptureSettings.cpp, - examples/osgframerenderer/CaptureSettings.h, - examples/osgframerenderer/osgframerenderer.cpp: Added - --screen-distance , --screen-height and - --screen-width command line support and associated - settings to the configuration file. - -2012-12-05 10:13 robert - - * include/osg/ApplicationUsage, src/osg/ApplicationUsage.cpp, - src/osgViewer/HelpHandler.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, - src/osgViewer/StatsHandler.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Moved the expansion of the - key codes into ApplicationUsage so that help is only generated - for non zero keycodes. - -2012-12-04 19:02 robert - - * examples/osgframerenderer/CameraProperty.cpp: Fixed default - camera position - -2012-12-04 18:51 robert - - * examples/osgframerenderer/osgframerenderer.cpp: Changed the -w - and -h options to --width and --height respectively. - -2012-12-04 18:30 robert - - * examples/osgframerenderer/osgframerenderer.cpp: Cleaned up - command line usage - -2012-12-04 18:28 robert - - * examples/osgframerenderer/osgframerenderer.cpp: Tidied up command - line docs. - -2012-12-04 18:21 robert - - * examples/osgframerenderer/CaptureSettings.cpp, - examples/osgframerenderer/CaptureSettings.h, - examples/osgframerenderer/osgframerenderer.cpp: Tidied up - CaptureSettings and added command line docs - -2012-12-04 12:47 robert - - * examples/osgframerenderer/CMakeLists.txt, - examples/osgframerenderer/CameraProperty.cpp, - examples/osgframerenderer/CameraProperty.h, - examples/osgframerenderer/CaptureSettings.h, - examples/osgframerenderer/osgframerenderer.cpp: Added - CameraProperty and associated command line parameters for - controlling camera position and animation. - - --center x y z - --eye x y z - --up x y z - --rotation-center x y z - --rotation-axis x y z - --rotation-speed degreesPerSecond - - -2012-12-04 09:11 robert - - * src/osgViewer/ScreenCaptureHandler.cpp: Added missing break; - -2012-12-03 16:49 robert - - * src/osgPresentation/SlideShowConstructor.cpp: From Stephan Huber, - "I've found a bug in SlideShowConstructor::findFileAndRecordPath - which does return an empty string if the file was not found, and - this empty string got added to the fileNames-vector, so the - curl-plugin tried to load only an empty file-name, the - directory-prefix. I fixed findFileAndRecordPath, so it returns - the unmodified filename, which can then be loaded by the - curl-plugin. Please review my fix, as I am not sure if it has any - side effects, as I know the code not that well. - - The file includes another small compile-fix when using - float-matrices." - -2012-12-03 11:31 robert - - * examples/osgframerenderer/CMakeLists.txt, - examples/osgframerenderer/gscframerenderer.cpp, - examples/osgframerenderer/osgframerenderer.cpp: Renamed souce - file - -2012-12-03 10:10 robert - - * src/osgShadow/ViewDependentShadowMap.cpp: From Wang Rui, "I've - found a very covert bug in current VDSM implementation. It makes - the computation of positional texgen incorrect if the shadow - scene is under one or more child cameras with view/proj offsets. - Using current stage instead will fix it." - -2012-12-03 09:50 robert - - * include/osg/Uniform: Fixed error in Unfiform set method - -2012-12-03 09:35 robert - - * src/osgPlugins/osc/CMakeLists.txt: Added include of osc plugin - directory to help with Windows build - -2012-12-02 11:45 robert + I am also attaching a modified version of FindFFmpeg.cmake that allows to set as FFMPEG_DIR the ffmpeg compiled in the source directory structure. It should not break anything as it only adds some additional search paths. +" - * include/osgPresentation/PropertyManager: From Wang Rui, build fix - -2012-11-30 20:03 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideEventHandler.cpp: Fixed crash when no - CameraManipulator is assigned to the viewer -2012-11-30 16:52 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14654 16af8721-9629-0410-8352-f15c8da7e697 - * applications/present3D/present3D.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for 0x and - numeric defintion of keys to be used with - functionality. -2012-11-30 15:43 robert - - * include/osgPresentation/PropertyManager, - src/osgPresentation/PropertyManager.cpp, - src/osgPresentation/SlideEventHandler.cpp: Added support for - pausing and restart the property_animation. - -2012-11-30 14:21 robert - - * include/osgPresentation/PropertyManager, - include/osgPresentation/SlideShowConstructor, - include/osgVolume/Property, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/PropertyManager.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added xml defined - property/property animation to .p3d format for - propeties: - - alpha="$alphaname" - cutoff="$cutoffname" - region="$minx $miny $minz $maxx $maxy $maxz" - sampleDensity="$densityname" - sampleDensityWhenMoving="$densityname" - - -2012-11-28 13:28 robert - - * src/osgPlugins/osc/OscReceivingDevice.cpp, - src/osgPlugins/osc/OscReceivingDevice.hpp, - src/osgPlugins/osc/OscSendingDevice.cpp, - src/osgPlugins/osc/OscSendingDevice.hpp: From Stephan Huber, New - OscSendingDevice and OscReceivingDevice classes - -2012-11-28 10:43 robert - - * applications/present3D/present3D.cpp, examples/CMakeLists.txt, - examples/osgoscdevice, examples/osgoscdevice/CMakeLists.txt, - examples/osgoscdevice/osgoscdevice.cpp, include/osgGA/Device, - src/osgGA/Device.cpp, src/osgPlugins/osc/CMakeLists.txt, - src/osgPlugins/osc/OscDevice.cpp, - src/osgPlugins/osc/OscDevice.hpp, - src/osgPlugins/osc/OscProxyEventHandler.cpp, - src/osgPlugins/osc/OscProxyEventHandler.hpp, - src/osgPlugins/osc/ReaderWriterOscDevice.cpp, - src/osgPlugins/osc/ip/posix/UdpSocket.cpp: From Stephan Huber, - added event sending support into osgGA::Device along with - implementation on this into the osc plugin. Added osgoscdevice - example to demonstate this in action. - -2012-11-27 16:00 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for - tag for , and scope to - compliment the scope of +Wed, 7 Jan 2015 10:36:34 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "small change to osg::Image::readImageFromCurrentTexture to allow reading data from compressed cubemap textures."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14653 16af8721-9629-0410-8352-f15c8da7e697 -2012-11-27 15:09 robert - * include/osgPresentation/PropertyManager, - include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/PropertyManager.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added preliminary - support for - -2012-11-22 15:13 robert - - * src/osg/ImageSequence.cpp, - src/osgPlugins/osc/ip/posix/UdpSocket.cpp: From Stephan Huber, - "Attached you'll find a new ImageSequence.cpp which will fix an - issue I had when moving the mouse cursor over the left - window-border, as the index becomes negative. And I added a - UdpSocket.cpp-file with more debuggin-output via some sprinkled - printf-calls. " - -2012-11-22 11:55 robert - - * src/osgPlugins/osc/CMakeLists.txt, - src/osgPlugins/osc/osc/OscHostEndianness.h: Simplified CMakeLists - and adjusted OscHostEndianness to automatically detect the endian - at compile time - -2012-11-22 11:47 robert - - * src/osgPlugins/osc/CMakeLists.txt, - src/osgPlugins/osc/OscDevice.cpp, - src/osgPlugins/osc/OscProxyEventHandler.cpp, - src/osgPlugins/osc/OscProxyEventHandler.hpp: From Stephan Huber, - updates to explictly set the HOST Endian using Cmake - -2012-11-22 09:49 robert - - * applications/osgarchive/osgarchive.cpp, - src/osgPlugins/osga/OSGA_Archive.cpp: Added explict handling of - osg::Image, osg::HeightField, osg::Shader and osg::Node when - doing writes to the archive. - -2012-11-21 15:19 robert - - * src/osgPlugins/osc/OscDevice.cpp, - src/osgPlugins/osc/OscDevice.hpp: From Stephan Huber, further - work on osc plugin - -2012-11-21 14:27 robert - - * src/osg/Uniform.cpp, src/osgDB/Registry.cpp: Moved static for - local to global scope in Uniform.cpp and removed the local static - usage in Registry.cpp - -2012-11-21 13:38 robert - - * include/osgDB/Input, include/osgDB/Registry, - src/osgWrappers/deprecated-dotosg/osg/AnimationPath.cpp, - src/osgWrappers/deprecated-dotosg/osg/CoordinateSystemNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/Drawable.cpp, - src/osgWrappers/deprecated-dotosg/osg/Node.cpp, - src/osgWrappers/deprecated-dotosg/osg/NodeCallback.cpp, - src/osgWrappers/deprecated-dotosg/osg/OccluderNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/StateAttribute.cpp, - src/osgWrappers/deprecated-dotosg/osg/StateSet.cpp, - src/osgWrappers/deprecated-dotosg/osg/Uniform.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_ObjectRecordData.cpp: - Refactored osgDB::Input::readObjectOfType to use a template, and - updated associated wrappers to avoid using local static's - -2012-11-20 18:41 robert - - * src/osgPlugins/osc/CMakeLists.txt: From Paul Martz, fix for - Windows build - -2012-11-20 13:01 robert - - * src/osgPlugins/osc/CMakeLists.txt: From Stephan Huber, added - missing windows dependency - -2012-11-20 10:37 robert - - * src/osgPlugins/osc/CMakeLists.txt: Added ws2_32 library to Win32 - build - -2012-11-19 11:25 robert - - * applications/present3D/present3D.cpp, - examples/osgframerenderer/EventProperty.cpp, - examples/osgframerenderer/gscframerenderer.cpp, - examples/osgmultiplemovies/osgmultiplemovies.cpp, - include/osg/ImageUtils, - src/osgPresentation/SlideShowConstructor.cpp: From Paul Martz, - build fixes - -2012-11-19 10:48 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/osc, - src/osgPlugins/osc/CMakeLists.txt, - src/osgPlugins/osc/OscDevice.cpp, - src/osgPlugins/osc/OscDevice.hpp, - src/osgPlugins/osc/OscProxyEventHandler.cpp, - src/osgPlugins/osc/OscProxyEventHandler.hpp, - src/osgPlugins/osc/ReaderWriterOscDevice.cpp, - src/osgPlugins/osc/ip, src/osgPlugins/osc/ip/IpEndpointName.cpp, - src/osgPlugins/osc/ip/IpEndpointName.h, - src/osgPlugins/osc/ip/NetworkingUtils.h, - src/osgPlugins/osc/ip/PacketListener.h, - src/osgPlugins/osc/ip/TimerListener.h, - src/osgPlugins/osc/ip/UdpSocket.h, src/osgPlugins/osc/ip/posix, - src/osgPlugins/osc/ip/posix/NetworkingUtils.cpp, - src/osgPlugins/osc/ip/posix/UdpSocket.cpp, - src/osgPlugins/osc/ip/win32, - src/osgPlugins/osc/ip/win32/NetworkingUtils.cpp, - src/osgPlugins/osc/ip/win32/UdpSocket.cpp, - src/osgPlugins/osc/osc, - src/osgPlugins/osc/osc/MessageMappingOscPacketListener.h, - src/osgPlugins/osc/osc/OscException.h, - src/osgPlugins/osc/osc/OscHostEndianness.h, - src/osgPlugins/osc/osc/OscOutboundPacketStream.cpp, - src/osgPlugins/osc/osc/OscOutboundPacketStream.h, - src/osgPlugins/osc/osc/OscPacketListener.h, - src/osgPlugins/osc/osc/OscPrintReceivedElements.cpp, - src/osgPlugins/osc/osc/OscPrintReceivedElements.h, - src/osgPlugins/osc/osc/OscReceivedElements.cpp, - src/osgPlugins/osc/osc/OscReceivedElements.h, - src/osgPlugins/osc/osc/OscTypes.cpp, - src/osgPlugins/osc/osc/OscTypes.h: Frm Stephan Huber, osc plugin - that supports send and recieving events via UDP packets. - -2012-11-16 15:40 robert - - * include/osgPresentation/PropertyManager, - src/osgPresentation/PropertyManager.cpp: Added first cut - implememtation of PropertyAnimation class - -2012-11-15 12:11 robert - - * include/osgPresentation/PropertyManager, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/PropertyManager.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Moved - PropertyManager related classes out from SlideEventHandler into - their own dedicated header/source file. - -2012-11-13 16:15 robert - - * applications/present3D/present3D.cpp: Added support for - P3D_UPDATE env var for setting the UpdateVisitor::TRAVERSAL_MODE. - Accepted settings are "active", "Active", "ACTIVE", or "all", - "All", "ALL". - -2012-11-13 15:26 robert - - * applications/present3D/present3D.cpp: Added --update-active and - --update-all command line options that set the - UpdateVisitor::TraversalMode to TRAVERSE_ACTIVE_CHILDREN and - TRAVERSE_ALL_CHILDREN respecively. - -2012-11-13 14:22 robert - - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - to allow user definition - of when to enable OpenGL blending for an image or not. - -2012-11-13 13:52 robert - - * src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, - src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp: From Stephan - Huber, fixed warning - -2012-11-13 13:32 robert - - * examples/osgvolume/osgvolume.cpp, include/osg/ImageUtils, - include/osgPresentation/SlideShowConstructor, - src/osg/ImageUtils.cpp, src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Changed COLOUR to - COLOR to be consistent with OpenGL spelling - -2012-11-13 13:16 robert - - * examples/osgvolume/osgvolume.cpp, include/osg/Image, - include/osg/ImageUtils, - include/osgPresentation/SlideShowConstructor, src/osg/Image.cpp, - src/osg/ImageUtils.cpp, src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Moved colour space - conversion of volumes from the osgvolume example into - osg/ImageUtils and added support for - colorSpaceConversion="MODULATE_ALPHA_BY_LUMINANCE","MODULATE_ALPHA_BY_COLOUR","REPLACE_ALPHA_WITH_LUMINANCE" - and "REPLACE_RGB_WITH_LUMINANCE" to .p3d tag - -2012-11-13 11:45 robert - - * include/osgDB/ImagePager, src/osgDB/ImagePager.cpp, - src/osgViewer/ViewerBase.cpp: Added first step to adding pruning - of expired image requests. - -2012-11-13 11:20 robert - - * src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp, - src/osgViewer/View.cpp: From Stephan Huber, introduced - syncornization of osgGA::Device - -2012-11-12 16:46 robert - - * src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Cleaned up reported - of events and added assigned of tag region properities - when using the wildcard definition of the volume. - -2012-11-12 15:26 robert - - * examples/CMakeLists.txt, examples/osgframerenderer, - examples/osgframerenderer/CMakeLists.txt, - examples/osgframerenderer/CameraPathProperty.cpp, - examples/osgframerenderer/CameraPathProperty.h, - examples/osgframerenderer/CaptureSettings.cpp, - examples/osgframerenderer/CaptureSettings.h, - examples/osgframerenderer/EventProperty.cpp, - examples/osgframerenderer/EventProperty.h, - examples/osgframerenderer/UpdateProperty.cpp, - examples/osgframerenderer/UpdateProperty.h, - examples/osgframerenderer/gscframerenderer.cpp: Added - osgframerenderer example +Tue, 6 Jan 2015 17:23:26 +0000 +Checked in by : Robert OSFIELD +Cleaned up GL_TEXTURE_BUFFER_*ARB usage as include/osg/GLDefines now provides the non ARB variantsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14652 16af8721-9629-0410-8352-f15c8da7e697 -2012-11-12 10:36 robert - * include/osgPresentation/SlideEventHandler: Changed the default - settings to fix a jump problems +Tue, 6 Jan 2015 17:12:51 +0000 +Checked in by : Robert OSFIELD +From Julien Valentin, "To sum up changes, I had: -some extensions in GLExtensions - GL_TEXTURE_BUFFER as target in osg::StateSet - a VBO based transform feed back example "git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14651 16af8721-9629-0410-8352-f15c8da7e697 -2012-11-10 12:12 robert - * include/osgPresentation/KeyEventHandler, - src/osgPresentation/KeyEventHandler.cpp: Added missing files in - support of key_jump and key_run tags +Tue, 6 Jan 2015 17:09:44 +0000 +Checked in by : Robert OSFIELD +Updates SO_VERSION in prep for API modifications since the 3.3.3 dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14650 16af8721-9629-0410-8352-f15c8da7e697 -2012-11-09 21:32 robert - * include/osgPresentation/PickEventHandler, - include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - naming slides and layers with slide_name and layer_name - properties respectively. - Added support for creating events based on key presses using a - and tags. +Tue, 6 Jan 2015 14:55:00 +0000 +Checked in by : Robert OSFIELD +From Julien Valentin, added missing initializergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14647 16af8721-9629-0410-8352-f15c8da7e697 -2012-11-09 21:23 robert - * src/osgUtil/Optimizer.cpp: Added Node::getName() and - getUserDataContainer() to check to see if an node can be removed - or not. - -2012-11-08 17:19 robert - - * include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: From Alexander Sinditskiy, - "I found issue with capturing mouse buttons. - This issue can be reproduced: - 1. Create osgViewer window, - 2. Push right&left mouse buttons on the osgViewer window, - 3. Move mouse out of window, and release right&left mouse - buttons. - - osgViewer window handle only first mouse release, as result - window thinks that we did not released second mouse button. - - I attached fix for this issue." - -2012-11-08 15:45 robert - - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - - -2012-11-08 15:28 robert - - * applications/present3D/present3D.cpp: Changed the way the mouse - position is update to handle the remote device control. - -2012-11-08 14:15 robert +Tue, 6 Jan 2015 14:41:30 +0000 +Checked in by : Robert OSFIELD +From Julien Valentin, typo fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14646 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/ImageSequence.cpp: Added check to avoid doing update when - the imagesequence is empty. -2012-11-08 11:19 robert - - * examples/osgimagesequence/osgimagesequence.cpp, - include/osg/ImageSequence, include/osg/NodeVisitor, - include/osg/PagedLOD, include/osgDB/ImagePager, - src/osg/ImageSequence.cpp, src/osgDB/ImagePager.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/ive/ImageSequence.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp: Refactored - ImageSequence to better handle random access usage. - -2012-11-06 17:49 robert - - * examples/osgmultiplemovies/osgmultiplemovies.cpp: Tweaked - casts/types to fix build under Linux - -2012-11-06 14:25 robert - - * examples/osgmultiplemovies/osgmultiplemovies.cpp: Added f - qualifer to 1.0 to fix build problem under MSVS - -2012-11-06 11:18 robert - - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Stephan - Huber, improved performance by using native apple functions for - flipping image - -2012-11-05 17:22 robert - - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Stephan - Huber, "Attached you'll find a fix for the image-io-plugin to - handle out-of-memory situations more gracefully as before (don't - crash)" - -2012-11-05 12:21 robert - - * src/osg/ImageSequence.cpp: Quitened down debug output - -2012-11-05 12:03 robert - - * src/osgPlugins/QTKit/OSXQTKitVideo.mm, - src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, - src/osgPlugins/RestHttpDevice/connection.cpp, - src/osgPlugins/RestHttpDevice/connection.hpp, - src/osgPlugins/RestHttpDevice/server.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Stephan - Huber, updated to debug output to RestHttpDevice and tweaks to - ImageIO and QTKit plugins - -2012-11-05 09:36 robert - - * examples/osgmultiplemovies/osgmultiplemovies.cpp: Added static - cast to float to avoid compile error under MSV - -2012-11-01 18:06 robert - - * src/osgUtil/IntersectionVisitor.cpp: From David Longest, "When - drawing, a transform with an absolute reference frame will ignore - the - calculated model / view matrices up to that point. The - IntersectionVisitor would instead keep the - view matrices calculated up to that point even though the - Transform class will throw out the - calculated model matrix via “computeLocalToWorldMatrix.†- - The change I made will push an identity matrix as the view matrix - when running into a transform - with an absolute reference frame and will pop the matrix off - after the traverse. - - To test this, I created a camera with a perspective view and - added a transform with some geometry - in it. Afterwards, I set the transform’s reference frame to - ABSOLUTE_RF and spun the camera around - using the trackball manipulator. When trying to pick with a - LineSegmentIntersector, it would not - pick the geometry in the transform with the reference frame set - to ABSOLUTE_RF." - -2012-11-01 16:11 robert - - * src/osgPresentation/SlideEventHandler.cpp: Changed the - PropertyEventCallback to only respond to mouse releated events. - -2012-11-01 14:29 robert - - * src/osg/ImageSequence.cpp: - -2012-10-31 17:06 robert - - * applications/present3D/present3D.cpp: Added reading of the - P3D_DEVICE env var for setting up the --device entry. - -2012-10-31 16:07 robert - - * include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added event and - update callbacks to pass up changes to the mouse position to the - ImageSequence::seek() to control which images is selected based - on mouse x position - -2012-10-30 12:31 robert - - * CMakeLists.txt, CMakeModules/FindAsio.cmake, - applications/osgviewer/osgviewer.cpp, - applications/present3D/present3D.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/RestHttpDevice, - src/osgPlugins/RestHttpDevice/CMakeLists.txt, - src/osgPlugins/RestHttpDevice/ReaderWriterRestHttpDevice.cpp, - src/osgPlugins/RestHttpDevice/RestHttpDevice.cpp, - src/osgPlugins/RestHttpDevice/RestHttpDevice.hpp, - src/osgPlugins/RestHttpDevice/connection.cpp, - src/osgPlugins/RestHttpDevice/connection.hpp, - src/osgPlugins/RestHttpDevice/header.hpp, - src/osgPlugins/RestHttpDevice/io_service_pool.cpp, - src/osgPlugins/RestHttpDevice/io_service_pool.hpp, - src/osgPlugins/RestHttpDevice/mime_types.cpp, - src/osgPlugins/RestHttpDevice/mime_types.hpp, - src/osgPlugins/RestHttpDevice/reply.cpp, - src/osgPlugins/RestHttpDevice/reply.hpp, - src/osgPlugins/RestHttpDevice/request.hpp, - src/osgPlugins/RestHttpDevice/request_handler.cpp, - src/osgPlugins/RestHttpDevice/request_handler.hpp, - src/osgPlugins/RestHttpDevice/request_parser.cpp, - src/osgPlugins/RestHttpDevice/request_parser.hpp, - src/osgPlugins/RestHttpDevice/server.cpp, - src/osgPlugins/RestHttpDevice/server.hpp: From Stephan Huber, - RestHttpDevice plugin for support of remote application control - via Rest http. - -2012-10-29 15:58 robert - - * include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, - src/osg/ImageSequence.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Intial work towards - support an interaction tag in Present3D. - -2012-10-26 15:31 robert - - * src/osgPlugins/ktx/ReaderWriterKTX.h: From Luc Frauciel, "Compile - Fix - KTX plugin with Visual Studio, not defined under - MSVC" - -2012-10-24 16:10 robert - - * src/osgPresentation/PickEventHandler.cpp: Fixed bug in - click_to_run feature where events would be handled by hidden - labels - -2012-10-24 10:43 robert - - * include/osg/ImageStream, - src/osgPlugins/QTKit/OSXCoreVideoTexture.cpp, - src/osgPlugins/QTKit/OSXQTKitVideo.h, - src/osgPlugins/QTKit/OSXQTKitVideo.mm, - src/osgPlugins/QTKit/ReaderWriterQTKit.cpp, - src/osgPlugins/avfoundation/OSXAVFoundationVideo.h, - src/osgPlugins/avfoundation/OSXAVFoundationVideo.mm, - src/osgPlugins/avfoundation/ReaderWriterAVFoundation.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPresentation/SlideShowConstructor.cpp: From Stephan Huber, - "attached you'll find the latest versions of the QTKit + the - AVFoundation-plugin, some changes to osgPresentation and a small - enhancement für ImageIO. - - I fixed some bugs and did some more tests with both of the - video-plugins. I integrated CoreVideo with osgPresentation, - ImageStream has a new virtual method called createSuitableTexture - which returns NULL for default implementations. Specialized - implementations like the QTKit-plugin return a CoreVideo-texture. - I refactored the code in SlideShowConstructor::createTexturedQuad - to use a texture returned from - ImageStream::createSuitableTexture. - - I did not use osgDB::readObjectFile to get the texture-object, as - a lot of image-related code in SlideShowConstructor had to be - refactored to use a texture. My changes are minimal and should - not break existing code. - - There's one minor issue with CoreVideo in general: As the - implementation is asynchronous, there might be no texture - available, when first showing the video the first frame. I am a - bit unsure how to tackle this problem, any input on this is - appreciated. - - Back to the AVFoundation-plugin: the current implementation does - not support CoreVideo as the QTKit-plugin supports it. There's no - way to get decoded frames from AVFoundation stored on the GPU, - which is kind of sad. I added some support for CoreVideo to - transfer decoded frames back to the GPU, but in my testings the - performance was worse than using the normal approach using - glTexSubImage. This is why I disabled CoreVideo for AVFoundation. - You can still request a CoreVideoTexture via readObjectFile, - though. - " - -2012-10-23 16:15 robert - - * include/osgDB/ReadFile, include/osgGA/Device, - include/osgViewer/View, include/osgViewer/ViewerBase, - src/osgGA/CMakeLists.txt, src/osgGA/Device.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/sdl, - src/osgPlugins/sdl/CMakeLists.txt, - src/osgPlugins/sdl/JoystickDevice.cpp, - src/osgPlugins/sdl/JoystickDevice.h, - src/osgPlugins/sdl/ReaderWriterSDL.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Added osgGA::Device class for - integration of both physical and virtual devices. - - Added template readFile(..) function to make it more convinient - to cast to a specific object type. - - Added support for osgGA::Device to osgViewer. - - Added sdl plugin to provides very basic joystick osgGA::Device - integration. - -2012-10-22 16:21 robert - - * src/osg/Uniform.cpp: Added mutex lock to - Uniform::addParent()/removeParent(). - -2012-10-12 14:51 robert - - * src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osgGA, - src/osgWrappers/serializers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/serializers/osgGA/CMakeLists.txt, - src/osgWrappers/serializers/osgGA/DriveManipulator.cpp, - src/osgWrappers/serializers/osgGA/FlightManipulator.cpp, - src/osgWrappers/serializers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/serializers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/serializers/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgWrappers/serializers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/serializers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/serializers/osgGA/TouchData.cpp, - src/osgWrappers/serializers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/serializers/osgGA/UFOManipulator.cpp: Added - serializers for osgGA - -2012-10-09 16:14 robert - - * src/osg/ImageSequence.cpp: Removed the insert of requests in the - ImageSequence::_filesRequested data structure so that it always - requests files, leaving it up the ImagePager to decide to track - duplicates - -2012-10-09 16:05 robert - - * include/osgDB/ObjectWrapper, include/osgDB/Serializer, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osgText/Text3D.cpp, - src/osgWrappers/serializers/osgVolume/Locator.cpp, - src/osgWrappers/serializers/osgVolume/VolumeTile.cpp: From Wang - Rui, "I modified the Serializer header to add a - UPDATE_TO_VERSION_SCOPED - macro, which could set version within brackets and reset it after - that. All related serializers are also modified so that the - backward-compatibility bug reported by Farshid can be fixed. - " - - From Robert Osfield, removed the use of osg::Referenced and - creating the proxy object on the heap. - -2012-10-08 16:14 robert - - * src/osgDB/XmlParser.cpp: From Wang Rui, "I've added CDATA tag - support to XmlParser so that we can keep user - data (e.g., GLSL shader texts) in XML files without parsing them. - This - will be necessary for the coming-soon effect compositor - submission. - :-)" - -2012-10-08 16:12 robert - - * examples/osgmultiplemovies/osgmultiplemovies.cpp: Added a - static_cast to avoid build issues under Windows - -2012-10-08 16:03 robert - - * examples/osgmultiplemovies/osgmultiplemovies.cpp: Fixed warning - -2012-10-08 15:10 robert - - * src/osgPlugins/3ds/lib3ds/lib3ds_io.c: From Aurelein Albert, - "Under some Visual Studio configuration, I get compile error on - "lib3ds_io.c" due to use of these kind of conversion : - - b[1] = uint8_t((w & 0xFF00) >> 8); - - I replaced it with : - - b[1] = (uint8_t)((w & 0xFF00) >> 8); - - And it compiles fine - " - -2012-10-08 12:00 robert - - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Gill - Peacegood, "In the attached file I have changed the colour space - used for writing images to match the one used for reading images. - Also this color space does not make subtle changes to the - original colours which i think is probably what most people - intend when writing an image and is more consistent with other - plugins. - - The effect is that an image that is written does not have a - noticeably different colour when it is read back." - -2012-10-08 11:54 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h: - From Oren Fromberg, "" - --This line, and thosAttached is an update to - ReaderWriterDAE.cpp/h and daeReader.cpp/h that implements - - osgDB::ReaderWriter::ReadResult - - ReaderWriterDAE::readNode (std::istream&, const - osgDB::ReaderWriter::Options*) - - This virtual function had never been implemented in - ReaderWriterDAE. I implemented this function because the DAE - plugin could not load files from other ReaderWriter derived - objects that use protocol handlers. - - I have updated function declarations in the header to have - identical signatures with the base class declarations that - include the default parameter. - - - readNode (std::istream&, …) is nearly identical to readNode(const - std::string &, …) except it uses a new private function to - convert the file from standard input: - - bool daeReader::convert( std::istream& fin ) - - When this function is called fileURI is the string “from - std::istream†to make the user aware where the file is coming - from. Then instead of calling - - _dae->open(fileURI) - - we call - - _dae->openFromMemory(fileURI, buffer.data()) - - Where buffer.data() is a pointer to the dae file text in memory. - - - Other changes include private functions to clear caches and to - consolidate redundant code that appears between the two convert - functions. - - - e below, will be ignored-- - - M src/osgPlugins/dae/ReaderWriterDAE.cpp - M src/osgPlugins/dae/daeReader.cpp - M src/osgPlugins/dae/ReaderWriterDAE.h - M src/osgPlugins/dae/daeReader.h - -2012-10-08 11:10 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/ktx, - src/osgPlugins/ktx/CMakeLists.txt, - src/osgPlugins/ktx/ReaderWriterKTX.cpp, - src/osgPlugins/ktx/ReaderWriterKTX.h: From James Athey, "I've - attached a new osgDB ReaderWriter that can read Khronos Texture - Files - (KTX). The KTX file format is straightforward and designed to be - easy to - use in OpenGL. - - http://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/ - http://www.khronos.org/opengles/sdk/tools/KTX/ - - The attached plugin can read: - - * 1D, 2D, and 3D textures - * uncompressed and compressed images - * mipmapped and non-mipmapped textures - * little-endian and big-endian files - * textures from files as well as seekable istream objects - - It does not handle: - - * array textures (not supported by the ReaderWriter API) - * cubemap textures (not supported by the ReaderWriter API) - * the "KTXorientation" key-value pair; support could be added - later (see - the file format spec for more information) - * non-seekable istream objects (would require more complicated - memory - management) - " - -2012-10-05 16:31 robert - - * include/osgGA/GUIEventAdapter: Made TouchData and osg::Object to - aid with serialization. - -2012-10-05 10:37 robert - - * src/osg/ImageSequence.cpp, src/osgDB/ImagePager.cpp: Improved - ImageSequence's handling of seek() and added a simply hack to - ImagePager to prevent the number of requests accumulating. - -2012-10-05 10:35 robert - - * examples/osgimagesequence/osgimagesequence.cpp: From Stephan - Huber and Robert Osfield, addded interactive setting of the - ImageSequence::seek() based on the mouse x position. - -2012-10-05 10:07 robert - - * include/osgGA/GUIEventAdapter: Added set methods to assist with - serialization support - -2012-10-04 13:45 robert - - * CMakeModules/FindQuickTime.cmake, src/osgDB/CMakeLists.txt, - src/osgDB/Registry.cpp: From Stephan Huber, "attached you'll find - a fix for Registry.cpp not using the QTKit-plugin for - video-files. W/o this fix you had to preload the plugin to open - movie-files." - -2012-10-02 14:07 robert - - * CMakeLists.txt, CMakeModules/FindAVFoundation.cmake, - CMakeModules/FindCoreMedia.cmake, - CMakeModules/FindQuartzCore.cmake, examples/CMakeLists.txt, - examples/osgmultiplemovies, - examples/osgmultiplemovies/CMakeLists.txt, - examples/osgmultiplemovies/osgmultiplemovies.cpp, - include/osg/Image, include/osg/ImageStream, src/osg/Image.cpp, - src/osg/Referenced.cpp, src/osgDB/CMakeLists.txt, - src/osgDB/Registry.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/QTKit/CMakeLists.txt, - src/osgPlugins/QTKit/OSXCoreVideoAdapter.h, - src/osgPlugins/QTKit/OSXCoreVideoAdapter.mm, - src/osgPlugins/QTKit/OSXCoreVideoTexture.cpp, - src/osgPlugins/QTKit/OSXCoreVideoTexture.h, - src/osgPlugins/QTKit/OSXQTKitVideo.h, - src/osgPlugins/QTKit/OSXQTKitVideo.mm, - src/osgPlugins/QTKit/ReaderWriterQTKit.cpp, - src/osgPlugins/QTKit/VideoFrameDispatcher.cpp, - src/osgPlugins/QTKit/VideoFrameDispatcher.h, - src/osgPlugins/avfoundation, - src/osgPlugins/avfoundation/CMakeLists.txt, - src/osgPlugins/avfoundation/OSXAVFoundationVideo.h, - src/osgPlugins/avfoundation/OSXAVFoundationVideo.mm, - src/osgPlugins/avfoundation/OSXAvFoundationCoreVideoTexture.cpp, - src/osgPlugins/avfoundation/OSXAvFoundationCoreVideoTexture.h, - src/osgPlugins/avfoundation/ReaderWriterAVFoundation.cpp: From - Stephan Huber, OSX and iOS Video support via a QTKit plugin from - OSX 10.7 and before, and an AVFoundation plugin for iOS and - OSX10.8 and later. - -2012-09-28 16:36 robert - - * src/osgViewer/ViewerBase.cpp: From Leigh Stivers, "We had this - problem which shows up with nVidia's latest Quadro driver, 305.93 - - and older drivers when the nVidia's setting "Thread - Optimization" was turned on, running Windows 7. The symptom, is - that after creating a first view and using it, and then creating - a second view, the first view will never render anything but - black. - - What happens is this: - A view is created, and then the viewers thread is created and - runs. - The setReleaseContextAtEndOfFrameHint is true. - To create a second view, the viewer is setDone(true), and we wait - for the thread exit. - - At this point, inside the ViewerBase::RenderingTraversals code, - there are places where it reads "if(_done) return;" - - The problem, is that it won't reach the code that will - releaseContext(). - - Apparently, this driver won't let any other thread to - makeCurrent(), if another thread (dead or not) has ownership. So - when the Viewers is re-started, the first view won't be able to - use the gc. - - The change attached (against rev 13153) corrects this." - -2012-09-27 08:34 robert - - * src/osg/FrameBufferObject.cpp, - src/osgViewer/GraphicsWindowIOS.mm: From Thomas Hogarth, "Apple - have decided in their eternal wisdom to do away with separate - depth and stencil buffers on iOS from version 5 and above. - - Attached are changes to GraphicsWindowIOS.mm to support setting - up the new buffer type when compiling for iOS5, - also attached is a small change to FrameBufferObject.cpp to - report support for packed depth stencil via the - GL_OES_packed_depth_stencil extension. - - For anyone reading this you can attach a packed depth stencil to - your FBO like so - - _rttCamera->attach( osg::Camera::PACKED_DEPTH_STENCIL_BUFFER, - GL_DEPTH24_STENCIL8_EXT ); - - Luckily GL_DEPTH24_STENCIL8_EXT happens to have the same value as - iOSs GL_DEPTH24_STENCIL8_OES" - -2012-09-26 08:42 robert - - * include/osg/GL: From Paul Martz, "This change to include/osg/GL - correctly includes the OpenGL header on OSX 10.7 when building - OSG trunk for GL3. It also adds some CPP defines for - compatibility." - -2012-09-25 11:04 robert - - * include/osgManipulator/Dragger: Changed dispatch to virtual - -2012-09-24 10:10 robert - - * src/osgPlugins/png/ReaderWriterPNG.cpp: From Frederic Bouvier, - "fix PNG write for images with bits per components different than - 8 that was hard coded." - -2012-09-20 14:06 robert - - * src/osgPlugins/dxf/scene.h: From Aurelien Albert, "In the DXF - plugin, DXF layers are decoded and each layer is added in a - separate group, which is very usefull to retrieve a layer or - display a list of all layers in the aplication. - - But the layers are not always children of the "model root" node : - there can be a matrix transform between "model root" and "layers - parent", so I've added the name "Layers" on the node which - contains all layers to easily retrieve the layers groups from - application code." - -2012-09-20 14:03 robert - - * include/osg/GL2Extensions: From Luc Frauciel, Added sRGB - FrameBuffer string - -2012-09-20 11:27 robert - - * include/osgManipulator/Constraint: From Vladimir Cheaev, " - I worked with a osg::Constraint and found strange part of code: - class OSGMANIPULATOR_EXPORT Constraint : public osg::Referenced - { - public: - ... - virtual bool constrain(ScaleUniformCommand& command) const { - return constrain((MotionCommand&)command); } - virtual bool constrain(const Rotate3DCommand& command) { return - constrain((MotionCommand&)command); } - ... - - If i use osgManipulator::Rotate3DCommand then method - Rotate3DCommand::accept(const Constraint& constraint) calls - Constraint::constrain(MotionCommand&) instead Constraint:: - constrain(const Rotate3DCommand&). - - If you replace - virtual bool constrain(const Rotate3DCommand& command) { return - constrain((MotionCommand&)command); } - on to - virtual bool constrain(Rotate3DCommand& command) const { return - constrain((MotionCommand&)command); } - then all works correctly. - " - -2012-09-20 11:18 robert - - * include/osg/GLBeginEndAdapter, src/osg/ArrayDispatchers.cpp, - src/osg/GLBeginEndAdapter.cpp: From Farshid Lashkari, Added - GLBeginEndAdapter::reset(), and _overallNormalAssigned, - _overallColorAssigned flags to avoid the GLBeginEndAdapter - adapter setting colour and normals when none has been assigned. - -2012-09-20 11:16 robert - - * src/osgViewer/CMakeLists.txt: From Ulrich Hertlein, "attached is - a patch to src/osgViewer/CMakeLists.txt that inverts the logic of - when to use - Cocoa and when to use the old Carbon interface for the windowing - system. - - The old code had to be modified for every new OS X release to - default to Cocoa. - The new code uses Carbon for <= OS X 10.4 and Cocoa on everything - else." - -2012-09-20 11:14 robert - - * include/osgDB/ImagePager, src/osgDB/ImagePager.cpp: Added - ReadQueue::size() method to help with debugging. - -2012-09-12 16:35 robert - - * examples/osgimagesequence/osgimagesequence.cpp: Added handling of - directory names in osgimagesequence commandline. - - From Stephan Huber, added support for controlling the - ImageSequence seek position via mouse x position, toggled on/off - via 'i' key. - -2012-09-12 16:02 robert - - * include/osgDB/FileNameUtils, include/osgDB/FileUtils, - src/osgDB/FileUtils.cpp: Added osgDB::getSortedDirectoryContents - and osgDB::FileNameComparator to help with sorting directory - contents into alphabetic and numerical order. - -2012-09-12 11:09 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Converted sorting - of directory contents across to use the new - osgDB::FileNameComparator and osgDB::getSortedDirectoryContents() - -2012-09-10 08:24 robert - - * CMakeLists.txt, include/osg/Version: Updated version after 3.1.3 - dev release - -2012-09-07 17:04 robert - - * ChangeLog: Updated ChangeLog for 3.1.3 dev release - -2012-09-07 14:55 robert - - * include/osg/Image: From Wojciech Lewandowski, "With current trunk - I had an error while compiling osg/Image.cpp for IOS simulator / - GLES2. Symbol GL_RGBA16 was missing. Adding #define GL_RGBA16 - 0x805B to Image header solves the problem. " - -2012-09-07 09:31 robert - - * src/osgViewer/Viewer.cpp: Added setting of the input range of the - event state based on the master cameras viewport. - -2012-09-07 08:33 robert - - * src/osgGA/KeySwitchMatrixManipulator.cpp: Added check so not - intialization is down when you select the current camera - manipulator - -2012-09-06 13:53 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Piotr Domagalski, - "I've added reading of node names ('DEF' element) to the VRML - reading plugin. The changes were based on trunk's version of the - plugin." - -2012-09-06 13:48 robert - - * src/osgPlugins/stl/ReaderWriterSTL.cpp: From Piotr Domagalski, - "I've rewritten some bits of the STL plugin in order to support - ASCII STL files with multiple named solids (reading and writing). - The names are also used as OSG nodes names. - - - Also, a 'dontSaveNormals' was added. It allows to ignore - normals when writing an STL file. For example, it is useful for - me when writing an STL file for CFD simulations. - - - Some comments and code formatting were improved (to be - consistent with the formatting already used in the plugin). - - - With 'separateFiles' option files are now named fooX.stl - instead of foo.stlX - - The changes have been tested on various STL, both ASCII and - binary found on the net. The change was based on the trunk - branch." - - From Robert Osfield, changed assert in Piotr's code to a runtime - check warning report. - -2012-09-06 10:52 robert - - * include/OpenThreads/Atomic: From Piotr Domagalski, "Currently, - code using OpenSceneGraph doesn't build with clang due to the way - __sync_bool_compare_and_swap() is used in OpenThreads/Atomic - header file. - - I tested it with clang 3.1 and it seems that clang is enforcing - the use of the same type for all parameters in this builtin. - Looking at the function declaration [1] - - bool __sync_bool_compare_and_swap (type *ptr, type oldval type - newval, ...) - - it seems to be doing the right thing: here the same type is used - for *ptr, oldval and newval. - - [1] - http://gcc.gnu.org/onlinedocs/gcc/_005f_005fsync-Builtins.html#g_t_005f_005fsync-Builtins - " - -2012-09-06 10:32 robert - - * examples/CMakeLists.txt: From Fredric Bouvier, fix to CMake build - selection of FLTK - -2012-09-05 21:03 robert - - * examples/osgviewerFOX/FOX_OSG.cpp, - examples/osgviewerWX/osgviewerWX.cpp, - include/osg/GraphicsContext, include/osgViewer/GraphicsWindow, - include/osgViewer/api/Carbon/GraphicsWindowCarbon, - include/osgViewer/api/Carbon/PixelBufferCarbon, - include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - include/osgViewer/api/Cocoa/PixelBufferCocoa, - include/osgViewer/api/IOS/GraphicsWindowIOS, - include/osgViewer/api/X11/GraphicsWindowX11, - src/osgQt/GraphicsWindowQt.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/PixelBufferCarbon.cpp, - src/osgViewer/PixelBufferCocoa.mm, - src/osgViewer/PixelBufferWin32.cpp, - src/osgViewer/PixelBufferX11.cpp: From Colin McDonald and Robert - Osfield, converted Traits::sharedContext from GraphicsContext* to - osg:observer_ptr to prevent dangling pointer - issues. - -2012-09-05 13:51 robert - - * src/osgUtil/RenderBin.cpp: Fixed inappropriate comment - -2012-09-05 13:48 robert - - * include/osg/Object, src/osgUtil/RenderBin.cpp, - src/osgViewer/Scene.cpp: Moved the OSG_INIT_SINGLETON_PROXY macro - into include/osg/Object to make it more generally useful and - added it's usage into the RenderBinPrototypeList initialization. - -2012-09-05 10:27 robert - - * CMakeLists.txt: From Thomas Hogarth, "I submitted a change for - the IOS CMake system a few weeks back which hasn't made it into - the trunk. I've just made the modifications again against the - latest trunk and have attached the file - - It basically accounts for the fact that XCode has changed it's - default install location. - - " - -2012-09-05 10:24 robert - - * src/osgPlugins/shp/ESRIShape.cpp: From Andreas Ekstrand, The - attached ESRIShape.cpp contains fixes for comparing calculated - byte sizes with the content length from the record header. - According to the ESRI Shape documentation - (http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf), the - content length is specified in 16 bit words, which is why I have - multiplied it by 2 when comparing to byte sizes. Note that the - comparison in line 813 is made with a fix number of 16-bit words - so it hasn't been changed. - - This fixes problems with PolygonZ records where the previous code - was reading past the end of the record since it thought it had M - values even if it didn't. I suspect the problem that James - McGlone had back in 2006 was the same but reversed, when he tried - to simply comment out the check, which was a (correctly) refused - submission."" - -2012-09-05 10:19 robert - - * src/osg/ShapeDrawable.cpp: From Nico Kruithof, "There is a small - typo in the ShapeDrawable code for a sphere. There was a - gl.Begin(GL_QUAD_STRIP) that was never closed, nor used. - - " - -2012-09-05 09:30 robert - - * CMakeLists.txt, include/osg/Version: Updated SO version number to - avoid collision with new additions to serializers - -2012-09-05 09:08 robert - - * src/osg/Image.cpp: Added GL_RGBA8 and GL_RGBA16 entries to the - Image::computePixelFormat() and improved he readability of the - method by inserting line spacing. - -2012-09-05 08:48 robert - - * CMakeLists.txt: From Ulrich Hertlein, "fixes a typo and adds - support for OS X 10.8" - -2012-09-05 08:42 robert - - * include/osg/Geometry: Added deprecated note to indices entry. +Mon, 5 Jan 2015 17:39:44 +0000 +Checked in by : Robert OSFIELD +From Jason Beverage, "Here is a fix to the STL plugin that fixes build errors introduced in the last commit. It's just a simple addition of the stdint.h header."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14644 16af8721-9629-0410-8352-f15c8da7e697 -2012-09-04 08:21 robert - - * src/osgDB/FileCache.cpp: From Brad Christiansen, changed OSG_INFO - to OSG_DEBUG to quieten down volume of messages in INFO -2012-09-03 15:19 robert - - * src/osgPlugins/nvtt/NVTTImageProcessor.cpp: From Brad - Christiansen, "fix for the NVTTImageProcessor. When the code was - updated in revision 12912 a couple of typos where made. These - cause a crash when compressing transparent images and mangled - colours when compressing rgb images. " +Wed, 24 Dec 2014 11:56:48 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14643 16af8721-9629-0410-8352-f15c8da7e697 -2012-09-03 09:08 robert - * include/osg/GL2Extensions: Adjusted the #define's to help GLES2 - build +Wed, 24 Dec 2014 11:43:41 +0000 +Checked in by : Robert OSFIELD +Removed debug messagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14642 16af8721-9629-0410-8352-f15c8da7e697 -2012-09-03 08:30 robert - * src/osgDB/ReadFile.cpp: From Lilin Xiong, " there is a small bug - in osgDB::readNodeFiles(std::vector& fileList,const - Options* options) in file ReadFile.cpp line 85: - osg::Node *node = osgDB::readNodeFile( *itr , - Registry::instance()->getOptions() ); - It should be: - osg::Node *node = osgDB::readNodeFile( *itr , options );" +Wed, 24 Dec 2014 11:25:46 +0000 +Checked in by : Robert OSFIELD +From Marc Helbling, Clément Léger, Aurélien Chatelain, Paul Cheyrou-Lagrèze : "a last submission for the obj plugin * supports vertex color definition after vertex position by Clément Léger * supports zbrush vertex color definition (as #MRGB comment) by Aurélien Chatelain * adds a noReverseFace option to not mess with face definition by Aurélien Chatelain * makes material parsing case insensitive (by Paul Cheyrou-Lagrèze and me) * makes the plugin resilient to faulty vertex uv/normal definition (i.e. when a too big index is referenced) by Aurélien hatelain "git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14641 16af8721-9629-0410-8352-f15c8da7e697 -2012-08-31 16:00 robert - * src/osgTerrain/Terrain.cpp: Added a fix for a multi-threading bug - that occured when TerrainTiles were accessed via the - Terrain::_updateTerrainTileSet that were being deleted at the - same time by the DatabasePager thread. +Wed, 24 Dec 2014 11:02:18 +0000 +Checked in by : Robert OSFIELD +From Aurélien Chatelain, "adds support for * quad primitives * face definition with the "vertex_index" label (previously only "vertex_indices" was supported) * replaces normal computation by the SmoothingVisitor to avoid code duplication "Submitted by Marc Helbling. -2012-08-29 16:48 robert - * src/osgWrappers/serializers/osg/Program.cpp: From Wang Rui, "This - patch fixes a problem of the osg::Program serializers that can't - save/load GeometryInputType data correctly. The bug is initially - found - by John Kelso." +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14640 16af8721-9629-0410-8352-f15c8da7e697 -2012-08-24 15:05 robert - * include/osgDB/Serializer: From Johannes Scholz, fix for writing - out of hexidecimal numbers +Wed, 24 Dec 2014 10:55:49 +0000 +Checked in by : Robert OSFIELD +From Aurélien Chatelain, "the smoothing visitor did not handle shared arrays. It may leads to bad geometry arrays when a shared array is involved in the scene. This submission adds shared array duplication (and moves the SharedArrayOptimizer declaration in MeshOptimizer to make it callable from the SmoothingVisitor)."Submitted by Marc Helbling. +Edited by Robet Osfield to retain the usual OSG coding style. -2012-08-23 15:06 robert - * src/osg/BufferObject.cpp: Fixed bug in - GLBufferObjectSet::discardAllDeletedGLBufferObjects() and - GLBufferObjectSet::flushDeletedGLBufferObjects(double - currentTime, double& availableTime) - where the NumberActiveGLBufferObjects was errneously being - incremented by numDiscarded. - - M osg/BufferObject.cpp -2012-08-22 16:39 robert - * include/osg/GLObjects: Fixed typo +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14639 16af8721-9629-0410-8352-f15c8da7e697 -2012-08-21 09:45 robert - * src/osgViewer/CompositeViewer.cpp: Added check against the Camera - NodeMask to decide whether it's appropriate to test for events on - that camera. +Wed, 24 Dec 2014 10:47:25 +0000 +Checked in by : Robert OSFIELD +From Aurélien Chatelain, "updates the STL plugin: * fixes vertex color support * adds 'magics' color definition * cleans options to make the plugin more consistent with other plugins * adds options to not tristrip geometries"Submitted by Marc Helbling. -2012-08-15 12:40 robert - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ShadowSettings, - src/osgShadow/ShadowSettings.cpp, - src/osgShadow/ViewDependentShadowMap.cpp: Added - ShadowSettings::s/getMaximumShadowMapDistance(double) property, - usage of these property in ViewDependentShadowMap, - and setting of it with --max-shadow-distance in the - osgshadow example. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14638 16af8721-9629-0410-8352-f15c8da7e697 -2012-08-14 20:15 robert - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Added a mutex to - protect the removal and addition of Uniform and Program to - StateSet to avoid parents being invalidated when multi-threading. +Wed, 24 Dec 2014 10:14:03 +0000 +Checked in by : Robert OSFIELD +Aded shaders for various combinations of layers.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14637 16af8721-9629-0410-8352-f15c8da7e697 -2012-08-03 16:14 robert - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ShadowSettings, - src/osgShadow/ShadowSettings.cpp, - src/osgShadow/ViewDependentShadowMap.cpp: Introduced - --near-far-mode into osgshadow and - ShadowSettings::setComputeNearFarModeOverride(..) to allow user - control of how the cull traversal is optimized for computing the - depth range of the shadow map. +Wed, 24 Dec 2014 10:13:42 +0000 +Checked in by : Robert OSFIELD +Added osgDB::readShaderFileWithFallback(..) convinience functions to make it easier to set up reading external shader files with a built in fallback.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14636 16af8721-9629-0410-8352-f15c8da7e697 -2012-08-03 15:23 robert - * examples/osgshadow/osgshadow.cpp: Removed the erronous creation - of a local ShadowSettings object +Tue, 23 Dec 2014 14:20:53 +0000 +Checked in by : Robert OSFIELD +Added support for reading Vec3 colour arraysgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14634 16af8721-9629-0410-8352-f15c8da7e697 -2012-07-24 09:05 robert - * src/osg/Texture.cpp: Added FireGL to prefernce list for use - glGenerateMipMap +Tue, 23 Dec 2014 12:10:03 +0000 +Checked in by : Robert OSFIELD +Changes to allow the COLLADA plugin to compile against the latest COLLADA DOM version 2.4 as well as retaining compatibility with the old 2.2 DOM.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14633 16af8721-9629-0410-8352-f15c8da7e697 -2012-07-23 08:15 robert - * src/osgPresentation/SlideShowConstructor.cpp: Fixed build +Mon, 22 Dec 2014 10:35:33 +0000 +Checked in by : Robert OSFIELD +Added comment about using -DCMAKE_DISABLE_FINDPACKAGE_* command line.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14632 16af8721-9629-0410-8352-f15c8da7e697 -2012-07-12 16:41 robert - * include/osg/Texture, src/osg/Texture.cpp: Introduced - Texture::Extensions::s/getPreferGenerateMipmapSGISForPowerOfTwo() - flag that defaults to false for Radeon, true elsewhere. - This is used to workaround mipmapping bugs with ATI/AMD cards. +Mon, 22 Dec 2014 09:50:10 +0000 +Checked in by : Robert OSFIELD +Added doxygen comment for ref_ptr<>::release().git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14630 16af8721-9629-0410-8352-f15c8da7e697 -2012-07-11 14:36 robert - * src/osgShadow/ShadowSettings.cpp: Fixed indentation +Mon, 22 Dec 2014 09:49:17 +0000 +Checked in by : Robert OSFIELD +Updated version number after dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14628 16af8721-9629-0410-8352-f15c8da7e697 -2012-07-11 08:39 robert - * include/osgGA/OrbitManipulator: Fixed parameter default value to - avoid warning +Fri, 19 Dec 2014 11:00:31 +0000 +Checked in by : Robert OSFIELD +Windows build error and warning fixesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14626 16af8721-9629-0410-8352-f15c8da7e697 -2012-07-10 16:20 robert - * src/osgShadow/ViewDependentShadowMap.cpp: Replaced use of now - deprecated methods. +Fri, 19 Dec 2014 10:25:49 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file for dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14625 16af8721-9629-0410-8352-f15c8da7e697 -2012-07-10 16:11 robert - * src/osgShadow/ViewDependentShadowMap.cpp: Enabled the use the - getReceivesShadowTraversalMask(). +Fri, 19 Dec 2014 08:27:30 +0000 +Checked in by : Robert OSFIELD +Added if () block to avoid script variables set to NOT-Found being used in searchinggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14624 16af8721-9629-0410-8352-f15c8da7e697 -2012-07-10 16:11 robert - * examples/osgshadow/osgshadow.cpp: Changed settings of masks to - use ShadowSettings. +Fri, 19 Dec 2014 08:25:35 +0000 +Checked in by : Robert OSFIELD +Fixed script warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14623 16af8721-9629-0410-8352-f15c8da7e697 -2012-07-10 15:50 robert - * include/osgShadow/ShadowSettings, - include/osgShadow/ShadowedScene, - src/osgShadow/ShadowSettings.cpp, - src/osgShadow/ShadowedScene.cpp: Moved mask settings into - ShadowSettings +Thu, 18 Dec 2014 17:47:08 +0000 +Checked in by : Robert OSFIELD +From Aitor Moreno, LAS plugin - depends upon boost and liblas and liblas-cgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14622 16af8721-9629-0410-8352-f15c8da7e697 -2012-07-09 17:49 robert - * include/osgGA/CameraManipulator, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Changed updateCamera(Camera*) to updateCamera(Camera&) to make it - clear that a valid Camera object should be passed in. +Thu, 18 Dec 2014 16:52:57 +0000 +Checked in by : Robert OSFIELD +From Adrian Clark, build fix for recent Android NDK using the old Android build approach.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14621 16af8721-9629-0410-8352-f15c8da7e697 -2012-07-09 17:32 robert - * include/osgGA/CameraManipulator, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: From - Riccardo Corsi, introduced CameraManipulator::updateCamera() - method that allows more Camera properties to be controlled by the - CameraManipulator. +Thu, 18 Dec 2014 15:59:16 +0000 +Checked in by : Robert OSFIELD +From Mattias Helsing, "CMake have release 3.0 and 3.1 and we have some bad checks for cmake major version when settings cmake policies in CMakeLists.txt. This fixes it"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14620 16af8721-9629-0410-8352-f15c8da7e697 -2012-06-25 16:31 robert - * src/osgViewer/Scene.cpp: Refactored the way that the static Scene - cache is managed by moving all the functionality into a - SceneSingleton +Thu, 18 Dec 2014 11:36:16 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORSgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14617 16af8721-9629-0410-8352-f15c8da7e697 -2012-06-22 16:21 robert - * src/osg/Notify.cpp: Restructed the way that the global notify - variables are initialized to avoid problems with multi-threaded - initialization of these variables. +Thu, 18 Dec 2014 11:19:11 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog in prep for dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14616 16af8721-9629-0410-8352-f15c8da7e697 -2012-06-16 09:08 robert - * src/osgPresentation/SlideShowConstructor.cpp: Fixed spelling of - FileNameComparator +Thu, 18 Dec 2014 11:09:43 +0000 +Checked in by : Robert OSFIELD +Fixed warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14615 16af8721-9629-0410-8352-f15c8da7e697 -2012-06-15 09:04 robert - * src/osgViewer/Viewer.cpp: Moved the frame() event into the event - traversal after then events and their state have been - accumulated. +Thu, 18 Dec 2014 10:59:07 +0000 +Checked in by : Robert OSFIELD +Added DisplaySettings::s/getNvOptimusEnablement() and OSG_NvOptimusEnablement env var control to control the setting of the NvOptimusEnablement variablegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14614 16af8721-9629-0410-8352-f15c8da7e697 -2012-06-12 20:15 robert - * src/osgPresentation/SlideShowConstructor.cpp: Added - FileNameComparator to sort the filenames in an ImageSequence into - alphanumerical order so that it can handle the numerical ordering - found in screenshot numbered sets of files +Thu, 18 Dec 2014 09:24:46 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Added options to the FBX writer: an ascii/binary switch, and the ability to select FBX version as the SDK handles it (Ex: "FBX201300").This allows the user to achieve backward compatibility, and debug format issues using text output." -2012-06-12 18:29 robert - * src/osgDB/ImagePager.cpp: Enabled 6 ImageThreads in the - ImagePager +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14613 16af8721-9629-0410-8352-f15c8da7e697 -2012-06-12 10:31 robert - * src/osg/ImageStream.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Commented out the - disabling of use of PBO's in ImageStream, and disabled the use - ClientStoreHint in Present3D. +Thu, 18 Dec 2014 09:03:15 +0000 +Checked in by : Robert OSFIELD +From Mattias Helsing, "The addition of the GStreamer cmake find script broke my build because cmake vars weren't passed correctly to find_package_handler_args, so while the find script didn't find a single required GStreamer lib or include path it still reported GSTREAMER_FOUND=TRUE (and then tried to compile the new plugin). This fixes it and correctly reports missing components."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14611 16af8721-9629-0410-8352-f15c8da7e697 -2012-06-11 19:54 robert - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - setting the paging_mode property to PRE_LOAD_ALL_IMAGES, - PAGE_AND_RETAIN_IMAGES or PAGE_AND_DICARD_IMAGE for - osg::ImageStream, - with PAGE_AND_DICARD_IMAGE set as the default. +Wed, 17 Dec 2014 19:21:32 +0000 +Checked in by : Robert OSFIELD +Added support for using SDL2 to the osgmovie to enable it to handle floating point audio formatsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14610 16af8721-9629-0410-8352-f15c8da7e697 -2012-06-08 10:26 robert - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added ImageStream - support to and tags in .p3d +Wed, 17 Dec 2014 19:20:48 +0000 +Checked in by : Robert OSFIELD +From Javier Taibo, " I have found that since version 1.1, FFMPEG changed the way audio streams are retrieved, from packed to planar format. SDL interprets packed audio, as is used in the osgmovie example. To make the audio work when the OSGffmpeg plug-in is compiled against recent FFMPEG versions, FFmpegDecoderAudio must check for planar formats and in these cases request the samples as packed. This way all works as before. It can be checked with osgmovie example application. $ osgmovie --audio movie.avi.ffmpeg + FFmpegImageStream::open audio failed, audio stream will be disabled: unknown audio format -2012-06-08 04:18 robert + With the attached FFmpegDecoderAudio.cpp, audio sounds correctly. - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added - osg::ImageSequence support into - osgPresentation::SlideShowConstructor and the associated - tag in .p3d. + I am also attaching a modified version of FindFFmpeg.cmake that allows to set as FFMPEG_DIR the ffmpeg compiled in the source directory structure. It should not break anything as it only adds some additional search paths. -2012-06-07 10:08 robert +" - * examples/osgimagesequence/osgimagesequence.cpp: Added --fps - support +Note from Robert Osfield, I have found in testing that audio quality is not good for planar floating point formats, even with adding support for SDL2 to the osgmovie example. I haven't yet tracked down the cause of these audio problems or a solution. -2012-05-31 14:45 robert - * applications/osgviewer/osgviewer.cpp: Added typdef for Win32 +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14609 16af8721-9629-0410-8352-f15c8da7e697 -2012-05-25 16:07 robert - * src/osgWrappers/serializers/osg/Uniform.cpp: From Wang Rui, "A - very small but maybe fatal problem was found when I saved models - with shader and uniforms (with new double types support) to osgb - format and tried to read it again. The application will crash - here. And the serializer file should be slightly changed to fix - it. Please replace the original file in - osgWrappers/serializers/osg/Uniform.cpp." +Wed, 17 Dec 2014 10:19:02 +0000 +Checked in by : Robert OSFIELD +From Sukender, "FBX writer was writing an empty file when the scene had a root node being a Geode. This was caused be the change in Drawable (now derived from Node) and Geode (now derived from Group). This fix simply sticks with previous behaviour. Another change could be to adapt WriterNodeVisitor. "git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14608 16af8721-9629-0410-8352-f15c8da7e697 -2012-05-25 15:32 robert - * include/osgManipulator/Dragger, src/osgManipulator/Dragger.cpp: - Added Dragger::get/setActivationMouseButtonMask(uint). +Tue, 16 Dec 2014 17:37:03 +0000 +Checked in by : Robert OSFIELD +Fixed warnings and memmory leaksgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14607 16af8721-9629-0410-8352-f15c8da7e697 -2012-05-25 08:56 robert - * include/osgManipulator/TabPlaneDragger, - src/osgManipulator/TabPlaneDragger.cpp: From Jaap Glas, "Added a - default parameter to the following constructor in TabPlaneDragger - and TabPlaneDragger.cpp: - - TabPlaneDragger(float handleScaleFactor=20.0f); - - The reason for this is that the default OSG tab sizes are way - bigger than - those we used in our application so far. And since - handleScaleFactor_ - is already a (constant) class member, I see no objection against - making - it user defined." +Tue, 16 Dec 2014 17:15:21 +0000 +Checked in by : Robert OSFIELD +Fixed warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14606 16af8721-9629-0410-8352-f15c8da7e697 -2012-05-24 18:15 robert - * applications/osgviewer/osgviewer.cpp, - src/osgManipulator/Dragger.cpp: From Jaap Gas, added missing - break, and missing removeDraggerCallback. +Tue, 16 Dec 2014 17:08:01 +0000 +Checked in by : Robert OSFIELD +Improved handling of invalid/unhandled files Added support for ImageStream::LoopigMode variable Fixed memory leak associtied with restarting videos Changed Image::setData() to Image::dirty() to avoid resetting datagit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14605 16af8721-9629-0410-8352-f15c8da7e697 -2012-05-21 09:12 robert - * CMakeLists.txt: Removed -ftree-vectorize from OSX 10.7 build to - avoid warning when building with clang. +Tue, 16 Dec 2014 11:20:42 +0000 +Checked in by : Robert OSFIELD +From Julen Garcia, "Here there is a small plugin I use to play video files. It is based on GStreamer http://gstreamer.freedesktop.org and I have used the FFmpeg plugin as inspiration."From Robert Osfield, fixed handled of row widths so that they are padded to a 4 byte boundary as certain row widths were being rendered incorrectly. -2012-05-02 14:13 robert - * examples/osgshadow/osgshadow.cpp: Removed trailing spaces +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14604 16af8721-9629-0410-8352-f15c8da7e697 -2012-05-02 13:58 robert - * include/osg/Math: Fixed for including cmath before osg/Math. +Tue, 16 Dec 2014 09:34:15 +0000 +Checked in by : Robert OSFIELD +From Marc Helbling, "please find enclosed a submission that should improve the VertexAccessOrderVisitor (pre-transform) optimizer: * it sorts primitives to keep "more complex" primitives first; maybe you'll prefer to have this as an option (but usually it should make more sense to pre-transform triangles before e.g. lines) * currently, the visitor rely on TriangleIndexFunctor and does not take care of points and lines (see https://github.com/openscenegraph/osg/blob/master/include/osg/TriangleIndexFunctor#L124-130). This can lead to issues e.g. if you store the wireframe lines along with some triangles: the triangles will be reindexed but not the line. I've therefore added osg/include/TriangleLinePointIndexFunctor to index triangles, lines and points and derived VertexReorder from this class. * to avoid issues, shared arrays are duplicated. However, in some cases (e.g. an UV channel shared in the geometry only) this is not required. I'm adding a SharedArrayOptimizer to optimize this: it looks for duplicated UVs before the array duplication and deduplicate arrays after. "git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14603 16af8721-9629-0410-8352-f15c8da7e697 -2012-04-27 09:43 robert - * include/osg/Uniform: Added using base_class::set to the - Matrix*Template class to enable the set() method from the base - class to be used. +Mon, 15 Dec 2014 17:15:21 +0000 +Checked in by : Robert OSFIELD +From Marc Helbling, "please find the mergeTriangleStrip code merged in osgUtil::TriStripVisitor. I've removed the references to DrawArrays as we should no longer produce any.Note that: +* as the name suggest, it only works for triangle strips but could probably be easily extended to quads +* the resulting primitive is not highly optimized; we could probably sort the strips in order to minimize the number of primitive restart +* as we may merge DrawElementsUInt and DrawElementUShort, the code will only generate DrawElementsUInt" -2012-04-26 10:07 robert - * examples/osgautocapture/osgautocapture.cpp: From Christophe - Herreman, Added viewer.setCameraManipulator( - keyswitchManipulator.get() ) to fix problem with master Camera - not being updated +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14602 16af8721-9629-0410-8352-f15c8da7e697 -2012-04-20 10:01 robert - * src/osgPlugins/ac/ac3d.cpp: From Mathias Froehlich,"Attached is a - change to the ac3d model loader as of rev 11498, that uses - indexed draws instead of plain array draws to save some amount of - main memory. - Draw performance does not change with the nvidia binary blob as - well as with - the open source drivers." +Wed, 10 Dec 2014 18:23:32 +0000 +Checked in by : Robert OSFIELD +Build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14601 16af8721-9629-0410-8352-f15c8da7e697 -2012-04-20 09:53 robert - * src/osgPlugins/glsl/ReaderWriterGLSL.cpp: From John Kaniarz, - "Here's a patch to add new extensions for tessellation shaders to - the GLSL - plugin." "I went with .tctrl and .teval for the shader - extensions." +Wed, 10 Dec 2014 13:05:47 +0000 +Checked in by : Robert OSFIELD +Added OpenGL Transform Feedback extensions.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14600 16af8721-9629-0410-8352-f15c8da7e697 -2012-04-20 09:40 robert - * examples/osgtessellationshaders/osgtessellationshaders.cpp: Ran - dos2unx on file +Wed, 10 Dec 2014 12:23:04 +0000 +Checked in by : Robert OSFIELD +From Marcus Hein, Added support for OpenGL SSBO and SSBB via osg::ShaderStorageBufferObject and osg::ShaderStorageBufferBinding to core OSG library, and added new osgSSBO examplegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14599 16af8721-9629-0410-8352-f15c8da7e697 -2012-04-20 09:38 robert - * examples/CMakeLists.txt, examples/osgtessellationshaders, - examples/osgtessellationshaders/CMakeLists.txt, - examples/osgtessellationshaders/osgtessellationshaders.cpp: From - John Kaniarz, "Here is an example of using tessellation shaders - in osg. With permission from the author, I adapted it from this - tutorial: - http://prideout.net/blog/?p=48" +Wed, 10 Dec 2014 11:44:16 +0000 +Checked in by : Robert OSFIELD +Added GLDefines headergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14597 16af8721-9629-0410-8352-f15c8da7e697 -2012-04-19 14:58 robert - * include/osg/GL2Extensions: Restructed how the GL_SAMPLER_* - #define's are placed to avoid build problems under GLES. +Wed, 10 Dec 2014 11:29:54 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "The Collada loader would crash while processing textures on certain files. I've attached the fix."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14595 16af8721-9629-0410-8352-f15c8da7e697 -2012-04-19 14:34 robert - * src/osgDB/FileUtils.cpp: Changed #ifdef __IPHONE_4_0 to #if - defined(__IPHONE_4_0) to fix error that Clang compile warning - highlighted +Wed, 10 Dec 2014 10:44:58 +0000 +Checked in by : Robert OSFIELD +Removed old GL2Extensions class, replacing it with a typedef to GL2Extensions Removed old includes to include/osg/GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14594 16af8721-9629-0410-8352-f15c8da7e697 -2012-04-19 13:18 robert - * src/osgPlugins/dae/daeRGeometry.cpp: Fixed build with - OSG_USE_REF_PTR_IMPLICIT_OUTPUT set to OFF. - -2012-04-19 10:27 robert - - * include/osg/Uniform: From David Callu, "Here the fix for - Matrix{2,3,4}x{2,3,4}{fd} defined in Uniform header. - - My previous patch for Atomic Counter Uniform provide new template - implementation - of Matrix{2,3,4}x{2,3,4}{fd}. This new implementation use - Column-Major Matrix. - Original code define matrix as Row-Major matrix like other Matrix - in OSG, and - my matrix implementation break compatibility with previous code. - For example osg_normalMatrix define in osg::State report by - Roland Hill. - Thanks to Paul Martz to spot me when the bug appear." - -2012-04-19 10:10 robert - - * src/osg/Program.cpp: Added missing getUniformBlocks implmentation - -2012-04-19 09:50 robert - - * CMakeLists.txt, CMakeModules/OsgAndroidMacroUtils.cmake, - PlatformSpecifics/Android/Android.mk.modules.in, - PlatformSpecifics/Android/Application.mk.master.in: From Jorge - Izquierdo Ciges, "Mostly small changes to add more compile - options, and shared linking (still testing that capability, but - this enables on a compile basis if the user wants). Robert, when - you give the Ok I'll update/rewrite the Android section in the - old/new wiki you'll say where is better. Mostly to be clear for - the future users what options can configure and what are their - purpose." - -2012-04-18 10:16 robert - - * src/osg/Texture.cpp: Refactored the handling of GLES adaptations - of the 1,2,3,4 internal formats and added handling of GL_RGB8_OES - and GL_RGBA8_OES. - -2012-04-18 09:56 robert - - * include/osg/GLBeginEndAdapter, src/osg/ArrayDispatchers.cpp: From - Mathias Froehlich, "Attached is a change to the slow path - geometry dispatch tables that allows the - use of 3 component float color vectors." - -2012-04-18 09:51 robert - - * examples/osgtexture2D/osgtexture2D.cpp: From Martin Naylor, "I - have been experiencing a crash in the example osgtexture2D. - Not sure why my system seems to be so sensitive to these - problems. - - But attached is a fix which seems to stabilise the example. - Note: it only seems to crash intermittently when spinning the - object with - your mouse. - - So I assume this is a threading issue because of the data - variance missing - in some of the text node setups in the example. - " - -2012-04-18 09:50 robert - - * CMakeLists.txt, include/osg/Version: Updated version number - -2012-04-06 11:29 robert - - * src/osg/Program.cpp: From Martin Naylor, "Please find attached a - fix for the STD library(tested under Windowsx64 - VS2008) when atomiccounter is found but not used." - -2012-04-06 10:42 robert - - * include/osg/Uniform, src/osg/Uniform.cpp: From Ulrich Hertlein, - Fix for MatrixTemplate compile errors - -2012-04-05 13:53 robert - - * include/osgDB/DataTypes, include/osgDB/InputStream, - include/osgDB/OutputStream, include/osgDB/Serializer, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp, - src/osgWrappers/serializers/osg/AnimationPath.cpp, - src/osgWrappers/serializers/osg/Billboard.cpp, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/CompositeShape.cpp, - src/osgWrappers/serializers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/serializers/osg/Drawable.cpp, - src/osgWrappers/serializers/osg/FragmentProgram.cpp, - src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/Group.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/LOD.cpp, - src/osgWrappers/serializers/osg/Material.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osg/PolygonMode.cpp, - src/osgWrappers/serializers/osg/PolygonStipple.cpp, - src/osgWrappers/serializers/osg/Program.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp, - src/osgWrappers/serializers/osg/Shader.cpp, - src/osgWrappers/serializers/osg/ShaderBinary.cpp, - src/osgWrappers/serializers/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/StencilTwoSided.cpp, - src/osgWrappers/serializers/osg/Texture2DArray.cpp, - src/osgWrappers/serializers/osg/TextureCubeMap.cpp, - src/osgWrappers/serializers/osg/TransferFunction1D.cpp, - src/osgWrappers/serializers/osg/UserDataContainer.cpp, - src/osgWrappers/serializers/osg/VertexProgram.cpp, - src/osgWrappers/serializers/osgAnimation/Animation.cpp, - src/osgWrappers/serializers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/serializers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMatrixTransform.cpp, - src/osgWrappers/serializers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/serializers/osgManipulator/CompositeDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Dragger.cpp, - src/osgWrappers/serializers/osgParticle/CompositePlacer.cpp, - src/osgWrappers/serializers/osgParticle/DomainOperator.cpp, - src/osgWrappers/serializers/osgParticle/ModularProgram.cpp, - src/osgWrappers/serializers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/serializers/osgParticle/Particle.cpp, - src/osgWrappers/serializers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/serializers/osgSim/BlinkSequence.cpp, - src/osgWrappers/serializers/osgSim/LightPointNode.cpp, - src/osgWrappers/serializers/osgSim/MultiSwitch.cpp, - src/osgWrappers/serializers/osgSim/ObjectRecordData.cpp, - src/osgWrappers/serializers/osgSim/ScalarBar.cpp, - src/osgWrappers/serializers/osgSim/ShapeAttributeList.cpp, - src/osgWrappers/serializers/osgTerrain/CompositeLayer.cpp, - src/osgWrappers/serializers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/serializers/osgTerrain/ImageLayer.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp, - src/osgWrappers/serializers/osgText/Text.cpp, - src/osgWrappers/serializers/osgVolume/CompositeLayer.cpp, - src/osgWrappers/serializers/osgVolume/CompositeProperty.cpp, - src/osgWrappers/serializers/osgVolume/Locator.cpp: From Wang Rui, - "I'd like to submit the changes that will put ObjectProperty and - ObjectMark variables into the InputStream/OutputStream class - instead of static ones. This should avoid the threading problem - and won't repeatedly reallocate memory for the properties. Some - of the wrappers will be slightly modified to use the property - variable stored in the InputStream/OutputStream as well." - -2012-03-30 17:08 robert - - * AUTHORS.txt: Update AUTHORS for release - -2012-03-30 16:58 robert - - * ChangeLog: Updated ChangeLog for dev release - -2012-03-30 10:10 robert - - * src/osgPlugins/OpenFlight/PaletteRecords.cpp: Added check to - avoid accessing pointer past the end of the string. - -2012-03-29 15:08 robert - - * include/osg/DeleteHandler, include/osg/Image, - include/osg/Observer, include/osg/ProxyNode, - include/osg/Texture3D, include/osgGA/FlightManipulator, - include/osgGA/GUIActionAdapter, - include/osgGA/KeySwitchMatrixManipulator, - include/osgSim/MultiSwitch, include/osgUtil/SceneView, - include/osgViewer/View, src/osgPlugins/osg/ReaderWriterOSG.cpp: - From Magnus Kessler, typo and documentation fixes - -2012-03-29 14:58 robert - - * src/osgPlugins/ply/vertexData.cpp, - src/osgPlugins/ply/vertexData.h: From Cedric Pinson, "I Updated - the ply plugin to support alpha color in files. Plus I updated it - to use by default an alpha of 1.0 instead of 0 when no alpha is - specified. - Last changes is to divide byte color by 255.0 instead of 256.0." - -2012-03-29 09:57 robert - - * include/osg/AnimationPath: From Magnus Kessler, "remove - unecessary conversion from float in double precision method" - -2012-03-29 09:43 robert - - * examples/CMakeLists.txt, examples/osgatomiccounter, - examples/osgatomiccounter/CMakeLists.txt, - examples/osgatomiccounter/osgatomiccounter.cpp, - include/osg/BufferIndexBinding, include/osg/BufferObject, - include/osg/GL2Extensions, include/osg/StateAttribute, - include/osg/Uniform, src/osg/BufferIndexBinding.cpp, - src/osg/BufferObject.cpp, src/osg/GL2Extensions.cpp, - src/osg/Program.cpp, src/osg/Uniform.cpp, - src/osgPlugins/ive/Uniform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Uniform.cpp, - src/osgWrappers/serializers/osg/Uniform.cpp: From David Callu, - "Here an update of osg::Uniform : - - add non square matrix - - add double - - add all uniform type available in OpenGL 4.2 - - backward compatibility for Matrixd to set/get an float uniform - matrix - - update of IVE / Wrapper ReadWriter - - implementation of AtomicCounterBuffer based on BufferIndexBinding - - add example that use AtomicCounterBuffer and show rendering order - of fragments, - original idea from geeks3d.com." - -2012-03-29 08:27 robert - - * include/osg/Image, src/osg/Image.cpp: Added int packing parameter - to Image::readPixels(..) - -2012-03-23 16:09 robert - - * examples/CMakeLists.txt: Removed trailing spaces - -2012-03-23 11:32 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS for 3.1.2 - dev release - -2012-03-23 11:20 robert - - * src/osgPlugins/dae/daeRGeometry.cpp: Fixed potential memory leak - -2012-03-23 11:16 robert - - * src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeReader.h: From Luc Frauciel, "I've - encoutered a nasty group of dae which are incompatible with dae - plugins (and probably collada schema ) in 4 different ways : - - 1) they use direct link to texture - - -> this is already handle by current plugin : OK - - 2) they defined colors with only 3 color components - - -> it leads to a crash when trying to acces to the fourth - component - I fixed that - - 3) they contain empty primitive lists - - -> reading is ok, but osgviewer crashes when trying to display - the geometries - The reason is that osg assume that DrawElementsare never empty - (blunt acces to DrawElements.front() in PrimitiveSet.cpp) - I corrected this (on the plugin side), but I wonder : - Is it the responsability of plugins to create non empty - DrawElements, or of osg core not to crash when they occur ? - If the responsability is on the osg core side, I can submit a - patch to PrimitiveSet.cpp regarding that aspect. - - 4) they use a material binding scheme not supported by the plugin - - ->I've implemented a mechanism to handle this binding scheme - - You will also find in the patch an example of these evil dae and - comments on the offending elements. - They seems to be produced by ComputaMaps (www.computamaps.com) - They load well in Google Earth - " - -2012-03-23 10:24 robert - - * src/OpenThreads/common/Atomic.cpp: From Ulrich Hertlein, "as - discussed on osg-users there is an issue with clang++ on OS X and - iOS that results in - the following error: - - Users/stephan/Documents/Projekte/cefix/cefix/ios/../../libs/ios/include/OpenThreads/Atomic:244:48: - error: cannot initialize a parameter of type 'void *' with an - lvalue of - type 'const void *const' - return __sync_bool_compare_and_swap(&_ptr, ptrOld, ptrNew); - - This can be solved by a cast to '(void*)ptrOld'. This should be - benign since both - 'ptrOld' and 'ptrNew' are only read and the cast is in fact in - place for all other - implementations as well. - - On OS X the cast compiles cleanly on both g++ - (i686-apple-darwin11-llvm-g++-4.2 (GCC) - 4.2.1) and clang++ (Apple clang version 3.1 - (tags/Apple/clang-318.0.54)). - " - -2012-03-23 10:21 robert - - * CMakeLists.txt, src/osgViewer/CMakeLists.txt: As per Ulrich - Hertlrein's suggestion, changed APPLE_PLATFORM_SDK_CANONICAL_NAME - to OSG_OSX_SDK_NAME. - -2012-03-23 10:18 robert - - * CMakeLists.txt, src/osgViewer/CMakeLists.txt: From Erik den - Dekker, " - IF(${CMAKE_OSX_SYSROOT} STREQUAL - "/Developer/SDKs/MacOSX10.7.sdk") - ... - - ELSEIF(${CMAKE_OSX_SYSROOT} STREQUAL - "/Developer/SDKs/MacOSX10.5.sdk" OR ${CMAKE_OSX_SYSROOT} STREQUAL - "/Developer/SDKs/MacOSX10.6.sdk") - - ... - - ELSEIF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk) - ... - - ELSE() - - ... - - ENDIF() - - - Which is fragile because XCode could be installed into another - directory than /Developer. (In case XCode is not installed into - the /Developer directory CMake can automatically resolve the path - via command line utility ${CMAKE_XCODE_SELECT} --print-path) - - This issue bites me currently because the latest XCode (Version - 4.3.1 - 4E1019) installed through the Mac App Store is per - default installed in "/Applications/Xcode.app/Contents/Developer" - and hence the 10.7 SDK in - "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" - - Searching the web to find the proper way to determine the version - of the Platform SDK programmatically, I found no standard way. I - came up with 2 options myself: - - 1) Parse the path string to extract the version number - - 2) Read a value from the SDKSettings.plist found in the root of - each SDK (e.g., "defaults read - ${CMAKE_OSX_ROOT}/SDKSettings.plist CanonicalName" gives - "macosx10.7") - - I implemented the last option and verified that at least the - following Mac OS SDKs (10.3.9, 10.4, 10.5, 10.6, 10.7) support - this method. It also looks reasonably future proof. An additional - benefit of this method is that it also seems to be compatible - with iOS and iOS Simulator SDKs (at least for version 5.1, but I - assume this also applies to older versions). This is interesting - because the CMake infrastructure to build OSG for iOS currently - still contains similar hard-coded paths and even requires you to - manually change the cmake file to build for another iOS SDK - version. In the near future I hope to address these issues, but I - haven't been able to try this yet." - -2012-03-21 17:36 robert - - * include/OpenThreads/Barrier, include/OpenThreads/Block, - include/OpenThreads/Condition, include/OpenThreads/Exports, - include/OpenThreads/Mutex, include/OpenThreads/ReadWriteMutex, - include/OpenThreads/ReentrantMutex, - include/OpenThreads/ScopedLock, include/OpenThreads/Thread, - include/osg/AlphaFunc, include/osg/AnimationPath, - include/osg/ApplicationUsage, include/osg/ArgumentParser, - include/osg/Array, include/osg/ArrayDispatchers, - include/osg/AudioStream, include/osg/Billboard, - include/osg/BlendColor, include/osg/BlendEquation, - include/osg/BlendFunc, include/osg/BoundingBox, - include/osg/BoundingSphere, include/osg/BoundsChecking, - include/osg/BufferIndexBinding, include/osg/BufferObject, - include/osg/Camera, include/osg/CameraNode, - include/osg/CameraView, include/osg/ClampColor, - include/osg/ClearNode, include/osg/ClipNode, - include/osg/ClipPlane, include/osg/ClusterCullingCallback, - include/osg/CollectOccludersVisitor, include/osg/ColorMask, - include/osg/ColorMatrix, include/osg/ComputeBoundsVisitor, - include/osg/ConvexPlanarOccluder, - include/osg/ConvexPlanarPolygon, - include/osg/CoordinateSystemNode, include/osg/CopyOp, - include/osg/CullFace, include/osg/CullSettings, - include/osg/CullStack, include/osg/CullingSet, - include/osg/DeleteHandler, include/osg/Depth, - include/osg/DisplaySettings, include/osg/DrawPixels, - include/osg/Drawable, include/osg/Endian, include/osg/Export, - include/osg/Fog, include/osg/FragmentProgram, - include/osg/FrameBufferObject, include/osg/FrameStamp, - include/osg/FrontFace, include/osg/GL, include/osg/GL2Extensions, - include/osg/GLBeginEndAdapter, include/osg/GLExtensions, - include/osg/GLObjects, include/osg/GLU, include/osg/Geode, - include/osg/Geometry, include/osg/GraphicsContext, - include/osg/GraphicsThread, include/osg/Group, include/osg/Hint, - include/osg/Image, include/osg/ImageSequence, - include/osg/ImageStream, include/osg/ImageUtils, - include/osg/KdTree, include/osg/LOD, include/osg/Light, - include/osg/LightModel, include/osg/LightSource, - include/osg/LineSegment, include/osg/LineStipple, - include/osg/LineWidth, include/osg/LogicOp, include/osg/Material, - include/osg/Math, include/osg/Matrix, - include/osg/MatrixTransform, include/osg/Matrixd, - include/osg/Matrixf, include/osg/MixinVector, - include/osg/Multisample, include/osg/Node, - include/osg/NodeCallback, include/osg/NodeTrackerCallback, - include/osg/NodeVisitor, include/osg/Notify, include/osg/Object, - include/osg/OccluderNode, include/osg/OcclusionQueryNode, - include/osg/OperationThread, include/osg/PagedLOD, - include/osg/Plane, include/osg/Point, include/osg/PointSprite, - include/osg/PolygonMode, include/osg/PolygonOffset, - include/osg/PolygonStipple, include/osg/Polytope, - include/osg/PositionAttitudeTransform, include/osg/PrimitiveSet, - include/osg/Projection, include/osg/ProxyNode, include/osg/Quat, - include/osg/Referenced, include/osg/RenderInfo, - include/osg/Scissor, include/osg/Sequence, - include/osg/ShadeModel, include/osg/Shader, - include/osg/ShaderAttribute, include/osg/ShadowVolumeOccluder, - include/osg/Shape, include/osg/ShapeDrawable, include/osg/State, - include/osg/StateAttribute, include/osg/StateAttributeCallback, - include/osg/StateSet, include/osg/Stats, - include/osg/StencilTwoSided, include/osg/Switch, - include/osg/TexEnv, include/osg/TexEnvCombine, - include/osg/TexEnvFilter, include/osg/TexGen, - include/osg/TexGenNode, include/osg/TexMat, include/osg/Texture, - include/osg/Texture1D, include/osg/Texture2D, - include/osg/Texture2DArray, include/osg/Texture2DMultisample, - include/osg/Texture3D, include/osg/TextureCubeMap, - include/osg/TextureRectangle, include/osg/Timer, - include/osg/TransferFunction, include/osg/Transform, - include/osg/TriangleFunctor, include/osg/TriangleIndexFunctor, - include/osg/Uniform, include/osg/UserDataContainer, - include/osg/ValueObject, include/osg/Vec2, include/osg/Vec2b, - include/osg/Vec2d, include/osg/Vec2f, include/osg/Vec2s, - include/osg/Vec3, include/osg/Vec3b, include/osg/Vec3d, - include/osg/Vec3f, include/osg/Vec3s, include/osg/Vec4, - include/osg/Vec4b, include/osg/Vec4d, include/osg/Vec4f, - include/osg/Vec4s, include/osg/Vec4ub, include/osg/VertexProgram, - include/osg/View, include/osg/Viewport, - include/osg/buffered_value, include/osg/fast_back_stack, - include/osg/io_utils, include/osg/observer_ptr, - include/osg/ref_ptr, include/osgAnimation/Action, - include/osgAnimation/ActionAnimation, - include/osgAnimation/ActionBlendIn, - include/osgAnimation/ActionBlendOut, - include/osgAnimation/ActionCallback, - include/osgAnimation/ActionStripAnimation, - include/osgAnimation/ActionVisitor, - include/osgAnimation/Animation, - include/osgAnimation/AnimationManagerBase, - include/osgAnimation/AnimationUpdateCallback, - include/osgAnimation/BasicAnimationManager, - include/osgAnimation/Bone, include/osgAnimation/BoneMapVisitor, - include/osgAnimation/Channel, include/osgAnimation/CubicBezier, - include/osgAnimation/EaseMotion, include/osgAnimation/Export, - include/osgAnimation/FrameAction, - include/osgAnimation/Interpolator, include/osgAnimation/Keyframe, - include/osgAnimation/LinkVisitor, - include/osgAnimation/MorphGeometry, - include/osgAnimation/RigGeometry, - include/osgAnimation/RigTransform, - include/osgAnimation/RigTransformHardware, - include/osgAnimation/RigTransformSoftware, - include/osgAnimation/Sampler, include/osgAnimation/Skeleton, - include/osgAnimation/StackedMatrixElement, - include/osgAnimation/StackedQuaternionElement, - include/osgAnimation/StackedRotateAxisElement, - include/osgAnimation/StackedScaleElement, - include/osgAnimation/StackedTransform, - include/osgAnimation/StackedTransformElement, - include/osgAnimation/StackedTranslateElement, - include/osgAnimation/StatsHandler, - include/osgAnimation/StatsVisitor, include/osgAnimation/Target, - include/osgAnimation/Timeline, - include/osgAnimation/TimelineAnimationManager, - include/osgAnimation/UpdateBone, - include/osgAnimation/UpdateMaterial, - include/osgAnimation/UpdateMatrixTransform, - include/osgAnimation/Vec3Packed, - include/osgAnimation/VertexInfluence, include/osgDB/Archive, - include/osgDB/AuthenticationMap, include/osgDB/Callbacks, - include/osgDB/ConvertUTF, include/osgDB/DataTypes, - include/osgDB/DatabasePager, include/osgDB/DatabaseRevisions, - include/osgDB/DotOsgWrapper, include/osgDB/DynamicLibrary, - include/osgDB/Export, include/osgDB/ExternalFileWriter, - include/osgDB/FileCache, include/osgDB/FileNameUtils, - include/osgDB/FileUtils, include/osgDB/ImageOptions, - include/osgDB/ImagePager, include/osgDB/ImageProcessor, - include/osgDB/Input, include/osgDB/InputStream, - include/osgDB/ObjectWrapper, include/osgDB/Options, - include/osgDB/Output, include/osgDB/OutputStream, - include/osgDB/ParameterOutput, include/osgDB/PluginQuery, - include/osgDB/ReadFile, include/osgDB/ReaderWriter, - include/osgDB/Registry, include/osgDB/Serializer, - include/osgDB/SharedStateManager, include/osgDB/StreamOperator, - include/osgDB/Version, include/osgDB/WriteFile, - include/osgDB/XmlParser, include/osgDB/fstream, - include/osgFX/AnisotropicLighting, include/osgFX/BumpMapping, - include/osgFX/Cartoon, include/osgFX/Effect, - include/osgFX/Export, include/osgFX/MultiTextureControl, - include/osgFX/Registry, include/osgFX/Scribe, - include/osgFX/SpecularHighlights, include/osgFX/Technique, - include/osgFX/Validator, include/osgFX/Version, - include/osgGA/AnimationPathManipulator, - include/osgGA/CameraViewSwitchManipulator, - include/osgGA/EventQueue, include/osgGA/EventVisitor, - include/osgGA/Export, include/osgGA/GUIActionAdapter, - include/osgGA/GUIEventAdapter, include/osgGA/GUIEventHandler, - include/osgGA/MultiTouchTrackballManipulator, - include/osgGA/SphericalManipulator, - include/osgGA/StateSetManipulator, include/osgGA/UFOManipulator, - include/osgGA/Version, include/osgManipulator/AntiSquish, - include/osgManipulator/Command, include/osgManipulator/Dragger, - include/osgManipulator/Projector, include/osgManipulator/Version, - include/osgParticle/AccelOperator, - include/osgParticle/AngularAccelOperator, - include/osgParticle/AngularDampingOperator, - include/osgParticle/BounceOperator, - include/osgParticle/BoxPlacer, - include/osgParticle/CenteredPlacer, - include/osgParticle/CompositePlacer, - include/osgParticle/ConnectedParticleSystem, - include/osgParticle/ConstantRateCounter, - include/osgParticle/Counter, include/osgParticle/DampingOperator, - include/osgParticle/DomainOperator, include/osgParticle/Emitter, - include/osgParticle/ExplosionDebrisEffect, - include/osgParticle/ExplosionEffect, - include/osgParticle/ExplosionOperator, - include/osgParticle/Export, include/osgParticle/FireEffect, - include/osgParticle/FluidFrictionOperator, - include/osgParticle/FluidProgram, - include/osgParticle/ForceOperator, - include/osgParticle/Interpolator, - include/osgParticle/LinearInterpolator, - include/osgParticle/ModularEmitter, - include/osgParticle/ModularProgram, - include/osgParticle/MultiSegmentPlacer, - include/osgParticle/Operator, include/osgParticle/OrbitOperator, - include/osgParticle/Particle, include/osgParticle/ParticleEffect, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/ParticleSystemUpdater, - include/osgParticle/Placer, include/osgParticle/PointPlacer, - include/osgParticle/PrecipitationEffect, - include/osgParticle/Program, include/osgParticle/RadialShooter, - include/osgParticle/RandomRateCounter, - include/osgParticle/SectorPlacer, - include/osgParticle/SegmentPlacer, include/osgParticle/Shooter, - include/osgParticle/SinkOperator, - include/osgParticle/SmokeEffect, - include/osgParticle/SmokeTrailEffect, - include/osgParticle/VariableRateCounter, - include/osgParticle/Version, include/osgParticle/range, - include/osgPresentation/AnimationMaterial, - include/osgPresentation/CompileSlideCallback, - include/osgPresentation/Export, - include/osgPresentation/PickEventHandler, - include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, - include/osgQt/Export, include/osgQt/GraphicsWindowQt, - include/osgQt/QFontImplementation, include/osgQt/QWidgetImage, - include/osgShadow/ConvexPolyhedron, - include/osgShadow/DebugShadowMap, include/osgShadow/Export, - include/osgShadow/LightSpacePerspectiveShadowMap, - include/osgShadow/MinimalCullBoundsShadowMap, - include/osgShadow/MinimalDrawBoundsShadowMap, - include/osgShadow/MinimalShadowMap, - include/osgShadow/OccluderGeometry, - include/osgShadow/ParallelSplitShadowMap, - include/osgShadow/ProjectionShadowMap, - include/osgShadow/ShadowMap, include/osgShadow/ShadowSettings, - include/osgShadow/ShadowTechnique, - include/osgShadow/ShadowTexture, include/osgShadow/ShadowVolume, - include/osgShadow/ShadowedScene, include/osgShadow/SoftShadowMap, - include/osgShadow/StandardShadowMap, include/osgShadow/Version, - include/osgShadow/ViewDependentShadowMap, - include/osgShadow/ViewDependentShadowTechnique, - include/osgSim/BlinkSequence, include/osgSim/ColorRange, - include/osgSim/DOFTransform, include/osgSim/ElevationSlice, - include/osgSim/Export, include/osgSim/GeographicLocation, - include/osgSim/HeightAboveTerrain, include/osgSim/Impostor, - include/osgSim/ImpostorSprite, - include/osgSim/InsertImpostorsVisitor, include/osgSim/LightPoint, - include/osgSim/LightPointNode, include/osgSim/LightPointSystem, - include/osgSim/LineOfSight, include/osgSim/MultiSwitch, - include/osgSim/ObjectRecordData, include/osgSim/OverlayNode, - include/osgSim/ScalarBar, include/osgSim/Sector, - include/osgSim/ShapeAttribute, include/osgSim/SphereSegment, - include/osgSim/Version, include/osgSim/VisibilityGroup, - include/osgTerrain/Export, include/osgTerrain/GeometryTechnique, - include/osgTerrain/Layer, include/osgTerrain/Locator, - include/osgTerrain/Terrain, include/osgTerrain/TerrainTechnique, - include/osgTerrain/TerrainTile, - include/osgTerrain/ValidDataOperator, include/osgTerrain/Version, - include/osgText/Export, include/osgText/FadeText, - include/osgText/Font, include/osgText/Glyph, - include/osgText/KerningType, include/osgText/String, - include/osgText/Text, include/osgText/TextBase, - include/osgText/Version, include/osgUtil/ConvertVec, - include/osgUtil/CubeMapGenerator, include/osgUtil/CullVisitor, - include/osgUtil/DelaunayTriangulator, - include/osgUtil/DisplayRequirementsVisitor, - include/osgUtil/DrawElementTypeSimplifier, - include/osgUtil/EdgeCollector, include/osgUtil/Export, - include/osgUtil/GLObjectsVisitor, - include/osgUtil/HalfWayMapGenerator, - include/osgUtil/HighlightMapGenerator, - include/osgUtil/IncrementalCompileOperation, - include/osgUtil/IntersectVisitor, include/osgUtil/MeshOptimizers, - include/osgUtil/OperationArrayFunctor, include/osgUtil/Optimizer, - include/osgUtil/PerlinNoise, - include/osgUtil/PositionalStateContainer, - include/osgUtil/PrintVisitor, - include/osgUtil/ReflectionMapGenerator, - include/osgUtil/RenderBin, include/osgUtil/RenderLeaf, - include/osgUtil/RenderStage, - include/osgUtil/ReversePrimitiveFunctor, - include/osgUtil/SceneGraphBuilder, include/osgUtil/SceneView, - include/osgUtil/ShaderGen, include/osgUtil/Simplifier, - include/osgUtil/SmoothingVisitor, include/osgUtil/StateGraph, - include/osgUtil/TangentSpaceGenerator, - include/osgUtil/Tessellator, - include/osgUtil/TransformAttributeFunctor, - include/osgUtil/TransformCallback, - include/osgUtil/TriStripVisitor, include/osgUtil/UpdateVisitor, - include/osgUtil/Version, include/osgViewer/CompositeViewer, - include/osgViewer/Export, include/osgViewer/Renderer, - include/osgViewer/Scene, include/osgViewer/Version, - include/osgViewer/View, include/osgViewer/Viewer, - include/osgViewer/ViewerBase, - include/osgViewer/ViewerEventHandlers, include/osgVolume/Export, - include/osgVolume/FixedFunctionTechnique, - include/osgVolume/Layer, include/osgVolume/Locator, - include/osgVolume/RayTracedTechnique, include/osgVolume/Version, - include/osgVolume/Volume, include/osgVolume/VolumeTechnique, - include/osgVolume/VolumeTile, include/osgWidget/Box, - include/osgWidget/Browser, include/osgWidget/Canvas, - include/osgWidget/EventInterface, include/osgWidget/Export, - include/osgWidget/Frame, include/osgWidget/Lua, - include/osgWidget/PdfReader, include/osgWidget/Python, - include/osgWidget/ScriptEngine, include/osgWidget/StyleInterface, - include/osgWidget/StyleManager, include/osgWidget/Table, - include/osgWidget/Types, include/osgWidget/UIObjectParent, - include/osgWidget/Util, include/osgWidget/ViewerEventHandlers, - include/osgWidget/VncClient, include/osgWidget/Widget, - include/osgWidget/Window, include/osgWidget/WindowManager, - src/osg/AlphaFunc.cpp, src/osg/AnimationPath.cpp, - src/osg/ApplicationUsage.cpp, src/osg/ArgumentParser.cpp, - src/osg/Array.cpp, src/osg/ArrayDispatchers.cpp, - src/osg/AudioStream.cpp, src/osg/AutoTransform.cpp, - src/osg/Billboard.cpp, src/osg/BlendColor.cpp, - src/osg/BlendEquation.cpp, src/osg/BlendFunc.cpp, - src/osg/BufferIndexBinding.cpp, src/osg/BufferObject.cpp, - src/osg/CameraView.cpp, src/osg/ClampColor.cpp, - src/osg/ClearNode.cpp, src/osg/ClipNode.cpp, - src/osg/ClipPlane.cpp, src/osg/ClusterCullingCallback.cpp, - src/osg/CollectOccludersVisitor.cpp, src/osg/ColorMask.cpp, - src/osg/ColorMatrix.cpp, src/osg/ComputeBoundsVisitor.cpp, - src/osg/ConvexPlanarOccluder.cpp, - src/osg/ConvexPlanarPolygon.cpp, - src/osg/CoordinateSystemNode.cpp, src/osg/CopyOp.cpp, - src/osg/CullFace.cpp, src/osg/CullSettings.cpp, - src/osg/CullStack.cpp, src/osg/CullingSet.cpp, - src/osg/DeleteHandler.cpp, src/osg/Depth.cpp, - src/osg/DisplaySettings.cpp, src/osg/DrawPixels.cpp, - src/osg/Drawable.cpp, src/osg/Fog.cpp, - src/osg/FragmentProgram.cpp, src/osg/FrameBufferObject.cpp, - src/osg/FrameStamp.cpp, src/osg/FrontFace.cpp, - src/osg/GL2Extensions.cpp, src/osg/GLBeginEndAdapter.cpp, - src/osg/GLExtensions.cpp, src/osg/GLObjects.cpp, - src/osg/GLStaticLibrary.cpp, src/osg/Geode.cpp, - src/osg/Geometry.cpp, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp, src/osg/Group.cpp, src/osg/Hint.cpp, - src/osg/Image.cpp, src/osg/ImageSequence.cpp, - src/osg/ImageStream.cpp, src/osg/ImageUtils.cpp, - src/osg/KdTree.cpp, src/osg/LOD.cpp, src/osg/Light.cpp, - src/osg/LightModel.cpp, src/osg/LightSource.cpp, - src/osg/LineSegment.cpp, src/osg/LineStipple.cpp, - src/osg/LineWidth.cpp, src/osg/LogicOp.cpp, src/osg/Material.cpp, - src/osg/Math.cpp, src/osg/MatrixDecomposition.cpp, - src/osg/MatrixTransform.cpp, src/osg/Matrix_implementation.cpp, - src/osg/Matrixd.cpp, src/osg/Matrixf.cpp, - src/osg/Multisample.cpp, src/osg/Node.cpp, - src/osg/NodeCallback.cpp, src/osg/NodeTrackerCallback.cpp, - src/osg/NodeVisitor.cpp, src/osg/Notify.cpp, src/osg/Object.cpp, - src/osg/OccluderNode.cpp, src/osg/OcclusionQueryNode.cpp, - src/osg/OperationThread.cpp, src/osg/PagedLOD.cpp, - src/osg/Point.cpp, src/osg/PointSprite.cpp, - src/osg/PolygonMode.cpp, src/osg/PolygonOffset.cpp, - src/osg/PolygonStipple.cpp, - src/osg/PositionAttitudeTransform.cpp, src/osg/PrimitiveSet.cpp, - src/osg/Program.cpp, src/osg/Projection.cpp, - src/osg/ProxyNode.cpp, src/osg/Quat.cpp, src/osg/Referenced.cpp, - src/osg/Scissor.cpp, src/osg/Sequence.cpp, - src/osg/ShadeModel.cpp, src/osg/Shader.cpp, - src/osg/ShadowVolumeOccluder.cpp, src/osg/Shape.cpp, - src/osg/ShapeDrawable.cpp, src/osg/State.cpp, - src/osg/StateAttribute.cpp, src/osg/StateSet.cpp, - src/osg/Stats.cpp, src/osg/StencilTwoSided.cpp, - src/osg/Switch.cpp, src/osg/TexEnv.cpp, - src/osg/TexEnvCombine.cpp, src/osg/TexEnvFilter.cpp, - src/osg/TexGen.cpp, src/osg/TexGenNode.cpp, src/osg/TexMat.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture2DMultisample.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osg/Timer.cpp, src/osg/Transform.cpp, src/osg/Uniform.cpp, - src/osg/UserDataContainer.cpp, src/osg/Version.cpp, - src/osg/VertexProgram.cpp, src/osg/View.cpp, - src/osg/Viewport.cpp, src/osg/dxtctool.cpp, - src/osgAnimation/Action.cpp, - src/osgAnimation/ActionAnimation.cpp, - src/osgAnimation/ActionBlendIn.cpp, - src/osgAnimation/ActionBlendOut.cpp, - src/osgAnimation/ActionCallback.cpp, - src/osgAnimation/ActionStripAnimation.cpp, - src/osgAnimation/ActionVisitor.cpp, - src/osgAnimation/Animation.cpp, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/BasicAnimationManager.cpp, - src/osgAnimation/Bone.cpp, src/osgAnimation/BoneMapVisitor.cpp, - src/osgAnimation/Channel.cpp, src/osgAnimation/LinkVisitor.cpp, - src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/RigGeometry.cpp, - src/osgAnimation/RigTransformHardware.cpp, - src/osgAnimation/RigTransformSoftware.cpp, - src/osgAnimation/Skeleton.cpp, - src/osgAnimation/StackedMatrixElement.cpp, - src/osgAnimation/StackedQuaternionElement.cpp, - src/osgAnimation/StackedRotateAxisElement.cpp, - src/osgAnimation/StackedScaleElement.cpp, - src/osgAnimation/StackedTransform.cpp, - src/osgAnimation/StackedTranslateElement.cpp, - src/osgAnimation/StatsHandler.cpp, - src/osgAnimation/StatsVisitor.cpp, src/osgAnimation/Target.cpp, - src/osgAnimation/Timeline.cpp, - src/osgAnimation/TimelineAnimationManager.cpp, - src/osgAnimation/UpdateBone.cpp, - src/osgAnimation/UpdateMaterial.cpp, - src/osgAnimation/UpdateMatrixTransform.cpp, - src/osgAnimation/VertexInfluence.cpp, src/osgDB/Archive.cpp, - src/osgDB/AuthenticationMap.cpp, src/osgDB/Callbacks.cpp, - src/osgDB/Compressors.cpp, src/osgDB/ConvertUTF.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/DatabaseRevisions.cpp, - src/osgDB/DotOsgWrapper.cpp, src/osgDB/ExternalFileWriter.cpp, - src/osgDB/Field.cpp, src/osgDB/FieldReader.cpp, - src/osgDB/FieldReaderIterator.cpp, src/osgDB/FileCache.cpp, - src/osgDB/FileNameUtils.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/ImageOptions.cpp, src/osgDB/ImagePager.cpp, - src/osgDB/Input.cpp, src/osgDB/InputStream.cpp, - src/osgDB/MimeTypes.cpp, src/osgDB/ObjectWrapper.cpp, - src/osgDB/Options.cpp, src/osgDB/Output.cpp, - src/osgDB/OutputStream.cpp, src/osgDB/PluginQuery.cpp, - src/osgDB/ReadFile.cpp, src/osgDB/ReaderWriter.cpp, - src/osgDB/Registry.cpp, src/osgDB/SharedStateManager.cpp, - src/osgDB/Version.cpp, src/osgDB/WriteFile.cpp, - src/osgDB/XmlParser.cpp, src/osgDB/fstream.cpp, - src/osgFX/AnisotropicLighting.cpp, src/osgFX/BumpMapping.cpp, - src/osgFX/Cartoon.cpp, src/osgFX/MultiTextureControl.cpp, - src/osgFX/Registry.cpp, src/osgFX/SpecularHighlights.cpp, - src/osgFX/Technique.cpp, src/osgFX/Version.cpp, - src/osgGA/AnimationPathManipulator.cpp, - src/osgGA/CameraViewSwitchManipulator.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGA/EventQueue.cpp, - src/osgGA/EventVisitor.cpp, src/osgGA/GUIEventAdapter.cpp, - src/osgGA/GUIEventHandler.cpp, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/OrbitManipulator.cpp, - src/osgGA/SphericalManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/StateSetManipulator.cpp, src/osgGA/UFOManipulator.cpp, - src/osgGA/Version.cpp, src/osgManipulator/AntiSquish.cpp, - src/osgManipulator/Dragger.cpp, src/osgManipulator/Projector.cpp, - src/osgManipulator/RotateCylinderDragger.cpp, - src/osgManipulator/RotateSphereDragger.cpp, - src/osgManipulator/Scale1DDragger.cpp, - src/osgManipulator/Scale2DDragger.cpp, - src/osgManipulator/ScaleAxisDragger.cpp, - src/osgManipulator/TabBoxDragger.cpp, - src/osgManipulator/TabBoxTrackballDragger.cpp, - src/osgManipulator/TabPlaneDragger.cpp, - src/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgManipulator/TrackballDragger.cpp, - src/osgManipulator/Translate1DDragger.cpp, - src/osgManipulator/Translate2DDragger.cpp, - src/osgManipulator/TranslateAxisDragger.cpp, - src/osgManipulator/TranslatePlaneDragger.cpp, - src/osgManipulator/Version.cpp, - src/osgParticle/BounceOperator.cpp, - src/osgParticle/ConnectedParticleSystem.cpp, - src/osgParticle/DomainOperator.cpp, src/osgParticle/Emitter.cpp, - src/osgParticle/ExplosionDebrisEffect.cpp, - src/osgParticle/ExplosionEffect.cpp, - src/osgParticle/FireEffect.cpp, - src/osgParticle/FluidFrictionOperator.cpp, - src/osgParticle/FluidProgram.cpp, - src/osgParticle/ModularEmitter.cpp, - src/osgParticle/ModularProgram.cpp, - src/osgParticle/MultiSegmentPlacer.cpp, - src/osgParticle/Particle.cpp, src/osgParticle/ParticleEffect.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgParticle/ParticleSystemUpdater.cpp, - src/osgParticle/PrecipitationEffect.cpp, - src/osgParticle/SinkOperator.cpp, - src/osgParticle/SmokeEffect.cpp, - src/osgParticle/SmokeTrailEffect.cpp, - src/osgParticle/Version.cpp, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.h, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.h, - src/osgPlugins/Inventor/PendulumCallback.h, - src/osgPlugins/Inventor/ShuttleCallback.h, - src/osgPlugins/OpenFlight/AncillaryRecords.cpp, - src/osgPlugins/OpenFlight/AttrData.cpp, - src/osgPlugins/OpenFlight/AttrData.h, - src/osgPlugins/OpenFlight/ControlRecords.cpp, - src/osgPlugins/OpenFlight/DataInputStream.cpp, - src/osgPlugins/OpenFlight/DataInputStream.h, - src/osgPlugins/OpenFlight/DataOutputStream.cpp, - src/osgPlugins/OpenFlight/DataOutputStream.h, - src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/ExportOptions.cpp, - src/osgPlugins/OpenFlight/ExportOptions.h, - src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/FltWriteResult.h, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/LightPointRecords.cpp, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.cpp, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.h, - src/osgPlugins/OpenFlight/MaterialPaletteManager.cpp, - src/osgPlugins/OpenFlight/MaterialPaletteManager.h, - src/osgPlugins/OpenFlight/Opcodes.h, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/Pools.cpp, - src/osgPlugins/OpenFlight/Pools.h, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/Record.cpp, - src/osgPlugins/OpenFlight/Record.h, - src/osgPlugins/OpenFlight/RecordInputStream.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.h, - src/osgPlugins/OpenFlight/Registry.cpp, - src/osgPlugins/OpenFlight/Registry.h, - src/osgPlugins/OpenFlight/ReservedRecords.cpp, - src/osgPlugins/OpenFlight/RoadRecords.cpp, - src/osgPlugins/OpenFlight/TexturePaletteManager.cpp, - src/osgPlugins/OpenFlight/TexturePaletteManager.h, - src/osgPlugins/OpenFlight/Types.h, - src/osgPlugins/OpenFlight/Utils.h, - src/osgPlugins/OpenFlight/Vertex.cpp, - src/osgPlugins/OpenFlight/Vertex.h, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.h, - src/osgPlugins/OpenFlight/VertexRecords.cpp, - src/osgPlugins/OpenFlight/expAncillaryRecords.cpp, - src/osgPlugins/OpenFlight/expControlRecords.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp, - src/osgPlugins/ac/Geode.cpp, src/osgPlugins/ac/ac3d.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/bsp/BITSET.cpp, src/osgPlugins/bsp/BITSET.h, - src/osgPlugins/bsp/Q3BSPLoad.cpp, src/osgPlugins/bsp/Q3BSPLoad.h, - src/osgPlugins/bsp/Q3BSPReader.cpp, - src/osgPlugins/bsp/Q3BSPReader.h, - src/osgPlugins/bsp/ReaderWriterBSP.cpp, - src/osgPlugins/bsp/ReaderWriterBSP.h, - src/osgPlugins/bsp/VBSPData.cpp, src/osgPlugins/bsp/VBSPData.h, - src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/bsp/VBSPReader.h, - src/osgPlugins/bvh/ReaderWriterBVH.cpp, - src/osgPlugins/cfg/Camera.cpp, src/osgPlugins/cfg/Camera.h, - src/osgPlugins/cfg/CameraConfig.cpp, - src/osgPlugins/cfg/CameraConfig.h, - src/osgPlugins/cfg/ConfigLexer.cpp, - src/osgPlugins/cfg/ConfigParser.cpp, - src/osgPlugins/cfg/ReaderWriterCFG.cpp, - src/osgPlugins/cfg/RenderSurface.cpp, - src/osgPlugins/cfg/RenderSurface.h, - src/osgPlugins/cfg/VisualChooser.cpp, - src/osgPlugins/cfg/VisualChooser.h, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWriter.cpp, - src/osgPlugins/dae/domSourceReader.cpp, - src/osgPlugins/dae/domSourceReader.h, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgPlugins/directshow/DirectShowTexture.cpp, - src/osgPlugins/directshow/ReaderWriterDirectShow.cpp, - src/osgPlugins/dot/BaseDotVisitor.cpp, - src/osgPlugins/dot/BaseDotVisitor.h, - src/osgPlugins/dot/ReaderWriterDOT.cpp, - src/osgPlugins/dot/SimpleDotVisitor.cpp, - src/osgPlugins/dot/SimpleDotVisitor.h, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp, - src/osgPlugins/dxf/DXFWriterNodeVisitor.h, - src/osgPlugins/dxf/ReaderWriterDXF.cpp, - src/osgPlugins/dxf/aci.cpp, src/osgPlugins/dxf/aci.h, - src/osgPlugins/dxf/codeValue.h, src/osgPlugins/dxf/dxfBlock.cpp, - src/osgPlugins/dxf/dxfBlock.h, src/osgPlugins/dxf/dxfDataTypes.h, - src/osgPlugins/dxf/dxfEntity.cpp, src/osgPlugins/dxf/dxfEntity.h, - src/osgPlugins/dxf/dxfFile.cpp, src/osgPlugins/dxf/dxfFile.h, - src/osgPlugins/dxf/dxfReader.cpp, src/osgPlugins/dxf/dxfReader.h, - src/osgPlugins/dxf/dxfSection.cpp, - src/osgPlugins/dxf/dxfSection.h, - src/osgPlugins/dxf/dxfSectionBase.h, - src/osgPlugins/dxf/dxfTable.cpp, src/osgPlugins/dxf/dxfTable.h, - src/osgPlugins/dxf/scene.cpp, src/osgPlugins/dxf/scene.h, - src/osgPlugins/exr/ReaderWriterEXR.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.h, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, - src/osgPlugins/ffmpeg/FFmpegAudioStream.cpp, - src/osgPlugins/ffmpeg/FFmpegClocks.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegParameters.cpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, - src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/DataSetLayer.h, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/geo/ClipRegion.cpp, - src/osgPlugins/geo/ClipRegion.h, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoActions.cpp, src/osgPlugins/geo/geoCore.h, - src/osgPlugins/geo/geoFormat.h, src/osgPlugins/geo/geoTypes.h, - src/osgPlugins/geo/geoUnits.h, src/osgPlugins/geo/geoVersion.h, - src/osgPlugins/geo/osgGeoAction.h, - src/osgPlugins/geo/osgGeoAnimation.h, - src/osgPlugins/geo/osgGeoNodes.h, - src/osgPlugins/geo/osgGeoStructs.h, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgPlugins/gta/ReaderWriterGTA.cpp, - src/osgPlugins/gz/ReaderWriterGZ.cpp, - src/osgPlugins/hdr/ReaderWriterHDR.cpp, - src/osgPlugins/hdr/hdrloader.cpp, - src/osgPlugins/hdr/hdrwriter.cpp, src/osgPlugins/hdr/hdrwriter.h, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp, - src/osgPlugins/ive/AnimationPathCallback.cpp, - src/osgPlugins/ive/AutoTransform.cpp, - src/osgPlugins/ive/BlinkSequence.cpp, - src/osgPlugins/ive/Camera.cpp, src/osgPlugins/ive/CameraView.cpp, - src/osgPlugins/ive/ClipPlane.cpp, - src/osgPlugins/ive/ClusterCullingCallback.cpp, - src/osgPlugins/ive/CompositeLayer.cpp, - src/osgPlugins/ive/ConvexPlanarPolygon.h, - src/osgPlugins/ive/DOFTransform.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/DataTypeSize.h, - src/osgPlugins/ive/DrawArrayLengths.cpp, - src/osgPlugins/ive/DrawElementsUInt.cpp, - src/osgPlugins/ive/DrawElementsUShort.cpp, - src/osgPlugins/ive/Drawable.cpp, src/osgPlugins/ive/Effect.cpp, - src/osgPlugins/ive/EllipsoidModel.cpp, - src/osgPlugins/ive/Exception.h, src/osgPlugins/ive/FadeText.cpp, - src/osgPlugins/ive/Fog.cpp, src/osgPlugins/ive/Geode.cpp, - src/osgPlugins/ive/Geometry.cpp, src/osgPlugins/ive/Group.cpp, - src/osgPlugins/ive/HeightFieldLayer.cpp, - src/osgPlugins/ive/HeightFieldLayer.h, - src/osgPlugins/ive/Image.cpp, src/osgPlugins/ive/ImageLayer.cpp, - src/osgPlugins/ive/ImageLayer.h, - src/osgPlugins/ive/ImageSequence.cpp, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Layer.cpp, - src/osgPlugins/ive/Layer.h, src/osgPlugins/ive/LightPoint.cpp, - src/osgPlugins/ive/LightPointNode.cpp, - src/osgPlugins/ive/Locator.cpp, src/osgPlugins/ive/Locator.h, - src/osgPlugins/ive/Material.cpp, - src/osgPlugins/ive/Multisample.cpp, src/osgPlugins/ive/Node.cpp, - src/osgPlugins/ive/Object.cpp, src/osgPlugins/ive/PagedLOD.cpp, - src/osgPlugins/ive/PositionAttitudeTransform.cpp, - src/osgPlugins/ive/PrimitiveSet.cpp, - src/osgPlugins/ive/Program.cpp, src/osgPlugins/ive/ProxyNode.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/ive/Sequence.cpp, src/osgPlugins/ive/Shader.cpp, - src/osgPlugins/ive/Shape.cpp, - src/osgPlugins/ive/ShapeAttributeList.cpp, - src/osgPlugins/ive/ShapeAttributeList.h, - src/osgPlugins/ive/ShapeDrawable.cpp, - src/osgPlugins/ive/StateSet.cpp, src/osgPlugins/ive/Stencil.cpp, - src/osgPlugins/ive/StencilTwoSided.cpp, - src/osgPlugins/ive/SwitchLayer.cpp, - src/osgPlugins/ive/Terrain.cpp, src/osgPlugins/ive/Terrain.h, - src/osgPlugins/ive/TerrainTile.cpp, - src/osgPlugins/ive/TerrainTile.h, - src/osgPlugins/ive/TexEnvCombine.cpp, - src/osgPlugins/ive/TexGen.cpp, src/osgPlugins/ive/TexMat.cpp, - src/osgPlugins/ive/Text.cpp, src/osgPlugins/ive/Text3D.cpp, - src/osgPlugins/ive/Texture.cpp, src/osgPlugins/ive/Texture1D.cpp, - src/osgPlugins/ive/Texture2D.cpp, - src/osgPlugins/ive/Texture2DArray.h, - src/osgPlugins/ive/Texture3D.cpp, - src/osgPlugins/ive/TextureCubeMap.cpp, - src/osgPlugins/ive/TextureCubeMap.h, - src/osgPlugins/ive/TextureRectangle.cpp, - src/osgPlugins/ive/Uniform.cpp, src/osgPlugins/ive/Volume.cpp, - src/osgPlugins/ive/Volume.h, - src/osgPlugins/ive/VolumeCompositeLayer.cpp, - src/osgPlugins/ive/VolumeCompositeProperty.cpp, - src/osgPlugins/ive/VolumeCompositeProperty.h, - src/osgPlugins/ive/VolumeImageLayer.cpp, - src/osgPlugins/ive/VolumeImageLayer.h, - src/osgPlugins/ive/VolumeLayer.cpp, - src/osgPlugins/ive/VolumeLayer.h, - src/osgPlugins/ive/VolumeLocator.cpp, - src/osgPlugins/ive/VolumeLocator.h, - src/osgPlugins/ive/VolumeProperty.h, - src/osgPlugins/ive/VolumeScalarProperty.cpp, - src/osgPlugins/ive/VolumeScalarProperty.h, - src/osgPlugins/ive/VolumeSwitchProperty.cpp, - src/osgPlugins/ive/VolumeSwitchProperty.h, - src/osgPlugins/ive/VolumeTile.cpp, - src/osgPlugins/ive/VolumeTile.h, - src/osgPlugins/ive/VolumeTransferFunctionProperty.cpp, - src/osgPlugins/ive/VolumeTransferFunctionProperty.h, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/Block.cpp, src/osgPlugins/lwo/Block.h, - src/osgPlugins/lwo/Converter.cpp, src/osgPlugins/lwo/Converter.h, - src/osgPlugins/lwo/Layer.h, src/osgPlugins/lwo/Object.cpp, - src/osgPlugins/lwo/Object.h, src/osgPlugins/lwo/Polygon.h, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/Surface.cpp, - src/osgPlugins/lwo/Tessellator.cpp, src/osgPlugins/lwo/Unit.cpp, - src/osgPlugins/lwo/iffparser.h, src/osgPlugins/lwo/lwo2chunks.h, - src/osgPlugins/lwo/lwo2parser.h, src/osgPlugins/lwo/lwo2read.h, - src/osgPlugins/lwo/lwo2types.h, src/osgPlugins/lwo/old_Lwo2.cpp, - src/osgPlugins/lwo/old_Lwo2.h, - src/osgPlugins/lwo/old_Lwo2Layer.cpp, - src/osgPlugins/lwo/old_Lwo2Layer.h, - src/osgPlugins/lwo/old_lw.cpp, src/osgPlugins/lwo/old_lw.h, - src/osgPlugins/lws/ReaderWriterLWS.cpp, - src/osgPlugins/lws/SceneLoader.cpp, - src/osgPlugins/lws/SceneLoader.h, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/md2/anorms.h, src/osgPlugins/mdl/MDLReader.cpp, - src/osgPlugins/mdl/ReaderWriterMDL.cpp, - src/osgPlugins/mdl/ReaderWriterMDL.h, - src/osgPlugins/mdl/VTXReader.cpp, - src/osgPlugins/mdl/VVDReader.cpp, - src/osgPlugins/normals/Normals.cpp, - src/osgPlugins/normals/Normals.h, - src/osgPlugins/normals/ReaderWriterNormals.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.h, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp, src/osgPlugins/obj/obj.h, - src/osgPlugins/ogr/ReaderWriterOGR.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgPlugins/osg/XmlStreamOperator.h, - src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/OSGA_Archive.h, - src/osgPlugins/osga/ReaderWriterOSGA.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPlugins/pdf/ReaderWriterPDF.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/ply/ReaderWriterPLY.cpp, src/osgPlugins/ply/ply.h, - src/osgPlugins/ply/plyfile.cpp, src/osgPlugins/ply/typedefs.h, - src/osgPlugins/ply/vertexData.cpp, - src/osgPlugins/ply/vertexData.h, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/pvr/ReaderWriterPVR.cpp, - src/osgPlugins/qfont/ReaderQFont.cpp, - src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QTImportExport.cpp, - src/osgPlugins/quicktime/QTImportExport.h, - src/osgPlugins/quicktime/QTLiveUtils.cpp, - src/osgPlugins/quicktime/QTLiveUtils.h, - src/osgPlugins/quicktime/QTUtils.h, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.h, - src/osgPlugins/quicktime/QuicktimeLiveImageStream.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/rot/ReaderWriterROT.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgPlugins/shadow/ReaderWriterOsgShadow.cpp, - src/osgPlugins/shp/ESRIShape.cpp, src/osgPlugins/shp/ESRIShape.h, - src/osgPlugins/shp/ESRIShapeParser.cpp, - src/osgPlugins/shp/ESRIShapeParser.h, - src/osgPlugins/shp/ESRIShapeReaderWriter.cpp, - src/osgPlugins/shp/XBaseParser.cpp, - src/osgPlugins/shp/XBaseParser.h, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/svg/ReaderWriterSVG.cpp, - src/osgPlugins/terrain/ReaderWriterOsgTerrain.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp, - src/osgPlugins/txf/ReaderWriterTXF.cpp, - src/osgPlugins/txf/TXFFont.cpp, src/osgPlugins/txf/TXFFont.h, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPArchive.h, src/osgPlugins/txp/TXPIO.cpp, - src/osgPlugins/txp/TXPNode.cpp, src/osgPlugins/txp/TXPNode.h, - src/osgPlugins/txp/TXPPageManager.cpp, - src/osgPlugins/txp/TXPPageManager.h, - src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgPlugins/txp/TXPPagedLOD.h, - src/osgPlugins/txp/TXPParser.cpp, - src/osgPlugins/txp/TXPSeamLOD.cpp, - src/osgPlugins/txp/TXPSeamLOD.h, - src/osgPlugins/txp/TileMapper.cpp, - src/osgPlugins/txp/TileMapper.h, - src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_io.h, - src/osgPlugins/txp/trpage_label.cpp, - src/osgPlugins/txp/trpage_light.cpp, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_managers.h, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_nodes.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_pparse.cpp, - src/osgPlugins/txp/trpage_range.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_swap.cpp, - src/osgPlugins/txp/trpage_tile.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h, - src/osgPlugins/txp/trpage_writebuf.cpp, - src/osgPlugins/view/ReaderWriterOsgViewer.cpp, - src/osgPlugins/vnc/ReaderWriterVNC.cpp, - src/osgPlugins/vrml/ConvertToVRML.cpp, - src/osgPlugins/vrml/ConvertToVRML.h, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h, - src/osgPlugins/vtf/ReaderWriterVTF.cpp, - src/osgPlugins/x/ReaderWriterDirectX.cpp, - src/osgPlugins/x/mesh.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp, - src/osgPlugins/zip/ZipArchive.cpp, src/osgPlugins/zip/unzip.cpp, - src/osgPlugins/zip/unzip.h, - src/osgPresentation/AnimationMaterial.cpp, - src/osgPresentation/CompileSlideCallback.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgQt/GraphicsWindowQt.cpp, - src/osgQt/QFontImplementation.cpp, - src/osgQt/QGraphicsViewAdapter.cpp, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/OccluderGeometry.cpp, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/ShadowMap.cpp, src/osgShadow/ShadowTechnique.cpp, - src/osgShadow/ShadowTexture.cpp, src/osgShadow/ShadowVolume.cpp, - src/osgShadow/ShadowedScene.cpp, - src/osgShadow/StandardShadowMap.cpp, src/osgShadow/Version.cpp, - src/osgShadow/ViewDependentShadowMap.cpp, - src/osgShadow/ViewDependentShadowTechnique.cpp, - src/osgSim/BlinkSequence.cpp, src/osgSim/DOFTransform.cpp, - src/osgSim/ElevationSlice.cpp, src/osgSim/HeightAboveTerrain.cpp, - src/osgSim/Impostor.cpp, src/osgSim/ImpostorSprite.cpp, - src/osgSim/InsertImpostorsVisitor.cpp, src/osgSim/LightPoint.cpp, - src/osgSim/LightPointDrawable.cpp, src/osgSim/LightPointNode.cpp, - src/osgSim/LightPointSpriteDrawable.cpp, - src/osgSim/LineOfSight.cpp, src/osgSim/MultiSwitch.cpp, - src/osgSim/OverlayNode.cpp, src/osgSim/ScalarBar.cpp, - src/osgSim/Sector.cpp, src/osgSim/ShapeAttribute.cpp, - src/osgSim/SphereSegment.cpp, src/osgSim/Version.cpp, - src/osgSim/VisibilityGroup.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp, - src/osgTerrain/Locator.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp, src/osgTerrain/Version.cpp, - src/osgText/DefaultFont.cpp, src/osgText/FadeText.cpp, - src/osgText/Font.cpp, src/osgText/Glyph.cpp, - src/osgText/GlyphGeometry.cpp, src/osgText/String.cpp, - src/osgText/Text.cpp, src/osgText/Text3D.cpp, - src/osgText/TextBase.cpp, src/osgText/Version.cpp, - src/osgUtil/CubeMapGenerator.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/DelaunayTriangulator.cpp, - src/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgUtil/DrawElementTypeSimplifier.cpp, - src/osgUtil/EdgeCollector.cpp, src/osgUtil/GLObjectsVisitor.cpp, - src/osgUtil/HalfWayMapGenerator.cpp, - src/osgUtil/HighlightMapGenerator.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/IntersectionVisitor.cpp, - src/osgUtil/MeshOptimizers.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/PerlinNoise.cpp, - src/osgUtil/PositionalStateContainer.cpp, - src/osgUtil/PrintVisitor.cpp, src/osgUtil/RenderBin.cpp, - src/osgUtil/RenderLeaf.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/ReversePrimitiveFunctor.cpp, - src/osgUtil/SceneGraphBuilder.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/ShaderGen.cpp, src/osgUtil/Simplifier.cpp, - src/osgUtil/SmoothingVisitor.cpp, src/osgUtil/StateGraph.cpp, - src/osgUtil/TangentSpaceGenerator.cpp, - src/osgUtil/Tessellator.cpp, - src/osgUtil/TransformAttributeFunctor.cpp, - src/osgUtil/TransformCallback.cpp, - src/osgUtil/TriStripVisitor.cpp, src/osgUtil/UpdateVisitor.cpp, - src/osgUtil/Version.cpp, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/HelpHandler.cpp, - src/osgViewer/PixelBufferCarbon.cpp, - src/osgViewer/PixelBufferWin32.cpp, - src/osgViewer/PixelBufferX11.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/Scene.cpp, src/osgViewer/StatsHandler.cpp, - src/osgViewer/Version.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerEventHandlers.cpp, - src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/Locator.cpp, src/osgVolume/Property.cpp, - src/osgVolume/RayTracedTechnique.cpp, src/osgVolume/Version.cpp, - src/osgVolume/Volume.cpp, src/osgVolume/VolumeTechnique.cpp, - src/osgVolume/VolumeTile.cpp, src/osgWidget/Box.cpp, - src/osgWidget/Browser.cpp, src/osgWidget/Canvas.cpp, - src/osgWidget/Frame.cpp, src/osgWidget/Input.cpp, - src/osgWidget/Lua.cpp, src/osgWidget/PdfReader.cpp, - src/osgWidget/StyleManager.cpp, src/osgWidget/Table.cpp, - src/osgWidget/Util.cpp, src/osgWidget/ViewerEventHandlers.cpp, - src/osgWidget/VncClient.cpp, src/osgWidget/Widget.cpp, - src/osgWidget/Window.cpp, src/osgWidget/WindowManager.cpp, - src/osgWrappers/deprecated-dotosg/osg/AnimationPath.cpp, - src/osgWrappers/deprecated-dotosg/osg/AutoTransform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Billboard.cpp, - src/osgWrappers/deprecated-dotosg/osg/Camera.cpp, - src/osgWrappers/deprecated-dotosg/osg/CameraView.cpp, - src/osgWrappers/deprecated-dotosg/osg/Capsule.cpp, - src/osgWrappers/deprecated-dotosg/osg/ClearNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/ClusterCullingCallback.cpp, - src/osgWrappers/deprecated-dotosg/osg/CompositeShape.cpp, - src/osgWrappers/deprecated-dotosg/osg/Cone.cpp, - src/osgWrappers/deprecated-dotosg/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/deprecated-dotosg/osg/CoordinateSystemNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/Cylinder.cpp, - src/osgWrappers/deprecated-dotosg/osg/Depth.cpp, - src/osgWrappers/deprecated-dotosg/osg/Drawable.cpp, - src/osgWrappers/deprecated-dotosg/osg/FragmentProgram.cpp, - src/osgWrappers/deprecated-dotosg/osg/Geode.cpp, - src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp, - src/osgWrappers/deprecated-dotosg/osg/HeightField.cpp, - src/osgWrappers/deprecated-dotosg/osg/Image.cpp, - src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp, - src/osgWrappers/deprecated-dotosg/osg/LOD.cpp, - src/osgWrappers/deprecated-dotosg/osg/Light.cpp, - src/osgWrappers/deprecated-dotosg/osg/LightModel.cpp, - src/osgWrappers/deprecated-dotosg/osg/LightSource.cpp, - src/osgWrappers/deprecated-dotosg/osg/LineStipple.cpp, - src/osgWrappers/deprecated-dotosg/osg/Material.cpp, - src/osgWrappers/deprecated-dotosg/osg/Matrix.cpp, - src/osgWrappers/deprecated-dotosg/osg/MatrixTransform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Node.cpp, - src/osgWrappers/deprecated-dotosg/osg/Object.cpp, - src/osgWrappers/deprecated-dotosg/osg/OccluderNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/OcclusionQueryNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/PagedLOD.cpp, - src/osgWrappers/deprecated-dotosg/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Program.cpp, - src/osgWrappers/deprecated-dotosg/osg/Projection.cpp, - src/osgWrappers/deprecated-dotosg/osg/ProxyNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/Sequence.cpp, - src/osgWrappers/deprecated-dotosg/osg/Shader.cpp, - src/osgWrappers/deprecated-dotosg/osg/ShapeDrawable.cpp, - src/osgWrappers/deprecated-dotosg/osg/Sphere.cpp, - src/osgWrappers/deprecated-dotosg/osg/StateAttribute.cpp, - src/osgWrappers/deprecated-dotosg/osg/StateSet.cpp, - src/osgWrappers/deprecated-dotosg/osg/Stencil.cpp, - src/osgWrappers/deprecated-dotosg/osg/Switch.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexEnv.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexEnvCombine.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexEnvFilter.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexGen.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexGenNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexMat.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture1D.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture2D.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture3D.cpp, - src/osgWrappers/deprecated-dotosg/osg/TextureCubeMap.cpp, - src/osgWrappers/deprecated-dotosg/osg/TextureRectangle.cpp, - src/osgWrappers/deprecated-dotosg/osg/TransferFunction.cpp, - src/osgWrappers/deprecated-dotosg/osg/Uniform.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/Matrix.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/ReaderWriter.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/StackedTransform.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/UpdateMaterial.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/UpdateMatrixTransform.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_AnisotropicLighting.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_BumpMapping.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_Cartoon.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_MultiTextureControl.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_Scribe.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_SpecularHighlights.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_AngularDampingOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_BounceOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_BoxPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ConstantRateCounter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_DampingOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_DomainOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_Emitter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ExplosionOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_FluidFrictionOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_FluidProgram.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ModularEmitter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_MultiSegmentPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_OrbitOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_Particle.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleEffect.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleProcessor.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleSystem.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleSystemUpdater.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_RadialShooter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_SectorPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_SinkOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_VariableRateCounter.cpp, - src/osgWrappers/deprecated-dotosg/osgShadow/ShadowedScene.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_DOFTransform.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_MultiSwitch.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_Sector.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_ShapeAttribute.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/CompositeLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/HeightFieldLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/ImageLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Layer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Locator.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/SwitchLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/TerrainTile.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_Text.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_Text3D.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_TextBase.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/CompositeViewer.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/View.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/CompositeProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/ImageLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/ScalarProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/SwitchProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Volume.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/VolumeTile.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Box.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/EmbeddedWindow.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Frame.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Input.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Label.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Table.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Widget.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/WindowManager.cpp, - src/osgWrappers/serializers/osg/AlphaFunc.cpp, - src/osgWrappers/serializers/osg/AnimationPath.cpp, - src/osgWrappers/serializers/osg/AutoTransform.cpp, - src/osgWrappers/serializers/osg/Billboard.cpp, - src/osgWrappers/serializers/osg/BlendEquation.cpp, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/CameraView.cpp, - src/osgWrappers/serializers/osg/ClipNode.cpp, - src/osgWrappers/serializers/osg/Depth.cpp, - src/osgWrappers/serializers/osg/Fog.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/HeightField.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/ImageStream.cpp, - src/osgWrappers/serializers/osg/LOD.cpp, - src/osgWrappers/serializers/osg/LightModel.cpp, - src/osgWrappers/serializers/osg/LightSource.cpp, - src/osgWrappers/serializers/osg/Material.cpp, - src/osgWrappers/serializers/osg/Multisample.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osg/PolygonMode.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp, - src/osgWrappers/serializers/osg/Sequence.cpp, - src/osgWrappers/serializers/osg/Shader.cpp, - src/osgWrappers/serializers/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/Stencil.cpp, - src/osgWrappers/serializers/osg/TessellationHints.cpp, - src/osgWrappers/serializers/osg/TexEnv.cpp, - src/osgWrappers/serializers/osg/TexGen.cpp, - src/osgWrappers/serializers/osg/TexGenNode.cpp, - src/osgWrappers/serializers/osg/Texture.cpp, - src/osgWrappers/serializers/osg/TextureCubeMap.cpp, - src/osgWrappers/serializers/osg/Uniform.cpp, - src/osgWrappers/serializers/osg/ValueObject.cpp, - src/osgWrappers/serializers/osgAnimation/Animation.cpp, - src/osgWrappers/serializers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/serializers/osgManipulator/Dragger.cpp, - src/osgWrappers/serializers/osgParticle/DomainOperator.cpp, - src/osgWrappers/serializers/osgParticle/Particle.cpp, - src/osgWrappers/serializers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/serializers/osgParticle/SinkOperator.cpp, - src/osgWrappers/serializers/osgShadow/MinimalShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/serializers/osgShadow/StandardShadowMap.cpp, - src/osgWrappers/serializers/osgSim/DOFTransform.cpp, - src/osgWrappers/serializers/osgSim/LightPointNode.cpp, - src/osgWrappers/serializers/osgSim/MultiSwitch.cpp, - src/osgWrappers/serializers/osgSim/OverlayNode.cpp, - src/osgWrappers/serializers/osgSim/ScalarBar.cpp, - src/osgWrappers/serializers/osgTerrain/ImageLayer.cpp, - src/osgWrappers/serializers/osgTerrain/Layer.cpp, - src/osgWrappers/serializers/osgTerrain/Locator.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp, - src/osgWrappers/serializers/osgText/Text.cpp, - src/osgWrappers/serializers/osgText/TextBase.cpp, - src/osgWrappers/serializers/osgVolume/ScalarProperty.cpp, - src/osgWrappers/serializers/osgVolume/VolumeTile.cpp: Ran script - to remove trailing spaces and tabs - -2012-03-21 16:02 robert - - * include/osg/GL: For all OSG_GL*_FEATURE #defines changed 1's to - true and 0's to false. - -2012-03-21 14:08 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From David Callu, "just a - typo fix that break the compilation under windows" - -2012-03-21 11:36 robert - - * include/osg/GraphicsContext, src/osg/GraphicsContext.cpp, - src/osgViewer/GraphicsWindowWin32.cpp: Added - Traits::getContextVersion(uint,uint) - -2012-03-21 11:26 robert - - * CMakeLists.txt, include/osg/Version: Updated version number - -2012-03-20 12:01 robert - - * src/osgViewer/PixelBufferCocoa.mm: Removed inappropriate warning - -2012-03-20 11:18 robert - - * src/osgPlugins/dxf/dxfEntity.cpp: Replaced && with & to address - error in handling bitmask - -2012-03-19 09:49 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/StencilTwoSided.cpp, - src/osgPlugins/ive/StencilTwoSided.h: From Lukasz Izdebski, Added - StencilTwoSided support to ive plugin - -2012-03-16 13:22 robert - - * src/osgPlugins/ive/LOD.cpp: Fixed the order of setting of - CenterMode - -2012-03-14 16:42 robert - - * src/osgShadow/ViewDependentShadowMap.cpp: From Wang Rui, "I'd - like to submit a slightly modified version of the - ViewDependentShadowMap. It includes two fixes: one is in - ComputeLightSpaceBounds::update(), which changes the statement - "if (v.z()<0.0f)" to "if (v.z()<-1.0f)" as clipping space - coordinates should be transformed to [-1, 1] and should not be - discarded unless they go beyond the range; the other is in - ViewDependentShadowMap::computeShadowCameraSettings(), in which I - changed the line: - viewMatrix.makeLookAt(frustum.center+positionedLight.lightDir*zMin, - frustum.center, lightUp); - to - viewMatrix.makeLookAt(frustum.center+positionedLight.lightDir*zMin, - frustum.center+positionedLight.lightDir*zMax, lightUp); - - The reason I've done such a change is that for huge scenes like a - city on the earth, the values of frustum.center can be extremely - large, but zMin may be very small (e.g., when model depth in - light coords equals the model radius by chance) in some cases so - the result of (eye - center) might jiggle while moving around the - shadow scene and thus make the shadow map suddenly disappear some - time. The small change here also considers the effect of zMax to - avoid such problems. - - " - -2012-03-12 14:22 robert - - * src/osgViewer/Scene.cpp: Moved static initializers into global - scope to prevent problems with using exit(). - -2012-03-11 22:05 cedricpinson - - * include/osgAnimation/StackedMatrixElement, - include/osgAnimation/StackedQuaternionElement, - include/osgAnimation/StackedRotateAxisElement, - include/osgAnimation/StackedScaleElement, - include/osgAnimation/StackedTransform, - include/osgAnimation/StackedTransformElement, - include/osgAnimation/StackedTranslateElement, - src/osgAnimation/StackedMatrixElement.cpp, - src/osgAnimation/StackedQuaternionElement.cpp, - src/osgAnimation/StackedRotateAxisElement.cpp, - src/osgAnimation/StackedScaleElement.cpp, - src/osgAnimation/StackedTransform.cpp, - src/osgAnimation/StackedTranslateElement.cpp: Changed - osgAnimation::StackedTransform::update(t). It can now be used for - custom usage - -2012-03-09 13:16 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - 3.1.1 dev release - -2012-03-09 10:20 robert - - * ChangeLog, include/osgManipulator/Projector, - include/osgManipulator/RotateCylinderDragger, - src/osgManipulator/Projector.cpp, - src/osgManipulator/RotateCylinderDragger.cpp: From Chuck - Seberino, "Attached are modified versions of - RotateCylinderDragger and Projector files that clean up the use - of _onCylinder / isProjectionOnCylinder(). - - I have also made changes to the RotateCylinderDragger to provide - a cylinder ring with a thickness. It is totally optional, but - IMHO makes the default behavior work better than a solid cylinder - (which typically obscures the geometry you are trying to drag). - Gives it a bit more to grab, especially in the case where - eyepoint and cylinder axis are near parallel. - " - -2012-03-08 16:33 robert - - * CMakeLists.txt, ChangeLog, include/osg/Version: Updated version - number for 3.1.1 dev release - -2012-03-08 16:05 robert - - * include/osg/Image, src/osg/Image.cpp: From Farshid Lashkari, - "I've added support for reading contents of cubemap textures to - the osg::Image::readImageFromCurrentTexture method. I added a new - parameter to the method for specifying which face of the cubemap - to read." - -2012-03-07 09:32 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Olaf Flebbe, - "Appended now a bugfixed proposition for the Win7 Multitouch - Support. - - Now examples/osgmultitouch really works ;-) - - Based on yesterdays trunk. - - * It should now work with all Visual Studio Versions. - * WIN_VER is left as-is - * I added the missing declarations from a recent SDK, if not - supplied by the SDK - * If someone chooses to update WIN_VER, the declarations should - not break. - * All API Calls are runtime detected. - * No CMake Variable, Support is enabled automatically ." - -2012-03-06 10:35 robert - - * src/osgUtil/Optimizer.cpp: From Guillaume Millet, "Please find a - small fix to avoid crash of texture Atlas builder in case of - textures with NULL image. - - If an object is comming with texture and NULL image, the texture - atlas builder crash when sorting textures according to texture - height. - The fix is to skip textures with NULL image when inserting - textures in the builder texture list. - " - -2012-03-06 10:33 robert - - * src/osgParticle/PrecipitationEffect.cpp: From Farshild Laskari, - "The vertex shader for the point stateset of PrecipitationEffect - was not properly computing the clip vertex. It needed to apply a - modelview transformation to the clip vertex. Attached is the - fix." - -2012-03-06 10:29 robert - - * examples/CMakeLists.txt, examples/osgsimpleshaders, - examples/osgsimpleshaders/CMakeLists.txt, - examples/osgsimpleshaders/osgsimpleshaders.cpp: From Christian - Buchner, "The attached openscenegraph example is much simpler - than - osgshaders.cpp and demonstrates the use of GLSL vertex and - fragment - shaders with a simple animation callback. I found the - osgshaders.cpp - too complex to serve as a starting point for GLSL programming" - -2012-03-06 10:08 robert - - * include/osgManipulator/Projector, - src/osgManipulator/Projector.cpp: From Chuck Seberino, "Here is a - fix for the RotateCylinderDragger. This patch fixes the case - where the picking direction is close to the cylinder axis. The - current behavior is this: - - * If the eyepoint and cylinder axis are close to parallel (given - some tolerance), then it uses a plane perpendicular to the - cylinder axis. - * Otherwise it uses a plane parallel to the cylinder axis - oriented towards the eyepoint (previous behavior). This gives - decent behavior and is the only path that was taken in the - previous code. I kept with previous behavior and that allowed a - good bit of code to be removed, simplifying things. There is now - no need for the _onCylinder flag, but since there is a public - accessor, I wasn't sure how to handle it for backwards - compatibility, so I left it in. NOTE - there is no default - initialized value, so if it is kept in, it should be set to - 'false' to keep same behavior as before. I am not quite sure how - the _onCylinder case was supposed to behave as even forcing that - path gave undesirable behavior, even with carefully controlled - dragging. - " - -2012-03-06 10:06 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Added - RotateCylinderDragger and RotateSphereDragger to list of - manipulators for testing purposes - -2012-03-05 14:17 robert - - * examples/osgsimplegl3/osgsimplegl3.cpp: From Paul Martz, "Just a - minor update and typo fix. - " - -2012-03-01 11:33 robert - - * src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp, - src/osgPlugins/dxf/DXFWriterNodeVisitor.h: From Luc Frauciel, - "I've modified dxf writer : - - - correction to writeFace : the fourth point was defined with an - incorrect code - (http://www.autodesk.com/techpubs/autocad/acad2000/dxf/3dface_dxf_06.htm) - - if no layer name was found, an empty string was used, with is - incorrect according to dxf specifications and was rejected by - Autodesk DWG TrueView - - the plugin was writting polygons and triangles as LINE, as if - PolygonMode GL_LINE was active, and didn't use 3DFACE primitive. - I changed this behaviour to write 3DFACE as default, and LINE - when PolygonMode GL_LINE is active. - when reading back the file with osg, the result is now consistent - with the source - - Tested with osg plugin, FME (Safe software), Autodesk DWG - TrueView - " - -2012-03-01 11:03 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Luc Frauciel, "In - 3ds plugin, asGeometry() is used on a drawable but the resulting - pointer is not tested for nullity. - It leads to a crash when writing osgText::Text or Shapes" - -2012-03-01 10:38 robert - - * include/osg/Program: From David Callu, "I found a bug in - osg::Program. - - in osg::Program::PerContextProgram : - - typedef std::vector - LastAppliedUniformList; - should be - typedef std::map - LastAppliedUniformList; - - Intel driver can use index uniform value > 200000. - With a std::vector, this index uniform value generate an out of - memory error - - Nothing in OpenGL or GLSL specification define index uniform - value rules. - And all other implementation that deal with uniform index in - osg::Program - use a std::map. - This fix could have a little performance impact but this is the - cost - to pay to work with - all driver." - -2012-03-01 10:14 robert - - * include/osg/Program: Removed redudent spaces at ends of lines - -2012-02-29 14:01 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated ChangeLog and AUTHORS for dev release - -2012-02-29 10:22 robert - - * include/osgDB/InputStream, include/osgDB/StreamOperator, - src/osgDB/InputStream.cpp, src/osgDB/StreamOperator.cpp, - src/osgPlugins/osg/BinaryStreamOperator.h: Improved the handling - of endian swap of osg::Array - -2012-02-29 10:22 robert - - * src/osgPlugins/zip/ZipArchive.cpp, - src/osgPlugins/zip/ZipArchive.h: From Glenn Waldron, "Attached - are modifications to ZipArchive to make it safe for - mutli-threaded access. - Here's a summary: - - * Uses a separate ZIP file handle per thread - * Maintains a single shared (read-only) index, created the first - time through - * Stress-tested with the DatabasePager using 24 threads under - osgEarth - - I also updated the member variables to use OSG's - leading-underscore convention." - -2012-02-28 12:03 robert - - * src/osgUtil/Optimizer.cpp: From Guillaume Millet, "When using the - texture Atlas builder, it will convert from REPEAT to - CLAMP all textures using only texcoord between [-0.001 1.001] to - give a - chance to create an Atlas. - If the atlas creation failed for other reason (texture size, only - one - compatible texture, ...) the texture remain modified in CLAMP - mode. - - But if you use texcoords between [0.0 1.0] using CLAMP mode - instead - REPEAT it is not safe because you will have a blend to the border - color - at extremities. - If we want to have exactly the same rendering after changing mode - from - REPEAT to CLAMP we should use the CLAMP_TO_EDGE mode instead of - CLAMP to - avoid blending to border color at extremities. - - Please find as attachment the proposed patch against latest svn - version. - " - -2012-02-28 11:37 robert - - * include/osg/Matrixd, include/osg/Matrixf, - src/osg/Matrix_implementation.cpp, - src/osgShadow/ViewDependentShadowMap.cpp: Added build problem - with using float Matrix. - -2012-02-28 10:21 robert - - * src/osgViewer/GraphicsWindowIOS.mm: From Thomas Hogarth, build - fix for IOS build - -2012-02-27 09:50 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Added - fin.imbue(std::locale::classic()); to avoid problems with parsing - of .obj files - -2012-02-24 21:07 robert - - * include/osgDB/InputStream, include/osgDB/StreamOperator, - src/osgDB/InputStream.cpp, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG2.cpp: Added s/getByteSwap to - teh InputStreamOperator base class and use of this method in the - InputStream::start(InputStreamOperator*) method to ensure the - bytes are swapped consistently. - -2012-02-24 12:15 robert - - * src/osgText/Glyph.cpp: Added support for using glGenerateMipmap - instead of GL_GENERATE_MIPMAP_SGIS on GLES2 - -2012-02-24 11:43 robert - - * src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG2.cpp: Added support for - checking the possible endian reversal the OSG_HEADER_LOW and - OSG_HEADER_HIGH when reading binary files written out from - systems that have a different endian to the system reading it. - -2012-02-24 10:56 robert - - * examples/CMakeLists.txt: Cleaned up CMake warning - -2012-02-23 17:51 robert - - * src/osgText/Text.cpp: Moved the - - state.applyTextureMode(0,GL_TEXTURE_2D,osg::StateAttribute::ON); - - into the #if defined(OSG_GL_FIXED_FUNCTION_AVAILABLE) block to - solve problems under GLES and GL3.x/GL4.x - -2012-02-23 15:55 robert - - * src/osgDB/Registry.cpp: From Mathieu Marache, "I was trying to - play with the configuratiion files from the data but - couldn't load them with osgviewer's -c CLI switch, this - correction - should make the alias work :-) - " - -2012-02-22 10:50 robert - - * src/osgPlugins/fbx/fbxRAnimation.cpp: From Sergey Polischuk, "In - and Out control points were computed incorrectly for some - animation channels with cubic bezier interpolation" - -2012-02-22 10:46 robert - - * include/osgDB/InputStream, src/osgDB/InputStream.cpp: From Miha - Ravsel, "While trying to create my custom serializer class, i - created some dummy data which accidentally popped-up bug in - InputStream readObjectFields function. - - Bug description: - Let's say we have class A - namespace Bug - { - class A : public osg::Object - { - public: - //... - typedef std::vector > AList; - - protected: - AList _alist; - //... - } - } - - REGISTER_OBJECT_WRAPPER( A, - new Bug::A, - Bug::A, - "osg::Object Bug::A" ) - { - ADD_LIST_SERIALIZER(A,Bug::A::AList); - } - - - Bug: - We create say 3 instances of class A: A1,A2,A3 and then we add A2 - and A3 and A1 as child instances of A1 so we get next structure: - A1 - |- A2,A3,A1 - - we call osgDB::writeObjectFile(A1,"/data/a.osgt") -> saved - correctly( third element in list is saved as unique id that - references parentClass - - now we call - A1 = osgDB::readObjectFile("/data/a.osgt"); - - Everything is deserialized correctely except last element in list - which should be same instance as parent A1. - - The attached code resolves this issue by passing UniqueID in - readObjectFields method and saving object in _identifierMap as - soon as we have valid object instance so we can make reference to - parent object from any child instance. - " - -2012-02-21 17:20 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: From - Paul Martz, "The attached fixes a few issues that are present - when ref_ptr implicit casting is disabled." - -2012-02-21 11:30 robert - - * CMakeLists.txt, src/osgDB/CMakeLists.txt, - src/osgViewer/CMakeLists.txt: From Olaf Flebbe, "Macos X cleanup: - I added AFAIK proper defaults for several Macos X Version API - targets. - - * In order to determine which defaults to apply, consult the - CMAKE_OSX_SYSROOT variable pointing to the used SDK, not the pure - existence of an SDK. - - * Defaults are now: - 10.7: Support Intel 32 and 64 Bit Cocoa with imageio picture - reader - 10.6 + 10.5: Support Cocoa with imageio on Intel and PowerPC - 10.4: Carbon, Quicktime and PowerPC - - Now OSG compiles out of the box for MacOSX 10.7. , tested with - gcc and clang with FlightGear." - -2012-02-21 11:13 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Chris Denham, - "ReaderWriter3DS smoothing group handling corrections" - -2012-02-21 10:42 robert - - * src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp: Fixed warnings - -2012-02-21 10:38 robert - - * src/osg/Image.cpp, src/osg/Texture.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/TextureRectangle.cpp, src/osgText/Glyph.cpp: Fixed - erroneous use #if !defined(OSG_GLES1_FEATURES) && - !defined(OSG_GLES2_FEATURES) which should have been #if - !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) - -2012-02-20 16:00 robert - - * src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeReader.h: From Luc Frauciel, "When dae - plugin is used with daeUseSequencedTextureUnitsoption, the - transparency processing is done with the wrong texture unit - I've remplaced the unused parameter diffuseColorName by the - diffuseTextureUnit effectively used." - -2012-02-20 12:36 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: From Alexander - Sinditskiy, "Fix loading small monochrome bmp images" - -2012-02-20 12:33 robert - - * include/osgDB/DatabasePager: From Dietmar Funck, "in order to use - a customized database thread it's necessary to use a customized - database pager, which creates such customized database threads, - too. - I think the best way to achieve this is to overwrite the - DatabasePager::addDatabaseThread() method within the customized - database pager. However this method is not 'virtual' yet, so I - propose to make the method 'virtual'." - -2012-02-20 12:23 robert - - * src/osgDB/Registry.cpp: From Farshid Lashkari, "I've attached a - small optimization to - osgDB::Registry::removeExpiredObjectsInCache that removes the - expired items while iterating over the cache, instead of saving - to a temporary vector and then removing." - -2012-02-20 12:18 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: From - Riccardo Corsi, Added passing of EventVisitor pointer to event - handlers. - -2012-02-20 12:12 robert - - * src/osgPlugins/hdr/ReaderWriterHDR.cpp: From Riccardo Corsi, - "please find attached a small patch for HDR plugin, - which simply set by default the internal pixel format to - GL_RGB32F_ARB where appropriate. - - In the current version there's a comment saying that the plugin - set it to GL_RGB8 (even when reading from float) to support old - graphics cards, - but the comment dates back to 2004... - What's more I believe that it's correct to expect a floating - texture format if you're loading an hdr image. - It was quite troublesome for us to discover why our background - image wasn't showing hdr data... - - In case you accept the submission, I've removed the comment as it - would be misleading to leave it there." - -2012-02-20 12:03 robert - - * include/osg/Image, src/osg/Image.cpp, src/osg/Texture2D.cpp: From - Johannes Baeurele, "The osg::Image class now contains a - 'supportsTextureSubloading()' method that is used inside the - Texture2D::apply method. For now it only checks for the etc1 - format in which case it returns 'false'. All other formats lead - to a return value of 'true'. - - Without the change the application does not work properly. First - I get the notification that an OpenGL error occured. After some - more of this error messages I see broken textures on the screen. - With the changes attached to this message my application works as - intended." - - Note from Robert Osfield, changed the - Image::supportsTextureSubloading() to be const and to be - implemented in the .cpp rather than inline. - -2012-02-17 16:51 robert - - * examples/osg2cpp/osg2cpp.cpp: From Kim Bale, "The application - description for osg2cpp was cut and pasted from osgconv and not - changed. - - I've added a more relevant description." - -2012-02-17 16:45 robert - - * CMakeLists.txt, CMakeModules/FindGTA.cmake, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/gta, - src/osgPlugins/gta/CMakeLists.txt, - src/osgPlugins/gta/ReaderWriterGTA.cpp: From Martin Lambers, "It - adds a new ReaderWriter plugin for the GTA file format - (http://gta.nongnu.org). This allows to read and write floating - point - image data. Unlike other formats, GTA also allows very good - compression - ratios for floating point data. The compression method can be - selected - with the COMPRESSION option of the plugin. - " - -2012-02-17 16:13 robert - - * src/osgPlugins/CMakeLists.txt: Added usage of - OSG_CPP_EXCEPTIONS_AVAILABLE for plugins that use - std::exceptions. - -2012-02-10 17:24 robert - - * src/osgViewer/GraphicsWindowIOS.mm, src/osgViewer/IOSUtils.mm: - From Stephan Huber, " - Here's another small submission for IOS, which adds unique ids to - the - touchpoints, so the ids stay the same during a touch-sequence. - - (and some minor code enhancements)" - -2012-02-10 17:20 robert - - * src/osg/glu/libutil/mipmap.cpp: From Colin McDonald, "Upgrading - to OpenSceneGraph 3.0.1, texture mip mapping stopped - working on some junk low-end graphics cards which I still have to - support. They worked ok with osg 2.8 and earlier. - - The problem turned out to be with gl proxy textures, which are - unreliable on those devices. Proxy textures are used by the glu - mipmap build routines to determine if a texture size is - supported. The external glu library had a nice fallback - behaviour, so that if proxy textures didn't work then the mipmap - texture was still created. But in the work on the new embedded - glu routines that fallback behaviour has been inadvertently - lost. I have restored the fallback in - src/osg/glu/libutil/mipmap.cpp. It doesn't add any extra - complexity." - -2012-02-10 16:12 robert - - * src/osgGA/FirstPersonManipulator.cpp: From Domenico Mangieri, - "Implementation for MoveRight and MoveUp methods in - FirstPersonManipulator is missing. - - I'm using the manipulator, so I added it." - -2012-02-10 15:57 robert - - * include/osg/Image, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/TextureRectangle.cpp, src/osgText/Glyph.cpp: From Stephan - Huber, attached you'll find a compile fix for the new introduced - rowlength-feature on IOS/OpenGL ES builds - -2012-02-09 18:10 robert - - * include/osgUtil/Tessellator: From Luc Frauciel, "osgUtil - Tessellator : beginTessellation() made virtual to allow - configuration of tessellation: - - The initialisation of glu low level tessellator is done in - osgUtil::Tessellator::beginTessellation() - This function is not virtual, preventing any customization of the - tesselation. - In particular, there in an option in glu tesselator that force - the generated primitives to be triangles and that I'd like to use - (GLU_TESS_EDGE_FLAG). - " - -2012-02-09 17:52 robert - - * applications/osgfilecache/osgfilecache.cpp, - src/osgDB/FileCache.cpp: From Torben Dannhauer, "Modification to - osgfilecache: Now source data can also be local.: - - find attached my modifications to osgfilecache. - - It now allows also the caching of LOCAL terrain databases. In - combination with the extends and level cmd parameter it allows to - extract parts of terrain databases and write it in a new "Sub - database". - I also modified osgDB::FileCache to create correct filenames if - the data source is local." - -2012-02-09 17:45 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated ChangeLog, AUTHORS and Contriburos.cpp files - -2012-02-09 16:42 robert - - * src/osgPlugins/xine/video_out_rgb.c: From Martin von Gagern, "The - xine osg plugin won't compile against xine-lib-1.2.0: - - OpenSceneGraph-3.0.1/src/osgPlugins/xine/video_out_rgb.c:2772:25: - error: ?video_driver_class_t? has no member named - ?get_identifier? - OpenSceneGraph-3.0.1/src/osgPlugins/xine/video_out_rgb.c:2773:25: - error: ?video_driver_class_t? has no member named - ?get_description? - - This has been reported on Gentoo: https://bugs.gentoo.org/397643 - The relevant commit to the xine-lib repository is - http://anonscm.debian.org/hg/xine-lib/xine-lib-1.2/diff/806b590a4d38/src/xine-engine/video_out.h - - This change addresses the issue. I'm sending the full modified - file as - an attachment. It is based on the 3.0.1 release of OSG. I'll also - paste - a diff below. You will find a colorized view in the Gentoo - bugzilla. - - The xine-lib API changed in the following way: the identifier and - description members are now "const char*" strings instead of - "char* - (*)(video_driver_class_t*)" getter function. As the functions in - the osg - plugin will always simply return a string literal, without - accessing - their argument, it is safe to simply call them with a NULL - argument and - use the returned string. This makes it easy to support both API - versions. When you drop support for older xine one day, you might - want - to move the string literals to the assignment, getting rid of the - functions in the process. - - The modified code compiles for me. I'm not sure how to test it, - as I've - only got OSG around in order to build (and hopefully one day even - use) - Flightgear. - - I'm assigning my copyright in this change to the osg project - leads. - " - -2012-02-09 15:54 robert - - * src/osg/State.cpp: From Olaf Flebbe, "there are two ocurrences - where pointer to bool is mixed with bool. Fixes warnings on - MacOSX with llvm. - - diff --git a/src/osg/State.cpp b/src/osg/State.cpp - index 0b88d63..2137bbd 100644 - --- a/src/osg/State.cpp - +++ b/src/osg/State.cpp - @@ -109,7 +109,7 @@ State::State(): - } - } - - - _abortRenderingPtr = false; - + _abortRenderingPtr = NULL; - - _checkGLErrors = ONCE_PER_FRAME; - - @@ -689,7 +689,7 @@ bool - State::getLastAppliedTextureMode(unsigned int unit,Stat - - const StateAttribute* - State::getLastAppliedTextureAttribute(unsigned int unit,S - { - - if (unit>=_textureAttributeMapList.size()) return false; - + if (unit>=_textureAttributeMapList.size()) return NULL; - return - getLastAppliedAttribute(_textureAttributeMapList[unit],type,member); - } - - " - -2012-02-09 15:51 robert - - * examples/CMakeLists.txt, examples/osgsimplegl3, - examples/osgsimplegl3/CMakeLists.txt, - examples/osgsimplegl3/osgsimplegl3.cpp: From Paul Martz, a simple - GL3 example - -2012-02-09 15:08 robert - - * src/osgText/TextBase.cpp: From Colin McDonald, "The bounding box - returned by getBound() for Text which is not - auto-rotated (e.g. HUD text) is not always correct, because it - doesn't take account of the base line offsets added by the - various alignment options such as CENTER_TOP, CENTER_BOTTOM etc. - - The attached src/osgText/TextBase.cpp fixes the problem." - -2012-02-09 14:40 robert - - * src/osgPlugins/osg/ReaderWriterOSG2.cpp: From Colin McDonald, fix - for Solaris build. - -2012-02-09 14:33 robert - - * src/osgText/Text.cpp, src/osgText/Text3D.cpp: From Filip Arlet,"I - ran into problem with osg::Text _BASE_LINE alignment. It didn't - account line spacing. Btw. same problem in 3D text - - Changed _offset from: -_characterHeight*(_lineCount-1) - to: -_characterHeight*(1.0 + _lineSpacing)*(_lineCount-1)" - -2012-02-09 14:28 robert - - * include/osgDB/FileUtils, src/osgDB/FileUtils.cpp, - src/osgDB/Registry.cpp: Added back in support for checking the - current working directory by default, but now do the check - after the Options and Registry DataFilePathLists have been - checked, which will allow users to better control - over where files are searched for. - -2012-02-09 14:11 robert - - * src/osgPlugins/dae/daeRTransforms.cpp: From Chris Denham, "This - is a submission to fix a problem with use of mode - GL_RESCALE_NORMAL for geometries below a scaling transform which - is not equal in X, Y & Z components. In this case, the 'slow' - method of mode GL_NORMALIZE should be used to perform the - normalization. - - I have attached a correction to daeRTransforms.cpp based on trunk - at [12892] which corrects this problem. - - This is the changed section: - - Code: - if (scale.x() == scale.y() && scale.y() == scale.z()) - { - // This mode may be quicker than GL_NORMALIZE, but ONLY works if - x, y & z components of scale are the same. - ss->setMode(GL_RESCALE_NORMAL, - osg::StateAttribute::ON|osg::StateAttribute::OVERRIDE); - } - else - { - // This mode may be slower than GL_RESCALE_NORMAL, but does work - if x, y & z components of scale are not the same. - ss->setMode(GL_NORMALIZE, - osg::StateAttribute::ON|osg::StateAttribute::OVERRIDE); - }" - -2012-02-09 12:50 robert - - * src/osgDB/Registry.cpp: From Thorsten Brehm, "attached update - changes OSG's src/osgDB/Registry.cpp, so it doesn't - (accidentally) resolve relative paths against the current working - directory when searching for resources. So far, such paths were - always resolved against the cwd first. - - I guess the previous behaviour of giving the cwd precedence over - any path configured in the "database path list" (osgDB::Options) - wasn't intentional. Otherwise, if it was intentional after all, - it'd be good to add another feature instead, to make this - configurable - e.g. a flag in osgDB::Options to disable this, if - an application doesn't want the cwd being considered. - " - - Note from Robert Osfield, this submission will change the default - behaviour of searching for files so can potentially break - existing applications as it - won't search the current working direction unless it's included - in the DataFilePathList entry in the Options or Registy. I'll add - a follow - up submission to add back in this feature. - -2012-02-08 17:12 robert - - * src/osgPlugins/cfg/CMakeLists.txt: From Hartmut Seichter, - "attached a revised CMakeLists.txt file for Android that avoids - the problems with a ARM gcc bug that appears in the NDK. It only - overrides the optimization level for one file. As it resides only - in the cfg parser this should not have side effects on - performance." - -2012-02-08 10:50 robert - - * CMakeLists.txt: From Paul Martz, "This change clarifies the - description for OSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE." - -2012-02-08 10:06 robert - - * include/osgUtil/PolytopeIntersector, - src/osgUtil/PolytopeIntersector.cpp: From Leandro Motto Barros, - - "I've made a few changes to osgUtil::PolytopeIntersector so that - it - actually uses double precision floating point numbers everywhere - (as - long as OSG_USE_FLOAT_PLANE is not defined). - - I needed double precision intersections in a project I am working - on. - These changes fixed the problems I was having -- this is all - testing I - have done. - - Notice that I have changed - osgUtil::PolytopeIntersector::Intersection's members to use - doubles - (osg::Vec3d, instead of osg::Vec3). I could have added #ifdef's - there - too, but I think it is better to not change the types of stuff in - the - public interface depending on some preprocessor definition. - - The modified files are attached. A diff also follows, for those - who like it." - - With the following changes from Robert Osfield: - - "I've just reviewed your changes and have just tweaked them a - little to - streamline them. What I have done in the PolytopeIntersector - header - is add: - - typedef osg::Plane::Vec3_type Vec3_type; - - And then use this typedef in the definition of the vertices - rather - then Vec3d as you did. Next changes were to - PolytopeInteresector.cpp - where to the PolytopeIntersectorUtils defintions of the - Vec3_type, and - value_type which now simply read: - - typedef osg::Plane::Vec3_type Vec3_type; - typedef Vec3_type::value_type value_type; - - This way I was able to complete avoid any if def's and have - essential - the same implementation as you achieved. Changes now checked into - svn/trunk." - -2012-02-08 09:34 robert - - * src/osgQt/GraphicsWindowQt.cpp: From Claus Scheiblauer, "in - GraphicsWindowQt.cpp the GLWidget::keyReleaseEvent was - implemented slightly different to the GLWidget::keyPressEvent, - which caused the cursor keys values to be not correctly mapped - from an QKeyEvent value to an osg key value when releasing a - cursor key." - -2012-02-07 16:14 robert - - * src/osg/UserDataContainer.cpp, src/osgDB/Registry.cpp: Fixed - build issues when compile with - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF. - -2012-02-07 12:37 robert - - * src/osg/Image.cpp: From Alexander Irion, "Added missing format - GL_ALPHA to Image::computeFormatDataType()." - -2012-02-07 12:02 robert - - * src/osg/Texture.cpp: From Johannes Baeuerle, "The first problem - is wrong value of the block size of etc1 textures in the - getCompressedSize call in Texture.cpp. With the current block - size of 16 the target application crashes with a - GL_INVALID_VALUE. The reason is that the calculated size passed - to OpenGL does not match the size of the passed data(data - pointer,texture width,texture height,spec of etc1). - With a block size of 8 in the getCompressedSize call this error - dissapears." - -2012-02-07 11:43 robert - - * CMakeModules/FindCOLLADA.cmake: From Nico Kruithof, "I found that - Collada wasn't found correctly with visual studio 2010." - -2012-02-07 11:41 robert - - * include/osgQt/GraphicsWindowQt: From Marius Kintel, - "GraphicsWindowQt::WindowData no longer requires the parent - widget of a graphics window to be of type GLWidget." - -2012-02-07 11:29 robert - - * include/osgUtil/Tessellator, src/osgUtil/Tessellator.cpp: From - David Fries, "Of the two ways to use the Tessellator object, only - retessellatePolygons was applying the winding and boundary - option. - Moved the gluTessProperty calls into beginTessellation(). - - There's a comment typo fix, removing an unused VertexPointList - typedef, and allocates one _tobj instead of one per tesellation. - Protections were added to check that _tobj was allocated in the - few - remaining places it wasn't being checked. - - --- - On a side note, I would like to avoid the 'new Vec3d' in - Tessellator::addVertex for each call to - gluTessVertex(tess, location, data). - The RedBook leaves it ambiguous if the location pointer must - remain valid after gluTessVertex or not. - http://www.opengl.org/sdk/docs/man/xhtml/gluTessVertex.xml - says that changing location is not safe, so being conservative, - I'll - leave it as is, even though the Mesa GLU library copies the data - not - the pointer, so it is currently safe." - -2012-02-07 11:21 robert - - * src/osg/Billboard.cpp: From Lionel Lagarde, "The setNormal method - of osg::Billboard has side effects (it calls updateCache and - update the normal to Z rotation matrix). When cloning billboards, - copying the normal vector is not enough. In the correction, the - copy constructor calls setNormal to update the internal members." - -2012-02-07 10:57 robert - - * src/osgViewer/StatsHandler.cpp: From Wojciech Lewandowski, "This - is a one line modification of StatsHandler.cpp to work correctly - while dumping states to console when ViewerStats - getEarliesFrameNumber() and getLatestFrameNumber() return zeroes. - If that happened in current version, printing loop was iterating - between 0 and 0xFFFF FFFF indices and that was hanging our - system. - " - -2012-02-07 10:51 robert - - * src/osgGA/OrbitManipulator.cpp: From Tamer Fahmy, Fix for bug - when scrolling down and using render on demand. - - "Currently issuing a mouse scroll DOWN event would stop updating - animations in progress. - - The fix consists of changing the line - us.requestContinuousUpdate( false ); - to: - us.requestContinuousUpdate( isAnimating() || _thrown ); - - in OrbitManipulator::handleMouseWheel() as has been done for the - GUIEventAdapter::SCROLL_UP case a couple of lines earlier or in - src/osgGA/FirstPersonManipulator.cpp." - -2012-02-07 10:40 robert - - * src/osg/UserDataContainer.cpp: From Rudolf Wiedemann, "the file - attached fixes the incomplete implementation of - "osg::DefaultUserDataContainer"'s copy constructor. - Copying user objects was missing." - - Note from Robert Osfield, in submission changed - _objectList.push_back((*itr)->clone(copyop)); - to - _objectList.push_back(copyop(*itr)); - -2012-02-07 10:33 robert - - * src/osgPlugins/jp2/ReaderWriterJP2.cpp: From Sukender, "I just - fixed using UTF8 paths in JP2 readerwriter under Windows. - Jpeg2000 plugin could not handle UTF8 paths as it was using an - Japser open() function which seems to be based on the standard - fopen(). The fix simply opens the file beforehand and only gives - a FILE* to the Jasper lib (and then closes the file, of course). - " - -2012-02-06 13:45 robert - - * src/osgUtil/Optimizer.cpp: From Mathias Froehlich, "In - Optimizer.cpp a nodes update callback is checked twice and the - cull - callback is checked never for the decision of a node being - redundant. - The change replaces one of the update callback tests with a cull - callback - test." - -2012-02-06 13:40 robert - - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/StatsHandler.cpp: From Mathias Froehlich, "Attached - is a change to the stats handler so that the aspect ratio of the - viewer stats coordinates always stay about 1:1 to the pixels. - This helps for more readable stats with very wide windows for - example." - -2012-02-06 13:35 robert - - * src/osgText/DefaultFont.cpp: From Mathias Froehlich, "The - attached change to the default font makes the baseline correctly - working - and makes the glyphs aspect ratio match their 12x8 bitmaps. - I am not exactly sure about osgTexts current internals but it - matches the - changes that happened lately to the txf font. - " - -2012-02-06 13:29 robert - - * src/osgPlugins/dot/BaseDotVisitor.cpp: From Cory Riddell, "I've - been using the dot plugin and found that our application which - sets - the global locale was generating bad dot files. Specifically, the - node - numbers had comma separators in them (like 1,234 rather than - 1234). - - The attached file simply forces the stringstreams used to build - up the - dot file to use the "C" locale." - -2012-02-06 13:27 robert - - * src/osgWrappers/serializers/osg/ProxyNode.cpp: From Robert - Milharcic, "In attached file I implemented LOAD_IMMEDIATELY mode - for new osg ProxyNode wrapper. Current version of proxynode - loading uses DatabasePager for both - modes(DEFER_LOADING_TO_DATABASE_PAGER and LOAD_IMMEDIATELY). - - Immediate loading of external references begins after ProxyNode - has been deserialized in ProxyNodeFinishedObjectReadCallback." - -2012-02-06 12:42 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Paul Palumbo, - "This change seems to fix a problem reading 32-bit Floating point - tiff images. Without this fix, I'm only getting half my image - displayed in "osgviewer --image"." - -2012-02-06 12:38 robert - - * src/osgPlugins/svg/ReaderWriterSVG.cpp: From Jason Beverage, - "Attached is a patch to the SVG plugin to use - cairo_surface_destroy - instead of free. This was causing a crash on Windows. - " - -2012-02-06 12:36 robert - - * include/osgUtil/Statistics, src/osgUtil/Statistics.cpp: From Jan - Peciva, "attaching improved StatsVisitor. Changes: - - apply() and reset() methods made virtual to allow overriding - - added apply(StateSet&) to make more easier to gather - StateAttribute - statistics in user-derived classes - " - -2012-02-06 12:29 robert - - * include/osgUtil/Statistics, src/osgUtil/Statistics.cpp: Fixed - indendation and line endings - -2012-02-06 12:06 robert - - * include/osg/PagedLOD, src/osg/PagedLOD.cpp: From Brad - Christiansen, "The attached files add the ability to control when - a paged child becomes eligible for expiry based on time and/or - elapsed frames. - - - - I found that some of the items that had been paged in were being - expired on the first frame that they were not visible (as the - cache was full). This resulted in excessive paging every time the - view was moved. With the following changes I could only allow - children to be expired if they had not been used for e.g. 30 - seconds or 60 frames." - -2012-02-06 12:05 robert - - * examples/osgsharedarray/osgsharedarray.cpp: Fixed silly compiler - warning that was being produced in error. - -2012-02-06 11:17 robert - - * src/osgText/Glyph.cpp: From Alexander Sinditskiy, "looks like - GlyphGeometries _glyphGeometries; should be removed because - Glyph3D have the same named local variable." - -2012-02-03 15:15 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, - "attached you'll find a first version of multi-touch-support for - OS X (>= - 10.6), which will forward all multi-touch events from a trackpad - to the - corresponding osgGA-event-structures. - - The support is switched off per default, but you can enable - multi-touch - support via a new flag for GraphicsWindowCocoa::WindowData or - directly - via the GraphicsWindowCocoa-class. - - After switching multi-touch-support on, all mouse-events from the - trackpad get ignored, otherwise you'll have multiple events for - the same - pointer which is very confusing (as the trackpad reports absolute - movement, and as a mouse relative movement). - - I think this is not a problem, as multi-touch-input is a - completely - different beast as a mouse, so you'll have to code your own - event-handlers anyway. - - While coding this stuff, I asked myself if we should refactor - GUIEventAdapter/EventQueue and assign a specific event-type for - touch-input instead of using PUSH/DRAG/RELEASE. This will make it - clearer how to use the code, but will break the mouse-emulation - for the - first touch-point and with that all existing manipulators. What - do you - think? I am happy to code the proposed changes. - - Additionally I created a small (and ugly) example osgmultitouch - which - makes use of the osgGA::MultiTouchTrackballManipulator, shows all - touch-points on a HUD and demonstrates how to get the touchpoints - from - an osgGA::GUIEventAdapter. - - There's even a small example video here: - http://vimeo.com/31611842" - -2012-02-03 14:25 robert - - * examples/CMakeLists.txt, examples/osgmultitouch, - examples/osgmultitouch/CMakeLists.txt, - examples/osgmultitouch/osgmultitouch.cpp, - include/osgGA/EventQueue, - include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - src/osgGA/EventQueue.cpp: From Stephan Huber, "attached you'll - find a first version of multi-touch-support for OS X (>= - 10.6), which will forward all multi-touch events from a trackpad - to the - corresponding osgGA-event-structures. - - The support is switched off per default, but you can enable - multi-touch - support via a new flag for GraphicsWindowCocoa::WindowData or - directly - via the GraphicsWindowCocoa-class. - - After switching multi-touch-support on, all mouse-events from the - trackpad get ignored, otherwise you'll have multiple events for - the same - pointer which is very confusing (as the trackpad reports absolute - movement, and as a mouse relative movement). - - I think this is not a problem, as multi-touch-input is a - completely - different beast as a mouse, so you'll have to code your own - event-handlers anyway. - - While coding this stuff, I asked myself if we should refactor - GUIEventAdapter/EventQueue and assign a specific event-type for - touch-input instead of using PUSH/DRAG/RELEASE. This will make it - clearer how to use the code, but will break the mouse-emulation - for the - first touch-point and with that all existing manipulators. What - do you - think? I am happy to code the proposed changes. - - Additionally I created a small (and ugly) example osgmultitouch - which - makes use of the osgGA::MultiTouchTrackballManipulator, shows all - touch-points on a HUD and demonstrates how to get the touchpoints - from - an osgGA::GUIEventAdapter. - - There's even a small example video here: - http://vimeo.com/31611842" - -2012-02-03 11:10 robert - - * include/osgDB/Registry, src/osgDB/Registry.cpp: Improved handling - of archives - -2012-02-03 11:09 robert - - * src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgWrappers/deprecated-dotosg/osg/Shader.cpp: From Terry - Welsh, improved support for handling archives - -2012-02-01 17:42 robert - - * src/osg/GraphicsContext.cpp: From Colin McDonald, "I have an - application with multiple windows. They share GL objects - between the contexts, using the GraphicsContext::Traits - sharedContext - and setting the same contextID. - - When one of these shared contexts is closed, - GraphicsContext::close - deletes all GLObjects for that contextID, regardless of the fact - that - they are shared. This means that all of the other contexts - sharing the - objects have to recompile them. - - The attached tweak makes GraphicsContext::close a bit less brutal - for - shared contexts. I have also changed a misleading diagnostic - message. - " - -2012-02-01 17:38 robert - - * src/osgPlugins/fbx/ReaderWriterFBX.h: From Luc Frauciel, "FBX - plugin was locked on version 2012.1 of FBX SDK which is not - available anymore on Autodesk website. - This patch allows version of FBX >= 2012.1, which includes - current one : 2012.2 - " - -2012-02-01 17:16 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Renamed selection to - transform to make it clear to understand what is being done. - -2012-02-01 17:10 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Added example usage - of teh new DraggerTransforCallback's HandleCommandMask which is - tied to the TabPlaneDragger example. - -2012-02-01 13:55 robert - - * include/osgManipulator/Dragger, src/osgManipulator/Dragger.cpp: - Added DraggerTransformCallback::HandleCommandMask to - DraggerTransformCallback to allow applications to select which - commands they want the dragger callback to respond to why - updating the transform. - -2012-01-31 10:56 robert - - * examples/osgmanipulator/osgmanipulator.cpp, - include/osgManipulator/Command, - include/osgManipulator/Constraint, - include/osgManipulator/Dragger, - src/osgManipulator/Constraint.cpp, - src/osgManipulator/Dragger.cpp: Improved the handling of - osgManipulator::Constraint, DraggerCallbacks and Command so that - they now use a Visitor Pattern - to ensure the correct methods on constraints and callbaks are - called for each Command. Also fixed the handling of - Constraints when applied to composite Draggers. - -2012-01-30 12:26 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Added support for - Scale1DDragger, Scale2DDragger and TranslatePlaneDragger to - --dragger command line option - -2012-01-27 09:49 robert - - * CMakeModules/FindOSG.cmake: From Kristofer Tingdahl, Added - missing core OSG libraries. - -2012-01-26 18:03 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, "a - recent submission added a 10.6-feature to GraphicsWindowCocoa. I - added - some ifdefs around, so it compiles again with 10.5 SDK" - -2012-01-26 14:26 robert - - * src/osgGA/EventQueue.cpp: Quietend down debug message - -2012-01-26 13:08 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From J.P. Delport, "when - switching from windowed mode to fullscreen (with the 'f' key) in - X11, no RESIZE event is generated. This confuses handlers that - perform some processing on the RESIZE event, e.g. the - InteractiveImageHandler. - - To reproduce the problem I attach a minimally modified osgviewer - that just prints resize events. You can check what's printed in - the console when you go fullscreen and windowed a few times. - - The attached version of GraphicsWindowX11 fixes the problem for - me, but I'm not sure this is the right approach. Maybe you can - see a fix for the problem clearer. - - The only place where the RESIZE event is generated in - GraphicsWindowX11 is in CheckEvents and it then depends on the - ConfigureNotify message. For some reason, either ConfigureNotify - is not sent when going fullscreen or the traits already reflect - the latest window size." - -2012-01-25 17:37 robert - - * src/osgViewer/ViewerEventHandlers.cpp: From J.P. Delport, "this - fall-through had me scratching my head for a while... - - It made InteractiveImageHandler eat keypresses outside its - image." - -2012-01-25 17:35 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From J.P. Delport, - "GraphicsWindowX11 typo, I believe X/Y's should match." - -2012-01-25 17:31 robert - - * src/osg/State.cpp: From Luc Frauciel, "Ati FirePro is as much - crippled as other Ati drivers. - This patch add "FirePro" to the black list of renderers in - State.cpp / initializeExtensionProcs - - It allows to avoid an OpenGL error on Viewer initialization. - Tested on FirePro M7740 / Windows7 x64 Driver 8.85.7.2" - -2012-01-25 15:38 robert - - * applications/present3D/present3D.cpp: Changed the - KeyEventToggleTexturing to 'e' to avoid conflict with 't' used - for transparency. - -2012-01-24 17:57 robert - - * applications/present3D/present3D.cpp: Made the cursor state - protected. - -2012-01-24 17:49 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: From Tobias Ottenweller, - "this is a fix for the problem where all input freezes for a - quarter second when calling requestWarpPointer under Mac OS X - (described here: - http://forum.openscenegraph.org/viewtopic.php?t=3933 ). - - I used the latest version available via subversion. - - My fix is using some API only available on 10.4 and later. I used - some preprocessor statements to gain compatibility with 10.3 and - earlier using (now) deprecated API. - - Only tested on OS X Lion (10.7). Please do some testing as well - since I'm fairly new to OpenSceneGraph. Someone should also test - the code for 10.3 and earlier." - -2012-01-24 17:47 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: Fixed indentation and - spaces at ends of lines. - -2012-01-24 17:40 robert - - * include/osg/ClipNode: From Paulk Martz, "Looks like the - ClipNode::setReferenceFrame comment block came from LightSource. - Fixing the comment block to refer to ClipNode instead of light - source." - -2012-01-24 17:38 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Chris Denham, fixed - type of parameters to ensure they are longs where appropriate. - -2012-01-24 17:30 robert - - * include/osgViewer/ViewerBase, src/osgViewer/ViewerBase.cpp: Moved - setEndBarrierOperation(..) implementation into .cpp and added - support for stoppig and starting threading if required. - -2012-01-24 17:21 robert - - * include/osgViewer/ViewerBase, src/osgViewer/ViewerBase.cpp: From - Paul Martz, Added ViewerBase::s/getEndBarrierOperation(..) method - to allow user control of how viewers are sync'd. - -2012-01-24 15:44 robert - - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: Fixed compile - error - -2012-01-24 14:34 robert - - * examples/osgphotoalbum/PhotoArchive.cpp, - examples/osgscreencapture/osgscreencapture.cpp, - examples/osgtexture2D/osgtexture2D.cpp, include/osg/Array, - include/osg/BufferObject, include/osg/Image, - include/osg/PrimitiveSet, src/osg/BufferObject.cpp, - src/osg/DrawPixels.cpp, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureRectangle.cpp, - src/osgDB/OutputStream.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/exr/ReaderWriterEXR.cpp, - src/osgPlugins/hdr/hdrwriter.cpp, src/osgPlugins/hdr/hdrwriter.h, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPlugins/ive/Image.cpp, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/nvtt/NVTTImageProcessor.cpp, - src/osgPlugins/pov/ReaderWriterPOV.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp, src/osgText/Glyph.cpp: - Added support for using GL_UNPACK_ROW_LENGTH in conjunction with - texture's + osg::Image via new RowLength - parameter in osg::Image. To support this Image::setData(..) now - has a new optional rowLength parameter which - defaults to 0, which provides the original behaviour, - Image::setRowLength(int) and int Image::getRowLength() are also - provided. - - With the introduction of RowLength support in osg::Image it is - now possible to create a sub image where - the t size of the image are smaller than the row length, useful - for when you have a large image on the CPU - and which to use a small portion of it on the GPU. However, when - these sub images are created the data - within the image is no longer contiguous so data access can no - longer assume that all the data is in - one block. The new method Image::isDataContiguous() enables the - user to check whether the data is contiguous, - and if not one can either access the data row by row using - Image::data(column,row,image) accessor, or use the - new Image::DataIterator for stepping through each block on memory - assocatied with the image. - - To support the possibility of non contiguous osg::Image usage of - image objects has had to be updated to - check DataContiguous and handle the case or use access via the - DataIerator or by row by row. To achieve - this a relatively large number of files has had to be modified, - in particular the texture classes and - image plugins that doing writing. - -2012-01-24 14:27 robert - - * include/osgPresentation/SlideShowConstructor, - src/osgPresentation/SlideShowConstructor.cpp: Refactored the - click_to_run implementation to avoid bug associated with running - the first click_to_run entry in a layer when - subsequent click to run's are called. - -2012-01-23 18:48 robert - - * src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.h: Changed float - QuicktimeImageStream::getCurrentTime() to double - QuicktimeImageStream::getCurrentTime() to keep it consistent with - the type of the virtual function ImageStream::getCurrentTime(), - and with this fixing a compile and runtime error. - - Changed time variables all to use doubles rather than float to be - consist with the change to getCurrentTime(). - -2012-01-05 14:07 robert - - * src/osgPlugins/ffmpeg/FFmpegHeaders.hpp: From Alberto Luacus, - "The ffmpeg plugin fails to compile with the upcoming libav 0.8 - because - the required header mathematics.h is not being included - explicitly. - - I have just included it, and verified that this also works with - current - version 0.7, since the header is also available there." - -2012-01-03 15:59 robert - - * src/osgPresentation/SlideEventHandler.cpp: Fixed the return value - of SlideEventHandler::selectLayer() so that the 'n' now works - correctly. - -2012-01-02 16:54 robert - - * src/osg/Sequence.cpp: From Farshid Lashkari, "Attached is a - simple fix to osg::Sequence that allows it to load properly with - the serializer formats (osgt/osgb). The problem was that the - internal _nrepsRemain member was not being initialized properly - if the number of repeats was equal to the default value of -1. - When the number of repeats is explicitly set using - setNumRepeats(), _nrepsRemain is set to the same value. However, - in the constructor of osg::Sequence, it was not being initialized - to the same value as _nreps. This fix simply changes the initial - value of _nrepsRemain to the same as _nreps." - -2012-01-02 16:38 robert - - * include/osgDB/Registry, src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h: From Chris Denham, - Implementation of write functions in CURL plugin - -2011-12-23 17:40 robert - - * src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/VertexRecords.cpp: From Paul Martz and - David Glenn, - - "From David Glenn and Paul Martz. This change adds support for - the NO_COLOR bit in the Vertex records' flags field. If NO_COLOR - is set, and PACKED_COLOR is not set, the code will now properly - default to using the face color at those vertices. See the - osg-users thread "Open Flight characteristic not reflected in the - current OSG" for more info." - - and - - "In consultation with David Glenn, it appears we needed to change - a second file to correct how OpenFlight handles transparency when - vertices have NO_COLOR. " - -2011-12-23 17:34 robert - - * include/osgTerrain/Terrain, src/osgTerrain/Terrain.cpp: Gunnar - Holm, "After upgrading from 2.8.3 to 3.0.1 we experienced a lock - in the Mutex - functionality when using Terrain::setVerticalScale. This was - caused by - the following call sequence resulting in a lockup: - - void Terrain::setVerticalScale(float scale) - CALLS dirtyRegisteredTiles(); - - - void Terrain::dirtyRegisteredTiles(int dirtyMask) - SETS LOCK OpenThreads::ScopedLock - lock(_mutex); - and CALLS (on every tile) setDirtyMask(dirtyMask); - - - void TerrainTile::setDirtyMask(int dirtyMask) - CALLS _terrain->updateTerrainTileOnNextFrame(this); - - - void Terrain::updateTerrainTileOnNextFrame(TerrainTile* - terrainTile) - SETS LOCK OpenThreads::ScopedLock - lock(_mutex); - ******* PROBLEM - since lock has already been set! ******** - - - The suggested fix submitted changes from using Mutex to - ReentrantMutex. - " - -2011-12-23 17:21 robert - - * include/osgManipulator/Dragger, src/osgManipulator/Dragger.cpp: - From Aurelien Albert, "I made a modification in the Dragger class - : - - You can now set a "intersection mask" and it will be used when - looking for intersections. - - So you can now easily "hide" some objects from manipulators." - -2011-12-23 17:16 robert - - * src/osgPlugins/directshow/DirectShowTexture, - src/osgPlugins/directshow/DirectShowTexture.cpp: From Brad - Christiansen, "I have added an implementation for set/getVolume - in the direct show plug-in." - -2011-12-23 17:15 robert - - * src/osg/ClusterCullingCallback.cpp: From Glenn Waldron, "Attached - is a change to ClusterCullingCallback to make it work properly - under an RTT camera with an INHERIT_VIEWPOINT reference frame." - -2011-12-23 16:57 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: From James Turner, "Testing - FlightGear with Cocoa osgViewer, encountered some problems with - hiding / re-showing the cursor. Attached version fixes this, by - tracking the current cursor value, and ensuring we don't nest - calls to [NSCursor hide] or [NSCursor unhide]." - -2011-12-23 16:29 robert - - * src/osgPlugins/mdl/MDLReader.cpp: From Ulrich Hertlein, "attached - is a patch for osgPlugins/mdl/MDLReader.cpp that improves its - functionality on - Unix filesystems. It also includes code cleanups/refactoring." - -2011-12-23 16:27 robert - - * include/osg/ImageStream, - src/osgPlugins/directshow/DirectShowTexture, - src/osgPlugins/directshow/DirectShowTexture.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp: From Brad - Christiansen, "Attached are some small changes to the ImageStream - interface and the DirectShow and FFMPEG plugins to provide the - current time being displayed in the image stream. - I don’t have access to an OSX or Linux dev machine to make the - changes required to the quick time plugin. This plugin will just - default to returning 0." - -2011-12-23 16:14 robert - - * include/osg/Node, include/osg/Referenced: From Ulrich Hertlein, - typo fixes - -2011-12-23 12:42 robert - - * src/osgDB/OutputStream.cpp: Added handling of an empty filename - when writing out an image file. +Wed, 10 Dec 2014 10:38:12 +0000 +Checked in by : Robert OSFIELD +Moved GL2Extensions functionality into the include/osg/GLExtensions header and new GLExtensions object. Moved the #defines into new include/osg/GLDefines Converted all GL2Extensions usage to GLExtensions usagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14593 16af8721-9629-0410-8352-f15c8da7e697 -2011-12-19 16:18 robert - * src/osg/ImageUtils.cpp: Removed inappropriate static usage +Wed, 10 Dec 2014 09:11:17 +0000 +Checked in by : Robert OSFIELD +Streamlined the extension functionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14592 16af8721-9629-0410-8352-f15c8da7e697 -2011-12-19 09:37 robert - * include/osg/ImageUtils, src/osg/ImageUtils.cpp, - src/osgParticle/PrecipitationEffect.cpp: Moved the - createSpotLightImage function into include/osg/ImageUtils +Tue, 9 Dec 2014 21:33:12 +0000 +Checked in by : Robert OSFIELD +Added #ifdef's around GLsync typedefgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14591 16af8721-9629-0410-8352-f15c8da7e697 -2011-12-19 09:09 robert - * examples/osgshadow/osgshadow.cpp: Added --num-sm and - --parallel-split and --cascaded command line options to set the - appriopriate ViewDependentShadowMap settings. +Tue, 9 Dec 2014 20:09:29 +0000 +Checked in by : Robert OSFIELD +Windows build fixesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14590 16af8721-9629-0410-8352-f15c8da7e697 -2011-12-13 21:14 robert - * examples/osgshaders/CMakeLists.txt, - examples/osgshaders/GL2Scene.cpp, examples/osgshaders/Noise.cpp, - examples/osgshaders/Noise.h: Moved osgshaders example across to - use the new osgUtil::PerlinNoise example +Tue, 9 Dec 2014 19:31:53 +0000 +Checked in by : Robert OSFIELD +Added new examples to runexamples.bat scriptgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14589 16af8721-9629-0410-8352-f15c8da7e697 -2011-12-13 21:12 robert - * include/osgUtil/PerlinNoise, src/osgUtil/CMakeLists.txt, - src/osgUtil/PerlinNoise.cpp: Created new PerlinNoise class from - the Noise.h+Noise.cpp code in the osgshaders example. +Tue, 9 Dec 2014 19:22:45 +0000 +Checked in by : Robert OSFIELD +Quietened down debug messagesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14588 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-30 19:14 robert - * examples/CMakeLists.txt: Fixed build under Tiny Core. +Tue, 9 Dec 2014 19:20:05 +0000 +Checked in by : Robert OSFIELD +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."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14587 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-25 12:48 robert - * src/osgShadow/ViewDependentShadowMap.cpp: To fix problems in - tight bound computation of the shadow map made the - ComputeLightSpaceBounds usage always used when the - CastShadowMask is active. Changed the ComputeLightSpaceBounds to - use just VIEW_FRUSTUM_CULLING. +Tue, 9 Dec 2014 18:30:28 +0000 +Checked in by : Robert OSFIELD +Moved FBO Extensions into GL2Extensions.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14586 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-25 09:24 robert - * src/osgShadow/ViewDependentShadowMap.cpp: From Jean-Sebastien - Guay, fix for handling texture unit >= 8 and negative LigthNum. +Tue, 9 Dec 2014 14:58:34 +0000 +Checked in by : Robert OSFIELD +Removed no longer used Extension definitiongit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14585 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-22 21:55 robert - * include/osgShadow/ShadowSettings, - include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ShadowSettings.cpp, - src/osgShadow/ViewDependentShadowMap.cpp: Added prelimanary - support for parallel split shadow maps into - ViewDependentShadowMap. +Tue, 9 Dec 2014 14:57:25 +0000 +Checked in by : Robert OSFIELD +Moved local Extensions structs into GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14584 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-18 08:20 robert - * examples/osgforest/osgforest.cpp: From Trajce Nikolov, "Here is - extended version of the osgforest example - technique with - geometry shader added, was doing it for a project so I thought - might be useful to update the example as well - " +Tue, 9 Dec 2014 11:14:33 +0000 +Checked in by : Robert OSFIELD +Moveved Stencil/StencilTwoSided::Extensions into GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14583 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-18 08:15 robert - * examples/osgforest/osgforest.cpp: Fixed indentation +Tue, 9 Dec 2014 10:37:09 +0000 +Checked in by : Robert OSFIELD +Moved local Extensions objects to GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14582 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-17 18:45 robert - * applications/present3D/present3D.cpp: Added .get() to fix build +Tue, 9 Dec 2014 10:05:59 +0000 +Checked in by : Robert OSFIELD +Moved Texture*::Extensions functionality into GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14581 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-11 10:36 robert - * src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp, - src/osgVolume/Shaders/volume_vert.cpp: Updated built in volume - shaders to honour the osg::Matierial setting +Mon, 8 Dec 2014 16:08:44 +0000 +Checked in by : Robert OSFIELD +MOved VertexProgram and FragmentProgram::Extensions into GL2Extensions.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14580 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-11 10:25 robert - * src/osgVolume/RayTracedTechnique.cpp: Enabled blending for the - iso surface rendering to enable fade in/fade out of volume. +Mon, 8 Dec 2014 11:08:29 +0000 +Checked in by : Robert OSFIELD +Fixed memory leak in RenderStageCache.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14578 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-10 15:50 robert - * src/osgVolume/Property.cpp: Added handling of - osgGA::GUIEventAdapter::getMouseYOrientation() in the orientation - of mouse y position. - - Added updating of properties on both mouse move/drag and keydown. +Sun, 7 Dec 2014 17:31:49 +0000 +Checked in by : Robert OSFIELD +MOved SampleMaski::Extensions into osg::GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14577 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-07 14:36 robert - * include/osg/Math: Added a check against OSX 10.6 to enable better - selection of when to provide custom cosf etc. definition. - This change has been introduced to address recurcsion problems in - 10.7 in the ac3d plugin. +Fri, 5 Dec 2014 20:05:18 +0000 +Checked in by : Robert OSFIELD +Moved TextureCubeMap::Extension functionality into GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14576 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-04 12:50 robert - * applications/present3D/ReadShowFile.cpp, - applications/present3D/present3D.cpp, - include/osgPresentation/SlideEventHandler, - src/osgPresentation/SlideEventHandler.cpp: Implement presentation - update feature that reloads the presentation on pressing 'u'. +Fri, 5 Dec 2014 17:26:42 +0000 +Checked in by : Robert OSFIELD +Moved osg::Drawable::Extensions into osg::GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14575 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-04 12:47 robert - * src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp: - Improved the handling of setStartTick() being called mid app, - such as when idirectly called when doing a - Viewer::setSceneData(). - Improved the setting the the initial event state. +Fri, 5 Dec 2014 10:37:20 +0000 +Checked in by : Robert OSFIELD +Fixed windows build warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14574 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-04 12:45 robert - * include/osgGA/EventQueue, src/osgGA/EventQueue.cpp: Improved - handling of resetting of the EventQueue::startTick(). +Fri, 5 Dec 2014 09:52:42 +0000 +Checked in by : Robert OSFIELD +Windows build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14573 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-04 12:44 robert - * include/osgDB/Registry, src/osgDB/Registry.cpp: Added - removeFromObjectCache method. +Fri, 5 Dec 2014 08:58:23 +0000 +Checked in by : Robert OSFIELD +From the GLintptr + GLsizeiptr defintions to GL2Extensions headergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14572 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-02 10:57 robert - * src/osgDB/Registry.cpp: Add check to filter out the return of - FILE_NOT_FOUND from archive results to prevent these from - prematurely exiting the Registry::read(..) method - bofore it loads plugins to try and load requested file. +Thu, 4 Dec 2014 19:03:16 +0000 +Checked in by : Robert OSFIELD +Moved osg::BlenFunc::Extensions into osg::GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14571 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-01 16:13 robert - * applications/present3D/present3D.cpp: Replaced the use of PrtScrn - with 'm' for taking screenshots, replaced the use of 'm' with 'M' - for taking movies. +Thu, 4 Dec 2014 18:13:11 +0000 +Checked in by : Robert OSFIELD +Moved GLBufferObject::Extensions structure into osg::GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14570 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-01 13:41 robert - * src/osgViewer/GraphicsWindowIOS.mm: From Stephan Huber, "A recent - commit - (https://github.com/openscenegraph/osg/commit/41e23f466d0749d0d9db7ca0b0ada996432a1ee1) - for GraphicWindowsIOS.mm broke the compilation for OpenGL ES 1.x - as - GL_DEPTH_COMPONENT32_OES is not defined for 1.x. I added a - #define-guard." +Thu, 4 Dec 2014 18:12:07 +0000 +Checked in by : Robert OSFIELD +Removed redundent spacesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14569 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-01 13:36 robert - * applications/present3D/present3D.cpp: Added screen capture - handler to present3D, with the PrtScn button used for a single - frame capture and 'm' for continuous frame capture. - The --screenshot filename command line option can be used to - configure the name of the screen capture. +Thu, 4 Dec 2014 17:12:55 +0000 +Checked in by : Robert OSFIELD +Added glMemoryBarrier, glMapBufferRange and glBindBufferBase to GL2Extensionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14568 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-01 11:08 robert - * src/osgVolume/Property.cpp: Added setting of the - sampleDensityWhenMovingProperty at the same time as when setting - the sampleDensityProperty +Thu, 4 Dec 2014 16:28:32 +0000 +Checked in by : Robert OSFIELD +Moved old GL2Extensions::Get(..) usage across to new osg::State::get() usagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14567 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-01 10:30 robert - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Fixed the use - DCM_SeriesDescription +Thu, 4 Dec 2014 16:22:31 +0000 +Checked in by : Robert OSFIELD +Ported GL2Extentions across to using the new GL extensions approach - cutting code count by 3000 lines!git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14566 16af8721-9629-0410-8352-f15c8da7e697 -2011-11-01 10:27 robert - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Improved the handling - of multiple datasets being read at once, with all the images in a - series being group according to Series UID and SeriesDescription - and orientation. +Thu, 4 Dec 2014 15:10:43 +0000 +Checked in by : Robert OSFIELD +Build fix for when ref_ptr<> auto conversion is disabledgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14565 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-31 15:29 robert - * src/osgViewer/CompositeViewer.cpp: Adding missing checks against - View's Camera and SceneData for any update callbacks that need - calling. +Wed, 3 Dec 2014 17:31:16 +0000 +Checked in by : Robert OSFIELD +Added osg::Capability and Cabibilityi base classes to wrap up glEnable/glDisable + glEnablei/glDisablei functionality, with osg::Enablei and osg::Disablei concrete implementations.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14564 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-28 11:00 robert - * src/osgPlugins/cfg/ReaderWriterCFG.cpp: Changed the notification - level to INFO. +Tue, 2 Dec 2014 17:12:56 +0000 +Checked in by : Robert OSFIELD +Added osg::BlendFunci, osg::BlendEquationi and osg::ColorMaski StateAttrirbutes that wrap the glBlendFunci, glBlendEquationi and glColorMaski functionsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14563 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-28 11:00 robert - * src/osg/GraphicsContext.cpp: Changed the setting of - Traits::sampleBuffers so that it's set to 1 when - DisplaySettings::getMultiSamples() is set to a non zero value. +Tue, 2 Dec 2014 15:37:07 +0000 +Checked in by : Robert OSFIELD +Moved BlendEquation across to using the new GL extension setup approach.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14562 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-28 10:36 robert - * src/osgPlugins/cfg/ReaderWriterCFG.cpp: Changed the default for - SampleBuffers to be 1 when set. +Tue, 2 Dec 2014 15:21:24 +0000 +Checked in by : Robert OSFIELD +Fixed typogit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14561 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-28 09:45 robert - * src/osg/GraphicsContext.cpp: Removed OSX codepath for setting the - depth value to 32 as this turned out to be unneccesary. +Tue, 2 Dec 2014 11:10:23 +0000 +Checked in by : Robert OSFIELD +Added a template get and get_exisiting method into osg::State that implements a new mechanism for managing OpenGL extensions.Refactored the BendFunc::Extensions usage to simplify it utilizing the new osg::State extension mechanism. -2011-10-28 09:11 robert - * src/osgPlugins/cfg/ReaderWriterCFG.cpp, - src/osgPlugins/cfg/VisualChooser.cpp: Changed the default depth - to 24. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14560 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-27 16:33 robert - * src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_vert.cpp: Updated volume shaders to - use the GL_LIGHT 0 values to control the direction of the light - source +Fri, 28 Nov 2014 16:20:28 +0000 +Checked in by : Robert OSFIELD +From Rafa Gaitan, "I'm attaching also a new version of the toolchain with support for the r10c ndk. This fixes some CMake Warnings and allows to use the toolchain in macosx."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14558 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-27 13:11 robert - * src/osgPresentation/SlideEventHandler.cpp: Reimplement the light - direction controls so that they now work correctly with - osgViewer::Viewer. - - Improved the computation of the light direction from - non-dimensional mouse coords so that they now project onto a - hemisphere making - the interaction more intuitive. +Fri, 28 Nov 2014 16:10:14 +0000 +Checked in by : Robert OSFIELD +Removed include/osg/Version and include/OpenThreads/Version headers as these are autogenerated.Changed the paths for the OpenThreads/osg Version headers to be placed in the PROJECT_BINARY_DIR. -2011-10-27 09:24 robert - * src/osgDB/XmlParser.cpp: Added support for ignore returns as - white space. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14557 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-27 08:34 robert - * src/osgPlugins/vnc/ReaderWriterVNC.cpp: Added support for - American spelling of swap and add supportOptions(..) - documentation for the new options. +Fri, 28 Nov 2014 10:54:40 +0000 +Checked in by : Robert OSFIELD +Standardized on defined(__ANDROID__)git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14556 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-26 14:25 robert - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/vnc/ReaderWriterVNC.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support into - the .p3d format for specifying the osgDB::Options::OptionString - via the . - - Added support into .vnc plugin for passing in the keywords - "swap", "RGB", "RGBA", "BGR", "BGRA" as OptionString values to - allow .p3d presentations to control - whether the pixelformat should be swapped or set to a specific - format. +Fri, 28 Nov 2014 10:52:06 +0000 +Checked in by : Robert OSFIELD +Added getlocaledecpoint() workaround for Android build of lua plugingit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14555 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-26 12:48 robert - * applications/present3D/present3D.cpp, - include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added password - support into present3D's vnc support via the tag usage : hostname +Thu, 27 Nov 2014 15:54:24 +0000 +Checked in by : Robert OSFIELD +Added in source shadersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14554 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-26 12:29 robert - * examples/osgvnc/osgvnc.cpp, - src/osgPlugins/vnc/ReaderWriterVNC.cpp: Added password support - into osgvnc example and vnc plugin +Thu, 27 Nov 2014 15:39:38 +0000 +Checked in by : Robert OSFIELD +Changed the name of shader filesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14553 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-26 09:34 robert - * src/osgPlugins/vnc/ReaderWriterVNC.cpp: Implement a simply - attempt at detecting when the pixel format needs to be swapped. +Wed, 26 Nov 2014 20:40:57 +0000 +Checked in by : Robert OSFIELD +From Jason Beverage, "It looks like the Callback header got accidentally removed from the CMakeLists.txt in the submission yesterday for the geometry instancing example."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14551 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-25 15:55 robert - * src/osgViewer/GraphicsWindowIOS.mm: Added support for 32bit depth - buffer +Wed, 26 Nov 2014 19:05:09 +0000 +Checked in by : Robert OSFIELD +Windows build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14550 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-25 15:31 robert - * src/osg/GraphicsContext.cpp: Added hack of using a 32bit depth - buffer default setting for Traits when compiling under Apple. +Wed, 26 Nov 2014 17:08:16 +0000 +Checked in by : Robert OSFIELD +Fixed warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14549 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-24 13:40 robert - * applications/present3D/present3D.cpp: Moved switching off of the - cursor till after the slide event handler has had a chance to - switch off the scene. +Wed, 26 Nov 2014 17:04:12 +0000 +Checked in by : Robert OSFIELD +Fixed warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14546 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-24 11:09 robert - * src/osgPresentation/SlideEventHandler.cpp: Fixed handling of - slide with no layers. +Wed, 26 Nov 2014 16:29:53 +0000 +Checked in by : Robert OSFIELD +Fixed deprecated warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14545 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-22 09:02 robert - * include/osgDB/DataTypes, include/osgDB/StreamOperator, - src/osgDB/CMakeLists.txt, src/osgDB/StreamOperator.cpp: Fixed - build of StreamOperator +Wed, 26 Nov 2014 16:15:37 +0000 +Checked in by : Robert OSFIELD +Fixed warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14542 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-21 15:39 robert - * include/osg/GLBeginEndAdapter, src/osg/ArrayDispatchers.cpp: - Fixed handling of Vec3dArray in - GLBeginEdnAdapter/ArrayDispatchers. +Wed, 26 Nov 2014 16:04:33 +0000 +Checked in by : Robert OSFIELD +Fixed warnings.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14539 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-21 11:00 robert - * src/osgPresentation/SlideShowConstructor.cpp: Added support for - using negative scale_x, scale_y and scale_z values in the - tag to allow presentations to flip the imagery +Wed, 26 Nov 2014 16:00:18 +0000 +Checked in by : Robert OSFIELD +Fixed warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14537 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-21 10:59 robert - * include/osg/Image, src/osg/Image.cpp: Added flipDepth() method +Wed, 26 Nov 2014 15:59:23 +0000 +Checked in by : Robert OSFIELD +Fixed warninggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14536 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-21 09:31 robert - * src/osgPresentation/SlideShowConstructor.cpp: Fixed handling of - scale.x, scale.y and scale.z paramters so that all of them now - take an effect. +Wed, 26 Nov 2014 14:06:27 +0000 +Checked in by : Robert OSFIELD +Added osgTerrain::DisplacementMappingTechnique serializergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14535 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-20 16:49 robert - * src/osgWrappers/deprecated-dotosg/osgVolume/PropertyAdjustmentCallback.cpp, - src/osgWrappers/serializers/osgVolume/Locator.cpp, - src/osgWrappers/serializers/osgVolume/PropertyAdjustmentCallback.cpp, - src/osgWrappers/serializers/osgVolume/VolumeTile.cpp: Fixed - handling of reading/writing of osgVolume::VolumeTile tiles +Wed, 26 Nov 2014 14:04:20 +0000 +Checked in by : Robert OSFIELD +Renamed ShaderTerrain to DisplacementMappingTechnique and moved it from the osgterrain example testbed into the osgTerrain NodeKitgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14534 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-20 16:35 robert - * include/osgDB/StreamOperator, src/osgDB/InputStream.cpp, - src/osgPlugins/osg/BinaryStreamOperator.h: Added support for - calling throwException() from InputIterator and added a check for - negative string sizes. +Wed, 26 Nov 2014 13:36:28 +0000 +Checked in by : Robert OSFIELD +Moved osgTerrain::GeometryPool from osgterrain example into osgTerrain NodeKitgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14533 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-20 11:50 robert - * examples/CMakeLists.txt: Added check against build type to avoid - the build of the osgviewerWX example with debug build as this - fails with unresolved symbols within the internals of WxWidgets. +Tue, 25 Nov 2014 14:37:05 +0000 +Checked in by : Robert OSFIELD +Removed GL header as it's already included via the ${OPENSCENEGRAPH_OPENGL_HEADER} entry.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14532 16af8721-9629-0410-8352-f15c8da7e697 -2011-10-20 10:52 robert - * CMakeLists.txt: From Ulrich Hertlein, fixed build problem due to - cmake_policy CMP0017 being only available from cmake-2.8.4, added - guard to prevent build problems +Tue, 25 Nov 2014 10:58:23 +0000 +Checked in by : Robert OSFIELD +From PawelKsiezopolski, "This submission contains a new example for OSG : a geometry instancing rendering algorithm consisting of two consequent phases :- first phase is a GLSL shader performing object culling and LOD picking ( a culling shader ). + Every culled object is represented as GL_POINT in the input osg::Geometry. + The output of the culling shader is a set of object LODs that need to be rendered. + The output is stored in texture buffer objects. No pixel is drawn to the screen + because GL_RASTERIZER_DISCARD mode is used. + +- second phase draws osg::Geometry containing merged LODs using glDrawArraysIndirect() + function. Information about quantity of instances to render, its positions and other + parameters is sourced from texture buffer objects filled in the first phase. + +The example uses various OpenGL 4.2 features such as texture buffer objects, +atomic counters, image units and functions defined in GL_ARB_shader_image_load_store +extension to achieve its goal and thus will not work on graphic cards with older OpenGL +versions. + +The example was tested on Linux and Windows with NVidia 570 and 580 cards. +The tests on AMD cards were not conducted ( due to lack of it ). +The tests were performed using OSG revision 14088. + +The main advantages of this rendering method : +- instanced rendering capable of drawing thousands of different objects with + almost no CPU intervention ( cull and draw times are close to 0 ms ). +- input objects may be sourced from any OSG graph ( for example - information about + object points may be stored in a PagedLOD graph. This way we may cover the whole + countries with trees, buildings and other objects ). + Furthermore if we create osgDB plugins that generate data on the fly, we may + generate information for every grass blade for that country. +- every object may have its own parameters and thus may be distinct from other objects + of the same type. +- relatively low memory footprint ( single object information is stored in a few + vertex attributes ). +- no GPU->CPU roundtrip typical for such methods ( method uses atomic counters + and glDrawArraysIndirect() function instead of OpenGL queries. This way + information about quantity of rendered objects never goes back to CPU. + The typical GPU->CPU roundtrip cost is about 2 ms ). +- this example also shows how to render dynamic objects ( objects that may change + its position ) with moving parts ( like car wheels or airplane propellers ) . + The obvious extension to that dynamic method would be the animated crowd rendering. +- rendered objects may be easily replaced ( there is no need to process the whole + OSG graphs, because these graphs store only positional information ). + +The main disadvantages of a method : +- the maximum quantity of objects to render must be known beforehand + ( because texture buffer objects holding data between phases have constant size ). +- OSG statistics are flawed ( they don't know anymore how many objects are drawn ). +- osgUtil::Intersection does not work + +Example application may be used to make some performance tests, so below you +will find some extended parameter description : +--skip-dynamic - skip rendering of dynamic objects if you only want to + observe static object statistics +--skip-static - the same for static objects +--dynamic-area-size - size of the area for dynamic rendering. Default = 1000 meters + ( square 1000m x 1000m ). Along with density defines + how many dynamic objects is there in the example. +--static-area-size - the same for static objects. Default = 2000 meters + ( square 2000m x 2000m ). + +Example application defines some parameters (density, LOD ranges, object's triangle count). +You may manipulate its values using below described modifiers: +--density-modifier - density modifier in percent. Default = 100%. + Density ( along with LOD ranges ) defines maximum + quantity of rendered objects. registerType() function + accepts maximum density ( in objects per square kilometer ) + as its parameter. +--lod-modifier - defines the LOD ranges. Default = 100%. +--triangle-modifier - defines the number of triangles in finally rendered objects. + Default = 100 %. +--instances-per-cell - for static rendering the application builds OSG graph using + InstanceCell class ( this class is a modified version of Cell class + from osgforest example - it builds simple quadtree from a list + of static instances ). This parameter defines maximum number + of instances in a single osg::Group in quadtree. + If, for example, you modify it to value=100, you will see + really big cull time in OSG statistics ( because resulting + tree generated by InstanceCell will be very deep ). + Default value = 4096 . +--export-objects - write object geometries and quadtree of instances to osgt files + for later analysis. +--use-multi-draw - use glMultiDrawArraysIndirect() instead of glDrawArraysIndirect() in a + draw shader. Thanks to this we may render all ( different ) objects + using only one draw call. Requires OpenGL version 4.3 and some more + work from me, because now it does not work ( probably I implemented + it wrong, or Windows NVidia driver has errors, because it hangs + the apllication at the moment ). + +This application is inspired by Daniel Rákos work : "GPU based dynamic geometry LOD" that +may be found under this address : http://rastergrid.com/blog/2010/10/gpu-based-dynamic-geometry-lod/ +There are however some differences : +- Daniel Rákos uses GL queries to count objects to render, while this example + uses atomic counters ( no GPU->CPU roundtrip ) +- this example does not use transform feedback buffers to store intermediate data + ( it uses texture buffer objects instead ). +- I use only the vertex shader to cull objects, whereas Daniel Rákos uses vertex shader + and geometry shader ( because only geometry shader can send more than one primitive + to transform feedback buffers ). +- objects in the example are drawn using glDrawArraysIndirect() function, + instead of glDrawElementsInstanced(). + +Finally there are some things to consider/discuss : +- the whole algorithm exploits nice OpenGL feature that any GL buffer + may be bound as any type of buffer ( in our example a buffer is once bound + as a texture buffer object, and later is bound as GL_DRAW_INDIRECT_BUFFER ). + osg::TextureBuffer class has one handy method to do that trick ( bindBufferAs() ), + and new primitive sets use osg::TextureBuffer as input. + For now I added new primitive sets to example ( DrawArraysIndirect and + MultiDrawArraysIndirect defined in examples/osggpucull/DrawIndirectPrimitiveSet.h ), + but if Robert will accept its current implementations ( I mean - primitive + sets that have osg::TextureBuffer in constructor ), I may add it to + osg/include/PrimitiveSet header. +- I used BufferTemplate class writen and published by Aurelien in submission forum + some time ago. For some reason this class never got into osg/include, but is + really needed during creation of UBOs, TBOs, and possibly SSBOs in the future. + I added std::vector specialization to that template class. +- I needed to create similar osg::Geometries with variable number of vertices + ( to create different LODs in my example ). For this reason I've written + some code allowing me to create osg::Geometries from osg::Shape descendants. + This code may be found in ShapeToGeometry.* files. Examples of use are in + osggpucull.cpp . The question is : should this code stay in example, or should + it be moved to osgUtil ? +- this remark is important for NVidia cards on Linux and Windows : if + you have "Sync to VBlank" turned ON in nvidia-settings and you want to see + real GPU times in OSG statistics window, you must set the power management + settings to "Prefer maximum performance", because when "Adaptive mode" is used, + the graphic card's clock may be slowed down by the driver during program execution + ( On Linux when OpenGL application starts in adaptive mode, clock should work + as fast as possible, but after one minute of program execution, the clock slows down ). + This happens when GPU time in OSG statistics window is shorter than 3 ms. +" + + +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14531 16af8721-9629-0410-8352-f15c8da7e697 + + +Tue, 25 Nov 2014 10:33:20 +0000 +Checked in by : Robert OSFIELD +Removed DrawArrays optimization to simplify the code and open the door to adding primitive combining.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14530 16af8721-9629-0410-8352-f15c8da7e697 + + +Tue, 25 Nov 2014 10:11:06 +0000 +Checked in by : Robert OSFIELD +Commented out State::setUpVertexAttribAlias(..) debug message.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14529 16af8721-9629-0410-8352-f15c8da7e697 + + +Mon, 24 Nov 2014 15:19:20 +0000 +Checked in by : Robert OSFIELD +From Jan Klimke, "i noticed, that there are a couple of additional flaws when building osg for Mac OS X 10.10 Yosemite.The mac os sdk version is recognized by the current CMAKE script as 10.1 instead of 10.10 since it cuts the version string from the 4th place. I introduced a more reliable version checking based on splitting the returned version code into MAJOR MINOR and PATCH parts and reassemble the OSG sdk version afterwards. + +I replaced the existing CMake code against the following (returning now version 10.10 as expected): + + # Determine the canonical name of the selected Platform SDK + EXECUTE_PROCESS(COMMAND "/usr/bin/sw_vers" "-productVersion" + OUTPUT_VARIABLE OSG_OSX_SDK_NAME + OUTPUT_STRIP_TRAILING_WHITESPACE) + STRING(REPLACE "." ";" MACOS_VERSION_LIST ${OSG_OSX_SDK_NAME}) + LIST(GET MACOS_VERSION_LIST 0 MACOS_VERSION_MAJOR) + LIST(GET MACOS_VERSION_LIST 1 MACOS_VERSION_MINOR) + LIST(GET MACOS_VERSION_LIST 2 MACOS_VERSION_PATCH) -2011-10-20 09:23 robert + SET(OSG_OSX_SDK_NAME "macosx${MACOS_VERSION_MAJOR}.${MACOS_VERSION_MINOR}") - * CMakeLists.txt: Improved handling of recent Cmake versions +Also i added the check for the new Version to some more find scripts. -2011-10-20 08:59 robert +Additionally the nil object in Objective C now seems to be equivalent with a null_ptr that cannot be passed as GLInt anymore. So i switched this in the PixelBufferCocoa.mm to pass a zero instead of nil. +" - * examples/osgvolume/osgvolume.cpp: Fixed typo in command line - output, and add an explanation message for when createTexture3D - fails to create an osg::Image from a list of input osg::Image. -2011-10-17 15:39 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14527 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgShadow/ViewDependentShadowMap.cpp: Fixed typo -2011-10-17 14:41 robert +Mon, 24 Nov 2014 14:54:39 +0000 +Checked in by : Robert OSFIELD +Added VertexAttribDivisor class to wrap up glVertexAttribDivisor functiongit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14526 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUtil/CullVisitor, src/osgUtil/CullVisitor.cpp: - Improvements to the compute near/far -2011-10-17 14:40 robert +Mon, 24 Nov 2014 14:09:14 +0000 +Checked in by : Robert OSFIELD +Fixed osgsimplegl3 example's set up of the main camera.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14524 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgShadow/ShadowSettings, - src/osgShadow/ShadowSettings.cpp, - src/osgShadow/ViewDependentShadowMap.cpp: Improvements to - osgShadow::ViewDependentShadowMap and ShadowSettings -2011-10-17 11:12 robert +Mon, 24 Nov 2014 14:01:05 +0000 +Checked in by : Robert OSFIELD +Added numTextureUnits parameter to the osg::State::resetVertexAttributeAlias(bool, unit) method, and set the default to 8.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14523 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgshadow/osgshadow.cpp: Quitened down debug message -2011-10-17 10:25 robert +Fri, 21 Nov 2014 20:16:16 +0000 +Checked in by : Robert OSFIELD +From Alberto Luaces,"the current code uses the preprocessor for generating the plugin path in a way that when CMAKE_INSTALL_PREFIX contains something along the lines of/usr/x86_64-linux-gnu/ - * examples/osgshadow/osgshadow.cpp: From Jean-Sebastien Guay, add - --mapres size option to ViewDependentShadowMap settings. +it gets substituted as -2011-10-03 15:57 robert +/usr/x86_64-1-gnu/ - * src/osgShadow/ViewDependentShadowMap.cpp: Add catch for when - shadows are enabled between the update and draw traversals. +that is, the string is preprocessed again, thereby making changes to +anything that matches any defined symbol, as "linux" in this example +(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763816). -2011-10-03 15:25 robert +Quoting that path directly in CMake scripts solves that problem. +" - * src/osgShadow/ViewDependentShadowMap.cpp: From Jean-Sebastien - Guay, changed the border colour for the shadow map to be 1 rather - the 0 used for debugging so that areas outside the shadow map - default to being unshadowed rather than shadowed. - changed the shadow map texture assigment to StateSet so that it - doesn't use OVERRIDE, enabling subgraphs to use the same texture - unit for other textures if they so required. - tidied up indentation. -2011-10-03 14:57 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14522 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/freetype/FreeTypeFont.cpp: Changed getVertical(..) - so it uses the same coord scale as the getGlyph -2011-10-03 14:56 robert +Fri, 21 Nov 2014 20:15:30 +0000 +Checked in by : Robert OSFIELD +Added comment clarifying how Image::getColor(..) out of 0..1 range texcoords are handled - now clamped to edge.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14520 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgShadow/ViewDependentShadowMap.cpp: Fixed handling of - ShadowSetting LightNum -2011-10-03 10:36 robert +Fri, 21 Nov 2014 17:22:30 +0000 +Checked in by : Robert OSFIELD +Implemented a clamp to edge policy for the Image::g/setColor(color, texcoord).git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14519 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgText/Font, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h: Added - Font::getVertical(float& ascender, float& descender) methods. -2011-09-28 11:52 robert +Fri, 21 Nov 2014 17:17:11 +0000 +Checked in by : Robert OSFIELD +Added testing for Drawables in the CopyOp::operator(Node*) to replicate the old functionality.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14518 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgUtil/Tessellator.cpp: Added catch for NaN vertices that - were being generated by osgText, these NaN vertices were causing - glu tesselation functions to crash. -2011-09-28 10:54 robert +Fri, 21 Nov 2014 16:27:29 +0000 +Checked in by : Robert OSFIELD +From Sebastian Messerschmidt, "Added setColor function to modify an image based on texture coordinates, parallel to the getColor functionality."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14517 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgShadow/ViewDependentShadowMap.cpp: Added computation of - the extents, in light space, of the shadow maps RenderStage - contents and use of this to produce a tighter bound light space - projection. -2011-09-20 11:46 robert +Fri, 21 Nov 2014 14:46:08 +0000 +Checked in by : Robert OSFIELD +Added --db-affinit cpuNum option to osgterrain example to illustrate how to set the thead affinity of the DatabasePager threads.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14516 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPresentation/PickEventHandler.cpp: Added a half second - sleep after calling system command when the command is run in the - background so - that this command has a chance to run and open a window before - the calling present3D moves on to the next frame. -2011-09-20 10:59 robert +Fri, 21 Nov 2014 10:44:01 +0000 +Checked in by : Robert OSFIELD +From Sebastian Messerschmidt, "Attached you find a change adding a getNumSamples() function to retrieve the value set via setNumSamples."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14515 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added better error - reporting and handling when tag contents are not valid. -2011-09-20 10:01 robert +Fri, 21 Nov 2014 10:37:33 +0000 +Checked in by : Robert OSFIELD +From Rafa Gaitan, "I finally had some time to change the build system for Android using a Toolchain, which, I think, will be easier to maintain and uses cmake standard system to build it.My changes: +------------------- +- I changed the cmake files and added a toolchain for building OSG in Android. The toolchain is based on the one used at OpenCV. For building OSG for android you just need to do: - * src/osgDB/XmlParser.cpp: Added handling of tag and - "" options. + mkdir build_android_static_gles2 && cd build_android_static_gles2 + cmake .. -DANDROID_NDK= + -DCMAKE_TOOLCHAIN_FILE=../PlatformSpecifics/Android/android.toolchain.cmake + -DOPENGL_PROFILE="GLES2" + -DDYNAMIC_OPENTHREADS=OFF + -DDYNAMIC_OPENSCENEGRAPH=OFF + -DANDROID_NATIVE_API_LEVEL=15 # optional + -DANDROID_ABI=armeabim #optional + -DCMAKE_INSTALL_PREFIX= #optional +make -j 8 +make install -2011-09-19 10:42 robert + The OPENGL_PROFILE works as expected, changing it to "GLES1" it builds and links OSG using GLES1. + The DYNAMIC_OPENTHREADS/DYNAMIC_OPENSCENEGRAPH parameters also allows to build the dynamic libraries - * src/osgViewer/GraphicsWindowCocoa.mm: From Ulrich Hertlein, - "attached is a patch that cleans up compiler warnings and common - functionality." +- I also added some build fixes for android related to the texture formats and added some missing USE_OSG_SERIALIZER_WRAPPER in the osg serializer library to support loading osgb files in static." -2011-09-19 10:39 robert - * src/osgViewer/GraphicsWindowWin32.cpp: From Wojciech Lewandowski, - "There was a bug in reading modifier keys when focus to - GraphicsWindowWin32 was restored. Handler of WM_SETFOCUS was - reading pressed keys and sending WM_KEYDOWN messages to fill - initial keyboard state. But WM_KEYDOWN messages sent had 0 on - lParam and adaptKey method computing state of modifier mask was - using lParam to find which modifier keys are down. Obviously when - lParam was 0 it was not recording proper modifier masks. - - This patch fixes this code sending proper lParam and also makes - sure LEFT_CONTROL will be not confused with RIGHT_CONTROL." - -2011-09-19 10:34 robert - - * include/osg/LOD, include/osg/ProxyNode, src/osg/LOD.cpp, - src/osg/ProxyNode.cpp, src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgWrappers/serializers/osg/LOD.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp: From Luc Frauciel, - "You'll find attached a new option that allow, when using LOD in - USER_DEFINED_CENTER mode to expand the radius of the node by the - radius of loaded objets. - Motivation ; - When using PagedLODs, you don't always know the real size of - loaded children, - If it occurs that they are out of predefined bounds, picking on - the parts that are out of bound will fail - They also can be culled out too soon. - The problem often occurs with long object (roads). - I've modified LOD and ProxyNode to include this option." - - and later email: - - "Attached the UNION_OF_BOUNDING_SPHERE_AND_USER_DEFINED version - There are impacts on some serializers (dae, osgWrapper). - I haven't modified deprecated osg, since it's deprecated" - -2011-09-19 10:12 robert - - * src/osg/Program.cpp: Added removal of [..] from names returned - from glGetActiveUniform results to avoid issues with name lookups - when the driver add the [..] for uniform arrays. - -2011-09-19 09:44 robert - - * src/osgPlugins/revisions/ReaderWriterRevisions.cpp: Copya and - Paste Anti-Pattern strikes again! Renamed FreeType usage to - Revisions to correct previous mistake when copying and modifying - the ReaderWriter. - -2011-09-14 10:45 robert - - * examples/osgviewerWX/osgviewerWX.cpp: Fixed memory leak - -2011-09-14 10:22 robert - - * include/osg/Node: Added missing forward declaration - -2011-09-14 10:02 robert - - * include/osg/Camera, include/osg/Node: Added asCamera() methods - into osg::Camera and osg::Node - -2011-09-14 09:49 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp: From Laurens Voerman, - "attached is a zipped - OpenSceneGraph\src\osgPlugins\ffmpeg\FFmpegDecoderAudio.cpp - - It solves a wrong sample format being set for audiostreams type - S32 and F32, for the - enum AVSampleFormat (in include/avutil/samplefmt.h) doesn't match - enum SampleFormat (in include/osg/AudioStream) for anything but - SAMPLE_FORMAT_U8 and SAMPLE_FORMAT_S16 - " - - and follow up that address versioning issue - - "I can find the change, avutil version 50.38.0 introduced a new - header file: - libavutil/samplefmt.h - older versions use - libavcodec/avcodec.h - with the sampleformats without AV_ - - an intermideate fix with the FF_API_OLD_SAMPLE_FMT is removed - from ffmpeg 0.8.3 so - I think this is the correct fix: - - #if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(50,38,0) - #define AV_SAMPLE_FMT_NONE SAMPLE_FMT_NONE - #define AV_SAMPLE_FMT_U8 SAMPLE_FMT_U8 - #define AV_SAMPLE_FMT_S16 SAMPLE_FMT_S16 - #define AV_SAMPLE_FMT_S32 SAMPLE_FMT_S32 - #define AV_SAMPLE_FMT_FLT SAMPLE_FMT_FLT - #define AV_SAMPLE_FMT_DBL SAMPLE_FMT_DBL - #define AV_SAMPLE_FMT_NB SAMPLE_FMT_NB - #endif - " - -2011-09-13 13:38 robert - - * include/osg/OcclusionQueryNode, src/osg/OcclusionQueryNode.cpp: - From Morten Hauknes, "I have been using the - getLastVisiblePixelCount on pre 3.0 osg. I believe maybe this was - a private function that we made public in our side. I use(d) this - method to make a simple algorithm to tell how much visible an - object was in percent. - - So with the 3.0 api change we propose the following change: - - put OSG_EXPORT on the QueryGeometry class so that we get access - to the getNumPixels method. - - Create a function called getQueryGeometry that returns a casted - _queryGeode->getDrawable(). Or a function called getQueryGeode - that returns _queryGeode." - -2011-09-13 13:33 robert - - * examples/CMakeLists.txt: From Jean-Sebastien Guay, removed - unneccessary BUILD_QT_EXAMPLES cmake option - -2011-09-13 11:48 robert - - * src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgPlugins/osg/XmlStreamOperator.h: From Sukender, "I just - fount that writing double precision values (eg. Vec3dArray for - vertices) works with .osg but not .osgt/.osgx. So here is the fix - (SVN trunk r12712). I suppose .osgb works as expected on this - point and did not change anything. - So, as for .osg, if you add "precision 16" (for instance) to the - optionString, then you'll get double precision vertices written - correctly. - " - -2011-09-13 11:09 robert - - * include/osg/GraphicsContext, include/osgQt/GraphicsWindowQt, - src/osgQt/GraphicsWindowQt.cpp: From Robert Milharcic, "This will - hopefully fix some issues with osgQt, more precisely with - GLWidget event handling. There are at least two current GL - context braking events, QEvent::Hide and QEvent::ParentChange. - When running in a multithreaded mode they both try to change - current GL context in a wrong thread (main GUI thread). The - QEvent::ParentChange is also problematic when running in a single - threaded model because Qt is going to release current contex then - delete it, and then it will create new one, and as a result the - osg will continue to render to an invalid deleted context. This - changes workaround above problems by deferring execution of the - problematic evens. These events has to be enqueued and executed - later. The enqueued event processing is currently done right - after swap in a swapBuffersImplementation of GraphicsWindowQt - while code is running in a render thread by calling QGLWidget - handler directly. In principle the deferred events queue should - be executed while in GUI thread but I couldn't find any reliable - way to do this, that is without risking a deadlock. For now it is - assumed, Qt is not going to execute any GUI thread only - operations inside the QGLWidget handler." - -2011-09-13 10:15 robert - - * src/osgUtil/CullVisitor.cpp: From Farshid Lashkari, " - The osgUtil::CullVisitor class will display an OSG_INFO - notification when attempting to clamp the projection matrix with - invalid near/var values. This usually appears when the scene - graph is empty or all objects are culled. I don't think this - scenario warrants having this message appear every frame. It - makes it very difficult to debug other issues when this - notification floods the output window. - - I'd prefer to have the notification removed, but there might be - legitimate cases where you want this displayed. Instead, I just - disabled the output if the near/far values are equal to FLT_MAX - (their initial values). This should at least prevent the - notification for the common case where everything was culled." - -2011-09-13 09:59 robert - - * include/osg/CullSettings, include/osg/CullingSet, - src/osg/CullingSet.cpp: From Paul Martz, "Here's my proposed - change regarding the osg-users post "small feature culling - threshold". I've updated the comments and brought the default - values into agreement, but didn't bother to add the environment - variable support." - -2011-09-13 09:53 robert - - * CMakeLists.txt: From Jean-Sebastien Guay, "I added a simple - setting in OSG's CMakeLists.txt to be able to disable building - anything related to Qt. It just skips the FindPackage(...) for - Qt3 and Qt4, so since they are not found nothing related to Qt - will be generated by CMake. The default is to build the Qt - related stuff, so current behavior is unchanged." - -2011-09-13 09:46 robert - - * src/osg/Image.cpp: From Sukender, "I added a tiny check to avoid - an integer divide-by-zero, when image is invalid (ie. all values - are 0)." - -2011-09-13 09:43 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Sukender, "I added a - crash-guard against corrupted 3DS files, having faces indexes out - of the range of existing vertices." - -2011-09-13 09:21 robert - - * src/osgText/Text.cpp: From Farshild Lashkari, "Attached is a - simple patch that avoids the depth write pass in - Text::renderWithDelayedDepthWrites if the current osg::State - object has GL_DEPTH_TEST disabled." - -2011-09-13 09:17 robert - - * src/osgDB/FileUtils.cpp: Reverted Paul Idstein warning fix as - this was breaking the build - -2011-09-12 16:24 robert - - * src/osgViewer/DarwinUtils.mm: From Ulrich Hertlein, Added some - error checks and memory cleanup. - -2011-09-12 16:20 robert - - * src/osgViewer/DarwinUtils.mm: From Stephan Huber, fixed build for - OSX 10.6 and earlier - -2011-09-12 16:17 robert - - * include/osg/BufferObject: From Johannes Baeuerle, opptimization - of ES support of osg/BufferObject - -2011-09-12 12:38 robert - - * include/osgViewer/ViewerEventHandlers: From Bjorn Blissing, - "Found a minor (probably a copy & paste) bug in - ViewerEventHandlers. - Line 251: - int getKeyEventWindowedResolutionDown() const { return - _keyEventWindowedResolutionUp; } - - Should be replaced with: - int getKeyEventWindowedResolutionDown() const { return - _keyEventWindowedResolutionDown; }" - -2011-09-12 12:26 robert - - * src/osgUtil/DelaunayTriangulator.cpp: From Luc Frauciel, "When - osgUtil::DelaunayTriangulator triangulate() function ends with no - triangle generated, it crashes. - This patch fixes that" - -2011-09-12 12:14 robert - - * include/osgUtil/SceneView, include/osgViewer/View: From Magnus - Kessler, documentation fixes - -2011-09-12 12:04 robert - - * include/osg/GraphicsContext: Improved the clarity of doxygen - comments - -2011-09-12 11:51 robert - - * include/osgUtil/SceneView: Fixed typos in the documentation - -2011-09-12 11:28 robert - - * src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeReader.cpp: From Cedric Pinson, from three - submissions: - - "Here a patch that correct like the previous assign collada - material name - to stateset." - - and - - "I changed how the collada reader set object name in osg. Current - implementation use collada ID to setup name. with this patch I - use - collada name to setup name in osg object and if collada provide - no name - I use as fallback ID. I am not sure we want this fallback. - - The motivation of this change is that when an artist set names to - its - objects and export to collada, I am not able to use those names - in osg - to retrieve the node." - - and - - "Here the update of the file that fix the light id stuff" +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14514 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-12 11:24 robert - * src/osgViewer/DarwinUtils.mm: From Bob Kuehne, build fix for OSX - 10.7 SDK. +Fri, 21 Nov 2014 10:21:46 +0000 +Checked in by : Robert OSFIELD +From Björn Blissing, fix for ambiguous defines in Atomic.cpp when compiling with MinGW and GCCgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14513 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-12 11:24 robert - * src/osgDB/FileUtils.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Paul - Idstein, warning fixes for OSX 10.7 +Thu, 20 Nov 2014 17:37:52 +0000 +Checked in by : Robert OSFIELD +From Claus Steuer, "XCode 6, IOs 8.1 SDK Compile fix : There are some undefined texture formats when compiling osg for IOs 8.1 with XCode 6 and OpenGLES2 enabled."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14510 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-12 10:52 robert - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/View.cpp: From - Magnus Kessler, typo fixes +Thu, 20 Nov 2014 17:00:14 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "I was experimenting with VBO's to try to get them on par with display lists when drawing lots of batches and noticed that my program generated a lot of unneeded glClientActiveTexture calls. Digging deeper I found out it came from State::disableTexCoordPointer where the function would call glClientActiveTexture but not glDisableClientState because the geometry didn't have texture coordinates for that channel. This is because in our scene there are some geometries that have move than one uv channels making State::_texCoordArrayList grow. Then the method State::applyDisablingOfVertexAttributes() will call disableTexCoordPointer multiple times.I rearrange the method a little to combat this. Now the logic has the +same ordering as disableTexCoordPointersAboveAndIncluding which +already combats this." -2011-09-12 10:47 robert - * examples/osgviewerMFC/MFC_OSG.cpp, - examples/osgviewerMFC/MFC_OSG.h, - examples/osgviewerMFC/MFC_OSG_MDIView.cpp, - examples/osgviewerMFC/MFC_OSG_MDIView.h: From Wang Rui, "I've - encountered a strange problem that osgviewerMFC doesn't work well - with the StatsHandler. When the 's' key is pressed, the rendering - window will be halted. I tried solving the problem by commenting - a - line in CMFC_OSG_MDIView::OnKeyDown() and it seems to work now. - - Another improvement here is to use a thread class derived from - OpenThreads to replace the old _beginthread(). It helps a lot in - keeping a high frame rate when you open more than one MDI child - windows. And the application using OpenThreads in my opinion will - be - more compatible and portable." +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14508 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-12 10:46 robert - * CMakeLists.txt, include/osg/Version: Updated SO version number to - 90 to allow for recent changes to the ABI, and to set the base - for the 3.1.0 series. +Thu, 20 Nov 2014 16:38:23 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "The obj loader was overriding the existing database path list with the file path of the model, instead of prepending the file path to the path list. The latter seems to be more common behavior for most of the existing loader plugins. Also, the local options weren't actually being used when processing the scene graph for textures. I've attached the fix for both issues."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14507 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-12 10:43 robert - * include/osg/ValueObject: From Sukender, "I added private - constructors to osg::ValueObject & TemplatedValueObject, to avoid - allocation on the stack and ugly things like: - TemplatedValueObject value(....); - container->addUserObject(value);" +Thu, 20 Nov 2014 10:52:24 +0000 +Checked in by : Robert OSFIELD +From Marc Helbling, "here is a trivial fix in the Inventor plugin. In one code path, the pointer validity is checked after dereferencing a pointer that can be null (image->valid()) instead of calling ref_ptr::valid (image.valid())."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14505 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-07 20:05 robert - * include/osgShadow/ShadowSettings, - src/osgShadow/ShadowSettings.cpp, - src/osgShadow/ViewDependentShadowMap.cpp: Added handling the - ShadowSettings::LightNum for selecting which light to use. +Thu, 20 Nov 2014 10:45:05 +0000 +Checked in by : Robert OSFIELD +From Marc Helbling, "I've come across scenes that contains geometries with initialized but empty vertex arrays and primitives and that would make some optimizers crash.The submission therefore only contains a test on the size of the vertex array for the VertexCacheMissVisitor and the VertexAccessOrderVisitor visitors." -2011-09-07 16:26 robert - * src/osgShadow/ViewDependentShadowMap.cpp: Added handling of the - case when RenderLeaf::_modelview matrix is NULL, such as when - LightPointNode is used in the scene graph. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14503 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-07 15:55 robert - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ShadowSettings, - include/osgShadow/ShadowTechnique, - include/osgShadow/ShadowedScene, - include/osgShadow/ViewDependentShadowMap, - src/osgShadow/CMakeLists.txt, src/osgShadow/ShadowSettings.cpp, - src/osgShadow/ShadowedScene.cpp, - src/osgShadow/ViewDependentShadowMap.cpp: Moved - ViewDependetShadowMap parameter settings into a dedicated - ShadowSettings object in prep for making it possible to scale the - API to handle multiple lights and multiple shadow maps per light. +Thu, 20 Nov 2014 10:05:52 +0000 +Checked in by : Robert OSFIELD +From Christian Ruzicka, "while testing this commit on our OSG 3.2 version, I observed that the changes for ETC2 brake ETC1 support. Attached you'll find the changes to get ETC1 running again"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14501 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-06 17:26 robert - * src/osgShadow/ViewDependentShadowMap.cpp: Added setting of the - shadow map Camera's name to "ShadowCamera" to improve integration - with osgOcean. +Thu, 20 Nov 2014 09:55:50 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Fix for 3DS reader, which may read wrong triangles. Actually, indices may suffer a 'short int' overflow, in two places."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14500 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-06 14:13 robert - * examples/osgshadow/osgshadow.cpp: Added optimization of the - mutliple cessna shadow model to address peformance issues when - rendering 100 cessna's. +Thu, 20 Nov 2014 09:41:27 +0000 +Checked in by : Robert OSFIELD +Fixed segfalt in Texture2DArray copy constructor where it would apply images to an uninitialzed vector.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14498 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-06 11:42 robert - * examples/osgshadow/osgshadow.cpp: Added -5 model option using - Wang Rui's test demo as a base +Thu, 20 Nov 2014 09:32:38 +0000 +Checked in by : Robert OSFIELD +From Marc Helbling, "patch adding support for ambient material in the FBX plugin. It's a straightfoward adaptation of the emissive support and has been tested on a proprietary model."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14495 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-06 11:11 robert - * examples/osgshadow/IslandScene.cpp: Fixed the heights of the - trees and houses +Thu, 20 Nov 2014 09:21:52 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, fix for build breakage with giflib 5.0.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14493 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-06 10:12 robert - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Added - s/getPerspectiveShadowMapCutOffAngle() and use of this when - setting up light space to avoid sigularaties when - the light and view directions are co-incident. +Thu, 20 Nov 2014 08:26:34 +0000 +Checked in by : Robert OSFIELD +From Per Nordqvist, "The README.txt is still somewhat confusing so I have updated it"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14491 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-05 12:36 robert - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Added support for - setting whether ViewDependentShadowMap should provide it's own - vertex and fragment shaders. +Wed, 19 Nov 2014 17:45:45 +0000 +Checked in by : Robert OSFIELD +Removed configure script as it's no longer required as cmake . will now default to Releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14490 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-05 12:27 robert - * examples/osgshadow/CMakeLists.txt, - examples/osgshadow/IslandScene.cpp: Replaced use of ShapeDrawable - with osgTerrain for the terrain tile +Wed, 19 Nov 2014 17:42:11 +0000 +Checked in by : Robert OSFIELD +Added CMake script to set the default CMAKE_BUILD_TYPE to Release. Approach taken from simgear.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14489 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-02 10:16 robert - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Added - s/getTextureSize() method for setting the shadow map texture - size. +Wed, 19 Nov 2014 17:29:15 +0000 +Checked in by : Robert OSFIELD +Fixed Contributors namesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14486 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-02 07:46 robert - * src/osgShadow/ViewDependentShadowMap.cpp: Disabled the use of the - ReceivesShadowTraversalMask() mask +Wed, 19 Nov 2014 17:10:21 +0000 +Checked in by : Robert OSFIELD +From Clement Boesch, "Fix remaining bit of Giflib5 usage"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14485 16af8721-9629-0410-8352-f15c8da7e697 -2011-09-01 18:49 robert - * src/osgShadow/ViewDependentShadowMap.cpp: Added test line for - COMPUTE_NEAR_USING_PRIMITIVES +Wed, 19 Nov 2014 11:37:37 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "I found a new way to crach the osgviewer: osgviewer "ProxyNode { FileNameList { cow.osgt } num_children 1 }".osgsThe proxy node reader wrongly assumes options to be non NULL. -2011-09-01 18:48 robert +fixed in attached zip: +src\osgWrappers\deprecated-dotosg\osg\ProxyNode.cpp - * include/osg/CullSettings, include/osgUtil/CullVisitor, - src/osgUtil/CullVisitor.cpp: Added fine grained computation of - the far plane when using the COMPUTE_NEAR_FAR_USING_PRIMITIVES - ComputeNearFarMode. - Added COMPUTE_NEAR_FAR_USING_PRIMITIVES option that provides the - original functionality where only the near plane - is computed in a fine grained way, with the far plane being - computed simply from bound volumes. +applies to both the 3.2 branch and svn trunk" -2011-08-29 16:01 robert - * src/osgShadow/ViewDependentShadowMap.cpp: From Tony Horrobin, - build fix +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14484 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-29 10:26 robert - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Added fallback base - texture +Wed, 19 Nov 2014 11:30:53 +0000 +Checked in by : Robert OSFIELD +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."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14482 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-29 09:59 robert - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Added support for - setting the MinimumShadowMapNearFarRatio. +Wed, 19 Nov 2014 10:43:07 +0000 +Checked in by : Robert OSFIELD +Changed the way that the cell size is passed to the shadergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14481 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-26 15:40 robert - * src/osgShadow/ViewDependentShadowMap.cpp: Fixed bug in computaton - of the min/max x/z ratios. +Wed, 19 Nov 2014 09:33:53 +0000 +Checked in by : Robert OSFIELD +From James Turner, "Converting the loops to forward versions fixed the issue. The problem is size_t is unsigned; at the limit condition it doesn’t go negative but wraps around to 0xffffffffffffffff …. and boom."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14480 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-26 15:36 robert - * examples/osgshadow/osgshadow.cpp: Added names to models to help - with debugging. +Mon, 17 Nov 2014 15:43:26 +0000 +Checked in by : Robert OSFIELD +Fixed typogit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14478 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-26 10:52 robert - * include/osgShadow/ShadowedScene, - include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ShadowedScene.cpp, - src/osgShadow/ViewDependentShadowMap.cpp: Added - releaseGLObjects/resizeGLObjectBuffers support +Mon, 17 Nov 2014 09:19:38 +0000 +Checked in by : Robert OSFIELD +Fixed typo in commentgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14477 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-25 17:21 robert - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Improved the handling - of depth partitioning and orthographic datasets +Fri, 14 Nov 2014 17:44:20 +0000 +Checked in by : Robert OSFIELD +Added use of GL_TRIANGLE_STRIP to cut down the size of the primitive indices required.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14476 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-25 15:39 robert - * examples/osgshadow/osgshadow.cpp: Added event handling for - toggling on/off the light source animation. +Fri, 14 Nov 2014 16:47:32 +0000 +Checked in by : Robert OSFIELD +Implemented skirt functionalitygit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14475 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-24 19:38 robert - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Added support for user - defined setting of the shadow texture unit +Thu, 13 Nov 2014 09:40:11 +0000 +Checked in by : Robert OSFIELD +Refactored the handling of use of the osgDB::ObjectCache in the DatabasePager to use a local thread specific ObjectCache to handle new additions and then have these additions merged with the main Registry ObjectCache during the main loop.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14474 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-24 13:57 robert - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Changed new - ViewDependentShadowMap to default to a perspective shadow map - with automatic detection of a spot light/perspetive light - projection - matrix to prevent inappropriate usage of perspective shadow map. +Tue, 11 Nov 2014 18:28:07 +0000 +Checked in by : Robert OSFIELD +Moved implementation of ObjectCache functionality out of Registry into a dedicated osgDB::ObjectCache class.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14473 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-24 12:32 robert - * src/osgShadow/ViewDependentShadowMap.cpp: Imorovements to the new - perspective/lispsm style shadow implementation. +Mon, 10 Nov 2014 16:04:43 +0000 +Checked in by : Robert OSFIELD +To handle thread safe paging and use of the osgDB::Registry ObjectCache, moved the handling of cache into osgDB::DatabasePager.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14472 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-24 12:31 robert - * src/osgUtil/CullVisitor.cpp: Quitened down and fixed warning +Thu, 6 Nov 2014 10:44:27 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "I tried your fix and it exposed a bug in my fix :) The problem is that the readObjectFields method will add the object to the _identifierMap. So all the other instances of that image in the same file will be replaced by the created dummy object. In my fix this was an dummy image and I didn't notice it in our scene's, probably because it covered a small part of an object. In your fix the dummy object was not an image and that leads to a crash when something tries to use it as an image. I have attached a small fix for this bug." -2011-08-19 12:42 robert - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Quitended down debug - messages and added passing of RenderStage to LispSM code +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14471 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-19 10:43 robert - * src/osgShadow/ViewDependentShadowMap.cpp: Improved the LispSM - computation +Thu, 6 Nov 2014 10:40:54 +0000 +Checked in by : Robert OSFIELD +Introduced use of MarkerObject to IncrmentalCompileOperation/DatabasePager as a way of marking objects that have already been processed and compiled, thus avoid potential threading conflicts when paged subgraphs are reused.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14470 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-19 10:43 robert - * src/osgUtil/CullVisitor.cpp: Changed the local variable near/far - type +Wed, 5 Nov 2014 16:08:42 +0000 +Checked in by : Robert OSFIELD +Added handling of the reading of field properties to a dummy object for cached images to avoid threading issues associated with reusing and modifying an active object.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14469 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-17 17:06 robert - * src/osgShadow/ViewDependentShadowMap.cpp: Added back in control - of the backface culling. +Wed, 5 Nov 2014 13:38:50 +0000 +Checked in by : Robert OSFIELD +Reinstated the original mechanism for OperationThread::cancel() that co-operatively releases blocks/barriers to make sure the thread is able to exit correctly.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14468 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-17 16:09 robert - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: intermin check-in of - work on new LispSM implementation +Tue, 4 Nov 2014 20:07:40 +0000 +Checked in by : Robert OSFIELD +Improvements to the ShaderTerrain experiemental terrain rendering technique.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14466 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-15 14:37 robert - * src/osg/FrameStamp.cpp: Added missing assignement of - _simulationTime. +Tue, 4 Nov 2014 20:07:15 +0000 +Checked in by : Robert OSFIELD +Changed TerrainTile::setDirty() to use children needing update traversal mechanism to address threadng issues.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14465 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-13 19:09 robert - * src/osgShadow/ViewDependentShadowMap.cpp: From Paul Martz, - "Recent changes to osgShadow on trunk were apparently not yet - tested with ref_ptr implicit casting disabled. Attached is a fix. - " +Tue, 4 Nov 2014 20:06:05 +0000 +Checked in by : Robert OSFIELD +Change isRunning variable to an Atomic to address possible race condition asscoiated with reading and writing to the variable from different threads.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14464 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-12 20:29 robert - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Added public interface - for selecting use of perspective and light space perspective - shadow maps. Implementation - of backends not implemented yet so will follow. +Tue, 4 Nov 2014 16:29:30 +0000 +Checked in by : Robert OSFIELD +Build fixes for ffmpeg LIBAVCODEC_VERSION_MAJOR >= 56git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14462 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-12 14:53 robert - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Implemented first pass - at shaders for new ViewDepedentShadow map class +Tue, 4 Nov 2014 11:18:42 +0000 +Checked in by : Robert OSFIELD +Added an InitRegistry static intiialization and destrucion static to help control the order of construction and destruction of the osgDB::Registry.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14461 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-09 15:57 robert - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Implemented - ViewDependentShadowMap::setDebugDraw(bool) to allow osgshadow to - enable/disable the debug display via the - standard --debugHUD option. +Tue, 4 Nov 2014 10:46:59 +0000 +Checked in by : Robert OSFIELD +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.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14460 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-09 15:20 robert - * src/osgShadow/ViewDependentShadowMap.cpp: Changed RTT Camera to - use depth. +Tue, 21 Oct 2014 15:08:44 +0000 +Checked in by : Robert OSFIELD +Added experimental osgTerrain::ShaderTerrain TerrainTechnique to osgterrain example to flesh out new shader based displacement mapping approach to osgTerrain databases.Requires shader files place in OpenSceneGraph-Data/shaders from OpenSceneGraph-Data's svn/trunk to function. -2011-08-09 13:39 robert +Run osgterrain example with --shader command line option to select displacement mapping shader approach. - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Implemented caching of - Camera, Texture and TexGen -2011-08-09 06:54 robert - * include/osgShadow/ViewDependentShadowMap, - include/osgUtil/StateGraph, - src/osgShadow/ViewDependentShadowMap.cpp: Added replacement of - the placeholder StateSet in the StateGraph with custom StateSet - implemented just for the - needs of that particular frame. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14458 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-08 17:00 robert - * include/osg/Polytope, include/osgShadow/ViewDependentShadowMap, - src/osgShadow/ViewDependentShadowMap.cpp: Further work on basic - ViewDependentShadowMaps, adding implementation of RTT camera and - texgen setup. +Tue, 21 Oct 2014 14:47:43 +0000 +Checked in by : Robert OSFIELD +Removed --sync related code as it's now integrated into osg::DisplaySettings and osgViewergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14457 16af8721-9629-0410-8352-f15c8da7e697 -2011-08-07 15:54 robert - * examples/osgshadow/osgshadow.cpp: From Jean-Sebestien Guay and - Robert Osfield, mixture of two sets of change - one from JS that - adds more controls for specifying positional and spot lights, and - from RO adding support for the new ViewDepedentShadowMap +Tue, 21 Oct 2014 14:46:12 +0000 +Checked in by : Robert OSFIELD +Added osg::SyncSwapBuffersCallback to include/osg/GraphicsContext and support for enabling it to include/osg/DisplaySettings, and to the Viewer/CompositeViewer::realize() methods.To enable the sync of swap buffers set the env var OSG_SYNC_SWAP_BUFFERS to ON or 1, to switch off set to OFF or 0. -2011-08-07 15:51 robert +One can also use the --sync command line option for application that pass on command line options to the osg::DisplaySettings::instance(). - * include/osgShadow/ViewDependentShadowMap, - src/osgShadow/CMakeLists.txt, - src/osgShadow/ViewDependentShadowMap.cpp: Preliminary work on new - ViewDependentShadowMap base class -2011-07-29 11:22 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14456 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgShadow/StandardShadowMap.cpp: Commented out the - colorAmbientEmissive += gl_FrontLightProduct[0].ambient; line - from the fragment shader as it was - causing problems with the shadowed region being sporadically lit - when using a spotlight. -2011-07-29 07:42 robert +Tue, 21 Oct 2014 08:27:28 +0000 +Checked in by : Robert OSFIELD +Removed checks against Drawable as these are no longer required.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14455 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgViewer/ViewerEventHandlers.cpp: Fixed comment on end - barrier position. -2011-07-28 16:40 robert +Wed, 17 Sep 2014 17:40:07 +0000 +Checked in by : Robert OSFIELD +Added support for writing the file path of a script to the lua package.path to help with loading scripts within lua.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14451 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Improved handling of - the scaling of dicom imagery. -2011-07-28 12:07 robert +Tue, 16 Sep 2014 17:40:13 +0000 +Checked in by : Robert OSFIELD +Changed osgvolume example to use the new tf plugin rather than having local code for reading transfer functiongit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14450 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgViewer/GraphicsWindowX11.cpp: Refectored the EGL setup so - that it's honours the Traits values. -2011-07-28 11:05 robert +Tue, 16 Sep 2014 11:00:01 +0000 +Checked in by : Robert OSFIELD +Added write supportgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14449 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/Texture.cpp, src/osgWrappers/serializers/osg/Texture.cpp: - Reverted the change to the default setting of - _resizeNonPowerOfTwoHint back to true for all platforms to ensure - the - same behaivour across platforms, something that can be achieved - now thanks to the integrated GLU library. - - Corrected the default of the ResizeNonPowerOfTwoHint to true to - reflect the actual default setting set by the - Texture default constructor. -2011-07-28 08:19 robert +Mon, 15 Sep 2014 17:53:44 +0000 +Checked in by : Robert OSFIELD +Added .tf & .tf-255 plugin for reading ascii 1D transfer functon files in support for volume rendering.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14448 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgDB/ObjectWrapper.cpp: From Johannes Baeuerle, "in the file - src/osgDB/ObjectWrapper.cpp, where the GlobalLookupTable for gl - enums for serialization purposes is defined, some of the - compressed texture formats are missing. I added enums for the pvr - and etc formats." -2011-07-28 07:46 robert +Fri, 12 Sep 2014 14:16:08 +0000 +Checked in by : Robert OSFIELD +Added basic frame rendering for TabWidgetgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14446 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgViewer/View.cpp: From Jason Beverage, "Here is a small fix - for getCameraContainingPosition. getXMin was - being used in a case where getYMin should be used instead." - -2011-07-25 17:07 robert +Wed, 10 Sep 2014 17:03:27 +0000 +Checked in by : Robert OSFIELD +Improved the alignment and sizing of TabWidget tab headersgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14445 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgViewer/Renderer.cpp: Fixed stats bug where not all stats - fields were being collected by the cull_draw() method used in the - SingleThreaded and CullDrawThreadPerContext threading models. -2011-07-22 09:27 robert +Wed, 10 Sep 2014 11:59:51 +0000 +Checked in by : Robert OSFIELD +Implemented the selection of tabs by clicking, using mouse wheel or arrow keys.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14443 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/Texture.cpp: From Alexander Irion, "Texture borders are - not supported in ES. - - _isTextureBorderClampSupported is set to "TRUE" in Texture.cpp, - because of the version number check (GL VERSION >= 1.3). - - This leads to an invalid enum error, when GL_TEXTURE_BORDER_COLOR - is tried to set. - " - -2011-07-22 08:25 robert - - * src/osgViewer/ViewerEventHandlers.cpp: In the - RecordCameraPathhandler fixed the handling of pressing 'Z' before - 'z' which was causing the view - to be reset to 0,0,0 by AnimationPathManipualtor with an empty - AnimationPath. -2011-07-21 09:55 robert +Tue, 9 Sep 2014 16:12:59 +0000 +Checked in by : Robert OSFIELD +Improved the handling of the dialog title textgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14442 16af8721-9629-0410-8352-f15c8da7e697 - * applications/osgversion/Contributors.cpp: Fixed typo -2011-07-21 09:07 robert +Tue, 9 Sep 2014 15:14:35 +0000 +Checked in by : Robert OSFIELD +Moved the diaglog title bar widgets into the Widget::GraphicsSubgraph map to avoid them poluting the Dialog's children list and to prevent them from being serialized.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14441 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Mathias - Froehlich, "I have attached an updated version of the VRML2 - loader. - That change is the result of the '[osgPlugins] VRML plugin - - "file" url' - discussion on osg-users. - - The attached change avoids rewriting file names into some kind of - file urls - and then use the url for opening an fstream. Instead just use the - given file - name to open the stream. - Also this change adds some Notify output for the error paths. - " - -2011-07-21 08:52 robert - - * CMakeModules/FindFBX.cmake: From Wang Rui, "This fixes a small - problem in the FindFBX file. In CMake scripts, - VS2010 is not marked as MSVC100 but MSVC10. And CMake defines - MSVC_VERSION instead of MSVC_VER to indicate the version number. - The - modification can find fbx sdk for VS2010 automatically now. - " - -2011-07-20 10:17 robert - - * src/osgQt/GraphicsWindowQt.cpp: From Claus Scheiblauer, fixed - handling of horizontal mouse wheel events. - -2011-07-20 09:10 robert - - * src/osgText/TextBase.cpp: Introduced workaround for problem of - text that is scaled in screen coords, but hasn't been rendered - yet - so doesn't have knowledge of screen space yet, so assume that - scaling is 1 rather than 0 as was previously - assumed in the previous handling of screen space text. - -2011-07-18 12:41 robert - - * include/osgSim/ElevationSlice, include/osgSim/HeightAboveTerrain, - include/osgSim/LineOfSight: Added doxygen comments explaining - read file callback functionality. - -2011-07-18 09:40 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Changed the - HAVE_CONFIG_H guard so that it uses #ifndef _MSC_VER rather than - _WIN32 to avoid problems with Mingw and Cygwin builds of DCMTK. - -2011-07-17 16:24 robert - - * applications/osgarchive/osgarchive.cpp, - applications/osgfilecache/osgfilecache.cpp, - applications/present3D/Cluster.cpp, - examples/osganalysis/osganalysis.cpp, - examples/osgpagedlod/osgpagedlod.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgwidgetmenu/osgwidgetmenu.cpp, - src/osgPlugins/ogr/ReaderWriterOGR.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/txp/trpage_header.cpp: From Alberto Luacas, typo - fixes - -2011-07-17 10:30 robert - - * src/osgPlugins/osg/AsciiStreamOperator.h: From Wang Rui, improved - the handling of the _preReadString within the readWrappedString - method by factoring the - reading of the next character into a dedicated getCharacter(..) - method. - -2011-07-15 10:24 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegParameters.cpp: From Wang Rui, "I've - found that the latest ffmpeg made some functions and macros - deprecated, which led to compilation errors in the OSG plugin. I - tried - fixing them and tested with the version ffmpeg-git-5d4fd1d - (ffmpeg - version > 0.8, libavcodec = 53.7.0) under Windows. - " - -2011-07-15 10:22 cedricpinson - - * include/osgAnimation/Sampler: Fix crash in osgAnimation when - keyframe container are empty - -2011-07-15 09:47 robert - * include/osg/ValueObject: From Sukender, Fix for compile errors - "public: static char const * const - osg::ValueObjectClassNameTrait< xxx >::s_className" already - defined in xxx.obj" - -2011-07-15 09:14 robert - - * src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgWrappers/serializers/osgSim/LightPointNode.cpp, - src/osgWrappers/serializers/osgSim/MultiSwitch.cpp: From Wang - Rui,"The files attached should be separately put into the - directories - src/osgPlugins/osg and src/osgWrappers/serializers/osgSim. They - fix a - serious infinite loop problem that may be caused by the stream - buffer - mechanism under Windows and some osgSim wrapper bugs pointed by - Andreas. I've asked the community to help test them and hope now - we - can solve these recent .osgt file reading issues." +Tue, 9 Sep 2014 13:37:33 +0000 +Checked in by : Robert OSFIELD +Introduced Widget::WidgetStateSet to help localize the StateSet set up by Widget implementations from being serialized or affecting what end users apply via the standard Node::s/getStateSet().Further work on TabWidget. -2011-07-15 08:43 robert - * src/osgPlugins/Inventor/ConvertToInventor.h: From Ryan Pavlik, - "Fix inventor state copy constructor. - - Clang warning: - In file included from - src/osgPlugins/Inventor/ConvertToInventor.cpp:80: - src/osgPlugins/Inventor/ConvertToInventor.h:117:71: warning: - field is uninitialized when used here [-Wuninitialized] - osgTexGenS(s.osgTexGenS), osgTexGenT(s.osgTexGenT), - osgTexGen(osgTexGen), - ^" +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14440 16af8721-9629-0410-8352-f15c8da7e697 -2011-07-15 08:32 robert - * src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp: From Philip - Lamp, submitted by Stephan Huber, "Modify the - ReaderWriteImageIO_IOS to correctly handle relative paths - when reading from a file. This means that no longer do all image - files - have to live at the root of the Resources folder inside the app - bundle, - but can now be organized inside folders. Also improved error - handling - and fixed a potential leak of a CGColorSpaceRef each once per - image load." +Mon, 8 Sep 2014 08:53:23 +0000 +Checked in by : Robert OSFIELD +Build fixgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14439 16af8721-9629-0410-8352-f15c8da7e697 -2011-07-15 08:16 robert - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp: Converted - tabs to four spaces +Fri, 5 Sep 2014 16:04:11 +0000 +Checked in by : Robert OSFIELD +Added shell of new osgUI::TabWidget classgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14438 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-28 07:54 robert - * NEWS.txt, README.txt, applications/osgversion/Contributors.cpp: - Merged the OSG-3.0 branch versions of into svn/trunk. +Fri, 5 Sep 2014 11:05:43 +0000 +Checked in by : Robert OSFIELD +Introduced support for specifying whether a serializer supports different types of usage - one or more of READ_WRITE_PROPERTY, GET_PROPERTY and SET_PROPERTY.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14437 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-28 07:23 robert - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Added #if lib curl - version check around #include as this header was - deprecated and now - removed entirely from libcurl-7.21.7. +Wed, 3 Sep 2014 15:54:47 +0000 +Checked in by : Robert OSFIELD +Added setting of the IsoSurfaceProperty in VolumeSettingsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14436 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-28 07:22 robert - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Wang Rui, "I've - found a small problem which causes crashes in the 3ds plugin - while trying to load a model. The fix here will ensure that the - texture map is valid and everything could work well then." +Wed, 3 Sep 2014 12:28:04 +0000 +Checked in by : Robert OSFIELD +Added close button on Dialog title bargit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14435 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-27 21:33 robert - * src/osgPlugins/osg/AsciiStreamOperator.h: Tweaked the comments +Tue, 2 Sep 2014 17:01:44 +0000 +Checked in by : Robert OSFIELD +Refactored the handling of ComboBox item picking to make it faster and more reliablegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14433 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-27 21:32 robert - * src/osgPlugins/osg/AsciiStreamOperator.h: From Jean-Sebestien - Guay, workaround for bug under windows with the seek - implementation when handling ascii files with unix file endings. +Tue, 2 Sep 2014 10:00:33 +0000 +Checked in by : Robert OSFIELD +Improved handling of ComboBox popup togglinggit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14432 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-27 15:43 robert - * NEWS.txt, applications/osgversion/Contributors.cpp: Updated NEWS - and fixed typo in Contributors. +Tue, 2 Sep 2014 09:14:08 +0000 +Checked in by : Robert OSFIELD +Added support for scaling widgets via the scoll wheel.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14431 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-27 10:20 robert - * include/osg/State: Fixed typo +Tue, 2 Sep 2014 08:41:31 +0000 +Checked in by : Robert OSFIELD +Removed debugging messagegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14430 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-27 10:19 robert - * include/osg/State: Improved the setContextID doxygen comment. +Mon, 1 Sep 2014 19:13:35 +0000 +Checked in by : Robert OSFIELD +Added DragCallback class to help dialog dragging support. Introduced a new Widget::computeExtentsPositionInLocalCoordinates() method that intersects with a ray through mouse pointer and the extents of the widget.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14429 16af8721-9629-0410-8352-f15c8da7e697 -2011-06-25 20:51 robert - - * src/osgPlugins/pnm/ReaderWriterPNM.cpp: From Andreas Eskland, "I - found that a binary PNM file couldn't be read by the PNM plugin - in the 3.0 branch. Attached is a small fix in - ReaderWriterPNM.cpp, simply opening the file in binary mode." - -2011-06-25 11:00 robert - - * src/osg/Texture.cpp: Fixed memory growth issue when using - Texture2D::SubloadCallbacks that don't set the TextureObjects - sizes. - -2011-06-25 07:07 robert - - * examples/osganimationskinning/osganimationskinning.cpp: Tightened - up float usage. - -2011-06-24 19:17 robert - - * examples/osganimationskinning/osganimationskinning.cpp: Tightened - up the float/double usage - -2011-06-24 16:15 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/ac/Geode.cpp: Removed redundent assert and - associated variables to fix warnings. - -2011-06-24 15:04 robert - - * src/osgPlugins/osga/OSGA_Archive.cpp: Implemented missing - writeShader - -2011-06-24 13:35 robert - - * src/osgSim/ShapeAttribute.cpp: From Martin Innus, fixed erroneous - change of INTEGER to UNKNOWN, reverting back to INTEGER. - -2011-06-24 12:40 robert - - * include/osgDB/Archive, include/osgDB/Registry, - src/osgDB/Registry.cpp, src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/OSGA_Archive.h, - src/osgPlugins/zip/ZipArchive.cpp, - src/osgPlugins/zip/ZipArchive.h: Implemented missing - Archive::readShader/writeShader, and added searching of the - archive list in Registr::read() so that files - that are stored in the archives can be found. -2011-06-24 08:32 robert +Thu, 28 Aug 2014 15:11:29 +0000 +Checked in by : Robert OSFIELD +Improved support for controlling the ShadingModel via the VolumeSettings objectgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14428 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgSim/ShapeAttribute, src/osgSim/ShapeAttribute.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_ShapeAttribute.cpp: - From Ulrich Hertlein, "While we're on osgSim/ShapeAttribute, - here's a fix that fixes the 'UNKNOW' typo and some - doxygen" - -2011-06-24 08:13 robert - - * src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/XmlStreamOperator.h: From Wang Rui, "I've - modified the code to handle -1.#IND and other kinds of infinite - values. Please see the attachments for details" - -2011-06-24 08:05 robert - - * include/osgSim/ShapeAttribute: Added operator ==, != and < to fix - VS build -2011-06-23 19:58 robert +Thu, 28 Aug 2014 09:42:01 +0000 +Checked in by : Robert OSFIELD +Improved handling of VolumeSettingsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14427 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgAnimation/Skeleton, - src/OpenThreads/pthreads/PThread.cpp, - src/osgAnimation/Skeleton.cpp, src/osgDB/ExternalFileWriter.cpp, - src/osgManipulator/Dragger.cpp: Fixed warnings generated by - clang, - - src/osgAnimation/Skeleton.cpp:25:87: warning: addition of default - argument on redeclaration makes this constructor a copy - constructor [-Wdefault-arg-special-member] - Skeleton::UpdateSkeleton::UpdateSkeleton(const UpdateSkeleton& - us, const osg::CopyOp& copyop= osg::CopyOp::SHALLOW_COPY) : - osg::Object(us, copyop), osg::NodeCallback(us, copyop) - - /src/OpenThreads/pthreads/PThread.cpp:1024:15: warning: - comparison of unsigned expression < 0 is always false - [-Wtautological-compare] - if (cpunum<0) return -1; - - src/osgDB/ExternalFileWriter.cpp:221:122: warning: expression - result unused [-Wunused-value] - _objects.insert(ObjectsSet::value_type(&obj, - ObjectData(absoluteDestinationPath, relativeDestinationPath, - written))).first; - - src/osgManipulator/Dragger.cpp:175:18: warning: using the result - of an assignment as a condition without parentheses - [-Wparentheses] - if (*itr = constraint) return; - - src/osgManipulator/Dragger.cpp:187:18: warning: using the result - of an assignment as a condition without parentheses - [-Wparentheses] - if (*itr = constraint) - -2011-06-23 18:24 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/ac/Geode.cpp, src/osgViewer/GraphicsWindowX11.cpp: - Warning fixes for: - - OpenSceneGraph/src/osgPlugins/Inventor/ConvertFromInventor.cpp: - In member function ?virtual SbBool - SoVRMLImageTextureOsg::readInstance(SoInput*, short unsigned - int)?: - OpenSceneGraph/src/osgPlugins/Inventor/ConvertFromInventor.cpp:1264:16: - warning: variable ?retval? set but not used - [-Wunused-but-set-variable] - OpenSceneGraph/src/osgPlugins/ac/Geode.cpp: In member function - ?void ac3d::Geode::ProcessGeometry(std::ostream&, unsigned int)?: - OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:806:35: warning: - variable ?fRep_s? set but not used [-Wunused-but-set-variable] - OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:806:43: warning: - variable ?fRep_t? set but not used [-Wunused-but-set-variable] - OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:807:35: warning: - variable ?fOffset_s? set but not used [-Wunused-but-set-variable] - OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:807:46: warning: - variable ?fOffset_t? set but not used [-Wunused-but-set-variable] - OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp: In member - function ?virtual void - osgViewer::GraphicsWindowX11::checkEvents()?: - OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:1181:10: - warning: variable ?destroyWindowRequested? set but not used - [-Wunused-but-set-variable] - -2011-06-23 16:36 robert - - * include/osg/OcclusionQueryNode, include/osgViewer/Viewer, - src/osg/OcclusionQueryNode.cpp, src/osgViewer/Viewer.cpp: Fixed - virtual method mismtaches between subclasses and parent classes. - -2011-06-23 15:42 robert - - * include/osgSim/ShapeAttribute: From Ulrich Hertlein, build fix - for OSX. - -2011-06-23 15:37 robert - - * src/osgPlugins/zip/ReaderWriterZIP.cpp: Added better handling of - archives in ReaderWriterZip::readNode() so that if there is no - master file definition it - loads all the available nodes in the zip archive and returns an - osg::Group containing all the nodes if there is more - than one, or just returns the node if there is just one. Also - implemented this functionality for ReaderWriterZip::readImage(). - -2011-06-23 12:24 robert - - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Fixed typo - in name - -2011-06-23 11:27 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file - -2011-06-23 11:26 robert - - * applications/osgversion/Contributors.cpp: Fixed name typo - -2011-06-23 11:09 robert - - * include/osgGA/GUIEventHandler, include/osgManipulator/Dragger, - include/osgSim/ShapeAttribute, src/osgPlugins/zip/unzip.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp: Fixed - warnings. - - OpenSceneGraph/src/osgGA/NodeTrackerManipulator.cpp:32:1: - warning: base class ?class osg::Object? should be explicitly - initialized in the copy constructor - OpenSceneGraph/src/osgGA/TerrainManipulator.cpp:31:1: warning: - base class ?class osg::Object? should be explicitly initialized - in the copy constructor - OpenSceneGraph/include/osgSim/ShapeAttribute:99:9: warning: base - class ?class std::vector? should be - explicitly initialized in the copy constructor - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::gi? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::byte_before_the_zipfile? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::num_file? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::pos_in_central_dir? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::current_file_ok? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::central_pos? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::size_central_dir? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::offset_central_dir? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::cur_file_info? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::cur_file_info_internal? - OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: - missing initializer for member ?unz_s::pfile_in_zip_read? - OpenSceneGraph/src/osgViewer/CompositeViewer.cpp:30:1: warning: - base class ?class osg::Object? should be explicitly initialized - in the copy constructor - OpenSceneGraph/src/osgViewer/View.cpp:159:1: warning: base class - ?class osg::Object? should be explicitly initialized in the copy - constructor - OpenSceneGraph/src/osgViewer/Viewer.cpp:196:1: warning: base - class ?class osg::Object? should be explicitly initialized in the - copy constructor - OpenSceneGraph/src/osgViewer/Viewer.cpp:196:1: warning: base - class ?class osgViewer::ViewerBase? should be explicitly - initialized in the copy constructor - OpenSceneGraph/include/osgManipulator/Dragger:47:9: warning: base - class ?class osg::Object? should be explicitly initialized in the - copy constructor - -2011-06-23 09:26 robert - - * include/osg/Array, include/osgAnimation/Interpolator, - src/osgPlugins/lwo/lwo2parser.h: From Ryan Pavlik, "I have - successfully compiled OpenSceneGraph trunk using the Clang - compiler (using a recent trunk build of llvm and clang, haven't - tested an older release). The attached files contain the change - shown in the diff below, which was required to finish the build - with Clang. It fixes an issue with two-phase name lookup - - there's more information here - http://blog.llvm.org/2009/12/dreaded-two-phase-name-lookup.html - " - -2011-06-23 09:22 robert - - * src/osg/glu/libutil/mipmap.cpp: From Dimi Christopoulos, "I - attach a fixed version of mipmap.cpp which produced a lot of - warning on my gcc - compiler." - -2011-06-23 07:13 robert - - * src/osgPlugins/lwo/lwo2parser.h: Converted tabs to four spaces - -2011-06-22 16:18 robert - - * CMakeModules/FindCOLLADA.cmake: From Magnus Kessler, "I have - recently installed the latest version of collada-dom on Linux, - and - found that the include path has changed. By default, collada-dom - now installs - its header files under /usr/local/include/collada-dom - or/usr/include/collada- - dom. The attached FindCollada.cmake has been updated to look for - these - locations in addition to the previous candidate locations." - -2011-06-22 12:30 robert - - * applications/present3D/present3D.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgposter/osgposter.cpp, - examples/osgtext3D/TextNode.cpp, - examples/osgthreadedterrain/osgthreadedterrain.cpp, - examples/osgvolume/osgvolume.cpp, - examples/osgwidgetcanvas/osgwidgetcanvas.cpp, - src/osg/ShapeDrawable.cpp, src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgParticle/FluidProgram.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/ac/Geode.cpp, src/osgPlugins/cfg/ConfigParser.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/hdr/hdrloader.cpp, - src/osgPlugins/ive/ShapeAttributeList.cpp, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/pvr/ReaderWriterPVR.cpp, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/vtf/ReaderWriterVTF.cpp, - src/osgPlugins/zip/ZipArchive.cpp, src/osgPlugins/zip/unzip.cpp, - src/osgQt/QGraphicsViewAdapter.cpp, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgText/FadeText.cpp, - src/osgText/Text.cpp, src/osgUtil/DelaunayTriangulator.cpp, - src/osgUtil/RenderStage.cpp, src/osgViewer/View.cpp, - src/osgVolume/FixedFunctionTechnique.cpp: Resolved warnings - reported by g++ 4.6's -Wunused-but-set-variable. - - Warnings were: - - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp: - In member function ‘void - PrimitiveShapeVisitor::createHalfSphere(unsigned int, unsigned - int, float, int, float, const Matrix&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp:1409:11: - warning: variable ‘nzBase’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp:1410:11: - warning: variable ‘nRatioBase’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp: - In function ‘osgUtil::Triangle_list - osgUtil::fillHole(osg::Vec3Array*, std::vector >)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp:569:27: - warning: variable ‘ptest’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp: - In member function ‘bool - osgUtil::DelaunayTriangulator::triangulate()’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp:979:45: - warning: variable ‘curp’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/RenderStage.cpp: - In member function ‘void - osgUtil::RenderStage::runCameraSetUp(osg::RenderInfo&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/RenderStage.cpp:631:18: - warning: variable ‘stencilAttached’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp: - In member function ‘void FadeTextPolytopeData::buildPolytope()’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp:74:20: - warning: variable ‘edge23’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp:75:20: - warning: variable ‘edge30’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/Text.cpp: - In member function ‘void - osgText::Text::computeBackdropPositions(unsigned int) const’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/Text.cpp:747:10: - warning: variable ‘is_valid_size’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp: - In member function ‘virtual bool - osgGA::NodeTrackerManipulator::performMovementLeftMouseButton(double, - double, double)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp:257:21: - warning: variable ‘lookVector’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp:259:21: - warning: variable ‘upVector’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp: - In member function ‘virtual bool - osgGA::TerrainManipulator::performMovementMiddleMouseButton(double, - double, double)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp:217:11: - warning: variable ‘lookVector’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp:219:11: - warning: variable ‘upVector’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgVolume/FixedFunctionTechnique.cpp: - In member function ‘virtual void - osgVolume::FixedFunctionTechnique::init()’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgVolume/FixedFunctionTechnique.cpp:124:30: - warning: variable ‘tf’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgParticle/FluidProgram.cpp: - In member function ‘virtual void - osgParticle::FluidProgram::execute(double)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgParticle/FluidProgram.cpp:38:23: - warning: variable ‘velBefore’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgShadow/ParallelSplitShadowMap.cpp: - In member function ‘virtual void - osgShadow::ParallelSplitShadowMap::cull(osgUtil::CullVisitor&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgShadow/ParallelSplitShadowMap.cpp:593:22: - warning: variable ‘bb’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp: - In member function ‘virtual void - osgTerrain::GeometryTechnique::generateGeometry(osgTerrain::GeometryTechnique::BufferData&, - osgTerrain::Locator*, const osg::Vec3d&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp:777:12: - warning: variable ‘i_sampleFactor’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp:778:12: - warning: variable ‘j_sampleFactor’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp: - In function ‘osg::Image* ReadDDSFile(std::istream&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp:314:10: - warning: variable ‘is3dImage’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp: - In function ‘bool WriteDDSFile(const osg::Image*, - std::ostream&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp:721:10: - warning: variable ‘is3dImage’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/hdr/hdrloader.cpp: - In static member function ‘static bool HDRLoader::load(const - char*, bool, HDRLoaderResult&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/hdr/hdrloader.cpp:101:10: - warning: variable ‘cmd’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/vtf/ReaderWriterVTF.cpp: - In function ‘osg::Image* ReadVTFFile(std::istream&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/vtf/ReaderWriterVTF.cpp:360:23: - warning: variable ‘base’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/jp2/ReaderWriterJP2.cpp: - In function ‘int putdata(jas_stream_t*, jas_image_t*, int)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/jp2/ReaderWriterJP2.cpp:41:13: - warning: variable ‘linelen’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertToInventor.cpp: - In member function ‘void ConvertToInventor::processGeometry(const - osg::Geometry*, ConvertToInventor::InventorState*)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertToInventor.cpp:1639:10: - warning: variable ‘ok’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertFromInventor.cpp: - In member function ‘virtual SbBool - SoVRMLImageTextureOsg::readInstance(SoInput*, short unsigned - int)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertFromInventor.cpp:1264:16: - warning: variable ‘retval’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp: - In member function ‘virtual void - flt::Face::readRecord(flt::RecordInputStream&, flt::Document&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp:369:19: - warning: variable ‘secondaryPackedColor’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp: - In member function ‘virtual void - flt::Mesh::readRecord(flt::RecordInputStream&, flt::Document&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp:942:19: - warning: variable ‘secondaryPackedColor’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: - In member function ‘virtual osgDB::ReaderWriter::ReadResult - FLTReaderWriter::readNode(std::istream&, const Options*) const’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp:427:40: - warning: variable ‘pos’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ive/ShapeAttributeList.cpp: - In member function ‘void - ive::ShapeAttributeList::write(ive::DataOutputStream*)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ive/ShapeAttributeList.cpp:31:48: - warning: variable ‘it’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp: - In member function ‘void - ac3d::Geode::ProcessGeometry(std::ostream&, unsigned int)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:806:35: - warning: variable ‘fRep_s’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:806:43: - warning: variable ‘fRep_t’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:807:35: - warning: variable ‘fOffset_s’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:807:46: - warning: variable ‘fOffset_t’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:932:38: - warning: variable ‘primLength’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_geom.cpp: - In member function ‘virtual bool - trpgGeometry::Write(trpgWriteBuffer&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_geom.cpp:615:19: - warning: variable ‘u’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_material.cpp: - In member function ‘int trpgMatTable::AddMaterial(const - trpgMaterial&, bool)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_material.cpp:103:10: - warning: variable ‘spaceInTable’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_rarchive.cpp: - In member function ‘virtual bool - trpgr_Archive::ReadHeader(bool)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_rarchive.cpp:261:14: - warning: variable ‘headerHasTexTable’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp: - In member function ‘ZRESULT TUnzip::Get(int, ZIPENTRY*)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:8: - warning: variable ‘hidden’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:22: - warning: variable ‘system’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:36: - warning: variable ‘archive’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/ZipArchive.cpp: - In member function ‘virtual bool - ZipArchive::getFileNames(osgDB::Archive::FileNameList&) const’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/ZipArchive.cpp:91:37: - warning: variable ‘iterEnd’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/pvr/ReaderWriterPVR.cpp: - In member function ‘osgDB::ReaderWriter::ReadResult - ReaderWriterPVR::readPVRStream(std::istream&) const’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/pvr/ReaderWriterPVR.cpp:155:14: - warning: variable ‘hasAlpha’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp: - In function ‘osg::Geometry* - create3DSphericalDisplayDistortionMesh(const Vec3&, const Vec3&, - const Vec3&, double, double, osg::Image*, const Matrix&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:737:15: - warning: variable ‘cursor’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp: - In function ‘osg::Geometry* - createParoramicSphericalDisplayDistortionMesh(const Vec3&, const - Vec3&, const Vec3&, double, double, osg::Image*, const Matrix&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:1130:19: - warning: variable ‘cursor’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:1118:15: - warning: variable ‘dx’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/GraphicsWindowX11.cpp: - In member function ‘virtual void - osgViewer::GraphicsWindowX11::checkEvents()’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/GraphicsWindowX11.cpp:1181:10: - warning: variable ‘destroyWindowRequested’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/cfg/ConfigParser.cpp: - In member function ‘bool - osgProducer::CameraConfig::parseFile(const string&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/cfg/ConfigParser.cpp:2247:13: - warning: variable ‘result’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgQt/QGraphicsViewAdapter.cpp: - In member function ‘bool - osgQt::QGraphicsViewAdapter::handlePointerEvent(int, int, int)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgQt/QGraphicsViewAdapter.cpp:344:17: - warning: variable ‘viewportGeometry’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp: - In function ‘osg::Node* createDistortionSubgraph(osg::Node*, - const Vec4&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:125:19: - warning: variable ‘cursor’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:126:19: - warning: variable ‘texcoord’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp: - In function ‘osg::Geometry* createDomeDistortionMesh(const Vec3&, - const Vec3&, const Vec3&, osg::ArgumentParser&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:358:15: - warning: variable ‘cursor’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgposter/osgposter.cpp: - In function ‘int main(int, char**)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgposter/osgposter.cpp:253:31: - warning: variable ‘outputTiles’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgthreadedterrain/osgthreadedterrain.cpp: - In function ‘int main(int, char**)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgthreadedterrain/osgthreadedterrain.cpp:669:10: - warning: variable ‘readParameter’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgtext3D/TextNode.cpp: - In member function ‘virtual void - osgText::Layout::layout(osgText::TextNode&) const’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgtext3D/TextNode.cpp:80:11: - warning: variable ‘characterHeightScale’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgvolume/osgvolume.cpp: - In function ‘int main(int, char**)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgvolume/osgvolume.cpp:678:38: - warning: variable ‘internalFormatMode’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp: - In function ‘bool windowMouseOver(osgWidget::Event&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp:27:24: - warning: variable ‘xy’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp: - In function ‘bool widgetMouseOver(osgWidget::Event&)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp:35:24: - warning: variable ‘xy’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/p3d/ReaderWriterP3D.cpp: - In member function ‘osg::Node* - ReaderWriterP3DXML::parseXmlGraph(osgDB::XmlNode*, bool, - osgDB::Options*) const’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/p3d/ReaderWriterP3D.cpp:2121:10: - warning: variable ‘readSlide’ set but not used - [-Wunused-but-set-variable] - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/applications/present3D/present3D.cpp: - In function ‘int main(int, char**)’: - /home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/applications/present3D/present3D.cpp:639:10: - warning: variable ‘sizesSpecified’ set but not used - [-Wunused-but-set-variable] - -2011-06-22 09:12 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Fixed regression in --run-on-demand feature - -2011-06-21 17:26 robert - - * src/osg/glu/libutil/mipmap.cpp: Removed assert() that always - evaluated to true. - -2011-06-21 13:01 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From Torben - Dannhauer, "originally I posted the addendum of 'freetype244MT', - but that was wrong. - I updated it to the correct addendum of 'freetype244' yesterday, - but supposedly that was not forwarded to you by the - forum-to-mail-gateway. - - Find attached the corrected CMake module. " - -2011-06-21 10:15 robert - - * ChangeLog: Updated ChangeLog - -2011-06-21 09:54 robert - - * src/osgPlugins/fbx/WriterCompareTriangle.h, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h: Added returns to - end of files - -2011-06-21 09:54 robert - - * src/osgPlugins/fbx/WriterCompareTriangle.cpp: Added return to end - of file - -2011-06-21 09:53 robert - - * src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxRLight.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp: - Conveted tabs to four spaces and added a return to end of file - -2011-06-21 09:29 mplatings - - * src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxRLight.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp: - Fixed redundant "enumeration not handled in switch" warnings. - Fixed a warning about a comparison between different enums - - EUnifiedMappingType was being compared with EMappingType. In - general the FBX SDK is moving away from Get & Set functions to - giving direct access to properties, so I have changed - GetMappingType() to CurrentMappingType.Get() - -2011-06-21 09:00 robert - - * src/osg/glu/libtess/tess.h: Disabled VisualStudio warning warning - C4611: interaction between '_setjmp' and C++ object destruction - is non-portable - -2011-06-20 19:15 robert - - * examples/osgphotoalbum/PhotoArchive.cpp, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp, - src/osgPlugins/cfg/CameraConfig.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/osgGeoNodes.h, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/ply/plyfile.cpp, - src/osgPlugins/pvr/ReaderWriterPVR.cpp, - src/osgPlugins/shp/ESRIShapeParser.cpp, - src/osgPlugins/shp/XBaseParser.cpp, src/osgPlugins/zip/unzip.cpp, - src/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, - src/osgVolume/Locator.cpp, src/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/serializers/osg/ShaderBinary.cpp: Fixed a range - of issues reported by cppcheck: - - [examples/osgphotoalbum/PhotoArchive.cpp:56]: (error) Memory - leak: fileIndentifier - [examples/osgphotoalbum/PhotoArchive.cpp:257]: (error) - Deallocating a deallocated pointer: newData - [examples/osgphotoalbum/PhotoArchive.cpp:318]: (error) - Deallocating a deallocated pointer: newData - [src/osg/ImageUtils.cpp:116]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:307]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:312]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:367]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:399]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:400]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:482]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:483]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:484]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:519]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/ImageUtils.cpp:536]: (portability) Extra qualification - 'osg::' unnecessary and considered an error by many compilers. - [src/osg/OcclusionQueryNode.cpp:71]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:74]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:77]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:82]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:102]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:107]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:599]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:600]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:601]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:602]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:603]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:604]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:605]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osg/OcclusionQueryNode.cpp:606]: (portability) Extra - qualification 'osg::' unnecessary and considered an error by many - compilers. - [src/osgDB/ExternalFileWriter.cpp:134]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:135]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:136]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:137]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:139]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:177]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:178]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:195]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:198]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:203]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:205]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/ExternalFileWriter.cpp:253]: (portability) Extra - qualification 'osgDB::' unnecessary and considered an error by - many compilers. - [src/osgDB/InputStream.cpp:553]: (error) Memory leak: data - [src/osgDB/OutputStream.cpp:393]: (error) Memory leak: data - [src/osgPlugins/Inventor/ConvertToInventor.cpp:656]: (error) - Mismatching allocation and deallocation: tmpArray - [src/osgPlugins/Inventor/ReaderWriterIV.cpp:237]: (error) Common - realloc mistake: 'buf' nulled but not freed upon failure - [src/osgPlugins/OpenFlight/expGeometryRecords.cpp:167]: - (portability) Extra qualification 'flt::' unnecessary and - considered an error by many compilers. - [src/osgPlugins/OpenFlight/expGeometryRecords.cpp:373]: - (portability) Extra qualification 'flt::' unnecessary and - considered an error by many compilers. - [src/osgPlugins/cfg/CameraConfig.cpp:635]: (error) Unusual - pointer arithmetic - [src/osgPlugins/freetype/FreeTypeLibrary.cpp:122]: (error) Memory - leak: buffer - [src/osgPlugins/geo/ReaderWriterGEO.cpp:210]: (error) Possible - null pointer dereference: gfd - otherwise it is redundant to - check if gfd is null at line 211 - [src/osgPlugins/geo/ReaderWriterGEO.cpp:227]: (error) Possible - null pointer dereference: gfd - otherwise it is redundant to - check if gfd is null at line 228 - [src/osgPlugins/geo/ReaderWriterGEO.cpp:903]: (error) Possible - null pointer dereference: gfd - otherwise it is redundant to - check if gfd is null at line 904 - [src/osgPlugins/geo/osgGeoNodes.h:180]: (error) Memory leak: - geoHeaderGeo::intVars - [src/osgPlugins/geo/osgGeoNodes.h:181]: (error) Memory leak: - geoHeaderGeo::useVars - [src/osgPlugins/geo/osgGeoNodes.h:182]: (error) Memory leak: - geoHeaderGeo::extVars - [src/osgPlugins/md2/ReaderWriterMD2.cpp:180]: (error) Memory - leak: mapbase - [src/osgPlugins/md2/ReaderWriterMD2.cpp:166]: (error) Resource - leak: file_fd - [src/osgPlugins/pic/ReaderWriterPIC.cpp:152]: (error) Mismatching - allocation and deallocation: tmpbuf - [src/osgPlugins/pic/ReaderWriterPIC.cpp:153]: (error) Mismatching - allocation and deallocation: buffer - [src/osgPlugins/ply/plyfile.cpp:843]: (error) Memory leak: - plyfile - [src/osgPlugins/pvr/ReaderWriterPVR.cpp:179]: (error) Memory - leak: imageData - [src/osgPlugins/shp/ESRIShapeParser.cpp:29]: (error) Resource - leak: fd - [src/osgPlugins/shp/XBaseParser.cpp:96]: (error) Resource leak: - fd - [src/osgPlugins/zip/unzip.cpp:3158]: (error) Possible null - pointer dereference: s - otherwise it is redundant to check if s - is null at line 3159 - [src/osgPlugins/zip/unzip.cpp:4155]: (error) Dangerous usage of - 'rd' (strncpy doesn't always 0-terminate it) - [src/osgShadow/MinimalCullBoundsShadowMap.cpp:334]: (error) - Possible null pointer dereference: rl - otherwise it is redundant - to check if rl is null at line 331 - [src/osgViewer/ScreenCaptureHandler.cpp:617]: (error) Possible - null pointer dereference: camera - otherwise it is redundant to - check if camera is null at line 611 - [src/osgViewer/ScreenCaptureHandler.cpp:632]: (error) Possible - null pointer dereference: camera - otherwise it is redundant to - check if camera is null at line 626 - [src/osgVolume/Locator.cpp:209]: (error) Dangerous iterator usage - after erase()-method. - [src/osgVolume/RayTracedTechnique.cpp:274]: (error) Possible null - pointer dereference: imageLayer - otherwise it is redundant to - check if imageLayer is null at line 259 - [src/osgVolume/RayTracedTechnique.cpp:275]: (error) Possible null - pointer dereference: imageLayer - otherwise it is redundant to - check if imageLayer is null at line 259 - [src/osgWrappers/serializers/osg/ShaderBinary.cpp:28]: (error) - Mismatching allocation and deallocation: data - -2011-06-20 14:09 robert - - * src/osg/ImageUtils.cpp, src/osg/OcclusionQueryNode.cpp, - src/osgDB/ExternalFileWriter.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp: Removed - unneccesary namespace qualifiers, and issue picked out by - cppcheck. - -2011-06-20 12:36 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp: From Farshid Lashkari, - BGR write support for BMP, PNG and TGA - -2011-06-20 11:25 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Added catch for window - manager doesn't set the window size to full screen. - -2011-06-20 09:28 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Added check against - Traits::overrideRedirct to prevent the fullscreen workaround - being run when overrideRedirect - is on as overrideRedirect switches off the window managers - ability to manage the fullscreen so the problem doesn't - need working around. - -2011-06-20 09:22 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Introduced a workaround for - fullscreen toggle issues under modern X11 window managers. - -2011-06-20 09:20 robert - - * src/osgViewer/ViewerEventHandlers.cpp: Added sleep before window - resizing to make it less likely that the previous frames - rendering traversal is still - running when the window(s) is resized, something that creates - what looks like a glitch in rendering. - -2011-06-19 19:16 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From Torben - Dannhauer, "Just in time for OSG 3.0 I will present an updated - 3rdParty package for VS2008 , which includes some updated - libraries (libcurl, freetype, jpeg). It also provides now all - debug databases (*.pdb), so all the annoying compile warnings - about missing .pdb files are gone. - - I extended the CMAKE module to find the new library." -2011-06-17 16:55 robert +Wed, 27 Aug 2014 15:08:48 +0000 +Checked in by : Robert OSFIELD +Changed the osgUI behaviour so that events are set to be handled by Widgets that have focus even if they don't directly use them.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14425 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt, include/osg/Version: Updated version to 3.1.0 in - prep for the first developer release for 3.x series -2011-06-17 12:57 robert +Wed, 27 Aug 2014 15:07:47 +0000 +Checked in by : Robert OSFIELD +Changed the NodeVisitor::apply(Drawable&) to call apply(Node&)git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14424 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/ffmpeg/FFmpegParameters.cpp: Added extern "C" to - fix build issues under OSX -2011-06-17 12:31 robert +Wed, 27 Aug 2014 09:25:54 +0000 +Checked in by : Robert OSFIELD +Added support for getting osgVolumre::Property::ModifieCountgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14422 16af8721-9629-0410-8352-f15c8da7e697 - * ChangeLog, NEWS.txt, README.txt: Updated ChangeLog, NEWS and - READE for 3.0.0-rc1 -2011-06-17 11:47 robert +Mon, 25 Aug 2014 16:56:47 +0000 +Checked in by : Robert OSFIELD +Added Property::getModifiedCount() + dirty() to help with tracking changes. Added VolumeSettings serializers for Property objectsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14421 16af8721-9629-0410-8352-f15c8da7e697 - * include/OpenThreads/Version: Updated version number -2011-06-17 11:47 robert +Mon, 25 Aug 2014 13:43:11 +0000 +Checked in by : Robert OSFIELD +Changed StateSet::ParentList from vector to vector to reflect that Drawable is now a Node.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14420 16af8721-9629-0410-8352-f15c8da7e697 - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Fixed - Jorge Izquierdo name. -2011-06-17 11:02 robert +Fri, 22 Aug 2014 19:00:53 +0000 +Checked in by : Robert OSFIELD +Improved handling of setting of the depth of the UI.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14418 16af8721-9629-0410-8352-f15c8da7e697 - * src/OpenThreads/CMakeLists.txt: Updated OpenThreads version - number for stable release -2011-06-17 10:35 robert +Wed, 20 Aug 2014 14:15:36 +0000 +Checked in by : Robert OSFIELD +Reordered method implemenations to make it easier to compare similar methodsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14417 16af8721-9629-0410-8352-f15c8da7e697 - * applications/present3D/CMakeLists.txt: Tempory fix for static - build of Present3D which disables the use of ffmpeg when - compiling static, will need to - look into unresolved symbols assoiated with FFMPEG at a later - date. -2011-06-17 09:20 robert +Tue, 19 Aug 2014 16:58:02 +0000 +Checked in by : Robert OSFIELD +Added toggling on/off of the VolumeSettings ui via the 'E' key.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14416 16af8721-9629-0410-8352-f15c8da7e697 - * AUTHORS.txt: Updated AUTHORS file for 3.0.0-rc1 -2011-06-17 09:19 robert +Tue, 19 Aug 2014 16:37:20 +0000 +Checked in by : Robert OSFIELD +Updated VolumeSettings.lua reference to use ui prefix to work with the new OpenSceneGraph-Data/ui/VolumeSettings.lua file.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14415 16af8721-9629-0410-8352-f15c8da7e697 - * ChangeLog: Updated ChangeLog -2011-06-17 09:05 robert +Tue, 19 Aug 2014 09:27:46 +0000 +Checked in by : Robert OSFIELD +Fixed MD2 danglng pointer crash.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14413 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/StencilTwoSided.cpp: From Jan Peciva, "sending updated - version of StencilTwoSided. - It supports now even GL_ATI_separate_stencil extension and there - are more - OSG_INFOs to see, which API is used." -2011-06-17 09:02 robert +Tue, 19 Aug 2014 09:00:42 +0000 +Checked in by : Robert OSFIELD +Fixed buildgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14411 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt, include/osg/Version: Updated version number of - 3.0.0-rc1 -2011-06-17 08:47 robert +Tue, 19 Aug 2014 08:57:23 +0000 +Checked in by : Robert OSFIELD +Fixed buildgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14410 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgUtil/RenderStage.cpp: Added GLES version checks to prevent - build problems under GLES1 and GLES2 -2011-06-17 08:42 robert +Thu, 14 Aug 2014 19:00:37 +0000 +Checked in by : Robert OSFIELD +Added support for ComboBox::currentIndexChanged*(uint) callback API.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14409 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/ffmpeg/FFmpegParameters.cpp: Refined the version - checking -2011-06-17 08:41 robert +Wed, 13 Aug 2014 09:24:38 +0000 +Checked in by : Robert OSFIELD +Resert default value to 1.0git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14408 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/FFmpegParameters.cpp: Build fix -2011-06-17 08:26 robert +Fri, 8 Aug 2014 16:42:32 +0000 +Checked in by : Robert OSFIELD +From Ryan Kawicki, "There is an issue where the model insets of a terrex terrain are being removed during the loading process. The issue is described below. - the issue here is that the plugin is removing group nodes if + that group node only has one child. becuase transforms are also + group nodes, there were cases when the transform would have only + one child under it and would cause it to remove the translation + portion. this would cause all the vertex data to be loaded around + the last matrix operation, which in our case was the origin (0,0,0). - * src/osgViewer/GraphicsWindowCocoa.mm: From Ulrich Hertlein, "the - OS X/Cocoa implementation logs some debug junk on every key - stroke. The attached - patch removes this." +We work off of OSG 2.8.1 but see that this has not been addressed on latest yet. I’ve tested this against 2.8.1 and have cleanly applied it to my local repository off of latest." -2011-06-17 08:15 robert - * CMakeLists.txt: From Jorge Ciges, "This is one of those bugs that - you don't find until you try to compile under another pc that - doesn't have Cmake 2.8." -2011-06-17 06:22 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14407 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/FFmpegParameters.cpp: Fixed warning -2011-06-17 06:09 robert +Fri, 8 Aug 2014 16:34:12 +0000 +Checked in by : Robert OSFIELD +From Tim George, "Currently there is a problem with using a camera with a viewport with a non 0 offset and also using an FBO. The problem is that only area made up of the viewports width and height is drawn based on an offset of 0,0 instead of using the viewports offset.It is caused by line 991 in RenderStage.cpp: - * src/osgPlugins/dae/daeReader.cpp: Fixed warnings -2011-06-17 05:57 robert +Code: +fbo_ext->glBlitFramebuffer( +0, 0, static_cast(_viewport->width()), static_cast(_viewport->height()), +0, 0, static_cast(_viewport->width()), static_cast(_viewport->height()), +blitMask, GL_NEAREST); - * src/osg/glu/libtess/tess.h, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: Added disabling of - VisualStudio warning C4324 : structure was padded due to - __declspec(align()) -2011-06-16 18:43 robert - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h: Fixed warnings. +which is not taking into account the viewport x and y when performing the blit. It probably should be: -2011-06-16 18:25 robert - * src/osgWrappers/deprecated-dotosg/osg/Texture.cpp, - src/osgWrappers/serializers/osg/Texture.cpp: Added support for - new InternalTextureFormatModes +Code: +fbo_ext->glBlitFramebuffer( +static_cast(_viewport->x()), static_cast(_viewport->y()), +static_cast(_viewport->width()) + static_cast(_viewport->x()), static_cast(_viewport->height()) + static_cast(_viewport->y()), +static_cast(_viewport->x()), static_cast(_viewport->y()), +static_cast(_viewport->width()) + static_cast(_viewport->x()), static_cast(_viewport->height()) + static_cast(_viewport->y()), +blitMask, GL_NEAREST); +" -2011-06-16 18:12 robert - - * src/osgDB/ExternalFileWriter.cpp: Added wider file extension - support to ExternalFileWriter::generateObjectName +Note from Robert Osfield, made small tweak to above on merge, changing the width+x to x+width to make it read more naturally. -2011-06-16 16:02 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Farshid Lashkari, - "Attached is a small patch that adds support for writing BGR - images to the DDS plugin." - -2011-06-16 16:00 robert - - * src/OpenThreads/qt/CMakeLists.txt: From John Cummings, "While - testing recent OSG developer releases and the subversion trunk, I - have noticed that on my 64-bit Linux machines, all of the OSG - libraries - get installed into the "lib64" directory as I would expect. - However, the - OpenThreads library gets installed into the "lib" directory when - selecting "Build OpenThreads with Qt threading support." That is, - with - the BUILD_OPENTHREADS_WITH_QT set to ON. - - I am attaching the a fix for this issue in the file: - - src/OpenThreads/qt/CMakeLists.txt - - It simply adds ${LIB_POSTFIX} to the destination as in done with - all - other CMakeLists.txt with libraries in OSG. I have tested it on - both - 32-bit and 64-bit Linux." - -2011-06-16 15:57 robert - - * examples/osgcluster/receiver.cpp, - src/OpenThreads/win32/Win32Thread.cpp, - src/osgPlugins/shp/ESRIShape.cpp, src/osgPlugins/zip/unzip.cpp: - Windows warning fixes - -2011-06-16 13:00 robert - - * src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_label.cpp, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_managers.h, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_nodes.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_warchive.cpp: Fixed indentation issues - -2011-06-16 10:05 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPArchive.h, src/osgPlugins/txp/TXPNode.cpp, - src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_managers.h, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_print.h, - src/osgPlugins/txp/trpage_range.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h: Improved indentation. - -2011-06-16 08:59 robert - - * src/osgPlugins/txp/TileMapper.cpp, - src/osgPlugins/txp/TileMapper.h, src/osgPlugins/txp/trdll.h, - src/osgPlugins/txp/trpage_basic.cpp, - src/osgPlugins/txp/trpage_compat.cpp, - src/osgPlugins/txp/trpage_compat.h, - src/osgPlugins/txp/trpage_geom.cpp, - src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_header.cpp, - src/osgPlugins/txp/trpage_io.h, - src/osgPlugins/txp/trpage_label.cpp, - src/osgPlugins/txp/trpage_light.cpp, - src/osgPlugins/txp/trpage_main.cpp, - src/osgPlugins/txp/trpage_managers.cpp, - src/osgPlugins/txp/trpage_managers.h, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_nodes.cpp, - src/osgPlugins/txp/trpage_parse.cpp, - src/osgPlugins/txp/trpage_pparse.cpp, - src/osgPlugins/txp/trpage_range.cpp, - src/osgPlugins/txp/trpage_read.h, - src/osgPlugins/txp/trpage_scene.cpp, - src/osgPlugins/txp/trpage_scene.h, - src/osgPlugins/txp/trpage_swap.h, - src/osgPlugins/txp/trpage_sys.h, - src/osgPlugins/txp/trpage_tile.cpp, - src/osgPlugins/txp/trpage_util.cpp, - src/osgPlugins/txp/trpage_util.h, - src/osgPlugins/txp/trpage_write.h: Replaced tabs with four spaces - -2011-06-16 08:46 robert - - * CMakeModules/FindOurDCMTK.cmake: From Jean-Christophe Lombardo, - "On Fedora 14, dcmtk libs are under /usr/lib/dcmtk. I've added a - PATH_SUFFIX to take that into account" - -2011-06-15 18:31 robert - - * include/osgUtil/IncrementalCompileOperation, - src/osgUtil/IncrementalCompileOperation.cpp: Improved the - handling of compiling vs flushing deleted objects - -2011-06-15 17:00 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: Changed the key handling - code to use EventQueue::getTime() rather then the theEvent - timestamp. - -2011-06-15 09:36 robert - - * src/osgUtil/RenderStage.cpp: Fixed blitting of FBO's with - multiple render targets. - -2011-06-15 09:35 robert - - * examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp: - From Anthousis Andreadis, added multiple sampling test for - multiple rendering targets which is activated by the --ms command - line option. - -2011-06-14 18:10 robert - - * CMakeModules/FindAndroidNDK.cmake: From Jorge Ciges, "Update to - FindAndroidNDK to make it use the latest Ndk (r5c) automatically. - - That fixes compatibilities with some 2.1 devices. And it looks - like all goes well." - -2011-06-14 16:54 robert - - * examples/osganimate/osganimate.cpp, - examples/osgblendequation/osgblendequation.cpp, - examples/osgcallback/osgcallback.cpp, - examples/osgcamera/osgcamera.cpp, examples/osgcatch/osgcatch.cpp, - examples/osgclip/osgclip.cpp, - examples/osgcompositeviewer/osgcompositeviewer.cpp, - examples/osgcopy/osgcopy.cpp, examples/osgcubemap/osgcubemap.cpp, - examples/osgdirectinput/osgdirectinput.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgdrawinstanced/osgdrawinstanced.cpp, - examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osggeometry/osggeometry.cpp, examples/osghud/osghud.cpp, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osglight/osglight.cpp, - examples/osglogicop/osglogicop.cpp, - examples/osgmotionblur/osgmotionblur.cpp, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgoutline/osgoutline.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgpick/osgpick.cpp, examples/osgposter/osgposter.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgscribe/osgscribe.cpp, - examples/osgsequence/osgsequence.cpp, - examples/osgshadow/osgshadow.cpp, - examples/osgsidebyside/osgsidebyside.cpp, - examples/osgsimplifier/osgsimplifier.cpp, - examples/osgsimulation/osgsimulation.cpp, - examples/osgspheresegment/osgspheresegment.cpp, - examples/osgspotlight/osgspotlight.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgthirdpersonview/osgthirdpersonview.cpp, - examples/osgunittests/FileNameUtils.cpp, - examples/osgunittests/MultiThreadRead.cpp, - examples/osgviewerFOX/FOX_OSG_MDIView.cpp, - examples/osgviewerQt/osgviewerQt.cpp, - examples/osgwidgetbox/osgwidgetbox.cpp, - examples/osgwidgetmenu/osgwidgetmenu.cpp, - examples/osgwidgetmessagebox/osgwidgetmessagebox.cpp, - examples/osgwidgetprogress/osgwidgetprogress.cpp, - examples/osgwidgetwindow/osgwidgetwindow.cpp, - examples/osgwindows/osgwindows.cpp, runexamples.bat: Replaced - .osg with .osgt file usage - -2011-06-14 16:50 robert - - * examples/osgocclusionquery/osgocclusionquery.cpp: Improved the - handling of command line parameters - -2011-06-14 15:55 robert - - * CMakeLists.txt, include/osg/Version: Updated version - -2011-06-14 15:48 robert - - * include/osg/State, src/osg/State.cpp: Added support - osg::State::drawQuad(..) for number of vertices in quads to uint - range rather than just ushort range. - -2011-06-14 12:44 robert - - * include/osgGA/EventQueue, src/osgGA/EventQueue.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Fixed issue with events having a negative delta of time between - them. - -2011-06-14 10:15 robert - - * include/osg/BufferObject, src/osg/BufferObject.cpp: Added - GLBufferObject::computeBufferAlignment(..) method to enable - buffer entries to be aligned along specified buffer alignment - boundaries, currently defaulting to 4. - -2011-06-14 09:16 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Stephan Huber, - "attached you'll find a fix for the non-working - useCursor()-method for - Windows. With the old code you can switch off the cursor, but not - back on." - -2011-06-14 09:11 robert - - * include/osgViewer/api/IOS/GraphicsWindowIOS, - src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp, - src/osgViewer/GraphicsWindowIOS.mm, src/osgViewer/IOSUtils.h, - src/osgViewer/IOSUtils.mm: Removed executable permission. - -2011-06-14 09:01 robert - - * CMakeModules/FindQTKit.cmake, CMakeModules/FindQuickTime.cmake: - From Stephan Huber, "attached you'll find some tweaks for the - FindQuicktime and - > FindQTKit-cmake-plugins, so they get disabled for ios-builds." - -2011-06-13 15:20 robert - - * src/osgDB/FileUtils.cpp: Fixed wild card search when wild card - filename includes a path. - -2011-06-13 08:52 robert - - * src/osgText/Style.cpp: From Jeremy Moles, fixed style == - operator. - -2011-06-13 08:45 robert - - * src/osg/ImageUtils.cpp: From Stephan Huber, build fix for IOS - -2011-06-10 11:42 robert - - * include/osg/ValueObject: Added handling of s/gUserValue() - directly on a UserDataContainer. - -2011-06-09 14:20 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - 2.9.16 dev release - -2011-06-09 14:11 robert - - * examples/osgAndroidExampleGLES1, - examples/osgAndroidExampleGLES1/AndroidManifest.xml, - examples/osgAndroidExampleGLES1/assets, - examples/osgAndroidExampleGLES1/default.properties, - examples/osgAndroidExampleGLES1/jni, - examples/osgAndroidExampleGLES1/jni/Android.mk, - examples/osgAndroidExampleGLES1/jni/Application.mk, - examples/osgAndroidExampleGLES1/jni/OsgAndroidNotifyHandler.cpp, - examples/osgAndroidExampleGLES1/jni/OsgAndroidNotifyHandler.hpp, - examples/osgAndroidExampleGLES1/jni/OsgMainApp.cpp, - examples/osgAndroidExampleGLES1/jni/OsgMainApp.hpp, - examples/osgAndroidExampleGLES1/jni/osgNativeLib.cpp, - examples/osgAndroidExampleGLES1/proguard.cfg, - examples/osgAndroidExampleGLES1/res, - examples/osgAndroidExampleGLES1/res/drawable-hdpi, - examples/osgAndroidExampleGLES1/res/drawable-hdpi/osg.png, - examples/osgAndroidExampleGLES1/res/drawable-hdpi/web_browser.png, - examples/osgAndroidExampleGLES1/res/drawable-ldpi, - examples/osgAndroidExampleGLES1/res/drawable-ldpi/osg.png, - examples/osgAndroidExampleGLES1/res/drawable-mdpi, - examples/osgAndroidExampleGLES1/res/drawable-mdpi/osg.png, - examples/osgAndroidExampleGLES1/res/layout, - examples/osgAndroidExampleGLES1/res/layout/dialog_text_entry.xml, - examples/osgAndroidExampleGLES1/res/layout/main.xml, - examples/osgAndroidExampleGLES1/res/layout/ui_layout_gles.xml, - examples/osgAndroidExampleGLES1/res/menu, - examples/osgAndroidExampleGLES1/res/menu/appmenu.xml, - examples/osgAndroidExampleGLES1/res/values, - examples/osgAndroidExampleGLES1/res/values/strings.xml, - examples/osgAndroidExampleGLES1/src, - examples/osgAndroidExampleGLES1/src/osg, - examples/osgAndroidExampleGLES1/src/osg/AndroidExample, - examples/osgAndroidExampleGLES1/src/osg/AndroidExample/ColorPickerDialog.java, - examples/osgAndroidExampleGLES1/src/osg/AndroidExample/EGLview.java, - examples/osgAndroidExampleGLES1/src/osg/AndroidExample/osgNativeLib.java, - examples/osgAndroidExampleGLES1/src/osg/AndroidExample/osgViewer.java, - examples/osgAndroidExampleGLES2, - examples/osgAndroidExampleGLES2/AndroidManifest.xml, - examples/osgAndroidExampleGLES2/assets, - examples/osgAndroidExampleGLES2/default.properties, - examples/osgAndroidExampleGLES2/jni, - examples/osgAndroidExampleGLES2/jni/Android.mk, - examples/osgAndroidExampleGLES2/jni/Application.mk, - examples/osgAndroidExampleGLES2/jni/OsgAndroidNotifyHandler.cpp, - examples/osgAndroidExampleGLES2/jni/OsgAndroidNotifyHandler.hpp, - examples/osgAndroidExampleGLES2/jni/OsgMainApp.cpp, - examples/osgAndroidExampleGLES2/jni/OsgMainApp.hpp, - examples/osgAndroidExampleGLES2/jni/osgNativeLib.cpp, - examples/osgAndroidExampleGLES2/proguard.cfg, - examples/osgAndroidExampleGLES2/res, - examples/osgAndroidExampleGLES2/res/drawable-hdpi, - examples/osgAndroidExampleGLES2/res/drawable-hdpi/osg.png, - examples/osgAndroidExampleGLES2/res/drawable-hdpi/web_browser.png, - examples/osgAndroidExampleGLES2/res/drawable-ldpi, - examples/osgAndroidExampleGLES2/res/drawable-ldpi/osg.png, - examples/osgAndroidExampleGLES2/res/drawable-mdpi, - examples/osgAndroidExampleGLES2/res/drawable-mdpi/osg.png, - examples/osgAndroidExampleGLES2/res/layout, - examples/osgAndroidExampleGLES2/res/layout/dialog_text_entry.xml, - examples/osgAndroidExampleGLES2/res/layout/main.xml, - examples/osgAndroidExampleGLES2/res/layout/ui_layout_gles.xml, - examples/osgAndroidExampleGLES2/res/menu, - examples/osgAndroidExampleGLES2/res/menu/appmenu.xml, - examples/osgAndroidExampleGLES2/res/values, - examples/osgAndroidExampleGLES2/res/values/strings.xml, - examples/osgAndroidExampleGLES2/src, - examples/osgAndroidExampleGLES2/src/osg, - examples/osgAndroidExampleGLES2/src/osg/AndroidExample, - examples/osgAndroidExampleGLES2/src/osg/AndroidExample/ColorPickerDialog.java, - examples/osgAndroidExampleGLES2/src/osg/AndroidExample/EGLview.java, - examples/osgAndroidExampleGLES2/src/osg/AndroidExample/osgNativeLib.java, - examples/osgAndroidExampleGLES2/src/osg/AndroidExample/osgViewer.java: - From Jorge Ciges, "two clean example viewers (GLES1/2) that - permit load models withouth recompiling by options in the menu - and some basic options. basic options. - - As Rafa and I told you earlier this can't be integrated in the - CMAKE chain. It needs to be compiled by the user out of the OSG - standard compilation. It could be stored in the examples. That - way users will not come here asking for the examples. - - Main characteristics are: - - -Menu with loading and unloading by path. - -Return to home view - -Keyboard capabilities with manipilator switch and basic state - changing. - -Change color screen. - -Osg log bypassed to LogCat (This comes practically straight from - Marcin Hajder example I've only added personal TAG) - -Earmbi / Earmbi V7 - -Install to SD (if the device supports the feature) - - And that's all. Now I'm looking to fix the environmental mapping - with true GLES (it does not work well in Android) I will try to - make it in time for 3.0. The other work that i'm studying Dynamic - build with Android but that will need a lot of time to test. - -2011-06-09 12:57 robert - - * examples/osguserdata/osguserdata.cpp, include/osg/Node, - include/osg/Object, include/osg/UserDataContainer, - include/osg/ValueObject, src/osg/Node.cpp, src/osg/Object.cpp, - src/osg/UserDataContainer.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/UserDataContainer.cpp: Refactored - the UserDataContainer so that the osg::UserDataContainer is now a - pure virtual base class, - with a osg::DefaultUserDataContainer subclassed from this. The - user object access methods have now all - been moved from osg::Object into the UserDataContainer class, - except for the set/getUserData() methods - that are left in osg::Object for backwards compatibility, and the - description list access methods have - been moved back into osg::Node. - - main UserObject access methods are now all def - -2011-06-09 11:07 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Mathias - Froehlich, "the attached patch adds an additional null pointer - check" - -2011-06-09 11:05 robert - - * src/osgUtil/TangentSpaceGenerator.cpp: From Mathias Froehlich, - "The attached patch adds the polygon primitive to the - TangentSpace computation. - As far as I understand, this should just work for the polygon as - well as with - the tristrip primitive. - " - -2011-06-09 10:48 robert - - * examples/osgvolume/osgvolume.cpp, - include/osgPresentation/SlideShowConstructor: Changed the - defaults volume setting to not enable the SampleDensityWhenMoving - property. - -2011-06-08 17:45 robert - - * examples/osgvolume/osgvolume.cpp: Cleaned up example to use the - new ImageUtils functions for creating a 3D image from a list of - images. - -2011-06-08 16:10 robert - - * examples/osgvolume/osgvolume.cpp, include/osg/ImageUtils, - src/osg/ImageUtils.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - creating a 3D Image from an image list. - - Added support for reading a list of images in the Present3D - tag. - -2011-06-08 09:28 robert - - * examples/osguserdata/osguserdata.cpp: Removed OSG_EXPORT - -2011-06-08 09:24 robert - - * src/osgViewer/View.cpp: Introduced a less conservative near - ratio. - -2011-06-08 09:24 robert - - * examples/osgdepthpartition/CMakeLists.txt, - examples/osgdepthpartition/DepthPartitionNode.cpp, - examples/osgdepthpartition/DepthPartitionNode.h, - examples/osgdepthpartition/DistanceAccumulator.cpp, - examples/osgdepthpartition/DistanceAccumulator.h, - examples/osgdepthpartition/osgdepthpartition.cpp: Simplified the - osgdepthpartion example to use the - osgView::View::setUpDepthPartition(..) feature - -2011-06-07 20:24 robert - - * src/osgPresentation/SlideShowConstructor.cpp: Added support for - reading .osg, .osgb, .osgx, .osgt and .ive models that contain - volumes from within the volume tag. - -2011-06-07 16:17 robert - * examples/osgvolume/osgvolume.cpp, - src/osgWrappers/serializers/osgVolume/SampleDensityProperty.cpp: - Added support for .osgt, .osgb and .osgx plugins to osgvolume - example -2011-06-07 15:33 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14405 16af8721-9629-0410-8352-f15c8da7e697 - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - release -2011-06-07 14:28 robert +Fri, 8 Aug 2014 16:09:39 +0000 +Checked in by : Robert OSFIELD +From Marc Helbling, "please find a fix for the vertex pretransform visitor (VertexAccessOrderVisitor). The issue with current code is that arrays are collected *before* duplicating shared arrays which leads to arrays that are correctly duplicated but that are not reordered.Also the submitted patch contains a small cleaning in GeometryArrayGathrer as the _useDrawElements variable is not used; it is only set in the GeometryArrayGathrer constructor and VertexAccessOrderVisitor already checks that primitives have indexed type." - * src/osgPlugins/fbx/WriterNodeVisitor.cpp: From Sukender, "Lastest - change (update to FBX 2012.1) introduced a regression. It didn't - take materials' order into consideration. The line - lMaterialLayer->GetDirectArray().SetAt(it->second.getIndex(), - lMaterial); - has been replaced by - _curFbxNode->AddMaterial(lMaterial); - because KFbxLayerElementMaterial::GetDirectArray() is now private - and we can't access to it. - However, pushing back the material at the end of the vector is - wrong. - We can use the (now) public attribute - KFbxLayerElementMaterial::mDirectArray, as in this submission. - " -2011-06-07 14:26 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14403 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osguserdata/osguserdata.cpp, include/osg/Object, - src/osgPlugins/zip/ZipArchive.cpp, - src/osgQt/GraphicsWindowQt.cpp: From Mathias Froehlich, build - fixes for legacy unix systems -2011-06-07 13:02 robert +Fri, 8 Aug 2014 15:45:54 +0000 +Checked in by : Robert OSFIELD +From Glen Waldron, "Node: patch for remove*Callback() methods to resolve a crash"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14401 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osguserdata/osguserdata.cpp, include/osg/Object, - include/osg/UserDataContainer, src/osg/CMakeLists.txt, - src/osg/Object.cpp, src/osg/UserDataContainer.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/UserDataContainer.cpp: Added - ability to subclass from osg::Object to provide custom user data - functionality. A new UserDataContainer provides the - default implementation of the user data functionality. -2011-06-07 09:28 robert +Fri, 8 Aug 2014 09:28:26 +0000 +Checked in by : Robert OSFIELD +Changes to support building against ANDROID under OSX.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14399 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/Object.cpp: Added the return of the index position of the - added UserObject -2011-06-07 08:53 robert +Tue, 5 Aug 2014 18:32:45 +0000 +Checked in by : Robert OSFIELD +Implemented osgUI::Validator, IntValidator and DoubleValidator classes that manage validation/specialization of LineEdit widgets to work with just integer or double values.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14398 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/Object, src/osg/Object.cpp: Added support for - searching for user objects from a given startPosition in the - UserDataContainer object. -2011-06-06 11:48 robert +Fri, 1 Aug 2014 13:07:38 +0000 +Checked in by : Robert OSFIELD +Implemented callbacks for validate(), textChanged() and returnPressed()git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14397 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp: From Frida - Schlaug, "Imageio for ios had a poorly implemented function for - reading from streams (always returning null). In this patch I - copied some code from the non-ios imageio file and adjusted it to - work on ios. " -2011-06-06 11:45 robert +Fri, 1 Aug 2014 10:57:24 +0000 +Checked in by : Robert OSFIELD +Moved responsiblity for checking current event focus onto Widget::handleImplementations().Added support for closing CombinBox popup when the mouse is clicked outside the popup or combobox widget. - * PlatformSpecifics/Android/Android.mk.modules.in: From Jorge - Ciges, Minor tweaks in Android makefiles that make possible to - compile for armeabi v7 with neon -2011-06-06 11:44 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14396 16af8721-9629-0410-8352-f15c8da7e697 - * PlatformSpecifics/Android/Application.mk.master.in: From Jorge - Ciges, Minor tweaks in Android makefiles that make possible to - compile for armeabi v7 with neon -2011-06-03 15:58 robert +Thu, 31 Jul 2014 18:29:31 +0000 +Checked in by : Robert OSFIELD +Added NodeVisitor::INTERSECTION_VISITOR VisitorTypegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14395 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgvolume/osgvolume.cpp: Added support for --tf-255 - transfer function files -2011-06-03 13:47 robert +Wed, 30 Jul 2014 12:48:28 +0000 +Checked in by : Robert OSFIELD +Fixed rendering of Popupsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14394 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPresentation/SlideShowConstructor.cpp: Added support for - using the sampleDensityWhenMoving tag with all techniques -2011-06-02 22:49 robert +Wed, 30 Jul 2014 12:47:45 +0000 +Checked in by : Robert OSFIELD +Update SO version to account for new changes to osg::StateSet and osgUIgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14393 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/Object.cpp: Added extra check to make sure that - _userDataContainer was available before copying it -2011-06-02 22:07 robert +Wed, 30 Jul 2014 12:47:16 +0000 +Checked in by : Robert OSFIELD +Added StateSet::RenderBinMode::PROTECTED_RENDERBIN_DETAILS and OVERRIDE_PROTECTED_RENDERBIN_DETAILS options.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14392 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgDB/Serializer: Add new macro's to help with - serialization of new user objects -2011-06-02 22:06 robert +Tue, 29 Jul 2014 15:50:55 +0000 +Checked in by : Robert OSFIELD +Added preliminary icon to ComboBox.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14391 16af8721-9629-0410-8352-f15c8da7e697 - * examples/CMakeLists.txt, examples/osguserdata, - examples/osguserdata/CMakeLists.txt, - examples/osguserdata/osguserdata.cpp: Added new osguserdata - example as a guide to the new user object API and as a testbed -2011-06-02 22:05 robert +Tue, 29 Jul 2014 15:50:37 +0000 +Checked in by : Robert OSFIELD +Fixed debug commentgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14390 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/ValueObject.cpp: Added support - for new osg::Object user objects. -2011-06-02 22:04 robert +Tue, 29 Jul 2014 15:50:07 +0000 +Checked in by : Robert OSFIELD +Implemented prelimary icon support allowing UI widget to place image and model based icons on widgetsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14389 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/CopyOp, include/osg/Node, include/osg/Object, - include/osg/ValueObject, src/osg/Drawable.cpp, src/osg/Node.cpp, - src/osg/Object.cpp: Introduced new user object support into - osg::Object that allows assignment of a list of user objects to - an osg::Object. - - Refactored original UserData and Descriptions strings to be - managed alongside the new user object suppport within - a single osg::Object::UserDataContainer. -2011-06-02 21:32 robert +Tue, 29 Jul 2014 15:47:55 +0000 +Checked in by : Robert OSFIELD +Added catch for NULL Transform pointers getting into the _transformMap.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14388 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/Version: Updated version -2011-06-02 20:38 robert +Mon, 28 Jul 2014 16:19:44 +0000 +Checked in by : Robert OSFIELD +Added handling of Drawables added directly to scene graph without Geode decorating them.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14386 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgWrappers/serializers/osg/Group.cpp: Added ref_ptr<> usage - to avoid possible memory leak. -2011-06-02 14:42 robert +Thu, 24 Jul 2014 14:14:35 +0000 +Checked in by : Robert OSFIELD +Added support for changing background colour of LineEdit widget when focus changesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14385 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt: Updated version and so number for next dev - release -2011-05-30 15:43 robert +Thu, 24 Jul 2014 13:25:49 +0000 +Checked in by : Robert OSFIELD +Refined the colouring of widget to be more in sync with the defaults used in Qt.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14384 16af8721-9629-0410-8352-f15c8da7e697 - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated AUTHORS and ChangeLog for 2.9.15 dev release -2011-05-30 13:02 robert +Wed, 23 Jul 2014 16:36:17 +0000 +Checked in by : Robert OSFIELD +Added VolumeSettings::Filename property.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14383 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Dimi Christop, - build fix for RHEL 4. -2011-05-30 09:26 robert +Wed, 23 Jul 2014 15:57:35 +0000 +Checked in by : Robert OSFIELD +Changed the default text colour to blackgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14382 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgViewer/GraphicsWindowX11.cpp: Added closing of the - _eventDisplay on failure of initializing the context properly. -2011-05-30 09:25 robert +Wed, 23 Jul 2014 14:50:42 +0000 +Checked in by : Robert OSFIELD +Added writeFile supportgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14381 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/GraphicsContext.cpp: Fixed X11 related crash that occured - when GraphicsWindow::setCursor was called right after - viewer.realize(); - The fix was to simply move the setting of the thread that has - done the makeCurrent to right before the makeCurrent() - rather than right after. -2011-05-30 08:26 robert +Wed, 23 Jul 2014 10:49:27 +0000 +Checked in by : Robert OSFIELD +Added Node:getNumParents() and Node:getParent(index) supportgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14380 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeModules/Find3rdPartyDependencies.cmake: From Wang Rui, "The - submission fixes the spelling bug we discussed in osg-users. It - replaces the variable ACTUAL_3DPARTY_DIR to ACTUAL_3RDPARTY_DIR - with - back compatibility. Please find it in attachment. - " -2011-05-30 08:24 robert +Tue, 22 Jul 2014 16:02:33 +0000 +Checked in by : Robert OSFIELD +Removed State::AppliedProgramObjectSet container and Obsever usage from osg::State to address threading bug crash.The State::AppliedProgramObjectSet wasn't ever being used actively in the current rev of the OSG so populating and clearing was no longer neccessary, allowing the code to be removed completely. - * src/osgText/TextBase.cpp: From Terry Welsh, "I was having a small - culling problem with osgText... new TextBase.cpp that fixes it." -2011-05-27 16:04 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14377 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgViewer/GraphicsWindowX11.cpp: Reverted part of revision - r12294 that introduced threading related problems under X11 due - to checking the _display - Display member variable assigned to the graphics thread from the - main thread. -2011-05-27 11:22 robert +Mon, 21 Jul 2014 16:36:47 +0000 +Checked in by : Robert OSFIELD +Centralized the calling of #include and VS fallback into include/osg/Types headergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14376 16af8721-9629-0410-8352-f15c8da7e697 - * applications/osgconv/OrientationConverter.cpp, - applications/osgconv/OrientationConverter.h, - applications/osgconv/osgconv.cpp: From Ryan Pavlik, "Existing - osgconv behavior is to transform the model bounding sphere center - to the world origin before performing transformations specified - on the command line, and translating back after rotation and - scaling unless an alternate translation is specified. This patch - adds a setting to the OrientationConverter class in osgconv to - disable this extra transformation, which has the effect of - applying specified transforms with respect to the input world - coordinate system, rather than to the center of the bounding - sphere. It also adds a command line argument "--use-world-frame" - to enable this behavior. When this command line argument is not - passed, behavior is unchanged from before the patch. The usage - text has been updated to reflect this additional option, and the - comments in OrientationConverter are also updated." - - Note from Robert Osfield, tweaked the OrientationConverter.cpp a - little to improve readability. -2011-05-27 11:18 robert - - * applications/osgconv/OrientationConverter.h: Fixed indentation - -2011-05-27 11:07 robert - - * examples/osg2cpp/osg2cpp.cpp: Fixed the searchAndReplace function - so that it correctly skips over the newly inserted replacement - strings. - -2011-05-27 09:08 robert - - * CMakeLists.txt, CMakeModules/OsgCPack.cmake: From Jean-Sebastien - Guay, "I like the recent addition that adds folders in the - solution tree to better organize the numerous examples, - libraries, plugins etc. - - I added two folders that were missing IMHO: packaging and - documentation. - " - -2011-05-27 09:05 robert - - * src/osgPlugins/pnm/ReaderWriterPNM.cpp: From Eric Sokolowsky, - "Attached is an updated PNM plugin for inclusion in both the - trunk and for release version 2.8.5. The attached file fixes - numerous bugs in reading 8-bit and 16-bit images, including - loading the images upside-down. This file also incorporates trunk - patch r12220 which updated the plugin for reading and writing - images through streams instead of C-style FILE I/O." - - Note from Robert Osfield, previous revision was in error due to - an incomplete merge, this revision completes the job. - -2011-05-27 09:00 robert - - * src/osgUtil/TriStripVisitor.cpp: From Laurens Voerman, "While - working on the osg exporter for 3dsmax I found a bug in the - TriStripVisitor. I created a small example (attached), and a - modified version of - src\osgUtil\TriStripVisitor.cpp where the problem is removed." - -2011-05-27 08:55 robert - - * src/osgPlugins/pnm/ReaderWriterPNM.cpp: From Eric Sokolowsky, - "Attached is an updated PNM plugin for inclusion in both the - trunk and for release version 2.8.5. The attached file fixes - numerous bugs in reading 8-bit and 16-bit images, including - loading the images upside-down. This file also incorporates trunk - patch r12220 which updated the plugin for reading and writing - images through streams instead of C-style FILE I/O." - -2011-05-27 08:22 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Reverted Bryce Eldrige - submission. - -2011-05-26 16:52 robert - - * include/osg/Math, src/osg/GL2Extensions.cpp, - src/osg/GLExtensions.cpp, src/osg/Math.cpp: Form Jorge Ciges, - improved GL version detection code. - -2011-05-26 16:34 robert - - * src/osgDB/OutputStream.cpp: From Dietmar Funck, "I've noticed an - issue when writing arrays of type Vec2D and Vec3D to a .osgb - file. A number is written to the output stream to identify the - array type. In case of Vec2D and Vec3D arrays Vec4D is written as - array type - I guess this is a copy and paste mistake. - Writing the correct array types fixes the issue - in my case it - fixes writing and afterwards reading geometry instances." - -2011-05-26 16:26 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Bryce Eldridge, - "Here is an update for the TIFF plugin that includes the - following features when writing out TIFF files: - - - Support for writing unsigned 16-bit images (GL_UNSIGNED_SHORT) - - Code to parse the options string for the following options: - -- Flag to turn off the compression. The PACKBITS compression - type causes issues for me with some programs on Windows (Picasa - for example). - -- Options to set the XRESOLUTION and YRESOLUTION tags (DPI) in - the TIFF file. - - Existing behavior (PACKBITS compression, DPI tags left at - default) is preserved if the options string is not set. - " - -2011-05-26 16:19 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: Fixed default setting - of texture_no_tile to match the flags seet in lib3ds_material.cpp - initialize_texture_map(..). - -2011-05-26 16:16 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Oliver Neumann, - - "I checked your solution and found one missing point which makes - it still produce the tif error: - The very first seek_set on the empty stream with zero offset." - - "This means that the empty stream is seeked again resulting in - the fail bit to be set. Your code does not check this case, - furthermore you use t_off instead of std::ostream::streampos for - the tellp() calls. In this special case (empty stream) tellp() - returns -1 which is cast to 0xFFFFFFFFFF as t_off is unsigned. I - suggest this addition to your code (within the switch statement)" - -2011-05-26 16:13 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Fixed indentation - -2011-05-26 15:47 robert - - * src/osg/BufferObject.cpp: Fixed handling of changes in gl buffer - object size so that when a gl buffer object is resized all the - buffer data - is recompiled. - -2011-05-25 12:41 robert - - * src/osgPlugins/zip/ZipArchive.cpp, - src/osgPlugins/zip/ZipArchive.h: From Bradley Anderegg, "Ok, I am - re-submitting this with the changes we discussed. That is, there - is a default implementation of - osgDB::Archive::getDirectoryContents() that uses getFileNames(), - and the osgDB::ArchiveExtended header was removed as it is now - unnecessary. - - Here is a quick list of the modified files: - - Archive - getDirectoryContents() no longer pure virtual - Archive.cpp - default getDirectoryContents() implementation - unzip.cpp - modified to fix a bug where the same file will not - load twice in a row - ZipArchive.h / ZipArchive.cpp - extends osgDB::Archive and - provides support for random access loading within a .zip file - ReaderWriterZip.cpp - modified to use the ZipArchive class" - -2011-05-25 09:34 robert - - * ChangeLog: Updated ChangeLog - -2011-05-25 09:34 robert - - * CMakeLists.txt, src/osgViewer/CMakeLists.txt: From Olaf Flebbe, - fixes for OSX AGL build - -2011-05-25 09:13 robert - - * src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/OSGA_Archive.h: Removed now redundent local - implementation of getDirectoryContexts() - -2011-05-25 09:04 robert - - * include/osgDB/Archive, src/osg/Texture2D.cpp, - src/osgDB/Archive.cpp, src/osgPlugins/zip/CMakeLists.txt, - src/osgPlugins/zip/ReaderWriterZIP.cpp, - src/osgPlugins/zip/unzip.cpp: From Bradley Anderegg, "Ok, I am - re-submitting this with the changes we discussed. That is, there - is a default implementation of - osgDB::Archive::getDirectoryContents() that uses getFileNames(), - and the osgDB::ArchiveExtended header was removed as it is now - unnecessary. - - Here is a quick list of the modified files: - - Archive - getDirectoryContents() no longer pure virtual - Archive.cpp - default getDirectoryContents() implementation - unzip.cpp - modified to fix a bug where the same file will not - load twice in a row - ZipArchive.h / ZipArchive.cpp - extends osgDB::Archive and - provides support for random access loading within a .zip file - ReaderWriterZip.cpp - modified to use the ZipArchive class" - -2011-05-24 13:05 robert - - * src/osgViewer/CMakeLists.txt: From Olaf Flebbe, "build out-of-the - box on MacOSX. The default windowing system is carbon and it - needs the AGL OpenGL Windowing binding framework, which is - missing. osgViewer does not link therefore. Cocoa does not use - AGL. - - The fix adds the AGL Framework to the Carbon link line for - osgViewer" - -2011-05-24 10:20 robert - - * src/osg/GL2Extensions.cpp: Fixed Coverity issues. - - CID 11669: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _glAttachShader is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _glBindAttribLocation is not initialized - in this constructor nor in any functions that it calls. - ... - - - CID 11699: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _areTessellationShadersSupported is not - initialized in this constructor nor in any functions that it - calls. - -2011-05-24 10:19 robert - - * src/osg/KdTree.cpp: Fixed Coverity issue. - - CID 12328: Resource leak (RESOURCE_LEAK) - Calling allocation function "osg::KdTree::cloneType() const". - (The virtual call resolves to "osg::Object * - osg::KdTree::cloneType() const".) [show details] - Failing to save storage allocated by - "this->_kdTreePrototype->cloneType()" leaks it. - -2011-05-24 10:18 robert - - * src/osg/Image.cpp: Fixed Coverity issue. - - CID 11692: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _allocationMode is not initialized in - this constructor nor in any functions that it calls. - -2011-05-24 10:18 robert - - * src/osg/GLBeginEndAdapter.cpp: Fixed Coverity issue. - - CID 11668: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _primitiveMode is not initialized in this - constructor nor in any functions that it calls. - -2011-05-24 10:16 robert - - * src/osg/Geometry.cpp: Fixed 3 Coverity issues. - - CID 11697: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _type is not initialized in this - constructor nor in any functions that it calls. - - CID 11698: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _type is not initialized in this - constructor nor in any functions that it calls. - - CID 12329: Resource leak (RESOURCE_LEAK) - Calling allocation function "osg::Object::clone(osg::CopyOp const - &) const". (The virtual call resolves to "osg::Object * - GDALPlugin::DataSetLayer::clone(osg::CopyOp const &) const".) - [show details] - Failing to save storage allocated by - "this->getVertexArray()->clone(struct osg::CopyOp const(128U))" - leaks it. - -2011-05-24 10:15 robert - - * src/osg/FrameStamp.cpp: Fixed Coverity issue. - - CID 11696: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _simulationTime is not initialized in - this constructor nor in any functions that it calls. - -2011-05-24 10:15 robert - - * src/osg/FrameBufferObject.cpp: Fixed Coverity issue. - - CID 11695: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _ximpl is not initialized in this - constructor nor in any functions that it calls. - -2011-05-24 10:14 robert - - * src/osg/Drawable.cpp: Fixed Coverity issue. - - CID 11694: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _isARBOcclusionQuerySupported is not - initialized in this constructor nor in any functions that it - calls. - -2011-05-24 10:14 robert - - * include/osg/Drawable: Fixed Coverity issue. - - CID 11666: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _glMultiTexCoord1dv is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _glVertexAttrib1dv is not initialized in - this constructor nor in any functions that it calls. - -2011-05-24 10:13 robert - - * src/osg/BufferObject.cpp: Fixed Coverity issue. - - CID 11691: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _isPBOSupported is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _isUniformBufferObjectSupported is not - initialized in this constructor nor in any functions that it - calls. - -2011-05-24 10:08 robert - - * src/osgQt/GraphicsWindowQt.cpp: Fixed build error - -2011-05-23 16:58 robert - - * src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_write.h: Removed unused numX, numY - member variables, and added initializer for firstHeaderWrite. - -2011-05-23 08:17 robert - - * include/osgUtil/CullVisitor: Added - CullVisitor::setCalculatedNearPlane() and - setCalculatedFarPlane(() methods to enable 3rd party code to - manage the compute of the near/far planes. - -2011-05-19 13:25 robert - - * src/osgGA/FirstPersonManipulator.cpp: Uppded the default - acceleration as it was too slow for reasonable sized models - -2011-05-17 12:57 robert - - * src/osgDB/ExternalFileWriter.cpp: From Sukender, "There was a - stupid parameter inversion in ExternalFileWriter.cpp. - Sorry for this. Here is the fix." - -2011-05-17 09:21 robert - - * src/osgQt/GraphicsWindowQt.cpp: From Wang Rui, added close button - hint - -2011-05-16 12:44 robert - - * include/osgViewer/api/IOS/GraphicsWindowIOS, - src/osgViewer/GraphicsWindowIOS.mm: From Stephan Huber, "proposed - changes allows the user to add a osgGraphicsWindowIOS as an - UIView, respecting the sizes via GraphicsContext::Traits. - This helps users, who want to integrate osg into an existing - ios-app - with multiple UIViews. Additinally a view-controller gets only - created - if needed, set IGNORE_ORIENTATION via the WindowData-struct. - " - -2011-05-16 10:07 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWAnimations.cpp, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWTransforms.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h: - From Sukender, I wrapped my change about non-empty texture units - in an off-by-default option, so that it doesn't break any - existing code. But AFAIK, other readers (except OSGx) generate - contiguous texture units, so I guess this option to be useful for - users. - - Other changes in this sumbission include the added ability to - tessellate polygons in Collada reader, with appropriate options. - - No tessellation - - Tessellate as triangle fan (previous behaviour, kept as default - for backward-compatibility) - - Full tessellation - - I also put auto_ptr<> for RAII of DAE structure (as discussed), - and moved reader options in a structure, as for the writer. - - Code also make use of osgDB::ExternalFileWriter I submitted, so - please merge this submission after the PluginImageWriter one. - -2011-05-16 09:17 robert - - * examples/osgviewerQt/CMakeLists.txt, - examples/osgviewerQt/osgviewerQt.cpp, - examples/osgviewerQt/osgviewerQtContext.cpp: Renamed example from - osgviewerQtContext to osgviewerQt. - -2011-05-16 09:16 robert - - * examples/osgqfont/osgqfont.cpp: Updated example to use new - GraphicsWindowQt::getGLWidget() method instead of deprecated - getGraphWidget() method - -2011-05-16 09:15 robert - - * examples/osgviewerQt/osgviewerQtContext.cpp: Added support for - setting threading model from command line and changed default - threading model to - CullDrawThreadPerContext. New command line options are: - - osgviewerQtContext --SingleThreaded - osgviewerQtContext --CullDrawThreadPerContext - osgviewerQtContext --DrawThreadPerContext - osgviewerQtContext --CullDrawThreadPerContext - -2011-05-16 09:06 robert - - * include/osgQt/GraphicsWindowQt, src/osgQt/GraphicsWindowQt.cpp: - From Jan Peciva, I have improved GraphicsWindowQt: - - - renamed osgQt::GraphWidget to osgQt::GLWidget - as it better fits to Qt naming (osgQt::GLWidget is derived from - QGLWidget - while recent GraphWidget... it is unclear, maybe QGraphicsView, - QGraphicsScene,....) - - added the code to properly manage ON_DEMAND rendering scheme - (involves osgQt::setViewer() and internal HeartBeat class) - - added forward key events functionality. It allows to not eat - the key events - by GLWidget, but it forwards them to Qt processing as well. - - destroying GLWidget before GraphicsWindowQt and vice versa does - not crash - the application - - it is possible to request particular QGLFormat in GLWidget - constructor - - added QtWindowingSystem class - - multithread OSG rendering improvements/fixes - - -- - - From Robert Osfield, added back in getGraphWidget() method for - backwards compatibility. - -2011-05-16 08:59 robert - - * include/osgQt/GraphicsWindowQt, src/osgQt/GraphicsWindowQt.cpp: - Fixed traling spaces - -2011-05-16 08:50 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream: From Rafa - Gata, I've been playing around with serializers in order to use - it as a - "generic" property mechanism for osg::Object. - - The main problem I have found is that InputStream and - OutputStream - only takes the stream when you call start method, and in that - case it - attaches to the stream buffer some stuff, useful for files but - not for - runtime/gui usage. I have added a simple setInputIterator and - setOutputIterator to the classes so now you can easily serialize - values without version and other stuff. - - Writing matrix: - osgDB::OutputStream os(0); - std::stringstream sstream; - os.setOutputIterator(new AsciiOutputIterator(&sstream)); - os << matrix; - std::string value = sstream.str(); - - Reading matrix: - osgDB::InputStream is(0); - std::stringstream sstream(value); - is.setInputIterator(new AsciiInputIterator(&sstream)); - osg::Matrixf mat2; - is >> mat2; - - From Robert Osfield, added doxygen comments to clarify the role - of the methods. - -2011-05-15 08:27 robert - - * src/osgPlugins/fbx/WriterNodeVisitor.cpp: From Wang Rui, build - fix - -2011-05-13 19:19 robert - - * CMakeLists.txt, include/osg/Version: Updated SO version as the - osgText and osgQt libraries API have changed, albeit only by a - small amount. - -2011-05-13 19:08 robert - - * include/osgQt/QFontImplementation, include/osgText/Font, - include/osgText/Glyph, src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/txf/TXFFont.h, src/osgQt/QFontImplementation.cpp, - src/osgText/DefaultFont.cpp, src/osgText/DefaultFont.h, - src/osgText/Font.cpp, src/osgText/Glyph.cpp: Fixed handling of - Font implementations that don't handle multiple font resolutions. - -2011-05-13 11:20 robert - - * src/osgPlugins/txf/TXFFont.cpp: Improved the size, advance and - bearing settings - -2011-05-12 18:52 robert - - * include/osg/View, src/osgPlugins/dicom/ReaderWriterDICOM.cpp: - Warning and build fixes - -2011-05-12 18:40 robert - - * include/osg/GraphicsCostEstimator: Added newline to end of file - -2011-05-12 14:07 robert - - * src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h: From Sukender, ported - across to use the new osgDB::ExternalFileWriter - -2011-05-12 13:27 robert - - * include/osgDB/ExternalFileWriter, include/osgDB/FileNameUtils, - src/osgDB/CMakeLists.txt, src/osgDB/ExternalFileWriter.cpp, - src/osgDB/FileNameUtils.cpp: From Sukender, new - ExternalFileWriter helper class that helps the management of - writing out external files to disk - avoid writing out of duplicates. - -2011-05-12 13:12 robert - - * include/osgUtil/TransformAttributeFunctor, - src/osgUtil/TransformAttributeFunctor.cpp: From Sukender, "Here - is a tiny fix which adds missing virtual methods in - osgUtil::TransformAttributeFunctor, to handle Vec3d." - -2011-05-12 13:08 robert - - * include/osgAnimation/RigTransform: Removed unused parameter - -2011-05-12 12:28 robert - - * examples/osg2cpp/osg2cpp.cpp: From Wang Rui, "A Chinese engineer - (named Beilei Geng) reports a possible bug in the - osg2cpp application to me today. The conversion result may become - incorrect if there are quotation marks ( " ) in the shader file, - which - will mostly appear in comment lines. - - Replace all " into \" before writing to cpp files will solve the - problem, as the attached file shows." - -2011-05-12 11:45 robert - - * src/CMakeLists.txt: From Rene Molenaar, "I have found a problem - regarding manifest in the plugins, - see - http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/src/CMakeLists.txt - the option OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS is - set to ON only after the subdirectories are added, - this causes /MANIFEST:NO while the option is ON after the first - configure, generate. - - if this option is moved (i.e. above the ADD_SUBDIRECTORY - statement) results are as expected. - - attached you will find the correct CMakeLists.txt - " - -2011-05-12 10:28 robert - - * include/osgQt/QFontImplementation: Removed redundent method - -2011-05-12 10:10 robert - - * src/osgPlugins/txf/TXFFont.cpp, src/osgPlugins/txf/TXFFont.h: - Added setting of size. - -2011-05-09 10:54 robert - - * src/osgSim/ImpostorSprite.cpp: Fixed Coverity reported issue. - - CID 11812: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _lastFrameUsed is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _s is not initialized in this constructor - nor in any functions that it calls. - Non-static class member _t is not initialized in this constructor - nor in any functions that it calls. - -2011-05-09 10:54 robert - - * src/osgSim/LightPointDrawable.cpp: Fixed Coverity reported issue. - - CID 11813: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _endian is not initialized in this - constructor nor in any functions that it calls. - -2011-05-09 10:53 robert - - * src/osgSim/OverlayNode.cpp: Fixed Coverity reported issue. - - CID 11814: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _updateCamera is not initialized in this - constructor nor in any functions that it calls. - -2011-05-09 10:53 robert - - * include/osgSim/Sector: Fixed Coverity reported issue. - - CID 11815: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _cosMaxElevation is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _cosMaxFadeElevation is not initialized - in this constructor nor in any functions that it calls. - Non-static class member _cosMinElevation is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _cosMinFadeElevation is not initialized - in this constructor nor in any functions that it calls. - -2011-05-09 10:52 robert - - * src/osgSim/SphereSegment.cpp: Fixed 6 Coverity reported issues. - - CID 11820: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _azAngle is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _elevAngle is not initialized in this - constructor nor in any functions that it calls. - - CID 11819: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _BoundaryAngle is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _planeOrientation is not initialized in - this constructor nor in any functions that it calls. - - CID 11818: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _BoundaryAngle is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _planeOrientation is not initialized in - this constructor nor in any functions that it calls. - - CID 11817: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _distance is not initialized in this - constructor nor in any functions that it calls. - - CID 11817: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _distance is not initialized in this - constructor nor in any functions that it calls. - - CID 11816: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _leftRightSurfaces is not initialized in - this constructor nor in any functions that it calls. - -2011-05-09 10:51 robert - - * src/osgUtil/CullVisitor.cpp: Fixed 2 Coverty reported issues. - - CID 11821: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _traversalNumber is not initialized in - this constructor nor in any functions that it calls. - - CID 11822: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _traversalNumber is not initialized in - this constructor nor in any functions that it calls. - -2011-05-08 12:06 robert - - * CMakeLists.txt, include/osg/Version: Updated version number to - 2.9.15 after dev release - -2011-05-08 11:57 robert - - * AUTHORS.txt: Updated AUTHORS for 2.9.14 dev release - -2011-05-08 11:56 robert - - * ChangeLog: Update ChangeLog - -2011-05-06 16:46 robert - - * include/osgDB/Registry, src/osgDB/Registry.cpp: Added - osg::ref_ptr - osgDB::Registry::getRefFromArchiveCache() and - osg::ref_ptr - osgDB::Registry::getRefFromObjectCache(). - -2011-05-06 12:32 robert - - * include/osgUtil/SceneGraphBuilder: Removed trailing spaces - -2011-05-06 12:30 robert - - * include/osgUtil/PolytopeIntersector: Fixed Coverity reported - issue. - - CID 11828: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member distance is not initialized in this - constructor nor in any functions that it calls. - Non-static class member maxDistance is not initialized in this - constructor nor in any functions that it calls. - Non-static class member numIntersectionPoints is not initialized - in this constructor nor in any functions that it calls. - Non-static class member primitiveIndex is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 12:30 robert - - * include/osgVolume/Property: Moved constructor implementation into - .cpp - -2011-05-06 12:27 robert - - * src/osgVolume/Property.cpp: Fixed Coverity reported issue. - - CID 11838: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _alphaFuncKey is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _cyleBackwardKey is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _cyleForwardKey is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _sampleDensityKey is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _transparencyKey is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _updateAlphaCutOff is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _updateSampleDensity is not initialized - in this constructor nor in any functions that it calls. - Non-static class member _updateTransparency is not initialized in - this constructor nor in any functions that it calls. - -2011-05-06 12:26 robert - - * src/osgUtil/PolytopeIntersector.cpp: Fixed Coverity reported - issue. - - CID 11827: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _plane_mask is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 12:25 robert - - * src/osgUtil/PlaneIntersector.cpp: Fixed Coverity reported issue. - - CID 11826: Uninitialized scalar field (UNINIT_CTOR) - Class member declaration for _recordHeightsAsAttributes. - -2011-05-06 12:25 robert - - * src/osgUtil/Simplifier.cpp: Fixed Coverity reported issue. - - CID 11830: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _geometry is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 12:24 robert - - * src/osgUtil/IntersectVisitor.cpp: Fixed Coverity reported issue. - - CID 11825: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _primitiveIndex is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _ratio is not initialized in this - constructor nor in any functions that it calls. - - CID 11824: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _hit is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _index is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _length is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _ratio is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 12:23 robert - - * src/osgUtil/SceneGraphBuilder.cpp: Fixed Coverity reported issue. - - CID 11829: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _primitiveMode is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 12:22 robert - - * include/osgViewer/ViewerEventHandlers: Fixed Coverity reported - issue. - - CID 11836: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _fullscreen is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 12:22 robert - - * src/osgViewer/PixelBufferWin32.cpp: Fixed Coverity reported - issue. - - CID 11831: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _context is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _dc is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _handle is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _instance is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 12:21 robert - - * src/osgViewer/View.cpp: Fixed Coverity reported issue. - - CID 11835: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _startTick is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 12:20 robert - - * src/osgViewer/StatsHandler.cpp: Fixed Coverity reported issues. - - CID 11834: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _tickLastUpdated is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _tmpText is not initialized in this - constructor nor in any functions that it calls. - - CID 11833: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _tmpText is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 10:30 robert - - * include/osgParticle/ExplosionOperator: Fixed Coverity reported - issues. - - CID 11843: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _inexp is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _outexp is not initialized in this - constructor nor in any functions that it calls. - - CID 11842: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _inexp is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _outexp is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 10:29 robert - - * include/osgWidget/WindowManager, src/osgWidget/Frame.cpp, - src/osgWidget/Window.cpp, src/osgWidget/WindowManager.cpp: Fixed - Coverity reported issues. - - - WindowManager.cpp - CID 11841: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _lastEvent is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _lastPush is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _view is not initialized in this - constructor nor in any functions that it calls. - - Frame.cpp - CID 11840: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _flags is not initialized in this - constructor nor in any functions that it calls. - - Window.cpp - CID 11839: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _index is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 10:28 robert - - * src/osgPlugins/dw/ReaderWriterDW.cpp: Fixed Coverity reported - issue - - CID 11441: Non-array delete for scalars (DELETE_ARRAY) - "_dwobj::readOpenings(_iobuf *, int)" allocates "obj.fc1". [show - details] - - "_dwobj::~_dwobj()" uses delete on "obj.fc1" which is an array. - It should be deleted with operator delete[]. [show details] - -2011-05-06 10:27 robert - - * src/osgPlugins/geo/ReaderWriterGEO.cpp: Fixed Covertiy reported - issues. - CID 11394: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::IntArray". - Assigning: "this->colorindices" = "new osg::IntArray". - The constructor allocates field "colorindices" of "struct - vertexInfo" but there is no destructor. - - CID 11395: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::IntArray". - Assigning: "this->coordindices" = "new osg::IntArray". - The constructor allocates field "coordindices" of "struct - vertexInfo" but there is no destructor. - - CID 11396: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::IntArray". - Assigning: "this->normindices" = "new osg::IntArray". - The constructor allocates field "normindices" of "struct - vertexInfo" but there is no destructor. - - CID 11397: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::IntArray". - Assigning: "this->txindices" = "new osg::IntArray". - The constructor allocates field "txindices" of "struct - vertexInfo" but there is no destructor. - - CID 11398: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec2Array". - Assigning: "this->txcoords" = "new osg::Vec2Array". - The constructor allocates field "txcoords" of "struct vertexInfo" - but there is no destructor. - - CID 11399: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec3Array". - Assigning: "this->norms" = "new osg::Vec3Array". - The constructor allocates field "norms" of "struct vertexInfo" - but there is no destructor. - - CID 11400: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec3Array". - Assigning: "this->coords" = "new osg::Vec3Array". - The constructor allocates field "coords" of "struct vertexInfo" - but there is no destructor. - - CID 11401: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec4Array". - Assigning: "this->colors" = "new osg::Vec4Array". - The constructor allocates field "colors" of "struct vertexInfo" - but there is no destructor. - - CID 11402: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec4Array". - Assigning: "this->polycols" = "new osg::Vec4Array". - The constructor allocates field "polycols" of "struct vertexInfo" - but there is no destructor. - -2011-05-06 09:26 robert - - * CMakeLists.txt, include/osg/Version: Updated SO version number - for dev release - -2011-05-06 09:22 robert - - * applications/present3D/Cluster.h, - applications/present3D/present3D.cpp: Fixed Coverity reported - issue. - - CID 11388: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new char[numBytes]". - Assigning: "this->_startPtr" = "new char[numBytes]". - The constructor allocates field "_startPtr" of "struct - DataConverter" but there is no destructor. - Assigning: "this->_currentPtr" = "new char[numBytes]". - The constructor allocates field "_currentPtr" of "struct - DataConverter" but there is no destructor. - -2011-05-06 09:21 robert - - * src/osg/Texture.cpp: Fixed Coverity reported issue. - - CID 12263: Missing break in switch (MISSING_BREAK) - This case (value 8) is not terminated by a 'break' statement. - - CID 12262: Missing break in switch (MISSING_BREAK) - This case (value 7) is not terminated by a 'break' statement. - - CID 12261: Missing break in switch (MISSING_BREAK) - This case (value 6) is not terminated by a 'break' statement. - -2011-05-06 09:21 robert - - * include/osg/PrimitiveSet: Fixed Coverity reported issues. - - CID 10392: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _maxIndex is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _minIndex is not initialized in this - constructor nor in any functions that it calls. - - CID 10454: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _maxIndex is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _minIndex is not initialized in this - constructor nor in any functions that it calls. - - CID 10505: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _maxIndex is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _minIndex is not initialized in this - constructor nor in any functions that it calls. - - CID 10919: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _maxIndex is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _minIndex is not initialized in this - constructor nor in any functions that it calls. - - CID 10920: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _maxIndex is not initialized in this - constructor nor in any functions that it calls. - Non-static class member _minIndex is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 09:20 robert - - * src/osgPlugins/bsp/VBSPData.h, src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/bsp/VBSPReader.h: Fixed Coverity reported issues. - - CID 11389: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new bsp::VBSPData". - Assigning: "this->bsp_data" = "new bsp::VBSPData". - The constructor allocates field "bsp_data" of "struct - bsp::VBSPReader" but the destructor and whatever functions it - calls do not free it. - -2011-05-06 09:19 robert - - * src/osgPlugins/dw/ReaderWriterDW.cpp: Fixed Coverity reported - issues by using ref_ptr<> for object. - - ID 11390: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec3Array". - Assigning: "this->vertices" = "new osg::Vec3Array". - The constructor allocates field "vertices" of "struct prims" but - the destructor and whatever functions it calls do not free it. - - CID 11391: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec3Array". - Assigning: "this->normals" = "new osg::Vec3Array". - The constructor allocates field "normals" of "struct prims" but - the destructor and whatever functions it calls do not free it. - - CID 11392: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec3Array". - Assigning: "this->txc" = "new osg::Vec3Array". - The constructor allocates field "txc" of "struct prims" but the - destructor and whatever functions it calls do not free it. - - CID 11393: Resource leak in object (CTOR_DTOR_LEAK) - Allocating memory by calling "new osg::Vec3Array". - Assigning: "this->txcoords" = "new osg::Vec3Array". - The constructor allocates field "txcoords" of "struct prims" but - the destructor and whatever functions it calls do not free it. - - CID 11747: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member gset is not initialized in this - constructor nor in any functions that it calls. - -2011-05-06 09:00 robert - - * include/osgDB/Serializer: Fixed build problem - -2011-05-05 12:40 robert - - * src/osgPlugins/dae/daeWriter.cpp: Fixed Coverity reported issue. - - CID 11845: Structurally dead code (UNREACHABLE) - This code cannot be reached: ".basic_string("");". - -2011-05-05 12:39 robert - - * src/osgPlugins/gif/ReaderWriterGIF.cpp: Fixed Coverity reported - issue. - - CID 11855: Use after free (USE_AFTER_FREE) - "operator delete[](void *)" frees "buffer". - -2011-05-05 12:38 robert - - * src/osgPlugins/3ds/lib3ds/lib3ds_node.c: Fixed Coverity reported - issue. This fix addresses a memory leak. - - CID 11847: Unused pointer value (UNUSED_VALUE) - Pointer "node" returned by "lib3ds_node_new(LIB3DS_NODE_CAMERA)" - is never used. - -2011-05-05 12:37 robert - - * include/osgDB/Serializer: Fixed Coverity reported issue. - - CID 11844: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _defaultValue is not initialized in this - constructor nor in any functions that it calls. - Index: ../include/osgDB/Serializer - -2011-05-05 11:31 robert - - * src/osgPlugins/dae/daeRGeometry.cpp: Fixed warning - -2011-05-05 11:27 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: Fixed Coverity reported - issue. - - CID 11864: Wrapper object use after free (WRAPPER_ESCAPE) - Assigning: "szFilename" = "path.c_str()", which extracts wrapped - state from local "path". - -2011-05-05 10:31 robert - - * src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/geoActions.cpp: Fixed 4 Coverity reported - issues - - CID 11851: Unused pointer value (UNUSED_VALUE) - Pointer "gfd" returned by "gr->getField(26)" is never used. - - CID 11850: Unused pointer value (UNUSED_VALUE) - Pointer "gfd" returned by "gr->getField(80)" is never used. - - CID 11849: Unused pointer value (UNUSED_VALUE) - Pointer "gfd" returned by "gr->getField(3)" is never used. - - CID 11848: Unused pointer value (UNUSED_VALUE) - Pointer "gfd" returned by "grec->getField(3)" is never used. - -2011-05-05 10:28 robert - - * applications/osgconv/osgconv.cpp: Fixed typo - -2011-05-04 16:36 robert - - * src/osgUtil/tristripper/include/public_types.h: From Mathias - Froehlich, build fix for gcc 4.6 - -2011-05-04 16:01 robert - - * include/osgViewer/ViewerEventHandlers, - include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/ViewerEventHandlers.cpp: From Stephan Huber, - "attached you'll find a small enhancement for GraphicsWindowCocoa - to - implement the recently introduced setSyncToVBlank-method. - - Additionally I added a ToggleSyncToVBlank-eventhandler to - osgViewer. I - used it to test the code, perhaps you'll find it useful and - include it - in the distribution." - -2011-05-04 09:53 robert - - * src/osgVolume/CMakeLists.txt, src/osgWidget/CMakeLists.txt: - Removed unncessary references to FREETYPE - -2011-05-04 09:48 robert - - * CMakeModules/FindFBX.cmake: From Michael Platings, fix for build - with cmake 2.6.x - -2011-05-03 12:43 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: Added OSGVIEWER_EXPORT - -2011-05-03 10:14 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Added missing break; - -2011-05-03 09:58 robert - - * CMakeModules/FindFBX.cmake: From Michael Platings, "I've updated - the FBX plugin to use the latest FBX SDK (2012.1). Please apply - the attached .cmake which finds the correct SDK headers & - libraries." - -2011-05-03 09:11 mplatings - - * src/osgPlugins/fbx/CMakeLists.txt, - src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRCamera.cpp, - src/osgPlugins/fbx/fbxRLight.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp, - src/osgPlugins/fbx/fbxReader.h: Updated to use FBX SDK 2012.1 - -2011-04-29 16:50 robert - - * src/osgPlugins/osga/OSGA_Archive.cpp: Improved the handling of - different combinations of slashes and dirNames. - -2011-04-29 16:34 robert - - * include/osgDB/Archive, src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgPlugins/osga/OSGA_Archive.h: Added following methods to - osgDB::Archive in support of work by Fradley Anderegg on .zip - archive support: - - /** Get the file name which represents the archived file.*/ - virtual std::string getArchiveFileName() const = 0; - - /** return type of file. */ - virtual FileType getFileType(const std::string& filename) const = - 0; - - /** return the contents of a directory. - * returns an empty array on any error.*/ - virtual DirectoryContents getDirectoryContents(const std::string& - dirName) const = 0; - - Added implementations of these new methods into - src/osgPlugins/osga/OSGA_Archive.h - src/osgPlugins/osga/OSGA_Archive.cpp - -2011-04-29 14:31 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Refactored the - libtiffOStreamSeekProc function so that it extendeds the stream - when the - requested file position is beyond the current end of the stream. - This fix addresses - a bug that occurred when writting to a streamstream. - -2011-04-29 09:16 robert - - * ChangeLog: Update ChangeLog - -2011-04-28 16:33 robert - - * include/osg/Object, src/osg/CopyOp.cpp: Fixed Coverity reported - issue. - - CID 11447: Unchecked dynamic_cast (FORWARD_NULL) - Dynamic cast to pointer "dynamic_cast (nc->clone(this))" can return null. - Assigning null: "first" = "dynamic_cast (nc->clone(this))". - - The clone() implementation is written using macro's so that it - always returns the type of Object - being cloned so it's normally safe to assume that a - dynamic_cast<> will always return a valid pointer as long - as the new T that involves creates a valid object. However, if - the class being cloned doesn't correctly - implement the clone() method then their potential for the - dynamic_cast to fail and will return a NULL and will - result in a memory leak of the object of paraent class that the - clone would have defaulted to. - - I've tightened up the CopyOp.cpp code to check the return type - and added better handling of the clone in the - osg::clone() methods so thay don't have any potential mememory - leaks and report warnings to OSG_WARN when - problems are encountered. It may be more apporpriate to throw an - exception so will need to ponder this - issue further. - -2011-04-28 10:23 robert - - * src/osg/ApplicationUsage.cpp: Fixed Coverity reported issue. - - CID 11403: Logically dead code (DEADCODE) - After this line, the value of "needspace" is equal to 0. - Assigning: "needspace" = "false". - - Technically the report is correct, but the code is just debugging - code that was there just in case - the code needed to be reviewed. This code is long since through - it's debugging stage so the code - is no longer really worth keeping so I've removed it for - cleanness sake. - -2011-04-28 10:23 robert - - * src/osg/ArrayDispatchers.cpp: Fixed Coverity reported issue. - - ID 11667: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _useVertexAttribAlias is not initialized - in this constructor nor in any functions that it calls. - - Member variable should have been initialized but this varaible - will have always been initialized in later code - before it was used anyway so wouldn't have resulted in a runtime - bug. - -2011-04-28 10:22 robert - - * src/osg/BufferObject.cpp: Fixed Coverity reported issue. - - CID 11414: Logically dead code (DEADCODE) - After this line, the value of "vboMemory" is equal to 0. - Assigning: "vboMemory" = "NULL". - - Another case of debugging code paths being picked out. I have - chosen to just delete these paths as the code - looks to be working fine and less code is better than more code - when it comes to maintenance. - -2011-04-27 16:37 robert - - * src/OpenThreads/win32/Win32BarrierPrivateData.h, - src/OpenThreads/win32/Win32ThreadBarrier.cpp: Fixed Coverity - reported issue. Issue is benign as all the member variables are - initialized in after construction, - but I've moved this initialization into the constructor to make - the code more managable. - - CID 11686: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member cnt is not initialized in this - constructor nor in any functions that it calls. - Non-static class member maxcnt is not initialized in this - constructor nor in any functions that it calls. - Non-static class member phase is not initialized in this - constructor nor in any functions that it calls. - -2011-04-27 16:35 robert - - * src/OpenThreads/win32/Win32Thread.cpp, - src/OpenThreads/win32/Win32ThreadPrivateData.h: Fixed 2 Coverity - reported issues. Both issues are benign, but I've addressed then - as with the changes the - code is clean and more mantainable. - - CID 11676: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member cancelMode is not initialized in this - constructor nor in any functions that it calls. - Non-static class member cpunum is not initialized in this - constructor nor in any functions that it calls. - Non-static class member detached is not initialized in this - constructor nor in any functions that it calls. - Non-static class member isRunning is not initialized in this - constructor nor in any functions that it calls. - Non-static class member stackSize is not initialized in this - constructor nor in any functions that it calls. - Non-static class member threadPolicy is not initialized in this - constructor nor in any functions that it calls. - Non-static class member threadPriority is not initialized in this - constructor nor in any functions that it calls. - Non-static class member uniqueId is not initialized in this - constructor nor in any functions that it calls. - - CID 11564: Unsigned compared against 0 (NO_EFFECT) - This less-than-zero comparison of an unsigned value is never - true. "cpunum < 0U". - -2011-04-27 16:06 robert - - * src/osg/DisplaySettings.cpp: Fixed Coverity reported issue. - - CID 11677: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _minimumNumberAccumAlphaBits is not - initialized in this constructor nor in any functions that it - calls. - Non-static class member _minimumNumberAccumBlueBits is not - initialized in this constructor nor in any functions that it - calls. - Non-static class member _minimumNumberAccumGreenBits is not - initialized in this constructor nor in any functions that it - calls. - Non-static class member _minimumNumberAccumRedBits is not - initialized in this constructor nor in any functions that it - calls. - -2011-04-27 16:06 robert - - * src/osg/BufferObject.cpp: Fixed Coverity reported issue. - - CID 11690: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _frameLastUsed is not initialized in this - constructor nor in any functions that it calls. - -2011-04-27 16:05 robert - - * src/osg/BlendColor.cpp: Fixed Coverity reported issue. - - CID 11689: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _glBlendColor is not initialized in this - constructor nor in any functions that it calls. - -2011-04-27 16:05 robert - - * src/osg/AutoTransform.cpp: Fixed 2 Coverity reported issues. - - CID 11681: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _previousHeight is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _previousWidth is not initialized in this - constructor nor in any functions that it calls. - - CID 11688: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _previousHeight is not initialized in - this constructor nor in any functions that it calls. - Non-static class member _previousWidth is not initialized in this - constructor nor in any functions that it calls. - -2011-04-27 16:04 robert - - * src/osg/ArrayDispatchers.cpp: Fixed Coverity reported issue, in - this case it's a unused member variable so could just be deleted. - - CID 11687: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _glBeginEndAdapter is not initialized in - this constructor nor in any functions that it calls. - -2011-04-27 16:03 robert - - * src/osgShadow/ParallelSplitShadowMap.cpp: Fixed 3 Coverity - reported issues. CID 11622 is a bit of false positive as for - valid settings no leak would happen. - - CID 11810: Uninitialized scalar field (UNINIT_CTOR) - Non-static class member _setMaxFarDistance is not initialized in - this constructor nor in any functions that it calls. - - CID 11811: Uninitialized pointer field (UNINIT_CTOR) - Non-static class member _displayTexturesGroupingNode is not - initialized in this constructor nor in any functions that it - calls. - - CID 11622: Resource leak (RESOURCE_LEAK) - Calling allocation function "operator new(unsigned long long)". - Variable "" is not freed or pointed-to in - function "osg::StateSet::StateSet()". [show details] - Assigning: "sharedStateSet" = storage returned from "new - osg::StateSet". - 282 osg::StateSet* sharedStateSet = new osg::StateSet; - Variable "sharedStateSet" is not freed or pointed-to in function - "osg::Object::setDataVariance(osg::Object::DataVariance)". [show - details] - -2011-04-27 16:02 robert - - * src/osg/Texture.cpp: Fixed Coverity reported issue. - - CID 11588: Resource leak (RESOURCE_LEAK) - Calling allocation function "operator new[](unsigned long long)". - Assigning: "dataPtr" = storage returned from "new unsigned - char[newTotalSize]". - -2011-04-27 16:01 robert - - * src/osg/Geometry.cpp: Fixed 2 Coverity reported issues. - - Following are both false positives as the the scope they are in - will always assign the object to a ref counted - structure. I've modified the code to use ref_ptr<> to just make - it clear that it's underscope, although - this is not strictly neccessary as the code is OK, I introduced - this for clarity and robustness in - presence of exceptions. - - CID 11586: Resource leak (RESOURCE_LEAK) - Calling allocation function "operator new(unsigned long long)". - Variable "" is not freed or pointed-to in - function "osg::VertexBufferObject::VertexBufferObject()". [show - details] - Assigning: "vbo" = storage returned from "new - osg::VertexBufferObject". - - - CID 11587: Resource leak (RESOURCE_LEAK) - Calling allocation function "operator new(unsigned long long)". - Variable "" is not freed or pointed-to in - function "osg::ElementBufferObject::ElementBufferObject()". [show - details] - Assigning: "ebo" = storage returned from "new - osg::ElementBufferObject". - -2011-04-27 16:00 robert - - * src/osgPlugins/ply/plyfile.cpp: Fixed Coverity reported issue. - - CID 11636: Allocation size mismatch (SIZECHECK) - "my_alloc(sizeof (struct PlyProperty) /*36*/ * elem->nprops, - 1292, "..\\..\\..\\..\\src\\osgPlugins\\ply\\plyfile.cpp")" - allocates memory. [show details] - Allocating a multiple of 36 bytes to pointer "other->props", - which needs 8 bytes. - -2011-04-26 19:31 robert - - * src/osg/Geometry.cpp: Fixed 1 Coverity Low Impact issue "Unused - pointer value (UNUSED_VALUE) - Pointer "indices" returned by - "this->_vertexAttribList[0ULL].indices.get()" is never used." - - Report highlighted the fact that later code wasn't using the - indices variable when it should have been, so - potentially a higher impact that the severity suggested by - Coverity. - -2011-04-26 19:29 robert - - * src/osgPlugins/geo/ReaderWriterGEO.cpp: Fixed 3 Coverity Low - Impact performance issues relating to "Big parameter passed by - value". - -2011-04-26 15:24 robert - - * CMakeLists.txt, include/osg/Version: Updated version after 2.9.13 - dev release - -2011-04-26 14:55 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated ChangeLog and AUTHORS for 2.9.13 dev release - -2011-04-26 12:07 robert - - * examples/osgwidgetaddremove/osgwidgetaddremove.cpp, - examples/osgwidgetmenu/osgwidgetmenu.cpp: From Mattias Helsing, - "Fixes two of the osgWidget examples that were broken due to - changed - virtual function prototypes in osgWidget/EventInterface" - -2011-04-26 12:05 robert - - * include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - src/osgViewer/GraphicsWindowCocoa.mm: From Craig Bosma,"Please - find attached a fix for shared contexts on OS X, with the Cocoa - backend. The NSOpenGLContext* _context member of - GraphicsHandleCocoa was never set on successfully creation, so - even if the dynamic_cast to GraphicsHandleCocoa succeeds, we get - a bogus (NULL) pointer on retrieving the actual NSOpenGLContext* - (line 1013). - - This should fix the problem, as well as cause GraphicsWindowCocoa - to report the correct name "GraphicsWindowCarbon" -> - "GraphicsWindowCocoa". - " - -2011-04-26 11:51 robert - - * src/osgDB/OutputStream.cpp: From Farshid Lashkari, "I believe - their is small error in how OutputStream handles the - WriteImageHint. In the "writeImage" method, it converts the - WriteImageHint to an internal "decision" flag. During this - conversion, it seems to be swapping the behavior for - WRITE_EXTERNAL_FILE and WRITE_USE_EXTERNAL. I've attached what I - believe to be the correct conversion." - -2011-04-21 17:16 robert - - * CMakeModules/OsgMacroUtils.cmake, src/osgViewer/CMakeLists.txt: - From Mattias Helsing, "Fixes installation of the osgViewer - headers that got broken with rev - 12208 and 12231. - - The windowing system specific headers under - include/osgViewer/api/ are again installed under - include/osgViewer/api/ - - Works in recent ubuntu with cmake-2.8.4 and msvc2010 with - cmake-2.8.2" - -2011-04-21 17:04 robert - - * include/osg/Texture, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osgPlugins/pvr/ReaderWriterPVR.cpp: From Johannes Baeuerele, - "I have extended the pvr reader plugin to support etc1 - compression(GL_ETC1_RGB8_OES). The changes attached to this - submission are based on today's trunk. - - The pvr format which can be used as a wrapper for different - compressed and uncompressed formats supports this compression - algorithm. The original pvr compression uses the pvrtc format. - The handling of pvrtc is already implemented in the pvr plugin. - PVR provides wrapper functionality for some formats, e.g. etc or - even dxt/dds. - - Our target system (gles2) is able to use the etc compression - format. With minor changes in the submitted files, there is no - need to write a separate plugin. However the original pvr texture - compression formats are not supported on our target, which is the - reason for this extension. - - The changes mainly consist in the definition on new enum values - in the classes and headers of ReaderWriterPVR,Image and Texture. - I also found some locations where the handling of the original - pvr textures was not implemented. These are also part of this - submission." - -2011-04-21 13:34 robert - - * include/osg/GraphicsContext, include/osgViewer/GraphicsWindow, - include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osg/GraphicsContext.cpp, - src/osgViewer/GraphicsWindowWin32.cpp: From Marius Heise, "here - is a patch that implements Win32 HW-synced swapping using - wglJoinSwapGroupNV, wglBindSwapBarrierNV and the existing traits. - It was tested with multiple ATI FirePro S400 cards. - - I also fixed the vsync implementation introduced with rev.11357 - that was crashing with the Windows Error #170. So I removed your - temporary /* */ around the vsync condition..." - -2011-04-21 13:01 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Fred Smith, - "GraphicsWindowWin32::setWindow currently creates a context with - no regards to the Traits, like createWindow does. - - That is, it calls ::wglCreateContext to create a context, not the - member method createContextImplementation(), which takes into an - account the Traits. - - In my situation, this prevents a GL 3.x context from being - created. - " - -2011-04-21 12:53 robert - - * CMakeLists.txt, CMakeModules/OsgAndroidMacroUtils.cmake, - include/osg/GL, src/osg/GL2Extensions.cpp, - src/osg/GLExtensions.cpp: From Jorge Ciges, "1rst - Changes in - Cmake: They make possible "make install" with the android - building. - - 2nd - Script to use a 3rd party directory with basic libraries: - libjpeg,libpng,libtiff,giflib,freetype,curl,gdal. - - 3rd - Change in the GLES library loading for Android. That should - make GLES2 work properly. - - 4rth- Included two defines RGB8_OES and RGBA8_OES as a substitute - in GLES for RGB8 and RGBA8 - - 5th - OpenGL and GLSL version identification changed to recognize - GLES versions properly - " - -2011-04-21 12:12 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: From Cedric Pinson, "I have - tried some model that produces crashes in the dae plugin because - of empty node: - - if (GetFloat4Param(cot->getParam()->getRef(), f4)) {...} - - in the model I have tested cot->getParam()->getRef() return 0x0 - and make - it crahes inside GetFloat4Param. - - I have added a test before calling GetFloat4Param - if (cot->getParam()->getRef() != 0 && - GetFloat4Param(cot->getParam()->getRef(), f4)) {...} - " - -2011-04-21 12:06 robert - - * include/osgViewer/api/IOS/GraphicsWindowIOS, - src/osgViewer/GraphicsWindowIOS.mm: From Tomas Hogarth, "Attached - are the complete changed files GraphicsWindowIOS and - GraphicsWindowIOS.mm. The change is in regard to the ability to - adapt to device orientation. We did just have a bool indicating - the window would adapt to all orientations. I have changed this - to a bit mask allowing the user to specify individual - orientations or combinations. - - enum DeviceOrientation{ - - PORTRAIT_ORIENTATION = 1<<0, - - PORTRAIT_UPSIDEDOWN_ORIENTATION = 1<<1, - - LANDSCAPE_LEFT_ORIENTATION = 1<<2, - - LANDSCAPE_RIGHT_ORIENTATION = 1<<3, - - ALL_ORIENTATIONS = PORTRAIT_ORIENTATION | - PORTRAIT_UPSIDEDOWN_ORIENTATION | LANDSCAPE_LEFT_ORIENTATION | - LANDSCAPE_RIGHT_ORIENTATION - - }; - - typedef unsigned int DeviceOrientationFlags; - - The main motivation for this is to easily allow the user to - specifiy that the device is in a horizontal orientation rather - then having to rotate the view matrix. All flags have been tested - individually as well as in combinations. The default is - ALL_ORIENTATIONS to keep the exiting functionality for anyone who - hasn't specified WindowData for their context traits. - " - -2011-04-20 19:20 robert - - * include/osgDB/FileNameUtils, src/osgDB/FileNameUtils.cpp: From - Sukender, Here is a tiny update to FileNameUtils. It brings - getPathRoot() and isAbsolutePath() to the public side of the lib. - -2011-04-20 17:15 robert - - * src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: From Guillaume Taze, - "This is a fix for the error popups which appeared when reading a - corrupted file on windows. Errors are redirected to std::err - instead." - - Note from Robert Osfield, changed jpeg error report output from - stderr to standard OSG notification system using OSG_WARN. - -2011-04-20 11:45 robert - - * include/osg/FrameBufferObject, include/osgUtil/RenderBin, - include/osgUtil/RenderStage, src/osg/FrameBufferObject.cpp, - src/osg/GLObjects.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderBin.cpp, src/osgUtil/RenderStage.cpp: Added - releaseGLObjects(State*) support into osg::FrameBufferObject, - osg::RenderBin and osg::RenderStage - to ensure proper clean up of FBO's on closing a graphics context. - -2011-04-19 14:19 robert - - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: From Magnus - Kessler, "A few minor fixes in the documentation strings of - ReaderWriterFLT.cpp" - -2011-04-19 14:11 robert - - * include/osgDB/Registry, src/osgDB/Registry.cpp: From Bradley - Anderegg, "The first change just exposes the archive extension - list so that - external applications can determine if an archive extension is - valid. - - The second change is a bug fix in Registry::read(const - ReadFunctor&) - where if you pass in valid options they get wiped out after the - archive - is loaded but before being passed along to the plugin." - -2011-04-19 13:32 robert - - * examples/osgspotlight/osgspotlight.cpp: From Paul Martz, "To - summarize the fix: OpenGL eye coords are negative outside - Cartesian quadrant 1. As a result, the center of projection is - eye coord (0,0), which (when used as st tex coords) looks up the - lower left corner of the texture. However, in projective - texturing, you usually want eye coord (0,0) to look up the center - of the texture. Accomplishing this mapping requires not just a - lookat and perspective transform, but also a translate and - scale." - -2011-04-19 12:01 robert - - * include/osgViewer/GraphicsWindow, include/osgViewer/ViewerBase, - src/osgViewer/CMakeLists.txt, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindow.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp, - src/osgViewer/ViewerBase.cpp: From Jan Peciva, "please find - attached proposed fix for ON_DEMAND rendering. The biggest issue - was - that the windows did not act on repaint request (WM_PAINT, - EXPOSE,...) - - Detailed explanation: - - I implemented requestRedraw using the push approach (not using - GraphicsWindow::_requestRedraw flag that I was considering) as - there may be - multiple viewers reading the flag and fighting to reset it after - the paint - request, while some viewers may not spot the request to redraw - - I made windows call GraphicsWindow::requestRedraw when they - receive - appropriate message (WM_PAINT, EXPOSE, RESIZE,...) - - There were issues on Linux that windows did not want to close - using x - button. Resolved by moving the test for DeleteWindow event from - swapBuffersImplementation() to GraphicsWindowX11::checkEvents(). - The difficulty - was that DeleteWindow event is not coming using _eventDisplay, - but through - _display. - - The last difficulty was that it is necessary to call - ViewerBase::checkWindowStatus() to set _done to true when all - windows are - closed. This did not happened recently in ON_DEMAND run scheme. I - put the call - to checkWindowStatus() to eventTraversal. - " - -2011-04-19 11:46 robert - - * include/osgViewer/GraphicsWindow, include/osgViewer/ViewerBase, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/ViewerBase.cpp: Removed spaces from end of lines - -2011-04-19 11:40 robert - - * CMakeLists.txt, CMakeModules/CheckAtomicOps.cmake, - CMakeModules/FindAndroidNDK.cmake, - CMakeModules/FindCoreVideo.cmake, - CMakeModules/FindDirectInput.cmake, - CMakeModules/FindDirectShow.cmake, CMakeModules/FindFBX.cmake, - CMakeModules/FindFFmpeg.cmake, CMakeModules/FindFOX.cmake, - CMakeModules/FindGDAL.cmake, CMakeModules/FindGtkGl.cmake, - CMakeModules/FindLibVNCServer.cmake, CMakeModules/FindNVTT.cmake, - CMakeModules/FindOSG.cmake, CMakeModules/FindOpenEXR.cmake, - CMakeModules/FindOurDCMTK.cmake, - CMakeModules/FindPoppler-glib.cmake, - CMakeModules/FindQTKit.cmake, CMakeModules/FindRSVG.cmake, - CMakeModules/OsgAndroidMacroUtils.cmake, - CMakeModules/OsgCPack.cmake, - CMakeModules/OsgCPackConfig.cmake.in, - CMakeModules/OsgDetermineCompiler.cmake, - CMakeModules/clean_directories, CTestConfig.cmake, - PlatformSpecifics/Android/Android.mk.master.in, - PlatformSpecifics/Android/Android.mk.modules.in, - PlatformSpecifics/Android/Android.mk.serializers.in, - PlatformSpecifics/Android/Android.mk.src.in, - PlatformSpecifics/Android/AndroidManifest.xml.master.in, - PlatformSpecifics/Android/Application.mk.master.in, - PlatformSpecifics/Windows/OpenSceneGraphVersionInfo.rc.in, - PlatformSpecifics/Windows/OpenThreadsVersionInfo.rc.in, - PlatformSpecifics/Windows/VisualStudio_Syntax_Highlighting.txt, - applications/osgfilecache/CMakeLists.txt, - applications/osgfilecache/osgfilecache.cpp, - applications/osgversion/Contributors.cpp, - applications/present3D/CMakeLists.txt, - applications/present3D/Cluster.cpp, - applications/present3D/Cluster.h, - applications/present3D/ExportHTML.cpp, - applications/present3D/ExportHTML.h, - applications/present3D/PointsEventHandler.cpp, - applications/present3D/PointsEventHandler.h, - applications/present3D/ReadShowFile.cpp, - applications/present3D/ReadShowFile.h, - applications/present3D/SDLIntegration.cpp, - applications/present3D/SDLIntegration.h, - applications/present3D/ShowEventHandler.cpp, - applications/present3D/ShowEventHandler.h, - applications/present3D/SpellChecker.cpp, - applications/present3D/SpellChecker.h, - applications/present3D/present3D.cpp, configure, - doc/Doxyfiles/doxyfile.cmake, - doc/Doxyfiles/openthreads.doxyfile.cmake, - examples/osg2cpp/CMakeLists.txt, examples/osg2cpp/osg2cpp.cpp, - examples/osgQtBrowser/CMakeLists.txt, - examples/osgQtBrowser/osgQtBrowser.cpp, - examples/osgQtWidgets/CMakeLists.txt, - examples/osgQtWidgets/osgQtWidgets.cpp, - examples/osganalysis/CMakeLists.txt, - examples/osganalysis/osganalysis.cpp, - examples/osganimationeasemotion/CMakeLists.txt, - examples/osganimationeasemotion/osganimationeasemotion.cpp, - examples/osganimationhardware/CMakeLists.txt, - examples/osganimationhardware/osganimationhardware.cpp, - examples/osganimationmakepath/CMakeLists.txt, - examples/osganimationmakepath/osganimationmakepath.cpp, - examples/osganimationmorph/CMakeLists.txt, - examples/osganimationmorph/osganimationmorph.cpp, - examples/osganimationnode/CMakeLists.txt, - examples/osganimationnode/osganimationnode.cpp, - examples/osganimationskinning/CMakeLists.txt, - examples/osganimationskinning/osganimationskinning.cpp, - examples/osganimationsolid/CMakeLists.txt, - examples/osganimationsolid/osganimationsolid.cpp, - examples/osganimationtimeline/CMakeLists.txt, - examples/osganimationtimeline/osganimationtimeline.cpp, - examples/osganimationviewer/AnimtkViewer, - examples/osganimationviewer/AnimtkViewer.cpp, - examples/osganimationviewer/AnimtkViewerGUI, - examples/osganimationviewer/AnimtkViewerGUI.cpp, - examples/osganimationviewer/AnimtkViewerKeyHandler, - examples/osganimationviewer/AnimtkViewerKeyHandler.cpp, - examples/osganimationviewer/CMakeLists.txt, - examples/osgautocapture/CMakeLists.txt, - examples/osgautocapture/osgautocapture.cpp, - examples/osgcluster/CMakeLists.txt, - examples/osgdatabaserevisions/CMakeLists.txt, - examples/osgdatabaserevisions/osgdatabaserevisions.cpp, - examples/osgdepthpeeling/CMakeLists.txt, - examples/osgdepthpeeling/DePee.cpp, - examples/osgdepthpeeling/DePee.h, - examples/osgdepthpeeling/DePeePass.cpp, - examples/osgdepthpeeling/DePeePass.h, - examples/osgdepthpeeling/Utility.cpp, - examples/osgdepthpeeling/Utility.h, - examples/osgdepthpeeling/osgdepthpeeling.cpp, - examples/osgdirectinput/CMakeLists.txt, - examples/osgdirectinput/DirectInputRegistry, - examples/osgdirectinput/DirectInputRegistry.cpp, - examples/osgdirectinput/osgdirectinput.cpp, - examples/osgdrawinstanced/CMakeLists.txt, - examples/osgdrawinstanced/osgdrawinstanced.cpp, - examples/osgfont/CMakeLists.txt, examples/osgfont/osgfont.cpp, - examples/osgfpdepth/CMakeLists.txt, - examples/osgfpdepth/osgfpdepth.cpp, - examples/osggameoflife/CMakeLists.txt, - examples/osggameoflife/GameOfLifePass.cpp, - examples/osggameoflife/GameOfLifePass.h, - examples/osggameoflife/osggameoflife.cpp, - examples/osggeometryshaders/CMakeLists.txt, - examples/osggeometryshaders/osggeometryshaders.cpp, - examples/osggpx/CMakeLists.txt, examples/osggpx/osggpx.cpp, - examples/osggraphicscost/CMakeLists.txt, - examples/osggraphicscost/osggraphicscost.cpp, - examples/osgimagesequence/CMakeLists.txt, - examples/osgimagesequence/osgimagesequence.cpp, - examples/osgkdtree/CMakeLists.txt, - examples/osgkdtree/osgkdtree.cpp, - examples/osgmemorytest/CMakeLists.txt, - examples/osgmemorytest/osgmemorytest.cpp, - examples/osgmultiplerendertargets/CMakeLists.txt, - examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp, - examples/osgmultitexturecontrol/CMakeLists.txt, - examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - examples/osgmultiviewpaging/CMakeLists.txt, - examples/osgmultiviewpaging/osgmultiviewpaging.cpp, - examples/osgocclusionquery/CMakeLists.txt, - examples/osgocclusionquery/osgocclusionquery.cpp, - examples/osgoit/CMakeLists.txt, examples/osgoit/osgoit.cpp, - examples/osgoutline/CMakeLists.txt, - examples/osgoutline/osgoutline.cpp, - examples/osgpackeddepthstencil/CMakeLists.txt, - examples/osgpackeddepthstencil/osgpackeddepthstencil.cpp, - examples/osgparticleshader/CMakeLists.txt, - examples/osgparticleshader/osgparticleshader.cpp, - examples/osgpdf/CMakeLists.txt, examples/osgpdf/osgpdf.cpp, - examples/osgposter/CMakeLists.txt, - examples/osgposter/PosterPrinter.cpp, - examples/osgposter/PosterPrinter.h, - examples/osgposter/osgposter.cpp, - examples/osgqfont/CMakeLists.txt, examples/osgqfont/osgqfont.cpp, - examples/osgrobot/CMakeLists.txt, examples/osgrobot/osgrobot.cpp, - examples/osgscreencapture/CMakeLists.txt, - examples/osgscreencapture/osgscreencapture.cpp, - examples/osgshadercomposition/CMakeLists.txt, - examples/osgshadercomposition/osgshadercomposition.cpp, - examples/osgshadergen/CMakeLists.txt, - examples/osgshadergen/osgshadergen.cpp, - examples/osgshadow/IslandScene.cpp, - examples/osgshadow/IslandScene.h, - examples/osgshadow/terrain_coords.h, - examples/osgsharedarray/CMakeLists.txt, - examples/osgsharedarray/osgsharedarray.cpp, - examples/osgsidebyside/CMakeLists.txt, - examples/osgsidebyside/osgsidebyside.cpp, - examples/osgstaticviewer/osgstaticviewer.cpp, - examples/osgstereomatch/CMakeLists.txt, - examples/osgstereomatch/README.txt, - examples/osgstereomatch/StereoMultipass.cpp, - examples/osgstereomatch/StereoMultipass.h, - examples/osgstereomatch/StereoPass.cpp, - examples/osgstereomatch/StereoPass.h, - examples/osgstereomatch/osgstereomatch.cpp, - examples/osgterrain/CMakeLists.txt, - examples/osgterrain/osgterrain.cpp, - examples/osgtext3D/CMakeLists.txt, - examples/osgtext3D/TextNode.cpp, examples/osgtext3D/TextNode.h, - examples/osgtext3D/osgtext3D.cpp, - examples/osgtext3D/osgtext3D_orig.cpp, - examples/osgtext3D/osgtext3D_test.cpp, - examples/osgtexturecompression/CMakeLists.txt, - examples/osgtexturecompression/osgtexturecompression.cpp, - examples/osgthirdpersonview/CMakeLists.txt, - examples/osgthirdpersonview/osgthirdpersonview.cpp, - examples/osgthreadedterrain/osgthreadedterrain.cpp, - examples/osguniformbuffer/CMakeLists.txt, - examples/osguniformbuffer/osguniformbuffer.cpp, - examples/osgunittests/FileNameUtils.cpp, - examples/osgunittests/MultiThreadRead.cpp, - examples/osgunittests/MultiThreadRead.h, - examples/osguserstats/CMakeLists.txt, - examples/osguserstats/osguserstats.cpp, - examples/osgvertexattributes/CMakeLists.txt, - examples/osgvertexattributes/osgvertexattributes.cpp, - examples/osgviewerCocoa/CMakeLists.txt, - examples/osgviewerCocoa/English.lproj/Localizable.strings, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/classes.nib, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/info.nib, - examples/osgviewerCocoa/ViewerCocoa.h, - examples/osgviewerCocoa/ViewerCocoa.mm, - examples/osgviewerFOX/CMakeLists.txt, - examples/osgviewerFOX/FOX_OSG.cpp, - examples/osgviewerFOX/FOX_OSG.h, - examples/osgviewerFOX/FOX_OSG_MDIView.cpp, - examples/osgviewerFOX/FOX_OSG_MDIView.h, - examples/osgviewerFOX/osgviewerFOX.cpp, - examples/osgviewerFOX/osgviewerFOX.h, - examples/osgviewerGTK/CMakeLists.txt, - examples/osgviewerGTK/osggtkdrawingarea.cpp, - examples/osgviewerGTK/osggtkdrawingarea.h, - examples/osgviewerGTK/osgviewerGTK.cpp, - examples/osgviewerIPhone/CMakeLists.txt, - examples/osgviewerIPhone/iphoneViewerAppDelegate.h, - examples/osgviewerIPhone/iphoneViewerAppDelegate.mm, - examples/osgviewerIPhone/main.m, - examples/osgviewerIPhone/osgIPhoneViewer-Info.plist, - examples/osgviewerIPhone/osgPlugins.h, - examples/osgviewerMFC/ChildFrm.cpp, - examples/osgviewerMFC/ChildFrm.h, - examples/osgviewerMFC/MFC_OSG.cpp, - examples/osgviewerMFC/MFC_OSG.h, - examples/osgviewerMFC/MFC_OSG_MDI.cpp, - examples/osgviewerMFC/MFC_OSG_MDI.h, - examples/osgviewerMFC/MFC_OSG_MDI.rc, - examples/osgviewerMFC/MFC_OSG_MDIDoc.cpp, - examples/osgviewerMFC/MFC_OSG_MDIDoc.h, - examples/osgviewerMFC/MFC_OSG_MDIView.cpp, - examples/osgviewerMFC/MFC_OSG_MDIView.h, - examples/osgviewerMFC/MainFrm.cpp, - examples/osgviewerMFC/MainFrm.h, - examples/osgviewerMFC/ReadMe.txt, - examples/osgviewerMFC/Resource.h, - examples/osgviewerMFC/res/MFC_OSG_MDI.rc2, - examples/osgviewerMFC/stdafx.cpp, examples/osgviewerMFC/stdafx.h, - examples/osgviewerQt/CMakeLists.txt, - examples/osgviewerQt/osgviewerQtContext.cpp, - examples/osgviewerWX/osgviewerWX.cpp, - examples/osgviewerWX/osgviewerWX.h, - examples/osgvirtualprogram/CMakeLists.txt, - examples/osgvirtualprogram/CreateAdvancedHierachy.cpp, - examples/osgvirtualprogram/CreateSimpleHierachy.cpp, - examples/osgvirtualprogram/VirtualProgram.cpp, - examples/osgvirtualprogram/VirtualProgram.h, - examples/osgvirtualprogram/osgvirtualprogram.cpp, - examples/osgvnc/CMakeLists.txt, examples/osgvnc/osgvnc.cpp, - examples/osgwidgetaddremove/CMakeLists.txt, - examples/osgwidgetaddremove/osgwidgetaddremove.cpp, - examples/osgwidgetbox/CMakeLists.txt, - examples/osgwidgetbox/osgwidgetbox.cpp, - examples/osgwidgetcanvas/CMakeLists.txt, - examples/osgwidgetcanvas/osgwidgetcanvas.cpp, - examples/osgwidgetframe/CMakeLists.txt, - examples/osgwidgetframe/osgwidgetframe.cpp, - examples/osgwidgetinput/CMakeLists.txt, - examples/osgwidgetinput/osgwidgetinput.cpp, - examples/osgwidgetlabel/CMakeLists.txt, - examples/osgwidgetlabel/osgwidgetlabel.cpp, - examples/osgwidgetmenu/CMakeLists.txt, - examples/osgwidgetmenu/osgwidgetmenu.cpp, - examples/osgwidgetmessagebox/CMakeLists.txt, - examples/osgwidgetmessagebox/osgwidgetmessagebox.cpp, - examples/osgwidgetnotebook/CMakeLists.txt, - examples/osgwidgetnotebook/osgwidgetnotebook.cpp, - examples/osgwidgetperformance/CMakeLists.txt, - examples/osgwidgetperformance/osgwidgetperformance.cpp, - examples/osgwidgetprogress/CMakeLists.txt, - examples/osgwidgetprogress/osgwidgetprogress.cpp, - examples/osgwidgetscrolled/CMakeLists.txt, - examples/osgwidgetscrolled/osgwidgetscrolled.cpp, - examples/osgwidgetshader/CMakeLists.txt, - examples/osgwidgetshader/osgwidgetshader.cpp, - examples/osgwidgetstyled/CMakeLists.txt, - examples/osgwidgetstyled/osgwidgetstyled.cpp, - examples/osgwidgettable/CMakeLists.txt, - examples/osgwidgettable/osgwidgettable.cpp, - examples/osgwidgetwindow/CMakeLists.txt, - examples/osgwidgetwindow/osgwidgetwindow.cpp, - include/osg/Version, include/osgViewer/Renderer, - include/osgViewer/ViewerBase, - include/osgViewer/ViewerEventHandlers, - include/osgViewer/api/Carbon/GraphicsHandleCarbon, - include/osgViewer/api/Carbon/PixelBufferCarbon, - include/osgViewer/api/Cocoa/GraphicsHandleCocoa, - include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - include/osgViewer/api/Cocoa/PixelBufferCocoa, - include/osgViewer/api/IOS/GraphicsWindowIOS, - include/osgViewer/api/Win32/GraphicsHandleWin32, - include/osgViewer/api/Win32/PixelBufferWin32, - include/osgViewer/api/X11/GraphicsHandleX11, - include/osgViewer/api/X11/PixelBufferX11, - include/osgVolume/Export, - include/osgVolume/FixedFunctionTechnique, - include/osgVolume/Layer, include/osgVolume/Locator, - include/osgVolume/Property, include/osgVolume/RayTracedTechnique, - include/osgVolume/Version, include/osgVolume/Volume, - include/osgVolume/VolumeTechnique, include/osgVolume/VolumeTile, - include/osgWidget/Box, include/osgWidget/Browser, - include/osgWidget/Canvas, include/osgWidget/EventInterface, - include/osgWidget/Export, include/osgWidget/Frame, - include/osgWidget/Input, include/osgWidget/Label, - include/osgWidget/Lua, include/osgWidget/PdfReader, - include/osgWidget/Python, include/osgWidget/ScriptEngine, - include/osgWidget/StyleInterface, include/osgWidget/StyleManager, - include/osgWidget/Table, include/osgWidget/Types, - include/osgWidget/UIObjectParent, include/osgWidget/Util, - include/osgWidget/Version, include/osgWidget/ViewerEventHandlers, - include/osgWidget/VncClient, include/osgWidget/Widget, - include/osgWidget/Window, include/osgWidget/WindowManager, - packaging/ld.so.conf.d/openscenegraph.conf.in, - packaging/pkgconfig/openscenegraph-osg.pc.in, - packaging/pkgconfig/openscenegraph-osgAnimation.pc.in, - packaging/pkgconfig/openscenegraph-osgDB.pc.in, - packaging/pkgconfig/openscenegraph-osgFX.pc.in, - packaging/pkgconfig/openscenegraph-osgGA.pc.in, - packaging/pkgconfig/openscenegraph-osgManipulator.pc.in, - packaging/pkgconfig/openscenegraph-osgParticle.pc.in, - packaging/pkgconfig/openscenegraph-osgQt.pc.in, - packaging/pkgconfig/openscenegraph-osgShadow.pc.in, - packaging/pkgconfig/openscenegraph-osgSim.pc.in, - packaging/pkgconfig/openscenegraph-osgTerrain.pc.in, - packaging/pkgconfig/openscenegraph-osgText.pc.in, - packaging/pkgconfig/openscenegraph-osgUtil.pc.in, - packaging/pkgconfig/openscenegraph-osgViewer.pc.in, - packaging/pkgconfig/openscenegraph-osgVolume.pc.in, - packaging/pkgconfig/openscenegraph-osgWidget.pc.in, - packaging/pkgconfig/openscenegraph.pc.in, - packaging/pkgconfig/openthreads.pc.in, - src/OpenThreads/CMakeLists.txt, - src/OpenThreads/common/Atomic.cpp, - src/OpenThreads/common/Config.in, - src/OpenThreads/common/Version.cpp, - src/OpenThreads/common/Version.in, - src/OpenThreads/pthreads/CMakeLists.txt, - src/OpenThreads/qt/CMakeLists.txt, - src/OpenThreads/qt/QtBarrier.cpp, - src/OpenThreads/qt/QtBarrierPrivateData.h, - src/OpenThreads/qt/QtCondition.cpp, - src/OpenThreads/qt/QtConditionPrivateData.h, - src/OpenThreads/qt/QtMutex.cpp, - src/OpenThreads/qt/QtMutexPrivateData.h, - src/OpenThreads/qt/QtThread.cpp, - src/OpenThreads/qt/QtThreadPrivateData.h, - src/OpenThreads/sproc/CMakeLists.txt, - src/OpenThreads/win32/CMakeLists.txt, - src/osg/ArrayDispatchers.cpp, src/osg/AudioStream.cpp, - src/osg/BufferIndexBinding.cpp, src/osg/ComputeBoundsVisitor.cpp, - src/osg/Config.in, src/osg/GL2Extensions.cpp, - src/osg/GLBeginEndAdapter.cpp, src/osg/GLObjects.cpp, - src/osg/GLStaticLibrary.cpp, src/osg/GLStaticLibrary.h, - src/osg/GraphicsCostEstimator.cpp, src/osg/Hint.cpp, - src/osg/ImageSequence.cpp, src/osg/ImageUtils.cpp, - src/osg/KdTree.cpp, src/osg/Math.cpp, src/osg/Observer.cpp, - src/osg/ObserverNodePath.cpp, src/osg/OcclusionQueryNode.cpp, - src/osg/OperationThread.cpp, src/osg/ShaderAttribute.cpp, - src/osg/ShaderComposer.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture2DMultisample.cpp, src/osg/TransferFunction.cpp, - src/osg/Version.in, src/osg/glu/libtess/README, - src/osg/glu/libtess/alg-outline, src/osg/glu/libtess/dict-list.h, - src/osg/glu/libtess/dict.cpp, src/osg/glu/libtess/dict.h, - src/osg/glu/libtess/geom.cpp, src/osg/glu/libtess/geom.h, - src/osg/glu/libtess/memalloc.cpp, src/osg/glu/libtess/memalloc.h, - src/osg/glu/libtess/mesh.cpp, src/osg/glu/libtess/mesh.h, - src/osg/glu/libtess/normal.cpp, src/osg/glu/libtess/normal.h, - src/osg/glu/libtess/priorityq-heap.cpp, - src/osg/glu/libtess/priorityq-heap.h, - src/osg/glu/libtess/priorityq-sort.h, - src/osg/glu/libtess/priorityq.cpp, - src/osg/glu/libtess/priorityq.h, src/osg/glu/libtess/render.cpp, - src/osg/glu/libtess/render.h, src/osg/glu/libtess/sweep.cpp, - src/osg/glu/libtess/sweep.h, src/osg/glu/libtess/tess.cpp, - src/osg/glu/libtess/tess.h, src/osg/glu/libtess/tessmono.cpp, - src/osg/glu/libtess/tessmono.h, src/osg/glu/libutil/error.cpp, - src/osg/glu/libutil/mipmap.cpp, src/osgAnimation/Action.cpp, - src/osgAnimation/ActionAnimation.cpp, - src/osgAnimation/ActionBlendIn.cpp, - src/osgAnimation/ActionBlendOut.cpp, - src/osgAnimation/ActionCallback.cpp, - src/osgAnimation/ActionStripAnimation.cpp, - src/osgAnimation/ActionVisitor.cpp, - src/osgAnimation/Animation.cpp, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/BasicAnimationManager.cpp, - src/osgAnimation/Bone.cpp, src/osgAnimation/BoneMapVisitor.cpp, - src/osgAnimation/CMakeLists.txt, src/osgAnimation/Channel.cpp, - src/osgAnimation/LinkVisitor.cpp, - src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/RigGeometry.cpp, - src/osgAnimation/RigTransformHardware.cpp, - src/osgAnimation/RigTransformSoftware.cpp, - src/osgAnimation/Skeleton.cpp, - src/osgAnimation/StackedMatrixElement.cpp, - src/osgAnimation/StackedQuaternionElement.cpp, - src/osgAnimation/StackedRotateAxisElement.cpp, - src/osgAnimation/StackedScaleElement.cpp, - src/osgAnimation/StackedTransform.cpp, - src/osgAnimation/StackedTranslateElement.cpp, - src/osgAnimation/StatsHandler.cpp, - src/osgAnimation/StatsVisitor.cpp, src/osgAnimation/Target.cpp, - src/osgAnimation/Timeline.cpp, - src/osgAnimation/TimelineAnimationManager.cpp, - src/osgAnimation/UpdateBone.cpp, - src/osgAnimation/UpdateMaterial.cpp, - src/osgAnimation/UpdateMatrixTransform.cpp, - src/osgAnimation/VertexInfluence.cpp, - src/osgDB/AuthenticationMap.cpp, src/osgDB/Callbacks.cpp, - src/osgDB/Compressors.cpp, src/osgDB/ConvertUTF.cpp, - src/osgDB/DatabaseRevisions.cpp, src/osgDB/FileCache.cpp, - src/osgDB/ImagePager.cpp, src/osgDB/InputStream.cpp, - src/osgDB/MimeTypes.cpp, src/osgDB/ObjectWrapper.cpp, - src/osgDB/Options.cpp, src/osgDB/OutputStream.cpp, - src/osgDB/PluginQuery.cpp, src/osgDB/XmlParser.cpp, - src/osgDB/fstream.cpp, src/osgFX/Outline.cpp, - src/osgFX/Version.cpp, src/osgGA/CameraViewSwitchManipulator.cpp, - src/osgGA/FirstPersonManipulator.cpp, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgGA/OrbitManipulator.cpp, - src/osgGA/SphericalManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgManipulator/TabBoxTrackballDragger.cpp, - src/osgManipulator/Version.cpp, - src/osgParticle/BounceOperator.cpp, - src/osgParticle/DomainOperator.cpp, - src/osgParticle/SinkOperator.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.h, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h, - src/osgPlugins/3ds/lib3ds/AUTHORS, - src/osgPlugins/3ds/lib3ds/COPYING, - src/osgPlugins/3ds/lib3ds/README, - src/osgPlugins/3ds/lib3ds/lib3ds.h, - src/osgPlugins/3ds/lib3ds/lib3ds_atmosphere.c, - src/osgPlugins/3ds/lib3ds/lib3ds_background.c, - src/osgPlugins/3ds/lib3ds/lib3ds_camera.c, - src/osgPlugins/3ds/lib3ds/lib3ds_chunk.c, - src/osgPlugins/3ds/lib3ds/lib3ds_chunktable.c, - src/osgPlugins/3ds/lib3ds/lib3ds_file.c, - src/osgPlugins/3ds/lib3ds/lib3ds_impl.h, - src/osgPlugins/3ds/lib3ds/lib3ds_io.c, - src/osgPlugins/3ds/lib3ds/lib3ds_light.c, - src/osgPlugins/3ds/lib3ds/lib3ds_material.c, - src/osgPlugins/3ds/lib3ds/lib3ds_math.c, - src/osgPlugins/3ds/lib3ds/lib3ds_matrix.c, - src/osgPlugins/3ds/lib3ds/lib3ds_mesh.c, - src/osgPlugins/3ds/lib3ds/lib3ds_node.c, - src/osgPlugins/3ds/lib3ds/lib3ds_quat.c, - src/osgPlugins/3ds/lib3ds/lib3ds_shadow.c, - src/osgPlugins/3ds/lib3ds/lib3ds_track.c, - src/osgPlugins/3ds/lib3ds/lib3ds_util.c, - src/osgPlugins/3ds/lib3ds/lib3ds_vector.c, - src/osgPlugins/3ds/lib3ds/lib3ds_viewport.c, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.h, - src/osgPlugins/Inventor/README.txt, - src/osgPlugins/OpenFlight/DataOutputStream.cpp, - src/osgPlugins/OpenFlight/DataOutputStream.h, - src/osgPlugins/OpenFlight/ExportOptions.cpp, - src/osgPlugins/OpenFlight/ExportOptions.h, - src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/FltWriteResult.h, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.cpp, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.h, - src/osgPlugins/OpenFlight/MaterialPaletteManager.cpp, - src/osgPlugins/OpenFlight/MaterialPaletteManager.h, - src/osgPlugins/OpenFlight/Opcodes.h, - src/osgPlugins/OpenFlight/TexturePaletteManager.cpp, - src/osgPlugins/OpenFlight/TexturePaletteManager.h, - src/osgPlugins/OpenFlight/Types.h, - src/osgPlugins/OpenFlight/Utils.h, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.h, - src/osgPlugins/OpenFlight/expAncillaryRecords.cpp, - src/osgPlugins/OpenFlight/expControlRecords.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp, - src/osgPlugins/QTKit/CMakeLists.txt, - src/osgPlugins/QTKit/ReaderWriterQTKit.mm, - src/osgPlugins/bsp/CMakeLists.txt, - src/osgPlugins/bsp/Q3BSPReader.cpp, - src/osgPlugins/bsp/Q3BSPReader.h, - src/osgPlugins/bsp/VBSPData.cpp, src/osgPlugins/bsp/VBSPData.h, - src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/bsp/VBSPEntity.h, - src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPGeometry.h, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/bsp/VBSPReader.h, - src/osgPlugins/bsp/VBSP_README.txt, - src/osgPlugins/bvh/CMakeLists.txt, - src/osgPlugins/bvh/ReaderWriterBVH.cpp, - src/osgPlugins/cfg/CMakeLists.txt, src/osgPlugins/cfg/Camera.cpp, - src/osgPlugins/cfg/Camera.h, src/osgPlugins/cfg/CameraConfig.cpp, - src/osgPlugins/cfg/CameraConfig.h, - src/osgPlugins/cfg/ConfigLexer.cpp, - src/osgPlugins/cfg/ConfigLexer.l, - src/osgPlugins/cfg/ConfigParser.cpp, - src/osgPlugins/cfg/ConfigParser.h, - src/osgPlugins/cfg/ConfigParser.y, - src/osgPlugins/cfg/FlexLexer.h, - src/osgPlugins/cfg/ReaderWriterCFG.cpp, - src/osgPlugins/cfg/RenderSurface.cpp, - src/osgPlugins/cfg/RenderSurface.h, - src/osgPlugins/cfg/VisualChooser.cpp, - src/osgPlugins/cfg/VisualChooser.h, - src/osgPlugins/curl/CMakeLists.txt, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeRSkinning.cpp, - src/osgPlugins/dae/daeWAnimations.cpp, - src/osgPlugins/dicom/CMakeLists.txt, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgPlugins/directshow/CMakeLists.txt, - src/osgPlugins/directshow/DirectShowTexture, - src/osgPlugins/directshow/DirectShowTexture.cpp, - src/osgPlugins/directshow/ReaderWriterDirectShow.cpp, - src/osgPlugins/dot/BaseDotVisitor.cpp, - src/osgPlugins/dot/BaseDotVisitor.h, - src/osgPlugins/dot/CMakeLists.txt, - src/osgPlugins/dot/ReaderWriterDOT.cpp, - src/osgPlugins/dot/SimpleDotVisitor.cpp, - src/osgPlugins/dot/SimpleDotVisitor.h, - src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp, - src/osgPlugins/dxf/DXFWriterNodeVisitor.h, - src/osgPlugins/exr/CMakeLists.txt, - src/osgPlugins/exr/ReaderWriterEXR.cpp, - src/osgPlugins/fbx/CMakeLists.txt, - src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/WriterCompareTriangle.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.h, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRCamera.cpp, - src/osgPlugins/fbx/fbxRLight.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp, - src/osgPlugins/fbx/fbxReader.h, - src/osgPlugins/ffmpeg/BoundedMessageQueue.hpp, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegAudioStream.cpp, - src/osgPlugins/ffmpeg/FFmpegAudioStream.hpp, - src/osgPlugins/ffmpeg/FFmpegClocks.cpp, - src/osgPlugins/ffmpeg/FFmpegClocks.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp, - src/osgPlugins/ffmpeg/FFmpegPacket.hpp, - src/osgPlugins/ffmpeg/FFmpegParameters.cpp, - src/osgPlugins/ffmpeg/FFmpegParameters.hpp, - src/osgPlugins/ffmpeg/MessageQueue.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp, - src/osgPlugins/gdal/CMakeLists.txt, - src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/DataSetLayer.h, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/glsl/CMakeLists.txt, - src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgPlugins/gz/CMakeLists.txt, - src/osgPlugins/gz/ReaderWriterGZ.cpp, - src/osgPlugins/hdr/hdrwriter.cpp, src/osgPlugins/hdr/hdrwriter.h, - src/osgPlugins/imageio/CMakeLists.txt, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp, - src/osgPlugins/ive/AnisotropicLighting.cpp, - src/osgPlugins/ive/AnisotropicLighting.h, - src/osgPlugins/ive/BlendEquation.cpp, - src/osgPlugins/ive/BlendEquation.h, - src/osgPlugins/ive/BumpMapping.cpp, - src/osgPlugins/ive/BumpMapping.h, src/osgPlugins/ive/Cartoon.cpp, - src/osgPlugins/ive/Cartoon.h, - src/osgPlugins/ive/CompositeLayer.cpp, - src/osgPlugins/ive/CompositeLayer.h, - src/osgPlugins/ive/Effect.cpp, src/osgPlugins/ive/Effect.h, - src/osgPlugins/ive/FadeText.cpp, src/osgPlugins/ive/FadeText.h, - src/osgPlugins/ive/Fog.cpp, src/osgPlugins/ive/Fog.h, - src/osgPlugins/ive/HeightFieldLayer.cpp, - src/osgPlugins/ive/HeightFieldLayer.h, - src/osgPlugins/ive/ImageLayer.cpp, - src/osgPlugins/ive/ImageLayer.h, - src/osgPlugins/ive/ImageSequence.cpp, - src/osgPlugins/ive/ImageSequence.h, src/osgPlugins/ive/Layer.cpp, - src/osgPlugins/ive/Layer.h, src/osgPlugins/ive/LineStipple.cpp, - src/osgPlugins/ive/LineStipple.h, src/osgPlugins/ive/Locator.cpp, - src/osgPlugins/ive/Locator.h, src/osgPlugins/ive/Multisample.cpp, - src/osgPlugins/ive/Multisample.h, - src/osgPlugins/ive/OcclusionQueryNode.cpp, - src/osgPlugins/ive/OcclusionQueryNode.h, - src/osgPlugins/ive/PolygonStipple.cpp, - src/osgPlugins/ive/PolygonStipple.h, - src/osgPlugins/ive/Scribe.cpp, src/osgPlugins/ive/Scribe.h, - src/osgPlugins/ive/ShapeAttributeList.cpp, - src/osgPlugins/ive/ShapeAttributeList.h, - src/osgPlugins/ive/SpecularHighlights.cpp, - src/osgPlugins/ive/SpecularHighlights.h, - src/osgPlugins/ive/SwitchLayer.cpp, - src/osgPlugins/ive/SwitchLayer.h, src/osgPlugins/ive/Terrain.cpp, - src/osgPlugins/ive/Terrain.h, src/osgPlugins/ive/TerrainTile.cpp, - src/osgPlugins/ive/TerrainTile.h, src/osgPlugins/ive/Text3D.cpp, - src/osgPlugins/ive/Text3D.h, - src/osgPlugins/ive/Texture2DArray.cpp, - src/osgPlugins/ive/Texture2DArray.h, - src/osgPlugins/ive/Volume.cpp, src/osgPlugins/ive/Volume.h, - src/osgPlugins/ive/VolumeCompositeLayer.cpp, - src/osgPlugins/ive/VolumeCompositeLayer.h, - src/osgPlugins/ive/VolumeCompositeProperty.cpp, - src/osgPlugins/ive/VolumeCompositeProperty.h, - src/osgPlugins/ive/VolumeImageLayer.cpp, - src/osgPlugins/ive/VolumeImageLayer.h, - src/osgPlugins/ive/VolumeLayer.cpp, - src/osgPlugins/ive/VolumeLayer.h, - src/osgPlugins/ive/VolumeLocator.cpp, - src/osgPlugins/ive/VolumeLocator.h, - src/osgPlugins/ive/VolumeProperty.h, - src/osgPlugins/ive/VolumePropertyAdjustmentCallback.cpp, - src/osgPlugins/ive/VolumePropertyAdjustmentCallback.h, - src/osgPlugins/ive/VolumeScalarProperty.cpp, - src/osgPlugins/ive/VolumeScalarProperty.h, - src/osgPlugins/ive/VolumeSwitchProperty.cpp, - src/osgPlugins/ive/VolumeSwitchProperty.h, - src/osgPlugins/ive/VolumeTile.cpp, - src/osgPlugins/ive/VolumeTile.h, - src/osgPlugins/ive/VolumeTransferFunctionProperty.cpp, - src/osgPlugins/ive/VolumeTransferFunctionProperty.h, - src/osgPlugins/mdl/BodyPart.cpp, src/osgPlugins/mdl/BodyPart.h, - src/osgPlugins/mdl/CMakeLists.txt, - src/osgPlugins/mdl/MDLLimits.h, src/osgPlugins/mdl/MDLReader.cpp, - src/osgPlugins/mdl/MDLReader.h, src/osgPlugins/mdl/MDLRoot.cpp, - src/osgPlugins/mdl/MDLRoot.h, src/osgPlugins/mdl/MDL_README.txt, - src/osgPlugins/mdl/Mesh.cpp, src/osgPlugins/mdl/Mesh.h, - src/osgPlugins/mdl/Model.cpp, src/osgPlugins/mdl/Model.h, - src/osgPlugins/mdl/ReaderWriterMDL.cpp, - src/osgPlugins/mdl/ReaderWriterMDL.h, - src/osgPlugins/mdl/VTXReader.cpp, src/osgPlugins/mdl/VTXReader.h, - src/osgPlugins/mdl/VVDReader.cpp, src/osgPlugins/mdl/VVDReader.h, - src/osgPlugins/nvtt/CMakeLists.txt, - src/osgPlugins/nvtt/NVTTImageProcessor.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.h, - src/osgPlugins/ogr/CMakeLists.txt, - src/osgPlugins/ogr/ReaderWriterOGR.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgPlugins/osg/XmlStreamOperator.h, - src/osgPlugins/p3d/CMakeLists.txt, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPlugins/pdf/CMakeLists.txt, - src/osgPlugins/pdf/ReaderWriterPDF.cpp, - src/osgPlugins/ply/CMakeLists.txt, - src/osgPlugins/ply/ReaderWriterPLY.cpp, src/osgPlugins/ply/ply.h, - src/osgPlugins/ply/plyfile.cpp, src/osgPlugins/ply/typedefs.h, - src/osgPlugins/ply/vertexData.cpp, - src/osgPlugins/ply/vertexData.h, - src/osgPlugins/pov/CMakeLists.txt, - src/osgPlugins/pov/POVWriterNodeVisitor.cpp, - src/osgPlugins/pov/POVWriterNodeVisitor.h, - src/osgPlugins/pov/ReaderWriterPOV.cpp, - src/osgPlugins/pov/ReaderWriterPOV.h, - src/osgPlugins/pvr/CMakeLists.txt, - src/osgPlugins/pvr/ReaderWriterPVR.cpp, - src/osgPlugins/qfont/CMakeLists.txt, - src/osgPlugins/qfont/ReaderQFont.cpp, - src/osgPlugins/quicktime/QTImportExport.cpp, - src/osgPlugins/quicktime/QTImportExport.h, - src/osgPlugins/quicktime/QTLiveUtils.cpp, - src/osgPlugins/quicktime/QTLiveUtils.h, - src/osgPlugins/quicktime/QuicktimeLiveImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeLiveImageStream.h, - src/osgPlugins/revisions/CMakeLists.txt, - src/osgPlugins/revisions/ReaderWriterRevisions.cpp, - src/osgPlugins/shp/ESRIType.h, - src/osgPlugins/shp/XBaseParser.cpp, - src/osgPlugins/shp/XBaseParser.h, - src/osgPlugins/svg/CMakeLists.txt, - src/osgPlugins/svg/ReaderWriterSVG.cpp, - src/osgPlugins/terrain/CMakeLists.txt, - src/osgPlugins/terrain/ReaderWriterOsgTerrain.cpp, - src/osgPlugins/view/ReaderWriterOsgViewer.cpp, - src/osgPlugins/vnc/CMakeLists.txt, - src/osgPlugins/vnc/ReaderWriterVNC.cpp, - src/osgPlugins/vrml/ConvertToVRML.cpp, - src/osgPlugins/vrml/ConvertToVRML.h, - src/osgPlugins/vrml/IndexedFaceSet.cpp, - src/osgPlugins/vrml/Primitives.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h, - src/osgPlugins/vtf/CMakeLists.txt, - src/osgPlugins/vtf/ReaderWriterVTF.cpp, - src/osgPlugins/zip/unzip.cpp, src/osgPlugins/zip/unzip.h, - src/osgPresentation/AnimationMaterial.cpp, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/CompileSlideCallback.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp, - src/osgQt/CMakeLists.txt, src/osgQt/GraphicsWindowQt.cpp, - src/osgQt/QFontImplementation.cpp, - src/osgQt/QGraphicsViewAdapter.cpp, src/osgQt/QWidgetImage.cpp, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/SoftShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp, - src/osgShadow/ViewDependentShadowTechnique.cpp, - src/osgSim/ShapeAttribute.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp, - src/osgTerrain/Locator.cpp, src/osgTerrain/Terrain.cpp, - src/osgText/Glyph.cpp, src/osgText/GlyphGeometry.cpp, - src/osgText/GlyphGeometry.h, src/osgText/Style.cpp, - src/osgText/Text3D.cpp, src/osgText/TextBase.cpp, - src/osgUtil/DrawElementTypeSimplifier.cpp, - src/osgUtil/EdgeCollector.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/MeshOptimizers.cpp, src/osgUtil/PrintVisitor.cpp, - src/osgUtil/ReversePrimitiveFunctor.cpp, - src/osgUtil/SceneGraphBuilder.cpp, src/osgUtil/ShaderGen.cpp, - src/osgUtil/tristripper/include/detail/cache_simulator.h, - src/osgUtil/tristripper/include/detail/connectivity_graph.h, - src/osgUtil/tristripper/include/detail/graph_array.h, - src/osgUtil/tristripper/include/detail/heap_array.h, - src/osgUtil/tristripper/include/detail/policy.h, - src/osgUtil/tristripper/include/detail/types.h, - src/osgUtil/tristripper/include/public_types.h, - src/osgUtil/tristripper/include/tri_stripper.h, - src/osgUtil/tristripper/src/connectivity_graph.cpp, - src/osgUtil/tristripper/src/policy.cpp, - src/osgUtil/tristripper/src/tri_stripper.cpp, - src/osgViewer/DarwinUtils.h, src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/GraphicsWindowIOS.mm, src/osgViewer/IOSUtils.h, - src/osgViewer/IOSUtils.mm, src/osgViewer/PixelBufferCarbon.cpp, - src/osgViewer/PixelBufferCocoa.mm, - src/osgViewer/PixelBufferWin32.cpp, - src/osgViewer/PixelBufferX11.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, - src/osgViewer/ViewerBase.cpp, - src/osgViewer/ViewerEventHandlers.cpp, - src/osgVolume/CMakeLists.txt, - src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/Layer.cpp, src/osgVolume/Locator.cpp, - src/osgVolume/Property.cpp, src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp, - src/osgVolume/Shaders/volume_vert.cpp, src/osgVolume/Version.cpp, - src/osgVolume/Volume.cpp, src/osgVolume/VolumeTechnique.cpp, - src/osgVolume/VolumeTile.cpp, src/osgWidget/Box.cpp, - src/osgWidget/Browser.cpp, src/osgWidget/CMakeLists.txt, - src/osgWidget/Canvas.cpp, src/osgWidget/Frame.cpp, - src/osgWidget/Input.cpp, src/osgWidget/Label.cpp, - src/osgWidget/Lua.cpp, src/osgWidget/PdfReader.cpp, - src/osgWidget/Python.cpp, src/osgWidget/StyleManager.cpp, - src/osgWidget/Table.cpp, src/osgWidget/Util.cpp, - src/osgWidget/Version.cpp, src/osgWidget/ViewerEventHandlers.cpp, - src/osgWidget/VncClient.cpp, src/osgWidget/Widget.cpp, - src/osgWidget/Window.cpp, src/osgWidget/WindowManager.cpp, - src/osgWrappers/deprecated-dotosg/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osg/BlendEquation.cpp, - src/osgWrappers/deprecated-dotosg/osg/Box.cpp, - src/osgWrappers/deprecated-dotosg/osg/Capsule.cpp, - src/osgWrappers/deprecated-dotosg/osg/CompositeShape.cpp, - src/osgWrappers/deprecated-dotosg/osg/Cone.cpp, - src/osgWrappers/deprecated-dotosg/osg/Cylinder.cpp, - src/osgWrappers/deprecated-dotosg/osg/HeightField.cpp, - src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp, - src/osgWrappers/deprecated-dotosg/osg/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osg/OcclusionQueryNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/Sphere.cpp, - src/osgWrappers/deprecated-dotosg/osg/StateAttribute.cpp, - src/osgWrappers/deprecated-dotosg/osg/TransferFunction.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgAnimation/Matrix.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/Matrix.h, - src/osgWrappers/deprecated-dotosg/osgAnimation/ReaderWriter.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/StackedTransform.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/UpdateMaterial.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/UpdateMatrixTransform.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_Outline.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_AngularDampingOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_BounceOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_DampingOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_DomainOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ExplosionOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_FluidProgram.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_OrbitOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_SinkOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgShadow/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_ObjectRecordData.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_OverlayNode.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_ShapeAttribute.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgTerrain/CompositeLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/HeightFieldLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/ImageLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Layer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Locator.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/SwitchLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Terrain.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/TerrainTile.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_Text3D.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_TextBase.cpp, - src/osgWrappers/deprecated-dotosg/osgText/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/CompositeViewer.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/View.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/Viewer.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgVolume/CompositeProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/ImageLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Layer.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Locator.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Property.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/PropertyAdjustmentCallback.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/ScalarProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/SwitchProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/TransferFunctionProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Volume.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/VolumeTile.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Box.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgWidget/EmbeddedWindow.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Frame.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Input.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Label.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Table.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Widget.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/WindowManager.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osg/AlphaFunc.cpp, - src/osgWrappers/serializers/osg/AnimationPath.cpp, - src/osgWrappers/serializers/osg/AnimationPathCallback.cpp, - src/osgWrappers/serializers/osg/AudioSink.cpp, - src/osgWrappers/serializers/osg/AudioStream.cpp, - src/osgWrappers/serializers/osg/AutoTransform.cpp, - src/osgWrappers/serializers/osg/Billboard.cpp, - src/osgWrappers/serializers/osg/BlendColor.cpp, - src/osgWrappers/serializers/osg/BlendEquation.cpp, - src/osgWrappers/serializers/osg/BlendFunc.cpp, - src/osgWrappers/serializers/osg/Box.cpp, - src/osgWrappers/serializers/osg/CMakeLists.txt, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/CameraView.cpp, - src/osgWrappers/serializers/osg/Capsule.cpp, - src/osgWrappers/serializers/osg/ClampColor.cpp, - src/osgWrappers/serializers/osg/ClearNode.cpp, - src/osgWrappers/serializers/osg/ClipNode.cpp, - src/osgWrappers/serializers/osg/ClipPlane.cpp, - src/osgWrappers/serializers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/serializers/osg/ColorMask.cpp, - src/osgWrappers/serializers/osg/ColorMatrix.cpp, - src/osgWrappers/serializers/osg/CompositeShape.cpp, - src/osgWrappers/serializers/osg/Cone.cpp, - src/osgWrappers/serializers/osg/ConvexHull.cpp, - src/osgWrappers/serializers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/serializers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/serializers/osg/CullFace.cpp, - src/osgWrappers/serializers/osg/Cylinder.cpp, - src/osgWrappers/serializers/osg/Depth.cpp, - src/osgWrappers/serializers/osg/DrawPixels.cpp, - src/osgWrappers/serializers/osg/Drawable.cpp, - src/osgWrappers/serializers/osg/EllipsoidModel.cpp, - src/osgWrappers/serializers/osg/Fog.cpp, - src/osgWrappers/serializers/osg/FragmentProgram.cpp, - src/osgWrappers/serializers/osg/FrontFace.cpp, - src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/Group.cpp, - src/osgWrappers/serializers/osg/HeightField.cpp, - src/osgWrappers/serializers/osg/Hint.cpp, - src/osgWrappers/serializers/osg/Image.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/ImageStream.cpp, - src/osgWrappers/serializers/osg/LOD.cpp, - src/osgWrappers/serializers/osg/LibraryWrapper.cpp, - src/osgWrappers/serializers/osg/Light.cpp, - src/osgWrappers/serializers/osg/LightModel.cpp, - src/osgWrappers/serializers/osg/LightSource.cpp, - src/osgWrappers/serializers/osg/LineStipple.cpp, - src/osgWrappers/serializers/osg/LineWidth.cpp, - src/osgWrappers/serializers/osg/LogicOp.cpp, - src/osgWrappers/serializers/osg/Material.cpp, - src/osgWrappers/serializers/osg/MatrixTransform.cpp, - src/osgWrappers/serializers/osg/Multisample.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/NodeCallback.cpp, - src/osgWrappers/serializers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/OccluderNode.cpp, - src/osgWrappers/serializers/osg/OcclusionQueryNode.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osg/Point.cpp, - src/osgWrappers/serializers/osg/PointSprite.cpp, - src/osgWrappers/serializers/osg/PolygonMode.cpp, - src/osgWrappers/serializers/osg/PolygonOffset.cpp, - src/osgWrappers/serializers/osg/PolygonStipple.cpp, - src/osgWrappers/serializers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/serializers/osg/Program.cpp, - src/osgWrappers/serializers/osg/Projection.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp, - src/osgWrappers/serializers/osg/Scissor.cpp, - src/osgWrappers/serializers/osg/Sequence.cpp, - src/osgWrappers/serializers/osg/ShadeModel.cpp, - src/osgWrappers/serializers/osg/Shader.cpp, - src/osgWrappers/serializers/osg/ShaderBinary.cpp, - src/osgWrappers/serializers/osg/Shape.cpp, - src/osgWrappers/serializers/osg/ShapeDrawable.cpp, - src/osgWrappers/serializers/osg/Sphere.cpp, - src/osgWrappers/serializers/osg/StateAttribute.cpp, - src/osgWrappers/serializers/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/Stencil.cpp, - src/osgWrappers/serializers/osg/StencilTwoSided.cpp, - src/osgWrappers/serializers/osg/Switch.cpp, - src/osgWrappers/serializers/osg/TessellationHints.cpp, - src/osgWrappers/serializers/osg/TexEnv.cpp, - src/osgWrappers/serializers/osg/TexEnvCombine.cpp, - src/osgWrappers/serializers/osg/TexEnvFilter.cpp, - src/osgWrappers/serializers/osg/TexGen.cpp, - src/osgWrappers/serializers/osg/TexGenNode.cpp, - src/osgWrappers/serializers/osg/TexMat.cpp, - src/osgWrappers/serializers/osg/Texture.cpp, - src/osgWrappers/serializers/osg/Texture1D.cpp, - src/osgWrappers/serializers/osg/Texture2D.cpp, - src/osgWrappers/serializers/osg/Texture2DArray.cpp, - src/osgWrappers/serializers/osg/Texture3D.cpp, - src/osgWrappers/serializers/osg/TextureCubeMap.cpp, - src/osgWrappers/serializers/osg/TextureRectangle.cpp, - src/osgWrappers/serializers/osg/TransferFunction.cpp, - src/osgWrappers/serializers/osg/TransferFunction1D.cpp, - src/osgWrappers/serializers/osg/Transform.cpp, - src/osgWrappers/serializers/osg/TriangleMesh.cpp, - src/osgWrappers/serializers/osg/Uniform.cpp, - src/osgWrappers/serializers/osg/VertexProgram.cpp, - src/osgWrappers/serializers/osg/Viewport.cpp, - src/osgWrappers/serializers/osgAnimation/Action.cpp, - src/osgWrappers/serializers/osgAnimation/ActionAnimation.cpp, - src/osgWrappers/serializers/osgAnimation/ActionBlendIn.cpp, - src/osgWrappers/serializers/osgAnimation/ActionBlendOut.cpp, - src/osgWrappers/serializers/osgAnimation/ActionStripAnimation.cpp, - src/osgWrappers/serializers/osgAnimation/Animation.cpp, - src/osgWrappers/serializers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/serializers/osgAnimation/BasicAnimationManager.cpp, - src/osgWrappers/serializers/osgAnimation/Bone.cpp, - src/osgWrappers/serializers/osgAnimation/CMakeLists.txt, - src/osgWrappers/serializers/osgAnimation/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/Skeleton.cpp, - src/osgWrappers/serializers/osgAnimation/StackedMatrixElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedQuaternionElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedRotateAxisElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedScaleElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedTransformElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedTranslateElement.cpp, - src/osgWrappers/serializers/osgAnimation/Timeline.cpp, - src/osgWrappers/serializers/osgAnimation/TimelineAnimationManager.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateBone.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMaterial.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMatrixTransform.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMorph.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateSkeleton.cpp, - src/osgWrappers/serializers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/serializers/osgFX/BumpMapping.cpp, - src/osgWrappers/serializers/osgFX/CMakeLists.txt, - src/osgWrappers/serializers/osgFX/Cartoon.cpp, - src/osgWrappers/serializers/osgFX/Effect.cpp, - src/osgWrappers/serializers/osgFX/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/serializers/osgFX/Outline.cpp, - src/osgWrappers/serializers/osgFX/Scribe.cpp, - src/osgWrappers/serializers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/serializers/osgManipulator/AntiSquish.cpp, - src/osgWrappers/serializers/osgManipulator/CMakeLists.txt, - src/osgWrappers/serializers/osgManipulator/CompositeDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Dragger.cpp, - src/osgWrappers/serializers/osgManipulator/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/serializers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TabBoxTrackballDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/serializers/osgParticle/AccelOperator.cpp, - src/osgWrappers/serializers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/serializers/osgParticle/AngularDampingOperator.cpp, - src/osgWrappers/serializers/osgParticle/BounceOperator.cpp, - src/osgWrappers/serializers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/serializers/osgParticle/CMakeLists.txt, - src/osgWrappers/serializers/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/serializers/osgParticle/CompositePlacer.cpp, - src/osgWrappers/serializers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/serializers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/serializers/osgParticle/Counter.cpp, - src/osgWrappers/serializers/osgParticle/DampingOperator.cpp, - src/osgWrappers/serializers/osgParticle/DomainOperator.cpp, - src/osgWrappers/serializers/osgParticle/Emitter.cpp, - src/osgWrappers/serializers/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/serializers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/serializers/osgParticle/ExplosionOperator.cpp, - src/osgWrappers/serializers/osgParticle/FireEffect.cpp, - src/osgWrappers/serializers/osgParticle/FluidFrictionOperator.cpp, - src/osgWrappers/serializers/osgParticle/FluidProgram.cpp, - src/osgWrappers/serializers/osgParticle/ForceOperator.cpp, - src/osgWrappers/serializers/osgParticle/Interpolator.cpp, - src/osgWrappers/serializers/osgParticle/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/serializers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/serializers/osgParticle/ModularProgram.cpp, - src/osgWrappers/serializers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/serializers/osgParticle/Operator.cpp, - src/osgWrappers/serializers/osgParticle/OrbitOperator.cpp, - src/osgWrappers/serializers/osgParticle/Particle.cpp, - src/osgWrappers/serializers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/serializers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/serializers/osgParticle/Placer.cpp, - src/osgWrappers/serializers/osgParticle/PointPlacer.cpp, - src/osgWrappers/serializers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/serializers/osgParticle/Program.cpp, - src/osgWrappers/serializers/osgParticle/RadialShooter.cpp, - src/osgWrappers/serializers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/serializers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/serializers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/serializers/osgParticle/Shooter.cpp, - src/osgWrappers/serializers/osgParticle/SinkOperator.cpp, - src/osgWrappers/serializers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/serializers/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/serializers/osgParticle/VariableRateCounter.cpp, - src/osgWrappers/serializers/osgShadow/CMakeLists.txt, - src/osgWrappers/serializers/osgShadow/DebugShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgShadow/LightSpacePerspectiveShadowMapCB.cpp, - src/osgWrappers/serializers/osgShadow/LightSpacePerspectiveShadowMapDB.cpp, - src/osgWrappers/serializers/osgShadow/LightSpacePerspectiveShadowMapVB.cpp, - src/osgWrappers/serializers/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/MinimalShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/serializers/osgShadow/ShadowTexture.cpp, - src/osgWrappers/serializers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/serializers/osgShadow/ShadowedScene.cpp, - src/osgWrappers/serializers/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/StandardShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ViewDependentShadowTechnique.cpp, - src/osgWrappers/serializers/osgSim/AzimElevationSector.cpp, - src/osgWrappers/serializers/osgSim/AzimSector.cpp, - src/osgWrappers/serializers/osgSim/BlinkSequence.cpp, - src/osgWrappers/serializers/osgSim/CMakeLists.txt, - src/osgWrappers/serializers/osgSim/ConeSector.cpp, - src/osgWrappers/serializers/osgSim/DOFTransform.cpp, - src/osgWrappers/serializers/osgSim/DirectionalSector.cpp, - src/osgWrappers/serializers/osgSim/ElevationSector.cpp, - src/osgWrappers/serializers/osgSim/Impostor.cpp, - src/osgWrappers/serializers/osgSim/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgSim/LightPointNode.cpp, - src/osgWrappers/serializers/osgSim/LightPointSystem.cpp, - src/osgWrappers/serializers/osgSim/MultiSwitch.cpp, - src/osgWrappers/serializers/osgSim/ObjectRecordData.cpp, - src/osgWrappers/serializers/osgSim/OverlayNode.cpp, - src/osgWrappers/serializers/osgSim/ScalarBar.cpp, - src/osgWrappers/serializers/osgSim/Sector.cpp, - src/osgWrappers/serializers/osgSim/SequenceGroup.cpp, - src/osgWrappers/serializers/osgSim/ShapeAttributeList.cpp, - src/osgWrappers/serializers/osgSim/SphereSegment.cpp, - src/osgWrappers/serializers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/serializers/osgTerrain/CMakeLists.txt, - src/osgWrappers/serializers/osgTerrain/CompositeLayer.cpp, - src/osgWrappers/serializers/osgTerrain/ContourLayer.cpp, - src/osgWrappers/serializers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/serializers/osgTerrain/HeightFieldLayer.cpp, - src/osgWrappers/serializers/osgTerrain/ImageLayer.cpp, - src/osgWrappers/serializers/osgTerrain/Layer.cpp, - src/osgWrappers/serializers/osgTerrain/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgTerrain/Locator.cpp, - src/osgWrappers/serializers/osgTerrain/ProxyLayer.cpp, - src/osgWrappers/serializers/osgTerrain/SwitchLayer.cpp, - src/osgWrappers/serializers/osgTerrain/Terrain.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp, - src/osgWrappers/serializers/osgText/CMakeLists.txt, - src/osgWrappers/serializers/osgText/FadeText.cpp, - src/osgWrappers/serializers/osgText/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgText/Text.cpp, - src/osgWrappers/serializers/osgText/Text3D.cpp, - src/osgWrappers/serializers/osgText/TextBase.cpp, - src/osgWrappers/serializers/osgVolume/AlphaFuncProperty.cpp, - src/osgWrappers/serializers/osgVolume/CMakeLists.txt, - src/osgWrappers/serializers/osgVolume/CompositeLayer.cpp, - src/osgWrappers/serializers/osgVolume/CompositeProperty.cpp, - src/osgWrappers/serializers/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/serializers/osgVolume/ImageDetails.cpp, - src/osgWrappers/serializers/osgVolume/ImageLayer.cpp, - src/osgWrappers/serializers/osgVolume/IsoSurfaceProperty.cpp, - src/osgWrappers/serializers/osgVolume/Layer.cpp, - src/osgWrappers/serializers/osgVolume/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgVolume/LightingProperty.cpp, - src/osgWrappers/serializers/osgVolume/Locator.cpp, - src/osgWrappers/serializers/osgVolume/MaximumIntensityProjectionProperty.cpp, - src/osgWrappers/serializers/osgVolume/Property.cpp, - src/osgWrappers/serializers/osgVolume/PropertyAdjustmentCallback.cpp, - src/osgWrappers/serializers/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/serializers/osgVolume/SampleDensityProperty.cpp, - src/osgWrappers/serializers/osgVolume/ScalarProperty.cpp, - src/osgWrappers/serializers/osgVolume/SwitchProperty.cpp, - src/osgWrappers/serializers/osgVolume/TransferFunctionProperty.cpp, - src/osgWrappers/serializers/osgVolume/TransparencyProperty.cpp, - src/osgWrappers/serializers/osgVolume/Volume.cpp, - src/osgWrappers/serializers/osgVolume/VolumeTechnique.cpp, - src/osgWrappers/serializers/osgVolume/VolumeTile.cpp: Ran svn - propset -R svn:eol-style native . on the OpenSceneGraph - -2011-04-19 09:54 robert - - * src/osgText/TextBase.cpp: Improved the handling of unitialized - bounding box - -2011-04-19 09:53 robert - - * examples/osgtext/osgtext.cpp: Cleaned up example - -2011-04-18 12:58 robert - - * CMakeLists.txt: Updated SO version number - -2011-04-18 12:35 robert - - * include/osg/Version, include/osgUtil/IncrementalCompileOperation, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added IncrementalCompileOperation::compileAllForNextFrame(uint) - method and supporting - functionality that tell the IncrementalCompileOperation to - compile all pending objects during next draw traversal, - for specified number of frames. - -2011-04-14 15:47 robert - - * README.txt: From Stephan Huber, "attached you'll find some - enhancements for the iphone-part of the readme." - -2011-04-14 15:45 robert - - * applications/osgconv/osgconv.cpp: From Magnus Kessler, "The - standard width for the windows cmd and terminals on many Unix - systems is - 80 columns. I reorganized some of the help strings to make the - output of - - osgconv --help --all - - fit to 80 columns. This avoids difficult to read line breaks - added by the - terminal program itself." - -2011-04-14 15:22 robert - - * src/osg/Image.cpp, src/osg/dxtctool.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp: Cleaned up DXT1 support - -2011-04-14 15:21 robert - - * CMakeLists.txt: Added IF (WIN32) around OSG_USE_UTF8_FILENAME - -2011-04-14 10:44 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Added osgDB::Option - string entries: - - supportsOption("dds_dxt1_rgb","set the pixel format of DXT1 - encoded images to be RGB"); - supportsOption("dds_dxt1_rgba","set the pixel format of DXT1 - encoded images to be RGBA"); - supportsOption("dds_dxt1_detect_rgba","For DXT1 encode images set - the pixel format according to presence of transparent pixels."); - - And set the default not to modify and detect the RGB or RGBA - pixel format for DXT images. - -2011-04-14 09:16 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Added setting of the - internal texture format - -2011-04-13 19:28 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: quitened down debug - output - -2011-04-13 19:26 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Introduced new code for - detecting DXT1 images catogoriesed as RGB that actually have a 1 - bit alpha, - therefore re-interpreting these as RGBA. +Mon, 21 Jul 2014 14:32:40 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "I think I spotted some unneeded ref_ptrs in the cullvisitor. The call pushModelViewMatrix or pushProjectionMatrix will already keep the reference when adding it to the MatrixStack. In CullVisitor::apply methods for the billboard and the camera you already take a pointer instead of a ref_ptr."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14375 16af8721-9629-0410-8352-f15c8da7e697 -2011-04-13 10:44 robert - * src/osg/Image.cpp, src/osg/dxtctool.cpp, src/osg/dxtctool.h: - Added handling of DXT1 in osg::Image::isImageTranslucent() +Mon, 21 Jul 2014 13:45:58 +0000 +Checked in by : Robert OSFIELD +Added setting of glPixelStore before glTexSubImage2D call.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14374 16af8721-9629-0410-8352-f15c8da7e697 -2011-04-11 19:11 robert - * include/osg/Texture, src/osg/Texture.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/nvtt/NVTTImageProcessor.cpp: Added support for - explitly requesting DXT1a and DXT1c compression +Mon, 21 Jul 2014 13:43:11 +0000 +Checked in by : Robert OSFIELD +From Jaap Gas, "I want to submit a bugfix for a crash occurring in osgText/Glyph.cpp if the scene tree contains (large) 2D textures from images with STRIDE.============================================================================ +#0 0x00007fffe8ea4350 in __memmove_ssse3 () from /lib64/libc.so.6 +#1 0x00007fffe52ced76 in ?? () from /usr/lib64/libnvidia-glcore.so.310.44 +#2 0x00007fffe52d8e86 in ?? () from /usr/lib64/libnvidia-glcore.so.310.44 +#3 0x00007fffe53dd8be in ?? () from /usr/lib64/libnvidia-glcore.so.310.44 +#4 0x00007fffe53c2643 in ?? () from /usr/lib64/libnvidia-glcore.so.310.44 +#5 0x00007fffe53c7fdd in ?? () from /usr/lib64/libnvidia-glcore.so.310.44 +#6 0x00007fffe53cbabf in ?? () from /usr/lib64/libnvidia-glcore.so.310.44 +#7 0x00007fffe53cc1fa in ?? () from /usr/lib64/libnvidia-glcore.so.310.44 +#8 0x00007ffff30092fd in osgText::GlyphTexture::apply (this=0x1bb8cf0, state= + ...) + at /d43/jaap/dev/jaapOSG/build/OpenSceneGraph3.3.1/src/osgText/Glyph.cpp:234 +#9 0x00007ffff56c30b6 in osg::State::applyAttributeOnTexUnit (this=0x125f180, + unit=0, attribute=0x1bb8cf0, as=...) + at /d43/jaap/dev/jaapOSG/build/OpenSceneGraph3.3.1/include/osg/State:1713 +#10 0x00007ffff56c2f3f in osg::State::applyTextureAttribute (this=0x125f180, + unit=0, attribute=0x1bb8cf0) + at /d43/jaap/dev/jaapOSG/build/OpenSceneGraph3.3.1/include/osg/State:411 +#11 0x00007ffff30204da in osgText::Text::drawTextWithBackdrop (this=0x1baed70, + state=..., colorMultiplier=...) +============================================================================== -2011-04-04 10:16 robert +The crash disappears if I either (1) disable the use of images with stride +in the (public) osgGeo-library, or (2) add the following bugfix to Glyph.cpp. +This combination gives me the confidence that I understand where this problem +originates from, without trying to understand the full OpenGL details. - * src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, - "Attached you'll find a fixed - GraphicsWindowCocoa-implementation which should fix the reported - bugs. - - the osgkeyboard-example works now, but not the numbers of the - keypad, as - they hilight only for KEY_KP_Left, KEY_KP_Right, KEY_KP_Up, - KEY_KP_DOWN - etc and not for KEY_KP_0 - KEY_KP_9." +=============================================================================== +@@ -221,7 +223,12 @@ + imageData[i] = 0; + } -2011-03-31 14:57 robert ++ glPixelStorei(GL_UNPACK_ALIGNMENT,1); - * CMakeModules/CheckAtomicOps.cmake: Added - OPENTHREADS_ATOMIC_USE_MUTEX Cmake options that allows you to - override the default detection - of atomic implementatition, making it possible to force the use - of Mutex for OpenThreads::Atomic, - and as a consequence for use of Mutex for Referenced::ref/unref() - counting. ++ #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) ++ glPixelStorei(GL_UNPACK_ROW_LENGTH,getTextureWidth()); ++ #endif ++ + // allocate the texture memory. + glTexImage2D( GL_TEXTURE_2D, 0, GL_ALPHA, + getTextureWidth(), getTextureHeight(), 0, +================================================================================ -2011-03-30 15:15 robert +I have copied (and adapted) the added lines above from the same source file, +where they were used in front of a similar call to glTexSubImage2D(.) around +line 515. +" - * include/osgDB/DatabasePager, src/osg/PagedLOD.cpp, - src/osgDB/DatabasePager.cpp: From Tim Moore, - Fixes to race in DatabasePager where a parent PagedLOD - of newly loaded subgraph has been expired. - - Clean up of visitor naming to make it clearer what role it has. -2011-03-23 14:01 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14372 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp: Added m4v as a handled - movie file extension -2011-03-21 21:28 robert +Mon, 21 Jul 2014 12:21:42 +0000 +Checked in by : Robert OSFIELD +Initial work on integtasting osgUI into Present3Dgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14370 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeModules/FindOurDCMTK.cmake: Added dciimage library to DCMTK - libs -2011-03-21 21:28 robert +Mon, 21 Jul 2014 12:18:43 +0000 +Checked in by : Robert OSFIELD +Fixed indentationgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14369 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Improved handling of - RGB data. -2011-03-19 16:25 robert +Mon, 21 Jul 2014 09:35:00 +0000 +Checked in by : Robert OSFIELD +Added debug messagesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14368 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPresentation/SlideShowConstructor.cpp: Added .get() to fix - build -2011-03-18 12:21 robert +Fri, 18 Jul 2014 17:17:01 +0000 +Checked in by : Robert OSFIELD +Added serailizer support for NodeVisitor, UpdateVisitor, CullVisitor and EventVisitorgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14367 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Adde an - isFileADicom(..) method to enable the loader to automatically - identifier dicom files without making any assumptions about the - file extension -2011-03-18 11:23 robert +Mon, 14 Jul 2014 15:59:06 +0000 +Checked in by : Robert OSFIELD +Added readScript/writeScript methods to ReaderWritergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14366 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeModules/FindOurDCMTK.cmake: Added extra DCMTK libraries to - search and link line to enable build against new DCMTK-3.6.0 - release -2011-03-17 17:33 robert +Mon, 14 Jul 2014 14:09:08 +0000 +Checked in by : Robert OSFIELD +Renamed osgDB::PropertyInterface to osgDB::ClassInterface to better reflect it's functionalitygit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14365 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - new SampleDensityWhenMovingProperty into .p3d format, with it - default to 0.02. - - One can override this value via the - sampleDensityWhenMoving="value" property in the volume tag, i.e. - - CardiacCT - - To switch the feature off set the value to 0, i.e. - - CardiacCT -2011-03-17 15:37 robert +Fri, 4 Jul 2014 16:45:05 +0000 +Checked in by : Robert OSFIELD +Added preliminary support for writing VolumeSettings to disk from within Present3D in response to pressing and releasing 'Ctrl-S'.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14363 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Property, - include/osgVolume/RayTracedTechnique, src/osgVolume/Property.cpp, - src/osgVolume/RayTracedTechnique.cpp: Added - SampleDensityWhenMovingProperty to control LOD property of - osgVolume. -2011-03-17 13:56 robert +Thu, 3 Jul 2014 16:36:02 +0000 +Checked in by : Robert OSFIELD +Updated iso and mip shaders from OpenSceneGraph-Data.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14358 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgVolume/RayTracedTechnique, - src/osgVolume/RayTracedTechnique.cpp: Changed the view movement - detection code so that it uses the - new CullVisitor::Identifier to indentifier cull traversals, - this enables the code to properly detect movement when - osgViewer::Renderer uses double buffering of SceneView. -2011-03-17 13:54 robert +Thu, 3 Jul 2014 13:06:23 +0000 +Checked in by : Robert OSFIELD +Added virtual destructorsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14351 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgViewer/Renderer.cpp: Added set up of - CulLVisitor::Identifier so that the double buffered - SceneView/CullVisitor - share the same Identifier. -2011-03-17 13:54 robert +Thu, 3 Jul 2014 13:05:09 +0000 +Checked in by : Robert OSFIELD +Fixed line endingsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14350 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgUtil/CullVisitor, src/osgUtil/CullVisitor.cpp: Added - CullVisitor::Identifier to help with cull operations that require - a consistent identifier for - cull traveresals when osgViewer::Renderer uses double buffering. -2011-03-17 11:49 robert +Thu, 3 Jul 2014 13:01:05 +0000 +Checked in by : Robert OSFIELD +Changed enum usage to use the new osgVolume::VolumeSettings versions and added support for reading a VolumeSettings file.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14349 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgVolume/RayTracedTechnique, - src/osgVolume/RayTracedTechnique.cpp: First cut at LOD support in - RayTracedTechnique, which lowers the number of samples taken when - the view of the volume is changing. -2011-03-16 13:48 robert +Thu, 3 Jul 2014 10:01:46 +0000 +Checked in by : Robert OSFIELD +Refactor VolumeSettings so that it's subclassed from osgVolume::Propertygit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14348 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeModules/Find3rdPartyDependencies.cmake: From Torben - Dannhauer, "adds an additional library name of libpng ( libpng15 - ) to search fo" -2011-03-16 13:41 robert +Wed, 2 Jul 2014 16:26:18 +0000 +Checked in by : Robert OSFIELD +Added osgVolume::VolumeSettings objectgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14347 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeLists.txt: From Alan Dickinson,"I tested out my changes - against the trunk and everything worked fine... except I noticed - that the CMAKE_BUILD_POSTFIX is set incorrectly for a undefined - or blank BUILD_TYPE. - - So here is the one line change to the CMakeLists.txt to rectify - this omission." -2011-03-16 10:51 robert +Wed, 2 Jul 2014 15:34:37 +0000 +Checked in by : Robert OSFIELD +Changed the default image output format to .osgb as .dds isn't able to represent signed byte, short and int data correctly.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14346 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added hud and - billboard support to image, stereo_image, pdf, browser and vnc - image placement -2011-03-15 19:54 robert +Wed, 2 Jul 2014 14:14:53 +0000 +Checked in by : Robert OSFIELD +fixed handlng of file type of nested files within a .osgx, .osgt and .osgb file.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14344 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support hud - property for title, bullets and paragraph tags -2011-03-15 14:04 robert +Wed, 2 Jul 2014 10:25:29 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "just like ClusterCullingCallback (fixed in r14322) visual studio likes an explicit implementation of run() for InteractiveImageHandler.The warning is (14 times): +include\osgViewer/ViewerEventHandlers(542): warning C4250: 'osgViewer::InteractiveImageHandler' : inherits 'osgGA::EventHandler::osgGA::EventHandler::run' via dominance (src\osgViewer\StatsHandler.cpp) + include\osgGA/EventHandler(45) : see declaration of 'osgGA::EventHandler::run' - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Sukender, "Fixed a - case where getUniqueName() does not work properly" -2011-03-15 14:02 robert +attached a zipped version of include\osgViewer\ViewerEventHandlers" - * CMakeModules/Find3rdPartyDependencies.cmake: From Torben - Dannhauer, update to reflect addition of NVTT to Windows - 3rdPartyPackage -2011-03-15 13:53 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14343 16af8721-9629-0410-8352-f15c8da7e697 - * src/osg/Texture2DArray.cpp: Added checked against GL version - number for enabled _isTexture3DSupported. -2011-03-15 13:40 robert +Tue, 1 Jul 2014 07:31:46 +0000 +Checked in by : Robert OSFIELD +Added #include to address compile issue on some Linux distro's.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14341 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgUtil/PolytopeIntersector.cpp: Fixed warning -2011-03-15 13:30 robert +Mon, 30 Jun 2014 15:31:36 +0000 +Checked in by : Robert OSFIELD +Add dds no flip on write option to prevent output of .dds volume from being flipped by the dds plugin.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14339 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/View: Added OSG_EXPORT to declaration of View::Slave. -2011-03-15 12:48 robert +Mon, 30 Jun 2014 13:24:41 +0000 +Checked in by : Robert OSFIELD +REmoved debug coutgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14338 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgText/TextBase.cpp: Re-enabled the fallback compute of - bounding volume. -2011-03-15 12:26 robert +Mon, 30 Jun 2014 10:13:19 +0000 +Checked in by : Robert OSFIELD +From Mikhail Izmestev, "Attached fix to avoid vector reallocs on push_back in StateGraph::moveStateGraph."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14334 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPresentation/SlideShowConstructor.cpp: Fixed updating of - text position when PositionData.position is not modified by tag - but other elements of PositionData are - such as when - billboarding -2011-03-14 21:36 robert +Mon, 30 Jun 2014 09:12:14 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS filegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14332 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Implemented - billboard="on" option for image, bullet and paragraph tags - -2011-03-14 11:29 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for placing - comments at end of each line. - -2011-03-14 10:07 robert - - * include/osgUtil/IntersectionVisitor, - include/osgUtil/LineSegmentIntersector, - include/osgUtil/PlaneIntersector, - include/osgUtil/PolytopeIntersector, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgUtil/PlaneIntersector.cpp, - src/osgUtil/PolytopeIntersector.cpp: From Farshid Lashkari, - "Another update. I added a LIMIT_NEAREST enum which implements - your previous suggestion of rejecting bounding volumes further - from the nearest existing intersection. I only implemented this - for LineSegmentIntersector. I'd appreciate it if you could double - check the math I added to LineSegmentIntersector::intersects() - for checking if the bounding sphere is further away. The results - of this are promising. I'm getting noticeable performance - increase for line intersections with scenes containing many - drawables. - " - -2011-03-14 09:59 robert - - * src/osgViewer/View.cpp: From Torben Dannhauer, warning fix for a - false positive warning generated by VS about "not all control - pathes return a value". - -2011-03-11 17:20 robert - - * include/osgUtil/IntersectionVisitor, - include/osgUtil/LineSegmentIntersector, - include/osgUtil/PlaneIntersector, - include/osgUtil/PolytopeIntersector, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgUtil/PlaneIntersector.cpp, - src/osgUtil/PolytopeIntersector.cpp: From Farshid Lashkari, - removal of redundent spaces at the end of lines. - -2011-03-11 16:31 robert - - * src/osgQt/GraphicsWindowQt.cpp: From Benjamin Wasty and David - Guthrie, "currently, non-alpha-numeric keys are not recognized - (except as modifiers) in osgQt, so I added the mapping code from - my Qt integration to GraphicsWindowQt (which is based on Delta3D - code from David Guthrie - he gave me permission to submit it - under OSGPL)." - -2011-03-11 11:25 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h: From Sukender, "Added - support for texcoords scale and offset (UV scaling and offset in - Lib3DS Materials), for texture unit 0." - -2011-03-11 11:20 robert - - * src/osgDB/FileUtils.cpp: Fixed the case insenstive search under - unices - -2011-03-11 10:24 robert - - * CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgMacroUtils.cmake, src/osgViewer/CMakeLists.txt: - From Mourad Boufarguine, - "There is a redundant cmake code at the end of osgViewer cmake - script. The install command is issued in SETUP_LIBRARY macro." - "I spotted this when i tried a make install on the android port - :) I saw some weird copy commands of osgViewer headers. - I managed to get all osg headers copied to - cmake_install_prefix/include upon make install, but i can't (yet) - get the libraries to be copied to cmake_install_prefix/lib (see - attached files)" - -2011-03-11 10:18 robert - - * CMakeLists.txt, CMakeModules/OsgCPackConfig.cmake.in, - packaging/ld.so.conf.d/openscenegraph.conf.in, - packaging/pkgconfig/openscenegraph-osg.pc.in, - packaging/pkgconfig/openscenegraph-osgAnimation.pc.in, - packaging/pkgconfig/openscenegraph-osgDB.pc.in, - packaging/pkgconfig/openscenegraph-osgFX.pc.in, - packaging/pkgconfig/openscenegraph-osgGA.pc.in, - packaging/pkgconfig/openscenegraph-osgManipulator.pc.in, - packaging/pkgconfig/openscenegraph-osgParticle.pc.in, - packaging/pkgconfig/openscenegraph-osgQt.pc.in, - packaging/pkgconfig/openscenegraph-osgShadow.pc.in, - packaging/pkgconfig/openscenegraph-osgSim.pc.in, - packaging/pkgconfig/openscenegraph-osgTerrain.pc.in, - packaging/pkgconfig/openscenegraph-osgText.pc.in, - packaging/pkgconfig/openscenegraph-osgUtil.pc.in, - packaging/pkgconfig/openscenegraph-osgViewer.pc.in, - packaging/pkgconfig/openscenegraph-osgVolume.pc.in, - packaging/pkgconfig/openscenegraph-osgWidget.pc.in, - packaging/pkgconfig/openscenegraph.pc.in, - packaging/pkgconfig/openthreads.pc.in: From Alan Dickinson, "I - modified the CPack and CMake files to utilze the - CMAKE_INSTALL_PREFIX when building RPM packages. - - I also modified the CMake and pkgconfig files to append the - _POSTFIX extenstion based on the CMAKE_BUILD_TYPE. - - Additionally I fixed - packaging/ld.so.conf.d/openscenegraph.conf.in to add a '/' - betweeen the arguments since the CMAKE_INSTALL_PREFIX can't end - with a '/'. - " - -2011-03-10 14:53 robert - - * src/osgViewer/CMakeLists.txt: From Mourad Boufarguine, "I gave - osg android port a try on Windows using cygwin, and it worked - like a charm (only a tiny problem with osgViewer, when cross - compiling for android using cygwin, the windows path in - osgViewer/CMakeLists.txt is used rather than the android one, fix - attached). - " - -2011-03-10 14:44 robert - - * CMakeModules/OsgMacroUtils.cmake, - src/OpenThreads/win32/CMakeLists.txt: From Mourad Boufarguine, "I - gave projects folders in VS a try, it works for applications, - plugins and examples but not for the osg core libraries. - Attached OsgMacroUtils.cmake is a tiny fix for this. OpenThreads - is addressed seperately." - -2011-03-10 10:56 robert - - * CMakeModules/cmake_uninstall.cmake.in: From Rafa Gaitan, - "Attached the fix to remove the symlinks created with make - install." - -2011-03-10 10:52 robert - - * src/osgDB/FileNameUtils.cpp: From Michael Platings, "I'm guessing - that the stack corruption was caused by calling GetFullPathNameW - with the nBufferLength argument as the number of bytes in the - buffer, rather than the number of characters. I've attached code - that uses GetFullPathNameW et al. with _countof() rather than - sizeof() and this works fine." - -2011-03-09 17:35 robert - - * src/osg/GraphicsCostEstimator.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: Quitened down timing - stats - -2011-03-09 16:30 robert - - * src/osg/Shader.cpp: From Johannes Baeuerle, fix for memory leak - -2011-03-09 15:55 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp: From Jan Peciva, - "please, find attached updates to Inventor plugin: - - - improved transparency - - do not treat 32-bit textures as transparent textures unless - they really - contain transparent pixels - - error messages forwarded to osg::notify" - -2011-03-09 14:44 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Sukender, "1. Made - code a bit more readable/cleaner. - 2. Removed unecessary code. Also made sure the images names are - not truncated in the middle of an UTF8 character. You'll find - there a function called utf8TruncateBytes(), which may be moved - in core OSG (osgDB/ConvertUTF I guess). Feel free to do it if you - feel it that way. - " - -2011-03-09 14:15 robert - - * include/osgAnimation/Export, include/osgDB/Export, - include/osgGA/Export, include/osgParticle/Export, - include/osgPresentation/Export, include/osgQt/Export, - include/osgShadow/Export, include/osgSim/Export, - include/osgTerrain/Export, include/osgText/Export, - include/osgUtil/Export, include/osgViewer/Export, - include/osgVolume/Export, include/osgWidget/Export: From Piotr - Gwiazdowski, "So there's config setting OSG_DISABLE_MSVC_WARNINGS - which should - disable pragmas that turn off specific warnings for MSVC. - Unfortunately it's presence is only checked in osg/Export header, - making other Export headers disable warnings no matter what, - which is - kind of incoherent. - - My fix adds #include to every Export header. I've - also - unified checking whether to disable warnings to current - osg/Export - way: - #if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS). - - Attachment contains all changed Export files in their original - locations." - -2011-03-09 13:10 robert - - * src/osgPlugins/pnm/ReaderWriterPNM.cpp: From Eric Sokolowsky, "I - have updated the pnm plugin to use streams instead of C-style - I/O. Attached is src/osgPlugins/pnm/ReaderWriterPNM.cpp" - -2011-03-09 13:05 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake: From Tassilo - Glander,"I patched the cmake configuration to support folders, - which are really handy to organize the many projects in the OSG - solution into examples, applications and core libs in the IDE. - This feature has been introduced to cmake in 2.8.3, on older - versions it should be ignored silently. I tested on Visual Studio - 2008 with cmake 2.8.3 and 2.8.4. - - See the screenshots for comparison [img]osg_solution.png[/img] - - This needs few changes: - - activate on global cmakelist.txt: - - [code]set_property(GLOBAL PROPERTY USE_FOLDERS On)[/code] - - set appropriate folder names for project type in - osgMacroUtils.cmake: - - [code]SET_TARGET_PROPERTIES(${CORELIB_NAME} PROPERTIES FOLDER - "OSG Core")[/code] - - similar for examples, applications" - -2011-03-09 12:29 robert - - * src/osgWidget/StyleManager.cpp: From Piotr Gwiazdowski, "Recently - I've been having some trouble with osgWidget::StyleManager - (I'll omit osgWidget namespace from now on). It seems to me that - there - are some inconsistency in the code. In Style there are multiple - applyStyle method overloads, applying style for different - widgets/windows built-in in osgWidget. Plus you can do overrides. - It's - good so far. - - The problem lies in StyleManager::_applyStyleToObject (which - calls - _coearceAndApply, which calls _applySpecificStyle, which calls - Style::applyStyle). With current implementation Style::applyStyle - variants for Input, Window, Frame::Corner, Frame::Border, - Window::EmbeddedWindow are never called, because their classes' - names - are omitted in methods' if/else if block, making it impossible to - use - styles with most than half of built-in widget/window types. - - My fix simply adds couple else if blocks, making each - Style::applyStyle variant callable. By the way, I think that next - update should add Style::applyStyle overload for Table class and - add - proper className overloads for Input and Window." - -2011-03-09 12:15 robert - - * src/osgPlugins/jp2/ReaderWriterJP2.cpp: Removed the repeated - called to jas_init() and jas_image_clearfmts() calls to make it - possible to use the reading multi-threaded - -2011-03-09 11:22 robert - - * src/osgUtil/RenderStage.cpp: From Dietmar Funck, "I've noticed an - issue with osgUtil::RenderStage::runCameraSetUp() if the number - of buffer attachments of the camera decreases according to - privous calls. - This happens because RenderStage::_bufferAttachmentMap is updated - only for the number of buffers the camera has when runCameraSetUp - is called. - For example if there were 4 attachments and now only 3, only the - first three elements of _bufferAttachmentMap are changed. The - fourth is just as before - however it shouldn't be there. - - Calling _bufferAttachmentMap.clear() before resolves this - problem. - " - -2011-03-09 11:15 robert - - * CMakeModules/FindCOLLADA.cmake: From Cedric Pinson, "I have just - adjusted the FindCOLLADA function to let it find library on - gnu/linux." - -2011-03-09 11:13 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dae/daeRMaterials.cpp: From Sukender, "I fixed the - writing but never thought about the reading part... - Here is the fix for reading path containing %23 (= '#') - characters." - -2011-03-09 11:06 robert - - * CMakeLists.txt, include/osg/Version: Updated versions for next - OSG dev release - -2011-03-09 10:35 robert - - * examples/osgQtBrowser/osgQtBrowser.cpp, - examples/osgQtWidgets/osgQtWidgets.cpp: Changed the use of a - viewer thread to be off by default because it was causing the - application to crash when any users input was recieved - -2011-03-08 17:05 robert - - * src/osgViewer/CMakeLists.txt: Fixed error in X11 string name - -2011-03-08 16:35 robert - - * CMakeLists.txt, CMakeModules/FindAndroidNDK.cmake, - CMakeModules/OsgAndroidMacroUtils.cmake, - CMakeModules/OsgMacroUtils.cmake, PlatformSpecifics/Android, - PlatformSpecifics/Android/Android.mk.master.in, - PlatformSpecifics/Android/Android.mk.modules.in, - PlatformSpecifics/Android/Android.mk.serializers.in, - PlatformSpecifics/Android/Android.mk.src.in, - PlatformSpecifics/Android/AndroidManifest.xml.master.in, - PlatformSpecifics/Android/Application.mk.master.in, - examples/CMakeLists.txt, include/osg/BufferObject, - include/osgDB/ConvertUTF, src/CMakeLists.txt, - src/OpenThreads/CMakeLists.txt, - src/OpenThreads/pthreads/CMakeLists.txt, - src/OpenThreads/pthreads/PThread.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/bsp/BITSET.cpp, - src/osgQt/CMakeLists.txt, src/osgViewer/CMakeLists.txt: From Rafa - Gaitan and Jorge Izquierdo, build support for Android NDK. - - "- In order to build against GLES1 we execute: - $ mkdir build_android_gles1 - $ cd build_android_gles1 - $ cmake .. -DOSG_BUILD_PLATFORM_ANDROID=ON - -DDYNAMIC_OPENTHREADS=OFF - -DDYNAMIC_OPENSCENEGRAPH=OFF -DANDROID_NDK=/ - -DOSG_GLES1_AVAILABLE=ON -DOSG_GL1_AVAILABLE=OFF - -DOSG_GL2_AVAILABLE=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DJ=2 - -DOSG_CPP_EXCEPTIONS_AVAILABLE=OFF - $ make - If all is correct you will have and static OSG inside: - build_android_gles1/bin/ndk/local/armeabi. - - - GLES2 is not tested/proved, but I think it could be possible - build - it with the correct cmake flags. - - The flag -DJ=2 is used to pass to the ndk-build the number of - processors to speed up the building. - - make install is not yet supported." - -2011-03-08 15:31 robert - - * src/OpenThreads/pthreads/PThreadBarrier.cpp, - src/OpenThreads/pthreads/PThreadCondition.cpp, - src/OpenThreads/pthreads/PThreadMutex.cpp: Fixed indentation - -2011-03-08 13:51 robert - - * CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgMacroUtils.cmake, src/osg/CMakeLists.txt, - src/osgAnimation/CMakeLists.txt, src/osgDB/CMakeLists.txt, - src/osgFX/CMakeLists.txt, src/osgGA/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, - src/osgPresentation/CMakeLists.txt, src/osgQt/CMakeLists.txt, - src/osgShadow/CMakeLists.txt, src/osgSim/CMakeLists.txt, - src/osgTerrain/CMakeLists.txt, src/osgText/CMakeLists.txt, - src/osgUtil/CMakeLists.txt, src/osgViewer/CMakeLists.txt, - src/osgVolume/CMakeLists.txt, src/osgWidget/CMakeLists.txt: From - Rafa Gaitan, "I have added the macro SETUP_LIBRARY, similar to - SETUP_PLUGIN or - SETUP_EXE, in order to have a unique entry point to build the - libraries. With this changes the android integration will be less - painful (currently is a big IF(ANDROID) for each CMakeLists.txt) - and - more maintainable in the future. I hope next submissions will be - for - supporting android from my colleague Jorge. - " - -2011-03-07 14:42 robert - - * examples/osgshadow/osgshadow.cpp: Added comments - -2011-03-07 13:45 robert - - * src/OpenThreads/pthreads/CMakeLists.txt, - src/OpenThreads/pthreads/PThread.c++, - src/OpenThreads/pthreads/PThread.cpp, - src/OpenThreads/pthreads/PThreadBarrier.c++, - src/OpenThreads/pthreads/PThreadBarrier.cpp, - src/OpenThreads/pthreads/PThreadCondition.c++, - src/OpenThreads/pthreads/PThreadCondition.cpp, - src/OpenThreads/pthreads/PThreadMutex.c++, - src/OpenThreads/pthreads/PThreadMutex.cpp: Changed all .c++ to - .cpp's - -2011-03-07 12:35 robert - - * examples/osgtext3D/osgtext3D.cpp: Added --color r g b a, - --wall-color r g b a, --back-color r g b a options for setting - the colours of faces via materials. - and --image filename, --wall-image filename, --back-image - filename options to set the textures used, note, texcoords are - not currently set up so texels used will be 0,0. - -2011-03-07 12:33 robert - - * include/osgText/Text3D, src/osgText/Text3D.cpp: Enabled the - settng/getting of the Text3D's WallStateSet and BackStateSet - along with use of these in the rendering implementation - to allow separate colour and other state to be assigned to the - front, wall and back faces. - -2011-03-03 15:52 robert - - * examples/osgshadow/osgshadow.cpp, include/osgViewer/View, - src/osgViewer/View.cpp: Moved intial cut of depth partition - support into osgViewer::View via two new methods: - - /** Convenience method for setting up multiple slave cameras that - depth partition the specified camera.*/ - bool setUpDepthPartitionForCamera(osg::Camera* cameraToPartition, - DepthPartitionSettings* dps=0); - - /** Convenience method for setting up multiple slave cameras that - depth partition each of the view's active cameras.*/ - bool setUpDepthPartition(DepthPartitionSettings* dsp=0); - -2011-03-03 12:33 robert - - * examples/osgshadow/osgshadow.cpp: Introduced a new more generic - function for settings up the depth partitioning of viewer - cameras. - -2011-03-02 16:40 robert - - * examples/osgshadow/osgshadow.cpp: Build fix -2011-03-02 16:24 robert +Mon, 30 Jun 2014 08:56:08 +0000 +Checked in by : Robert OSFIELD +Updated version numbergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14331 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgShadow/LightSpacePerspectiveShadowMap.cpp: Made parameter - a little easier to adjust and commented out verbose debug info -2011-03-02 16:09 robert +Mon, 30 Jun 2014 08:46:54 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "Here is a small fix for a overflow when editing large 3d volume data."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14329 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgshadow/osgshadow.cpp: Implemented first cut of more - flexible depth partitioning code. -2011-03-01 16:21 robert +Mon, 30 Jun 2014 08:20:30 +0000 +Checked in by : Robert OSFIELD +Removed space from #include.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14326 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgshadow/osgshadow.cpp: Fixed typo -2011-03-01 15:04 robert +Mon, 30 Jun 2014 07:37:06 +0000 +Checked in by : Robert OSFIELD +From Alexander Sinditskiy, build fix to allow building against versions older than librsvg-2.36.2git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14323 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgshadow/osgshadow.cpp: Added support for passing the - --depth-partition distance, throw to the depth partition slave - camera setup. -2011-03-01 14:50 robert +Sat, 28 Jun 2014 06:22:47 +0000 +Checked in by : Robert OSFIELD +Replaced using NodeCallback::run with explict run() implementation.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14322 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgshadow/osgshadow.cpp: Added experiment depth - partioning support in the form of an slave camera configuration. -2011-03-01 14:48 robert +Fri, 27 Jun 2014 15:57:34 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "I made a small change to DataOutputStream.cpp which makes saving Geodes possible again. This is only half a fix as it only will save a Drawable that is part of a Geode. But this change does not require a version bump of the .ive format. I tried it with a few datasets we have here with the 3.2 stable branch and the trunk with this patch and there was no difference in the .ive files that were produced."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14319 16af8721-9629-0410-8352-f15c8da7e697 - * include/osg/View, src/osg/View.cpp: Added support for an - View::Slave::UpdateSlaveCallback -2011-02-26 16:04 robert +Fri, 27 Jun 2014 15:55:05 +0000 +Checked in by : Robert OSFIELD +Removed unused method.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14318 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp: Fixed handling of write - and reading of straight Node objects in the scene graph. -2011-02-26 15:52 robert +Fri, 27 Jun 2014 15:48:38 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "attached is a modified version of src/osgUtil/Tessellator.cpp current code checks for a Nullpointer and on notify level info or above will inform you with a crash, by dereferencing it."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14315 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/ive/DataOutputStream.cpp: Changed the handling of - unkown nodes on write so that the code now ignores the non - supported nodes allows the overall write to continue. -2011-02-24 11:54 robert +Fri, 27 Jun 2014 15:39:05 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS filegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14313 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/TrapezoidalShadowMap, - src/osgShadow/CMakeLists.txt, - src/osgShadow/TrapezoidalShadowMap.cpp: Removed - TrapezoidalShadowMap due to discovery of patent on algorithm. -2011-02-23 22:52 cedricpinson +Fri, 27 Jun 2014 15:38:52 +0000 +Checked in by : Robert OSFIELD +Added an OSG_INIT_SINGLETON_PROXY to make sure that the ApplicationUsage singleton gets intialized before usage.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14312 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgAnimation/Action.cpp: Cedric Pinson: Fix divide by zero - when Action has 0 frames, and add a warning message because it - means something wrong on input data -2011-02-23 16:49 robert +Fri, 27 Jun 2014 15:36:47 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS filegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14310 16af8721-9629-0410-8352-f15c8da7e697 - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Fixed typo -2011-02-23 16:46 robert +Fri, 27 Jun 2014 15:30:56 +0000 +Checked in by : Robert OSFIELD +Added a render order sort to the list of Cameras being tested by the *Viewer::generatePointerData(..) method to ensure that the highest Camera gets focus.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14309 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/TrapezoidalShadowMap, - src/osgShadow/CMakeLists.txt, - src/osgShadow/TrapezoidalShadowMap.cpp: From Wojciech - Lewandowski, intial cut at new TrapezoidalShadowMap - ShadowTechnique -2011-02-23 16:45 robert +Thu, 26 Jun 2014 15:54:47 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog for dev releasegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14306 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgShadow/DebugShadowMap, - include/osgShadow/LightSpacePerspectiveShadowMap, - include/osgShadow/MinimalCullBoundsShadowMap, - include/osgShadow/MinimalDrawBoundsShadowMap, - include/osgShadow/MinimalShadowMap, - include/osgShadow/ProjectionShadowMap, - include/osgShadow/StandardShadowMap, - include/osgShadow/ViewDependentShadowTechnique, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp: From Wojciech Lewandowski, - various tweaks to osgShadow shadow mapping classes to improve - consistency and enable more debug info output -2011-02-23 14:09 robert +Thu, 26 Jun 2014 14:16:11 +0000 +Checked in by : Robert OSFIELD +Revised KdTreeBuilder so that is used the new apply(osg::Geometry&) method rather than expanding an osg::Geode.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14303 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgVolume/Property.cpp: Inverted the orientation of the 't' - transparency control so that it's full on at the bottom of the - screen, and full transparent at the bottom. -2011-02-23 13:56 robert +Thu, 26 Jun 2014 11:49:59 +0000 +Checked in by : Robert OSFIELD +From Sebastian Messerschmidt, "I've applied a simple fix for the backward animation support in osg::Sequence. It will simply use the sign of the speed set in the getNextValue. Attached file is against trunk."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14302 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgvolume/osgvolume.cpp: Added support for negative - --xMultipler, --yMultiple and --zMultiplier values -2011-02-23 12:48 robert +Thu, 26 Jun 2014 11:11:59 +0000 +Checked in by : Robert OSFIELD +From Lauren Voerman, "In order to speed up loading large scenes (especially from network disk) I added code to our viewer to setup multiple database-pagers and request the files trough a database-request: databasePager->setUpThreads(16, 1);We experienced problems with multiple databasepagers loading files in parallel, when two threads start to load the same file (usually a texture referenced by multiple models). The second thread to add the file to the cache (sometimes) manages to do so while the refcount from the cached object still is zero, causing the object loaded to be destroyed. +Sometimes the second thread manages to ref() the object before Referenced::signalObserversAndDelete does the final recount check, causing a warning: + "Warning Referenced::signalObserversAndDelete(,,) doing delete with _refCount=1" - * examples/osgvolume/osgvolume.cpp: Added support for positive - values of --xMultiple --yMultiplier and - --zMultiplier +With a deleted object added to the scenegraph we get some undesired results, I think the program only crashes if the object was a Node, and just has some untextured surfaces if it was a texture, but I'm not completely sure. -2011-02-23 12:13 robert +Attached is a modified version of the Registry.cpp, returning the object in cache and let the duplicate loaded object to be destroyed. - * examples/osgvolume/osgvolume.cpp: Changed the default number of - components for a RGB to 4 so it appears as an RGBA +A more efficient option would be to add some sort of blocking entry to the objectcache to stop the second thread from reading the file, and just wait until the first thread added it to the cache. If you think that's worthwile we would be happy to implement that version. A bit tricky to implement and test, that's why I submit a simple version that stops my program from crashing." -2011-02-23 11:43 robert - * examples/osgvolume/osgvolume.cpp: Added error reporting for old - options -2011-02-23 11:28 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14300 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgvolume/osgvolume.cpp: Added -n option -2011-02-23 10:37 robert +Thu, 26 Jun 2014 11:09:46 +0000 +Checked in by : Robert OSFIELD +Removed erroneous charactergit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14298 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgvolume/osgvolume.cpp: Added extra check for GL_BGR - and GL_BGRA formats and messages describing image format loaded -2011-02-22 14:21 robert +Thu, 26 Jun 2014 10:53:18 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I noticed that Text3D objects would change there z alignment depending on the alignment mode. I'm not sure if this was intentional or just a simple mistake. My expectation was that the front of the object would always stay aligned to the 0 z-plane, regardless of the alignment mode. I've attached an updated version that retains a consistent z-alignment." "I just now noticed another issue with Text3D objects. It was not properly computing the bounding box when non-axis aligned rotations were being applied. In this case all corners of the bounding box need to be transformed in order to get the correct containing box. I've attached the updated file." "The incorrect bounding box problem also applies to regular Text objects. I've attached the fix for that as well as the original Text3D fix."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14296 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgShadow/LightSpacePerspectiveShadowMap.cpp: Added test code - to explore problems with LightSpacePerspectiveShadowMap - implementation handling of different datasets and camera - settings. -2011-02-22 11:59 robert +Thu, 26 Jun 2014 10:45:07 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "For a scene with a lot of animated agents I did some small optimizations to reduce cpu overhead: 1) Avoid a load-hit-store in UpdateBone. b->getMatrixInBoneSpace() returns the same matrix that was just stored with b->setMatrix() 2) Avoid calling element->isIdentity() for the whole transform stack (can be expensive is element is a matrix) 3) Make the key frame interpolator use binary search instead of a linear one. This is very noticeable in scenes where some geometry has long repeating animations that start at the same time, you will see the update time grow then reset and grow again."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14294 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgvolume/osgvolume.cpp: Added support for GL_BGR and - GL_BGRA pixel formats -2011-02-22 10:53 robert +Thu, 26 Jun 2014 10:24:41 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "while debugging ImageSequence I had a crash, due to the very large frametimes caused by halting the program. The problem is that when the frame time exceeds the length of the entire image sequence, a looping sequence will try to read it's _imageDataList beyond its size. fix attached for src/osg/ImageSequence.cpp"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14293 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Changed the handling - of erroneous dicom files so that the loading of a directory of - dicom files is not abondonded when one or more erroneous files - are encountered. -2011-02-21 12:29 robert +Thu, 26 Jun 2014 10:05:53 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "while testing databasepager stuff I noticed that the various loaders (osg/ive/osgx) do not pass the current options to the imagePager, therefore the images cannot be found if not in the global OSG_FILE_PATH. Attached is a fix, containing modified versions ofFrom Robert Osfield, add check to only apply Options object when a valid Option object is assigned. - * src/osgText/Text3D.cpp: Added computePositions() call to - Text3D::resizeGLObjectsBuffers(uint) -2011-02-21 10:02 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14290 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/ive/CMakeLists.txt: Added missing Terrain.h - reference - -2011-02-20 09:57 robert - - * src/osgShadow/LightSpacePerspectiveShadowMap.cpp: Fixed build of - various LiSPSM algorithms -2011-02-20 09:55 robert - - * examples/osgshadow/osgshadow.cpp: Added --fov and --light-pos and - --light-dir command line parameters - -2011-02-18 11:04 mplatings - - * src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRMesh.cpp: Disabled the RGB components of - the opacity texture - -2011-02-14 16:24 robert - - * src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h: - From Philipp Svehla, "We’ve added support for users to override - the default values for child elements in asset tags (for the - collada writer). This support was added for the following child - elements: - - - contributor - - - author - - - authoring_tool - - - comments - - - copyright - - - source_data - - - created - - - keywords - - - modified - - - revision - - - subject - - - title - - - unit - - - name - - - meter - - - up_axis - - - - With this support, users are able to include additional - information in their models. Additionally, tools such as sketchup - that support asset tags use the values appropriately within their - imported models." - -2011-02-14 16:09 robert - - * src/osgPlugins/dxf/scene.cpp, src/osgPlugins/dxf/scene.h: From - Tim Moore, "This patch fixes some performance problems with the - DXF loader. It removes some unnecessary copies of vertex - coordinates (which were causing an exponential explosion). It - also replaces BIND_PER_PRIMITIVE normals with BIND_PER_VERTEX so - that the resulting geometry will be on the fast path." - -2011-02-14 16:05 robert - - * include/osgDB/Options: Added copyop parameter to cloneOptions() - method - -2011-02-14 15:59 robert - - * include/osgDB/Options: From Tim Moore, "The non-virtual - cloneOptions() method, which is now used by DatabasePager, breaks - derived classes of osgDB::Options. This patch uses the clone() - method to clone Options." - -2011-02-14 15:43 robert - - * CMakeModules/FindJasper.cmake: From Sukender, "Here is an minor - update for Jasper finder. It adds debug cache value for - Windows/MSVC builds, and adds search paths." - -2011-02-14 15:04 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.h, - src/osgPlugins/Inventor/ReaderWriterIV.cpp: From Jan Peciva, - "Improvements: - - Use OSG routines to load images instead of simage library - (removes - dependency on 3rdParty simage library). Applies to Coin Inventor - clone only. - " - -2011-02-14 15:01 robert - - * include/osg/Program, src/osg/Program.cpp: Moved ProgramBinary - into osg::Program scope - -2011-02-14 14:16 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeRGeometry.cpp: From Sukender, "Here are two - sumbissions for DAE. - - 1. daeRGeometry.cpp (rev 12132). A tiny sumbission which fixes a - quite important bug: a parameter was forgotten in Collada - ReaderWriter, and texture coordinates could not be loaded - properly. So: - " - Added missing paramter when calling createGeometryData(). Fixes - missing texture coordinates (in "bind_vertex_input"). - " - - 2. ReaderWriterDAE.cpp (rev 12132): - " - Added "baseImageDir" as a plugin string data, in order to - manually specify base directory to use when relativising image - file names. This is used to properly write files, when images are - not located in a subdirectory (like "../images" for some - software). - " - -2011-02-14 13:54 robert - - * src/osgWrappers/serializers/osg/ShaderBinary.cpp: From Johannes - Bauerle, "I experienced problems using binary shaders in osgt - files (=the osg-serializer plugins). At runtime std::bad_alloc - errors were thrown when using binary shaders. - - The reason is that the .osgt text files do not provide size - information about the contained binary shader hence leading to a - bad allocation when reading the shader data, probably size 0 ? - The reader method in the responsible serializer class - (serializers/osg/BinaryShader) is correct and does not need to be - changed as it queries the size as expected. The writer method - supports two paths(binary output .osgb and text output - .osgt/.osgx). Only the text path is affected as the binary path - writes the size. - - I extended the writer in the text path by the size information. - The results before and after the fix are shown below: - - Erroneous code for binary shader in osgt file before fix: - - Data { - 0a - 0d - 0 - ... - } - - Corrected code for binary shader in osgt file after fix: - - Data 524 { - 0a - 0d - 0 - ... - } - - After my fix the the thrown error disappeared." - -2011-02-14 13:50 robert - - * src/osg/Shader.cpp: From Jahannes Bauerle, "l discovered that the - shader class(/src/osg/Shader.cpp) shows wrong behavior when using - binary shaders . When shader objects are compared the reference - pointer behind the _shaderBinary member is not included in the - comparison. - - I included binary shaders into an osgt model file. These shaders - only consists of the binary shader code, I did not supply the - text version additionally. When loading the model the - osg::Optimizer threw away all shaders except the first one. In - the current trunk version of the file two shader objects are - identical despite differing _shaderBinary members as the compare - method of the Shader class does not include the comparison of - that member. - - The fix in this submission adds the check for identity of the - referenced binary shaders to the shader class. - - When comparing two shader objects with text source shaders the - new lines of comparison are not even executed as the comparison - returns false in the previous lines when the text shaders differ. - - With this fix I get expected behavior, the Optimizer handles the - different shaders correctly." - -2011-02-14 12:55 robert - - * src/osg/GraphicsCostEstimator.cpp: Set debug message to INFO - -2011-02-14 12:54 robert - - * include/osg/GL2Extensions, include/osg/Program, - include/osg/StateSet, src/osg/GL2Extensions.cpp, - src/osg/Program.cpp: From Michael Platings, I've added initial - support to osg for glGetProgramBinary and glProgramBinary. This - means that shader programs can now be cached to disk and later - reloaded, which is much faster than linking shaders from source - code. This should mean significantly shorter load times for - people who use lots of combinations of shaders. - -2011-02-14 12:14 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Fixed typo - -2011-02-11 12:11 robert - - * examples/osgshadow/osgshadow.cpp: From Jean-Sebastien Guay, event - handler for controlling the field of view of the viewer's camera - using 0, - and = keys. - -2011-02-11 11:08 robert - - * ChangeLog: Update ChangeLog - -2011-02-11 09:18 robert - - * src/osgGA/NodeTrackerManipulator.cpp: Added check against the - NodePath being empty. - -2011-02-10 14:24 robert - - * src/osgUtil/IncrementalCompileOperation.cpp: Tweak to output - details - -2011-02-10 14:09 robert +Thu, 26 Jun 2014 09:38:56 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I've attached a small fix for the ply loader to support Windows style line endings when reading the header."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14288 16af8721-9629-0410-8352-f15c8da7e697 - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - AUTHORS and Contributors.cpp files -2011-02-10 12:23 robert +Thu, 26 Jun 2014 09:33:56 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, "This submission fix all my problems with reading / writing "osgb" files inside "osga" archive with final archive size > 2 Go, with Windows OS (didn't tested with Linux)"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14287 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/ffmpeg/FFmpegHeaders.hpp: From Martin von Gagern, - build fix for latest ffmpeg changes -2011-02-08 14:36 robert +Wed, 25 Jun 2014 16:05:56 +0000 +Checked in by : Robert OSFIELD +From Riccardo Corsi, "there's an inconsistency between the behavior of the method and the debug message it prints out on the console.Around line 1040 of Registry.cpp (see code below) the method returns +"simpleFileName" but prints about returning "filename". - * src/osg/Texture.cpp: Added const +In attachment the modified file, based on osg 3.2.0 +ricky -2011-02-07 14:19 robert - * include/osg/BufferObject, - include/osgUtil/IncrementalCompileOperation, - src/osg/BufferObject.cpp, src/osg/Texture.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: Implementated - experimental reuse of PBO's after download + +if(fileExists(simpleFileName)) +{ + OSG_DEBUG << "FindFileInPath(" << filename << "): returning " << +filename << std::endl; + return simpleFileName; +} + +" -2011-02-04 12:43 robert - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Added - support for enabling the assignment of PixelBufferObjects to - loaded Images to aid the download of images to the GPU. - Feature can be enabled/disabled (default) by setting the env : - - OSG_ASSIGN_PBO_TO_IMAGES to ON or OFF +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14285 16af8721-9629-0410-8352-f15c8da7e697 -2011-02-04 10:27 robert - * src/osgViewer/GraphicsWindowX11.cpp: Added support for getting - the current screen refresh rate using the XrandR extension. - -2011-02-03 17:07 robert - - * include/osgGA/NodeTrackerManipulator, - src/osgGA/NodeTrackerManipulator.cpp: Refactored - NodeTrackerManipulator to use osg::ObserverNodePath rather than - it's only local equivilant. - -2011-02-03 14:27 robert - - * src/osg/State.cpp: Added call to - GraphicsCostEstimator::calibrate. - -2011-02-03 12:42 robert - - * include/osg/State, include/osgUtil/IncrementalCompileOperation, - src/osg/State.cpp, src/osgUtil/IncrementalCompileOperation.cpp: - Moved GraphicsCostEstimator ref pointer into osg::State - -2011-02-03 12:22 robert - - * examples/osggraphicscost/osggraphicscost.cpp, - include/osg/GraphicsCostEstimator, - include/osgUtil/GraphicsCostEstimator, - include/osgUtil/IncrementalCompileOperation, - src/osg/CMakeLists.txt, src/osg/GraphicsCostEstimator.cpp, - src/osgUtil/CMakeLists.txt, - src/osgUtil/GraphicsCostEstimator.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: Moved - GraphicsCostEstimator from osgUtil into core OSG library - -2011-02-02 17:23 robert - - * examples/osgqfont/osgqfont.cpp: From Jean-Sebastien Guay, build - fix - -2011-02-02 16:44 mplatings - - * src/osgPlugins/fbx/ReaderWriterFBX.h: Updated information about - the FBX SDK version - -2011-02-01 18:12 robert - - * src/osgUtil/MeshOptimizers.cpp: From Sukender, "Vertices in - DOUBLE PRECISION were not handled by Remapper classes. I added - missing virtual methods." - -2011-02-01 12:18 robert - - * src/osgDB/DatabasePager.cpp: Fixed the setting of the Drawable - modes - -2011-02-01 12:18 robert - - * include/osgUtil/IncrementalCompileOperation, - src/osgUtil/GraphicsCostEstimator.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: Added experimental - timing and PBO usage into ICO+GCE classes - -2011-02-01 12:17 robert - - * src/osg/BufferObject.cpp: Fixed bug in PixelBufferObject - constructor for the case when a null Image is passed in to it. - Added extra checks for NULL buffer data. - -2011-01-31 11:40 robert - - * include/osg/ArrayDispatchers, include/osg/AudioStream, - include/osg/BufferIndexBinding, include/osg/ComputeBoundsVisitor, - include/osg/GLBeginEndAdapter, include/osg/GLObjects, - include/osg/Hint, include/osg/ImageSequence, - include/osg/ImageUtils, include/osg/KdTree, - include/osg/MixinVector, include/osg/Observer, - include/osg/ObserverNodePath, include/osg/OcclusionQueryNode, - include/osg/OperationThread, include/osg/ShaderAttribute, - include/osg/ShaderComposer, include/osg/StateAttributeCallback, - include/osg/TemplatePrimitiveFunctor, include/osg/Texture2DArray, - include/osg/Texture2DMultisample, include/osg/TransferFunction, - include/osgAnimation/Action, - include/osgAnimation/ActionAnimation, - include/osgAnimation/ActionBlendIn, - include/osgAnimation/ActionBlendOut, - include/osgAnimation/ActionCallback, - include/osgAnimation/ActionStripAnimation, - include/osgAnimation/ActionVisitor, - include/osgAnimation/Animation, - include/osgAnimation/AnimationManagerBase, - include/osgAnimation/AnimationUpdateCallback, - include/osgAnimation/BasicAnimationManager, - include/osgAnimation/Bone, include/osgAnimation/BoneMapVisitor, - include/osgAnimation/Channel, include/osgAnimation/CubicBezier, - include/osgAnimation/EaseMotion, include/osgAnimation/Export, - include/osgAnimation/FrameAction, - include/osgAnimation/Interpolator, include/osgAnimation/Keyframe, - include/osgAnimation/LinkVisitor, - include/osgAnimation/MorphGeometry, - include/osgAnimation/RigGeometry, - include/osgAnimation/RigTransform, - include/osgAnimation/RigTransformHardware, - include/osgAnimation/RigTransformSoftware, - include/osgAnimation/Sampler, include/osgAnimation/Skeleton, - include/osgAnimation/StackedMatrixElement, - include/osgAnimation/StackedQuaternionElement, - include/osgAnimation/StackedRotateAxisElement, - include/osgAnimation/StackedScaleElement, - include/osgAnimation/StackedTransform, - include/osgAnimation/StackedTransformElement, - include/osgAnimation/StackedTranslateElement, - include/osgAnimation/StatsHandler, - include/osgAnimation/StatsVisitor, include/osgAnimation/Target, - include/osgAnimation/Timeline, - include/osgAnimation/TimelineAnimationManager, - include/osgAnimation/UpdateBone, - include/osgAnimation/UpdateMaterial, - include/osgAnimation/UpdateMatrixTransform, - include/osgAnimation/Vec3Packed, - include/osgAnimation/VertexInfluence, - include/osgDB/AuthenticationMap, include/osgDB/Callbacks, - include/osgDB/ConvertUTF, include/osgDB/DataTypes, - include/osgDB/DatabaseRevisions, include/osgDB/FileCache, - include/osgDB/ImagePager, include/osgDB/ImageProcessor, - include/osgDB/InputStream, include/osgDB/ObjectWrapper, - include/osgDB/Options, include/osgDB/OutputStream, - include/osgDB/PluginQuery, include/osgDB/Serializer, - include/osgDB/StreamOperator, include/osgDB/XmlParser, - include/osgDB/fstream, include/osgFX/Outline, - include/osgFX/Version, include/osgGA/CameraViewSwitchManipulator, - include/osgGA/FirstPersonManipulator, - include/osgGA/MultiTouchTrackballManipulator, - include/osgGA/OrbitManipulator, - include/osgGA/SphericalManipulator, - include/osgGA/StandardManipulator, - include/osgManipulator/TabBoxTrackballDragger, - include/osgManipulator/Version, - include/osgParticle/AngularDampingOperator, - include/osgParticle/BounceOperator, - include/osgParticle/CompositePlacer, - include/osgParticle/DampingOperator, - include/osgParticle/DomainOperator, - include/osgParticle/ExplosionOperator, - include/osgParticle/OrbitOperator, - include/osgParticle/SinkOperator, - include/osgPresentation/AnimationMaterial, - include/osgPresentation/CompileSlideCallback, - include/osgPresentation/Export, - include/osgPresentation/PickEventHandler, - include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, - include/osgQt/Export, include/osgQt/GraphicsWindowQt, - include/osgQt/QFontImplementation, - include/osgQt/QGraphicsViewAdapter, include/osgQt/QWebViewImage, - include/osgQt/QWidgetImage, include/osgShadow/ConvexPolyhedron, - include/osgShadow/DebugShadowMap, - include/osgShadow/LightSpacePerspectiveShadowMap, - include/osgShadow/MinimalCullBoundsShadowMap, - include/osgShadow/MinimalDrawBoundsShadowMap, - include/osgShadow/MinimalShadowMap, - include/osgShadow/ParallelSplitShadowMap, - include/osgShadow/ProjectionShadowMap, - include/osgShadow/SoftShadowMap, - include/osgShadow/StandardShadowMap, - include/osgShadow/ViewDependentShadowTechnique, - include/osgSim/ObjectRecordData, include/osgSim/ShapeAttribute, - include/osgTerrain/GeometryTechnique, include/osgTerrain/Layer, - include/osgTerrain/Locator, include/osgTerrain/Terrain, - include/osgTerrain/ValidDataOperator, include/osgText/Font3D, - include/osgText/Glyph, include/osgText/KerningType, - include/osgText/Style, include/osgText/Text3D, - include/osgText/TextBase, include/osgUtil/ConvertVec, - include/osgUtil/DrawElementTypeSimplifier, - include/osgUtil/EdgeCollector, - include/osgUtil/GraphicsCostEstimator, - include/osgUtil/IncrementalCompileOperation, - include/osgUtil/MeshOptimizers, - include/osgUtil/OperationArrayFunctor, - include/osgUtil/PrintVisitor, - include/osgUtil/ReversePrimitiveFunctor, - include/osgUtil/SceneGraphBuilder, include/osgUtil/ShaderGen: - Ran: - svn propset svn:eol-style native include/*/* - svn propset svn:keywords "Author Date Id Revision" include/*/* - -2011-01-31 11:35 robert - - * include/OpenThreads/Atomic, include/OpenThreads/Block, - include/OpenThreads/ReadWriteMutex, - include/OpenThreads/ReentrantMutex, include/OpenThreads/Version: - svn propset svn:keywords "Author Date Id Revision" - include/OpenThreads/* - -2011-01-31 10:41 robert - - * include/OpenThreads/Atomic, include/OpenThreads/Block, - include/OpenThreads/ReadWriteMutex, - include/OpenThreads/ReentrantMutex, include/OpenThreads/Version: - Set eol-style to native. - -2011-01-28 14:24 robert - - * src/osgUtil/IncrementalCompileOperation.cpp: Temporarily disabled - the cost estimate code for the 2.9.11 release - -2011-01-28 13:54 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: From Ulrich Hertlein, "I - adapted the Cocoa implementation so that it reports the - unmodified key - and the modified key as requested. Can other OS X developers - please test - the attached file, to make sure it works for everybody? - - I fixed the problem with the caps-lock-key, too." - -2011-01-28 12:34 robert - - * src/osgText/DefaultFont.cpp: Fixed size of default font - -2011-01-28 11:07 robert - - * src/osgPlugins/dae/daeWriter.cpp, - src/osgPlugins/pfb/ConvertFromPerformer.cpp: From Per Fahlberg, - warning fixes - -2011-01-28 10:59 robert - - * examples/CMakeLists.txt, examples/osgqfont, - examples/osgqfont/CMakeLists.txt, examples/osgqfont/osgqfont.cpp: - From Mathias Froehlich, "Driven by the last qfontimplementation - changes, I realized, that I never - contributed my testcase/demo for the original implementation. - This attached change is similar to osgtext but uses the - QFontImplementation in - a Qt based viewer. - With that, it should be easier for all of us to test changes in - qfontimplementation" - -2011-01-28 10:53 robert - - * src/osgPlugins/dae/domSourceReader.h: From Ulrich Hertlien, "the - changes from r12126 (see below) in dae/domSourceReader.h cause - compiler errors on OS X - with gcc-4.2.1: - - In file included from - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/daeRAnimations.cpp:3: - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:43: - error: - explicit specialization in non-namespace scope 'class - osgDAE::domSourceReader' - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:45: - error: - explicit specialization in non-namespace scope 'class - osgDAE::domSourceReader' - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:47: - error: - explicit specialization in non-namespace scope 'class - osgDAE::domSourceReader' - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:49: - error: - explicit specialization in non-namespace scope 'class - osgDAE::domSourceReader' - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:51: - error: - explicit specialization in non-namespace scope 'class - osgDAE::domSourceReader' - ... - - The attached file fixes this." - -2011-01-28 10:50 robert - - * examples/osganalysis/osganalysis.cpp, - include/osgViewer/api/IOS/GraphicsWindowIOS: From Mourad - Boufarguine, "This is a tiny fix for some typos in osg code." - -2011-01-27 18:49 robert - - * src/osgQt/GraphicsWindowQt.cpp: From Andreas Roth, "simple fix to - support quad buffer stereo in osgQt" - -2011-01-27 17:14 robert - - * src/osgWidget/Window.cpp: From Eric Buehler, "I believe that the - osgWidget::Window::HA_CENTER alignment should be center aligned - rather than by the origin, as the osgWidget::Window::VA_TOP - causes. - - The current setAnchorHorizontal() command doesn't center the - center of the object, it just center's the object's origin. The - following change to osgWidget::Window::update() will correct that - behavior so that it is consistent with setAnchorVertical() - behavior. - " - -2011-01-27 17:12 robert - - * src/osgDB/FileNameUtils.cpp, - src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/domSourceReader.h: From Sukender, "I found the - bug I was chasing! Here is my "twin" submission, from latest - trunk rev: 12124. - - 1. DAE submission: - DAE plugin now correctly writes images URI in Collada file, when - images are used twice. - I also greatly improved readability and maintenability of - geometry reading (mainly daeRGeometry.cpp), by factorizing code, - templatizing it (for double/single precision), and removing ugly - macros. - - 2. osgDB submission: - I updated osgDB::getPathRelative(): it is now far more readable, - it handles more cases (especially when you want to relativise - "a/c" from "a/b", which results in "../c"), and I added comments - to make it clearer to maintain." - -2011-01-27 16:23 robert - - * examples/osgkeyboard/osgkeyboard.cpp, include/osgGA/EventQueue, - include/osgGA/GUIEventAdapter, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/X11/GraphicsWindowX11, - src/osgGA/EventQueue.cpp, src/osgGA/GUIEventAdapter.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: From Alexander Sinditskiy, - "reason of this changes described in - http://forum.openscenegraph.org/viewtopic.php?t=7596 - - and another problem is: - example osgkeyboard is not work (keys not highlight) if user have - 2 keyboard layout native and english and current user layout is - native - - I try to explain my changes - - we need something that is identify key without modifier keys and - layout -> this is UnmodifedKey - - I think osg must have its own UnmodifiedKeys table. Code must be - run same on different platforms. This can de guaranteed by - UnmodifiedKeys table. - - Mikhail Izmestev helped me. He implemented VirtualKey changes in - GraphicsWindowX11" - -2011-01-27 09:41 robert - - * examples/osgviewerIPhone/iphoneViewerAppDelegate.h, - examples/osgviewerIPhone/iphoneViewerAppDelegate.mm, - examples/osgviewerIPhone/main.m, - examples/osgviewerIPhone/osgIPhoneViewer-Info.plist, - examples/osgviewerIPhone/osgPlugins.h: Removed the executable - property from source files - -2011-01-26 18:47 robert - - * include/osgUtil/GraphicsCostEstimator, - src/osgUtil/GraphicsCostEstimator.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: Implement first pass - at texture compile estimation - -2011-01-26 16:47 robert - - * include/osgUtil/IncrementalCompileOperation, - src/osgUtil/IncrementalCompileOperation.cpp: Replaced - CompileStats with GraphicsCostEstimator - -2011-01-26 16:46 robert - - * src/osg/glu/libutil/mipmap.cpp: From Mourad Biyfarguine, "This is - a fix to some 'potentially uninitialized local variable' warnings - in src/osg/glu/libutil/mipmap.cpp." - -2011-01-26 16:45 robert - - * include/osgDB/StreamOperator, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/XmlStreamOperator.h: From Mathias Froehlich, - build fix for Solaris - -2011-01-26 16:10 robert - - * src/osgQt/QFontImplementation.cpp: From Wang Rui, "I've found a - problem when using QFont (osgQt/QFontImplementation.cpp) - to read fonts: only the first character of a whole text is - correctly - shown and others are disappeared. I haven't got into the font - implementation so can't explain why this happened and how it - should - work under other platforms, but it seems to be fixed by - specifying - width and height of the glyph object. The source file is attached - for - future developments. At present it just works for my own project. - :-) - " - -2011-01-26 12:51 robert - - * examples/osggraphicscost/osggraphicscost.cpp, - include/osgUtil/GraphicsCostEstimator, - src/osgUtil/CMakeLists.txt, - src/osgUtil/GraphicsCostEstimator.cpp: Moved - GraphicsCostEstimator into osgUtil. - -2011-01-26 12:07 robert - - * examples/osggraphicscost/osggraphicscost.cpp: Implemented first - pass at geometry cost estimation. - -2011-01-25 16:48 robert - - * src/osgPlugins/fbx/WriterCompareTriangle.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp, - src/osgPlugins/fbx/fbxReader.h: Fixed warnings - -2011-01-25 11:11 robert - - * examples/osggraphicscost/osggraphicscost.cpp: Further work on - GraphicsCostEstimator classes - -2011-01-24 21:12 robert - - * include/osg/BufferObject, src/osgDB/DatabasePager.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/XmlStreamOperator.h, - src/osgViewer/CMakeLists.txt: From Mathias Froehlich, build fixes - -2011-01-24 20:45 robert - - * examples/CMakeLists.txt, examples/osggraphicscost, - examples/osggraphicscost/CMakeLists.txt, - examples/osggraphicscost/osggraphicscost.cpp: Added - osggraphicscost example as a base of for developing and testing - the new osgUtil::GraphicsCostEsimator class. - -2011-01-24 11:45 cedricpinson - - * src/osgAnimation/Animation.cpp: From Michael Platings, Fix - animation duration when adding channel to animation - -2011-01-21 14:11 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp: Added #include to fix - build - -2011-01-21 13:40 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dae/daeWAnimations.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h: - From Sukender, " - DAE plugin was linking ORIGINAL images in the Collada file, using - image->getName() as a path (even if images were modified in - memory!). As the behaviour was not the one of other plugins (3DS, - FBX, and such), I made the plugin relativise images filenames (as - those plugins) and write the image which is in memory. However, - in order to avoid removing features, I kept the previous - behaviour but moved it in an option. Here are the options of the - plugin I changed: - - daeForceTexture was unclear in this new context and removed in - favor of two new options - - daeLinkOriginalTexturesNoForce: Writes reference to the - original image if found, instead of writing the image in memory - - daeLinkOriginalTexturesForce: Writes reference to the original - image even if not found, instead of writing the image in memory - Of course, if you specify no option, images are written as for - other plugins. - - Other thing I changed is the UTF8 support as I told you in a - previous conversation. Now there is a simple option, - "daeNamesUseCodepage", which makes all names except filenames - (materials, animation, geometries...) be considered as encoded - using current codepage. If so, they'll be converted to UTF8 when - writing; else they are written directly. Of course, filenames - follow OSG_USE_UTF8_FILENAME as usual. - - I did " - -2011-01-21 12:17 mplatings - - * src/osgPlugins/fbx/WriterNodeVisitor.cpp: From Sukender: I had to - call code from the FBX plugin (to relativise paths). I thus - extracted it from FBX and moved it in osgDB (FileNameUtils) - -2011-01-21 11:46 robert - - * include/osgDB/FileNameUtils, src/osgDB/FileNameUtils.cpp: From - Sukender, getPathRelative() method. - -2011-01-20 12:34 robert - - * include/osgDB/DatabasePager: Added export to see if it address - Mingw link problems - -2011-01-20 12:32 robert - - * include/osg/OperationThread, src/osg/OperationThread.cpp: From - Matthew Johnson-Roberson, "Small fix for operation thread to - protect the access to _operations vector by functions - getNumOperationsInQueue() and empty(). It is simply an addition - of OpenThreads::ScopedLock - lock(_operationsMutex); - to protect against accessing while writing which was segfaulting - in VPB - specifically in void ThreadPool::run(osg::Operation* op) - in the waiting loop - - while (_operationQueue->getNumOperationsInQueue() >= - _maxNumberOfOperationsInQueue) - " - -2011-01-20 12:27 robert - - * include/osgDB/ImageProcessor: From Per Fahlberg, warning fixes - -2011-01-20 12:23 robert - - * src/osgPlugins/ply/vertexData.cpp, - src/osgPlugins/ply/vertexData.h: From Simon Julier, "I have been - using the ply plugin to read files created by bundler and pmvs2 - (http://grail.cs.washington.edu/software/pmvs/). This program - generates models in the form of vertices only. However, the - existing ply reader implementation was not able to handle the - models generated in a satisfactory manner for two reasons: - - 1. It did not support normals applied to individual vertices. - 2. It would only support red / green / blue colour triples, but - the pmvs models are generated with diffuse colours. (The PLY - format, http://local.wasp.uwa.edu.au/~pbourke/dataformats/ply/, - lists specular and ambient colour forms as well.) - - To partially overcome these limitations, please find attached - modified versions of - - src/osgPlugins/ply/vertexData.cpp - src/osgPlugins/ply/vertexData.h - - The changes I've made are: - - 1. I have changed the boolean hasColor flag to a vertexField - (which is a boolean operation on an enum) to indicate what fields - are present in the ply file. (This is required because Turk's ply - reader spits out warnings for every line where you try to read - fields which do not exist.) - 2. I have modified the code to apply valid normals to either - triangles or vertices. - 3. I have kludged in "support" for the various colour variants. - Specifically, all the colour specified can be read from the file. - However, they are all applied in the same way (namely as a colour - array, bound to each vertex)." - -2011-01-19 10:57 robert - - * CMakeModules/FindOpenEXR.cmake, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/exr/CMakeLists.txt: From Simon Julier, "I ran - across linking errors with osgdb_exr. Specifically, I found it - was necessary to link against libImlIlf, libImlThread, libHalf, - libIex and libzip. - - I have attached a patch, against the trunk from 13:30 today, - which consists of the following: - - 1. CMakeModules/FindOpenEXR.cmake: Look for libIlmThread and - libIex as well. 2. src/osgPlugins/CMakeList.txt: Only include the - exr subdirectory if both the OpenEXR and zip libraries were - found. 3. src/osgPlugins/exr/CMakeLists.txt: Add ZIP_LIBRARY to - TARGET_EXTERNAL_LIBRARIES." - -2011-01-19 10:38 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h: From Sukender, normalized - option names - -2011-01-19 10:31 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRSkinning.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h, - src/osgPlugins/dae/domSourceReader.cpp, - src/osgPlugins/dae/domSourceReader.h: From Sukender, "Added - ability for writer to read from Vec3/4d/f. Plugin now warns if it - finds another type of data" - -2011-01-19 09:53 robert - - * src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWTransforms.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h: - From Sukender, "Factorized the depth loop ("while ( lastDepth >= - _nodePath.size() )...") into a method called - updateCurrentDaeNode(). Added missing calls into - apply(osg::LightSource &) and daeWriter::apply(osg::Camera &) and - daeWriter::apply(osg::CameraView &)" - -2011-01-19 09:36 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp: From Sukender, "Fixed - ReaderWriterDAE::ConvertFilePathToColladaCompatibleURI(): It now - handles paths containing '#' character as expected." - -2011-01-19 09:34 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h: From Sukender and Robert - Osfield, clean up of options - -2011-01-18 16:14 robert - - * include/osgDB/OutputStream: From Michael Platings, "I've attached - a fix for a subtle bug that causes animations (and quite possibly - other things) to be serialized incorrectly. - - For the following code: - - #define MYMACRO(NAME) myOutputStream << #NAME; - MYMACRO(Group) - - you would expect that "Group" would be output. However, as there - are many overloaded operator<< functions, none of which take a - const char* argument, the function that's actually called is - operator<<(bool). Hence what actually gets output is "TRUE". - An actual example of this is in - serializers\osgAnimation\Animation.cpp, WRITE_CHANNEL_FUNC2. - - So the simple solution to this is to add operator<<(const char*), - attached. - " - -2011-01-18 15:00 robert - - * src/osgViewer/ViewerEventHandlers.cpp: Moved the StateSet query - and texcoord settings to within the if (vertices) block to avoid - an attempt to dereferences geometry->getStateSet() when non - Geometry drawable is intersected. - -2011-01-18 11:20 robert - - * src/osgUtil/IncrementalCompileOperation.cpp: Fixed CompileSet so - it returns true when there is nothing to compile at all. - -2011-01-18 09:54 robert - - * src/osgDB/DatabasePager.cpp: Build fix - -2011-01-17 17:17 robert - - * include/osgUtil/IncrementalCompileOperation, - src/osgDB/DatabasePager.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: Implemented better - coupling of DatabasePager and IcrementalCompileOperation, - removing functional duplication and opening the door to dynamic - enabling/disabling - of pre compile based on load. - -2011-01-17 09:10 robert - - * include/osg/StateSet: Added getNum methods - -2011-01-15 18:12 robert - - * examples/osganalysis/osganalysis.cpp: First steps on the path to - integrating ImageProcessor - -2011-01-14 14:30 robert - - * src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: From Guy - Volckaert, "Changes to the openflight plugin to support replacing - double sided polygons by 2 opposite facing polygons. This is - sometimes required to resolved lighting and intersection issues. - A new import option was was added to activate this feature called - "replaceDoubleSidedPolys". - - -2011-01-14 13:31 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Sukender, "- Lowered - one notify level (it's now coherent with the "if" just above)" - -2011-01-14 12:08 robert - - * examples/osgmanipulator/osgmanipulator.cpp: From Wang Rui, "I'd - like to submit a small new feature to the osgmanipulator example - which could fix the dragger size in screen, so that no matter how - we - zoom in/out the camera, the dragger will never be scaled. - - This is what 3D graphics software like 3dsmax and maya behave, - which - helps users select and manipulate draggers more easily. - - You may turn on the feature with the new --fixedDraggerSize - argument: - - # osgmanipulator.exe --fixedDraggerSize --dragger - TranslateAxisDragger - cessna.osg - " - -2011-01-14 12:03 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Sukender, "TIFF - plugin now outputs messages coming from libtiff. - " - -2011-01-14 11:49 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Sukender, "Small - submission: - 3DS reader now takes care to not create Texture2D - duplicates" - -2011-01-14 11:46 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h: Fixed for build with non - autoatic ref_ptr<> to C pointer conversion - -2011-01-14 11:00 robert - - * include/osgDB/InputStream, src/osgDB/InputStream.cpp, - src/osgWrappers/serializers/osgTerrain/ImageLayer.cpp: From Brad - Christiansen, "Attached is a fix which implements the lazy - loading of optional layers (if requested) in the new osgb/osgt - formats." - -2011-01-13 18:49 robert - - * CMakeLists.txt, include/osg/Version: Updated so version number - -2011-01-13 18:05 robert - - * src/osgDB/CMakeLists.txt: From Tim Moore, added missing - ImageProcessor header reference - -2011-01-13 14:59 robert - - * CMakeLists.txt, CMakeModules/FindNVTT.cmake, - include/osgDB/ImageProcessor, include/osgDB/Registry, - src/osgDB/Registry.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/nvtt, src/osgPlugins/nvtt/CMakeLists.txt, - src/osgPlugins/nvtt/NVTTImageProcessor.cpp: Added ImageProcessor - interface class and plugin mechnanism for ImageProcessor - implementations to osgDB::Registry. - - Add NVidiaTextureTools based plugin that provides an - ImageProcessor implementation within an nvtt plugin. - -2011-01-12 19:29 robert - - * examples/osgposter/PosterPrinter.cpp, include/osg/Node, - include/osg/NodeVisitor, include/osgDB/DatabasePager, - include/osgDB/InputStream, include/osgDB/Options, - include/osgTerrain/Terrain, src/osg/PagedLOD.cpp, - src/osg/ProxyNode.cpp, src/osgDB/DatabasePager.cpp, - src/osgDB/Options.cpp, src/osgPlugins/ive/TerrainTile.cpp, - src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/TerrainTile.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp: - Refactored the way that the DatabasePager passes the Terrain - decorator node onto the TerrainTile. - - The DatabasePager now passes the Terrain pointer into the - ReaderWriter's via osgDB::Options object, - rather than pushing a NodePath containing the Terrain onto - NodeVisitor. This - change means that the DatabasePager nolonger needs to observer - the whole NodePath and - will be lighter and quicker for it. - - The change also means that ReadFileCallback can now run custom - NodeVisitor's on the scene graph without - having to worry about TerrainTile's constructing scene graphs - prior to the Terrain being assigned. - - Also changed is the NodeVisitor::DatabaseRequestHandler which now - requires a NodePath to the node that you wish - to add to rather than just the pointer to the node you wish to - add to. This is more robust when handling scenes - with multiple parental paths, whereas previously errors could - have occurred due to the default of picking the first - available parental path. This change means that subclasses of - DatabasePager will need to be updated to use this new - function entry point. - -2011-01-12 17:39 robert - - * include/osgViewer/api/X11/GraphicsWindowX11: Fixed comment - -2011-01-11 17:29 robert - - * src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h: From Sukender, "FBX - plugin did not relay the osgDB::ReaderWriter::Options* when - writing images (the writeImage() call). Now it does." - -2011-01-11 17:29 robert - - * src/osgPlugins/fbx/WriterCompareTriangle.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.h, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxReader.h: - Changed dos endings to unix line endings - -2011-01-11 17:23 robert - - * src/osgManipulator/AntiSquish.cpp: From Mikhail Izmestev, - "Current osgManipulator::AntiSquishCallback stops update - traversal of childrens." - -2011-01-11 17:20 robert - - * include/osgGA/StandardManipulator: From Wojciech Lewandowski, "We - encountered a problem when we tried overloading - StandardManipulator class. Linker was unable to find - StandardManipulator::AnimationData methods. Prefixing - AnimationData with OSGGA_EXPORT removed the issue. - - Fixed header is attached." - -2011-01-11 17:18 robert - - * include/osg/State: From Chris Hanson, "As an extension to this - excellent work: - http://forum.openscenegraph.org/viewtopic.php?t=7285 - - This file adds the same string API wrapper to the State object - for other older apps that - track Uniforms by string. The original comment about performance - is preserved." - -2011-01-11 17:05 robert - - * src/osg/State.cpp: Changed debug messages to INFO - -2011-01-11 17:04 robert - - * src/osg/State.cpp: From Glenn Waldron, "Attached is a fix to - State::convertVertexShaderSourceToOsgBuiltIns. The method was - incorrectly inserting new declarations before a GLSL "#version" - directive, which must always be the first line in a shader. This - patch detects the #version directive and ensures that new - declarations are inserted after it. - - Attached is the modified State.cpp file. - - I have also attached a sample transcript, showing the new code - working properly. I ran it against osgEarth's shaders and it - works as expected. - - " - -2011-01-11 16:58 robert - - * include/osgViewer/Renderer, src/osgViewer/Renderer.cpp: From Tim - Moore, "This patch fixes a race condition in - Renderer::ThreadSafeQueue that was causing some notifications of - available SceneView objects to be missed. I saw a very noticeable - performance problem (60 fps -> 8 fps) in DrawThreadPerContext - mode in an osgEarth application before this patch. I had high - hopes that this change might fix the much-discussed multiple GPU - problem; no such luck, but I think the root cause of that is - probably a similar threading issue." - -2011-01-11 16:18 robert - - * src/osgPlugins/3ds/lib3ds/lib3ds_io.c: From Guy Volckaert, - warning fixes - -2011-01-11 11:39 robert - - * examples/osgtext3D/TextNode.cpp, - examples/osgtext3D/osgtext3D.cpp: Added more flexible testing of - Text3D - -2011-01-11 11:39 robert - - * include/osgText/Glyph, include/osgText/Text, - include/osgText/TextBase, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, src/osgText/Glyph.cpp, - src/osgText/Text.cpp, src/osgText/Text3D.cpp, - src/osgText/TextBase.cpp: Unified more of the 2D and 3D text - setup, fixed bugs in Text3D setup - which address the problems of black 3D text and the kerning - causing problems with font positioning. - -2011-01-10 13:28 robert - - * src/osg/ApplicationUsage.cpp: Improved the handling of - application argument output when the options are very long. - -2011-01-05 11:43 robert - - * src/osgText/GlyphGeometry.cpp: Added check for invalid face size - to prevent a crash - -2011-01-04 10:21 robert - - * src/osg/Geometry.cpp: Added extra checks to - osg::Geometry::verifyArrays(std::ostream&) - -2011-01-03 19:41 robert - - * applications/osgfilecache/osgfilecache.cpp, include/osg/Geometry, - src/osg/Geometry.cpp: Added - osg::Geometry::verifyArray(std::ostream&) method to enable checks - to be done on osg::Geometry to see if the arrays - are big enough to handle the primitives used in the geometry. - - Added usage of verifyArray into osgfilecache so that it reports - any problems on reading files in paged database. - -2010-12-24 19:47 robert - - * src/osgWidget/Input.cpp: Added iterator include - -2010-12-24 19:19 robert - - * include/osgUtil/IncrementalCompileOperation, - src/osgUtil/IncrementalCompileOperation.cpp: Refactored - IncrementalCompileOperation to make it more flexible. - -2010-12-23 13:11 robert - - * src/osg/NodeVisitor.cpp, src/osgDB/DatabasePager.cpp, - src/osgPlugins/3ds/lib3ds/lib3ds_track.c: Fixed warnings - -2010-12-23 10:45 robert - - * src/OpenThreads/win32/Makefile, - src/OpenThreads/win32/OpenThreads.mak: Deleted old makefile files - that are no longer required now we have CMake - -2010-12-23 10:07 robert - - * CMakeModules/FindCOLLADA.cmake: From Per Fahlberg, "The - FindCOLLADA.cmake module failed to find the static libs for the - latest collada dom, attached is the fixed file." - -2010-12-23 10:05 robert - - * src/OpenThreads/win32/CMakeLists.txt, - src/OpenThreads/win32/OpenThreads.mak, - src/OpenThreads/win32/Win32Condition.h: From Ulrich Hertlein - (applied by Robert Osfield), "OpenThreads/win32/Win32Condition.h - is not used anymore and could be removed from the - repository and win32/OpenThreads.mak and win32/CMakeLists.txt." - -2010-12-23 09:59 robert - - * examples/osgterrain/osgterrain.cpp: From Jean-Sebastien, "In my - auto-build today there are 3 errors caused by using a ref_ptr - in a function taking a T* when building without the implicit - conversion." - -2010-12-22 20:11 robert - - * CMakeLists.txt, - examples/osganimationmakepath/osganimationmakepath.cpp, - examples/osganimationnode/osganimationnode.cpp, - examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - examples/osgposter/PosterPrinter.cpp, - examples/osgposter/PosterPrinter.h, - examples/osguserstats/osguserstats.cpp, - include/osg/DeleteHandler, include/osg/FrameStamp, - include/osg/NodeVisitor, include/osg/OcclusionQueryNode, - include/osg/PagedLOD, include/osg/Stats, include/osg/Version, - include/osgDB/DatabasePager, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/ParticleSystemUpdater, - include/osgPresentation/CompileSlideCallback, - include/osgQt/QGraphicsViewAdapter, include/osgSim/DOFTransform, - include/osgSim/ImpostorSprite, include/osgUtil/TransformCallback, - include/osgViewer/Renderer, src/osg/DeleteHandler.cpp, - src/osg/OcclusionQueryNode.cpp, src/osg/PagedLOD.cpp, - src/osg/Stats.cpp, src/osgAnimation/StatsHandler.cpp, - src/osgDB/DatabasePager.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgPlugins/Inventor/PendulumCallback.cpp, - src/osgPlugins/Inventor/PendulumCallback.h, - src/osgPlugins/Inventor/ShuttleCallback.cpp, - src/osgPlugins/Inventor/ShuttleCallback.h, - src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgQt/QGraphicsViewAdapter.cpp, src/osgSim/DOFTransform.cpp, - src/osgSim/ImpostorSprite.cpp, src/osgText/Text.cpp, - src/osgUtil/SceneView.cpp, src/osgUtil/TransformCallback.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/Viewer.cpp, - src/osgViewer/ViewerBase.cpp, - src/osgWrappers/serializers/osg/OcclusionQueryNode.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp: Converted - FrameStamp::g/setFrameNumber from int to uint - -2010-12-21 12:54 robert - - * src/osgDB/DatabasePager.cpp: From Tim Moore, Dereference the - databaseRequest while the queue is locked. This prevents the - request from being - deleted at an unpredictable time within - addLoadedDataToSceneGraph. - -2010-12-21 12:51 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Introduced a local - reference to the appropriate EasyCurl object to avoid seperate - getEasyCurl() incurring a mutex lock overhead. - -2010-12-21 10:23 robert - - * src/OpenThreads/pthreads/PThread.c++: Improved indentation to - make it more readable and consistent with OSG. - -2010-12-21 09:36 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Cleaned - up the frame number increment. - -2010-12-21 09:12 robert - - * src/osgPlugins/OpenFlight/expGeometryRecords.cpp: From Paul - Martz, Fix for "in expGeometryRecords.cpp lines 813-820, we write - the UV list data incorrectly. According to the FLT spec, the data - should be grouped per-vertex, not per-layer. - - We should have: - UV for vertex 0, layer 1 - UV for vertex 0, layer 2 - UV for vertex 1, layer 1 - UV for vertex 1, layer 2 - ...etc... - - Instead, we have this: - UV for vertex 0, layer 1 - UV for vertex 1, layer 1 - ...etc... - UV for vertex 0, layer 2 - UV for vertex 1, layer 2 - ...etc..." - -2010-12-20 17:04 robert - - * src/osgUtil/CullVisitor.cpp: From Andy Skinner, "In this file - I’ve changed TriangleFunctor to TemplatePrimitiveFunctor, and - added operator() methods for: - - · points (just look at points in frustum) - - · lines (simple line clip—replace the external point) - - · quadrilaterals (call operator() for triangles twice)" - -2010-12-20 16:23 robert - - * src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp: From Andy - Skinner, "We use a shared array for our OpenSceneGraph arrays, - and the existing (deprecated) OSG plugin casts the Array to - IntArray and FloatArray and the like. Because our arrays don’t - use FloatArray, this crashes for us. - - - - Attached is src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp. - It gets the data pointer out and casts it to a pointer to the - element type, rather than casting the array object itself. This - seems to work." - -2010-12-20 12:17 robert - - * include/osg/GL: Moved the GL3 include to within the code block - that handles GL1/GL2 - -2010-12-20 12:03 robert - - * examples/osganimationmorph/osganimationmorph.cpp: Fixed memory - leak by introducing use of ref_ptr<> - -2010-12-20 12:02 robert - - * examples/osganimationmorph/osganimationmorph.cpp: From Kim - Seokhwan, "Error fix in - example/osganimationmorph/osganimationmorph.cpp - - in this file, - function, - osg::Geometry* getShape(const std::string& name) - (line 51) - - tries to use null pointer when model is not provided. - I added simple comment in attached file." +Wed, 25 Jun 2014 15:55:21 +0000 +Checked in by : Robert OSFIELD +From Auelien Albert, "I'm working on an application which use 3ds file format as input and use the name of the material to "map" specific data with 3d geometry.The osg 3ds plugin modify the exported materials name in the same way it modifies the node names. -2010-12-20 10:49 robert +I've added an option to preserve originals materials names, with the assurance of unique material names are preserved." - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPArchive.cpp: From Trajce Nikolov, Fixes to - avoid cracks in older archives, tested with archives 2.0, 2.1, - 2.2 . -2010-12-19 13:25 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14283 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/txp/TXPNode.cpp, - src/osgPlugins/txp/TileMapper.cpp, - src/osgPlugins/txp/TileMapper.h: From Trajce Nicklov, "I went - thru the TileMapper today very carefuly and I remove all the - tileStack approach - it made everything simplier and I think more - proper. Cleaned the code as well. It was tested on huge archive - with many lods as well with variable lods. Fix attached." -2010-12-17 13:43 robert - - * src/osg/BufferObject.cpp, src/osg/Texture.cpp: From Tim Moore, - fix for race conditions in takeOrGenerate() methods - -2010-12-17 11:46 robert - - * src/osg/glu/libtess/normal.cpp, src/osg/glu/libtess/tess.h, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/vrml/ConvertToVRML.cpp: Fixed warnings - -2010-12-17 11:19 robert - - * applications/osgviewer/osgviewer.cpp: Added --speed - command line parameter to osgviewer to enable control of the - speed that animation paths are played back at. - -2010-12-17 10:59 robert - - * src/osg/BufferObject.cpp, src/osg/Texture.cpp: Fixed the - GLBufferObjectSet::deleteAllGLBufferObjets() and - TextureObjectSet::deletaAllTextureObjects() methods - and improved the checkConsistency() usage so it's now possible to - switch if off completed from being compiled in. - -2010-12-15 19:44 robert - - * include/osg/Texture, src/osg/BufferObject.cpp, - src/osg/Texture.cpp: Fixed the size computation +Wed, 25 Jun 2014 15:47:59 +0000 +Checked in by : Robert OSFIELD +Refactored the way that hole are pruned from the occluder hole list.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14282 16af8721-9629-0410-8352-f15c8da7e697 -2010-12-15 16:30 robert - * include/osg/Texture: Removed no longer used static member - variables +Wed, 25 Jun 2014 11:07:59 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "a minor patch for osgconv to make sure the helptext is printed if you run "osgconv -h" with OSG_NOTIFY_LEVEL set too low. applys to both trunk and stable branch."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14280 16af8721-9629-0410-8352-f15c8da7e697 -2010-12-15 12:34 robert - * src/osg/BufferObject.cpp, src/osg/Texture.cpp: Improvements to - GLBufferObject and TextureObject pools +Wed, 25 Jun 2014 10:45:18 +0000 +Checked in by : Robert OSFIELD +From Mikhail Izmestev, "Attached fix to avoid vector usage in StateGraph::prune and reduce heap allocations."Notes from Robert Osfield, ammended the erase so that it explictly increments the iterator before the erase call. -2010-12-14 20:22 robert - * src/osg/BufferObject.cpp, src/osg/Texture.cpp: Added report of - ration of current size to max target size for buffer. +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14277 16af8721-9629-0410-8352-f15c8da7e697 -2010-12-14 20:07 robert - * examples/osganalysis/osganalysis.cpp: Added --speed option and - output of buffer object and texture object pool stats at the end - of the animation path. +Wed, 25 Jun 2014 09:58:49 +0000 +Checked in by : Robert OSFIELD +changed debug message to use OSG_DEBUGgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14276 16af8721-9629-0410-8352-f15c8da7e697 -2010-12-14 20:07 robert - * include/osgGA/AnimationPathManipulator, - src/osgGA/AnimationPathManipulator.cpp: Added - AnimationCompletedCallback, s/getTimeScale and s/getTimeOffset() - method to enable finer control of AnimationPathManipulator. +Wed, 25 Jun 2014 09:57:36 +0000 +Checked in by : Robert OSFIELD +From Alexander Sinditskiy, "My changes added support for gltexstorrage2d for texture2d.Initially I described issue in message: +http://forum.openscenegraph.org/viewtopic.php?t=13820 +It solves issue with compiling texture using ico from image with mipmaps -2010-12-14 19:29 robert +I added enviroment variable OSG_GL_TEXTURE_STORAGE_ENABLE to control usage of glTexStorage2d. Initially it is disabled. - * examples/osganalysis/osganalysis.cpp, include/osg/BufferObject, - include/osg/Texture, src/osg/BufferObject.cpp, - src/osg/Texture.cpp: Added methods for checking sizes of various - buffer object/texture object pool sizes. +It used only if image have mipmaps. -2010-12-14 15:28 robert +Another issue is converting from internalFormat + type to sized internal format. I created sizedInternalFormats[] struct where sized internal formats are ordered from worse->best. +also this struct have commented lines. Commented formats are listed in +http://www.opengl.org/wiki/GLAPI/glTexStorage2D +but looks like not using in osg." - * include/osg/Texture, src/osg/Texture.cpp, - src/osgDB/DatabasePager.cpp: Removed redundent - MinimumNumberOfTextureObjectsToRetainInCache static variable +Note from Robert Osfield. Changed the env var control to OSG_GL_TEXTURE_STORAGE and made it's value true by default when the feature is supported by the OpenGL driver. To disable to +use of glTexStorage2D use OSG_GL_TEXTURE_STORAGE="OFF" or "DISABLE" -2010-12-14 14:32 robert - * examples/osganalysis/osganalysis.cpp: Improved the parsing of - output filename -2010-12-14 13:43 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14275 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osganalysis/osganalysis.cpp: Added - GLBufferObjectManager::reportStats() -2010-12-14 10:42 robert +Wed, 25 Jun 2014 08:21:13 +0000 +Checked in by : Robert OSFIELD +From Björn Blissing, "I found a minor error in documentation in include/osg/Math. Function: absolute() had the same description as the function minimum()I removed the erroneous text." - * CMakeModules/OsgCPack.cmake, - CMakeModules/OsgCPackConfig.cmake.in: From Alan Dickenson, "I - modified the CPack CMake files to provide the ability to easily - create packages of the OpenSceneGraph components. - - I modified the OsgCPackConfig.cmake.in and OsgCPack.cmake files - to expose access to select the package generator mechanism - through cmake CPACK_GENERATOR option. The user can specify the - type of package generator (i.e. rpms. deb, NSIS, tar, zip, etc) - that they would like to use from the CPack supported - packages/installation methods. - - I also changed the CPACK_PACKAGE_FILE_NAME to use - OSG_PACKAGE_FILE_NAME which contains the name of each component - so all of the component packages can be generated without - renaming the files. - - This should make it even easier to create distribution packages - for the various linux, windows and mac distribution methods - supported by CPack." -2010-12-14 08:58 robert +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14273 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/CMakeLists.txt: Moved Performer and Inventor - plugins into block protected to only compile when not using GLES. -2010-12-14 08:53 robert +Wed, 25 Jun 2014 08:18:05 +0000 +Checked in by : Robert OSFIELD +From Björn Blissing, "Fix to support correct shininess and transparency in FBX plugin"git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14272 16af8721-9629-0410-8352-f15c8da7e697 - * examples/osgposter/osgposter.cpp: From Wang Rui, "A modified - version is attached. The blank while generating is in fact - used to avoid dual update traversals of the scene, which is not - allowed in my application (but I forgot the reason ;-) Now the - blank - problem will disappear. - - Inactive mode is also available, using the --inactive mode and - --camera-eye and --camera-hpr to set camera position: - - ./osgposter --output-poster --poster output.bmp --tilesize 800 - 600 - --finalsize 8000 6000 cow.osg --inactive --camera-eye 0 0 20 - " - -2010-12-13 17:54 robert - - * examples/CMakeLists.txt, examples/osgviewerQt, - examples/osgviewerQtContext: Renamed osgviewerQtContext to - osgviewerQt, and removed deprecated examples from CMakeLists.txt - -2010-12-13 17:50 robert - - * examples/osgviewerQT, examples/osgviewerQtWidget: Moved - osgviewerQT and osgviewQtWidget to deprecated as - osgviewerQtContext will no be the main Qt example - -2010-12-13 17:50 robert - - * examples/osgbrowser: Moved osgbrowser into svn/trunk. - -2010-12-13 17:49 robert - - * examples/osgcegui: Move osgcegui into deprecated - -2010-12-13 17:37 robert - - * CMakeModules/FindXUL.cmake: Have moved FindXUL.cmake to - deprecated - -2010-12-13 17:36 robert - - * CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/gecko: Have moved gecko plugin to deprecated - -2010-12-13 17:09 robert - - * include/osg/BufferObject, src/osg/BufferObject.cpp: Added - resizeGLObjectBuffers(uint) and relaseGLObjects(State*) to - BufferData. - -2010-12-13 16:25 robert - - * examples/osgviewerQtContext/CMakeLists.txt, - examples/osgviewerQtContext/GraphicsWindowQt, - examples/osgviewerQtContext/GraphicsWindowQt.cpp, - examples/osgviewerQtContext/osgviewerQtContext.cpp, - include/osgQt/GraphicsWindowQt, src/osgQt/CMakeLists.txt, - src/osgQt/GraphicsWindowQt.cpp: Moved GraphicsWindowQt from - osgviewerQtContext into osgQt. - -2010-12-13 13:41 robert - - * examples/osgposter/PosterPrinter.cpp, - examples/osgposter/PosterPrinter.h: Fixed warnings - -2010-12-13 13:37 robert - - * examples/CMakeLists.txt, examples/osgposter, - examples/osgposter/CMakeLists.txt, - examples/osgposter/PosterPrinter.cpp, - examples/osgposter/PosterPrinter.h, - examples/osgposter/osgposter.cpp: From Wang Rui, "Attachment is - an example of rendering 3D scenes to high resolution screenshots. - - I uses a queue of Camera objects to do offscreen rendering with - the Camera::attach() function. The entire picture is split into - many tiles and it will take a few seconds while attaching and - detaching cameras with tiles. You may select to output every tile - as an image file, or combine them together to create a large - poster, for example, a 12800 x 9600 image. - - Start the program like this: - - ./osgposter --output-poster --poster output.bmp --tilesize 800 - 600 --finalsize 8000 6000 cow.osg - - Adjust the scene camera to a suitable position and press 'p' or - 'P' on the keyboard. Wait until sub-cameras dispatching is - finished. And the poster file will be created while closing - window. A 8000 x 6000 output.bmp will be created to show a - fine-printed cow. :) - - The command below may also help: - - ./osgposter --help - " - -2010-12-13 12:16 robert - - * include/osgDB/SharedStateManager, src/osgDB/Registry.cpp, - src/osgDB/SharedStateManager.cpp, - src/osgPlugins/glsl/ReaderWriterGLSL.cpp: Form Richard Schmidt, - "The following features were added: - - * the glsl plugin now supports processing #includes. The file - extension sets the shader type. - - * the registry releases gl objects of the shared state manager - " - -2010-12-13 11:34 robert - - * CMakeLists.txt, CMakeModules/FindDirectInput.cmake, - examples/CMakeLists.txt, examples/osgdirectinput, - examples/osgdirectinput/CMakeLists.txt, - examples/osgdirectinput/DirectInputRegistry, - examples/osgdirectinput/DirectInputRegistry.cpp, - examples/osgdirectinput/osgdirectinput.cpp: From Wang Rui, "I - implemented a customized viewer event traversal here to read - state - changes from the DirectInput devices and add events to the event - queue. I've tested with the keyboard and joystick supports. - Because of - only having a very old 6-button gamepad, I can't do more - experiments. - Hope this will bring more ideas to those who face similar - problems, - especially simulation game designers. :) - - I didn't map all DirectInput key values to GUIEventAdapter key - symbols. Users may add more in the buildKeyMap() function freely. - The - mouse handling operations are also ignored, but will be easily - improved in the same way of creating keyboard and joystick - devices. - - Please add a line: - - FIND_PACKAGE(DirectInput) - - in the CMakeLists of root directory. And in the - examples/CMakeLists.txt: - - IF(DIRECTINPUT_FOUND) - ADD_SUBDIRECTORY(osgdirectinput) - ENDIF(DIRECTINPUT_FOUND) - - DirectX SDK 2009 is used here, but an older version like DX8 - should - also work in my opinion. - " - -2010-12-13 10:46 robert - - * examples/osgviewerWX/osgviewerWX.cpp, - examples/osgviewerWX/osgviewerWX.h: From Eduardo Poyart, "The - attached patch fixes a race condition that caused OSG to try to - render the scene before the window is realized. It works ok in my - osgviewerWX-derived application under Linux." - -2010-12-12 10:00 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Added TODO notes - -2010-12-12 09:58 robert - - * src/osg/DisplaySettings.cpp: From Wojciech Lewandowski, added - docs on Swap Method env vars and command line options - -2010-12-12 09:52 robert - - * src/osgPlugins/txp/TileMapper.cpp: From Trajce Nikolov, "attached - is a fix for the txp loader (in TileMapper). The code was giving - wrong parent tile ids using the stack - I implemented differnt - approach for that" - -2010-12-12 09:40 robert - - * src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From David Fries, - "The ffmpeg lockmanager was introduced in ffmpeg 52 30 1, but - later backported to 52 20 1, so add that to the version check - in ReaderWriterFFmpeg.cpp." - -2010-12-12 09:37 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h: From David Fries, "Avoid a - terrapage crash with outstanding - requests to a removed archive file. - ReaderWriterTXP::getArchiveName - will create an archive if it doesn't exist. This is causing a - crash - if the terrain is removed and there are outstanding database - requests - in the database pager. The request will create a new archive, and - as - the archive is newly create doesn't have the materials etc to - support - the subtile that was just loaded. To fix the problem - getArchiveName - will only return existing archives. createArchiveName was added - to - create archives. - " - -2010-12-12 09:22 robert - - * include/osg/Program: From Wojciech Lewandowski, "As suggested I - have added missing method to PerContextProgram. Tested with our - programs. - - I see that we should expect some performance penalty for using - this method. It won’t be painful in my current case because I - have only a few animated characters. But I suspect some day I - will have to fix osgCal to use int UniformIds natively for larger - crowds." - -2010-12-12 08:56 robert - - * src/osgUtil/SmoothingVisitor.cpp: From Wang Rui, "I've found a - possible bug in the new SmoothingVisitor implementation - (with a great 'crease angle' feature), which will crash if the - normal - array is already set but without BIND_PER_VERTEX. I just believe - that - we should reallocate the normal array in these cases, as the old - implementation does. - " - -2010-12-12 08:54 robert - - * include/osg/TriangleIndexFunctor: Introuced a local typedef of - the index array type to keep the functor parameters consistent - -2010-12-11 15:12 robert - - * src/osgPlugins/gdal/ReaderWriterGDAL.cpp: From Cedric Pinson, - "Here a small fix about gdal plugin used to read dem file, if you - dont - setup the log level to INFO it does not work. It's because of - this line: - OSG_INFO << " GetGeoTransform == "<< - dataset->GetGeoTransform(geoTransform)<<" - - I have just put the function outside of an stream stuff, and it - works. - It's possible we have other code like that in other plugins, I - guess - it's a side effect of the MACRO stuff about notification." - -2010-12-10 15:27 robert - - * include/osgDB/DatabasePager, include/osgDB/Registry, - include/osgUtil/IncrementalCompileOperation, - include/osgUtil/SceneView, include/osgViewer/Renderer, - src/osgDB/DatabasePager.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/Renderer.cpp: Refactor - of DatabasePage/IncrementalCompileOperation to use the - IncrementalCompileOperator for compiling objects - -2010-12-10 13:22 robert - - * applications/osgfilecache/osgfilecache.cpp, - examples/osgautocapture/osgautocapture.cpp, - src/osgPlugins/mdl/VTXReader.cpp: Build fixes to keep up with - changes in head inclusions/API in osgDB - -2010-12-09 12:16 robert - - * examples/osgterrain/osgterrain.cpp: Added handling of - CoordinateSystemNode when they decorate a loaded model, copying - the contents of the CoordinateSystemNode across to the Terrain - node - -2010-12-08 11:01 robert - - * CMakeLists.txt, include/osg/Version: Updated version number for - 2.9.11 dev release - -2010-12-08 10:34 robert - - * include/osgTerrain/Layer, include/osgTerrain/Terrain, - src/osgTerrain/Layer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/HeightFieldLayer.cpp: - From Ulrich Hertlein, "attached are patches to osgTerrain that - fix some typos and add a bit of documentation. - " - -2010-12-08 09:54 robert - - * src/osgDB/ObjectWrapper.cpp: Added protection against the - Registry from being deleted prior to the proxy objects - unregistering themselves - -2010-12-08 09:52 robert - - * src/osgDB/DatabasePager.cpp: Fixes for benign threading memory - contentions. - -2010-12-06 10:35 robert - - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Renamed YES - and NO enums with more description names that don't overlap with - iOS #define's - -2010-12-03 19:04 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS for release - -2010-12-03 17:50 robert - - * src/osgText/Text.cpp: From Johannes Bauerle, "When trying to use - the osgText functionality in an osg application built without - support for the fixed function pipeline I got a lot of warning - messages about invalid calls. - I found two indirect calls to the glTexEnv in the file Text.cpp: - - state.applyTextureAttribute(0,getActiveFont()->getTexEnv()); - - In the attached fix I surrounded these calls with #ifdef's - checking for OSG_GL_FIXED_FUNCTION_AVAILABLE to ensure that the - above function is only called when the fixed function pipeline is - available. - " - -2010-12-03 17:20 robert - - * src/osg/Texture2D.cpp: Removed redundent call. - -2010-12-03 14:24 robert - - * src/osg/Texture2D.cpp: Commented out debug message - -2010-12-03 14:18 robert - - * include/osg/Texture2D, src/osg/Texture2D.cpp: Introduced bool - Texture2D::textureObjectValid(State) and bool - SubloadCallback::textureObjectValid(Texture2D&,State&) method to - make it tell Texture2D::apply() whether the texture object is - still valid or whether it's no longed valid for the any changes - to the image attached to the Texture - -2010-12-02 14:20 robert - - * CMakeLists.txt, examples/osgviewerIPhone/CMakeLists.txt, - src/osgDB/CMakeLists.txt, src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/imageio/CMakeLists.txt, - src/osgViewer/CMakeLists.txt: From Ulrich Hertlein, "Attached; - here's a summary of the changes: - - CMakeLists.txt - -- don't look for GL when compiling for iOS (device or - simulator), look for OGLES instead - -- use architecture i386 for simulator - -- removed iphoneos-version-min for simulator - - - examples/osgviewerIPhone/CMakeLists.txt - -- added build dependencies for osgdb_osg, osgdb_freetype, - osgdb_imageio - -- added framework QuartzCore link dependency - - - src/osgDB/CMakeLists.txt - -- don't link against Carbon on iOS (device or simulator) - - - src/osgPlugins/freetype/CMakeLists.txt - -- don't link against OpenGL on iOS device or simulator - - - src/osgViewer/CMakeLists.txt - -- link against OpenGLES on iOS (device or simulator) - - - src/osgPlugins/imageio/CMakeLists.txt - -- compile ReaderWriterImageIO_IOS.cpp as Objective-C++ - - " - -2010-12-02 14:13 robert - - * applications/present3D/CMakeLists.txt, - examples/osgQtWidgets/osgQtWidgets.cpp, - examples/osgcluster/CMakeLists.txt, - examples/osgmultiviewpaging/osgmultiviewpaging.cpp, - examples/osgtext3D/TextNode.cpp, include/osg/State, - include/osgText/Style, src/OpenThreads/pthreads/PThread.c++, - src/osgGA/MultiTouchTrackballManipulator.cpp, - src/osgPlugins/3ds/lib3ds/lib3ds_impl.h, - src/osgPlugins/pvr/ReaderWriterPVR.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgWidget/Input.cpp: From Mathias Froehlich, "Attached are - most of the fixes that are required to build osg on solaris and - hpux. I have skipped irix this time as irix is too dead to keep - osg building - there. - - As usual, solaris does not like member templates in stl - containers. - Some headers missing and link problems due to missing libraries." - -2010-12-02 14:01 robert - - * examples/osgmultiviewpaging/osgmultiviewpaging.cpp: Ran dos2unix - to fix line endings - -2010-12-02 13:53 robert - - * src/osgDB/DatabasePager.cpp: From Brad Christiansen, commented - out debug messages - -2010-12-02 09:39 robert - - * src/osgViewer/PixelBufferWin32.cpp: Removed redudent - makeCurrentImplementation() that was causing a crash in - osgscreencapture. - -2010-12-01 20:14 robert - - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - AUTHORS and Contributors.cpp to reflect new ChangeLog correctly - -2010-12-01 19:49 robert - - * examples/CMakeLists.txt: From Jason Daly, "OK, I dug a bit into - the CMake scripts and found a fairly obvious solution to the - QtWebkit issue on RHEL 6 (see my other message on osg-users). I - just moved the osgQtWidgets example in examples/CMakeLists.txt - under the check for QtWebKit. - - Fix is attached:" - -2010-12-01 14:03 robert - - * ChangeLog: Updated ChangeLog - -2010-12-01 13:33 robert - - * src/osg/Texture2D.cpp: From Fabien Lavignotte, "I use - Texture2D::copyTexImage2D to generate some textures at each frame - on a PagedLOD databases. - There was some performance problems after a long run, because - textures created with copyTexImage2D were not reused. - After investigation, there is a problem with the Texture Pool - when a texture object is created with an empty profile, and then - move after creation to TextureObjectSet with good profile using - setAllocated method. - I have just changed a little bit the code of - Texture2D::copyTexImage2D, to generate the texture object with - the good profile at the start." - -2010-11-30 16:22 robert - - * src/osgWrappers/serializers/osg/Texture2DArray.cpp: From "Matthew - Roberso, I've attached a small fix to the - src/osgWrappers/serializers/osg/Texture2DArray.cpp against the - svn head r11965 it simply calls setTextureDepth before attempting - to load the individual textures into the array. Currently without - that the loading fails with the following printout "Warning: - Texture2DArray::setImage(..) failed, the given layer number is - bigger then the size of the texture array." and the texture array - is empty if loaded from an osga/b." - -2010-11-30 14:36 robert - - * src/osgPlugins/osg/ReaderWriterOSG2.cpp: Fixed the readObject - method so it could handle reading from a file contains any valid - type of osg::Object - -2010-11-30 12:34 robert - - * src/osgDB/InputStream.cpp: Added passing of existingObj parameter - -2010-11-30 11:34 robert - - * src/osgPlugins/imageio/CMakeLists.txt: From Stephan Huber, - compile fix for iOS - -2010-11-30 09:26 robert - - * README.txt, examples/CMakeLists.txt, - examples/osgviewerIPhone/CMakeLists.txt, - include/osgViewer/api/IOS/GraphicsWindowIOS, - src/osgDB/CMakeLists.txt: From Ulrich Hertlein and Stephan Huber, - improves to iOS build - -2010-11-30 08:12 robert - - * include/osg/BufferIndexBinding, include/osg/BufferObject: From - Wang Rui, Compile fixes - -2010-11-29 17:43 robert - - * examples/CMakeLists.txt, examples/osguniformbuffer, - examples/osguniformbuffer/CMakeLists.txt, - examples/osguniformbuffer/osguniformbuffer.cpp, - include/osg/BufferIndexBinding, include/osg/BufferObject, - include/osg/GL2Extensions, include/osg/Program, - include/osg/StateAttribute, src/osg/BufferIndexBinding.cpp, - src/osg/BufferObject.cpp, src/osg/CMakeLists.txt, - src/osg/GL2Extensions.cpp, src/osg/Program.cpp: 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 09:32 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Removed - deperecated variables that are no longer used. - -2010-11-26 18:19 robert - - * CMakeLists.txt, README.txt, examples/CMakeLists.txt, - examples/osgviewerIPhone, - examples/osgviewerIPhone/CMakeLists.txt, - examples/osgviewerIPhone/iphoneViewerAppDelegate.h, - examples/osgviewerIPhone/iphoneViewerAppDelegate.mm, - examples/osgviewerIPhone/main.m, - examples/osgviewerIPhone/osgIPhoneViewer-Info.plist, - examples/osgviewerIPhone/osgPlugins.h, include/osgViewer/api/IOS, - include/osgViewer/api/IOS/GraphicsWindowIOS, - src/osgPlugins/imageio/ReaderWriterImageIO_IOS.cpp, - src/osgViewer/CMakeLists.txt, src/osgViewer/GraphicsWindowIOS.mm, - src/osgViewer/IOSUtils.h, src/osgViewer/IOSUtils.mm: From Tomas - Holgarth and Stephan Huber, " - attached you'll find the second part of the IOS-submission. It - contains - - * GraphicsWindowIOS, which supports external and "retina" - displays, - multisample-buffers (for IOS > 4.0) and multi-touch-events - * an ios-specific implementation of the imageio-plugin - * an iphone-viewer example - * cMake support for creating a xcode-project - * an updated ReadMe-file describing the necessary steps to get a - working xcode-project-file from CMake - - Please credit Thomas Hogarth and Stephan Huber for these changes. - - This brings the ios-support in line with the git-fork on github. - It - needs some more testing and some more love, the cmake-process is - still a - little complicated. - - You'll need a special version of the freetype lib compiled for - IOS, - there's one bundled in the OpenFrameworks-distribution, which can - be used." - - Notes, from Robert Osfield, modified CMakeLists.txt files so that - the IOS specific paths are within IF(APPLE) blocks. - -2010-11-26 17:37 robert - - * src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp: From Katharina - Plugge, fix for regression in handling of multitexturing. - -2010-11-26 17:35 robert - - * include/osgSim/MultiSwitch, - src/osgPlugins/OpenFlight/AncillaryRecords.cpp, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/Record.h, src/osgSim/MultiSwitch.cpp: - From Eduardo Poyart, OSG patch: made it read ancillary - IndexedStrings into MultiSwitch - -2010-11-26 17:32 robert - - * ChangeLog: Updated ChangeLog - -2010-11-26 13:54 robert - - * include/osg/Object, include/osg/Uniform, src/osg/Uniform.cpp: - From Marin Platings and Robert Osfield, fix of Uniform unique ID - by making osg::Object::setName() virtual. - -2010-11-26 12:44 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Martin Beck, " - recently we noticed a little mistake for 3DS files using - instances of the same meshs: Every groupnode gets the same name - instead of the (correct) instance name of the object. The fix - only consists of two additional lines which check whether an - instance_name is given for the object and then uses this one - instead of the node name." - -2010-11-26 12:23 robert - - * src/osgWrappers/serializers/osg/AnimationPath.cpp: From Fabien - Lavignotte, "There was a small bug when using the new serializer - with AnimationPath. The serializer assumes NO_LOOPING is the - defaut for LoopMode, but in fact it is LOOP. - The new serializer avoids to write default values in text mode, - so the loop mode is not always correctly set." - - -2010-11-26 12:22 robert - - * include/osgDB/Serializer: Removed debug messages - -2010-11-26 10:31 robert - - * examples/osganalysis/osganalysis.cpp: From Magnus Kessler, "Typo - in usage string of examples/osganalysis - - please specifies -> please specify" - -2010-11-25 16:06 robert - - * include/osg/GL, include/osg/GraphicsContext, - src/osg/FrameBufferObject.cpp, src/osg/GraphicsContext.cpp, - src/osg/Texture.cpp, src/osgDB/FileUtils.cpp, - src/osgUtil/RenderStage.cpp: From Thomas Hogarth and Stephan - Huber, "attached you'll find part one of iphone-support. It - includes - - * support for NPOT-textures on IOS - * support for FBOs (only renderToTexture for now) on IOS (should - work - for other OpenGL ES 1/2 targets, too) - * FileUtils-support for IOS" - -2010-11-25 13:00 robert - - * src/osgViewer/Renderer.cpp: From Tim Moore, fix to stats timing - -2010-11-25 12:30 robert - - * include/osg/Program, include/osg/State, include/osg/Uniform, - src/osg/Program.cpp, src/osg/Uniform.cpp: From Michael Platings, - To address performance bottleneck that occurs when using large - number of uniforms introduced a name to uniqued ID scheme for - Uniforms so comparisons can be done on a uint rather than a - string. - -2010-11-25 12:07 robert - - * include/osg/Image, include/osg/Observer, - include/osgTerrain/TerrainTechnique: From Hartwig Wiesmann, "in - the files Image, Observer and TerrainTechnique unused parameters - exist resulting in a couple of compiler warnings (depending on - the compiler settings though). - The attached patches comment out the unused parameter names. - " - -2010-11-25 11:59 robert - - * applications/osgconv/osgconv.cpp: From Magnus Kessler, - "applications/osgconv: fix typo in tool options - - transprent -> transparent" - -2010-11-25 11:40 robert - - * src/osgTerrain/Terrain.cpp: Removed default assignement of - GeometryTechnique as the TerrainTechniquePrototype. - -2010-11-24 20:26 robert - - * src/osgDB/ObjectWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/Shader.cpp: From Wang Rui, "I'd - like to provide a quick updates of the new tessellation shader - serializers and dotosgwrappers. It includes reading/writing - supports - for the two new shader types and the GL_PATCHES enum. The - setParameterfv() method is not wrapped at present because it is - still - not finished. - - Enum serialziers don't require back-compatibility checks if only - add/remove enum items, so I'm not going to use the new - UPDATE_TO_VERSION macro this time." - -2010-11-24 20:20 robert - - * examples/osgtext3D/TextNode.h, src/osgText/GlyphGeometry.cpp, - src/osgText/GlyphGeometry.h: From Jean-Sebastien Guay, build - fixes for windows. - -2010-11-24 17:01 robert - - * src/osg/State.cpp: Added workaround for AMD/ATI driver bug - -2010-11-24 10:38 robert - - * include/osg/Drawable, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp: From Tim Moore, Fix for drivers - that don't properly support timer extensions. - - "" - -2010-11-24 10:09 robert - - * include/osgShadow/MinimalShadowMap, - include/osgShadow/ProjectionShadowMap, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp: From Wojciech Lewandowski, - "1: fix for a issue with MinimalShadowMap and - LightSpacePerspectiveShadowMapVB techniques ignoring - minLightMargin parameter. - 2: minor tweak for a DebugHUD drawn improperly case when multiple - slave views shared one window. It now uses slave view viewport to - correctly position DebugHUD. - 3: deactivated ConvexPolyhedron notifications (they were - accidentaly activated when you replaced osg::notify calls with - OSG_NOTIFY macro). These warnings are useful only for shadow map - developer working on shadow volume optimizations. So there is no - sense in having them active all the time." - -2010-11-23 17:33 robert - - * examples/osgtext3D/CMakeLists.txt, - examples/osgtext3D/TextNode.cpp, examples/osgtext3D/TextNode.h, - examples/osgtext3D/osgtext3D.cpp, include/osgText/TextNode, - src/osgText/CMakeLists.txt, src/osgText/Glyph.cpp, - src/osgText/GlyphGeometry.h, src/osgText/TextNode.cpp: Moved - TextNode from osgText into example/osgtext3D in prep for 3.0 - -2010-11-23 14:50 robert - - * include/osg/GL2Extensions, include/osg/PrimitiveSet, - include/osg/Program, include/osg/Shader, - src/osg/GL2Extensions.cpp, src/osg/PrimitiveSet.cpp, - src/osg/Program.cpp, src/osg/Shader.cpp, - src/osg/ShaderComposer.cpp: From Holger Helmich, Tessellation - shader support - -2010-11-23 11:11 robert - - * src/osgShadow/ParallelSplitShadowMap.cpp: From David Callu, "Here - a fix for pssm. - - Problem 1 : - With GLSL, multi pass to apply each shadow map is not required. - - - Problem 2 : - GLSL code use "shadow2DProj" build-in function to look up in - shadow texture. - Projection is orthogonal so "shadow2D" build-in function is - sufficient. - - Problem 3: - Bad calcul in - osgShadow::ParallelSplitShadowMap::calculateLightViewProjectionFormFrustum(..) - provide some visual error in specific configuration. - - - to reproduce pssm_bug.jpg, you need to add a light direction in - osgshadow.cpp example (done in joint osgshadow.cpp file) - then "osgshadow --noUpdate --pssm --maxFarDist 500 --minNearSplit - 500 --mapcount 6 --debug-color model_test.3ds" - - - As you can see in pssm_bug.jpg and pssm_fix.jpg, performance is - really better when Problem 1 is fixed. - " - -2010-11-22 19:38 robert - - * examples/osganalysis/osganalysis.cpp, - include/osgGA/GUIEventAdapter, - include/osgParticle/CompositePlacer, - src/osgGA/MultiTouchTrackballManipulator.cpp: Build fixes for - building OSG with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set - to OFF - -2010-11-22 19:18 robert - - * src/osgPlugins/freetype/FreeTypeFont.cpp: Fixed typo - -2010-11-22 17:39 robert - - * CMakeModules/FindFBX.cmake: From Michael Platings, "the attached - cmake file recognises the latest version of the FBX SDK, and now - works correctly on 64 bit Windows." - -2010-11-22 17:37 robert - - * src/osg/Geometry.cpp, src/osgDB/DatabasePager.cpp, - src/osgDB/ObjectWrapper.cpp, - src/osgUtil/IncrementalCompileOperation.cpp: From Michael - Platings, "the build is broken if you have the - OSG_REF_PTR_IMPLICIT_OUTPUT_CONVERSION turned off - the attached - files fix this." - -2010-11-22 17:30 robert - - * include/osgGA/EventQueue, include/osgGA/GUIEventAdapter, - include/osgGA/MultiTouchTrackballManipulator, - src/osgGA/CMakeLists.txt, src/osgGA/EventQueue.cpp, - src/osgGA/GUIEventAdapter.cpp, - src/osgGA/MultiTouchTrackballManipulator.cpp: From Stephan Huber, - "attached you'll find a proposal for handling multi-touch-events - with - osgGA. My approach is to bundle all touchpoints into one custom - data - structure which is attached to an GUIEventAdapter. - - The current approach simulates a moving mouse for the first - touch-point, - so basic manipulators do work, sort of. - - I created a MultiTouchTrackballManipulator-class, one touch-point - does - rotate the view, two touch-points pan and zoom the view as known - from - the iphone or other similar multi-touch-devices. A double-tap - (similar - to a double-click) resets the manipulator to its home-position. - - The multi-touch-trackball-implementation is not the best, see it - as a - first starting point. (there's a demo-video at - http://vimeo.com/15017377 )" - -2010-11-22 15:52 robert - - * src/osg/Geometry.cpp: Fixed indentation - -2010-11-22 11:31 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.h: From Johan Nouvel, "I've - attached ReaderWriterVRML2.h. It is the same as the previous one, - I've just add supportsOption() calls." - -2010-11-22 11:22 robert - - * applications/osgarchive/osgarchive.cpp, - applications/osgfilecache/osgfilecache.cpp, - applications/osgviewer/osgviewer.cpp, - examples/osgcegui/osgcegui.cpp, - examples/osgdatabaserevisions/osgdatabaserevisions.cpp, - examples/osgscreencapture/osgscreencapture.cpp, - examples/osgshadergen/osgshadergen.cpp, - examples/osguserstats/osguserstats.cpp, - include/osg/GL2Extensions, include/osg/Program, - include/osg/Shader, include/osg/Uniform, - include/osgDB/PluginQuery, src/osg/GL2Extensions.cpp, - src/osg/GLStaticLibrary.cpp, src/osg/GLStaticLibrary.h, - src/osg/Shader.cpp, src/osg/StateAttribute.cpp, - src/osg/Uniform.cpp, src/osgDB/PluginQuery.cpp, - src/osgPlugins/cfg/ReaderWriterCFG.cpp, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/rot/ReaderWriterROT.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgPlugins/shadow/ReaderWriterOsgShadow.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp, - src/osgPlugins/view/ReaderWriterOsgViewer.cpp: Fixed typo of - commercial -2010-11-22 10:41 robert +Tue, 24 Jun 2014 19:57:19 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "There were some modes missing when exporting to .ogst so I added them."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14269 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgText/Font.cpp: From Hartwig Wiesmann, fix to font search - path under OSX. -2010-11-22 10:37 robert +Tue, 24 Jun 2014 14:58:13 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I've attached a small for the osg ReaderWriter. It was performing a case sensitive comparison to the file extension to determine whether to write the file in ascii or binary. This meant that if the filename was "model.OSGT" it would be treated as binary, instead of ascii. I've updated the plugin to ignore case."git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14267 16af8721-9629-0410-8352-f15c8da7e697 - * CMakeModules/FindCOLLADA.cmake: From Brad Christiansen, "Attached - is a very small change to allow the Collada libs for VS 2010 to - be found automatically." -2010-11-19 18:26 robert +Tue, 24 Jun 2014 11:24:13 +0000 +Checked in by : Robert OSFIELD +Merged fix to merge geometries.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14265 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp: From Katherina - Plugge, "if using multitexturing and converting osg files to - OpenFlight texture coordinates get corrupted. The texture - coordinates for slot 1 and following are not computed correctly - (see thread - http://forum.openscenegraph.org/viewtopic.php?t=6993). - - The attached files solve the problem. - " - -2010-11-19 18:07 robert - - * include/osg/Plane: From Sukender, fix for precision of - Plane::asVec4() - -2010-11-19 17:47 robert - - * src/osgUtil/IncrementalCompileOperation.cpp: Commented out debug - output - -2010-11-19 17:47 robert - - * CMakeLists.txt: Update SOVERSION - -2010-11-19 09:57 robert - - * src/osgWrappers/deprecated-dotosg/osgText/IO_Text.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_TextBase.cpp, - src/osgWrappers/serializers/osgText/Text3D.cpp: Update Text - wrappers to handle new Color member - -2010-11-19 09:57 robert - - * include/osg/Version: Updated SO version to reflect changes in API - of osgText - -2010-11-18 17:59 robert - - * include/osgText/Text, include/osgText/TextBase, - src/osgText/Text.cpp, src/osgText/Text3D.cpp, - src/osgText/TextBase.cpp: Moved text color into TextBase, added - support for colour into Text3D - -2010-11-18 17:18 robert - - * src/osgPlugins/freetype/FreeTypeFont.cpp: Added resetting of the - freetype size when getting Glyph3D glyph's as otherwise use of 2D - and 3D Text would cause incorrect text sizing. - -2010-11-18 12:03 robert - - * src/osg/Texture.cpp: Improved handling of pending orphaned - texture objects and max texture pool size. - -2010-11-17 14:06 robert - - * src/osg/State.cpp: From Jean-Sebastien Guay, Changed debug info - in State::frameCompleted() to OSG_INFO - -2010-11-17 10:19 robert - - * examples/osganalysis/osganalysis.cpp: Added texture pool handler - to print out results from texture pool - -2010-11-17 10:16 robert - - * examples/osgtext3D/osgtext3D.cpp: Added quite size test. - -2010-11-15 17:21 robert - - * src/osgGA/CMakeLists.txt: From Sherman Wilcox, "added the - following to the ADD_LIBRARY - list -- ${OPENSCENEGRAPH_VERSIONINFO_RC}" - -2010-11-12 11:04 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: Fixed warnings - -2010-11-12 09:48 robert - - * src/osgText/Font.cpp, src/osgViewer/Scene.cpp: Fixed crash on - intialization of static applications by moving the static mutexes - inside singleton methods. - -2010-11-11 16:51 robert - - * CMakeLists.txt, CMakeModules/FindFLTK.cmake, - CMakeModules/FindGtkGl.cmake, - CMakeModules/FindPoppler-glib.cmake, CMakeModules/FindRSVG.cmake, - applications/present3D/CMakeLists.txt, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/pdf/CMakeLists.txt: - Moved finding of RSVG, Poppler-glib and GtkGl out into their own - Find*.cmake modules to enable easier specialization. - -2010-11-11 11:47 robert - - * applications/present3D/CMakeLists.txt, - applications/present3D/present3D.cpp, - examples/osgstaticviewer/CMakeLists.txt, - examples/osgstaticviewer/osgstaticviewer.cpp, - include/osgDB/Registry, include/osgDB/Serializer, - src/osgDB/ObjectWrapper.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgWrappers/deprecated-dotosg/osg/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgShadow/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgText/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/LibraryWrapper.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/LibraryWrapper.cpp, - src/osgWrappers/serializers/osg/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgAnimation/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgFX/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgManipulator/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgParticle/CompositePlacer.cpp, - src/osgWrappers/serializers/osgParticle/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgShadow/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgSim/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgTerrain/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgText/LibraryWrapper.cpp, - src/osgWrappers/serializers/osgVolume/LibraryWrapper.cpp: From - Wang Rui, "I've finally completed the static build support for - dotosg wrapper and - serialization libraries. My submission mainly includes: - 1. Add two new macros USE_DOTOSGWRAPPER_LIBRARY and - USE_SERIALIZER_WRAPPER_LIBRARY. Applications using static OSG - must - include corresponding static-link libraries and use these two - macros - to predefine native format wrappers. Please see osgstaticviewer - and - present3D in the attachment for details. - - 2. Add a LibraryWrapper.cpp file in each - osgWrappers/deprecated-dotosg/... and osgWrappers/serializers/... - subfolder, which calls all USE_...WRAPPERS macros inside. The - LibraryWrapper file is automatically generated by the - wrapper_includer.cpp (with some slight fixes), which is also - attached - for your reference. The deprecated-dotosg/osgAnimation is not - included - because it doesn't us REGISTER_DOTOSGWRAPPER to define its - wrappers. - - 3. Modify the ReaderWriterOSG.cpp to prevent calling - loadWrappers() - when static build. - - 4. An uncorrelated fix to Serializer and ObjectWrapper.cpp, which - ensures version variables of serialziers are initialized, and - serializers out-of-version are not written to model files. - " - -2010-11-11 10:53 robert - - * include/osg/State: From Wang Rui, "The latest modification of - osg/State uses the GLuint64EXT type, which - belongs to GL_EXT_timer_query and should be decalared to avoid - compiling errors if the extension is not supported. I've attached - this - small fix." - -2010-11-11 10:42 robert - - * src/osgPlugins/directshow/DirectShowTexture.cpp: From Mark - Sciabica, "It's not Windows API calls that are causing the - problem. It's a new - templated constructor of std::pair not being able to - automatically - convert 0 to a pointer. Rather than use preprocessor checks and - #defines, I think a cleaner solution is to cast the std::pair - arguments - to the appropriate types to help the compiler out. I attached an - updated - version of the file implementing this." - -2010-11-10 16:58 robert - - * include/osg/Drawable, include/osg/GraphicsContext, - include/osg/State, include/osgViewer/Renderer, - src/osg/Drawable.cpp, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp, src/osg/State.cpp, - src/osgViewer/Renderer.cpp: From Tim More and Robert Osfield, - implementation of ARB_timer_query based GPU timing stats - syncronization. - - Initial email from Tim : "I've implemented using a timestamp, - available with ARB_timer_query and OpenGL 3.3, to gather GPU - stats. This is nice because it can accurately fix the GPU draw - time with respect to the other times on the stats graph, rather - than having to estimate the wall time of the end of GPU drawing. - This also prevents anomalies like the GPU phase starting before - the draw phase..." - Changes to Tim's submission by Robert: Removal of need for swap - buffer callback in ViewerBase.cpp, by - integrating a osg::State::frameCompleted() method that does the - stats timing collection. Introduction of a - GraphicsContext::swapBuffersCallbackOrImplementation() method - that calls the State::frameCompleted() and - the swap buffers callback or the swapImplementation as required. - -2010-11-10 12:50 robert - - * src/osg/Image.cpp: From Mourad Boufarguine, "This is a small fix - to osg::createGeodeForImage to adapt Tex coords to image origin. - - " - -2010-11-09 17:17 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added traversal of salve camera subgraphs when the slave camera - doesn't share it's scene graph wiht the View's master scene - graph. - -2010-11-09 15:48 robert - - * src/osgPlugins/gif/ReaderWriterGIF.cpp: From Wang Rui with small - tweak from Robert Osfield, fix of memory leak in gif plugin when - using GifImageStream - -2010-11-09 14:57 robert - - * applications/present3D/CMakeLists.txt, - applications/present3D/present3D.cpp: From Wang Rui, "I'm now - testing static building of OSG and found a possible bug in the - present3D application. As static-link present3d should depend on - freetype, png, pdf and some other plugins, any mis-compiling of - these - plugins will make present3d fail to be built. Some lirbaries like - poppler and cairo are not popular under Windows, so it is very - common - that we don't have osgdb_pdf compiled and thus get errors when - building present3d. I've modified the CMakeLists and - present3d.cpp to - avoid this problem." - -2010-11-09 14:39 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake: From Sukender, - "As discussed in osg-users, I found output directories with CMake - >= 2.8.1 are wrong under MSVC (As Chuck said, it's to be related - to CMake, and not MSVC). - - But I also found rev. 11354 (from Wang Rui) added a change in - OsgMacroUtils which adresses a similar issue: Wang told the - "../../bin" prefix wasn't working. However I think the fix isn't - correct because it checks the MSVC version instead of the CMake - version. Here is my fix, against latest trunk (root - CMakeLists.txt, and CMakeModules/OsgMacroUtils.cmake). - - Tests I made: - | Unix Makefiles | MSVC 9 | MSVC 10 x64 - --------------------------------------------------- - CMake 2.4 | | OK | N/A - CMake 2.6.4 | | OK | N/A - CMake 2.8.0 | | OK | broken support? - CMake 2.8.2 | | OK | OK - " - -2010-11-09 13:23 robert - - * include/osgDB/ObjectWrapper, include/osgDB/Serializer, - src/osgDB/ObjectWrapper.cpp: Refactored the versioning of - serializers so it now uses a _firstVersion and _lastVersion make - it possible - to specify what range of versions support each serializer. - -2010-11-09 12:41 robert - - * include/osgDB/InputStream, include/osgDB/ObjectWrapper, - include/osgDB/Registry, include/osgDB/Serializer, - src/osgDB/InputStream.cpp, src/osgDB/ObjectWrapper.cpp, - src/osgDB/OutputStream.cpp: From Wang Rui, "I'd like to submit my - latest modification of the serialization IO - functionalities. It includes two main parts: a version checking - macro - for handling backward-compatiblity since 3.0, and enhencement of - current schema mechanism. I also change the option handling - process to - use getPluginStringData(), and add new USE_SERIALIZER_WRAPPER - macro in - the Registry header to allow for static-link usage as well. - - The enhencement of schema machanism just tells the type of each - serializer while outputting them, such as: - osg::Group = Children:1 - - The meaning of the number can be found in the osgDB/Serializer - header, - BaseSerializer::Type enum. It may help 3rdparty utilities - understand - the structure of the wrapper and do some reflection work in the - future. - - The new macro UPDATE_TO_VERSION can help indicate the InputStream - (no - affect on the writer) that a serializer is added/removed since - certain - OSG version. An example wrapper file is also attached. The - Geode_modified.cpp is based on the serializers/osg/Geode.cpp file - (hey, don't merge it :-), but assumes that a new user serializer - 'Test' is added since version 65 (that is, the OSG_SOVERSION): - - REGISTER_OBJECT_WRAPPER( Geode, ... ) - { - ADD_USER_SERIALIZER( Drawables ); // origin ones - - UPDATE_TO_VERSION( 65 ) - { - ADD_USER_SERIALIZER( Test ); // a serializer added from version - 65 - } - } - - All kinds of ADD_... macros following UPDATE_TO_VERSION will - automatically apply the updated version. The braces here are only - for - typesetting! - While reading an osgt/osgb/osgx file, OSG will now check if the - file - version (recorded as the writer's soversion, instead of previous - meaningless "#Version 2") is equal or greater than Test's - version, and - try reading it, or just ignore it if file version is lesser. - - And we also have the REMOVE_SERIALIZER macro will mark a named - serializer as removed in some version, with which all files - generated - by further versions will just ignore it: - - UPDATE_TO_VERSION( 70 ) - { - REMOVE_SERIALIZER( Test ); - } - - This means that from version 70, the serializer Test is removed - (but - not actually erased from the list) and should not be read - anymore. If - the read file version is less than 70 (and equal or greater than - 65), - Test will still be handled when reading; otherwise it will be - ignored - to keep compatiblity on different OSG versions. - " - -2010-11-08 15:49 robert - - * src/osgPlugins/vrml/CMakeLists.txt, - src/osgPlugins/vrml/ConvertToVRML.cpp, - src/osgPlugins/vrml/ConvertToVRML.h, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h: From Johan Nouvel, "Some - times ago, I have coded an osg to vrml2 writer. Today, I have - updated our writer to osg 2.9.9. - As it works (for our needs at least) I've done and attached a - tar.gz file for the VRML2 plugin with a new part to write a VRML2 - file from an osg one. - - The read part is the same as in osg 2.9.9. - - The write part code is in convertToVRML.cpp and .h files. It - works for some osg nodes (group, geode, matrixTransform, - positionAttitudeTransform and geometry). Textures are converted - to jpeg (if not translucent) or png (if translucent). - There are some options that could be given to the writer (with -O - switch) : - - convertTextures=0 to copy textures without converting them to - jpeg or png - convertTextures=-1 do not copy textures, keep them in their - original format and location - convertTextures=-2 do not use textures, parse only geometry - convertTextures=-3 (default) convert textures to jpeg or png - ones. - - textureUnit=X in case of multiple textures, X= texture unit to - use (default value=0) - - directoryTexture=aPath when texture will be copied, it will be in - this directory, not in the current one." - -2010-11-08 12:28 robert - - * examples/CMakeLists.txt, examples/osguserstats, - examples/osguserstats/CMakeLists.txt, - examples/osguserstats/osguserstats.cpp, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/StatsHandler.cpp: From Jean-Sebastien Guay, "As - promised, here is the fix for the background size. I also added - another instance variable _lineHeight to clean up the code a bit - more. - - Also I've done the osguserstats example. I've kept the "toy - example" that was in the modified osgviewer.cpp I had sent you, - because they show different uses of custom stats lines (a value - displayed directly, a value without bars and a value with bars - and graph). I also added a function and a thread that will sleep - for a given number of milliseconds and record this time in the - stats. I think it clearly shows how to record the time some - processing takes and add that to the stats graph, whether the - processing takes place on the same thread as the viewer or on - another thread. - - BTW, feel free to modify the colors I've given to each user stats - line... I'm not very artistic. :-) - - I've also added more doc comments to the addUserStats() method in - ViewerEventHandlers, so hopefully the arguments are clear and the - way to get the results you want is also clear. Maybe I went - overboard, but the function makes some assumptions that may not - be obvious and has many arguments, so I preferred to be - explicit." - -2010-11-05 17:31 robert - - * src/osg/GLExtensions.cpp: From David Fries and Robert Osfield, - fix for handling remote GLX server that declares GL 3.0 support - but doesn't actually implement it correctly. - -2010-11-05 17:24 robert - - * include/osg/AutoTransform, src/osg/AutoTransform.cpp: From Javier - Taibo, "ere is the new code with Billboard "rotate around axis" - functionality. - - A new AutoRotateMode was added. I named it ROTATE_TO_AXIS to be - consistent with the other AutoRotateModes, even though it changes - from - how is called in Billboard (AXIAL_ROT). - - Setters and getters for rotation axis and normal were also added - to the - AutoTransform class interface. - - The implementation is mainly a copy-paste from Billboard code. - " - -2010-11-05 17:09 robert - - * src/osgPlugins/gz/ReaderWriterGZ.cpp: From Alexander Irion, - "Please find another bugfix for the ReaderWriterGZ. This time, - the writing did not work for me - the created output file could - not be deflated by zip. - " - -2010-11-05 17:07 robert - - * src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From Ulrich - Hertlein, "attached is a tiny cleanup for ReaderWriterFFmpeg that - provides more accurate descriptions - for some extensions and also adds 'm2ts' for MPEG-2 transport - streams. - " - -2010-11-05 17:04 robert - - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: From - Sukender, "1. More handled cases in MergeGeometryVisitor - - Algorithm doesn't try to merge double and single precision - arrays together - - Algorithm doesn't try to merge incompatible geometries (ex: one - with "vertices + texoords", and another with only vertices) - - 2. Better TextureAtlasBuilder - Algorithm is still sub-optimal, but it now tries to fill more - blanks, using "unused space in the current line". - (Don't know if I already submitted it, but I guess not) - One day, someone should try to find a good solution to this - NP-problem... For instance : - http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.140.200&rep=rep1&type=pdf - " - -2010-11-05 11:21 robert - - * CMakeModules/FindGDAL.cmake: From Peter Bear, "Attached is a fix - for the detection of GDAL 1.7.0. The previous CMake file only - supported up to 1.6, this fix supports 1.7." - -2010-11-05 10:29 robert - - * src/osgPlugins/gz/ReaderWriterGZ.cpp: From Alaxandre Irion, - "Trying to load the attached texture file "texture.dds.gz" fails - and causes the following warning on the console: - - ReadDDSFile warning: couldn't read mipmapData - - The issue is caused, when the last block of data is read from the - file (less than chunk size of 16384 bytes). The read operation in - ReaderWriterGZ::read() then sets the eof and fail bit in the - stream and the lines - - if (fin.fail()) - { - (void)inflateEnd(&strm); - return false; - } - - causes the reading to be aborted with the last read data not - beeing inflated. - - Please find the attached fix for this problem." - -2010-11-05 09:12 robert - - * src/osgPlugins/pvr/ReaderWriterPVR.cpp: From Wang Rui, "Attached - is a fix to the latest PVR plugin to make it compile under - MSVC. I've added definition to uint_32 and replaced std::max() - with - osg::maximum(), because it is not supported by some VisualStudio - versions." - -2010-11-04 17:53 robert - - * include/osg/Texture, src/osg/Texture.cpp: From Fabien Lavingotte - and Robert Osfield, Fixed handling of texture pool size when - TextureObject::setAllocate(..) is called. - -2010-11-04 15:24 robert - - * examples/osganimationsolid/osganimationsolid.cpp: 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 13:53 robert - - * src/osgPlugins/directshow/CMakeLists.txt, - src/osgPlugins/directshow/DirectShowTexture.cpp: From Jason - Beverage, "Here is a small change to the DirectShow plugin to - support finding the - video and sound pins by type rather than searching for them by - name - since the names of the pins can change based on what kind of file - you - are opening. This also removes the need for an explicit check to - see - if the file is a .wmv file. - - Also changes to the directshow plugin's CMakeLists.txt. - It is not necessary to link against d3dx9 to build the plugin. - " - -2010-11-04 11:39 robert - - * include/osgParticle/RandomRateCounter: From Sukender, "I replaced - std::min() with osg::minimum() in RandomRateCounter, to avoid - including the STL header (Or else it doesn't compile under MSVC - 10)." - -2010-11-04 11:05 robert - - * src/osg/FrameBufferObject.cpp: From David Callu, fix in - FrameBufferObject when using Texture2Darray and GeometryShader. - -2010-11-04 11:02 robert - - * include/osg/Texture, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/pvr, - src/osgPlugins/pvr/CMakeLists.txt, - src/osgPlugins/pvr/ReaderWriterPVR.cpp: From Per Fahlberg, "I - have added support for PowerVR texture compression. osg::Texture - and osg::Image have been modified to support the texture formats - and I have added a plugin to load pvr files. All modified files - are in the attached zip. " - -2010-11-03 10:37 robert - - * src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp, - src/osgPlugins/ffmpeg/FFmpegParameters.cpp, - src/osgPlugins/ffmpeg/FFmpegParameters.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From Wang Rui, - "additional FFmpegParameters class in the ffmpeg plugin for - setting parameters before opening the video file, which benefits - from getPluginStringData() as shown in the ReaderWriter - implementation. - - Now we can use ffmpeg to render webcam video (using the vfwcap - device) under Windows: - - osgmovie 0 -e ffmpeg -O "format=vfwcap frame_rate=25" - - The number 0 just indicates a default device number in ffmpeg. - - I think this can work under Linux, too, and should be a bit - better than comparing the filename with a '/dev/' string. Just - type: - - ./osgmovie /dev/yourcam -e ffmpeg -O "format=video4linux2 - frame_rate=30 size=320x240"" - -2010-11-03 10:37 robert - - * include/osgDB/Options, src/osgDB/Options.cpp: From Wang Rui, "a - new parsePluginStringData() method in the osgDB::Options class - which will be automatically executed to parse option string to - the string data map" - -2010-11-03 10:04 robert - - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/StatsHandler.cpp: From Jean-Sebastien Guay, "For a - long time now I've wanted to be able to add custom values into - the stats handler's graph. Here is my proposal of how I'd do - this. It's surely not perfect and I'm open to suggestions, but - I've already made more changes than I wanted to in order to be - able to implement this... - - The user calls statsHandler->addUserStatsLine() providing: - - - the label they want for that line in the graph - - the text and bar colors they want in the graph - - the stats names they want queried (one for time taken, one for - begin and one for end time) and a few settings for how these will - be displayed. - - Then all they have to do is call - viewer->getViewerStats()->setAttribute(framenumber, name, value) - for their three attributes each frame and they'll have their - stats in the graph. - - They can also give only a time taken attribute (or some other - numerical value they want printed, which can be averaged or not), - or only begin+end attributes, and the graph will accordingly - display only the (average or not) numerical value or only the - bars. - - Along the way I cleaned up the existing code a bit: - - * Each time the setUpScene() or createCameraTimeStats() methods - added a line to the graph, they did pretty much the same thing, - so I moved that into a separate method called - createTimeStatsLine() which is called by setUpScene() and - createCameraTimeStats(). - - * I moved the font, characterSize, startBlocks and leftPos - variables to member variables, since they were being passed - around everywhere but were set only once at the beginning. - - * The geode on which stats lines are added is also kept in a - member variable, and createCameraTimeStats() adds the per-camera - lines to this geode instead of returning a new Group with a new - Geode. This further reduces the number of variables the - createCameraTimeStats() method needs as input. - - " - -2010-11-03 09:51 robert - - * src/osgViewer/StatsHandler.cpp: From Jean-Sebastien Guay, "For a - while now I've been bugged (pun) by a problem in the stats graph - I submitted a long time ago. When it scrolled, sometimes it would - scroll too little, leading to an empty space at the left that - would grow as time went by. I was in that code today for - something else so I fixed it. - " - -2010-11-03 09:28 robert - - * examples/osgautocapture/osgautocapture.cpp, - src/osg/FragmentProgram.cpp, src/osg/GLExtensions.cpp, - src/osg/Shader.cpp, src/osg/State.cpp, src/osg/Texture.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/VertexProgram.cpp: From David Fries, "Fix remote X11 - crash querying GL_NUM_EXTENSIONS - - In osg::isGLExtensionOrVersionSupported in - src/osg/GLExtensions.cpp when - using indirect X11 rendering, - glGetIntegerv( GL_NUM_EXTENSIONS, &numExt ); - is leaving numExt uninitilized causing the following glGetStringi - to - return NULL when the extension number isn't present. Passing NULL - to - std::string() then crashes. This is with the following nVidia - driver. - OpenGL version string: 3.3.0 NVIDIA 256.35 - - I went ahead and initialized some of the other variables before - glGetInitegerv in other files as well. I don't know for sure - which ones can fail, so I don't know which are strictly required. - " - -2010-11-02 14:00 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Chuck Seberino, - "Here is a minor fix for the vrml plugin when building with - Visual Studio 2010. 2010 has updated STL/TR1 libraries that - create a naming conflict with the current source. The fix is to - remove the 'using boost::next' line and use the fully-qualified - boost::next to get rid of the ambiguity. Here is the patch and - attached changes." - -2010-11-02 12:15 robert - - * include/osgTerrain/Terrain, src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/Terrain.cpp: From Brad Christiansen and Robert - Osfield, "I have added the new function as suggested. The change - was made against trunk from an hour or so ago. I haven't tested - the performance yet (and probably won't get a chance till next - week) but I have checked my terrains still work. I defaulted the - equalization to off as I thought this was best until we can look - into why there is the performance hit. - ", note from Robert, tweaked the names and enabled the code path. - -2010-11-02 11:44 robert - - * src/osg/BufferObject.cpp: From Mikhail Izmestev, "There is bug in - GLBufferObject::compileBuffer when changed not first buffer - entry, then generated - new wrong offset. - " - -2010-11-02 11:27 robert - - * src/osgPlugins/osg/ReaderWriterOSG2.cpp: Fixed function name - -2010-11-02 11:19 robert - - * src/osgWrappers/deprecated-dotosg/osgParticle/IO_Particle.cpp: - From Javier Taibo, " In current SVN code, when exporting an - osgParticle::Particle object to the .osg file format, it crashes - if no drawable was set in the particle. - - In the attached file - (src/osgWrappers/deprecated-dotosg/osgParticle/IO_Particle.cpp) I - have added a check for the existence of the drawable before - writing it to the file. - " - -2010-11-01 17:19 robert - - * src/osg/ArgumentParser.cpp: From John Ivar Haugland & Robert - Osfield, fix for bug in VisualStudio where it adds an redundent - '/n' on the end of the command line arguments for no reason. - -2010-11-01 17:05 robert - - * include/osg/Geometry, src/osg/Geometry.cpp: From Alexander Irion, - "When a osg::Geometry node is loaded from a ".osgb" file, there - is no element buffer object created for the primitives element - indices, although _useVertexBufferObjects is enabled. This bug - decreases the rendering performance." - -2010-11-01 17:02 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Sukender, fix for - incorrect for loop test. - -2010-11-01 13:57 robert - - * src/osg/Matrix_implementation.cpp: From Jan Peciva, "attaching - Matrix_implementation fix for two problems: - - - using m.getPerspective( fovy, tmp, tmp, tmp ) to get only FOV - does not work. - The reason is that getPerspective is taking tmp as reference - - thus all the three variables points to the same memory location. - Then, zNear (third parameter) is used inside the method, while - zNear content was spoiled by zFar that was written to the same - place, resulting in fovy set to nan. I consider that it is the - right of programmers to use 3 times tmp as parameter and I fixed - the code in the method. I have done the same for getFrustum and - getLookAt. - - - I fixed makeFrustum to accept infinite zFar. (Some graphics - techniques like shadow volumes require placing zFar to infinity - to avoid visual artifacts.)" - - Note from Robert Osfield, change the local near & far variable - names to temp_near and temp_far MS Visual Studio has a record of - using near and far names. - -2010-11-01 11:06 robert - - * examples/osgvolume/osgvolume.cpp, include/osgDB/FileUtils, - src/osgDB/FileUtils.cpp: 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 10:52 robert +Mon, 23 Jun 2014 12:02:41 +0000 +Checked in by : Robert OSFIELD +Fixed nested callback calling.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14264 16af8721-9629-0410-8352-f15c8da7e697 - * include/osgDB/FileNameUtils, src/osgDB/FileNameUtils.cpp: From - Jean-Sebastien Guay and Robert Osfield, cleaned up the way that - unix/windows file separators are managed. - -2010-11-01 10:31 robert - - * examples/osghud/CMakeLists.txt, include/osg/Shape: From Mathias - Goldau, "Added very brief documentation when to use the triangle - mesh class. I - generated the make doc_openscenegraph target to verify that this - change does - not break something. - " - -2010-10-29 15:18 robert - - * src/osgManipulator/Dragger.cpp: From Mikhail Izmestev, "I have - discovered problem with draggers from osgManipulator in HUD. - - This problem caused because osgManipulator::Dragger uses matrices - of top camera instead last - absolute Camera in NodePath. - - I attached modified osgManipulator/Dragger.cpp file, where added - code for finding last absolute - camera. With this changes draggers works in HUD. - - Example for demonstrate this problem you can find in osg-users - list [1]. - - Mikhail. - - [1] - http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/62636 - " -2010-10-29 09:56 robert +Mon, 16 Jun 2014 16:16:10 +0000 +Checked in by : Robert OSFIELD +Fixed check against totaly number of verticesgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14262 16af8721-9629-0410-8352-f15c8da7e697 - * src/osgPlugins/tiff/CMakeLists.txt: From Sherman Wilcox, "there's - a bug in the cmake file for the tiff plugin. See - attached. The problem was that the output files were not properly - setting the debug/release libs due to this cmake bug. What - occurred was - the release lib was set in all configurations." -2010-10-29 09:35 robert +Mon, 16 Jun 2014 08:54:54 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, "I've got some issues using osgb files within an big osga archive (file size > 2Go).Issue is described here : http://forum.openscenegraph.org/viewtopic.php?t=13914 - * examples/osganalysis/osganalysis.cpp: +Here is a fix, using "std::streampos" standard type for stream positions up to 64bits. +" -2010-10-29 08:33 robert - * src/osgViewer/CMakeLists.txt: Added X11_X11_LIB to LIB_EXTRA_LIBS - when build X11 version of osgViewer to enable use of Mesa's - GLES/EGL implementation +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14261 16af8721-9629-0410-8352-f15c8da7e697 -2010-10-29 08:31 robert - * src/osg/glu/libutil/error.cpp: Fixed warning +Fri, 13 Jun 2014 17:17:09 +0000 +Checked in by : Robert OSFIELD +Added osgUI::ColorPalette classgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14259 16af8721-9629-0410-8352-f15c8da7e697 -2010-10-28 15:52 robert - * src/osg/Geometry.cpp: Commented out unused ElapsedTimer +Fri, 13 Jun 2014 17:16:51 +0000 +Checked in by : Robert OSFIELD +Fixed typo in parameter namegit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14258 16af8721-9629-0410-8352-f15c8da7e697 -2010-10-28 14:04 robert - * src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp: Added use - ObjectWrapper's FinishObjectReadCallback to fix - VertexBufferObject handling in osg::Geometry - and a call to the TileLoaded callback in osgTerrain. +Thu, 12 Jun 2014 16:00:21 +0000 +Checked in by : Robert OSFIELD +Removed generation of scroll event on the X11 button release event as X11 was generating both a pair of press/release events for a single scroll when movement.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14257 16af8721-9629-0410-8352-f15c8da7e697 -2010-10-28 14:04 robert - * include/osgDB/ObjectWrapper, src/osgDB/ObjectWrapper.cpp: Added - FinishedObjectReadCallback to ObjectWrapper which allows - wrappers to register their own handling of post processing of - objects once they have been read. +Thu, 12 Jun 2014 15:24:34 +0000 +Checked in by : Robert OSFIELD +Added if () blocks to State::convertVertexShaderSourceToOsgBuiltIns() to ensure that only parts of the shader than need replacing are replaced.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14255 16af8721-9629-0410-8352-f15c8da7e697 -2010-10-28 14:01 robert - * include/osg/CopyOp, src/osg/Geometry.cpp: Added handling of - vertex buffer objects into osg::Geometry copy constructor. +Thu, 12 Jun 2014 14:12:30 +0000 +Checked in by : Robert OSFIELD +Improved positioning of combo box popup itemsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14253 16af8721-9629-0410-8352-f15c8da7e697 -2010-10-28 14:01 robert - * src/osgPlugins/ive/Geometry.cpp: Improved code style consistency +Thu, 12 Jun 2014 14:05:28 +0000 +Checked in by : Robert OSFIELD +Added frame support to ComboBox.Improved the alingment support for text -2010-10-28 14:00 robert - * src/osgUtil/IncrementalCompileOperation.cpp: Quitened down debug - messages +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14252 16af8721-9629-0410-8352-f15c8da7e697 -2010-10-27 13:49 robert - * include/osgText/Text: Fixed getEnableDepthWrites() naming. +Wed, 11 Jun 2014 16:31:17 +0000 +Checked in by : Robert OSFIELD +Added handling of AligmentSettings of Text layoutgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14251 16af8721-9629-0410-8352-f15c8da7e697 -2010-10-26 14:59 robert - * examples/osganalysis/osganalysis.cpp: Added command line options: - - --tristripper - --no-tristripper - --smoother - --no-smoother - - --remove-duplicate-vertices / --rdv - --optimize-vertex-cache / --ovc - --optimize-vertex-order / --ovo +Wed, 11 Jun 2014 10:55:33 +0000 +Checked in by : Robert OSFIELD +Implemented more robust intersection handling for mouse interactions. Wired up even handling of ComboBox popup.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14250 16af8721-9629-0410-8352-f15c8da7e697 -2010-10-25 13:42 robert - * examples/osganalysis/osganalysis.cpp, include/osgUtil/Statistics, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgViewer/Renderer.cpp, src/osgViewer/StatsHandler.cpp: Added - number of primitive sets to on screen stats +Tue, 10 Jun 2014 08:50:42 +0000 +Checked in by : Robert OSFIELD +Added using Callback::run() method to Drawable::CullCallbackgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14249 16af8721-9629-0410-8352-f15c8da7e697 -2010-10-23 09:51 robert - * examples/osganalysis/osganalysis.cpp: Added -o postfile option to - allow the output of processed files - - Disabled tri-stripping when simplifing to fix performance issue - that introduces. +Mon, 9 Jun 2014 13:46:44 +0000 +Checked in by : Robert OSFIELD +Fixed handling of Drawable callbacks and NumChildrenRequiringEventTraversalgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14248 16af8721-9629-0410-8352-f15c8da7e697 -2010-10-22 16:44 robert - * examples/osganalysis/osganalysis.cpp: Added StateSetManipulator - usage +Fri, 6 Jun 2014 15:05:31 +0000 +Checked in by : Robert OSFIELD +Removed redudent NodeVisitor::s/getUserData() as osg::Object provide this.Added using run entry to InteractiveImageHandler to quieten warning -2010-10-22 16:35 robert - * examples/osganalysis/osganalysis.cpp: Added support for enable - VBO's and doing simplification. -2010-10-22 12:28 robert - * examples/osganalysis/osganalysis.cpp: Cleaned up main loop, so - it's more readable, seperating out the paging and non paging - implementations +git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14247 16af8721-9629-0410-8352-f15c8da7e697 -2010-10-22 12:19 robert - * examples/osganalysis/osganalysis.cpp, - include/osgUtil/IncrementalCompileOperation, - src/osgUtil/IncrementalCompileOperation.cpp: Added paging support - to osganalysis example +Fri, 6 Jun 2014 09:12:43 +0000 +Checked in by : Robert OSFIELD +Added using NodeCallback::run() to avoid warningsgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14246 16af8721-9629-0410-8352-f15c8da7e697 -2010-10-21 16:29 robert - * include/osg/Image, include/osgDB/DatabasePager, - include/osgUtil/IncrementalCompileOperation, - src/osg/Geometry.cpp, src/osg/Image.cpp, - src/osgDB/DatabasePager.cpp, src/osgUtil/GLObjectsVisitor.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Integrated IncementalCompileOperation into DatabasePager. - - Improved various facilities in IncrementalCompileOperation. +Fri, 6 Jun 2014 09:01:25 +0000 +Checked in by : Robert OSFIELD +Added missing OSG_EXPORTgit-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14245 16af8721-9629-0410-8352-f15c8da7e697 -2010-10-21 16:28 robert - * examples/CMakeLists.txt, examples/osganalysis, - examples/osganalysis/CMakeLists.txt, - examples/osganalysis/osganalysis.cpp: Added new osganalysis - example as a testbed for profiling peformance of various aspects - of OSG/OpenGL and scene graphs. +Thu, 5 Jun 2014 16:26:13 +0000 +Checked in by : Robert OSFIELD +Refactored Callback system in osg::Node, osg::Drawable, osg::StateSet and osg::StateAttribute to use a new osg::Callback base class.git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14244 16af8721-9629-0410-8352-f15c8da7e697 -2010-10-14 18:16 robert - * include/osgDB/DatabasePager, include/osgDB/SharedStateManager, - include/osgUtil/IncrementalCompileOperation, - src/osgDB/CMakeLists.txt, src/osgDB/DatabasePager.cpp, - src/osgDB/SharedStateManager.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp: - Introduction of IncrementalCompileOperation support to - DatabasePager. +Wed, 4 Jun 2014 08:59:31 +0000 +Checked in by : Robert OSFIELD +Updated shaders from OpenSceneGraph-Data sources -2010-10-14 13:35 robert +Tue, 3 Jun 2014 15:05:51 +0000 +Checked in by : Robert OSFIELD +From Pjotr Sventachov and Robert Osfield, added callback unit test to osgcallback example, to use test run osgcallback --test, if everything is functioning then test1 to test7 messages should be reported to the console. - * include/osg/Texture2D, src/osg/Texture2D.cpp: Introduced - SubloadCallback::generatdTextureObject() method. +Tue, 3 Jun 2014 09:52:55 +0000 +Checked in by : Robert OSFIELD +Reverted change of Node::ParentList from being a vector back to a vector -2010-10-14 12:20 robert +Tue, 3 Jun 2014 09:23:24 +0000 +Checked in by : Robert OSFIELD +Refactor osg::Geode to subclass from osg::Group and reuse the NodeList children container - * src/OpenThreads/qt/QtThreadPrivateData.h: From Wang Rui, warning - fix. +Mon, 2 Jun 2014 16:20:39 +0000 +Checked in by : Robert OSFIELD +Removed OSG_USE_BOUND and associated osg::Bound adapter class to avoid problems with BoundingBox::expandBy/expandByRadius() implementation choosing a null BoundingBox from the osg::Bound class causing crashes. -2010-10-14 11:10 robert +Mon, 2 Jun 2014 08:13:39 +0000 +Checked in by : Robert OSFIELD +From Roni Zanolli, build fix for iPhone - * include/osg/GLU, src/osg/glu/libtess/tess.h: From Brad - Christiansen, fix function entry points under Windows to address - crash +Fri, 30 May 2014 16:44:36 +0000 +Checked in by : Robert OSFIELD +Implemented basic frame graphic -2010-10-14 09:31 robert +Thu, 29 May 2014 15:21:42 +0000 +Checked in by : Robert OSFIELD +Futher work on ComboBox/Popup - * src/OpenThreads/CMakeLists.txt, src/OpenThreads/qt, - src/OpenThreads/qt/CMakeLists.txt, - src/OpenThreads/qt/QtBarrier.cpp, - src/OpenThreads/qt/QtBarrierPrivateData.h, - src/OpenThreads/qt/QtCondition.cpp, - src/OpenThreads/qt/QtConditionPrivateData.h, - src/OpenThreads/qt/QtMutex.cpp, - src/OpenThreads/qt/QtMutexPrivateData.h, - src/OpenThreads/qt/QtThread.cpp, - src/OpenThreads/qt/QtThreadPrivateData.h: From Wang Rui, QT based - OpenThreads implementation +Thu, 29 May 2014 10:51:26 +0000 +Checked in by : Robert OSFIELD +Added beginnings of ComboBox popup functionality. -2010-10-13 15:03 robert +Wed, 28 May 2014 10:18:57 +0000 +Checked in by : Robert OSFIELD +Added cached Depth and ColorMask to reduce the amount of duplicate state in the osgUI subgraph - * include/osgUtil/IncrementalCompileOperation, - src/osgUtil/IncrementalCompileOperation.cpp: Added support for - using a custom osg::Geometry that attempts to force the OpenGL - driver - to download the texture object to graphics card. - - Calling - IncrementalCompileOperation::assignForceTextureDownloadGeometry() - assigns a geometry - to the job. +Wed, 28 May 2014 10:06:14 +0000 +Checked in by : Robert OSFIELD +Replaced Widget::GraphicsSubgraph with GraphicsSubgraphMap to allow finer control of when the rendering subgraphs are done. -2010-10-09 11:51 robert +Tue, 27 May 2014 14:14:51 +0000 +Checked in by : Robert OSFIELD +Improved handling of text - * src/osg/glu/libutil/mipmap.cpp: Changed the _ARB cube map defines - to non ARB versions. +Mon, 26 May 2014 16:32:20 +0000 +Checked in by : Robert OSFIELD +Removed Dialog/Popup::open/close() methods as they are replaced by the setVisible() method -2010-10-09 11:27 robert +Mon, 26 May 2014 16:27:33 +0000 +Checked in by : Robert OSFIELD +Implemented Widger::Visible and Enabled usage - * include/osg/TextureCubeMap: Removed redudent set up of GL_ - cubemap defines as these are now also in include/osg/Texture +Mon, 26 May 2014 16:15:33 +0000 +Checked in by : Robert OSFIELD +Added Visible and Enalbed properties to Widget -2010-10-08 18:53 robert +Mon, 26 May 2014 16:15:12 +0000 +Checked in by : Robert OSFIELD +Fixed missing initilaizer - * src/osgText/Text.cpp: Tempory fix for regression due to remove of - glPushAttrib/glPopAttrib +Mon, 26 May 2014 15:58:18 +0000 +Checked in by : Robert OSFIELD +Added item serializer -2010-10-08 18:13 robert +Fri, 23 May 2014 18:59:16 +0000 +Checked in by : Robert OSFIELD +Implemented clipping of widget to the widgets extents. - * examples/CMakeLists.txt: Disabled the build of Qt examples when - building against GLES1 & 2 as Qt GL includes OpenGL headers - itself that cause conflict. +Fri, 23 May 2014 15:00:49 +0000 +Checked in by : Robert OSFIELD +Implemented scheme for making sure nested widgest overdraw parent widgets graphics -2010-10-08 17:13 robert +Fri, 23 May 2014 15:00:09 +0000 +Checked in by : Robert OSFIELD +Added wrappers for open and close methods - * examples/CMakeLists.txt, - examples/osgviewerQtContext/GraphicsWindowQt, - src/osg/glu/libutil/error.cpp, src/osg/glu/libutil/mipmap.cpp, - src/osgText/Text.cpp, - src/osgWrappers/serializers/osgSim/OverlayNode.cpp: Build fixes - for GLES1, GLES2 and GL3 +Thu, 22 May 2014 10:02:35 +0000 +Checked in by : Robert OSFIELD +Added osgUI::Widget::set/getGraphicsSubgraph() to hold the subgraph that does the rendering portion of widgets -2010-10-08 11:20 robert +Wed, 21 May 2014 16:15:02 +0000 +Checked in by : Robert OSFIELD +Addd method implementation in serializers - * include/osg/GLU, include/osg/Texture3D, src/osg/Texture3D.cpp, - src/osg/glu/libutil/mipmap.cpp: Refactored the Texture3D - extension setup in osg::Texture3D and gluBuild3DMipmaps and - gluBuild3DMipmapLevels. +Wed, 21 May 2014 10:17:31 +0000 +Checked in by : Robert OSFIELD +Fixed handling of traverse -2010-10-07 11:53 robert +Wed, 21 May 2014 09:45:11 +0000 +Checked in by : Robert OSFIELD +Improved handling of callback object to open the door to use of general osg::CallbackObject as mechnisms for something simialr to Qt's signal/slot mechanism. - * examples/osgphotoalbum/PhotoArchive.cpp, - examples/osgtexture3D/osgtexture3D.cpp, include/osg/GLU, - include/osgUtil/Tessellator, src/osg/Image.cpp, - src/osg/glu/libtess/tess.cpp, src/osg/glu/libtess/tess.h, - src/osg/glu/libutil/error.cpp, src/osg/glu/libutil/mipmap.cpp, - src/osgPlugins/lwo/Tessellator.cpp, src/osgText/Glyph.cpp: - Introduced osg namespace to new local GLU functions +Wed, 21 May 2014 09:07:25 +0000 +Checked in by : Robert OSFIELD +Added osg::runNamedCallbackObjects(..) convinience method for run all named osg::CallbackObjects attached to an osg::Object -2010-10-07 10:51 robert +Wed, 21 May 2014 09:06:17 +0000 +Checked in by : Robert OSFIELD +Renamed callbacks to avoid overlap with Node callbacks - * examples/osgphotoalbum/PhotoArchive.cpp, include/osg/GLU, - include/osg/Image, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osg/glu/libutil/mipmap.cpp: Introduced new gluScaleImage - function that uses a PixelStorageModes structure to pass in - details on image packing, - rather than relying upon glGet's to get the values. +Tue, 20 May 2014 16:09:34 +0000 +Checked in by : Robert OSFIELD +Moved the _boundingSphere set method into the update section of the Drawable::getBoundingBox() methodAdded an UpdateVisitor::apply(Drawable&) implementation. -2010-10-06 19:09 robert - - * src/osg/glu/libutil/mipmap.cpp: Added #define GL_PROXY_TEXTURE_3D - -2010-10-06 18:51 robert - - * src/osg/glu/libutil/mipmap.cpp: Fixed warning - -2010-10-06 18:37 robert - - * src/osg/glu/libutil/mipmap.cpp: Changed tabs to 8 spaces - -2010-10-06 18:34 robert - - * src/osg/glu/libutil/mipmap.cpp: From Jean-Sebastien Guay and - Robert Osfield, build fix for Windows - -2010-10-06 18:29 robert - - * include/osg/Texture3D: Added #define for Windows build - -2010-10-06 17:19 robert - - * src/osg/glu/libtess/tess.h, src/osg/glu/libutil/mipmap.cpp: Added - #define GLAPIENTRY to attempt to resolve some Windows build - issues - -2010-10-06 16:36 robert - - * include/osg/Image, src/osg/glu/libutil/error.cpp, - src/osg/glu/libutil/mipmap.cpp: Added #define's and local - include to fix Windows GL 1.1 build against - -2010-10-06 16:29 robert - - * include/osg/GLU: From Jean-Sebasien Guay, fix windows compile - error - -2010-10-06 15:33 robert - - * src/osg/CMakeLists.txt: Removed gluois.h reference - -2010-10-06 15:14 robert - - * src/osg/CMakeLists.txt, src/osg/glu/libtess/geom.cpp, - src/osg/glu/libtess/gluos.h, src/osg/glu/libtess/mesh.cpp, - src/osg/glu/libtess/normal.cpp, - src/osg/glu/libtess/priorityq.cpp, - src/osg/glu/libtess/render.cpp, src/osg/glu/libtess/sweep.cpp, - src/osg/glu/libtess/tess.cpp, src/osg/glu/libtess/tessmono.cpp, - src/osg/glu/libutil/error.cpp, src/osg/glu/libutil/glue.cpp, - src/osg/glu/libutil/gluint.h, src/osg/glu/libutil/gluos.h, - src/osg/glu/libutil/mipmap.cpp: Removed usage gluos.h and - redundent gluint.h - -2010-10-06 14:44 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake, - examples/CMakeLists.txt, include/osg/GLExtensions, - include/osg/GLU, include/osgUtil/SceneGraphBuilder, - include/osgUtil/Tessellator, src/osg/CMakeLists.txt, - src/osg/Config.in, src/osg/GLExtensions.cpp, src/osg/Image.cpp, - src/osg/State.cpp, src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/glu, src/osg/glu/libtess, src/osg/glu/libtess/README, - src/osg/glu/libtess/alg-outline, src/osg/glu/libtess/dict-list.h, - src/osg/glu/libtess/dict.cpp, src/osg/glu/libtess/dict.h, - src/osg/glu/libtess/geom.cpp, src/osg/glu/libtess/geom.h, - src/osg/glu/libtess/gluos.h, src/osg/glu/libtess/memalloc.cpp, - src/osg/glu/libtess/memalloc.h, src/osg/glu/libtess/mesh.cpp, - src/osg/glu/libtess/mesh.h, src/osg/glu/libtess/normal.cpp, - src/osg/glu/libtess/normal.h, - src/osg/glu/libtess/priorityq-heap.cpp, - src/osg/glu/libtess/priorityq-heap.h, - src/osg/glu/libtess/priorityq-sort.h, - src/osg/glu/libtess/priorityq.cpp, - src/osg/glu/libtess/priorityq.h, src/osg/glu/libtess/render.cpp, - src/osg/glu/libtess/render.h, src/osg/glu/libtess/sweep.cpp, - src/osg/glu/libtess/sweep.h, src/osg/glu/libtess/tess.cpp, - src/osg/glu/libtess/tess.h, src/osg/glu/libtess/tessmono.cpp, - src/osg/glu/libtess/tessmono.h, src/osg/glu/libutil, - src/osg/glu/libutil/error.cpp, src/osg/glu/libutil/glue.cpp, - src/osg/glu/libutil/gluint.h, src/osg/glu/libutil/gluos.h, - src/osg/glu/libutil/mipmap.cpp, src/osgPlugins/CMakeLists.txt, - src/osgText/Glyph.cpp, src/osgUtil/Tessellator.cpp: Copied - libutil and libtess implementations in form Mesa 7.9/src/glu into - the src/osg/glu, - changed extensions from .c to .cpp and got compiling as C files - as part of the osg core library. - - Updated and cleaned up the rest of the OSG to use the new - internal GLU. - -2010-10-04 15:23 robert - - * include/osgDB/DataTypes, include/osgDB/InputStream, - include/osgDB/Serializer, src/osgDB/InputStream.cpp, - src/osgDB/OutputStream.cpp: Improved the handling of matrices in - serialization so that it's more reliable, - change was to use doubles for reading and writing matrices - regardless of type of Matrix - being serialized. - - Change does break backwards compatibility though, so code - path supporting original format has been left in for the - time being. However, this code is not reliable enough and - is over complicated compared to the simplified handling. Once - the new code has been bedded down for a while I'll remove this - code block. - -2010-10-04 11:29 robert - - * src/osg/Referenced.cpp: From Stephan Huber, "just a follow-up: I - looked at the code of osg/Referenced.cpp and notice - a discrepancy in getOrCreateObserverSet. For the atomic- and - mutex-codepaths the newly created observerset gets manually - ref'ed, but - not in the codepath used when OPENTHREADS_ATOMIC_USE_MUTEX is - defined. I - added the manual ref and tadaaa, the crash went away." - -2010-10-04 11:24 robert - - * src/osgParticle/Particle.cpp: Added glMultMatrixf path for GLES1 - -2010-10-04 11:19 robert - - * examples/osgvolume/osgvolume.cpp: Added checks for NULL images to - prevent crashes when no valid images are created - -2010-10-01 18:02 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Wojciech Lewandowski, - "As promised I prepared a patch to expose WGL_SWAP_METHOD / - PFD_SWAP_METHOD selection via GraphicsContext::Traits. Since - Traits don't define any enums (I guess to be simple to use) I - tried to keep it that way and have added two boolean values: - swapCopy & swapExchange. It is somewhat similar approach to GDI - PixelFormatDescription were both options can be present together. - Feel free to replace it with enum if you find it more - appropriate. - - I also uderstand that there is a need to select system wide - default method and have also modified DisplaySettings to contain - swapMethod parameter. Swap method in Traits uses value set in - DisplaySettings as default. Proper environment and command line - args were added. Its possible to define default DeisplaySettings - swap method in standard way via system flags or with comand line. - - Env Vars: - OSG_SWAP_METHOD = DEFAULT | COPY | EXCHANGE - or Command Line: - --swap-method DEFAULT | COPY | EXCHANGE - - I also added handling of WM_ERASEBKGND in GraphicsWindowWin32. It - may be unneccessary but code should be safer this way than - without handling it. I have placed a comment explaining the - reason above the change. - - Changes were made against today trunk. - - PS. I tested only Windows code. I briefly checked X11 & Cocoa - files but have not noticed SwapMethod to be used there. - " - -2010-10-01 17:07 robert - - * include/osgDB/Serializer: - -2010-10-01 15:58 robert - - * src/osg/DisplaySettings.cpp: From Magnes Kessler, "Attached are - some fixes for the environment variable help strings in - DisplaySettings. They contain spelling fixes and an attempt to - use consistent - expressions throughout." - -2010-10-01 15:37 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: From - Wojciech Lewandowski,"These are our changes to DatabasePager. To - check if parent PLOD is registered, I resurrected - PagedLODList::containsPagedLOD() method. This method was - available some time ago, but got removed and was not currently - present in trunk. To add this method I had to also modify the - DatabasePager header. " - -2010-09-30 16:57 robert - - * examples/osgvirtualprogram/VirtualProgram.h, - include/osg/BlendColor, include/osg/BlendEquation, - include/osg/BlendFunc, include/osg/ClampColor, - include/osg/ClipPlane, include/osg/ColorMask, - include/osg/ColorMatrix, include/osg/CullFace, include/osg/Depth, - include/osg/Fog, include/osg/FragmentProgram, - include/osg/FrontFace, include/osg/Hint, include/osg/Light, - include/osg/LightModel, include/osg/LogicOp, - include/osg/Multisample, include/osg/Point, include/osg/Scissor, - include/osg/Stencil, include/osg/TexEnvFilter, - include/osg/VertexProgram, include/osg/Viewport, - include/osgFX/Validator, src/osg/PointSprite.cpp, - src/osg/PolygonStipple.cpp, src/osg/Program.cpp, - src/osg/StencilTwoSided.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture2DMultisample.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osgPlugins/cfg/VisualChooser.cpp: From Magnus Kessler, "After - a closer look at this particular issue, I used some grep and sed - magic - to fix all occurrences of "macro's" and "paramter". - " - -2010-09-30 16:31 robert - - * src/osgPlugins/ive/Image.cpp: From Craig Bosma, "Attached is an - updated Image.cpp that fixes a very specific - compatability regression that was introduced almost 2 years ago - in - r8834. The IVE version number was bumped to 32 because of the - change - in binary layout, but the guard for reading/writing the new field - was - checked against 31. Of course this only causes a problem (as for - us) - when you've produced IVE files at version 31, which no longer - load (or - crash) when loaded by newer OSG/IVE versions." - -2010-09-30 16:03 robert - - * include/osgDB/Serializer: From Chuck Seberino, "Here is a small - optimization in osgDB/Serializer that only uses a single accessor - call when retrieving serializable values during writing. This is - a sizable win for some of my code since the getter() methods are - non-trivial. I also removed some explicit namespace qualifiers to - be consistent with the rest of the codebase." - -2010-09-30 14:25 robert - - * include/osg/DisplaySettings, include/osg/GraphicsContext, - src/osg/DisplaySettings.cpp, src/osg/GraphicsContext.cpp: From - WojciechLewandowski, Added DispaySettings::SwapMethod and support - for it in GraphicsContext::Traits - -2010-09-30 09:40 robert - - * src/osgPlugins/QTKit/ReaderWriterQTKit.mm: From Stephan Huber, - fixed build under OSX 10.5. - -2010-09-30 09:34 robert - - * include/osgDB/XmlParser, src/osgDB/XmlParser.cpp, - src/osgPlugins/osg/XmlStreamOperator.h: From Wang Rui, "I've - fixed the problem that osgx format doesn't read the Font property - and wrapped string correctly. The first problem happened because - the matchString() made a mistake in comparing two strings with - the same start but different size. The second just needs complete - rewriting of writeWrappedString() and readWrappedString() in - src/osgPlugins/osg/XmlStreamOperator.h - - I also fixed a possible bug in osgDB::XmlParser that doesn't - handle control characters (like " to ") when reading node - attributes, because the writeWrappedString() and - readWrappedString() now depend heavily on control characters. An - additional improvement is that osgx now supports comments." - -2010-09-29 13:21 robert - - * src/osgText/Text3D.cpp: Fixed Text3D's handling of character - aspect ratio. - -2010-09-29 12:45 robert - - * examples/osgtext3D/osgtext3D_orig.cpp, include/osgText/Text3D, - include/osgText/TextBase, src/osgText/Text.cpp, - src/osgText/Text3D.cpp, src/osgText/TextBase.cpp: Moved handling - of character aspect ratio into osgText::Style. - -2010-09-29 12:38 robert - - * examples/osgtext/osgtext.cpp: Added command line option for - writing out the scene graph to file. - -2010-09-29 11:34 robert - - * include/osgText/Text, include/osgText/Text3D, - include/osgText/TextBase, src/osgText/Text.cpp, - src/osgText/Text3D.cpp, src/osgText/TextBase.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_Text.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_Text3D.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_TextBase.cpp, - src/osgWrappers/serializers/osgText/Text.cpp, - src/osgWrappers/serializers/osgText/Text3D.cpp, - src/osgWrappers/serializers/osgText/TextBase.cpp: Moved - set/getFont from Text/Text3D into TextBase - -2010-09-29 11:09 robert - - * include/osgText/Font, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, src/osgText/Text3D.cpp, - src/osgText/TextNode.cpp: Removed getScale() parameter from - osgText::Font - -2010-09-29 10:54 robert - - * src/osg/CullSettings.cpp: Fixed type of numberical constant - -2010-09-27 17:11 robert - - * include/osgText/Text3D, src/osgText/Glyph.cpp, - src/osgText/GlyphGeometry.cpp, src/osgText/Text3D.cpp: Moved - Text3D across to using Style for character thickness. - Quitened down debug messages in 3D text geometry creation. - Improved the Text3D implementation of the new 3D text geometry. - -2010-09-27 16:18 robert - - * examples/osgtext3D/osgtext3D_orig.cpp, include/osgText/Glyph, - include/osgText/Text3D, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgText/Glyph.cpp, src/osgText/GlyphGeometry.cpp, - src/osgText/GlyphGeometry.h, src/osgText/Text3D.cpp: Added - support for osgText::Style into osgText::Text3D. - Refactored Text3D implementation to use new GlyphGeometry class. - Implemented GlyphGeometry backend and cleaned up Glyph3D - interface. - -2010-09-27 09:58 robert - - * src/osgPresentation/SlideShowConstructor.cpp: Changed the reading - of animation paths so that it's always done without using the - osgDB object cache. - This fixes a bug of reusing the animination path in an P3D file. - -2010-09-26 11:02 robert - - * include/osgText/Glyph: Added include to fix compile - error - -2010-09-24 14:53 robert - - * include/osg/AlphaFunc, include/osg/AnimationPath, - include/osg/ArgumentParser, include/osg/TexEnv, - include/osg/TexEnvFilter, include/osg/TexGen, - include/osg/TexGenNode, include/osg/TexMat, include/osg/Texture, - include/osg/Texture1D, include/osg/Texture2D, - include/osg/Texture2DArray, include/osg/Texture3D, - include/osg/TextureCubeMap, include/osg/Timer, - include/osg/TransferFunction, include/osg/Vec2f, - include/osg/Vec3s, include/osg/VertexProgram, - include/osg/Viewport: From Alexander Wiebel, "I did some spell - checking in my spare time. Here come 20 files." - -2010-09-24 14:40 robert - - * include/osg/GLObjects: From Jean-Sebastien Guay, "Changeset 10833 - renames discardAllDeletedGLObjects() to discardAllGLObjects() in - src/osg/GLObjects.cpp, but the declaration of the function in - include/osg/GLObjects remained. So an app using an old version of - OSG that called this function would now fail with a linker error - instead of a compile error as it should. - - Removed the declaration. Also fixed a small typo in the following - doxygen comment." - -2010-09-24 14:38 robert - - * CMakeLists.txt, include/osg/Version, include/osg/io_utils: From - Mikhail Izmestev, "This patch fixes operator >> used with - std::istream without std::ios::skipws flag. This allow using - boost::lexical_cast with osg vectors types, because boost's - lexical_cast disable std::ios::skipws flag of std::istream before - using operator >>. - " - -2010-09-24 12:59 robert - - * CMakeLists.txt, CMakeModules/FindCoreVideo.cmake, - CMakeModules/FindQTKit.cmake, src/osgDB/Registry.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/QTKit, - src/osgPlugins/QTKit/CMakeLists.txt, - src/osgPlugins/QTKit/ReaderWriterQTKit.mm: From Eric Wing, QTKit - plugin for reading movies under OSX using QTKit + CoreVideo - -2010-09-24 12:57 robert - - * include/osgText/Font, include/osgText/Glyph, - include/osgText/Style, include/osgText/TextNode, - src/osgText/CMakeLists.txt, src/osgText/Glyph.cpp, - src/osgText/Style.cpp, src/osgText/TextNode.cpp: Moved Style and - Bevel classes out into their own include/osgText/Style header. - - Introduced GlyphGeometry class for handling the geometry data for - rendering 3D text - -2010-09-23 16:12 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp: Refactored - the handling of readImage/writeImage/readObject/writeObject to - avoid double setting of unique ID's, fixing the problem in - reading/writing files with images - -2010-09-22 09:50 robert - - * include/osgText/Font3D: Added deprecated notices. - -2010-09-21 11:40 robert - - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - release - -2010-09-21 10:28 robert - - * include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - src/osgViewer/GraphicsWindowCocoa.mm: From David Guthrie, "The - cocoa version of the window for Mac OS X doesn't implement the - requestWarpPointer function, but it turns out that the code from - the Carbon version of the window is the same because it uses the - windowing interface, so it this version, based on 2.8.3 - GraphicsWindowCocoa, I copied the function over. The trunk - version it also missing the function and the code looks to be - very similar, so I assume it will transfer simply enough. - " - -2010-09-20 16:04 robert - - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Per - Fahlberg, "imageio was not spelled correctly when registering the - plugin, attached is a fixed version of ReaderWriterImageIO.cpp." - -2010-09-20 11:50 robert - - * examples/osgparticleshader/osgparticleshader.cpp, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystemUpdater, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleSystemUpdater.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystemUpdater.cpp: - From Wang Rui, reverted changes to osgPartcile that caused - problems with osgparticleeffects. - -2010-09-20 11:02 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Ulrich Hertlein, - "attached is a fix that addresses these compiler warnings from - the 64-bit OS X build: - - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp: - In - function ?std::string getFileName(const std::string&)?: - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:88: - warning: comparison is always false due to limited range of data - type - - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp: - In - function ?bool is83(const std::string&)?: - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:102: - warning: comparison is always false due to limited range of data - type - - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp: - In - function ?bool is3DSpath(const std::string&, bool)?: - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:118: - warning: comparison is always false due to limited range of data - type - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:121: - warning: comparison is always true due to limited range of data - type - - The code was using 'unsigned int' in places where it should've - used 'size_t' for correct - comparison with 'std::string::npos' (which is size_t). - " - -2010-09-17 15:41 robert - - * CMakeModules/FindCOLLADA.cmake: From Mathieu Marache, "This - modified version of FindCOLLADA finds it correctly when installed - with macports - as in 'port install collada-dom'" - -2010-09-17 15:39 robert - - * include/osgParticle/RandomRateCounter: Add clamping of the - maximum number of particles per frame to avoid too many particles - being introduced at once when the particle system comes back on - screen. - -2010-09-17 14:26 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated ChangeLog, AUTHORS for 2.9.9 dev release - -2010-09-17 13:33 robert - - * examples/osgtext3D/osgtext3D.cpp, - examples/osgtext3D/osgtext3D_test.cpp, - src/osgPlugins/pov/POVWriterNodeVisitor.cpp, - src/osgText/GlyphGeometry.cpp, src/osgText/Text3D.cpp: Build - fixes for when OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION is - disabled - -2010-09-17 13:09 robert - - * include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: Reverted changes from - Vivien Delage as there were some regressions discovered. Will - need to revist this code to deal with bugs that Vivien was - tackling. - -2010-09-17 11:20 robert - - * examples/osgoutline/osgoutline.cpp: From Ulrich Hertlein, "I've - added a command line switch '--testOcclusion' that enables - display of other models in - front and behind the outlined object." - -2010-09-16 13:04 robert - - * src/osgPlugins/quicktime/QTLiveUtils.cpp, - src/osgPlugins/quicktime/QuicktimeLiveImageStream.cpp: From - Magnus Kessler, "Changes to the quicktime plugin to remove unused - variables and an unused - static function." - -2010-09-16 10:33 robert - - * include/osg/Vec2b, include/osg/Vec2d, include/osg/Vec2f, - include/osg/Vec2s, include/osg/Vec3b, include/osg/Vec3d, - include/osg/Vec3f, include/osg/Vec3s, include/osg/Vec4b, - include/osg/Vec4d, include/osg/Vec4f, include/osg/Vec4s, - include/osg/Vec4ub: From Alexander Wiebel, "I came across some - functions in Vec* that I thought could benefit from some - doxygen documentation. Additionally, I made the comment on - value_type more - meaningful (in my opinion)." - -2010-09-16 09:49 robert - - * include/osg/Camera, include/osgGA/DriveManipulator: From Magnus - Kessler, "I'm resubmitting a slightly different version of the - changes you left out for - osg/Camera. The ::glName issue masked the fact that the "(..)" - isn't handled - well in doxygen and leads to "(." in the generated files. - - I'm also submitting a minor documentation fix to - osgGA/DriveManipulator to get - it out of my patch queue ;)" - -2010-09-16 09:09 robert - - * include/osgText/Text, src/osgText/Text.cpp: From March Sciabica, - "Here is the solution I coded up over the weekend. For improved - performance option, I added a flag to control whether the depth - writing - pass is performed. - - Since text is alpha-blended when rendering, it is placed in the - transparent bin and rendered back to front. Writing to the depth - buffer - should therefore be unnecessary. Indeed, rendering something - behind text - (or any blended object) after that object is drawn will give - incorrect - results whether the depth buffer is written or not. I therefore - think it - is safe to keep this option off by default. Users can turn it on - for any - special needs they have. - - I did not fix the existing backdrop implementations to work with - the new - code since this new method of rendering intrinsically handles - backdrops - correctly. Its results are more accurate than all of the existing - backdrop implementations. Its only downside is that it requires - two - passes if depth buffer updates are desired, whereas DEPTH_RANGE - and - POLYGON_OFFSET achieve their (less accurate) results in one pass. - The - NO_DEPTH_BUFFER method also only uses one pass, but it disables - depth - tests and not depth writes so will have serious problems if - anything is - drawn in front of the text before OR after the text is drawn. - - Given the better all-around behavior of the new method, I believe - the - other backdrop implementations can be safely removed. Code that - adjusts - the backdrop implementation will of course be broken if the - member - functions are removed. For this reason I left them in, but set - the new - rendering method as the default backdrop implementation. At the - very - least I think the old backdrop implementations should be - deprecated and - removed at a later date. - " - - Note from Robert Osfield, testing this submission with osgtext I - found that the - text would not render correctly when different text labels were - overlapping - in deth and screen space. I change _enableDepthWrites to default - to true and - found the that which artifacts still occurred around the alpha - blended edges - the artifacts where better than issue with occlusion of nearer - pixels that was - happening with _enableDepthWrites set to false.I therefore set - the - _enableDepthWrites to true as I feel it's the lesser of the two - artefacts. - -2010-09-16 08:46 robert - - * src/osgDB/OutputStream.cpp: From Mathias Fielder, "i found an - issue with the serializer writing shared arrays. At - OutputStream::writeArray(), if the currently latest array is - shared the full array content will be written. - The following code snippet will reproduce this issue: - - - Code: - - osg::Vec2 vec(0.f, 0.f); - osg::Array* sharedArray = new osg::Vec2Array(1, & vec); - - // create 2 geometries sharing same array - osg::Geometry* geom0 = new osg::Geometry; - osg::Geometry* geom1 = new osg::Geometry; - geom0->setVertexArray(sharedArray); - geom1->setVertexArray(sharedArray); - - osg::ref_ptr geode = new osg::Geode; - geode->addDrawable(geom0); - geode->addDrawable(geom1); - - std::stringstream buffer; - - // write node - osg::ref_ptr options = new - osgDB::Options("Ascii"); - osgDB::ReaderWriter* rw = - osgDB::Registry::instance()->getReaderWriterForExtension("osgt"); - osgDB::ReaderWriter::WriteResult wr = rw->writeNode(*geode, - buffer, options.get()); - - // print result; array will be written twice with full content, - though with same ID - std::cout << buffer.str() << std::endl; - - // trying to read back node will print warnings about unmatched - properties - osgDB::ReaderWriter::ReadResult rr = rw->readNode(buffer, - options.get()); - - - - - To fix this i made a change in OutputStream::writeArray(). - I think the same issue applies to OutputStream::writeObject(). So - i made the same change there. - " - -2010-09-15 13:24 robert - - * src/osgPlugins/dxf/dxfEntity.cpp: From Paul de Repentigny, - Commented out section of code that didn't work properly - -2010-09-15 13:04 robert - - * examples/osgparticleshader/osgparticleshader.cpp: Fixed warning - -2010-09-15 12:50 robert - - * applications/present3D/present3D.cpp: From Magnus Kessler, "Fix a - small typo in present3D usage string" - -2010-09-15 12:00 robert - - * CMakeLists.txt, examples/osggeometry/osggeometry.cpp, - examples/osgoccluder/osgoccluder.cpp, include/osg/Camera, - include/osg/CameraView, include/osg/GraphicsContext, - include/osg/OccluderNode, include/osg/Referenced, - include/osg/observer_ptr, include/osgDB/ReaderWriter, - include/osgViewer/CompositeViewer, include/osgWidget/Browser: - From Magnus Kessler, "Attached are a number of files where I have - tried to fix up some of the - documentation. I have accumulated them over some time, but - rebased onto the - subversion trunk." - -2010-09-15 11:36 robert - - * src/osgPlugins/txp/TXPPagedLOD.cpp: From Laura Cerritelli, "I - modified TXPPagedLOD::traverse to prevent the terrain from - inappropriately unloading the higher level of detail tiles. It - wasn?t updating the frame number of the tile or the range it was - traversing, causing PagedLOD::removeExpiredChildren to always - consider the range expired." - -2010-09-15 11:32 robert - - * src/osgDB/SharedStateManager.cpp: From Wang Rui, "I've fixed some - pen-slips in SharedStateManager.cpp, which writing the - last few examples for my to-be-finished book. I also do a minor - fix to - the share() method to make it work for geodes, too." - -2010-09-15 11:27 robert - - * include/osg/OcclusionQueryNode, src/osg/OcclusionQueryNode.cpp: - From Lukasz Izdebski, "I made some changes in OcclusionQueryNode - file. - I move declaration of classes TestResult, QueryGeometry from cpp - to header file and made a void createSupportNodes() a virtual - method. - - Now is possible to inherit from class OcclusionQueryNode." - -2010-09-15 11:10 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h: Renamed file3ds and - options member variables to _file3ds and _options to avoid - confusion and keep the code consistent with the rest of the - class/OSG. - - Added _option parameter to writeImageFile(..) call. - -2010-09-15 10:50 robert - - * src/osgFX/Outline.cpp: From Todd Furlong, "I made a couple of - changes to the osgFX::Outline class (SVN patch attached). I had a - couple of issues with it that I was trying to resolve: - - 1. When an outline object was occluded by another object, the - backfacing wireframe was exposed. To fix that, I removed the - disabling of GL_DEPTH_TEST. - - 2. In some cases, the outline color was the same color as the - geometry being drawn instead of the specified color. I'm not sure - I have completely fixed this issue, but I did make some changes - to match up to how we do a scribe effect." - -2010-09-15 10:24 robert - - * src/osgDB/Registry.cpp, src/osgPlugins/curl/ReaderWriterCURL.cpp: - Added https, ftp and ftps to list of supported server protocols, - and add ability for curl plugin to ignore the need for a server - address when .curl extension is used. - -2010-09-15 09:56 robert - - * include/osg/Stencil, include/osg/StencilTwoSided, - src/osg/Stencil.cpp, src/osg/StencilTwoSided.cpp: From Jan - Peciva, "please, find attached improved Stencil and - StencilTwoSided classes. - - Goals: - - to handle INCR_WRAP values nicely if not supported by OpenGL - (old hardware) - - to support two side stenciling of OpenGL 2.0. Current - implementation does not work on ATI as it uses Nvidia extension. - - Ready for commit: - - Stencil and Stencil.cpp - please, review them - - Ready with "hack": - - StencilTwoSided.cpp: please, see the line 113 in apply(): - - glEnable(GL_STENCIL_TEST_TWO_SIDE); - - This line used to be in getModeUsage() as - - usage.usesMode(GL_STENCIL_TEST_TWO_SIDE); - - but it produces OpenGL errors on ATI as it is unknown value there - (it is Nvidia extension). - Problems with my "glEnable" solution: - - it enables two side stenciling forever, and it will disturb any - other single-side stenciling in the scene graph. - " - -2010-09-15 09:24 robert - - * include/osgParticle/BoxPlacer, - include/osgParticle/CompositePlacer, - include/osgParticle/MultiSegmentPlacer, - include/osgParticle/Particle, include/osgParticle/Placer, - include/osgParticle/SectorPlacer, - include/osgParticle/SegmentPlacer, src/osgParticle/Particle.cpp, - src/osgParticle/ParticleSystem.cpp: From Wang Rui, "I've changed - it back to _alive, _current_size and _current_alpha, and placed - them one by one for setTexCoordPointer() to use. - - All size() methods are now renamed to volume(). At present only - the CompositePlacer will use it for randomly choose a place - according to the volumes of all children. - " - -2010-09-14 15:47 robert - - * examples/CMakeLists.txt, examples/osgparticleshader, - examples/osgparticleshader/CMakeLists.txt, - examples/osgparticleshader/osgparticleshader.cpp, - include/osgParticle/AngularDampingOperator, - include/osgParticle/BounceOperator, - include/osgParticle/BoxPlacer, - include/osgParticle/CompositePlacer, - include/osgParticle/DampingOperator, - include/osgParticle/DomainOperator, - include/osgParticle/ExplosionOperator, - include/osgParticle/MultiSegmentPlacer, - include/osgParticle/Operator, include/osgParticle/OrbitOperator, - include/osgParticle/Particle, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/ParticleSystemUpdater, - include/osgParticle/Placer, include/osgParticle/SectorPlacer, - include/osgParticle/SegmentPlacer, - include/osgParticle/SinkOperator, - src/osgParticle/BounceOperator.cpp, - src/osgParticle/CMakeLists.txt, - src/osgParticle/DomainOperator.cpp, - src/osgParticle/ModularProgram.cpp, src/osgParticle/Particle.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgParticle/ParticleSystemUpdater.cpp, - src/osgParticle/SinkOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_AngularDampingOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_BounceOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_DampingOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_DomainOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ExplosionOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_OrbitOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_Particle.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleSystem.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleSystemUpdater.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_SinkOperator.cpp, - src/osgWrappers/serializers/osgParticle/AngularDampingOperator.cpp, - src/osgWrappers/serializers/osgParticle/BounceOperator.cpp, - src/osgWrappers/serializers/osgParticle/DampingOperator.cpp, - src/osgWrappers/serializers/osgParticle/DomainOperator.cpp, - src/osgWrappers/serializers/osgParticle/ExplosionOperator.cpp, - src/osgWrappers/serializers/osgParticle/OrbitOperator.cpp, - src/osgWrappers/serializers/osgParticle/Particle.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/serializers/osgParticle/SinkOperator.cpp: Form - Wang Rui, "An initial GLSL shader support of rendering particles. - Only the POINT - type is supported at present. The attached osgparticleshader.cpp - will - show how it works. It can also be placed in the examples folder. - But I - just wonder how this example co-exists with another two - (osgparticle - and osgparticleeffect)? - - Member variables in Particle, including _alive, _current_size and - _current_alpha, are now merged into one Vec3 variable. Then we - can - make use of the set...Pointer() methods to treat them as vertex - attribtues in GLSL. User interfaces are not changed. - - Additional methods of ParticleSystem are introduced, including - setDefaultAttributesUsingShaders(), setSortMode() and - setVisibilityDistance(). You can see how they work in - osgparticleshader.cpp. - - Additional user-defined particle type is introduced. Set the - particle - type to USER and attach a drawable to the template. Be careful - because - of possible huge memory consumption. It is highly suggested to - use - display lists here. - - The ParticleSystemUpdater can accepts ParticleSystem objects as - child - drawables now. I myself think it is a little simpler in - structure, - than creating a new geode for each particle system. Of course, - the - latter is still compatible, and can be used to transform entire - particles in the world. - - New particle operators: bounce, sink, damping, orbit and - explosion. - The bounce and sink opeartors both use a concept of domains, and - can - simulate a very basic collision of particles and objects. - - New composite placer. It contains a set of placers and emit - particles - from them randomly. The added virtual method size() of each - placer - will help determine the probability of generating. - - New virtual method operateParticles() for the Operator class. It - actually calls operate() for each particle, but can be overrode - to use - speedup techniques like SSE, or even shaders in the future. - - Partly fix a floating error of 'delta time' in emitter, program - and - updaters. Previously they keep the _t0 variable seperately and - compute - different copies of dt by themseleves, which makes some - operators, - especially the BounceOperator, work incorrectly (because the dt - in - operators and updaters are slightly different). Now a - getDeltaTime() - method is maintained in ParticleSystem, and will return the - unique dt - value (passing by reference) for use. This makes thing better, - but - still very few unexpected behavours at present... - - All dotosg and serialzier wrappers for functionalities above are - provided. - - ... - - According to some simple tests, the new shader support is - slightly - efficient than ordinary glBegin()/end(). That means, I haven't - got a - big improvement at present. I think the bottlenack here seems to - be - the cull traversal time. Because operators go through the - particle - list again and again (for example, the fountain in the shader - example - requires 4 operators working all the time). - - A really ideal solution here is to implement the particle - operators in - shaders, too, and copy the results back to particle attributes. - The - concept of GPGPU is good for implementing this. But in my - opinion, the - Camera class seems to be too heavy for realizing such - functionality in - a particle system. Myabe a light-weight ComputeDrawable class is - enough for receiving data as textures and outputting the results - to - the FBO render buffer. What do you think then? - - The floating error of emitters - (http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2009-May/028435.html) - is not solved this time. But what I think is worth testing is - that we - could directly compute the node path from the emitter to the - particle - system rather than multiplying the worldToLocal and LocalToWorld - matrices. I'll try this idea later. - " - -2010-09-14 13:19 robert - - * include/osg/Texture, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp: From - Ulrich Hertlein, "not sure how severe this is but I believe - there's a bug in - Texture.cpp:applyTexImage2D_subload: - - - unsigned char* data = = (unsigned char*)image->data(); - if (needImageRescale) { - // allocates rescale buffer - data = new unsigned char[newTotalSize]; - - // calls gluScaleImage into the data buffer - } - - const unsigned char* dataPtr = image->data(); - // subloads 'dataPtr' - - // deletes 'data' - - - In effect, the scaled data would never be used. - - I've also replaced bits of duplicate code in - Texture1D/2D/2DArray/3D/Cubemap/Rectangle - that checks if the texture image can/should be unref'd with - common functionality in - Texture.cpp. - - " - -2010-09-14 13:19 robert - - * include/osg/Image: Moved GL_RED and associated GL defines that - aren't defined by GLES into the include/osg/Image to aid - portability. - -2010-09-09 16:49 robert - - * include/osgDB/DataTypes, include/osgWidget/Input, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgWidget/Input.cpp, src/osgWidget/WindowManager.cpp: From - Jean-Sebastien Guay, "osgWidget::WindowManager did nothing in its - keyUp event, and in particular didn't call any callbacks. Since I - wanted to have callbacks on keyUp, I copied what it does on - keyDown, which works for me. I could have just used keyDown and - saved myself the trouble, but you know me... :-) - - osgWidget::Input: - - [Functional changes] - - Previously, the field would be filled with spaces up to its max - length, and typing would just replace the spaces. Also, there was - a _textLength variable that kept track of the real length of text - in the field, since the osgText::Text's length just reflected the - length of spaces+text entered. This was not great, as you could - still select the spaces with the mouse and it just feels hacky. - So I changed it to only contain the text entered, no spaces, and - _textLength was removed since it's now redundant (the - osgText::Text's length is used instead). - - Fixed the selection size which (visually only) showed one more - character selected than what was really selected. - - Fixed selection by dragging the mouse, it would sometimes not - select the last character of the string. - - Cursor will now accurately reflect whether insert mode is - activated (block cursor) or we're in normal mode (line cursor) - like in most editors. - - Implemented Ctrl-X (cut) - - Added a new clear() method that allows the field to be emptied - correctly. Useful for a command line interface, for example - (hint, hint). - - Mouse and keyboard event handler methods would always return - false, which meant selecting with the mouse would also rotate the - trackball, and typing an 's' would turn on stats. - - [Code cleanup] - - Renamed the (local) _selectionMin and _selectionMax variables - which are used in a lot of places, as the underscores would lead - to think they were members. Either I called them - selection{Min|Max} or delete{Min|Max} where it made more sense. - - Fixed some indenting which was at 3 spaces (inconsistently), - I'm sure I didn't catch all the lines where this was the case - though. - - Put spaces between variable, operator and value where missing, - especially in for()s. Again I only did this where I made changes, - there are probably others left. - - The result is that delete, backspace, Ctrl-X, Ctrl-C, Ctrl-V, and - typing behaviour should now be consistent with text editor - conventions, whether insert mode is enabled or not. I hope. :-) - - Note, there's a nasty const_cast in there. Why isn't - osgText::Font::getGlyph() declared const? - - Also, as a note, the current implementation of cut, copy and - paste (in addition to being Windows only, yuck) gets and puts the - data into an std::string, thus if the osgText::String in the - field contains unicode characters I think it won't work - correctly. Perhaps someone could implement a proper clipboard - class that would be cross-platform and support osgText::String - (more precisely other languages like Chinese) correctly? Cut, - copy and paste are not critical to what I'm doing so I won't - invest the time to do that, but I just thought I'd mention it. - " - -2010-09-09 10:44 robert - - * CMakeModules/FindCOLLADA.cmake, - include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: From Torben Dannhauer, "I - extended the attached CMAKE module to search for the collada - libraries of my VS2008 3rdParty package if no other library is - found. - - No CMAKE should recognize all libraries of the VS2008 3rdParty - Package." - -2010-09-09 10:17 robert - - * src/osgPlugins/dxf/dxfEntity.cpp: From Joachim Pouderoux, "Please - find attached a very small fix for the DXF reader. The bug made - OSG - crash with some files. - Actually, itr was incremented into the loop and after the test - with - nlist.end(). - Then, the unreferencing of itr when nlist is equals to - nlist.end() caused - the crash." - -2010-09-09 10:14 robert - - * src/osgPlugins/ogr/ReaderWriterOGR.cpp: From Joachim Pouderoux, - "I have added the support for wkbMultiPolygon & - wkbMultiPolygon25D in the OGR - plugin (it was mysteriously missing and no prevent warning - messages was - print)." - -2010-09-09 10:09 robert - - * src/osgPlugins/x/mesh.cpp: From Tassilo Glander, "I want to - submit a fix for the plugin to load .x model files (Direct X). - - The current version crashes when encountering global materials, - as also reported in the forum by the author of the plugin. - - The problem in mesh.cpp (app. ln 247) is, that references to - global materials that are given in curly brackets {} are not - supported by the reader. However, curly brackets seem to be - common, according to Bourke. Unfortunately, I found no - specification. However, also the DirectX model viewer that comes - with the DirectX-SDK (August 2009) expects curly brackets and - refuses models without them. - - My fix checks 2 more cases ("{ aMaterial }" -> 3 tokens and - "{aMaterial}" -> 1 token), and extracts the material name for the - lookup. I don't know if this is the most elegant solution, but - the tokenizer seems to split based on white spaces. - - You can reproduce the bug with the attached model (box.x), which - loads fine in other tools, such as 3DSmax, DeepExploration or the - DirectX model viewer. When I remove the curly brackets at the - reference of "myGlobalMaterial", it loads in osgviewer, but is - not standard conform. - " - -2010-09-09 10:03 robert - - * include/osgUtil/Statistics, src/osgUtil/RenderBin.cpp, - src/osgUtil/Statistics.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp: From Roland Smeenk, "this - submission adds a "Fast Drawable" line to the camera scene - statistics. - It shows the total number of sorted and unsorted drawables that - use the fastpath for rendering." - -2010-09-09 09:47 robert - - * examples/osgQtWidgets/osgQtWidgets.cpp, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/ViewerEventHandlers.cpp: 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:05 robert - - * src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Added version check - for av_lockmgr_register support. - -2010-09-09 08:47 robert - - * src/osgUtil/IntersectionVisitor.cpp: From Nathan Monteleone and - Robert Osfield, - - submission email from Nathan: "I discovered a problem with - POINT_ROT_EYE billboards in IntersectionVisitor: because we pass - in just the model matrix to Billboard::computeBillboardMatrix, - the billboard gets the wrong up vector. It really needs to take - the view matrix into account to get the correct up vector. - - This version of IntersectionVisitor.cpp is made against today's - SVN. It corrects the problem by computing the billboard matrix - using the complete modelview, and then multiplies by the inverse - of the view matrix before pushing onto IntersectionVisitor's - model stack. The only code I changed is in apply(Billboard&)." - - notes from Robert, refactored the matrix multiplication code and - the use of RefMatrix to make Nathan's changes more efficient. - -2010-09-08 11:02 robert - - * src/osgPlugins/freetype/FreeTypeFont.cpp, src/osgText/Font.cpp, - src/osgText/Glyph.cpp, src/osgText/Text3D.cpp, - src/osgUtil/SmoothingVisitor.cpp: Cleaned up debug info, and - changed Text3D across to using GL_NORMALIZE instead of - GL_RESCALE_NORMAL. - -2010-09-08 10:46 robert - - * src/osgUtil/SmoothingVisitor.cpp: Added support for honouring - PrimitiveSet names in new smoothing algorithm - -2010-09-08 08:09 robert - - * include/osgText/TextNode, src/osgText/CMakeLists.txt: From - Jean-Sebastien Guay, build fixes for Windows - -2010-09-07 19:55 robert - - * examples/osgtext3D/CMakeLists.txt, - examples/osgtext3D/GlyphGeometry.cpp, - examples/osgtext3D/GlyphGeometry.h, - examples/osgtext3D/TextNode.cpp, examples/osgtext3D/TextNode.h: - Removed files that have been moved into osgText. - -2010-09-07 18:20 robert - - * include/osgText/Glyph, src/osgText/Glyph.cpp: Moved Glyph and - Glyph3D out of Font header/source file into their own - header/source file. - -2010-09-07 18:18 robert - - * examples/osgtext3D/CMakeLists.txt, - examples/osgtext3D/GlyphGeometry.cpp, - examples/osgtext3D/GlyphGeometry.h, - examples/osgtext3D/TextNode.cpp, - examples/osgtext3D/osgtext3D.cpp, include/osgText/Font, - include/osgText/TextNode, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/txf/TXFFont.cpp, - src/osgQt/QFontImplementation.cpp, src/osgText/CMakeLists.txt, - src/osgText/DefaultFont.cpp, src/osgText/Font.cpp, - src/osgText/GlyphGeometry.cpp, src/osgText/GlyphGeometry.h, - src/osgText/TextNode.cpp: Moved TextNode into osgText. - - Cleaned up freetype plugin so it no longer does tesselation - - instead Glyph and TextNode do this. - -2010-09-06 15:43 robert - - * examples/osgtext3D/GlyphGeometry.cpp, - examples/osgtext3D/GlyphGeometry.h, - examples/osgtext3D/TextNode.cpp, - examples/osgtext3D/osgtext3D.cpp, include/osgText/Text3D, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, src/osgText/Font.cpp, - src/osgText/Text3D.cpp, - src/osgWrappers/serializers/osgText/Text3D.cpp: Further work on - new 3D text support - -2010-09-03 15:03 robert - - * examples/osgtext3D/TextNode.cpp, examples/osgtext3D/TextNode.h, - examples/osgtext3D/osgtext3D.cpp: Added basic wiring up of - TextTechnique to 3D glyph code - -2010-09-03 09:10 robert - - * src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/FreeTypeFont3D.h, src/osgText/Font3D.cpp: - Removed now redundent Font3D files - -2010-09-03 09:08 robert - - * include/osgQt/QFontImplementation, include/osgText/Font, - include/osgText/Font3D, include/osgText/Text3D, - src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp, - src/osgPlugins/txf/TXFFont.cpp, src/osgPlugins/txf/TXFFont.h, - src/osgQt/QFontImplementation.cpp, src/osgText/CMakeLists.txt, - src/osgText/DefaultFont.cpp, src/osgText/DefaultFont.h, - src/osgText/Font.cpp, src/osgText/Font3D.cpp, - src/osgText/Text.cpp, src/osgText/Text3D.cpp: Refactored to use a - typedef of Font to Font3D rather than have a separate Font3D - class - -2010-09-03 08:26 robert - - * examples/osgtext3D/CMakeLists.txt, - examples/osgtext3D/GlyphGeometry.cpp, - examples/osgtext3D/GlyphGeometry.h, - examples/osgtext3D/TextNode.cpp, examples/osgtext3D/TextNode.h, - examples/osgtext3D/osgtext3D.cpp, - include/osgQt/QFontImplementation, include/osgText/Font, - include/osgText/Font3D, include/osgText/Text, - include/osgText/Text3D, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/FreeTypeFont3D.h, - src/osgPlugins/txf/TXFFont.cpp, src/osgPlugins/txf/TXFFont.h, - src/osgQt/QFontImplementation.cpp, src/osgText/DefaultFont.cpp, - src/osgText/DefaultFont.h, src/osgText/Font.cpp, - src/osgText/Font3D.cpp, src/osgText/Text.cpp, - src/osgText/Text3D.cpp, src/osgText/TextBase.cpp, - src/osgWidget/Input.cpp: Refactored osgText::Font so that it now - supports both 2D and 3D glyphs. - - Added TextNode.h and TextNode.cpp to examples/osgtext3D in prep - for introducing the new node to osgText library - -2010-09-02 07:55 robert - - * src/osg/Texture.cpp: Added to Text::resizeGLObjectBuffers(uint) - the follow: - - _textureObjectBuffer.resize(maxSize); - _texParametersDirtyList.resize(maxSize); - -2010-08-25 16:59 robert - - * src/osgUtil/SmoothingVisitor.cpp: Implemented a greedy triangle - associate technique to minimize the number of duplicate vertices - required to produce crease angles. - -2010-08-25 14:34 robert - - * examples/osgtext3D/osgtext3D.cpp: Changed --flat to --flat-shaded - to avoid conflict with oiginal --flat ratio control. - -2010-08-25 11:07 robert - - * examples/osgtext3D/osgtext3D.cpp: Cleaned up main and introduced - --samples , --flat, --smooth command line controls. - - Add StatsHandler to viewer to enable review of different settings - on number vertices/triangles. - -2010-08-25 11:06 robert - - * include/osgText/Font3D, - src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/FreeTypeFont3D.h, src/osgText/Font3D.cpp: - Added support for controlling the number of curves samples to - generate on Glyph3D's. Set via - Font3D::setNumberCurveSamples(num). - -2010-08-24 16:08 robert - - * examples/osgtext3D/GlyphGeometry.cpp, - examples/osgtext3D/osgtext3D.cpp: Implemented the shell geometry - code - -2010-08-24 16:06 robert - - * src/osgUtil/RenderBin.cpp: Added "SORT_BACK_TO_FRONT" and - "SORT_FRONT_TO_BACK" RenderBin's to default prototype list - -2010-08-24 14:22 robert - - * examples/osgtext3D/CMakeLists.txt, - examples/osgtext3D/GlyphGeometry.cpp, - examples/osgtext3D/GlyphGeometry.h, - examples/osgtext3D/osgtext3D.cpp: Refactored 3d text geometry - creation code so that the text is all placed in one - osg::Geometry. - -2010-08-20 10:24 robert - - * src/osgUtil/SmoothingVisitor.cpp: Fixed bug in handling large - osg::Geometry. - -2010-08-19 16:24 robert - - * examples/osgtext3D/osgtext3D.cpp: Implemented generation of - front, back and bevel geometries to complete the 3d glyphs. - -2010-08-18 11:14 robert - - * src/osgUtil/SmoothingVisitor.cpp: Improved the detection of - problem vetices and associated triangles - -2010-08-17 19:48 robert - - * src/osgUtil/Tessellator.cpp: Fixed indentation - -2010-08-17 19:48 robert - - * src/osgUtil/SmoothingVisitor.cpp: Implemented basic duplication - of points that sit on sharp edges. - -2010-08-17 13:25 mplatings - * src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp: From Donn Mielcarek: - The fbx plugin won't compile using gcc 4.3.2. I made the - following - minor changes: - - 1. WriterNodeVisitor.cpp needed limits.h added to the headers. - - 2. gcc does not allow structures to be defined inside of - functions, so - I moved the definition of PolygonRef out of the function to a - global - scope (right above the function readMesh). - - I also removed a bunch of embedded carriage returns -2010-08-17 13:10 robert +Tue, 20 May 2014 15:34:12 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "I stumbled on a little bug with the new drawables. I was distributing points data into different drawables that I used in a LOD later. When simplifying the system to not use geodes anymore I came upon the following bug: If Drawable::getBoundingBox would compute an invalid bounding box (if it was for example empty) it would make a bounding sphere with a infinite radius which counts as a valid sphere in osg.Attached is a small fix." - * src/osgWrappers/deprecated-dotosg/osg/Texture.cpp: Added support - for RGTC1 and RGTC2 enums - -2010-08-16 15:02 robert - - * src/osg/ClipNode.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgText/Text.cpp: From Guillaume Taze, "Here are some bugs - fix : - - - missing copy attribute _referenceFrame in ClipNode in copy - constructor - - checked iterators against the end in osgText - - close codec context in ffmpeg plugin to avoid memory leak - - " - -2010-08-16 14:54 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Maria Ten, - "Importing 3ds files with a texture for the diffuse component and - other one for opacity does not work with the osg 3ds plugin. In - the attached file, there is a fix to solve this issue but it does - not support textures without alpha channel in the opacity - component (like black and white textures used in 3ds max to - achieve the transparency). There is attached a test 3ds file too. - " - -2010-08-16 14:39 robert - - * src/osgPlugins/tga/ReaderWriterTGA.cpp: From Wang Rui, - "Attachment is the implementation of the writing operation of the - TGA - format. I wrote it just for one of my client. At present it only - outputs uncompressed RGBA images, but the OSG community can go - deeper - at any time." - -2010-08-16 14:24 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Added material setName. - -2010-08-16 14:14 robert - - * src/osgWrappers/serializers/osg/Texture.cpp: Added support for - USE_RGBT1_COMPRESSION and USE_RGBT2_COMPRESSION - -2010-08-16 14:11 robert - - * include/osg/Texture, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp: From Lukasz Izdebski, - "Texture: added support for GL_EXT_texture_compression_rgtc, I - added support (read and write ) for BC4 BC5 Block Compression to - dds file format." - -2010-08-16 11:03 robert - - * include/osgGA/FirstPersonManipulator, - include/osgGA/OrbitManipulator, - include/osgGA/StandardManipulator, - src/osgGA/FirstPersonManipulator.cpp, - src/osgGA/OrbitManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/TerrainManipulator.cpp: Changed setTransformation(eye, - center, up) paramter ordering to match gluLookAt conventions. - -2010-08-16 10:11 robert - - * src/osgParticle/Particle.cpp: From Bradley Anderegg, "I fixed a - problem with a stack overflow error in Particle.cpp. When the - hexagon particle renders it does a glPushMatrix with no matching - glPopMatrix, I simply added a glPopMatrix at the end of the - rendering code." - -2010-08-16 09:35 robert - - * include/osg/PrimitiveSet: From Alexander Wiebel, "Documentation - of PrimitiveSet" - -2010-08-09 17:02 robert - - * include/osg/ImageStream, src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From David Fries, - merge from a series of related submission emails: - - "enable thread locking in libavcodec - - This is required for a multithreaded application using ffmpeg - from - another thread." - - "Prevent the audio from videos from hanging on exit if they are - paused. - The video decoder already has similar logic." - - "Add a way to retrieve the creation time for MPEG-4 files." - - "fmpeg, improve wait for close logic - - Both audio and video destructors have been succesfully using the - logic, - if(isRunning()) - { - m_exit = true; - join(); - } - since it was introduced, - - but the close routines are using, - m_exit = true; - if(isRunning() && waitForThreadToExit) - { - while(isRunning()) { OpenThreads::Thread::YieldCurrentThread(); } - } - which not only is it doing an unnecessary busy wait, but it - doesn't - guaranteed that the other thread has terminated, just that it has - progressed far enough that OpenThreads has set the thread status - as - not running. Like the destructor set the m_exit after checking - isRunning() to avoid the race condition of not getting to join() - because the thread was running, but isRunning() returns false. - - Now that FFmpeg*close is fixed, call it from the destructor as - well - to have that code in only one location." - -2010-08-09 16:19 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Aded - option for doing a glFlush() after compiling texture objects, - with a dedicated compile thread default to issuing the glFlush. - -2010-08-09 16:14 robert - - * include/osgUtil/DelaunayTriangulator: Cleaned up the inline - methods - -2010-08-08 15:45 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, - "attached you'll find a small enhancement for - GraphicsWindowCocoa, so - osgViewer behaves smarter, when the computer will reboot or - shutdown. In - older versions the reboot/shutdown got cancelled by - GraphicsWindowCocoa, - now it behaves more system conform. - " - -2010-08-08 15:44 robert - - * include/osg/observer_ptr: Removed the erroneous subclassing from - osg::Observer - -2010-08-08 15:34 robert - - * src/osg/Program.cpp: From Farshid Lashkari, "This patch simply - reduces some messages output in osg::Program from NOTICE to INFO, - since they are not important for most users." - -2010-08-08 15:32 robert - - * src/osg/Texture.cpp: From Cedric Pinson, "I used the lod of the - texture manager to track the instance, and it - seems that the number of current active texture is wrong. It's - because - of the line in - Texture::TextureObjectSet::flushDeletedTextureObjects - - _parent->getNumberActiveTextureObjects() += numDeleted;" - -2010-08-04 08:35 cedricpinson - - * src/osgAnimation/RigTransformHardware.cpp: From Rob Smith, makes - hardware skinning use of the existing stateset - -2010-07-31 10:33 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/pov, - src/osgPlugins/pov/CMakeLists.txt, - src/osgPlugins/pov/POVWriterNodeVisitor.cpp, - src/osgPlugins/pov/POVWriterNodeVisitor.h, - src/osgPlugins/pov/ReaderWriterPOV.cpp, - src/osgPlugins/pov/ReaderWriterPOV.h: From Jan Peciva, "I am - sending pov plugin for exporting scene to POV-Ray format. - POV-Ray is photorealistic ray tracer." - -2010-07-31 10:22 robert - - * include/osg/Observer: From Jeremy Moles, "The version of GCC I - use (4.4.3-4ubuntu5) gives the following warning - about the Observer header: - - /home/cubicool/local/include/osg/Observer: In copy constructor - ?osg::ObserverSet::ObserverSet(const osg::ObserverSet&)?: - /home/cubicool/local/include/osg/Observer:66: warning: base class - ?class - osg::Referenced? should be explicitly initialized in the copy - constructor - - I've been fixing this by hand by using the attached Observer - header; it - does exactly what the warning requests. Purely cosmetic, I - believe, but - other than that OSG seems to compile w/ -W -Wall just fine." - -2010-07-31 10:20 robert - - * src/osg/TextureRectangle.cpp: From Farshid Lashkari, "I noticed - that some of my applications output the following notification - message: - - no PixelBufferObject 00000000, 00000000 pbo=00000000 - - It's kind of annoying since there is nothing actually wrong. The - message is generated from TextureRectangle::applyTexImage_subload - when it fails to create a pbo, even if the Image object is not - even requesting to use a pbo. This message is not generated by - all the other code in TextureRectangle.cpp & Texture.cpp that - also attempts to create pbo's. I've modified TextureRectangle.cpp - to remove this message, so it is at least consistent with the - other code." - -2010-07-31 10:18 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: From Warren Macchi, "While - tracing texture artifacts with the 2.9.8 dev release we - uncovered what looks like a type in the "src\osgPlugins\dae\ - daeRMaterials.cpp" file. Line 1094 reads: - - ^^^ - parameters.filter_min = getFilterMode(sampler->getMagfilter()-> - getValue(), false); - - whereas it should read - - ^^^ - parameters.filter_mag = getFilterMode(sampler->getMagfilter()-> - getValue(), false); - " - -2010-07-31 10:17 robert - - * src/osgTerrain/Terrain.cpp: From Brad Christiansen, "To build OSG - using Visual Studio 2010 Terrain.cpp requires #include - . This is a very common fix when using 2010 due to - changes in Microsoft STL. - " - -2010-07-31 09:21 robert - - * src/osgPlugins/txp/TXPParser.h: Fixed build - -2010-07-31 09:04 robert - - * src/osgPlugins/txp/TXPParser.h: From Ryan Kawicki, "I found a - memory leak within the Terrex plugin. - - Out application has the ability to switch to different types of - terrains on the fly. This problem only exists in this type of - situation. - - The TXPArchive is held by the ReadWriterTXP class. When the - TXPNode, which is the top level node, is released from memory, - the archive associated to that TXPNode is also released. The - issue is that the reference count on the TXPArchive never gets to - zero. - - The reason why the reference count never gets to zero is because - the TXPParse, which is owned by the TXPArchive, stores a ref_ptr - to the TXPArchive. You can then see why this becomes a problem. - The TXPParser's ref_ptr cannot be unreferenced since the - TXPArchive has not released the TXPParser. - - Since the TXPParser is fully contained within the TXPArchive, I - don't see the reason to have the TXPParser have a ref_ptr to the - TXPArchive. I've made this change locally and have had no - problems and our memory leak has been fixed. - " - -2010-07-31 09:03 robert - - * src/osgPlugins/txp/TXPParser.h: From Ryan Kawicki, fixed - indentation - -2010-07-31 08:57 robert - - * CMakeModules/ModuleInstall.cmake, - src/OpenThreads/pthreads/CMakeLists.txt: From Stephan Huber, - "changed the CmakeFiles for OpenThreads and the - osg-frameworks, so they are versioned by - OPENSCENEGRAPH_SOVERSION. " - - And from a later email: - - "Attached you'll find a fixed version of ModulInstall.cmake. - Hopefully it - works for old CMake-versions. I removed the offending line, and - the - compile went fine on my end." - -2010-07-31 08:56 robert - - * src/osgUtil/SmoothingVisitor.cpp: Added output of triangles at - problem vertices - -2010-07-30 19:39 robert - - * examples/osgtext3D/osgtext3D.cpp, - include/osgUtil/SmoothingVisitor, - src/osgUtil/SmoothingVisitor.cpp: Beginning of crease angle - support for SmoothingVisitor to all it duplicate vertices are - creases - thus enabling separate normals for triangles adjacent to the - creases. - -2010-07-30 16:06 robert - - * include/osgParticle/Emitter, include/osgParticle/ModularEmitter, - src/osgParticle/ModularEmitter.cpp: Changed emit() to - emitParticles() to avoid collision with Qt. - -2010-07-29 16:09 robert - - * src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG2.cpp: From Wang Rui, fixes to - handling of indentation. - -2010-07-26 11:12 robert - - * examples/osgtext3D/osgtext3D.cpp: Added bevel geometry - -2010-07-26 11:06 robert - - * examples/osgtext3D/osgtext3D.cpp: Clean up boudnary code - -2010-07-26 08:41 robert - - * src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp: Added a - os< within #ifdef OSG_USE_BOUND to prevent unncessary inclusion of Node header when OSG_USE_BOUND is false. - * src/osgViewer/View.cpp: From Laurens Voerman, "While reading the - code for setUpViewFor3DSphericalDisplay I noticed that the top - face of the cube map uses Draw/Read buffer GL_BACK, while all - other faces are using the GL_FRONT buffer. This because the - buffer variable is hidden by a new buffer at lower scope. - Removing the local variable tested (win32 and linux64) and works - fine." +Thu, 15 May 2014 09:26:59 +0000 +Checked in by : Robert OSFIELD +Added Node::asDrawable() and Node::asGeometry() methods to provide a low cost way of casting a node to Drawable and Geoemtry.Changed the Group::computeBound() method so that it takes account of the a Drawable's BoundingBox. -2010-06-18 15:46 robert - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - AUTHORS -2010-06-18 15:16 robert +Wed, 14 May 2014 16:52:18 +0000 +Checked in by : Robert OSFIELD +Fixed the bounding sphere computation and handling of Drawable as the root of the scene graph - * ChangeLog: Updated ChangeLog +Wed, 14 May 2014 16:01:40 +0000 +Checked in by : Robert OSFIELD +Further work on Bound class/Node::getBound() and Drawable::getBound() and usage in OSG codebase -2010-06-18 14:53 robert +Wed, 14 May 2014 16:00:08 +0000 +Checked in by : Robert OSFIELD +Cleaned up code - * src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Added checks against windows - being realized before doing warp pointer +Wed, 14 May 2014 10:19:43 +0000 +Checked in by : Robert OSFIELD -2010-06-18 09:48 robert - * src/osgDB/DatabasePager.cpp: #if 0'd out debugging timing code - for detecting deadlocks +Tue, 13 May 2014 08:43:07 +0000 +Checked in by : Robert OSFIELD +Changed the Node::ParentList to be a list of osg::Node rather than osg::Group, and added addChild, removeChild, replaceChild virtual method to Node to enable code to user code compile with minimal modifications to account for the new change to the Node ParentList. -2010-06-18 09:07 robert +Mon, 12 May 2014 12:10:35 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "As discussed, I've added the ability to handle Drawable objects within the NodeVisitor class. Here is an overview of the changes:- Added apply(Drawable) and apply(Geometry) to NodeVisitor - * src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgTerrain/Terrain.cpp: Build fixes for when - OSG_USE_REF_PTR_IMPLICIT_OUTPUT is set to OFF +- Added accept(NodeVisitor) method to Drawable/Geometry -2010-06-17 15:23 robert +- Added traverse(NodeVisitor) to Geode which calls accept(NodeVisitor) on all Drawables - * src/osgGA/FirstPersonManipulator.cpp, - src/osgGA/OrbitManipulator.cpp: Fixed warnings +- Updated CullVisitor to use new apply(Drawable) to handle drawables. The apply(Billboard) method still manually handles the drawables since it is depends on the billboard settings. I needed to disable the traverse within billboard to prevent duplicate traversal of drawables. -2010-06-17 14:36 robert +- Update other osgUtil node visitors (GLObjectsVisitor, IncrementalCompileOperation, ..) to use new apply(Drawable) method. +" - * examples/osgcluster/osgcluster.cpp: From Nguyen Van Truong, - introduced the use of the ScratchPad when distributing the master - killed message -2010-06-17 14:28 robert - * examples/osgcluster/osgcluster.cpp: From Nguyen Van Truong, fix - for passing of events to slaves +Mon, 12 May 2014 11:27:54 +0000 +Checked in by : Robert OSFIELD +Added beginnings of new osgUI library, a replacement for osgWidget that works fully in 3D/stereo and is scriptable. -2010-06-17 14:18 robert +Tue, 6 May 2014 16:38:57 +0000 +Checked in by : Robert OSFIELD +Replaced obsolete __linux usage. - * examples/osgcluster/osgcluster.cpp: Added event handling +Tue, 6 May 2014 09:43:32 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "Xcode changed the default std-lib-implementation again. Now it’s GNU++98 instead of C++11. I adapted the cMakeList.txt files accordingly to add this new option so we can set it explicitly and link against 3rdparty-c++-libs." -2010-06-17 11:07 robert +Tue, 6 May 2014 08:37:39 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "Please revert the change to FindQuickTime.cmake as this breaks compilation for IOS and possibly OS X." - * src/osgGA/NodeTrackerManipulator.cpp: From Brad Christiansen, "I - tried building the latest (as of Sunday) SVN version of OSG using - Visual Studio 2010 and it failed due to a missing include. The - build completed successfully by adding #include to - nodeTrackerManipulator.cpp, which is attached." +Fri, 2 May 2014 09:12:36 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "fix for the Collada loader where it would access a null string in some cases" -2010-06-17 11:03 robert +Fri, 2 May 2014 09:11:16 +0000 +Checked in by : Robert OSFIELD +From Ali Botorabi, "recently I ran into a problem with Microsoft's Appverifier while using OpenThreads on win32 platform. The Appverifier complained about an invalid thread handle during starting of a new thread. After looking closer into the problem it seemed that indeed a potential root of problem may be in the thread startup code. See the line below in Win32Thread.cpp (line number 347): pd->tid.set( (void*)_beginthreadex(NULL,static_cast(pd->stackSize),ThreadPrivateActions::StartThread,static_cast(this),0,&ID)); - * src/osgDB/DynamicLibrary.cpp: From Farshid Lashkari, "I've made a - small modification to osgDB::DynamicLibrary so it can load UTF-8 - filenames on Windows." +the method "pd->tid.set" sets the thread id, however via the startup function "ThreadPrivateActions::StartThread" that thread id is used (see further down the call hierarchy the line "int status = SetThreadPriority( pd->tid.get(), prio);". -2010-06-17 11:01 robert +Until now I never ran into any problem in debug or release builds, though. It seems that furtunately the tid.set method was executed always before the tid.get method in the startup code. However, this may make trouble in the furture. A simple solution is the following: just replace the line above with following two lines: - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: From Jim - Vaughan, "The attached file fixes a bug in the Inventor loader - that causes texture images to have r with a value of zero. - - The bug caused the image data to not get copied, size the size - was calculated to be zero. This caused crashes during rendering." + pd->tid.set( (void*)_beginthreadex(NULL,static_cast(pd->stackSize),ThreadPrivateActions::StartThread,static_cast(this),CREATE_SUSPENDED,&ID)); + ResumeThread(pd->tid.get()); -2010-06-16 16:49 robert - * applications/present3D/ReadShowFile.cpp: Fixed bug where - PropertyAdjustmentCallback was being added multiple times. - -2010-06-16 15:56 robert - - * include/osgGA/StandardManipulator: Changed the default behaviour - of computeHomePosition so that it uses the bounding sphere of the - model rather than computing the bounding box. - -2010-06-16 15:56 robert - - * src/osgGA/CameraManipulator.cpp: Added better handling of when - the bounding box computation fails to return a valid bounding - box. - -2010-06-16 15:54 robert - - * src/osgWrappers/introspection/osg/Vec3d.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgViewer/ViewerEventHandlers.cpp: - Updated wrappers - -2010-06-16 15:53 robert - - * src/osgDB/DatabasePager.cpp: Added reporting of possible deadlock - of paging thread - -2010-06-16 12:46 robert - - * src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp: - Re-organized the access of the mutex in Terrain to avoid - deadlocks, and temporarily switched off the update of the - neightbouring tile boundaries within the - GeometryTechnique::generateGeometry method, again to avoid - deadlocks. - -2010-06-16 08:13 robert - - * include/osgDB/DatabasePager: Added timing code for helping detect - deadlocks in the paging threads - -2010-06-16 08:09 robert - - * src/osgDB/DatabasePager.cpp: Re-enabled call to - ShareStateManager. - -2010-06-15 13:57 robert - - * examples/CMakeLists.txt, examples/osgQtWidgets, - examples/osgQtWidgets/CMakeLists.txt, - examples/osgQtWidgets/osgQtWidgets.cpp, - include/osgQt/QGraphicsViewAdapter, include/osgQt/QWidgetImage, - include/osgViewer/ViewerEventHandlers, - src/osgQt/QGraphicsViewAdapter.cpp, src/osgQt/QWidgetImage.cpp, - src/osgViewer/ViewerEventHandlers.cpp: From Jean-Sebastien Guay, - "I've been working in the last few days - to get QWidgetImage to a point where it can fill a need we have: - to be - able to use Qt to make HUDs and to display widgets over / inside - an OSG - scene. - - --------------- - Current results - --------------- - I've attached what I have at this point. The modified - QWidgetImage + - QGraphicsViewAdapter classes can be rendered fullscreen (i.e. the - Qt - QGraphicsView's size follows the size of the OSG window) or on a - quad in - the scene as before. It will let events go through to OSG if no - widget - is under the mouse when they happen (useful when used as a HUD - with - transparent parts - a click-focus scheme could be added later - too). It - also supercedes Martin Scheffler's submission because it adds a - getter/setter for the QGraphicsViewAdapter's background color - (and the - user can set their widget to be transparent using - widget->setAttribute(Qt::WA_TranslucentBackground) themselves). - - The included osgQtBrowser example has been modified to serve as a - test - bed for these changes. It has lots more command line arguments - than - before, some of which can be removed eventually (once things are - tested). Note that it may be interesting to change its name or - split it - into two examples. Though if things go well, the specific - QWebViewImage - class can be removed completely and we can consolidate to using - QWidgetImage everywhere, and then a single example to demonstrate - it - would make more sense, albeit not named osgQtBrowser... You can - try this - path by using the --useWidgetImage --useBrowser command line - arguments - - this results in an equivalent setup to QWebViewImage, but using - QWidgetImage, and doesn't work completely yet for some unknown - reason, - see below. - - ---------------- - Remaining issues - ---------------- - There are a few issues left to fix, and for these I request the - community's assistance. They are not blockers for me, and with my - limited Qt experience I don't feel like I'm getting any closer to - fixing - them, so if someone else could pitch in and see what they can - find, it - would be appreciated. It would be really nice to get them fixed, - that - way we'd really have a first-class integration of Qt widgets in - an OSG - scene. The issues are noted in the osgQtBrowser.cpp source file, - but - here they are too: - - ------------------------------------------------------------------- - QWidgetImage still has some issues, some examples are: - - 1. Editing in the QTextEdit doesn't work. Also when started with - --useBrowser, editing in the search field on YouTube doesn't - work. But that same search field when using QWebViewImage - works... And editing in the text field in the pop-up getInteger - dialog works too. All these cases use QGraphicsViewAdapter - under the hood, so why do some work and others don't? - - a) osgQtBrowser --useWidgetImage [--fullscreen] (optional) - b) Try to click in the QTextEdit and type, or to select text - and drag-and-drop it somewhere else in the QTextEdit. These - don't work. - c) osgQtBrowser --useWidgetImage --sanityCheck - d) Try the operations in b), they all work. - e) osgQtBrowser --useWidgetImage --useBrowser [--fullscreen] - f) Try to click in the search field and type, it doesn't work. - g) osgQtBrowser - h) Try the operation in f), it works. - - 2. Operations on floating windows (--numFloatingWindows 1 or - more). - Moving by dragging the titlebar, clicking the close button, - resizing them, none of these work. I wonder if it's because the - OS manages those functions (they're functions of the window - decorations) so we need to do something special for that? But - in --sanityCheck mode they work. - - a) osgQtBrowser --useWidgetImage --numFloatingWindows 1 - [--fullscreen] - b) Try to drag the floating window, click the close button, or - drag its sides to resize it. None of these work. - c) osgQtBrowser --useWidgetImage --numFloatingWindows 1 - --sanityCheck - d) Try the operations in b), all they work. - e) osgQtBrowser --useWidgetImage [--fullscreen] - f) Click the button so that the getInteger() dialog is - displayed, then try to move that dialog or close it with the - close button, these don't work. - g) osgQtBrowser --useWidgetImage --sanityCheck - h) Try the operation in f), it works. - - 3. (Minor) The QGraphicsView's scrollbars don't appear when - using QWidgetImage or QWebViewImage. QGraphicsView is a - QAbstractScrollArea and it should display scrollbars as soon as - the scene is too large to fit the view. - - a) osgQtBrowser --useWidgetImage --fullscreen - b) Resize the OSG window so it's smaller than the QTextEdit. - Scrollbars should appear but don't. - c) osgQtBrowser --useWidgetImage --sanityCheck - d) Try the operation in b), scrollbars appear. Even if you have - floating windows (by clicking the button or by adding - --numFloatingWindows 1) and move them outside the view, - scrollbars appear too. You can't test that case in OSG for - now because of problem 2 above, but that's pretty cool. - - 4. (Minor) In sanity check mode, the widget added to the - QGraphicsView is centered. With QGraphicsViewAdapter, it is not. - - a) osgQtBrowser --useWidgetImage [--fullscreen] - b) The QTextEdit and button are not in the center of the image - generated by the QGraphicsViewAdapter. - c) osgQtBrowser --useWidgetImage --sanityCheck - d) The QTextEdit and button are in the center of the - QGraphicsView. - ------------------------------------------------------------------- - - As you can see I've put specific repro steps there too, so it's - clear - what I mean by a given problem. The --sanityCheck mode is useful - to see - what should happen in a "normal" Qt app that demonstrates the - same - situation, so hopefully we can get to a point where it behaves - the same - with --sanityCheck and without." - -2010-06-15 10:02 robert - - * include/osgDB/InputStream, src/osgDB/InputStream.cpp: From Cedric - Pinson, "Here a fix about a leak in InputStream::decompress - - I changed - _in->setStream( new std::stringstream(data) ); - to - _dataDecompress = new std::stringstream(data); - _in->setStream( _dataDecompress ); - - Then when the destructor is of InputStream is called I delete the - dataDecompress stringstream. - " - -2010-06-15 09:14 robert - - * CMakeModules/FindFBX.cmake, src/osgPlugins/fbx/CMakeLists.txt: - From Michael Platings, "Hi Bob, thanks for the CMake fixes. I'm - not sure what the purpose of the capitalisation changes was so - I've reverted that (a) to make diff-ing easier and (b) because - all-caps is consistent with all the other OSG CMake files. Aside - from that the changes seem fine. - I don't understand the changes to ReaderWriterFBX.cpp - (i) - strings.h isn't a standard header, (ii) the ISO-conformant form - is _strnicmp (with the underscore). Does the existing code not - compile for you? If not we'll have to do some #ifdef nastiness." - -2010-06-15 09:09 mplatings - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp: Changed _strnicmp to - strncasecmp for non-Windows builds - -2010-06-14 16:41 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.h: From Tan Dunning - and Jan Peciva, Jan's email : "I created a new submission, based - on Tan's two changes, including further naming functionality that - includes: - - geode and geometry naming - - shaders and osg::Program name - - as these nodes did not receive names before. Some code cleaning - included as well." - -2010-06-14 16:30 robert - - * examples/osgspheresegment/osgspheresegment.cpp: From Luc - Frauciel, added extra test case accessible via -t 7. - -2010-06-14 16:27 robert - - * src/osgSim/SphereSegment.cpp: Introduced the use of atan2 in - place of asin/acos for reliability and simplicity - -2010-06-14 15:58 robert - - * src/osgDB/Registry.cpp: From Laurens Voerman, "while debugging a - file loader I noticed a missed check here." - -2010-06-14 15:28 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Jean-Sebastien Guay, - "Currently, if a GraphicsWindowWin32 is created with - traits->useCursor = false, it still shows the cursor. An app must - call gw->useCursor(false) after having created the context as a - workaround, but I think what we ask for in the traits should be - honored... Attached is a simple fix for this. - - I have no idea when this stopped working. It worked before in our - 2.6.0-based apps but after the upgrade to 2.8.3 it doesn't - anymore. - " - -2010-06-14 15:25 robert - - * examples/osgviewerMFC/MFC_OSG.cpp: From Wang Rui, "For a long - time, the osgviewerMFC example uses addSlave() to setup the - graphics context and link it with a slave camera. I don't know - the - reason we perform like that, which will cause a problem that the - GUIEventHandler may not obtain correct window coordinates because - the - main camera will use a default input range to receive events from - the - slave camera's graphics context. It is also weird to see the - addSlave() used in non-cluster applications, which beginners will - be - confused with. - - I've make a slightly modification to the osgviewerMFC example to - make - it work without setting slave cameras. I've tested with the MDI - framework and everything seems fine." - -2010-06-14 15:22 robert - - * src/osgUtil/IncrementalCompileOperation.cpp: From Stephan Huber, - "the IncrementalCompileOperation-class throws away compiled - compile-sets, - when no compileCompletedCallback is set. Attached you'll find a - simple - fix for this bug." - -2010-06-14 15:21 robert - - * src/osg/Program.cpp: From Jan Peciva, change information about - failed shader compilation/linking/validation to OSG_WARN. - -2010-06-14 15:20 robert - - * include/osg/BlendFunc, include/osg/Vec3d, - include/osgGA/OrbitManipulator, - include/osgGA/StandardManipulator, - src/osgGA/FirstPersonManipulator.cpp, - src/osgGA/FlightManipulator.cpp, src/osgGA/OrbitManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/TerrainManipulator.cpp: From Jan Peciva, additional - comments, and standarisation of throw and handling of mouse - wheel. - -2010-06-11 09:39 robert - - * src/osgWrappers/introspection/osgDB/DatabasePager.cpp: Updated - wrappers +The trick is just starting the thread in suspended mode so the StartThread function does not get executed and we can safely store the tid by pd->tid.set. Then start the Thread by calling ResumeThread." -2010-06-09 15:05 robert - * src/osgPlugins/osg/AsciiStreamOperator.h: Removed debug messages -2010-06-09 13:54 robert +Thu, 1 May 2014 15:50:14 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fix for OSX build - * src/osgPlugins/osg/AsciiStreamOperator.h: Fixed reading of - wrapped strings that contain multiple " within the string - -2010-06-09 13:09 cedricpinson - - * include/osgAnimation/Interpolator: From Michael Platings, The - attached file fixes 2 issues: - 1) some time values were passed as floats, reducing accuracy. - 2) comparisons done between doubles and floats gave different - results so time < endtime evaluated to false the first time it - was checked (with doubles), and true the second time it was - checked (with time having been converted to a float). This - consequently resulted in an array-out-of-bounds crash - -2010-06-09 13:08 cedricpinson - - * src/osgAnimation/Animation.cpp: From Michael Platings - I attach a simple fix that makes osgAnimation animations loop - correctly when their duration is different from the original - duration. - -2010-06-09 11:24 robert - - * src/osgPlugins/osg/ReaderWriterOSG.cpp: Added missing - loadWrappers - -2010-06-09 10:01 robert - - * include/osgDB/Serializer: From Wang Rui, "Henry and Brendan just - found a small bug of the ListSerializer which - will cause the writing of osg::Switch incorrectly. The original - thread - was posted on osg-users. I would like to follow the suggestion of - Brendan and add a std::endl before the END_BRACKET in - ListSerializer::write(). - " - -2010-06-09 09:12 mplatings - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRMesh.cpp: From Alessandro Terenzi: - previously the plugin ignored UV scaling values eventually stored - in the FBX file, now they are read and set for each supported - texture map (not considering reflection maps). - - From Michael Platings: fixed UVs for files that don't explicitly - reference the name of a UV channel. - -2010-06-08 17:32 mplatings - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp, - src/osgPlugins/fbx/fbxReader.h: Added support for Euler angles - and step/linear/cubic-bezier interpolation. - -2010-06-08 11:53 robert - - * src/osgPlugins/osg/ReaderWriterOSG2.cpp: Added ref_ptr<> to avoid - memory leak - -2010-06-07 17:08 robert - - * src/osgDB/DatabasePager.cpp: Added insertion of children found by - the CountPagedLODsVisitor into the childrenRemoved list to make - sure that they are caught - and then removed correctly from the PagedLODLists. +Wed, 30 Apr 2014 13:19:22 +0000 +Checked in by : Robert OSFIELD +Renamed the new include/osg/OpenGL automatically configured header file to include/osg/GL replacing the original hand built GL header -2010-06-07 15:25 mplatings +Wed, 30 Apr 2014 11:51:40 +0000 +Checked in by : Robert OSFIELD +From Sebastian Messerschmidt, "attached is the compile/linker fix for multiple definitions of getTypeEnum when compiling the Lua with VisualStudio and potentially other compilers. " - * src/osgPlugins/fbx/fbxRNode.cpp: Added more NURBS types to - triangulate. +Tue, 29 Apr 2014 15:14:39 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "have added some missing serializers for RigGeomery. Withouth them I ran into two issues.At first you get a bunch of warnings that osg::ComputeBoundCallback +and osg::UpdateCallback were unsupported wrapper classes when +converting fbx models with skeletal animation to osg(t/b). -2010-06-07 11:28 robert +The second issue was that when reading, the readers fail to read the +ComputeBoundCallback and UpdateCallback and set them to NULL which +messes up the RigGeometry. - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Added - size() and swap() methods to provide a thread safe way to keep - track of size of a RequestQueue/ReadQueue. +Because a RigGeometry makes his own classes in the constructor it +might be preferable to not write them at all, because now those +classes are being made two times when reading a RigGeometry. But after +thinking about this that would place too much limits on them (you +won't be able to share or name them and save that information or make +a new inherited class from them and write that one) So I ended up +thinking the best way was to just write the files. +" -2010-06-07 09:05 robert - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Added - removeNodes method to prune any nodes that are going to be - deleted from the PagedLODLists. -2010-06-07 08:36 shuber +Tue, 29 Apr 2014 13:41:35 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "Today I found a bug in the IutputStream class when saving array attributes in vec3b format. It looks like my compiler takes the wrong overload and outputs integers instead of characters. The problem is that vec3b is of type signed char and that is not the same as char ( see http://stackoverflow.com/questions/436513/char-signed-char-char-unsigned-char ) and visual studio 2013 will promote it to integer when choosing an overload. It looks like that the InputStream class already takes care of this issue (if it didn't it would have read everything ok and I would have not even stumbled upon this bug. :) )" - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project +Tue, 29 Apr 2014 12:19:21 +0000 +Checked in by : Robert OSFIELD +From Mattias Helsing, "I finally got to fix the cmake Modules that have duplicates in later version of cmake. See attached submission. I have tested the ones that I compile myself (GDAL, Freetype, ZLIB) on ubuntu 12.04 with cmake-2.8.7." -2010-06-04 19:50 mplatings +Tue, 29 Apr 2014 12:18:51 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "There is no standard place for gl/glcorearb.h on Windows. Previously, the only way to get OSG to build for core profile was to append an additional include directory ("/I") onto the CFLAGS variables This submission adds a FindGLCORE.cmake script so that the path to gl/glcorearb.h can be specified with a variable, GLCORE_ROOT, either in CMake or the environment.Currently this submission is Windows-only. I don't think OSX or Linux require any help in locating gl/glcorearb.h. But if they do, this submission can be easily modified. - * src/osgPlugins/fbx/CMakeLists.txt, - src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRAnimation.h, - src/osgPlugins/fbx/fbxRCamera.cpp, - src/osgPlugins/fbx/fbxRCamera.h, - src/osgPlugins/fbx/fbxRLight.cpp, src/osgPlugins/fbx/fbxRLight.h, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h, - src/osgPlugins/fbx/fbxReader.h: From Alessandro Terenzi: - modifications for supporting opacity, reflective and emissive - maps beyond the already supported diffuse map in the FBX plugin. - A problem with transparency has also been fixed: objects were - transparent wrt themselves but were opaque wrt to other objects. - Finally I added the support for "mixing factors" of diffuse, - reflective and opacity textures/values. - - From Michael Platings: added "LightmapTextures" plugin option - that changes the way textures are interpreted so Alessandro's - models appear correctly. Also refactored to put many functions in - one class to avoid passing around too many arguments to - functions. - -2010-06-04 11:04 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2010-06-03 16:24 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Fixed - double registeration bug. - -2010-06-03 16:02 robert - - * src/osgDB/DatabasePager.cpp, src/osgPlugins/vrml/LICENSE.txt, - src/osgViewer/DarwinUtils.h, src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/PixelBufferCocoa.mm: Fixed permissions - -2010-06-03 16:01 robert - - * src/OpenThreads/sproc/SharedArena.c++, - src/OpenThreads/sproc/SharedArena.h, - src/OpenThreads/sproc/SprocBarrier.c++, - src/OpenThreads/sproc/SprocBarrierPrivateData.h, - src/OpenThreads/sproc/SprocCondition.c++, - src/OpenThreads/sproc/SprocConditionPrivateData.h, - src/OpenThreads/sproc/SprocMutex.c++, - src/OpenThreads/sproc/SprocMutexPrivateData.h, - src/OpenThreads/sproc/SprocThread.c++, - src/OpenThreads/sproc/SprocThreadPrivateActions.h, - src/OpenThreads/sproc/SprocThreadPrivateData.h: Fixed permissions - -2010-06-03 16:00 robert - - * src/OpenThreads/pthreads/GNUmakefile, - src/OpenThreads/sproc/GNUmakefile, - src/OpenThreads/win32/GNUmakefile, - src/OpenThreads/win32/OpenThreads.dsp, - src/OpenThreads/win32/OpenThreads.dsw: Removed redundent - makefiles - -2010-06-03 15:09 robert - - * src/osgShadow/SoftShadowMap.cpp: Fixed permissions - -2010-06-03 15:07 robert - - * include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - include/osgViewer/api/Cocoa/PixelBufferCocoa: Fixed permissions - -2010-06-03 15:04 robert - - * examples/osgpointsprite/osgpointsprite.cpp: Fixed permissions - -2010-06-03 14:14 robert - - * examples/osgmultiviewpaging/osgmultiviewpaging.cpp, - include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: - 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-02 18:09 robert - - * include/osgQt/QWebViewImage: Added #include - -2010-06-02 15:07 robert - - * src/osg/FrameBufferObject.cpp: Added check for presence of - extension. - -2010-06-02 13:29 robert - - * src/osg/FrameBufferObject.cpp: Removed glFramebufferTexture from - list of required extension function - -2010-06-02 12:14 robert - - * src/osgWrappers/introspection/OpenThreads/Atomic.cpp, - src/osgWrappers/introspection/OpenThreads/Barrier.cpp, - src/osgWrappers/introspection/OpenThreads/Block.cpp, - src/osgWrappers/introspection/OpenThreads/Condition.cpp, - src/osgWrappers/introspection/OpenThreads/Mutex.cpp, - src/osgWrappers/introspection/OpenThreads/ReadWriteMutex.cpp, - src/osgWrappers/introspection/OpenThreads/ReentrantMutex.cpp, - src/osgWrappers/introspection/OpenThreads/Thread.cpp, - src/osgWrappers/introspection/genwrapper.conf, - src/osgWrappers/introspection/osg/AlphaFunc.cpp, - src/osgWrappers/introspection/osg/AnimationPath.cpp, - src/osgWrappers/introspection/osg/ApplicationUsage.cpp, - src/osgWrappers/introspection/osg/ArgumentParser.cpp, - src/osgWrappers/introspection/osg/Array.cpp, - src/osgWrappers/introspection/osg/ArrayDispatchers.cpp, - src/osgWrappers/introspection/osg/AudioStream.cpp, - src/osgWrappers/introspection/osg/AutoTransform.cpp, - src/osgWrappers/introspection/osg/Billboard.cpp, - src/osgWrappers/introspection/osg/BlendColor.cpp, - src/osgWrappers/introspection/osg/BlendEquation.cpp, - src/osgWrappers/introspection/osg/BlendFunc.cpp, - src/osgWrappers/introspection/osg/BufferObject.cpp, - src/osgWrappers/introspection/osg/Camera.cpp, - src/osgWrappers/introspection/osg/CameraNode.cpp, - src/osgWrappers/introspection/osg/CameraView.cpp, - src/osgWrappers/introspection/osg/ClampColor.cpp, - src/osgWrappers/introspection/osg/ClearNode.cpp, - src/osgWrappers/introspection/osg/ClipNode.cpp, - src/osgWrappers/introspection/osg/ClipPlane.cpp, - src/osgWrappers/introspection/osg/ClusterCullingCallback.cpp, - src/osgWrappers/introspection/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/introspection/osg/ColorMask.cpp, - src/osgWrappers/introspection/osg/ColorMatrix.cpp, - src/osgWrappers/introspection/osg/ComputeBoundsVisitor.cpp, - src/osgWrappers/introspection/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/introspection/osg/ConvexPlanarPolygon.cpp, - src/osgWrappers/introspection/osg/CoordinateSystemNode.cpp, - src/osgWrappers/introspection/osg/CopyOp.cpp, - src/osgWrappers/introspection/osg/CullFace.cpp, - src/osgWrappers/introspection/osg/CullSettings.cpp, - src/osgWrappers/introspection/osg/CullStack.cpp, - src/osgWrappers/introspection/osg/CullingSet.cpp, - src/osgWrappers/introspection/osg/DeleteHandler.cpp, - src/osgWrappers/introspection/osg/Depth.cpp, - src/osgWrappers/introspection/osg/DisplaySettings.cpp, - src/osgWrappers/introspection/osg/DrawPixels.cpp, - src/osgWrappers/introspection/osg/Drawable.cpp, - src/osgWrappers/introspection/osg/Endian.cpp, - src/osgWrappers/introspection/osg/Fog.cpp, - src/osgWrappers/introspection/osg/FragmentProgram.cpp, - src/osgWrappers/introspection/osg/FrameBufferObject.cpp, - src/osgWrappers/introspection/osg/FrameStamp.cpp, - src/osgWrappers/introspection/osg/FrontFace.cpp, - src/osgWrappers/introspection/osg/GL2Extensions.cpp, - src/osgWrappers/introspection/osg/GLBeginEndAdapter.cpp, - src/osgWrappers/introspection/osg/Geode.cpp, - src/osgWrappers/introspection/osg/Geometry.cpp, - src/osgWrappers/introspection/osg/GraphicsContext.cpp, - src/osgWrappers/introspection/osg/GraphicsThread.cpp, - src/osgWrappers/introspection/osg/Group.cpp, - src/osgWrappers/introspection/osg/Hint.cpp, - src/osgWrappers/introspection/osg/Image.cpp, - src/osgWrappers/introspection/osg/ImageSequence.cpp, - src/osgWrappers/introspection/osg/ImageStream.cpp, - src/osgWrappers/introspection/osg/KdTree.cpp, - src/osgWrappers/introspection/osg/LOD.cpp, - src/osgWrappers/introspection/osg/Light.cpp, - src/osgWrappers/introspection/osg/LightModel.cpp, - src/osgWrappers/introspection/osg/LightSource.cpp, - src/osgWrappers/introspection/osg/LineSegment.cpp, - src/osgWrappers/introspection/osg/LineStipple.cpp, - src/osgWrappers/introspection/osg/LineWidth.cpp, - src/osgWrappers/introspection/osg/LogicOp.cpp, - src/osgWrappers/introspection/osg/Material.cpp, - src/osgWrappers/introspection/osg/Matrix.cpp, - src/osgWrappers/introspection/osg/MatrixTransform.cpp, - src/osgWrappers/introspection/osg/Matrixd.cpp, - src/osgWrappers/introspection/osg/Matrixf.cpp, - src/osgWrappers/introspection/osg/Multisample.cpp, - src/osgWrappers/introspection/osg/Node.cpp, - src/osgWrappers/introspection/osg/NodeCallback.cpp, - src/osgWrappers/introspection/osg/NodeTrackerCallback.cpp, - src/osgWrappers/introspection/osg/NodeVisitor.cpp, - src/osgWrappers/introspection/osg/Notify.cpp, - src/osgWrappers/introspection/osg/Object.cpp, - src/osgWrappers/introspection/osg/Observer.cpp, - src/osgWrappers/introspection/osg/ObserverNodePath.cpp, - src/osgWrappers/introspection/osg/OccluderNode.cpp, - src/osgWrappers/introspection/osg/OcclusionQueryNode.cpp, - src/osgWrappers/introspection/osg/OperationThread.cpp, - src/osgWrappers/introspection/osg/PagedLOD.cpp, - src/osgWrappers/introspection/osg/Point.cpp, - src/osgWrappers/introspection/osg/PointSprite.cpp, - src/osgWrappers/introspection/osg/PolygonMode.cpp, - src/osgWrappers/introspection/osg/PolygonOffset.cpp, - src/osgWrappers/introspection/osg/PolygonStipple.cpp, - src/osgWrappers/introspection/osg/Polytope.cpp, - src/osgWrappers/introspection/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/introspection/osg/PrimitiveSet.cpp, - src/osgWrappers/introspection/osg/Program.cpp, - src/osgWrappers/introspection/osg/Projection.cpp, - src/osgWrappers/introspection/osg/ProxyNode.cpp, - src/osgWrappers/introspection/osg/Referenced.cpp, - src/osgWrappers/introspection/osg/RenderInfo.cpp, - src/osgWrappers/introspection/osg/Scissor.cpp, - src/osgWrappers/introspection/osg/Sequence.cpp, - src/osgWrappers/introspection/osg/ShadeModel.cpp, - src/osgWrappers/introspection/osg/Shader.cpp, - src/osgWrappers/introspection/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/introspection/osg/Shape.cpp, - src/osgWrappers/introspection/osg/ShapeDrawable.cpp, - src/osgWrappers/introspection/osg/State.cpp, - src/osgWrappers/introspection/osg/StateAttribute.cpp, - src/osgWrappers/introspection/osg/StateAttributeCallback.cpp, - src/osgWrappers/introspection/osg/StateSet.cpp, - src/osgWrappers/introspection/osg/Stats.cpp, - src/osgWrappers/introspection/osg/Stencil.cpp, - src/osgWrappers/introspection/osg/StencilTwoSided.cpp, - src/osgWrappers/introspection/osg/Switch.cpp, - src/osgWrappers/introspection/osg/TexEnv.cpp, - src/osgWrappers/introspection/osg/TexEnvCombine.cpp, - src/osgWrappers/introspection/osg/TexEnvFilter.cpp, - src/osgWrappers/introspection/osg/TexGen.cpp, - src/osgWrappers/introspection/osg/TexGenNode.cpp, - src/osgWrappers/introspection/osg/TexMat.cpp, - src/osgWrappers/introspection/osg/Texture.cpp, - src/osgWrappers/introspection/osg/Texture1D.cpp, - src/osgWrappers/introspection/osg/Texture2D.cpp, - src/osgWrappers/introspection/osg/Texture2DArray.cpp, - src/osgWrappers/introspection/osg/Texture3D.cpp, - src/osgWrappers/introspection/osg/TextureCubeMap.cpp, - src/osgWrappers/introspection/osg/TextureRectangle.cpp, - src/osgWrappers/introspection/osg/Timer.cpp, - src/osgWrappers/introspection/osg/TransferFunction.cpp, - src/osgWrappers/introspection/osg/Transform.cpp, - src/osgWrappers/introspection/osg/Uniform.cpp, - src/osgWrappers/introspection/osg/Vec2.cpp, - src/osgWrappers/introspection/osg/Vec2s.cpp, - src/osgWrappers/introspection/osg/Vec3.cpp, - src/osgWrappers/introspection/osg/Vec3s.cpp, - src/osgWrappers/introspection/osg/Vec4.cpp, - src/osgWrappers/introspection/osg/Vec4s.cpp, - src/osgWrappers/introspection/osg/VertexProgram.cpp, - src/osgWrappers/introspection/osg/View.cpp, - src/osgWrappers/introspection/osg/Viewport.cpp, - src/osgWrappers/introspection/osgAnimation/Action.cpp, - src/osgWrappers/introspection/osgAnimation/ActionAnimation.cpp, - src/osgWrappers/introspection/osgAnimation/ActionBlendIn.cpp, - src/osgWrappers/introspection/osgAnimation/ActionBlendOut.cpp, - src/osgWrappers/introspection/osgAnimation/ActionCallback.cpp, - src/osgWrappers/introspection/osgAnimation/ActionStripAnimation.cpp, - src/osgWrappers/introspection/osgAnimation/ActionVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Animation.cpp, - src/osgWrappers/introspection/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/introspection/osgAnimation/AnimationUpdateCallback.cpp, - src/osgWrappers/introspection/osgAnimation/BasicAnimationManager.cpp, - src/osgWrappers/introspection/osgAnimation/Bone.cpp, - src/osgWrappers/introspection/osgAnimation/BoneMapVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Channel.cpp, - src/osgWrappers/introspection/osgAnimation/CubicBezier.cpp, - src/osgWrappers/introspection/osgAnimation/EaseMotion.cpp, - src/osgWrappers/introspection/osgAnimation/FrameAction.cpp, - src/osgWrappers/introspection/osgAnimation/Interpolator.cpp, - src/osgWrappers/introspection/osgAnimation/Keyframe.cpp, - src/osgWrappers/introspection/osgAnimation/LinkVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/introspection/osgAnimation/RigGeometry.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransform.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransformHardware.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransformSoftware.cpp, - src/osgWrappers/introspection/osgAnimation/Sampler.cpp, - src/osgWrappers/introspection/osgAnimation/Skeleton.cpp, - src/osgWrappers/introspection/osgAnimation/StackedMatrixElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedQuaternionElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedRotateAxisElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedScaleElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedTransform.cpp, - src/osgWrappers/introspection/osgAnimation/StackedTransformElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedTranslateElement.cpp, - src/osgWrappers/introspection/osgAnimation/StatsHandler.cpp, - src/osgWrappers/introspection/osgAnimation/StatsVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Target.cpp, - src/osgWrappers/introspection/osgAnimation/Timeline.cpp, - src/osgWrappers/introspection/osgAnimation/TimelineAnimationManager.cpp, - src/osgWrappers/introspection/osgAnimation/UpdateBone.cpp, - src/osgWrappers/introspection/osgAnimation/UpdateMaterial.cpp, - src/osgWrappers/introspection/osgAnimation/UpdateMatrixTransform.cpp, - src/osgWrappers/introspection/osgAnimation/Vec3Packed.cpp, - src/osgWrappers/introspection/osgAnimation/VertexInfluence.cpp, - src/osgWrappers/introspection/osgDB/Archive.cpp, - src/osgWrappers/introspection/osgDB/AuthenticationMap.cpp, - src/osgWrappers/introspection/osgDB/Callbacks.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgDB/DatabaseRevisions.cpp, - src/osgWrappers/introspection/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/introspection/osgDB/DynamicLibrary.cpp, - src/osgWrappers/introspection/osgDB/FileCache.cpp, - src/osgWrappers/introspection/osgDB/FileUtils.cpp, - src/osgWrappers/introspection/osgDB/ImageOptions.cpp, - src/osgWrappers/introspection/osgDB/ImagePager.cpp, - src/osgWrappers/introspection/osgDB/Input.cpp, - src/osgWrappers/introspection/osgDB/ObjectWrapper.cpp, - src/osgWrappers/introspection/osgDB/Options.cpp, - src/osgWrappers/introspection/osgDB/Output.cpp, - src/osgWrappers/introspection/osgDB/ParameterOutput.cpp, - src/osgWrappers/introspection/osgDB/PluginQuery.cpp, - src/osgWrappers/introspection/osgDB/Registry.cpp, - src/osgWrappers/introspection/osgDB/SharedStateManager.cpp, - src/osgWrappers/introspection/osgDB/XmlParser.cpp, - src/osgWrappers/introspection/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/introspection/osgFX/BumpMapping.cpp, - src/osgWrappers/introspection/osgFX/Cartoon.cpp, - src/osgWrappers/introspection/osgFX/Effect.cpp, - src/osgWrappers/introspection/osgFX/MultiTextureControl.cpp, - src/osgWrappers/introspection/osgFX/Outline.cpp, - src/osgWrappers/introspection/osgFX/Registry.cpp, - src/osgWrappers/introspection/osgFX/Scribe.cpp, - src/osgWrappers/introspection/osgFX/SpecularHighlights.cpp, - src/osgWrappers/introspection/osgFX/Technique.cpp, - src/osgWrappers/introspection/osgFX/Validator.cpp, - src/osgWrappers/introspection/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/introspection/osgGA/CameraManipulator.cpp, - src/osgWrappers/introspection/osgGA/CameraViewSwitchManipulator.cpp, - src/osgWrappers/introspection/osgGA/DriveManipulator.cpp, - src/osgWrappers/introspection/osgGA/EventQueue.cpp, - src/osgWrappers/introspection/osgGA/EventVisitor.cpp, - src/osgWrappers/introspection/osgGA/FlightManipulator.cpp, - src/osgWrappers/introspection/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/introspection/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/introspection/osgGA/GUIEventHandler.cpp, - src/osgWrappers/introspection/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/introspection/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/introspection/osgGA/SphericalManipulator.cpp, - src/osgWrappers/introspection/osgGA/StateSetManipulator.cpp, - src/osgWrappers/introspection/osgGA/TerrainManipulator.cpp, - src/osgWrappers/introspection/osgGA/TrackballManipulator.cpp, - src/osgWrappers/introspection/osgGA/UFOManipulator.cpp, - src/osgWrappers/introspection/osgManipulator/AntiSquish.cpp, - src/osgWrappers/introspection/osgManipulator/Command.cpp, - src/osgWrappers/introspection/osgManipulator/CommandManager.cpp, - src/osgWrappers/introspection/osgManipulator/Constraint.cpp, - src/osgWrappers/introspection/osgManipulator/Dragger.cpp, - src/osgWrappers/introspection/osgManipulator/Projector.cpp, - src/osgWrappers/introspection/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/introspection/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Selection.cpp, - src/osgWrappers/introspection/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabBoxTrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/introspection/osgParticle/AccelOperator.cpp, - src/osgWrappers/introspection/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/introspection/osgParticle/BoxPlacer.cpp, - src/osgWrappers/introspection/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/introspection/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/introspection/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/introspection/osgParticle/Counter.cpp, - src/osgWrappers/introspection/osgParticle/Emitter.cpp, - src/osgWrappers/introspection/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/introspection/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/introspection/osgParticle/FireEffect.cpp, - src/osgWrappers/introspection/osgParticle/ForceOperator.cpp, - src/osgWrappers/introspection/osgParticle/Interpolator.cpp, - src/osgWrappers/introspection/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/introspection/osgParticle/ModularEmitter.cpp, - src/osgWrappers/introspection/osgParticle/ModularProgram.cpp, - src/osgWrappers/introspection/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/introspection/osgParticle/Operator.cpp, - src/osgWrappers/introspection/osgParticle/Particle.cpp, - src/osgWrappers/introspection/osgParticle/ParticleEffect.cpp, - src/osgWrappers/introspection/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/introspection/osgParticle/ParticleSystem.cpp, - src/osgWrappers/introspection/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/introspection/osgParticle/Placer.cpp, - src/osgWrappers/introspection/osgParticle/PointPlacer.cpp, - src/osgWrappers/introspection/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/introspection/osgParticle/Program.cpp, - src/osgWrappers/introspection/osgParticle/RadialShooter.cpp, - src/osgWrappers/introspection/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/introspection/osgParticle/SectorPlacer.cpp, - src/osgWrappers/introspection/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/introspection/osgParticle/Shooter.cpp, - src/osgWrappers/introspection/osgParticle/SmokeEffect.cpp, - src/osgWrappers/introspection/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/introspection/osgParticle/VariableRateCounter.cpp, - src/osgWrappers/introspection/osgParticle/range.cpp, - src/osgWrappers/introspection/osgPresentation/AnimationMaterial.cpp, - src/osgWrappers/introspection/osgPresentation/CompileSlideCallback.cpp, - src/osgWrappers/introspection/osgPresentation/PickEventHandler.cpp, - src/osgWrappers/introspection/osgPresentation/SlideEventHandler.cpp, - src/osgWrappers/introspection/osgPresentation/SlideShowConstructor.cpp, - src/osgWrappers/introspection/osgShadow/ConvexPolyhedron.cpp, - src/osgWrappers/introspection/osgShadow/DebugShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/MinimalShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/introspection/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/ShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/introspection/osgShadow/ShadowTexture.cpp, - src/osgWrappers/introspection/osgShadow/ShadowVolume.cpp, - src/osgWrappers/introspection/osgShadow/ShadowedScene.cpp, - src/osgWrappers/introspection/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/StandardShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/ViewDependentShadowTechnique.cpp, - src/osgWrappers/introspection/osgSim/BlinkSequence.cpp, - src/osgWrappers/introspection/osgSim/ColorRange.cpp, - src/osgWrappers/introspection/osgSim/DOFTransform.cpp, - src/osgWrappers/introspection/osgSim/ElevationSlice.cpp, - src/osgWrappers/introspection/osgSim/GeographicLocation.cpp, - src/osgWrappers/introspection/osgSim/HeightAboveTerrain.cpp, - src/osgWrappers/introspection/osgSim/Impostor.cpp, - src/osgWrappers/introspection/osgSim/ImpostorSprite.cpp, - src/osgWrappers/introspection/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/introspection/osgSim/LightPoint.cpp, - src/osgWrappers/introspection/osgSim/LightPointNode.cpp, - src/osgWrappers/introspection/osgSim/LightPointSystem.cpp, - src/osgWrappers/introspection/osgSim/LineOfSight.cpp, - src/osgWrappers/introspection/osgSim/MultiSwitch.cpp, - src/osgWrappers/introspection/osgSim/ObjectRecordData.cpp, - src/osgWrappers/introspection/osgSim/OverlayNode.cpp, - src/osgWrappers/introspection/osgSim/ScalarBar.cpp, - src/osgWrappers/introspection/osgSim/ScalarsToColors.cpp, - src/osgWrappers/introspection/osgSim/Sector.cpp, - src/osgWrappers/introspection/osgSim/ShapeAttribute.cpp, - src/osgWrappers/introspection/osgSim/SphereSegment.cpp, - src/osgWrappers/introspection/osgSim/VisibilityGroup.cpp, - src/osgWrappers/introspection/osgTerrain/Export.cpp, - src/osgWrappers/introspection/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/introspection/osgTerrain/Layer.cpp, - src/osgWrappers/introspection/osgTerrain/Locator.cpp, - src/osgWrappers/introspection/osgTerrain/Terrain.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp, - src/osgWrappers/introspection/osgTerrain/ValidDataOperator.cpp, - src/osgWrappers/introspection/osgText/Export.cpp, - src/osgWrappers/introspection/osgText/FadeText.cpp, - src/osgWrappers/introspection/osgText/Font.cpp, - src/osgWrappers/introspection/osgText/Font3D.cpp, - src/osgWrappers/introspection/osgText/KerningType.cpp, - src/osgWrappers/introspection/osgText/String.cpp, - src/osgWrappers/introspection/osgText/Text.cpp, - src/osgWrappers/introspection/osgText/Text3D.cpp, - src/osgWrappers/introspection/osgText/TextBase.cpp, - src/osgWrappers/introspection/osgUtil/ConvertVec.cpp, - src/osgWrappers/introspection/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/introspection/osgUtil/CullVisitor.cpp, - src/osgWrappers/introspection/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/introspection/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/introspection/osgUtil/DrawElementTypeSimplifier.cpp, - src/osgWrappers/introspection/osgUtil/EdgeCollector.cpp, - src/osgWrappers/introspection/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/introspection/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/introspection/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/introspection/osgUtil/IncrementalCompileOperation.cpp, - src/osgWrappers/introspection/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/introspection/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/introspection/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/introspection/osgUtil/OperationArrayFunctor.cpp, - src/osgWrappers/introspection/osgUtil/Optimizer.cpp, - src/osgWrappers/introspection/osgUtil/PlaneIntersector.cpp, - src/osgWrappers/introspection/osgUtil/PolytopeIntersector.cpp, - src/osgWrappers/introspection/osgUtil/PositionalStateContainer.cpp, - src/osgWrappers/introspection/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/introspection/osgUtil/RenderBin.cpp, - src/osgWrappers/introspection/osgUtil/RenderStage.cpp, - src/osgWrappers/introspection/osgUtil/ReversePrimitiveFunctor.cpp, - src/osgWrappers/introspection/osgUtil/SceneGraphBuilder.cpp, - src/osgWrappers/introspection/osgUtil/SceneView.cpp, - src/osgWrappers/introspection/osgUtil/ShaderGen.cpp, - src/osgWrappers/introspection/osgUtil/Simplifier.cpp, - src/osgWrappers/introspection/osgUtil/SmoothingVisitor.cpp, - src/osgWrappers/introspection/osgUtil/StateGraph.cpp, - src/osgWrappers/introspection/osgUtil/Statistics.cpp, - src/osgWrappers/introspection/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/introspection/osgUtil/Tessellator.cpp, - src/osgWrappers/introspection/osgUtil/TransformAttributeFunctor.cpp, - src/osgWrappers/introspection/osgUtil/TransformCallback.cpp, - src/osgWrappers/introspection/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/introspection/osgUtil/UpdateVisitor.cpp, - src/osgWrappers/introspection/osgViewer/CompositeViewer.cpp, - src/osgWrappers/introspection/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/introspection/osgViewer/Renderer.cpp, - src/osgWrappers/introspection/osgViewer/Scene.cpp, - src/osgWrappers/introspection/osgViewer/View.cpp, - src/osgWrappers/introspection/osgViewer/Viewer.cpp, - src/osgWrappers/introspection/osgViewer/ViewerEventHandlers.cpp, - src/osgWrappers/introspection/osgViewer/api/Carbon/GraphicsHandleCarbon.cpp, - src/osgWrappers/introspection/osgViewer/api/Cocoa/GraphicsHandleCocoa.cpp, - src/osgWrappers/introspection/osgViewer/api/Win32/GraphicsHandleWin32.cpp, - src/osgWrappers/introspection/osgViewer/api/Win32/PixelBufferWin32.cpp, - src/osgWrappers/introspection/osgViewer/api/X11/GraphicsHandleX11.cpp, - src/osgWrappers/introspection/osgViewer/api/X11/PixelBufferX11.cpp, - src/osgWrappers/introspection/osgVolume/Export.cpp, - src/osgWrappers/introspection/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/introspection/osgVolume/Layer.cpp, - src/osgWrappers/introspection/osgVolume/Locator.cpp, - src/osgWrappers/introspection/osgVolume/Property.cpp, - src/osgWrappers/introspection/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/introspection/osgVolume/Volume.cpp, - src/osgWrappers/introspection/osgVolume/VolumeTechnique.cpp, - src/osgWrappers/introspection/osgVolume/VolumeTile.cpp, - src/osgWrappers/introspection/osgWidget/Box.cpp, - src/osgWrappers/introspection/osgWidget/Browser.cpp, - src/osgWrappers/introspection/osgWidget/Canvas.cpp, - src/osgWrappers/introspection/osgWidget/EventInterface.cpp, - src/osgWrappers/introspection/osgWidget/Frame.cpp, - src/osgWrappers/introspection/osgWidget/Input.cpp, - src/osgWrappers/introspection/osgWidget/Label.cpp, - src/osgWrappers/introspection/osgWidget/Lua.cpp, - src/osgWrappers/introspection/osgWidget/PdfReader.cpp, - src/osgWrappers/introspection/osgWidget/Python.cpp, - src/osgWrappers/introspection/osgWidget/ScriptEngine.cpp, - src/osgWrappers/introspection/osgWidget/StyleInterface.cpp, - src/osgWrappers/introspection/osgWidget/StyleManager.cpp, - src/osgWrappers/introspection/osgWidget/Table.cpp, - src/osgWrappers/introspection/osgWidget/Types.cpp, - src/osgWrappers/introspection/osgWidget/ViewerEventHandlers.cpp, - src/osgWrappers/introspection/osgWidget/VncClient.cpp, - src/osgWrappers/introspection/osgWidget/Widget.cpp, - src/osgWrappers/introspection/osgWidget/Window.cpp, - src/osgWrappers/introspection/osgWidget/WindowManager.cpp: - Updated wrappers to handle the new - ref_ptr::ref_ptr(observer_ptr&> constructor. - -2010-06-01 18:20 robert - - * include/osg/FrameBufferObject, src/osg/FrameBufferObject.cpp: - Changed types from unsigned int to int's to address warnings, and - changed the extension requirements so the GLES2 builds with FBO's - where supported - -2010-06-01 15:20 robert - - * src/osgAnimation/MorphGeometry.cpp: From Michael Platings, - "MorphGeometry fix: this fixes a crash found by Alessandro - Terenzi" - -2010-06-01 14:12 robert - - * include/osg/Camera, include/osg/FrameBufferObject, - src/osg/Camera.cpp, src/osg/FrameBufferObject.cpp: From Frederic - Bouvier, "here is my proposal. It is supposed to be used like - this : - - osg::Camera* c = createCamera(); - c->attach( osg::Camera::COLOR_BUFFER0, texture3d, 0, - osg::Camera::FACE_CONTROLLED_BY_GEOMETRY_SHADER ); - - it works also for cubemap textures and 2d texture arrays - " - -2010-06-01 13:33 robert - - * include/osg/State, src/osg/State.cpp, src/osgText/Text3D.cpp: - From Michael Platings, introduced - osg::State::applyModelViewMaitrx(const osg::Matrix& matrix) - method and associated osg::State::_modelViewCache to enable - osgText::Text3D to be refactored in away that avoids - creating/destroying matrices - -2010-06-01 13:32 robert - - * include/osgQt/Export, include/osgQt/QGraphicsViewAdapter, - include/osgQt/QWebViewImage, include/osgQt/QWidgetImage: Added - newline to fix warnings - -2010-06-01 11:51 robert - - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: From Mathias Froehlich, - "While tracking some valgrind problems in flightgear, I found a - remaining off by - one error in the rgb loader. - - Previously we limited the current line to the image with + 1. - With that change - it is correctly limited to the width of the image. - Also flightgear seems to run nice with that change. - " - -2010-06-01 11:28 robert - - * include/osg/ref_ptr, src/osgDB/DatabasePager.cpp: From Tim Moore, - "This is a patch that allows a ref_ptr to be constructed using an - observer_ptr argument, which is locked. This is shorthand for - declaring the ref_ptr and then passing it to - observer_ptr::lock(). - - " +Files: + - "CMakeLists.txt" is the top-level file. + - FindGLCORE.cmake" and "OsgMacroUtils.cmake" go in CMakeModules. +" -2010-06-01 11:23 robert - * include/osgQt/QGraphicsViewAdapter: Removed unneccessary QWebKit - includes -2010-06-01 09:23 robert +Mon, 28 Apr 2014 14:58:36 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "I had the osgvolume example crash on me when loading large volume datasets due to an overflow in image.cpp after a unneeded cast from unsigned int to int. Here is a small fix." - * include/osg/Notify: From Wang Rui, "The Notify header doesn't - include the OSG_ALWAYS macro, which is used - in the quicktime plugin. The file attached is to fix that small - problem." +Mon, 28 Apr 2014 14:57:05 +0000 +Checked in by : Robert OSFIELD +From Jason Beverage, "Here is a fix for a small race condition in osgDB::makeDirectory. It attempts to create all the directories in the given path and stops attempting to make directories when one of them fails. I've added a check to see if the failure occurred b/c the directory was created by another thread or process.We were running into issues occasionally in osgEarth where multiple threads were writing out files like /1/2/3.jpg and /1/3/4.jpg. Both threads would try to create the /1 directory and only one of them would succeed. So the first thread would write out the full /1/2/3.jpg while the second thread wouldn't create the /1/3 directory b/c /1 was already created and the writing of /1/3/4.jpg would fail. +" -2010-06-01 09:21 robert - * include/osg/Observer, include/osg/RenderInfo: From Tim Moore, - fixed typo and removed redundent include -2010-05-31 17:16 robert +Mon, 28 Apr 2014 11:53:58 +0000 +Checked in by : Robert OSFIELD +Fixed type error - * src/osgWrappers/introspection/osg/Fog.cpp: Updated wrappers +Fri, 25 Apr 2014 08:57:27 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "For me osgviewer.cpp and Renderer.cpp were not compiling (visual studio 2013 with profile GL2) because they were still using GLuintEXT. So I changed that, see the attached files.I also noticed that the generated OpenGL header were not copied to the installation directory so my own application could not find it." -2010-05-31 16:53 robert - * include/osg/Fog, src/osg/Fog.cpp, - src/osgWrappers/serializers/osg/Fog.cpp: From Torben Dannhauer, - "I added radial fog functionality be using the OpenGL extension - 'GL_NV_fog_distance'." -2010-05-31 15:52 robert +Fri, 25 Apr 2014 08:56:53 +0000 +Checked in by : Robert OSFIELD +Reordered the configuiration file blocks to make it more understandable - * src/osgGA/EventQueue.cpp: From Xin Li, "use std::list::splice to - replace std::list::insert and std::list::clear - - it may use the constant time to move all the items in the - '_eventQueue' to 'events', and reduce the mutex holding time" +Fri, 25 Apr 2014 08:18:03 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, fixed placement of OpenGL header so that it gets generated and placed in the build directory as per the Config file -2010-05-31 15:51 robert +Thu, 24 Apr 2014 17:26:46 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I've attached a small fix to the Collada loader which prevents a null pointer access in some cases." - * examples/osggpx/osggpx.cpp: Added support for a wider range of - gpx files +Thu, 24 Apr 2014 17:23:16 +0000 +Checked in by : Robert OSFIELD +From Lionel Lagarde, "In the ::apply method, when the image data need to be re-uploaded, the Texture2DArray checks if the TextureObject can be re-used. The test was made using the constant 1 instead of the real texture depth, so the TextureObject was never re-used." -2010-05-28 17:17 robert +Thu, 24 Apr 2014 17:14:54 +0000 +Checked in by : Robert OSFIELD +From Kristofer Tingdahl, "I and my team have gone over the code again, and we feel that we are comfortable in our current proposal for change. It goes deeper than it did before, and I explain why:There was code in the osgViewer/Viewer.cpp and osgViewer/CompositeViewer.cpp that transformed the Y-coordinates of an event. The code in the composite viewer did however miss the touch-data of the event. I thought that it should really be the GUIEventAdapter that should know about this, and hence I added the +GUIEventAdapter::setMouseYOrientationAndUpdateCoords which is re-computing the coordinates. First I simply added a boolean to the setMouseYOrientation function: - * include/osg/Notify: Added OSG_DEBUG_DP macro +setMouseYOrientation( MouseYOrientation, bool updatecooreds=false ); -2010-05-28 17:17 robert +but then the serializer complained. - * src/osgPlugins/pdf/ReaderWriterPDF.cpp: Converted osg::notify to - OSG_INFO etc. +This function is called from both the Viewer and the CompositeViewer. We have not tested from the viewer, but I cannot see it would not work from visual inspection. -2010-05-28 17:16 robert +The other change is in MultiTouchTrackballManipulator::handleMultiTouchDrag. I have removed the normalisation. The reason for that is that it normalised into screen coordinates from 0,0 to 1,1. The problem with that is that if you have a pinch event and you keep the distance say 300 pixels between your fingers, these 300 pixels represent 0.20 of the screen in the horizontal domain, but 0.3 of the screen in the vertical domain. A rotation of the pinch-fingers will hence result in a zoom in, as the normalised distance is changing between them. - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: Converted - osg::notify to OSG_INFO etc. +A consequence of this is that I have changed the pan-code to use the same algorithm as the middle-mouse-pan. -2010-05-28 17:15 robert +The rest of it is very similar from previous revision, and there has been some fine-tuning here and there. - * src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Converted osg::notify - to OSG_INFO etc. +" -2010-05-28 17:14 robert - * src/osgPlugins/txf/TXFFont.cpp: Converted osg::notify to OSG_INFO - etc. -2010-05-28 17:14 robert +Thu, 24 Apr 2014 10:49:57 +0000 +Checked in by : Robert OSFIELD +From Mattias Helsing, "Seems I was only half right given what you asked for. CMP0017 only says that modules that are found and ran from cmake modules dir should prefer cmake-provided modules. find_package() and include() still look in CMAKE_MODULE_PATH first.After some investigating I've come up with a proposal examplified in +the attached FindGDAL.cmake script. It simply calls the cmake provided +FindGDAL.cmake if it exists and returns if it succeeds in finding GDAL +using that, otherwise continue with our local cmake code. +Pro: Wont clutter our root CMakeLists.txt +Con: If we begin to write more advanced Findxxx modules (using +COMPONENTS, REQUIRED etc.) we may have to revise this scheme. +" - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 17:14 robert - * src/osgPlugins/mdl/MDLReader.cpp, - src/osgPlugins/mdl/VTXReader.cpp, - src/osgPlugins/mdl/VVDReader.cpp: Converted osg::notify to - OSG_INFO etc. +Thu, 24 Apr 2014 10:38:58 +0000 +Checked in by : Robert OSFIELD +Fixed reference invalidation bug. -2010-05-28 17:13 robert +Thu, 24 Apr 2014 07:22:55 +0000 +Checked in by : Robert OSFIELD +Fixed typo in OPENSCENEGRAPH_OPENGL_HEADER name - * src/osgPlugins/zip/ReaderWriterZIP.cpp: Converted osg::notify to - OSG_INFO etc. +Thu, 24 Apr 2014 07:20:44 +0000 +Checked in by : Robert OSFIELD +Removed header as this CMake generated configuration file is not required to be part of svn repository -2010-05-28 17:13 robert +Wed, 23 Apr 2014 19:30:33 +0000 +Checked in by : Robert OSFIELD +Added src/osg/OpenGL.in configuration file and include/osg/OpenGL header files - * src/osgPlugins/xine/ReaderWriterXine.cpp: Converted osg::notify - to OSG_INFO etc. +Wed, 23 Apr 2014 09:08:26 +0000 +Checked in by : Robert OSFIELD +Introduced new scheme for setting up which version of OpenGL/OpenGL ES the OSG is compiled for.To select standard OpenGL 1/2 build with full backwards and forwards comtability use: -2010-05-28 17:12 robert + ./configure + make - * src/osgPlugins/x/ReaderWriterDirectX.cpp, - src/osgPlugins/x/directx.cpp, src/osgPlugins/x/mesh.cpp: - Converted osg::notify to OSG_INFO etc. +OR -2010-05-28 17:12 robert + ./configure -DOPENGL_PROFILE=GL2 - * src/osgPlugins/vtf/ReaderWriterVTF.cpp: Converted osg::notify to - OSG_INFO etc. +To select OpenGL 3 core profile build using GL3/gl3.h header: -2010-05-28 17:11 robert + ./configure -DOPENGL_PROFILE=GL3 - * src/osgPlugins/vnc/ReaderWriterVNC.cpp: Converted osg::notify to - OSG_INFO etc. +To select OpenGL Arb core profile build using GL/glcorearb.h header: -2010-05-28 17:11 robert + ./configure -DOPENGL_PROFILE=GLCORE - * src/osgPlugins/view/ReaderWriterOsgViewer.cpp: Converted - osg::notify to OSG_INFO etc. +To select OpenGL ES 1.1 profile use: -2010-05-28 17:10 robert + ./configure -DOPENGL_PROFILE=GLES1 - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/TXPNode.cpp, src/osgPlugins/txp/TXPParser.cpp: - Converted osg::notify to OSG_INFO etc. +To select OpenGL ES 2 profile use: -2010-05-28 17:10 robert + ./configure -DOPENGL_PROFILE=GLES2 - * src/osgPlugins/trans/ReaderWriterTRANS.cpp: Converted osg::notify - to OSG_INFO etc. -2010-05-28 17:10 robert +Using OPENGL_PROFILE will select all the appropriate features required so no other settings in cmake will need to be adjusted. +The new configuration options are stored in the include/osg/OpenGL header that deprecates the old include/osg/GL header. - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Converted osg::notify - to OSG_INFO etc. -2010-05-28 17:09 robert - * src/osgPlugins/tgz/ReaderWriterTGZ.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 17:09 robert +Mon, 14 Apr 2014 16:16:08 +0000 +Checked in by : Robert OSFIELD +Fixed comment - * src/osgPlugins/terrain/ReaderWriterOsgTerrain.cpp: Converted - osg::notify to OSG_INFO etc. +Sun, 13 Apr 2014 16:04:27 +0000 +Checked in by : Robert OSFIELD +Renamed FindFreeType.cmake to FindFreetype.cmake to enable CMake build to pick up on CMake's own FindFreetype.cmake when it's available. -2010-05-28 17:08 robert +Wed, 9 Apr 2014 17:40:27 +0000 +Checked in by : Robert OSFIELD +From Paul Cheyrou-Lagreze, "Attached is fix/feature for FBX osgplugins against latest trunk:- ReaderWriterFBX.cpp: add "z up scene axis" support: FBX provides facility to convert model scene axis during conversion. Currently fbx plugin convert axis to fbx:opengl axis system (which is arbitrarily at Y up, as opengl is in reality axis agnostic) and sometimes what is needed is Z up so added an option for Z up conversion - * src/osgPlugins/stl/ReaderWriterSTL.cpp: Converted osg::notify to - OSG_INFO etc. +- FindFBX.cmake: add support for latest fbx sdk ( 2014.2 )" -2010-05-28 17:08 robert - * src/osgPlugins/shp/ESRIShapeParser.cpp, - src/osgPlugins/shp/ESRIShapeReaderWriter.cpp, - src/osgPlugins/shp/XBaseParser.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 17:07 robert +Wed, 9 Apr 2014 17:20:26 +0000 +Checked in by : Robert OSFIELD +Disabled warnings to address issues in FBX headers that generate lots of warnings that we can't fix. - * src/osgPlugins/shadow/ReaderWriterOsgShadow.cpp: Converted - osg::notify to OSG_INFO etc. +Tue, 8 Apr 2014 19:42:05 +0000 +Checked in by : Robert OSFIELD +Added extra search paths to add compatibility with Kubuntu/Ubuntu 14.04 now locaton for freetype -2010-05-28 17:07 robert +Tue, 8 Apr 2014 17:45:21 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and fixed Contributors list - * src/osgPlugins/scale/ReaderWriterSCALE.cpp: Converted osg::notify - to OSG_INFO etc. +Tue, 8 Apr 2014 12:00:52 +0000 +Checked in by : Robert OSFIELD +From Remo Eichenberger, "I have extended the TIFF plugin that allows you to write LZW or JPEG compressed TIFF's. Options are:tiff_compression = lzw | jpeg" -2010-05-28 17:07 robert - * src/osgPlugins/rot/ReaderWriterROT.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 17:06 robert +Tue, 8 Apr 2014 11:48:34 +0000 +Checked in by : Robert OSFIELD +From Sebastian Messerschmidt, "n the trunk version the osgGA::GUIActionAdapter has additional functions for lineIntersection which use osgGA::GUIEventAdapter&, but the class declaration is neither forwarded, nor is the header included. Using the trunk together with osgEarth 2.5 will fail to build, due to the missing type.Attached is the file forward declaring osgGA::GUIEventAdapter." - * src/osgPlugins/rgb/ReaderWriterRGB.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 17:06 robert - * src/osgPlugins/revisions/ReaderWriterRevisions.cpp: Converted - osg::notify to OSG_INFO etc. +Tue, 8 Apr 2014 11:17:59 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "We had a small problem converting skeleton animations from fbx to osgt format. Turned out that the serializer didn't handle bone names with spaces very well (the 3ds studio max biped for instance has spaces by default). Here is a small fix for the problem." -2010-05-28 17:05 robert +Tue, 8 Apr 2014 11:08:05 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, previous obj "commit broke compilation under visual studio 2013. To use std::not1 you need to include the functional header. Here is a fix." - * src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QTLiveUtils.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeLiveImageStream.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: Converted - osg::notify to OSG_INFO etc. +Mon, 7 Apr 2014 15:04:34 +0000 +Checked in by : Robert OSFIELD +Fixed build when using of double BoundingBox/BoundingSphere -2010-05-28 16:54 robert +Mon, 7 Apr 2014 14:17:57 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, "I am sending four fixes to obj plugin:- materialName used to be not stripped of whitespace, making number of models +fail to load materials; now fixed +- stripping was considering spaces only, thus models using tabs had problems +to load correctly; fixed +- fixed references to textures; they did not performed conversion to native +directory separators +- make d (dissolve) takes precedence over Tr (transparency); there seems to be +a confusion about the Tr item - some claiming 1 to be opaque and 0 +transparent, while number of models uses exactly the opposite. d (dissolve), +if present in the model, does not suffer from this confusion, thus using it +instead fixes the problem for many many models. - * src/osgPlugins/qfont/ReaderQFont.cpp: Converted osg::notify to - OSG_INFO etc. +I put many comments to the file concerning d and Tr item as others may further +investigate. Let me know in the case of any problems." -2010-05-28 16:54 robert - * src/osgPlugins/pnm/ReaderWriterPNM.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 16:53 robert +Mon, 7 Apr 2014 14:11:14 +0000 +Checked in by : Robert OSFIELD +From Marcel Pursche, "The problem is that when OpenThreads is build with the Linux pthreads implementation all threads inherit the processor affinity from their parent thread. This behavior is also described in the pthreads man page (http://man7.org/linux/man-pages/man3/pthread_create.3.html):> +> Linux-specific details +> The new thread inherits copies of the calling thread's capability +> sets (see capabilities(7)) and CPU affinity mask (see +> sched_setaffinity(2)). +> - * src/osgPlugins/png/ReaderWriterPNG.cpp: Converted osg::notify to - OSG_INFO etc. +To prevent this behaviour I wrote a patch that explicitly sets the affinity mask to all cores of the system, if no specific affinity was defined with PThread::setProcessorAffinity(unsigned int) . -2010-05-28 16:52 robert +Thank you! +" - * src/osgPlugins/ply/typedefs.h: Converted osg::notify to OSG_INFO - etc. -2010-05-28 16:51 robert - * src/osgPlugins/pfb/ConvertFromPerformer.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp: Converted osg::notify to - OSG_INFO etc. +Mon, 7 Apr 2014 14:03:40 +0000 +Checked in by : Robert OSFIELD +From Bjorn Blessing, "I got bored of the constant reports of “missing chunk 0xA08A†when reading 3ds-files. After a bit of research I discovered that this property is related to the advanced transparency settings for the material in 3D studio. In this case the falloff parameter. These controls affect the opacity falloff of a transparent material. And the property chooses whether falloff is in or out. I have added the property to the file reader BUT no changes are made to make this property propagate into the osgMaterial. But at least we get rid of this annoying error message." -2010-05-28 16:50 robert +Mon, 7 Apr 2014 13:52:01 +0000 +Checked in by : Robert OSFIELD +From Bjorn Hein, "please find attached a small fix for RayIntersector.cpp.* Changes are made against trunk +* Reason: crashes when using specific constructor from RayIntersector +* Info: Line 42: added in constructor +RayIntersector::RayIntersector(const Vec3d& start, const Vec3d& +direction) missing initialisation of _parent +" - * src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp: Converted - osg::notify to OSG_INFO etc. -2010-05-28 16:50 robert - * src/osgPlugins/osga/OSGA_Archive.cpp: Converted osg::notify to - OSG_INFO etc. +Mon, 7 Apr 2014 13:48:15 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "We discussed the issue of GL_RED_SNORM and GL_RG_SNORM some time ago, but the issue was never completely resolved. Please see the attached submission to fix the issue.osg/GL2Extensions was incorrectly defining GL_RED_SNORM and GL_RG_SNORM as part of the definitions for OpenGL v3.1. However, a quick review of the 3.1 spec indicates that these are not part of the 3.1 standard. -2010-05-28 16:49 robert +My attached change moves these definitions out of the #ifndef GL_VERSION_3_1 conditional block, and defines them conditionally if not already defined. This allows the DDS plugin to build for GL3. +" - * src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/XmlStreamOperator.h: Converted osg::notify to - OSG_INFO etc. -2010-05-28 16:49 robert - * src/osgPlugins/ogr/ReaderWriterOGR.cpp: Converted osg::notify to - OSG_INFO etc. +Fri, 4 Apr 2014 11:25:51 +0000 +Checked in by : Robert OSFIELD +Fixed iso surface shaders -2010-05-28 16:48 robert +Tue, 1 Apr 2014 18:56:57 +0000 +Checked in by : Robert OSFIELD +Improved the setting of sample density/ratio so that they are consistent - * src/osgPlugins/normals/Normals.cpp, - src/osgPlugins/normals/ReaderWriterNormals.cpp: Converted - osg::notify to OSG_INFO etc. +Tue, 1 Apr 2014 18:33:02 +0000 +Checked in by : Robert OSFIELD +Fixed handling of volume tiles with a region. -2010-05-28 16:48 robert +Thu, 27 Mar 2014 12:47:44 +0000 +Checked in by : Robert OSFIELD +Added cube and hull rendering support - * src/osgPlugins/md2/ReaderWriterMD2.cpp: Converted osg::notify to - OSG_INFO etc. +Wed, 19 Mar 2014 17:56:40 +0000 +Checked in by : Robert OSFIELD +Restructured the handling of TileData to make it more extensible and flexible. -2010-05-28 16:47 robert +Tue, 18 Mar 2014 18:14:15 +0000 +Checked in by : Robert OSFIELD +Addd ExteriorTransparencyFactorProperty for support of upcomming functionality of rendering a cube volume with a hull volume inside it. - * src/osgPlugins/lwo/Block.cpp, src/osgPlugins/lwo/Converter.cpp, - src/osgPlugins/lwo/Object.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/Surface.cpp, src/osgPlugins/lwo/VertexMap.cpp, - src/osgPlugins/lwo/old_Lwo2.cpp, - src/osgPlugins/lwo/old_Lwo2Layer.cpp: Converted osg::notify to - OSG_INFO etc. +Mon, 17 Mar 2014 15:54:52 +0000 +Checked in by : Robert OSFIELD +Added support for animating volume hulls. -2010-05-28 16:45 robert +Thu, 13 Mar 2014 14:02:50 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached is a fix for the rest-http-plugin which should fix the font-issue reported by Phil. The old implementation did forward all requests to the internal http-server via user-events. This prevented error-reporting for missing files, as the request was accidentally handled by the plugin. As a request for missing font-file succeeds and returned an empty file, the curl-plugin hands the data happily to the freetype-plugin which failed trying to load an empty font-file, obviously.My fix was to rename the standard request handler to a specialized user-event-handler which handles only requests for "/user-event“ - * src/osgPlugins/logo/ReaderWriterLOGO.cpp: Converted osg::notify - to OSG_INFO etc. +So fonts should work on iOS when loaded remotely, even when a local file is available and with the resthttp-plugin serving the presentation. +" -2010-05-28 16:44 robert - * src/osgPlugins/jp2/ReaderWriterJP2.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 16:44 robert +Thu, 13 Mar 2014 13:59:34 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fix for building lua plugin from local source - * src/osgPlugins/lws/SceneLoader.cpp: Converted osg::notify to - OSG_INFO etc. +Thu, 13 Mar 2014 10:28:18 +0000 +Checked in by : Robert OSFIELD +Added support for directly invoking scripts using and to enable scripts to interact with each other. -2010-05-28 16:42 robert +Wed, 12 Mar 2014 11:01:09 +0000 +Checked in by : Robert OSFIELD +Improved support for passing events between scripts and Present3D application - * src/osgPlugins/gecko/ReaderWriterUBrowser.cpp, - src/osgPlugins/gecko/UBrowser.cpp, - src/osgPlugins/gecko/UBrowser.h: Converted osg::notify to - OSG_INFO etc. +Tue, 11 Mar 2014 10:52:10 +0000 +Checked in by : Robert OSFIELD +Added PresentationInterface class to make it more convinient to access the current presentation from scripting languages -2010-05-28 16:42 robert +Mon, 10 Mar 2014 19:08:46 +0000 +Checked in by : Robert OSFIELD +Added scripting support for JumpData, KeyPosition, HomePosition and parts of SlideEventHandler that enable dispatching of user created events. - * src/osgPlugins/gz/ReaderWriterGZ.cpp: Converted osg::notify to - OSG_INFO etc. +Fri, 7 Mar 2014 11:09:25 +0000 +Checked in by : Robert OSFIELD +Added ability to replace callback objects via lua scripts to allow one to override callbacks.Added fallback for osgGA::Widget::Extents. -2010-05-28 16:41 robert - * src/osgPlugins/gif/ReaderWriterGIF.cpp: Converted osg::notify to - OSG_INFO etc. -2010-05-28 16:41 robert +Thu, 6 Mar 2014 10:27:26 +0000 +Checked in by : Robert OSFIELD +Added support for osg::Image to the lua plugin. - * src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/geo/osgGeoStructs.h: Converted osg::notify to - OSG_INFO etc. +Tue, 4 Mar 2014 13:36:13 +0000 +Checked in by : Robert OSFIELD +Implement add, set and get methods for StateSet. -2010-05-28 16:39 robert +Tue, 4 Mar 2014 13:35:27 +0000 +Checked in by : Robert OSFIELD +Relaxed the handling of Image objects - * src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp: Converted - osg::notify to OSG_INFO etc. +Tue, 4 Mar 2014 13:34:23 +0000 +Checked in by : Robert OSFIELD +Fixed handling of OverrideValue -2010-05-28 16:39 robert +Fri, 28 Feb 2014 17:38:36 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fix for handling font paths on a local machine when other files have been source from a remote machine. - * src/osgPlugins/ffmpeg/FFmpegAudioStream.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Converted - osg::notify to OSG_INFO etc. +Thu, 27 Feb 2014 10:02:55 +0000 +Checked in by : Robert OSFIELD +Added MapReverseIterator implementation. -2010-05-28 16:38 robert +Wed, 26 Feb 2014 18:18:08 +0000 +Checked in by : Robert OSFIELD +Added MapIteratorObject and support for it in the lua plugin to provide map iterator functionality. - * src/osgPlugins/exr/ReaderWriterEXR.cpp: Converted osg::notify to - OSG_INFO etc. +Wed, 26 Feb 2014 11:01:35 +0000 +Checked in by : Robert OSFIELD +Added Map serializer size() method and support for it in the lua plugin. Renamed functions in lua plugin to be more consistent. -2010-05-28 16:38 robert +Wed, 26 Feb 2014 08:26:51 +0000 +Checked in by : Robert OSFIELD +Added support for vector and map containers in osgDB::Serailizer's and lua plugin. - * src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp: Converted - osg::notify to OSG_INFO etc. +Mon, 24 Feb 2014 10:19:48 +0000 +Checked in by : Robert OSFIELD +Added Vector serialization and support in lua plugin top enable script users to set/get vector properties such as osg::Array, osg::PrimitiveSet and children lists. -2010-05-28 16:37 robert +Thu, 13 Feb 2014 18:52:41 +0000 +Checked in by : Robert OSFIELD +Fixed handling of enums in Lua plugin.Fixed computation of getNumPrimitives() so that it returns 0 when PrimitiveSet is zero. - * src/osgPlugins/dw/ReaderWriterDW.cpp: Converted osg::notify to - OSG_INFO etc. +Added missing properties to PrimitiveSet serializers -2010-05-28 16:37 robert - * src/osgPlugins/directshow/DirectShowTexture.cpp, - src/osgPlugins/directshow/ReaderWriterDirectShow.cpp: Converted - osg::notify to OSG_INFO etc. -2010-05-28 16:32 robert +Thu, 13 Feb 2014 11:01:36 +0000 +Checked in by : Robert OSFIELD +Added inital cut of PrimitiveSetSet wrappers to scripting - * src/osgPlugins/dds/ReaderWriterDDS.cpp: Converted osg::notify to - OSG_INFO etc. +Wed, 12 Feb 2014 18:10:52 +0000 +Checked in by : Robert OSFIELD +Added full range of Array subclasses to wrappers -2010-05-28 16:32 robert +Wed, 12 Feb 2014 18:03:53 +0000 +Checked in by : Robert OSFIELD +Added initial support for wrapping osg::Array in a way that can be used via scripting. - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Converted osg::notify - to OSG_INFO etc. +Tue, 11 Feb 2014 18:18:48 +0000 +Checked in by : Robert OSFIELD +Fixed handling of assignment of User Object's that replace existing Object with the specified propertyName. -2010-05-28 16:31 robert +Tue, 11 Feb 2014 18:07:37 +0000 +Checked in by : Robert OSFIELD +Improved support for setting/getting properties via the osg::UserDataContainer. - * src/osgPlugins/cfg/ReaderWriterCFG.cpp: Converted osg::notify to - OSG_INFO etc. +Tue, 11 Feb 2014 10:56:51 +0000 +Checked in by : Robert OSFIELD +Quitened down debug messages -2010-05-28 16:31 robert +Tue, 11 Feb 2014 09:43:08 +0000 +Checked in by : Robert OSFIELD +Changed implementation of enums to use strings as lua type to make it easier to do comparisons and track values - * src/osgPlugins/bvh/ReaderWriterBVH.cpp: Converted osg::notify to - OSG_INFO etc. +Mon, 10 Feb 2014 18:07:26 +0000 +Checked in by : Robert OSFIELD +Implemented Widget::handle, handleImplementation, traverse and travseImplementation() wrappers to enable them to be extended via scripting -2010-05-28 16:30 robert +Mon, 10 Feb 2014 16:44:13 +0000 +Checked in by : Robert OSFIELD +Added support for serailizing and scripting BoundingBox and BoundingSphere objects - * src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/bsp/VBSPReader.cpp: Converted osg::notify to - OSG_INFO etc. +Sat, 8 Feb 2014 17:53:51 +0000 +Checked in by : Robert OSFIELD +Fixed handling of setting member variables via the Serializers when the value is the default.Added support for more features of the osgDB::Widget class. -2010-05-28 16:30 robert +Fixed handling of boolean values in the Lua plugin - * src/osgPlugins/ac/ac3d.cpp: Converted osg::notify to OSG_INFO - etc. -2010-05-28 16:29 robert - * src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp: Converted osg::notify - to OSG_INFO etc. -2010-05-28 16:28 robert +Sat, 8 Feb 2014 10:39:20 +0000 +Checked in by : Robert OSFIELD +Added support for enum's in the Lua script integration - * src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp: Converted osg::notify - to OSG_INFO etc. +Sat, 8 Feb 2014 10:38:51 +0000 +Checked in by : Robert OSFIELD +Fixed export -2010-05-28 16:28 robert +Fri, 7 Feb 2014 16:06:57 +0000 +Checked in by : Robert OSFIELD +Fixed handling of returns when invoking a script, removed some debug messages, added a warning message when detecting erronous types.Added FocusBehaviour enum to osgGA::Widget serialization - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Converted osg::notify - to use info -2010-05-28 16:27 robert - * src/osgPlugins/obj/OBJWriterNodeVisitor.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp: Converted osg::notify to OSG_INFO -2010-05-28 16:27 robert +Fri, 7 Feb 2014 10:46:16 +0000 +Checked in by : Robert OSFIELD +Added initial Widget wrapper - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/Image.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/ive/TerrainTile.cpp, - src/osgPlugins/ive/Uniform.cpp: Converted osg::notify to OSG_INFO - etc. +Thu, 6 Feb 2014 17:32:41 +0000 +Checked in by : Robert OSFIELD +Moved experimental Widget class to osgGA Add computeIntersections() to the osgGA::GUIActionAdapter base class to enable intersection tests without needing to directly link to osgViewer. -2010-05-28 16:26 robert +Thu, 6 Feb 2014 17:04:40 +0000 +Checked in by : Robert OSFIELD +Added osg::CallbackObject suport to the experiment Widget base class to enable script language extension of widgets - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/fbxRCamera.cpp, - src/osgPlugins/fbx/fbxRNode.cpp: Converted osg::notify to - OSG_INFO etc. +Thu, 6 Feb 2014 11:25:37 +0000 +Checked in by : Robert OSFIELD +Added support for casting objects to allow one to access a parent classes methods. -2010-05-28 16:25 robert +Wed, 5 Feb 2014 11:08:39 +0000 +Checked in by : Robert OSFIELD +Tweaked the detection of when the position transform for the hull is required. - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp: Converted osg::notify - to OSG_INFO etc. +Wed, 5 Feb 2014 11:07:03 +0000 +Checked in by : Robert OSFIELD +Added support for a tag that can be used within tag. -2010-05-28 16:24 robert +Wed, 5 Feb 2014 11:04:29 +0000 +Checked in by : Robert OSFIELD +Improved the white space trimming - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeRSkinning.cpp, - src/osgPlugins/dae/daeRTransforms.cpp, - src/osgPlugins/dae/daeReader.cpp, - src/osgPlugins/dae/daeWAnimations.cpp, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWTransforms.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h, - src/osgPlugins/dae/domSourceReader.cpp, - src/osgPlugins/dae/domSourceReader.h: Converted osg::notify to - OSG_INFO - -2010-05-28 16:22 robert - - * src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/ExportOptions.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/MaterialPaletteManager.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.cpp, - src/osgPlugins/OpenFlight/Registry.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/VertexRecords.cpp, - src/osgPlugins/OpenFlight/expAncillaryRecords.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp: Converted - osg::notify to OSG_INFO etc. - -2010-05-28 16:10 robert - - * src/osgQt/QGraphicsViewAdapter.cpp: Conversion of osg::notify to - OSG_INFO etc. - -2010-05-28 16:09 robert - - * src/osgSim/ElevationSlice.cpp, src/osgSim/HeightAboveTerrain.cpp, - src/osgSim/Impostor.cpp, src/osgSim/ImpostorSprite.cpp, - src/osgSim/LightPointDrawable.cpp, src/osgSim/LightPointNode.cpp, - src/osgSim/LightPointSpriteDrawable.cpp, - src/osgSim/LineOfSight.cpp, src/osgSim/OverlayNode.cpp, - src/osgSim/SphereSegment.cpp, src/osgSim/VisibilityGroup.cpp: - Converted osg::notify to OSG_INFO etc. - -2010-05-28 16:08 robert - - * src/osgPresentation/AnimationMaterial.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Converted - osg::notify to OSG_INFO etc. - -2010-05-28 16:07 robert - - * src/osgWidget/Browser.cpp, src/osgWidget/Frame.cpp: Converted - osg::notify to OSG_INFO - -2010-05-28 16:07 robert - - * src/osgAnimation/ActionBlendIn.cpp, - src/osgAnimation/ActionBlendOut.cpp, - src/osgAnimation/ActionVisitor.cpp, - src/osgAnimation/LinkVisitor.cpp, - src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/RigGeometry.cpp, - src/osgAnimation/RigTransformHardware.cpp, - src/osgAnimation/RigTransformSoftware.cpp, - src/osgAnimation/Skeleton.cpp, src/osgAnimation/StatsHandler.cpp, - src/osgAnimation/Timeline.cpp, src/osgAnimation/UpdateBone.cpp, - src/osgAnimation/UpdateMaterial.cpp, - src/osgAnimation/UpdateMatrixTransform.cpp, - src/osgAnimation/VertexInfluence.cpp: Converted osg::notify to - OSG_INFO etc. - -2010-05-28 16:06 robert - - * src/osgManipulator/Constraint.cpp, - src/osgManipulator/Dragger.cpp, src/osgManipulator/Projector.cpp: - Converted osg::notify to OSG_INFO etc. - -2010-05-28 16:05 robert - - * src/osgParticle/ConnectedParticleSystem.cpp, - src/osgParticle/FluidProgram.cpp, - src/osgParticle/ModularEmitter.cpp, - src/osgParticle/MultiSegmentPlacer.cpp, - src/osgParticle/Particle.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgParticle/ParticleSystemUpdater.cpp, - src/osgParticle/PrecipitationEffect.cpp: Converted osg::notify to - OSG_INFO etc. - -2010-05-28 16:04 robert - - * src/osgFX/AnisotropicLighting.cpp, src/osgFX/BumpMapping.cpp, - src/osgFX/Effect.cpp, src/osgFX/SpecularHighlights.cpp, - src/osgFX/Validator.cpp: Convertex osg::notify to OSG_INFO etc. - -2010-05-28 16:04 robert - - * src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/Layer.cpp, src/osgVolume/Locator.cpp, - src/osgVolume/Property.cpp, src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/Volume.cpp, src/osgVolume/VolumeTechnique.cpp, - src/osgVolume/VolumeTile.cpp: Converted osg::notify to OSG_INFO - etc. - -2010-05-28 16:03 robert - - * src/osgTerrain/Layer.cpp, src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp: Conversion of osg::notify to - OSG_INFO etc. - -2010-05-28 16:03 robert - - * src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/OccluderGeometry.cpp, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/ShadowTechnique.cpp, - src/osgShadow/ShadowVolume.cpp: Converted osg::notify to OSG_INFO - etc. - -2010-05-28 16:00 robert - - * src/osgText/DefaultFont.cpp, src/osgText/FadeText.cpp, - src/osgText/Font.cpp, src/osgText/Font3D.cpp, - src/osgText/String.cpp, src/osgText/Text.cpp: converted - osg::notify to OSG_INFO etc. - -2010-05-28 15:56 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/PixelBufferCarbon.cpp, - src/osgViewer/PixelBufferCocoa.mm, - src/osgViewer/PixelBufferWin32.cpp, - src/osgViewer/PixelBufferX11.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp, - src/osgViewer/ViewerEventHandlers.cpp: conversion of osg::notify - to OSG_INFO etc. - -2010-05-28 15:53 robert - - * src/osgGA/AnimationPathManipulator.cpp, - src/osgGA/CameraViewSwitchManipulator.cpp, - src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/SphericalManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, src/osgGA/UFOManipulator.cpp: - Conversion of osg::notify to OSG_INFO. - -2010-05-28 15:52 robert - - * src/osgDB/Archive.cpp, src/osgDB/Compressors.cpp, - src/osgDB/ConvertUTF.cpp, src/osgDB/DatabaseRevisions.cpp, - src/osgDB/DotOsgWrapper.cpp, src/osgDB/DynamicLibrary.cpp, - src/osgDB/FileCache.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/ImagePager.cpp, src/osgDB/InputStream.cpp, - src/osgDB/ObjectWrapper.cpp, src/osgDB/Output.cpp, - src/osgDB/OutputStream.cpp, src/osgDB/ReadFile.cpp, - src/osgDB/Registry.cpp, src/osgDB/WriteFile.cpp, - src/osgDB/XmlParser.cpp: Conversion of osg::notify to OSG_INFO - etc. - -2010-05-28 15:51 robert - - * src/osgUtil/CullVisitor.cpp, - src/osgUtil/DelaunayTriangulator.cpp, - src/osgUtil/EdgeCollector.cpp, src/osgUtil/GLObjectsVisitor.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/IntersectionVisitor.cpp, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgUtil/MeshOptimizers.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/PlaneIntersector.cpp, src/osgUtil/RenderBin.cpp, - src/osgUtil/RenderLeaf.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/ReversePrimitiveFunctor.cpp, - src/osgUtil/SceneGraphBuilder.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/ShaderGen.cpp, src/osgUtil/Simplifier.cpp, - src/osgUtil/TangentSpaceGenerator.cpp, - src/osgUtil/Tessellator.cpp, src/osgUtil/TriStripVisitor.cpp: - Conversion of osg::notify to OSG_INFO etc. - -2010-05-28 15:47 robert - - * src/osg/AlphaFunc.cpp, src/osg/ArrayDispatchers.cpp, - src/osg/BlendColor.cpp, src/osg/BlendEquation.cpp, - src/osg/BlendFunc.cpp, src/osg/BufferObject.cpp, - src/osg/Camera.cpp, src/osg/ClampColor.cpp, - src/osg/ClipPlane.cpp, src/osg/ClusterCullingCallback.cpp, - src/osg/CullSettings.cpp, src/osg/DisplaySettings.cpp, - src/osg/DrawPixels.cpp, src/osg/Drawable.cpp, - src/osg/FragmentProgram.cpp, src/osg/FrameBufferObject.cpp, - src/osg/GL2Extensions.cpp, src/osg/GLExtensions.cpp, - src/osg/Geode.cpp, src/osg/Geometry.cpp, - src/osg/GraphicsContext.cpp, src/osg/Group.cpp, - src/osg/Image.cpp, src/osg/ImageSequence.cpp, - src/osg/ImageUtils.cpp, src/osg/KdTree.cpp, src/osg/Light.cpp, - src/osg/LightModel.cpp, src/osg/LineStipple.cpp, - src/osg/LogicOp.cpp, src/osg/Material.cpp, src/osg/Math.cpp, - src/osg/Multisample.cpp, src/osg/NodeTrackerCallback.cpp, - src/osg/OcclusionQueryNode.cpp, src/osg/OperationThread.cpp, - src/osg/Point.cpp, src/osg/PointSprite.cpp, - src/osg/PolygonMode.cpp, src/osg/PolygonOffset.cpp, - src/osg/PolygonStipple.cpp, src/osg/Program.cpp, - src/osg/Quat.cpp, src/osg/Sequence.cpp, src/osg/ShadeModel.cpp, - src/osg/Shader.cpp, src/osg/ShapeDrawable.cpp, src/osg/State.cpp, - src/osg/StateAttribute.cpp, src/osg/StateSet.cpp, - src/osg/Stats.cpp, src/osg/StencilTwoSided.cpp, - src/osg/TexEnvCombine.cpp, src/osg/TexGen.cpp, - src/osg/TexMat.cpp, src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp, src/osg/Timer.cpp, - src/osg/TransferFunction.cpp, src/osg/Uniform.cpp, - src/osg/VertexProgram.cpp, src/osg/View.cpp: Convesion of - osg::notify to OSG_INFO etc. - -2010-05-28 09:12 robert - - * src/osgViewer/View.cpp: Changed debug info to use DEBUG_INFO - -2010-05-28 08:57 robert - - * examples/osgfpdepth/osgfpdepth.cpp, include/osg/observer_ptr, - src/osg/ObserverNodePath.cpp, src/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/introspection/osgWidget/Widget.cpp, - src/osgWrappers/introspection/osgWidget/Window.cpp: Changed the - ref_ptr observer_ptr<>::lock() method to be - bool observer_ptr<>::lock(ref_ptr&) to avoid the temporary - ref_ptr<>'s - being created and destroyed on the stack along with the - associated ref/unref() operations - -2010-05-27 18:46 robert - - * src/osgDB/DatabasePager.cpp: Refactored the expiry and PagedLOD - counting so that it's now done in single - CountPagedLODsVisitor::removeExpiredChildrenAndCountPagedLODs - method - -2010-05-27 15:54 robert - - * examples/osghangglide/GliderManipulator.h, - examples/osgimpostor/TestManipulator.h, - include/osgGA/AnimationPathManipulator, - include/osgGA/CameraManipulator, - include/osgGA/CameraViewSwitchManipulator, - include/osgGA/DriveManipulator, - include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, - include/osgGA/SphericalManipulator, - include/osgGA/StandardManipulator, include/osgGA/UFOManipulator, - include/osgViewer/View, include/osgViewer/ViewerBase, - include/osgViewer/ViewerEventHandlers, src/osgGA/CMakeLists.txt, - src/osgGA/CameraManipulator.cpp, - src/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgGA/MatrixManipulator.cpp, - src/osgGA/StandardManipulator.cpp, src/osgViewer/View.cpp, - src/osgViewer/ViewerEventHandlers.cpp, - src/osgWidget/ViewerEventHandlers.cpp, - src/osgWrappers/introspection/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/introspection/osgGA/CameraManipulator.cpp, - src/osgWrappers/introspection/osgGA/CameraViewSwitchManipulator.cpp, - src/osgWrappers/introspection/osgGA/DriveManipulator.cpp, - src/osgWrappers/introspection/osgGA/FlightManipulator.cpp, - src/osgWrappers/introspection/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/introspection/osgGA/MatrixManipulator.cpp, - src/osgWrappers/introspection/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/introspection/osgGA/SphericalManipulator.cpp, - src/osgWrappers/introspection/osgGA/TerrainManipulator.cpp, - src/osgWrappers/introspection/osgGA/UFOManipulator.cpp, - src/osgWrappers/introspection/osgTerrain/Terrain.cpp, - src/osgWrappers/introspection/osgViewer/View.cpp: Renamed - osgGA::MatrixManipualtor to osgGA::CameraManipulator so its name - better reflects it's function - -2010-05-27 14:35 robert - - * CMakeModules/FindFFmpeg.cmake: From Michael Platings, "Minor - ffmpeg build fix, Replaced - IF (${FFMPEG_STDINT_INCLUDE_DIR}) - with - IF (FFMPEG_STDINT_INCLUDE_DIR)" - -2010-05-27 13:59 robert - - * applications/osgviewer/osgviewer.cpp, - include/osgGA/FirstPersonManipulator, - include/osgGA/FlightManipulator, - include/osgGA/NodeTrackerManipulator, - include/osgGA/OrbitManipulator, - include/osgGA/StandardManipulator, - include/osgGA/TerrainManipulator, - include/osgGA/TrackballManipulator, - src/osgGA/FirstPersonManipulator.cpp, - src/osgGA/FlightManipulator.cpp, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/OrbitManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: From Jan Pecvia, improvements - to manipulators and added new manipulator to osgviewer - -2010-05-27 13:58 robert - - * include/osgTerrain/Terrain, src/osgTerrain/Terrain.cpp: Moved - across to using more flexible dirtyMark when dirtying tiles - -2010-05-26 16:10 robert - - * src/osgTerrain/GeometryTechnique.cpp: Re-enabled boundary - equalization support. - -2010-05-26 08:34 robert - - * src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TerrainManipulator.cpp: Fixed warnings - -2010-05-25 17:02 robert - - * src/osgGA/FlightManipulator.cpp, src/osgGA/OrbitManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: Fixed 3 space indenting - -2010-05-25 17:02 robert - - * include/osgGA/FirstPersonManipulator, - include/osgGA/FlightManipulator, - include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, include/osgGA/OrbitManipulator, - include/osgGA/StandardManipulator, - include/osgGA/TrackballManipulator: Fixed 3 space indenting in - headers. - -2010-05-25 16:27 robert - - * include/osgGA/StandardManipulator, - src/osgWrappers/introspection/osgGA/DriveManipulator.cpp, - src/osgWrappers/introspection/osgGA/FlightManipulator.cpp, - src/osgWrappers/introspection/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/introspection/osgGA/MatrixManipulator.cpp, - src/osgWrappers/introspection/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/introspection/osgGA/SphericalManipulator.cpp, - src/osgWrappers/introspection/osgGA/TerrainManipulator.cpp, - src/osgWrappers/introspection/osgGA/TrackballManipulator.cpp, - src/osgWrappers/introspection/osgGA/UFOManipulator.cpp: Updated - wrappers - -2010-05-25 15:52 robert - - * include/osgQt/QWebViewImage: Removed export - -2010-05-25 12:05 robert - - * include/osgGA/FirstPersonManipulator, - include/osgGA/FlightManipulator, - include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, - include/osgGA/NodeTrackerManipulator, - include/osgGA/OrbitManipulator, - include/osgGA/StandardManipulator, - include/osgGA/TerrainManipulator, - include/osgGA/TrackballManipulator, include/osgGA/UFOManipulator, - src/osg/ObserverNodePath.cpp, src/osgGA/CMakeLists.txt, - src/osgGA/DriveManipulator.cpp, - src/osgGA/FirstPersonManipulator.cpp, - src/osgGA/FlightManipulator.cpp, - src/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgGA/MatrixManipulator.cpp, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/OrbitManipulator.cpp, - src/osgGA/SphericalManipulator.cpp, - src/osgGA/StandardManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, src/osgGA/UFOManipulator.cpp: - From Jan Perciva with changes from Robert Osfield, "I am - submitting improved osgGA camera manipulators. - Changes: - - new mouse wheel zoom/movement/center functionality - - ability to fix vertical axis (important for CAD) - - possibility to specify values as absolute values or relative to - model size - - kind of backward compatibility by flags passed to constructor - - and much more - - restructuring classes to use kind of hierarchy and standard way - of event processing (handle methods). This way, there is much - more code reusability and it is more easy to develop new kinds of - manipulators. - - Briefly, the new architecture keeps MatrixManipulator as base - abstract class. StandardManipulator is the feature-rich standard - manipulator with two main descendant classes: OrbitManipulator - and FirstPersonManipulator. OrbitManipulator is base class for - all trackball style manipulators, based on center, rotation and - distance from center. FirstPersonManipulator is base for walk or - fly style manipulators, using position and rotation for camera - manipulation. - " - - Changes by Robert: Replaced osg::Vec3 by osg::Vec3d, introduced - DEFAULT_SETTINGS enum and usage. Added frame time member - variables in prep for improving throw animation when vysync is - off. - -2010-05-24 14:16 robert - - * src/osgDB/DatabasePager.cpp: Quitened down debug output - -2010-05-24 09:44 robert - - * src/osgWrappers/introspection/osg/Image.cpp, - src/osgWrappers/introspection/osg/Plane.cpp: Updated wrappers - -2010-05-22 15:45 robert - - * include/osg/Image, include/osgQt/QWebViewImage, - include/osgQt/QWidgetImage, src/CMakeLists.txt, - src/osgQt/CMakeLists.txt, src/osgQt/QGraphicsViewAdapter.cpp, - src/osgQt/QWebViewImage.cpp, src/osgQt/QWidgetImage.cpp: - Refactored osgQt so that QWebViewImage is now entirely - implementated in the header, and osgQt itself no longer compiles - it, - leaving it to only applications that require it to include the - header and it's implementation and with ith the QWebKit - dependency. - -2010-05-21 09:56 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/Texture2DArray.cpp, - src/osgPlugins/ive/Texture2DArray.h: From Wojciech Lewandowski, - "Reading and Writing of Texture2DArrays for IVE format." - -2010-05-21 09:34 robert - - * examples/osgthreadedterrain/osgthreadedterrain.cpp, - src/osg/Texture2DArray.cpp: 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:23 robert - - * src/osgTerrain/GeometryTechnique.cpp: From Hartwig Wiesmann, - fixed setup of texture coordinates for applying a contour layer. - -2010-05-21 09:00 robert - - * src/osg/Referenced.cpp: Fixed warning - -2010-05-20 17:02 robert - - * include/osg/Plane: From Hartwig Wiesmann, "I have added some - doxygen documentation to the plane class. - " - -2010-05-20 17:00 robert - - * src/osg/Referenced.cpp: From Terry Welsh, added missing - static_cast in Referenced.cpp - -2010-05-20 15:25 robert - - * src/osgWrappers/introspection/osg/Observer.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgWidget/Widget.cpp, - src/osgWrappers/introspection/osgWidget/Window.cpp: Updated - wrappers - -2010-05-20 13:38 robert - - * include/osg/Observer, include/osg/Referenced, - include/osg/observer_ptr, src/osg/Observer.cpp, - src/osg/Referenced.cpp: Introduced a alternative implementation - of observer_ptr<> that uses ObserverSet rather than an local - WeakReference object. - -2010-05-19 16:43 robert - - * src/osg/GLStaticLibrary.cpp: From Alok Priyadarshi, build fix for - gcc. - -2010-05-19 13:40 robert - - * src/osg/GLStaticLibrary.cpp: Introduction an ADD_FUNCTION macro - to simply the set up of the static function mappings - -2010-05-19 13:14 robert - - * include/osg/observer_ptr: From Tim Moore, fix for deadlock - -2010-05-19 08:22 robert - - * include/osg/observer_ptr: Fixed warning - -2010-05-19 08:08 robert - - * include/osg/observer_ptr: From Martin Naylor, "Please find - attached the modified observer_ptr include for fixing a compiler - issue for Windows and VS2008." - -2010-05-18 18:01 robert - - * include/osg/observer_ptr: From Tim Moore, typo fix. - -2010-05-18 17:58 robert - - * src/osgDB/DatabasePager.cpp: Fixed typo - -2010-05-18 15:33 robert - - * src/osgDB/DatabasePager.cpp: Added better invalidation of the - inactive and active PageLOD lists when children are invalidated - when parents are removed. - -2010-05-18 11:00 robert - - * include/osgSim/BlinkSequence, include/osgSim/ColorRange, - include/osgSim/DOFTransform, include/osgSim/LightPointNode, - include/osgSim/ScalarBar, include/osgSim/SphereSegment, - src/osgSim/ScalarBar.cpp, - src/osgWrappers/introspection/osgSim/BlinkSequence.cpp, - src/osgWrappers/introspection/osgSim/ColorRange.cpp, - src/osgWrappers/introspection/osgSim/DOFTransform.cpp, - src/osgWrappers/introspection/osgSim/LightPointNode.cpp, - src/osgWrappers/introspection/osgSim/ScalarBar.cpp, - src/osgWrappers/introspection/osgSim/SphereSegment.cpp, - src/osgWrappers/introspection/osgVolume/Property.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osgSim, - src/osgWrappers/serializers/osgSim/AzimElevationSector.cpp, - src/osgWrappers/serializers/osgSim/AzimSector.cpp, - src/osgWrappers/serializers/osgSim/BlinkSequence.cpp, - src/osgWrappers/serializers/osgSim/CMakeLists.txt, - src/osgWrappers/serializers/osgSim/ConeSector.cpp, - src/osgWrappers/serializers/osgSim/DOFTransform.cpp, - src/osgWrappers/serializers/osgSim/DirectionalSector.cpp, - src/osgWrappers/serializers/osgSim/ElevationSector.cpp, - src/osgWrappers/serializers/osgSim/Impostor.cpp, - src/osgWrappers/serializers/osgSim/LightPointNode.cpp, - src/osgWrappers/serializers/osgSim/LightPointSystem.cpp, - src/osgWrappers/serializers/osgSim/MultiSwitch.cpp, - src/osgWrappers/serializers/osgSim/ObjectRecordData.cpp, - src/osgWrappers/serializers/osgSim/OverlayNode.cpp, - src/osgWrappers/serializers/osgSim/ScalarBar.cpp, - src/osgWrappers/serializers/osgSim/Sector.cpp, - src/osgWrappers/serializers/osgSim/SequenceGroup.cpp, - src/osgWrappers/serializers/osgSim/ShapeAttributeList.cpp, - src/osgWrappers/serializers/osgSim/SphereSegment.cpp, - src/osgWrappers/serializers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/serializers/osgVolume, - src/osgWrappers/serializers/osgVolume/AlphaFuncProperty.cpp, - src/osgWrappers/serializers/osgVolume/CMakeLists.txt, - src/osgWrappers/serializers/osgVolume/CompositeLayer.cpp, - src/osgWrappers/serializers/osgVolume/CompositeProperty.cpp, - src/osgWrappers/serializers/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/serializers/osgVolume/ImageDetails.cpp, - src/osgWrappers/serializers/osgVolume/ImageLayer.cpp, - src/osgWrappers/serializers/osgVolume/IsoSurfaceProperty.cpp, - src/osgWrappers/serializers/osgVolume/Layer.cpp, - src/osgWrappers/serializers/osgVolume/LightingProperty.cpp, - src/osgWrappers/serializers/osgVolume/Locator.cpp, - src/osgWrappers/serializers/osgVolume/MaximumIntensityProjectionProperty.cpp, - src/osgWrappers/serializers/osgVolume/Property.cpp, - src/osgWrappers/serializers/osgVolume/PropertyAdjustmentCallback.cpp, - src/osgWrappers/serializers/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/serializers/osgVolume/SampleDensityProperty.cpp, - src/osgWrappers/serializers/osgVolume/ScalarProperty.cpp, - src/osgWrappers/serializers/osgVolume/SwitchProperty.cpp, - src/osgWrappers/serializers/osgVolume/TransferFunctionProperty.cpp, - src/osgWrappers/serializers/osgVolume/TransparencyProperty.cpp, - src/osgWrappers/serializers/osgVolume/Volume.cpp, - src/osgWrappers/serializers/osgVolume/VolumeTechnique.cpp, - src/osgWrappers/serializers/osgVolume/VolumeTile.cpp: From Wang - Rui, serializers for osgSim and osgVolume - -2010-05-18 10:12 robert - - * include/osgVolume/Property, - src/osgPlugins/ive/VolumePropertyAdjustmentCallback.cpp: Fixed - typos in method names - -2010-05-17 18:37 robert - - * include/osg/Observer, include/osg/observer_ptr, - src/osgWrappers/introspection/genwrapper.conf, - src/osgWrappers/introspection/osg/Observer.cpp, - src/osgWrappers/introspection/osg/ObserverNodePath.cpp, - src/osgWrappers/introspection/osg/Referenced.cpp, - src/osgWrappers/introspection/osg/State.cpp, - src/osgWrappers/introspection/osg/observer_ptr.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/introspection/osgWidget/Widget.cpp, - src/osgWrappers/introspection/osgWidget/Window.cpp: Updated - wrappers - -2010-05-17 14:43 robert - - * include/osg/Referenced, include/osg/observer_ptr: From Tim Moore, - improved doxygen comments - -2010-05-17 14:21 robert - - * include/osg/Observer, include/osg/Referenced, - include/osg/observer_ptr, src/osg/Observer.cpp, - src/osg/Referenced.cpp: Removed signalUnreffed interface - -2010-05-17 09:03 robert - - * include/osg/Referenced, include/osg/observer_ptr, - src/osg/Referenced.cpp: From Tim Moore, refactore - WeakReference/Referenced to avoid signalling the observers when - do a unref_nodelete. - -2010-05-17 08:29 robert - - * src/osg/GLExtensions.cpp: Re-ordered the inclusion of platform - specific headers to fix compile error under Windows - -2010-05-14 19:47 robert - - * src/osg/CMakeLists.txt, src/osg/GLExtensions.cpp, - src/osg/GLStaticLibrary.cpp, src/osg/GLStaticLibrary.h, - src/osg/Notify.cpp: From Alok Priyadarshi, support for statically - linking to GLES2.lib - -2010-05-14 12:24 robert - - * include/osg/Observer, include/osg/ObserverNodePath, - include/osgDB/DatabasePager, src/osg/ObserverNodePath.cpp, - src/osgDB/DatabasePager.cpp: Refactored Observer/ObserverNodePath - and DatabasePager to improve their robustness. - -2010-05-14 12:14 robert - - * include/osg/Referenced, include/osg/observer_ptr, - src/osg/Referenced.cpp: From Tim Moore, new more robust - observer_ptr<> implementation - -2010-05-13 11:01 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/bsp/Q3BSPLoad.cpp, - src/osgPlugins/bvh/ReaderWriterBVH.cpp, - src/osgPlugins/dot/ReaderWriterDOT.cpp, - src/osgPlugins/exr/ReaderWriterEXR.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/gz/ReaderWriterGZ.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/mdl/MDLReader.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPlugins/ply/plyfile.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/revisions/ReaderWriterRevisions.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vtf/ReaderWriterVTF.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp: From Farshid Lashkari, "I - modified some plugins to use the osgDB file stream functions in - order to support UTF-8 encoded filenames." - -2010-05-13 10:01 robert - - * src/osg/StateSet.cpp, src/osgUtil/RenderBin.cpp, - src/osgViewer/StatsHandler.cpp: From Gunter Huber, fixes for - better GLES2 support - -2010-05-12 20:02 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp, - src/osgPlugins/osg/ReaderWriterOSG2.cpp: From Wang Rui, "I'd like - to submit my inbuilt schema data support of - the OutputStream/InputStream implementations, which was just - finished - last weekend with a few tests on Windows and Ubuntu. Hope it - could - work and get more feedbacks soon. - - I've added a new option "SchemaData" to the osg2 plugin. - Developers - may test the new feature with the command line: - - # osgconv cow.osg cow.osgb -O SchemaData - - It will record all serializer properties used in the scene graph, - at - the beginning of the generated file. And when osgviewer and user - applications is going to read the osgb file, the inbuilt data - will be - automatically read and applied first, to keep backwards - compatibility - partly. This will not affect osgb files generated with older - versions. - " - -2010-05-12 15:11 robert - - * src/osg/Referenced.cpp: From Mathias Froehlich, fixed memory leak - when using OpenThread::Mutex based reference counting. - -2010-05-12 14:34 robert - - * src/osgTerrain/GeometryTechnique.cpp: Removed inappropriate code - which was causing a memory leak. This code was clearly a copy and - paste error. The mistake was spotted by Robin Bourianes, with - code changes made by Robert Osfield. - -2010-05-12 11:58 robert - - * include/osgWidget/PdfReader, - src/osgPlugins/pdf/ReaderWriterPDF.cpp: Improved the - indentation/replaced tabs - -2010-05-12 11:44 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Sukender, "Here is - a tiny fix about texture wrap mode not being written correctly in - 3DS files." - -2010-05-12 11:41 robert - - * src/osgViewer/PixelBufferCarbon.cpp: From Stephan Huber, - "attached you'll find a fix for a crash when closeImplementation - gets - called more than once." - -2010-05-12 11:37 robert - - * examples/osgautocapture/osgautocapture.cpp, - examples/osgfpdepth/osgfpdepth.cpp, - examples/osgviewerQT/QOSGWidget.cpp, - examples/osgviewerQtContext/osgviewerQtContext.cpp, - examples/osgviewerQtWidget/QOSGWidget.cpp, include/osg/Camera, - include/osgShadow/ParallelSplitShadowMap, - src/osgPlugins/osg/XmlStreamOperator.h: Fixes for building OSG - with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF. - - Fixed copy and paste error in - Camera::getImplicitBufferAttachmentResolveMask(). - -2010-05-12 08:54 mplatings - - * src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h: From Martins Innus: The - current fbx writer doesn't seem to support BIND_PER_VERTEX for - normals. If you have this type of geometry it, exports the the - first normal in the array over the whole primitive set. I don't - know that the attached change should be applied as is, since I - don't know enough about DrawArrays and Draw Elements to know if - the indices for the vertices and normals are guaranteed to be the - same. I tried it on a couple models and that seemed to be the - case. The alternative is to have the logic down in - setControlPointAndNormalsAndUV and set the normals there with the - "vertexIndex" if the binding type is per vertex. Not sure what is - cleaner. - -2010-05-11 17:02 mplatings - - * src/osgPlugins/fbx/WriterNodeVisitor.cpp: From Martins Innus: - allow the fbx exporter to reference textures correctly if the - stateset is applied to the Geode instead of Geometry - -2010-05-11 09:08 mplatings - - * src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h: Fix from Martins - Innus for error: extra qualification 'FbxMaterialToOsgStateSet::' - on member 'FbxMaterialToOsgStateSet' - -2010-04-30 20:04 robert - - * src/osgWrappers/introspection/osg/BufferObject.cpp, - src/osgWrappers/introspection/osgDB/XmlParser.cpp: updated - wrappers - -2010-04-30 19:42 robert - - * applications/present3D/SpellChecker.cpp, - applications/present3D/SpellChecker.h, - applications/present3D/present3D.cpp: Added support for stripping - all by text nodes from a p3d xml file, and merging of an original - and stripped p3d xml file for the purpose of using external - editors to fix spelling mistakes - -2010-04-30 19:41 robert - - * include/osgDB/XmlParser, src/osgDB/XmlParser.cpp: Added proper - support for writing out Xml graph - -2010-04-30 19:41 robert - - * include/osg/BufferObject, include/osg/Texture2DMultisample: Fixed - warnings - -2010-04-30 15:51 robert - - * applications/present3D/CMakeLists.txt, - applications/present3D/SpellChecker.cpp, - applications/present3D/SpellChecker.h, - applications/present3D/present3D.cpp: Added beginnings of spell - checking support - -2010-04-30 12:22 robert - - * examples/CMakeLists.txt, examples/osgviewerQtContext, - examples/osgviewerQtContext/CMakeLists.txt, - examples/osgviewerQtContext/GraphicsWindowQt, - examples/osgviewerQtContext/GraphicsWindowQt.cpp, - examples/osgviewerQtContext/osgviewerQtContext.cpp: From Wang - Rui, "I've just made another OSG+Qt (GUI) examples to demonstrate - how to create OSG views, add them to a CompositeViewer, and add - corresponding widgets to Qt layouts or as popup windows. The - example inherits a GraphicsWindowQt from the GraphicsWindow base - class and implements most of the virtual methods. A QGLWidget is - created at the same time to perform keyboards and mouse events, - who is also added as the main widget's child. - - The new example, named osgviewerQtContext (because of deriving - from GraphicsContext), works fine on Windows XP SP3 and Qt 4.5.0, - with 4 widgets in QGridLayout and a popup window and 60Hz frame - rate. I haven't tested it on Unix/Linux and Mac OSX yet. So any - feedback from these platforms is appreciated. I wish this example - be a useful complement to current osgviewerQt and - osgviewerQtWidgets ones. :) - - Some unfinished functionalities: inheritedWindowData, - sharedContext, and more tests needed." - -2010-04-30 11:48 robert - - * include/osg/DisplaySettings, src/osg/DisplaySettings.cpp, - src/osgViewer/Renderer.cpp, src/osgViewer/View.cpp, - src/osgWrappers/introspection/osg/DisplaySettings.cpp: Changed - DisplaySetting::instance() to return a ref_ptr<>& rathern than a - raw C pointer to enable apps to delete the singleton or assign - their own. - -2010-04-30 10:52 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Added free of _visualInfo if - it's already been allocated - -2010-04-30 10:51 robert - - * src/osg/Referenced.cpp: Changed debug messages to use printf to - avoid issues with using notify at startup and exit. - -2010-04-30 10:50 robert - - * src/osgPresentation/SlideShowConstructor.cpp: Added support for - using dot graphs directly in the token - -2010-04-29 15:23 robert - - * src/OpenThreads/pthreads/CMakeLists.txt: From Bernardt Duvenhage: - "I noticed that in 'src/OpenThreads/pthreads/CMakeLists.txt' a - '!' has been written instead of 'NOT' within an if statement - expression. - - IF(!OSG_COMPILE_FRAMEWORKS) ... - vs. - IF(NOT OSG_COMPILE_FRAMEWORKS) ... - - This has the effect of always compiling OpenThreads as a - framework under OSX. The CMakeLists.txt that I use to be able to - compile the non-framework version of OpenThreads is attached. I - simply replaced the '!' replaced by a 'NOT' and added a MESSAGE - to notify me when the .framework will be compiled." - -2010-04-29 11:59 robert - - * CMakeModules/FindFBX.cmake: From Michael Platings, "I've updated - the FBX plugin to use the latest version of the FBX SDK. I've - checked in the plugin files myself, but I need you to check in - this change to FindFBX.cmake to change the SDK directory." - -2010-04-29 09:46 robert - - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: Fixed - handling of Terrain/CoordinateSystem node so that the code now - handles the fact that Terrain now subclasses from - CoordinateSystemNode. - -2010-04-28 22:08 robert - - * src/osgWrappers/introspection/genwrapper.conf, - src/osgWrappers/introspection/osg/FrameBufferObject.cpp, - src/osgWrappers/introspection/osg/PrimitiveSet.cpp, - src/osgWrappers/introspection/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/introspection/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabBoxTrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/introspection/osgPresentation/SlideShowConstructor.cpp: - Updated wrappers - -2010-04-28 21:22 robert - - * CMakeLists.txt, include/osg/BlendColor, - include/osg/BlendEquation, include/osg/BlendFunc, - include/osg/BufferObject, include/osg/ClampColor, - include/osg/Drawable, include/osg/FragmentProgram, - include/osg/FrameBufferObject, include/osg/GL, - include/osg/GL2Extensions, include/osg/GLU, - include/osg/Multisample, include/osg/Point, include/osg/State, - include/osg/StencilTwoSided, include/osg/Texture, - include/osg/Texture2DArray, include/osg/Texture3D, - include/osg/VertexProgram, src/osg/ArrayDispatchers.cpp, - src/osg/Config.in, src/osg/GLExtensions.cpp, - src/osg/Texture1D.cpp, src/osgViewer/GraphicsWindowWin32.cpp: - From Alok Priyadarshi, "1. Replaced APIENTRY to GL_APIENTRY which - is used by OpenGL ES - headers. For desktop GL GL_APIENTRY has been defined as - APIENTRY." - -2010-04-28 21:10 robert - - * include/osg/PrimitiveSet, - src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp: Fixed typo - -2010-04-28 20:33 robert - - * include/osg/Notify, src/osgGA/KeySwitchMatrixManipulator.cpp: - From Wang Rui, "Two small bugs were just found when I was writing - examples for my book - in process: a wrong definition of the OSG_FATAL macro, and wrong - logic - inside the KeySwitchMatrixManipulator::getDistance() function. I - believe both were slips." - -2010-04-28 20:21 robert - - * src/osgDB/FileNameUtils.cpp: From Farshid Lashkari, "There's a - subtle bug in osgDB::getFileExtension where it returns an - incorrect value if the filename does not contain an extension but - a sub-directory contains a dot character. I've modified the - function so that it checks for this case." - -2010-04-28 20:16 robert - - * include/osgManipulator/AntiSquish, include/osgManipulator/Export, - include/osgManipulator/RotateCylinderDragger, - include/osgManipulator/RotateSphereDragger, - include/osgManipulator/Scale1DDragger, - include/osgManipulator/Scale2DDragger, - include/osgManipulator/Translate1DDragger, - include/osgManipulator/Translate2DDragger, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osgManipulator, - src/osgWrappers/serializers/osgManipulator/AntiSquish.cpp, - src/osgWrappers/serializers/osgManipulator/CMakeLists.txt, - src/osgWrappers/serializers/osgManipulator/CompositeDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Dragger.cpp, - src/osgWrappers/serializers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/serializers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TabBoxTrackballDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/serializers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/serializers/osgTerrain/Terrain.cpp: From Wang - Rui, "The osgManipulator serializers are ready now. I need to - modify the - META_OSGMANIPULATOR_Object macro to ensure these classes could - work - with their wrappers, and a few naming styles should be changed as - well. Fortunately everything seems to compile fine under Windows - and - my new Ubuntu system. - - And I finally find the problem of the - serializers/osgTerrain/Terrain.cpp, it just missed an - "osg::Group" - before "osg::CoordinateSystemNode" indicator. With the small fix - attached now VPB could generate terrain with osgt/osgb formats." - -2010-04-28 20:10 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgTerrain/GeometryTechnique.cpp: From John Ivar Haugland and - Michael Platings, - JIV:"I deleted a line from the ReaderWriterDAE.cpp file that was - introduced in rev 11341. I got a crash on this line when the - options pointer was NULL." - MP:"Good spot John. The next line is also unnecessary and can be - removed as well (attached, plus some minor code beautifying)" - -2010-04-28 18:53 robert - - * include/osgPresentation/SlideShowConstructor, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - passing options to the .dot plugin - -2010-04-28 18:52 robert - - * src/osgPlugins/dot/BaseDotVisitor.cpp, - src/osgPlugins/dot/BaseDotVisitor.h, - src/osgPlugins/dot/ReaderWriterDOT.cpp: Added support for passing - in an options string to control the orientation of the generated - graph - -2010-04-28 17:29 robert - - * applications/present3D/ReadShowFile.cpp, - applications/present3D/ReadShowFile.h, - applications/present3D/present3D.cpp: Introduced the use of - ref_ptr<> in read show methods - -2010-04-28 17:18 robert - - * applications/present3D/ReaderWriterP3D.cpp, - applications/present3D/ReaderWriterPaths.cpp: Removed redundent - files - -2010-04-28 14:56 robert - - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - using graphviz dot for graphics visualization via - filename token. - -2010-04-28 14:55 robert - - * src/osgPlugins/ive/ReaderWriterIVE.cpp: Fixed typo - -2010-04-28 14:55 robert - - * src/osgPlugins/dot/SimpleDotVisitor.cpp: Added colours and - different style to drawable and statesets - -2010-04-28 14:05 mplatings - - * src/osgPlugins/fbx/fbxRNode.cpp: No longer removes redundant - nodes because node structure may be important. - -2010-04-28 10:15 robert - - * src/osgPlugins/xine/ReaderWriterXine.cpp: Replaced afprintf usage - with std::string to fix memory leak and improve portability of - code. - -2010-04-26 10:07 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated xcode-project - -2010-04-23 16:35 robert - - * include/osg/State: From Roland Smeenk and Robert Osfield, - improvements to the indentation of comments. - -2010-04-23 09:29 robert - - * src/osg/TransferFunction.cpp: From Hatwig Wiesmann, - "osg::TransferFunction1D::assignToImage may assign NaN values to - the image in case an underflow inside the method occurs. This - underflow can be reproduced by the following call sequence: - - osg::TransferFunction1D* tf(new osg::TransferFunction1D()); - - tf->allocate(18); - tf->setColor(-10000,osg::Vec4( 1.0, 1.0, 1.0,1.0)); - tf->setColor(-1e-6,osg::Vec4( 1.0, 1.0, 1.0,1.0)); - tf->setColor( 0,osg::Vec4( 0.0, 0.0, 1.0,1.0)); - - Remark: The value -1e-6 may be added (falsely) because of a - rounding error. - - The attached fix prevents assigning NaN values to the image. - " - -2010-04-23 08:58 robert - - * examples/osgfpdepth/osgfpdepth.cpp: Fixed warnings - -2010-04-23 08:55 robert - - * src/osgWrappers/serializers/osgAnimation/Animation.cpp, - src/osgWrappers/serializers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/serializers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMatrixTransform.cpp, - src/osgWrappers/serializers/osgFX/MultiTextureControl.cpp: From - Mourad Boufarguine, "This submissions fixes the problem of the - difference of std::*::size_type between 32bit and 64 bit - platforms. It wraps the reading and writing of std::*::size_type - values using the osgDB::InputStream::readSize and - osgDB::OutputStream::writeSize methods." - -2010-04-22 17:02 robert - - * include/osg/FrameBufferObject, include/osg/Texture, - include/osg/Texture2DMultisample, src/osg/CMakeLists.txt, - src/osg/FrameBufferObject.cpp, src/osg/Texture.cpp, - src/osg/Texture2DMultisample.cpp, src/osgUtil/RenderStage.cpp: - From Marcin Hajder, "This submission contains - Texture2DMultisample osg implementation. - - Texture2DMultismaple as name suggests provides means to directly - access subsamples of rendered FBO target. (GLSL 1.5 texelFetch - call). - - Recently I was working on deferred renderer with OSG, during that - I noticed there is no support for multisampled textures - (GL_ARB_texture_multisample extension). After consultations with - Paul Martz and Wojtek Lewandowski I added Texture2DMultisample - class and made few necessary changes around - osg::FrameBufferObject, osg::Texture and osgUtil::RenderStage - classes." - - and from follow email: - - "Fixed. According to ARB_texture_multisample extension - specification multisample textures don't need TexParameters since - they can only be fetched with texelFetch." - -2010-04-22 16:08 robert - - * src/osgDB/ConvertUTF.cpp: From Farshid Lashkari, "I've attached a - small fix so that osgDB::convertStringFromUTF8toCurrentCodePage - actually performs the conversion onto the destination string." - -2010-04-22 16:01 robert - - * src/OpenThreads/win32/CMakeLists.txt, - src/OpenThreads/win32/HandleHolder.h, - src/OpenThreads/win32/Win32BarrierPrivateData.h, - src/OpenThreads/win32/Win32Condition.h, - src/OpenThreads/win32/Win32ConditionPrivateData.h, - src/OpenThreads/win32/Win32MutexPrivateData.h, - src/OpenThreads/win32/Win32ThreadPrivateData.h, - src/osg/GLExtensions.cpp, - src/osgWrappers/introspection/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/introspection/osgViewer/ViewerEventHandlers.cpp: - From Alok Priyadashi, "The attached patch fixes - - compile errors on windows when compiled with UNICODE flag - - warnings for duplicate WIN32_LEAN_AND_MEAN. I think this should - better fixed by adding WIN32_LEAN_AND_MEAN to vcproj preprocessor - list." - -2010-04-22 13:07 robert - - * src/osgWrappers/serializers/osg/Object.cpp: From John Ivar - Haugland, "I have added the serializer for UserData in - osg::Object. See the attached modified file: - src\osgWrappers\serializers\osg\Object.cpp" - -2010-04-22 11:20 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/Contributors.cpp: - Updated ChangeLog, and AUTHORS files - -2010-04-22 10:13 robert - - * examples/osgfpdepth/osgfpdepth.cpp: From Tim Moore, added check - to whether validConfigs is empty. - -2010-04-22 08:59 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: Added a temporary /* */ - around the check against _traits->vsync to avoid the errors - reported with the current usage of RestoreContext for setting the - vsync. - -2010-04-22 07:32 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Torben Dannhauer, - fixed typo - -2010-04-21 17:16 robert - - * include/osgViewer/GraphicsWindow, - include/osgViewer/ViewerEventHandlers, - include/osgViewer/api/Carbon/GraphicsWindowCarbon, - include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp: - From Ulrich Hertlien with little bits from Robert Osfield and - Chris Hanson, added provisionl support for controlling sync to - vblank. - -2010-04-21 16:44 robert - - * src/osgViewer/StatsHandler.cpp: Changed "Sorted" label to "Sorted - Drawables" - -2010-04-21 16:37 robert - - * examples/osgfpdepth/osgfpdepth.cpp, - include/osg/FrameBufferObject: From Mourad Boufarguine, "When - compiling the example on VS9, the compiler complain about - undefined GL_DEPTH_COMPONENT32F and GL_DEPTH_COMPONENT32F_NV. So - I added them to include/osg/FrameBufferObject. The example builds - fine and is working for me without crashs unless it is ran - whithout argument. I added couple of lines to check for arguments - number and print the example usage when needed." - -2010-04-20 16:27 robert - - * CMakeModules/OsgMacroUtils.cmake: From Wang Rui, "The OSG book - I'm working on will focus on helping beginners build - latest OSG source code with Visual Studio 2010 express, without - setting too many options and without facing unexpected errors. - But at - present, the compilation process will fail because the INSTALL - project - 'cannot find' generated DLLs while copying files. I have looked - into - the build directory and found that the places of generated file - folders were just different from previous VS versions. In this - case, - the old hack in OsgMacroUtils.cmake may become invalid: - - MACRO(HANDLE_MSVC_DLL) - #this is a hack... the build place is set to lib/ by LIBARARY_OUTPUT_PATH equal to OUTPUT_LIBDIR - #the .lib will be crated in ../ so going straight in lib by - the IMPORT_PREFIX property - #because we want dll placed in OUTPUT_BINDIR ie the bin folder - sibling of lib, we can use ../../bin to go there, - ... - ELSE(NOT MSVC_IDE) - SET_TARGET_PROPERTIES(${LIB_NAME} PROPERTIES PREFIX - "../../bin/${LIB_PREFIX}${LIB_SOVERSION}-" IMPORT_PREFIX "../") - ENDIF(NOT MSVC_IDE) - ENDMACRO(HANDLE_MSVC_DLL) - - Here the prefix "../../bin" may need to be fixed. I just modified - it to: - - IF(MSVC_VERSION LESS 1600) - SET_TARGET_PROPERTIES(${LIB_NAME} PROPERTIES PREFIX - "../../bin/${LIB_PREFIX}${LIB_SOVERSION}-" IMPORT_PREFIX "../") - ENDIF() - - It should keep compatible with old MSVC versions. There are - similar - fixes in the SETUP_PLUGIN and SETUP_EXE macros. I haven't tested - them - on more platforms. - " - -2010-04-20 13:52 robert - - * src/osgGA/GUIEventHandler.cpp: From Serge Lages, "Currently if - multiple event callbacks are nested on one node, only the first - will be called. The proposed fix checks if there is a nested - callback." - -2010-04-20 13:34 robert - - * src/osgPlugins/3ds/lib3ds/lib3ds_file.c: Implemented Colin - MacDonald's recommended change of "unsigned short" to "unsigned" - to solve big endian problem under Solaris. - Also added comment to highlight the oddity of the mixing of types - in the associated lib3ds code. - -2010-04-20 11:38 robert - - * src/osgPlugins/vnc/ReaderWriterVNC.cpp: Replaced tabs with four - spaces - -2010-04-20 11:34 robert - - * src/osgWrappers/introspection/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/StandardShadowMap.cpp, - src/osgWrappers/introspection/osgUtil/RenderStage.cpp, - src/osgWrappers/introspection/osgUtil/Statistics.cpp, - src/osgWrappers/introspection/osgViewer/Renderer.cpp: UPdated - wrappers - -2010-04-20 11:23 robert - - * src/osgPlugins/curl/CMakeLists.txt: From Jason Beverage, "Here is - a fix to the curl plugin CMake to allow it to link against the - CURL_LIBRARY_DEBUG and ZLIB_LIBRARY_DEBUG. Previously it linked - the - debug version against the release libs, which was causing a hang - when - running in debug mode on Windows." - -2010-04-20 11:13 robert - - * src/osgUtil/SceneView.cpp: From Farshid Lashkari, "Anaglyphic - stereo does not seem to work properly when performing pre-render - stages. I believe the reason is that the pre-render stages are - performed with the last applied color mask, which is cyan. I've - fixed this by resetting the color mask before performing the - pre-render stages." - -2010-04-20 11:05 robert - - * src/osgViewer/StatsHandler.cpp: Fixed the background quad size to - fit all the camera stats labels - -2010-04-20 10:59 robert - - * include/osgUtil/Statistics, src/osgUtil/RenderBin.cpp, - src/osgUtil/Statistics.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp: From Tim Moore, "I noticed that - the "Materials" statistic in the camera scene stats display - seemed to be identical to the number of drawables. In fact, it - displays the nummat member of osgUtil::Statistics, but that - variable has nothing to do with materials. nummat tracks the - number of matrices associated with Drawable objects in a - RenderBin; as I understand it, Drawables pretty much always have - a model-view matrix tied to them in RenderBins, so this statistic - doesn't seem very useful. So, I added statistics for the number - of StateGraph objects in RenderBins and also for the number of - Drawables in the "fine grain ordering" of RenderBins. The latter - corresponds to the number of Drawables in the scene that are - sorted by some criteria other than graphics state; usually that - is distance for semi-transparent objects, though it could be - traversal order. These two statistics give an idea of the number - of graphic state changes happening in a visible scene: each - StateGraph implies a state change, and there could be a change - for each sorted object too. You can also subtract the number of - sorted Drawables from the total number of Drawables and get an - idea of how many Drawables are being drawn for each StateGraph. - " - -2010-04-20 10:35 robert - - * include/osgShadow/ParallelSplitShadowMap, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ParallelSplitShadowMap.cpp: - Changed the AbmientBias type from Vec2d to Vec2 as use of double - is inappropriate. - -2010-04-20 10:29 robert - - * include/osgDB/Serializer, include/osgShadow/DebugShadowMap, - include/osgShadow/MinimalShadowMap, - include/osgShadow/ParallelSplitShadowMap, - include/osgShadow/SoftShadowMap, - include/osgShadow/StandardShadowMap, - src/osgPlugins/3ds/lib3ds/lib3ds_file.c, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osgFX, - src/osgWrappers/serializers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/serializers/osgFX/BumpMapping.cpp, - src/osgWrappers/serializers/osgFX/CMakeLists.txt, - src/osgWrappers/serializers/osgFX/Cartoon.cpp, - src/osgWrappers/serializers/osgFX/Effect.cpp, - src/osgWrappers/serializers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/serializers/osgFX/Outline.cpp, - src/osgWrappers/serializers/osgFX/Scribe.cpp, - src/osgWrappers/serializers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/serializers/osgShadow, - src/osgWrappers/serializers/osgShadow/CMakeLists.txt, - src/osgWrappers/serializers/osgShadow/DebugShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/LightSpacePerspectiveShadowMapCB.cpp, - src/osgWrappers/serializers/osgShadow/LightSpacePerspectiveShadowMapDB.cpp, - src/osgWrappers/serializers/osgShadow/LightSpacePerspectiveShadowMapVB.cpp, - src/osgWrappers/serializers/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/MinimalShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/serializers/osgShadow/ShadowTexture.cpp, - src/osgWrappers/serializers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/serializers/osgShadow/ShadowedScene.cpp, - src/osgWrappers/serializers/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/StandardShadowMap.cpp, - src/osgWrappers/serializers/osgShadow/ViewDependentShadowTechnique.cpp: - From Wang Rui, "The new osgShadow and osgFX serializers are - attached, and some - modifications of the osgShadow header naming styles as well. The - osgDB::Serializer header is also changed to add new Vec2 - serializer - macros because of the needs of osgShadow classes. It should - compile - fine on both Windows and Linux. But I have only done a few tests - to - generate .osgb, .osgt and .osgx formats with these new wrappers." - -2010-04-20 09:48 robert - - * src/osgPlugins/dae/daeWriter.h: From Mourad Boufarguine, "This - submission fixes osgDAE::toString(*) unresolved external symbols - compile errors (on VS)." - -2010-04-19 14:49 robert - - * include/osgUtil/RenderStage, src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/SceneView.cpp: From - Farshid Lashkari, "I noticed that - osg::State::getInitialViewMatrix returns the monocular view - matrix when rendering in stereo. I've made some changes to - osgUtil::RenderStage & SceneView so that it will return the - correct view matrix depending on which eye is currently being - rendered." & "I made a small change to the previous patch so that - osg::State::getInitialViewMatrix works correctly with pre/post - render stages as well." - -2010-04-19 13:44 robert - - * CMakeLists.txt, CMakeModules/ModuleInstall.cmake, - src/OpenThreads/pthreads/CMakeLists.txt, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h, - src/osgViewer/CMakeLists.txt: From Stephan Huber and Mathieu - Marache, "attached you'll find framework support for os x via - cmake. Please credit - Mathieu Marache, he added the last missing piece to this puzzle. - - I think it is safe to commit these changes to trunk, as the - traditional - way via dylibs should work as before. - - Here's some more info how to get frameworks: - - With these modifications it is possible to compile frameworks on - OS X, - when you set the Cmake-option OSG_COMPILE_FRAMEWORKS to true. If - you - want to embed the frameworks in your app-bundle make sure to set - OSG_COMPILE_FRAMEWORKS_INSTALL_NAME_DIR accordingly. - - You'll have to build the install-target of the generated - xcode-projects - as this sets the install_name_dirs of the frameworks and - plugins." - -2010-04-19 12:09 robert - - * include/osgDB/Serializer, - src/osgWrappers/serializers/osg/LineStipple.cpp, - src/osgWrappers/serializers/osg/Texture.cpp: From Martins - Innus,"Here's a fix to allow the serializer to compile on the Mac - 10.4 SDK. The definition of GLint seems to be different accross - the SDKs. Its defined as "long" in 10.4. I have no idea if this - is the correct way to go about this, but it compiles on my end." - -2010-04-19 11:43 robert - - * examples/CMakeLists.txt, examples/osgfpdepth, - examples/osgfpdepth/CMakeLists.txt, - examples/osgfpdepth/osgfpdepth.cpp, - include/osg/FrameBufferObject, include/osgViewer/Renderer, - src/osg/FrameBufferObject.cpp, src/osgUtil/RenderStage.cpp, - src/osgViewer/Renderer.cpp: From Tim Moore, "This contains a - couple of fixes to support changing FrameBufferObject - configurations on the fly; the user changes the camera - attachments and calls Renderer::setCameraRequiresSetUp(). The - major part of this submission is a comprehensive example of - setting up floating point depth buffers. The user can change the - near plane value and cycle through the available combinations of - depth format and multisample buffer formats." - -2010-04-19 10:35 robert - - * examples/osganimationmorph/osganimationmorph.cpp, - examples/osganimationsolid/osganimationsolid.cpp, - include/osgAnimation/Action, include/osgAnimation/Animation, - include/osgAnimation/AnimationManagerBase, - include/osgAnimation/StackedRotateAxisElement, - include/osgDB/ObjectWrapper, include/osgDB/Serializer, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/StackedRotateAxisElement.cpp, - src/osgPlugins/osg/XmlStreamOperator.h, - src/osgWrappers/deprecated-dotosg/osgAnimation/ReaderWriter.cpp, - src/osgWrappers/introspection/osgAnimation/Action.cpp, - src/osgWrappers/introspection/osgAnimation/ActionStripAnimation.cpp, - src/osgWrappers/introspection/osgAnimation/Animation.cpp, - src/osgWrappers/introspection/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/introspection/osgAnimation/StackedRotateAxisElement.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osgAnimation, - src/osgWrappers/serializers/osgAnimation/Action.cpp, - src/osgWrappers/serializers/osgAnimation/ActionAnimation.cpp, - src/osgWrappers/serializers/osgAnimation/ActionBlendIn.cpp, - src/osgWrappers/serializers/osgAnimation/ActionBlendOut.cpp, - src/osgWrappers/serializers/osgAnimation/ActionStripAnimation.cpp, - src/osgWrappers/serializers/osgAnimation/Animation.cpp, - src/osgWrappers/serializers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/serializers/osgAnimation/BasicAnimationManager.cpp, - src/osgWrappers/serializers/osgAnimation/Bone.cpp, - src/osgWrappers/serializers/osgAnimation/CMakeLists.txt, - src/osgWrappers/serializers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/serializers/osgAnimation/Skeleton.cpp, - src/osgWrappers/serializers/osgAnimation/StackedMatrixElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedQuaternionElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedRotateAxisElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedScaleElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedTransformElement.cpp, - src/osgWrappers/serializers/osgAnimation/StackedTranslateElement.cpp, - src/osgWrappers/serializers/osgAnimation/Timeline.cpp, - src/osgWrappers/serializers/osgAnimation/TimelineAnimationManager.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateBone.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMaterial.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMatrixTransform.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateMorph.cpp, - src/osgWrappers/serializers/osgAnimation/UpdateSkeleton.cpp: From - Wang Rui, "Attached is the osgAnimation wrappers for serialize IO - operations. A - few headers and the osgAnimation sources are also modified to - make - everything goes well, including: - - A new REGISTER_OBJECT_WRAPPER2 macro to wrap classes like - Skeleton::UpdateSkeleton. - A bug fix in the Seralizer header which avoids setting default - values - to objects. - Naming style fixes in osgAnimation headers and sources, also in - the - deprecated dotosg wrappers. - A bug fix for the XML support, to write char values correctly. - A small change in the osg::Geometry wrapper to ignore the - InternalGeometry property, which is used by the MorphGeometry and - should not be set by user applications. - - The avatar.osg, nathan.osg and robot.osg data files all work fine - with - serializers, with some 'unsupported wrapper' warnings when - converting. - I'm thinking of removing these warnings by disabling related - property - serializers (ComputeBoundingBoxCallback and - Drawable::UpdateCallback), - which are seldom recorded by users. - - By the way, I still wonder how would we handle the C4121 problem, - discussed some days before. The /Zp compile option is set to 16 - in the - attached cmake script file. And is there a better solution now?" - -2010-04-19 09:39 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h, - src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h: From Paul Martz, fixes - for static build - -2010-04-19 08:41 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2010-04-15 18:40 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/lib3ds/lib3ds.h, - src/osgPlugins/3ds/lib3ds/lib3ds_io.c: From Colin McDonald, "The - new 3ds plugin isn't working at all on big-endian machines, due - to - a byte order issue. - - The problem is that osg::SwapBytes code has been copied from the - old - plugin to the new one, but the latest lib3ds also incorporates - code to - handle byte ordering in read & writing. So the net result is that - the - swap is done twice. - - The solution is simply to remove the custom osg code, and use the - stock lib3ds code. The attached files are against today's - revision - 11331. I've tested on Sparc & Intel. - " - -2010-04-15 18:38 robert - - * src/osgPlugins/3ds/lib3ds/lib3ds.h, - src/osgPlugins/3ds/lib3ds/lib3ds_impl.h: Ran dos2unix on header - files - -2010-04-15 18:38 robert - - * src/osgPlugins/3ds/lib3ds/lib3ds_atmosphere.c, - src/osgPlugins/3ds/lib3ds/lib3ds_background.c, - src/osgPlugins/3ds/lib3ds/lib3ds_camera.c, - src/osgPlugins/3ds/lib3ds/lib3ds_chunk.c, - src/osgPlugins/3ds/lib3ds/lib3ds_chunktable.c, - src/osgPlugins/3ds/lib3ds/lib3ds_file.c, - src/osgPlugins/3ds/lib3ds/lib3ds_io.c, - src/osgPlugins/3ds/lib3ds/lib3ds_light.c, - src/osgPlugins/3ds/lib3ds/lib3ds_material.c, - src/osgPlugins/3ds/lib3ds/lib3ds_math.c, - src/osgPlugins/3ds/lib3ds/lib3ds_matrix.c, - src/osgPlugins/3ds/lib3ds/lib3ds_mesh.c, - src/osgPlugins/3ds/lib3ds/lib3ds_node.c, - src/osgPlugins/3ds/lib3ds/lib3ds_quat.c, - src/osgPlugins/3ds/lib3ds/lib3ds_shadow.c, - src/osgPlugins/3ds/lib3ds/lib3ds_track.c, - src/osgPlugins/3ds/lib3ds/lib3ds_util.c, - src/osgPlugins/3ds/lib3ds/lib3ds_vector.c, - src/osgPlugins/3ds/lib3ds/lib3ds_viewport.c: Ran dos2unix on - lib3ds files - -2010-04-15 12:51 robert - - * src/osgDB/DatabasePager.cpp: From J.P. Delport, Fix for invalid - iterator dereference in DatabasePager. - -2010-04-15 11:49 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h: From Sukender, "After - discussion with Paul Martz, here is a fix for 3DS reader/writer - (on rev. 11315) + some changes. Changelog: - - - Fixed handling of MatrixTransforms (still doesn't support other - Transforms types). Fixes things for OSG, DeepExploration, - 3DSMax... - - Added support for writing double precision vertices by - converting them. - - Added base code for future compatibility option (3rd-party apps - that don't read animation data). See "DISABLE_3DS_ANIMATION" - compile flag." - -2010-04-15 11:45 robert - - * src/osgDB/DatabasePager.cpp: From Jason Beverage, "Here is a - small fix to the DatabasePager to fix a crash if you were - running with the OSG_NOTIFY_LEVEL set to INFO. - - An iterator was being erased, and then referenced to display a - message. Just changed it to display the message first, then - erase." - -2010-04-15 11:41 robert - - * src/osg/GL2Extensions.cpp, src/osg/Program.cpp, - src/osg/Shader.cpp: From Chris Hanson, build fixes for Solaris-64 - -2010-04-15 11:40 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: Changed std::pair - declaration to ListTriangle::value_type to avoid Solaris compile - errors - -2010-04-15 11:02 robert - - * src/osgDB/DatabasePager.cpp, src/osgViewer/ViewerBase.cpp: - Removed the setting of the DatabasePager thread affinity, and - moved the setting of the DatabasePager thread priotity to after - the creation of the threads - -2010-04-14 16:43 mplatings - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRAnimation.h, - src/osgPlugins/fbx/fbxRCamera.h, src/osgPlugins/fbx/fbxRLight.h, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h: - Updated the plugin to be compatible with version 2011.2 of the - FBX SDK - -2010-04-14 13:39 robert - - * src/osgViewer/ViewerBase.cpp: Added minimum frame delay of - 1/100th second when using - on demand rendering to avoid creating a CPU lock. - -2010-04-14 10:43 robert - - * src/osgWrappers/introspection/osg/BufferObject.cpp, - src/osgWrappers/introspection/osgDB/Options.cpp: Updated wrappers - -2010-04-13 18:42 robert - - * include/osg/BufferObject: Added BufferData::ModifiedCallback to - provide a mechanism for tracking when a osg::Image::dirty() has - been called to signify that an image has been modified. - -2010-04-13 14:50 mplatings - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.h, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h: - Added support for double precision geometry - -2010-04-13 13:06 robert - - * include/osgDB/Options, src/osgDB/Options.cpp: From Michael - Platings with tweaks from Robert Osfield, added - Options::s/getPrecisionHint(..) to allow apps to hint to plugins - about how to handle double precision geometry data. - -2010-04-13 09:42 robert - - * include/osg/observer_ptr, include/osgDB/StreamOperator: Fixed - warnings - -2010-04-13 09:42 robert - - * src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp: updated - wrappers - -2010-04-12 16:35 mplatings - - * src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp: osgAnimation now stores times as - doubles - -2010-04-12 15:04 mplatings - - * src/osgPlugins/fbx/CMakeLists.txt, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/WriterCompareTriangle.cpp, - src/osgPlugins/fbx/WriterCompareTriangle.h, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h: From Sukender: Fixed FBX - writer: now handles double precision arrays (vertices, normals, - texcoords) - -2010-04-09 08:52 robert - - * include/osgTerrain/TerrainTile, - src/osgTerrain/GeometryTechnique.cpp: Added corner dirty options - to TerrainTechnique, added experimental code paths in - GeometryTechnique for accounting for neighbouring corner tiles - - optionally compiled out in this check-in. - - Changed the normal computation in GeometryTechnique so that it - doesn't include diagonals, thus avoid normal jumps at corners. +Tue, 4 Feb 2014 16:49:13 +0000 +Checked in by : Robert OSFIELD +Added lua-5.2.3 as source code so it can be optinally built as part of the lua plugin, making it possible to work out of the box across all platforms with needing lua as an external dependency.Added the Cmake option OSG_USE_LOCAL_LUA_SOURCE to control whether to build and use the Lua source code in the lua plugin, or look for lua as an external dependency. -2010-04-03 16:26 robert - * src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/introspection/osgTerrain/Terrain.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp: Updated - wrappers -2010-04-03 16:21 robert - - * include/osgTerrain/GeometryTechnique, include/osgTerrain/Terrain, - include/osgTerrain/TerrainTechnique, - include/osgTerrain/TerrainTile, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/ReadWrite.h, src/osgPlugins/ive/Terrain.cpp, - src/osgPlugins/ive/Terrain.h, src/osgPlugins/ive/TerrainTile.cpp, - src/osgPlugins/ive/TerrainTile.h, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Terrain.cpp, - src/osgWrappers/serializers/osgTerrain/Terrain.cpp: Change - Terrain so that it subclassed from CoordinateSystemNode. - - Implemented new update scheme of GeometryTechnique to avoid - potential threading issues. - - Added Terrain support to .ive. - -2010-04-01 21:18 robert - - * include/osgTerrain/TerrainTechnique, - src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp: - Removed getNeighbours() method to avoid problems with - introspection wrappers - -2010-04-01 21:15 robert - - * src/osgWrappers/introspection/genwrapper.conf, - src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp: - Removed TerrainNeightbours class from wrapping to avoid - associated build errors - -2010-04-01 21:06 robert - - * include/osgTerrain/GeometryTechnique, include/osgTerrain/Terrain, - include/osgTerrain/TerrainTechnique, - include/osgTerrain/TerrainTile, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp, - src/osgWrappers/introspection/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/introspection/osgTerrain/Terrain.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp: Added - support for boundary equalization to GeometryTechnique - -2010-04-01 21:04 robert - - * examples/osgterrain/osgterrain.cpp: Added window size event - handler - -2010-03-29 08:49 robert - - * examples/osgterrain/osgterrain.cpp: Added TerainHandler event - handler to provide 'v'/'V' and 'r'/'R' key controls for change - vertical scale and sample ratio respectively. - -2010-03-26 11:09 robert - - * src/osgViewer/StatsHandler.cpp: From Jean-Sebastien Guay, "When - the StatsHandler tries to find a context to add itself to, it - will first look for a GraphicsWindow, and if none is found it - will look for a GraphicsContext. This enables apps that do all - their rendering to offscreen contexts (pbuffer) to still use the - StatsHandler." - -2010-03-26 11:07 robert - - * src/osgWrappers/introspection/osgAnimation/Animation.cpp, - src/osgWrappers/introspection/osgAnimation/Channel.cpp, - src/osgWrappers/introspection/osgAnimation/Keyframe.cpp, - src/osgWrappers/introspection/osgAnimation/Sampler.cpp, - src/osgWrappers/introspection/osgTerrain/Layer.cpp: Updated - wrappers - -2010-03-26 09:01 robert - - * CMakeLists.txt: From Jim Brooks, fix for FreeBSD build where - FIND_LIBRARY(DL_LIBRARY..) return NOT_FOUND. - -2010-03-25 20:20 cedricpinson - - * src/osgAnimation/Animation.cpp: Fix compile issue t = fmod(t, - (float)_duration); - -2010-03-25 17:50 cedricpinson - - * include/osgAnimation/Animation, include/osgAnimation/Channel, - include/osgAnimation/Keyframe, include/osgAnimation/Sampler, - include/osgAnimation/Target, src/osgAnimation/Animation.cpp: - Change time type from float to double in osgAnimation - -2010-03-25 14:19 robert - - * src/osgPlugins/vrml/Primitives.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h: From Mathias Froehlich, - "I added some features to the vrml plugin. - - The plugin can now handle embeded PixelTexture fields in addition - to the - already implemented ImageTexture fields. - - Fixed a bug with texture repeat being applied to the wrong - texture dimension. - - Added handling for IndexedLineSet geometries." - -2010-03-25 14:14 robert - - * include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, - "attached you'll find a small enhancement for - GraphicsWindowCocoa. My - submision adds a getter for the pixel-format. I need this for - some - custom software so I can integrate CoreVideo-playback with osg. - " +Tue, 4 Feb 2014 16:46:33 +0000 +Checked in by : Robert OSFIELD +Added test code for nesting a within a volume tag. -2010-03-25 14:12 robert +Tue, 4 Feb 2014 11:24:01 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, added support for compile source code of lua with the lua plugin - * examples/osganimationeasemotion/osganimationeasemotion.cpp: Fixed - warning +Mon, 3 Feb 2014 15:35:22 +0000 +Checked in by : Robert OSFIELD +Fixed error in the computation of tex coords of Maximum Intensity Projection + Transfer Function rendering. -2010-03-25 11:11 robert +Fri, 31 Jan 2014 19:18:18 +0000 +Checked in by : Robert OSFIELD +Replaced C cast to long with a static_cast() to avoid a build error under Mingw 64. - * include/osgTerrain/Layer, src/osgTerrain/GeometryTechnique.cpp: - Introduced the use of linear interpolation of evelvations when - sampling +Fri, 31 Jan 2014 16:20:29 +0000 +Checked in by : Robert OSFIELD +Added osg::CallbackObject to be used to extend C++ class from scripting languages by providing callback objects assigned to the osg::Object UserDataContainer, with the CallbackObject's Name used to map the "method" provided by the CallbackObject. The CallbackObject is implemented by the script engine to provide the neccessary glue to invoking the script with the appropriate input parameters and handling the output parameters.To the Lua plugin added support for assigned lua functions to C++ osg::Objects via the new osg::CallbackObject mechanism. To invoke the scripts function from C++ one must get the CallbackObject and call run on it. -2010-03-24 17:12 robert +Renamed ScriptCallback to ScriptNodeCallback to avoid possibly confusion between osg::CallbackObject and the ScriptNodeCallback. - * src/OpenThreads/pthreads/CMakeLists.txt: Added a compile test for - pthread_setaffinity_np to workaround problem with the FreeBSD - pthread lib containing the function but the pthread.h header not - containing it. -2010-03-24 14:27 robert - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: - Refactored the way that the RequestQueue's are pruned and highest - prioty items taken from them so the operation is - now O(n) rather than O(nlogn) where n is the number of requests. - The refactoring also cleans up the access of the - request lists so that the code is more readable/maintainable. -2010-03-23 12:41 robert +Wed, 29 Jan 2014 11:01:24 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * src/osgWrappers/introspection/osgDB/DatabasePager.cpp: Updated - wrappers +Tue, 28 Jan 2014 16:49:20 +0000 +Checked in by : Robert OSFIELD +From Kristofer Tingdahl, made method virtual -2010-03-22 17:55 robert +Tue, 28 Jan 2014 16:48:47 +0000 +Checked in by : Robert OSFIELD +Fixed MingW build's handling of debug d postfix. - * src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeReader.h: From Michael Platings, "the - attached files fix the DAE importer for animations that don't - contain channels for all X, Y and Z components, as exported by - SoftImage." +Tue, 28 Jan 2014 15:28:17 +0000 +Checked in by : Robert OSFIELD +Removed the invocation of gcc on all platforms -2010-03-22 14:32 robert +Tue, 28 Jan 2014 11:01:28 +0000 +Checked in by : Robert OSFIELD +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"From Robert Osfield, changed the example so that the vertical and horizon scalar bars are rotated to the XZ plane so you can see them with the default viewer's camera orientation. +Tweaked the positioning of title text of vertic scalar bar to avoid overlap of text. - * src/osgViewer/DarwinUtils.h: Changed private: to protected: to - fix build issue under OSX -2010-03-22 13:13 robert - * src/osgPlugins/gz/ReaderWriterGZ.cpp: From Chuck Seberino, "have - a fix for the reading code in - trunk/src/osgPlugins/gz/ReaderWriterGZ.cpp. It seems that the - std::istream::readsome method on windows is a no-op (for files. - After much head scratching and research I was able to figure out - what was going on. I am submitting a fix to replace readsome with - read() and gcount(). This change is for all platforms. The - previous implementation works fine under linux and OSX, so if you - would rather keep things the way they are you can just #ifdef for - non-WIN32. - - I also added openmode flags to the ifstream constructor, since - they were needed to get proper reading as well as a typo fix." -2010-03-22 12:50 robert - * src/osg/Notify.cpp: From Farshid Lashkari, "I noticed that - osg::notify does not output to stderr when using either FATAL or - WARN severity levels. There is code in - osg::StandardNotifyHandler::notify that will use stderr based on - the severity level, but it is disabled by an #if 0. I'm assuming - this was a mistake and have re-enabled the code. - - Many IDEs will capture the output of processes and highlight - stderr messages in red. After upgrading from OSG 1.2, I was - noticing that none of the error messages were being highlighted, - which I find quite useful." +Mon, 27 Jan 2014 15:43:36 +0000 +Checked in by : Robert OSFIELD +Removed unimplemented method -2010-03-22 10:43 shuber +Fri, 24 Jan 2014 17:31:09 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "I experienced a crash in Geometry::fixDeprecatedData(), on certain files, and brought the problem down to a very simple test file, attached as test3.zip.There are two problems: +1> for DrawElementsUShortPrimitiveType (and UInt) the source_pindex still equals -1 and causes a crash + in DrawElementsUBytePrimitiveType source_pindex is incremented, and in DrawElementsU(Short/Int)PrimitiveType primitiveNum is incremented, but never used - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated xcode-project +2> The drawelements need to be rewritten as the vertices are reordered. -2010-03-20 09:45 robert +created a patch for osg stable branch(r14038): attached as Geometry-osg-3.2.zip +and for svn brach(r14044): attached as Geometry_osg_svn.zip" - * src/osgViewer/GraphicsWindowCarbon.cpp: From Ulrich Hertlein, - changed init() call to _init(). -2010-03-19 20:12 mplatings - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h: - Workaround for files exported from SoftImage that don't tag - skeleton nodes correctly. +Fri, 24 Jan 2014 17:06:32 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, "In the "apply" method of osg::FrameBufferObject, the draw buffers are always enabled, even if the target is only "READ_FRAMEBUFFER".This can lead to inconsistency if you bind a framebuffer with multiple attachments in DRAW mode and then a framebuffer with different attachment count in READ mode (for example to manually "blit" from a FBo to another). -2010-03-19 18:28 mplatings +On some ATI cards (at least RADEON HD) this also leads to an "incomplete " FBO status - * src/osgPlugins/fbx/CMakeLists.txt: From Paul Martz: This is a fix - to get the FBX plugin to compile on OS X +I've added a test to enable drawbuffers only if target is "DRAW" or "READ_DRAW", this solves my problems on ATI cards." -2010-03-19 17:09 robert - * src/osgTerrain/GeometryTechnique.cpp: Added a minimum tiles size - of 16 to prevent down sampling from being overly aggressive. -2010-03-19 16:31 robert - * examples/CMakeLists.txt, examples/osgterrain, - examples/osgterrain/CMakeLists.txt, - examples/osgterrain/osgterrain.cpp: Added new osgterrain example - that is simplified to just basic setup and control osgTerrain - nodes, leaving the osgthreadedterrain as the more complex - example. +Fri, 24 Jan 2014 16:45:45 +0000 +Checked in by : Robert OSFIELD +From Michael Schanne, "small fix for a duplicate OR operand in KdTree.cpp." -2010-03-19 16:30 robert +Fri, 24 Jan 2014 16:28:34 +0000 +Checked in by : Robert OSFIELD +From Torben Dannahuer, "modified findcollada.cmake which can now detect Boost 1.55 libraries, which are used by Collada in my 3rdParty package" - * examples/osgthreadedterrain/CMakeLists.txt, - examples/osgthreadedterrain/osgterrain.cpp, - examples/osgthreadedterrain/osgthreadedterrain.cpp: Renamed - source file +Fri, 24 Jan 2014 16:24:59 +0000 +Checked in by : Robert OSFIELD +From Torben Dannhauer, VisualStudio 2013 build fixes -2010-03-19 14:55 robert +Fri, 24 Jan 2014 16:19:38 +0000 +Checked in by : Robert OSFIELD +From Kristofer, "The osgSim::ScalarBar has a problem in that if the scalarbar has a color in one end that co-incides with the background color, one cannot see where the scalarbar ends. With this patch, we add a line around the perimiter of the bar to mark it.Secondly, we thought the text-annotation missed ticks that mark out precisely where on the bar the texts relate to, so we added that as well." - * examples/CMakeLists.txt, examples/osgterrain, - examples/osgthreadedterrain: Renamed osgterrain to - osgthreadedterrain to better reflect it's functionality. -2010-03-19 10:19 mplatings - * src/osgPlugins/fbx/ReaderWriterFBX.cpp: Fixed an infinite loop - when loading a malformed file. +Fri, 24 Jan 2014 16:01:59 +0000 +Checked in by : Robert OSFIELD +From Marc Helbling, "I am sending a small fix in the PLY pseudo-loader; the extension was checked in plyfile.cpp thus preventing the loading of any .PLY file (extension in uppercase). The extension filtering is already handled by ReaderWriter::acceptsExtension in a case unsensitive way." -2010-03-18 19:02 mplatings +Fri, 24 Jan 2014 15:40:18 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp, - src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h: Workaround for - models with inverted transparency +Fri, 24 Jan 2014 14:26:25 +0000 +Checked in by : Robert OSFIELD +Changed the handling of single window configurations so that simply reuse the View::getCamera() instead of creating a slave. -2010-03-18 17:10 robert +Fri, 24 Jan 2014 12:01:37 +0000 +Checked in by : Robert OSFIELD +Added a getModeUsage() method that prevents any mode being automatically associated with these Texture types that are only usable using non fixed function pipeline. - * examples/osgfont/osgfont.cpp, examples/osgtext/osgtext.cpp: Added - StateSet event handler to osgfont and osgtext to aid with - debugging +Fri, 24 Jan 2014 11:37:35 +0000 +Checked in by : Robert OSFIELD +Fixed crash when reading a viewer configuration file where the EventVisitor was being re-assigned but left a dangling pointer -2010-03-18 15:04 robert +Fri, 24 Jan 2014 10:10:43 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached is a new zip containing two small fixes: * forwarded touch-events do have a correct input-range from 0 .. 1 * I refactored sending touch-events per osc so the receiver can detect a TOUCH_ENDED better" - * src/osgTerrain/GeometryTechnique.cpp: Added in a test of using - the utility classes in include/osgUtil/MeshOptimizers to see if - they could improve peformance. - - Tests shown poorer performance with the code enabled so for now - the code is #if 0 #endif'd out, and just left in place for future - testing. +Thu, 23 Jan 2014 19:55:37 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2010-03-18 14:41 robert +Thu, 23 Jan 2014 16:48:29 +0000 +Checked in by : Robert OSFIELD +From Kristofer Tingdahl,"we have a bunch of classes that inherit osg::Node, and they create their own, internal geometry which is passed into the render bucket at the cull-traversal. Last week, we realised that these classes are not accounted for when doing an ComputeBoundVisitor- traversal, as there is no specialization in ComputeBoundVisitor for them.One solution is naturally to create a new class that would inherit the osg::ComputeBoundVisitor, and use that. I don't like that idea as the ComputeBoundVisitor does actually have what I need - it is only hidden in a protected function. - * src/osgText/Font.cpp: Removed the sizeAdjustment code as it was - leading to incorrect tex coord generation and clipping of the - left handside - of the text glyphs. +I am therefor suggesting a slight generalization of the ComputeBoundVisitor with the attached patch, which is tested. -2010-03-17 14:36 robert +The patch has two parts: +we add applyBBox() so that one can use that in a customized traverse-function and add a bbox to the visitor. I considered calling this function expandByBBox(), but I though applyBBox was better. +The MatrixStack is made available to the outside world. That enables a traverse-function to do whatever it wishes. +I do actually only need one of the two, as I can implement what I wish either way, but adding getMatrixStack() will make more generic expansions possible. +" - * CMakeLists.txt, CMakeModules/FindGDAL.cmake: From J.P. Delport, - "attached an updated FindGDAL that finds 1.6.0 version in Debian - unstable. Could also be added to VPB. - - Also some misc spelling fixes in CMakeLists.txt" +From Robert Osfield, changed the name of the new applyBBox(..) method to applyBoundingBox(..) to keep it's naming more consistent with the rest of the OSG. -2010-03-17 14:32 robert - * src/osgPlugins/ply/vertexData.cpp: From Glenn Waldron, "The PLY - plugin only works for a file that includes both vertices and - faces. This patch adds support for PLY files that include only - vertices (a point cloud)." -2010-03-17 11:35 robert - - * src/osgDB/DatabasePager.cpp: disabled timing debug info - -2010-03-17 10:33 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2010-03-16 18:53 robert - - * src/osgWrappers/introspection/osgTerrain/Terrain.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp: Updated - wrappers - -2010-03-16 18:44 robert - - * include/osgDB/Serializer, src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/TerrainTile.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Terrain.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/TerrainTile.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp, - src/osgWrappers/serializers/osgTerrain/Terrain.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp: Updated - various serialization support for .osg, .osgt/b/x and .ive. - -2010-03-16 18:43 robert - - * include/osgTerrain/Terrain, include/osgTerrain/TerrainTile, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainTile.cpp: Added BlendingPolicy support into - osgTerrain::Terrain. - -2010-03-16 12:05 robert - - * include/osgTerrain/TerrainTile, - src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/TerrainTile.cpp: Added - osgTerrain::TerrainTile::set/getBlendingPolicy(BlendingPolicy) to - enable control over whether the tile should have blending enabled - on it. - -2010-03-15 20:09 robert - - * include/osg/Texture: Fixed recursive call due to missing _ - -2010-03-15 15:10 robert - - * src/osgDB/Registry.cpp: From Jean-Sebastien Guay, "This small - one-line change allows us to load a geometry shader with the - extension .geom with osgDB::readShaderFile() which will return an - osg::Shader* with the type already set to GEOMETRY. Very - convenient. :-) - - This was already possible for .frag and .vert so there's no - reason why it shouldn't be possible for .geom. - - I also changed the alignment of some extension aliases so the - file looks a bit better now, but it's up to you if you want to - merge that or not. - " - -2010-03-15 15:01 robert - - * CMakeLists.txt: From Farshid Lashkari, "I noticed that CMake - forces a high stack size by default for all MSVC projects. This - can cause problems for applications that use a lot of threads. - I've added a new option MSVC_USE_DEFAULT_STACK_SIZE that will - remove the explicit stack size and use the default MSVC size. - Apparently this was only necessary for very old versions of MSVC - but it's still around. I would argue that this option should be - on by default, but I've left it off for now. - - " - -2010-03-15 14:47 robert - - * src/osgViewer/Viewer.cpp: From Wang Rui, - "Here is a small fix in the eventTraversal() function of both - viewer - and composite viewer class. - - if (getCameraWithFocus()) - { - if (getCameraWithFocus()!=getCamera()) // Newly added - { - osg::Viewport* viewport = getCameraWithFocus()->getViewport(); - osg::Matrix localCameraVPW = - getCameraWithFocus()->getViewMatrix() * - getCameraWithFocus()->getProjectionMatrix(); - if (viewport) localCameraVPW *= viewport->computeWindowMatrix(); - - osg::Matrix matrix( osg::Matrix::inverse(localCameraVPW) * - masterCameraVPW ); - - osg::Vec3d new_coord = osg::Vec3d(x,y,0.0) * matrix; - - x = new_coord.x(); - y = new_coord.y(); - } - ... - } - - I put an additional conditional statement here to ensure that - _cameraWithCamera and _camera are different, otherwise it's no - need to - calculate the transition matrix from main camera to focus camera. - The - excess calculations of 'matrix' and 'new_coord' may cause - floating-point error and return a slightly wrong result other - than an - identity matrix. It seems OK in most cases but will be still pain - when - there is little difference between two mouse moving events. " - -2010-03-15 10:32 robert - - * src/osgWrappers/introspection/osgUtil/Optimizer.cpp, - src/osgWrappers/introspection/osgUtil/RenderBin.cpp: Updated - wrappers - -2010-03-15 10:32 robert - - * include/osg/Texture, src/osg/Texture.cpp: Refactored - Texture::Extensions to simplify it and make it more efficient. - -2010-03-14 08:56 robert - - * src/osgPlugins/osg/ReaderWriterOSG2.cpp: Added return into - ReaderWriterOSG2::prepareReading(..) to prevent bug associated - with result being discarded. - -2010-03-13 11:28 robert - - * src/osgViewer/DarwinUtils.h, src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowCocoa.mm: Refactored the - initialization of OSX windowing settings so that it's done on - demand rather than on startup. - -2010-03-12 09:32 robert - - * src/osgUtil/MeshOptimizers.cpp: Added initializer - -2010-03-12 09:10 robert - - * src/osgUtil/MeshOptimizers.cpp: Changed ssize_t to int to fix - windows build error - -2010-03-11 18:15 robert - - * include/osgUtil/MeshOptimizers, include/osgUtil/Optimizer, - src/osgUtil/CMakeLists.txt, src/osgUtil/MeshOptimizers.cpp, - src/osgUtil/Optimizer.cpp: From Time Moore, "This submission - implements 3 optimizations for meshes. INDEX_MESH turns - DrawArrays style geometry into DrawElements, uniquifying the - vertices in the process. This is useful for certain loaders, like - ac3d, which just spit out DrawArrays. VERTEX_POSTTRANSFORM and - VERTEX_PRETRANSFORM optimize mesh triangle and vertex order for - the caches on a modern GPU, using Tom Forsyth's algorithm. I - describe this and the big difference it makes (38% improvement on - a very large mesh) in my blog, - http://shiny-dynamics.blogspot.com/2010/03/vertex-cache-optimization-for-osg.html." - -2010-03-11 16:53 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h: From Sukender, "I had - some conflicts when updating but they seem resolved now. Attached - files (four files) are against rev. 11200. Changelog: - - Replaced exceptions with assert() or OSG_NOTIFY - - Replaced osg::notify() with OSG_NOTIFY - - Changed braces and tabs to fit OSG coding convention - - Cleaned a few things in code (names, added deallocations upon - error)" - -2010-03-11 16:46 robert - - * include/osgUtil/RenderBin, src/osg/DisplaySettings.cpp, - src/osg/Geometry.cpp, src/osgUtil/RenderBin.cpp: Clean up of - initialization of statics/use of getenv - -2010-03-11 14:48 robert - - * include/osg/Shader: Added export for PerContextShader. - -2010-03-11 10:24 robert - - * src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/ReaderWriterOSG2.cpp: Cleaned up the - registration of wrappers so that they are done on demand. - -2010-03-11 10:17 robert - - * examples/osgunittests/FileNameUtils.cpp: Fixed warning - -2010-03-10 17:23 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From David - Fries,"This improves the out of box detection of the 3rd party - libraries for - Windows. If the 3rdparty directory isn't available it will use - the - directory names subversion uses such as - 3rdParty_win32binaries_vs71 - 3rdParty_win32binaries_vs80sp1 3rdParty_win32binaries_vs90sp1. - That - helps when as we are building both vs71 and vs80, and probably - vs90 in - the future at the same time in addition to not having to rename - the - directory once it is downloaded. It also adds the _i suffix to - match - some of the libraries. - " - -2010-03-10 17:19 robert - - * CMakeLists.txt, CMakeModules/FindOSG.cmake, - CMakeModules/OsgMacroUtils.cmake, src/osgDB/CMakeLists.txt, - src/osgDB/Registry.cpp: From David Fries,"We are needing to - compile Debug, Release, and MinSizeWithDebInfo, but - currently only Debug appends "d" so the Release and - MinSizeWithDebInfo - (and MinSizeRel) all produce the same filenames. This set of - changes - lets each build type have a cmake defined string appended, - defaulting - to Release none, Debug d, RelWithDebInfo rd, MinSizeRel s. But a - user - still can have Release, RelWithDebInfo, and MinSizeRel to produce - the - same filenames. It does so by setting the preprocessor define - OSG_LIBRARY_POSTFIX in src/osgDB/CMakeLists.txt to one of the - previously defined cmake variables CMAKE_DEBUG_POSTFIX - CMAKE_RELEASE_POSTFIX CMAKE_RELWITHDEBINFO_POSTFIX - CMAKE_MINSIZEREL_POSTFIX. This method cuts down on the #ifdef - _DEBUG - #else preprocessor directives in Registry.cpp as the extension is - always passed in OSG_LIBRARY_POSTFIX. That and __MINGW32__ didn't - have the _DEBUG check which looks like a bug." - -2010-03-10 16:31 robert - - * src/osgPlugins/dae/daeRGeometry.cpp: From Roger James, "Here is a - small stability fix to the dae reader which seems to have dropped - out of the latest version." - -2010-03-10 16:31 robert - - * include/osg/Version: Updated version - -2010-03-10 16:05 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h: From Sukender, "I've - fixed positions for 3DS writer. Points in 3DS must be in world - coordinates and I added what was missing. - And by refactoring a bit of code, I may have fixed some StateSets - related bugs (was ignoring StateSets for osg::Groups). - I also added support for Billboard's points, so now "osgconv - lz.osg lz.3ds" has an acceptable output. However, there is no - rotation depending on billboards' axis, hence the notice - "Warning: 3DS writer is incomplete for Billboards (rotation not - implemented).". You may want to remove this notice (or lower the - notify severity) if you feel 3DS doesn't have to handle such - rotations. - The attached archive contains 3 files from 3DS plugin, against - rev. 11162. - - Please note there is still the textures issue for cow.osg. I - guess it's because it's not a "flat, dummy and standard" texture - in slot 0... That is to say the only thing the writer can handle - at the moment. I guess I won't address this soon. - " - and - - "I've detected and fixed another bug in 3DS writer: support for - automatic splitting of meshes having >65k faces/points was buggy - (was deleting faces). - Here is my four 3DS modified files (in a ZIP), against rev. - 11193, including previous fixes AND Stephan's fix about relative - filenames." - -2010-03-10 14:44 robert - - * src/osgWrappers/introspection/osgDB/ReaderWriter.cpp: Updated - wrappers - -2010-03-10 14:29 robert - - * CMakeLists.txt: Update SO version number to 66 to skip over 65 - value planned to 2.8.3 - -2010-03-10 14:28 robert - - * include/osgDB/ReaderWriter, src/osgDB/DatabasePager.cpp, - src/osgDB/ReadFile.cpp: From Vincent Bourdier, addition of out of - memory read result. - -2010-03-10 13:48 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream, - include/osgDB/StreamOperator, src/osgDB/InputStream.cpp, - src/osgDB/OutputStream.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgPlugins/osg/XmlStreamOperator.h: From Wang Rui, "I've - initially added the XML support of the new native osg format, - using osgDB::XmlParser. The extension for XML-formatted scenes is - .osgx, corresponding to .osgb for binary and .osgt for ascii. It - could - either be rendered in osgviewer or edited by common web browsers - and - xml editors because of a range of changes to fit the XML syntax. - For - example, the recorded class names are slight modified, from - 'osg::Geode' to 'osg--Geode'. - - To quickly get an XML file: - # ./osgconv cow.osg cow.osgx - - The StreamOperator header, InputStreram and OutputStream classes - are - modified to be more portable for triple ascii/binary/XML formats. - I - also fixed a bug in readImage()/writeImage() to share image - objects if - needed. - - The ReaderWriterOSG2 class now supports all three formats and - reading/writing scene objects (not nodes or images), thanks to - Torben's advice before. - " - -2010-03-10 13:37 robert - - * src/osgDB/InputStream.cpp: From John Ivar Haugland, "This is a - fix to InputStream.cpp. (revision 11114) . I have attached the - modified file. - - The options where not passed on to the image reader plugins when - reading the new osg2 format files, so I added the options to the - osgDB.:readImageFile function call. - - " - -2010-03-10 13:24 robert - - * include/osgQt/QWidgetImage, src/osgQt/CMakeLists.txt, - src/osgQt/QGraphicsViewAdapter.cpp, src/osgQt/QWidgetImage.cpp: - From Wang Rui, QWidgetImage class that enables QWidgets to be - used as an interactive osg::Image that can be assigned to - textures. - -2010-03-10 12:56 robert - - * src/osgWrappers/deprecated-dotosg/CMakeLists.txt, - src/osgWrappers/serializers/CMakeLists.txt: From Laurens Voerman, - "as I work in Visual Studio, the introduction of the new osg2 - reader/writer gave me a confusing project list, especially the - three projects named "Plugins osg". The attached patch changes - the project names to "Plugins osg depricated xxx" and "Plugins - osg serializer xxx" therefore keeping them close together in the - Solution Explorer. - " - -2010-03-10 12:13 robert - - * examples/osgunittests/CMakeLists.txt, - examples/osgunittests/FileNameUtils.cpp, - examples/osgunittests/osgunittests.cpp: Added tests of various - FileNameUtils functions, tests invoked by osgunittests filenames - -2010-03-10 12:04 robert - - * src/osgDB/FileNameUtils.cpp: Refactored the find_last_of to - simplify it. - -2010-03-10 11:40 robert - - * include/osgDB/FileNameUtils, src/osgDB/FileNameUtils.cpp: From - Sukender, "Here is my proposal. I fixed what Paul said, added - some doxygen comments, added the function I told about, and - removed the two "find('/')"-like calls to use only one." - -2010-03-10 11:09 robert - - * CMakeLists.txt: From Nico Krulthof and Jori Torres, additions for - detecting OSX 10.6 SDK and setting variable defaults accordingly. - -2010-03-10 11:01 robert - - * CMakeModules/FindQuickTime.cmake: Based on a suggestion from - Chuck Seberino, have added a section for testing of 64bit build - under OSX and disable the use of quicktime when the build - includes 64bit. - -2010-03-10 10:32 robert - - * src/osgUtil/tristripper/include/detail/graph_array.h, - src/osgUtil/tristripper/include/detail/policy.h: From Laurens - Voerman, "my compiler (VC Express 9) gives some warnings (see - below) about not being able to generate an assignment operator. - As those assignment operators are not used and problably should - never be used, I solved this by creating an private (empty) - assingment operator. - " - - From Robert Osfield, added "return *this;" to Laurens's addition - to prevent them generating a warning under gcc... - -2010-03-10 10:10 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Stephan Huber, - "attached you'll find a small bugfix for the 3ds-reader. It - allows - reading files with relative paths again. (Hard to explain, easy - to see - in the diff)" - -2010-03-10 09:37 robert - - * include/OpenThreads/Version, src/OpenThreads/CMakeLists.txt, - src/OpenThreads/common/Version.in: Added automatic updating of - the OpenThreads version number from the CMake version numbers - -2010-03-09 15:16 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: fixed xcode project again -2010-03-08 10:20 robert +Thu, 23 Jan 2014 15:37:48 +0000 +Checked in by : Robert OSFIELD +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.I added a new tag to p3d called forward_touch_event_to_device and renamed the existing forward_event_to_device to forward_mouse_event_to_device. This new tag will transmit touches to the virtual trackpad as touch events. I added the MultitouchTrackball to the p3d-app so zooming and moving a model remotely should now work, if you use forward_touch_event_to_device. I kept (and fixed) forward_mouse_event_to_device for background compatibility, so old presentations works as in previous versions, without the ability to zoom + scale. of course. - * src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: Added extra ffmpeg - version check +forward_touch_event_to_device needs some more testing, (e.g. with image-streams and keystone, afaik there’s no support for touch-events...) but for a first version it works nice. +" -2010-03-05 16:17 robert - * include/osgShadow/MinimalShadowMap, - src/osgShadow/MinimalShadowMap.cpp: From Wojcoech Lewandowski, - "Attched are aimShadowCastingCamera() call changes, I have - described in former post. Basically now MinimalShadowMap - overrides first variant and keeps second. So both variants of - aimShadowCastingCamera are clearly defined in - MinimalShadowMap::ViewData scope. This way compilers have no - problem and code looks less obscure. Changes made against the - trunk." - -2010-03-05 16:08 robert - - * src/osgPlugins/ac/ac3d.cpp: From Mathias Froehlich, "Not so long - time ago, there was a complaint about the ac3d plugin not - honoring - absolute filenames for the texture images. - - The attached change should fix this by at first looking at the - absolute file - name to load a texture and then, if that fails, strip away any - paths to try - that again with the bare file name. - The change also fixes a possible exception that could be - triggered by an out - of bounds std::string access which is now avoided by using - functions from - osgDB/FileUtils. - - The change is based on rev 11161." - -2010-03-05 16:07 robert - - * src/osgWidget/Input.cpp: Fixed warning - -2010-03-05 16:04 robert - - * src/osgPlugins/3ds/lib3ds/lib3ds_io.c: Fixed usage of - osg::swapBytes to properly pass in pointer to data that needs - swapping. - -2010-03-05 15:46 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/qfont, - src/osgPlugins/qfont/CMakeLists.txt, - src/osgPlugins/qfont/ReaderQFont.cpp, src/osgText/Font.cpp: From - Mathias Froehlich, "If you want to have that qfont plugin loader, - this is the updated - implementation which uses osgQt and includes the changes to make - fonts load - without a file on disk." - -2010-03-05 15:36 robert - - * src/osgDB/FileNameUtils.cpp: Replaced find_first_of with find - -2010-03-05 15:17 robert - - * src/osgDB/FileNameUtils.cpp: Replaced find_first_of with find. - -2010-03-05 15:10 robert - - * src/osgDB/FileNameUtils.cpp: From Sukender, "Here is a tiny fix - for getNameLessExtension(). It does now check for the presence of - slashes ('/' and '\') to avoid changing the string when having a - dot in a directory. - Old behaviour: "abc.d/filename_no_ext" -> "abc" - New behaviour: "abc.d/filename_no_ext" -> "abc.d/filename_no_ext" - - Attached file is against rev. 11158." -2010-03-05 15:08 robert +Thu, 23 Jan 2014 10:56:17 +0000 +Checked in by : Robert OSFIELD +Removed debug message - * examples/osgQtBrowser/CMakeLists.txt, src/osgQt/CMakeLists.txt: - Fixes for warning from qt headers +Thu, 23 Jan 2014 10:50:55 +0000 +Checked in by : Robert OSFIELD +Changed the TransprencyProperty range to 0 to 2.0 to enable forcing opaque qualities on fragments -2010-03-05 15:07 robert +Thu, 23 Jan 2014 10:11:15 +0000 +Checked in by : Robert OSFIELD +Cleaned up debug message. - * examples/osgQtBrowser/QGraphicsViewAdapter.cpp, - examples/osgQtBrowser/QGraphicsViewAdapter.h, - examples/osgQtBrowser/QWebViewImage.cpp, - examples/osgQtBrowser/QWebViewImage.h: Removed files that are now - part of osgQt +Thu, 23 Jan 2014 10:09:53 +0000 +Checked in by : Robert OSFIELD +Cleaned up the Qt find package, and made changed the default threading model to SingleThreaded when using Qt5 to avoid crash due to regresssion since Qt4. -2010-03-05 15:05 shuber +Thu, 23 Jan 2014 09:41:09 +0000 +Checked in by : Robert OSFIELD +Added clean up of osg::Program that are applied by the GLObjectsVisitor, which addresses a state leak that creates GL error once the main scene graph is rendered. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project +Thu, 23 Jan 2014 07:59:46 +0000 +Checked in by : Robert OSFIELD +Added GL_TEXTURE_2D_MULTISAMPLE to texture mode list. -2010-03-05 15:04 robert +Wed, 22 Jan 2014 17:29:44 +0000 +Checked in by : Robert OSFIELD +Made protected methods virtual to allow subclassing to customize more aspects of the window setup. - * src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: Fixed warnings +Wed, 22 Jan 2014 16:29:45 +0000 +Checked in by : Robert OSFIELD +Refactored .p3d loader to make it less strict about the tag, property and value strings when matching them to supported values.Examples of supported matches are: -2010-03-05 12:55 robert + and will be treated the same + WHITE and White will be treated the same + and , will all be treated the same - * include/osg/CullSettings, include/osg/CullingSet, - include/osgGA/GUIEventAdapter, - include/osgPresentation/SlideEventHandler, - include/osgSim/ObjectRecordData, include/osgSim/SphereSegment, - include/osgUtil/ShaderGen, src/osgSim/SphereSegment.cpp, - src/osgUtil/ShaderGen.cpp, - src/osgWrappers/introspection/osg/CullSettings.cpp, - src/osgWrappers/introspection/osg/CullingSet.cpp, - src/osgWrappers/introspection/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/introspection/osgPresentation/SlideEventHandler.cpp, - src/osgWrappers/introspection/osgSim/ObjectRecordData.cpp, - src/osgWrappers/introspection/osgSim/SphereSegment.cpp, - src/osgWrappers/introspection/osgUtil/ShaderGen.cpp: Replaced use - of unsigned int/enum mask combinations with int/enum mask - combinations to avoid the need for casting enums to unsigned - ints, - and to avoid associated warnings. - - Update wrappers to reflect these changes. -2010-03-05 12:53 robert - * CMakeLists.txt, include/osg/Version: Updated version and - soversion numbers -2010-03-05 12:43 robert +Wed, 22 Jan 2014 11:25:54 +0000 +Checked in by : Robert OSFIELD +Added support for sampleRatio and sampleRatioWhenMoving properties - * CMakeModules/OsgMacroUtils.cmake, - examples/osgQtBrowser/CMakeLists.txt, - examples/osgviewerQT/CMakeLists.txt, - examples/osgviewerQtWidget/CMakeLists.txt, - src/osgQt/CMakeLists.txt: From Mourad Boufarguine, "Some others - modified CMake scripts : - - - OsgMacroUtils.cmake, SETUP_LINK_LIBRARIES macro : allow linking - with debug/release external libraries - - osgQt/CMakeLists.txt : fix the linking to Qt librairies + - linking to debug Qt librairies if found - - examples/ qt examples : linking to debug Qt librairies if - found" +Tue, 21 Jan 2014 18:58:52 +0000 +Checked in by : Robert OSFIELD +Build fixes for when ref_ptr<> automatic type conversion is turned off -2010-03-05 11:30 robert +Tue, 21 Jan 2014 18:48:53 +0000 +Checked in by : Robert OSFIELD +Added support for osgVolue::SampleRatioProperty. Fixed build errors when compiling with ref_ptr<> automatic type conversion. - * include/osg/Shader, src/osgWrappers/introspection/osg/Shader.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp: Change - Shader::getPCS(..) from protected to public scope to enable - isCompiled() method to be accessible in applications. - - Updated wrappers +Tue, 21 Jan 2014 18:31:20 +0000 +Checked in by : Robert OSFIELD +Build fixes for when ref_ptr<> has no auto type conversion -2010-03-05 11:21 robert +Tue, 21 Jan 2014 17:27:21 +0000 +Checked in by : Robert OSFIELD +Fixed build error - * examples/osggpx/osggpx.cpp: Added an "-a" speed averager option - and a "-o filename" output option. +Tue, 21 Jan 2014 17:00:56 +0000 +Checked in by : Robert OSFIELD +Fixed build error due to typo. -2010-03-05 11:19 robert +Mon, 20 Jan 2014 17:23:11 +0000 +Checked in by : Robert OSFIELD +Integrated multipass volume rendering shaders from OpenSceneGraph-Data - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: Changed - Options::setDatabasePath(..) usage to - getDatabasePathList().push_front() to paths set by Options to be - picked up. +Mon, 20 Jan 2014 17:03:29 +0000 +Checked in by : Robert OSFIELD +Changed the default directory for the output files to be the current working directory, with the --write-to-source-file-directory added to allow one to have the original behaviour of writing to the same directory as the original source file. -2010-03-05 10:58 robert +Mon, 20 Jan 2014 16:21:24 +0000 +Checked in by : Robert OSFIELD +Removed nolonger used code paths - * src/osgPlugins/txp/trpage_swap.cpp: Fixed warning +Mon, 20 Jan 2014 15:54:48 +0000 +Checked in by : Robert OSFIELD +Disable depth test for rendering of hull backface -2010-03-05 10:50 robert +Mon, 20 Jan 2014 15:10:49 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "recent commits regarding GLuint64EXT broke the build for GLES1 and GLES2. Attached you’ll find a fix which hopefully work for every platform." - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Fixed warning +Mon, 20 Jan 2014 11:00:09 +0000 +Checked in by : Robert OSFIELD +From Kristofer Tingdahl, reimplement of AntiSquish node to avoid the use of an update callback.From Robert Osfield, small ammendments to clean up header. -2010-03-05 10:48 robert - * src/osgPlugins/zip/unzip.cpp: Fixed warning -2010-03-04 20:45 robert +Mon, 20 Jan 2014 10:40:49 +0000 +Checked in by : Robert OSFIELD +From Roni Zanolli,Added use of Qt's new devicePixelRatio() method to assist with handling the upscalling of resolution on iPhone for "retina" displays.From Robert Osfield, changed Roni's code to use a #define GETDEVICEPIXELRATIO to access the versioned Qt devicePixelRatio() method to avoid duplication of the Qt version checking. - * CMakeLists.txt: From Mourad Boufarguine, "The attached CMakeLists - allows building osgQt in case BUILD_OSG_EXAMPLES is set to off. - - " -2010-03-04 17:01 mplatings - * src/osgPlugins/fbx/fbxRMesh.cpp: Added BlendFunc for transparent - materials +Fri, 17 Jan 2014 18:20:39 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2010-03-04 16:27 mplatings +Fri, 17 Jan 2014 18:20:28 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fix for OSX build issue - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h: - Fix for some FBX files with multiple meshes bound to a bone. +Fri, 17 Jan 2014 14:02:30 +0000 +Checked in by : Robert OSFIELD +From Kristoger Tingdahl, "the patch I sent to src/osgQt/CMakeModules.txt did not do the work on windows. I have fixed that, and also made it more generic so there is no special handling of qt5.2, but all qt5 are the same.I have tested this on: -2010-03-04 13:03 robert +mac/qt5.2 +linux/qt5.2 +windows/qt5.2, and +mac/qt5.1 - * src/osgPlugins/dae/daeRGeometry.cpp: Fixed warnings +All platforms perform as expected. -2010-03-04 12:59 robert +The previous fix removed the -f flag to the moc-pre-processor, but on windows, it turned out that -f "osgQt/QGraphicsViewer" was needed. - * src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSkinning.cpp: From Michael Platings, "Here - are a couple more fixes on top of what you've already done." (in - reply to fixes submission from Roland Smeenk). +This becomes an include-statement in the file generated by moc which is needed for compiling it. I ask you consider this patch for the trunk and the 3.2 branch. -2010-03-04 12:57 robert - * src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSkinning.cpp, - src/osgPlugins/dae/daeRTransforms.cpp, - src/osgPlugins/dae/daeWGeometry.cpp: From Roland Smeenk, "I took - a quick look at the warnings and they contain nothing serious. - Attached you will find updates of the files to hopefully solve - the warnings (in VS2005 only one warning occured). In addition I - fixed a tiny bug that caused a crash with one of my test files." +Secondly, I wonder if it would be possible to apply my patch for FindRSVG.cmake from 22nd November in the 3.2 branch. -2010-03-04 12:43 robert +In short, the version of librsvg must be equal or higher to 2.35: - * include/osgQt/QFontImplementation, src/osgQt/CMakeLists.txt, - src/osgQt/QFontImplementation.cpp: From Mathias Froehlich, - Integration of osgText::Font with QFont to enable use of Qt fonts - and selectors in osgText. +PKG_CHECK_MODULES(RSVG librsvg-2.0>=2.35) +" -2010-03-04 12:18 robert - * include/osgQt/Export: Added Export for new osgQt lib -2010-03-04 12:15 robert +Fri, 17 Jan 2014 13:59:29 +0000 +Checked in by : Robert OSFIELD +From Jordi Torres, "We have a code using gcc with -Wextra flag and using OSG as a third party library. It does not compile when importing failing in EventHandler and GUIEventHandler:.... - * examples/osgQtBrowser/CMakeLists.txt, - examples/osgQtBrowser/osgQtBrowser.cpp, include/osgQt, - include/osgQt/QGraphicsViewAdapter, include/osgQt/QWebViewImage, - src/CMakeLists.txt, src/osgDB/DatabasePager.cpp, src/osgQt, - src/osgQt/CMakeLists.txt, src/osgQt/QGraphicsViewAdapter.cpp, - src/osgQt/QWebViewImage.cpp: Moved QWebViewImage and - QGraphicsViewAdapter into new osgQt utility library. +GUIEventHandler: In copy constructor 'osgGA::GUIEventHandler::GUIEventHandler(const osgGA::GUIEventHandler&, const osg::CopyOp&)': -2010-03-04 12:14 robert +/include/osgGA/GUIEventHandler:56:9: error: base class 'class osg::Object' should be explicitly initialized in the copy constructor [-Werror=extra] - * src/osgViewer/Scene.cpp: Removed now redundent call to register - PagedLODs +It seems the diamond problem: -2010-03-04 11:45 robert + A = osg::Object + / \ + / \--> Virtual inheritance +B C + \ / + \ / + D = EventHandler + | + | + E = GUIEventHandler - * src/osgPlugins/net: Removed old net plugin that is nolonger used. - This plugin can be found in the deprecated/src/osgPlugins/net - respository +The most derived class(E) handles the instantiation of A (osg::Object), but all have to be responsible in case they are the ones instantiated. -2010-03-03 17:24 robert - * src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRNode.cpp: - Ran dos2unix of files to fix issues with file endings +In case A is not initialized in the copy constructor of derived classes the default constructor will be called, which seems a bug. -2010-03-03 16:40 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: - Refactored DatabasePager so that it nolonger takes - ref_ptr, but instead uses a custom version of - observer_ptr<>. - This change should make it possible to delete PagedLOD's - independantly from the DatabasePager, and also prevent issues of - consistency of the pager when subgraphs when are cached elsewhere - in the application such as in the Registry filecache. - -2010-03-03 16:37 robert - - * src/osgShadow/ShadowTechnique.cpp: Fixed warning - -2010-03-03 16:14 mplatings - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h: - -2010-03-03 10:11 robert - - * examples/osgviewerQT/QOSGWidget.cpp: From Martin Beckett, "I - tested DJ's fix to stop flicker on Windows + Qt viewer on 2.6.7 - - It solves the problem on XP and Win7 on Qt 4.5 and 4.62 - It isn't necessary on Linux (ubuntu 8.10/9.04 Qt 4.5/4.6.2) but - doesn't cause any harm. - But I have #ifdef'ed it with WIN32. I can't test it on 64bit - windows (not sure if x64 defines WIN32?)" - -2010-03-02 18:18 mplatings - - * src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h: - -2010-03-01 13:10 robert - - * src/osgWrappers/introspection/osgShadow/ShadowTechnique.cpp: - Updated wrappers - -2010-03-01 13:00 robert - - * include/osgShadow/ShadowTechnique, src/osgShadow/ShadowMap.cpp, - src/osgShadow/ShadowTechnique.cpp, - src/osgShadow/ShadowTexture.cpp: Added a - ShadowTechnique::computeOrthogonalVector(const osg::Vec3& - direction) const method for helping compute an appropriate - up vector to setViewMatrixAsLookAt(..) codes in osgShadow. This - will addresses previous issues that occured when look vectors - co-incided with the hard coded up vectors. - -2010-03-01 11:52 robert - - * include/osgShadow/DebugShadowMap, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp: From Wojciech Lewandowski, - "Here comes a list of small fixes in StandardShadowMap and - derived classes affecting LispSM techniques. Changes made against - SVN trunk. - - Fixes in StandardShadowMap.cpp & MinimalShadowMap.cpp were made - for spotlight issues. There were cases when further located - spotlights were not shadowing properly. - - Small tweak in DebugShadowMap & StandardShadowMap.cpp to not - limit shadow maps to texture2D (which should also allow texture2D - arrays and cube maps). I simply replaced ptr to osg::Texture2D - with pointer to osg::Texture. Interpretation of this member could - be now changed with change of shaders in derived classes. This - may be useful for guys who override LispSM or - MinimalBoundsShadowMaps techniques. Could be useful for - implementation of PerspectiveCascadedShadowMaps technique for - example. - - ConvexPolyhedron.cpp & DebugShadowMap.cpp contain debug HUD - tweaks. - - Change in ConvexPolyhedron.cpp overcomes the regression problem - with color per primitive binding which caused that shadow volume - outlines stopped to draw. I simply changed PER_PRIMITIVE to - PER_PRIMITIVE_SET and it works again. - - Other adition is dump method I added to DebugShadowMap which can - be used in shadow debugging mode to dump current frame shadow - volumes & scene to osg file. It could be then loaded into viewer - and freely examined from different angles (which is difficult - inside the application if shadow adopts to view and projection). - " - -2010-03-01 11:29 robert - - * CMakeLists.txt: From Mourad Boufarguine, "With the present - CMakeLists, the directory ${PROJECT_BINARY_DIR}/include is added - to the include path before ${OpenSceneGraph_SOURCE_DIR}/include. - This causes problems whenever a header file is changed when - updating OSG, because cpp files are build against the old header - files contained in ${PROJECT_BINARY_DIR}/include rather than the - new ones in ${OpenSceneGraph_SOURCE_DIR}/include. Inverting the - order of the two drectories in the include path solves the - problem. - - Attached is the modified CMakeLists.txt." - -2010-02-26 21:31 robert - - * src/osgWrappers/introspection/genwrapper.conf, - src/osgWrappers/introspection/osg/Array.cpp: Updated wrappers - -2010-02-26 16:02 robert - - * src/osgWrappers/introspection/osg/Array.cpp: updated wrappers - -2010-02-26 15:54 robert - - * include/osgDB/Serializer: Added spaces between < > template parts - of macros to prevent compile problems when templates as use as - macro parameters - -2010-02-26 15:40 robert - - * src/osgUtil/Optimizer.cpp: From Paul Martz, "Regarding the - osg-users thread "mergeGeodes crash", I'm submitting this for - consideration as a fix for the problem with the - FlattenStaticTransformsVisitor. It seems that the additional - nested loop over the Transform's parent was not needed. I'm not - sure why it was there, and if it really was unnecessary, then it - has probably been resulting in many redundant Nodes for quite - some time. Perhaps this fix will result in a cull- and draw-time - performance boost." - - From Robert Osfield, added copying of the UserData and - Descriptions from the transform to the new group. - -2010-02-26 15:01 robert - - * src/osgPlugins/directshow/DirectShowTexture.cpp: From Raymon de - Vries, "I've made a small change to DirectShowTexture.cpp: in the - options for the directshow plugin it is possible to specify the - capture device by number. For instance: - options->setPluginStringData("captureVideoDevice", "0"); - - Lines added in getDevice() are: - int deviceId = atoi(name.c_str()); - if(deviceId >= 0 && deviceId < (int)_listDevice.size()) - return _listDevice[deviceId]; - - This makes it easy to use a capture device without knowing it's - name. Attached is the whole file against rev 11044" - -2010-02-26 14:41 robert - - * include/osg/Array, include/osg/Matrixf, - src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dae/daeRAnimations.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeRSkinning.cpp, - src/osgPlugins/dae/daeRTransforms.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWAnimations.cpp, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWTransforms.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h, - src/osgPlugins/dae/domSourceReader.cpp, - src/osgPlugins/dae/domSourceReader.h: From Michael Platings, - "Here's the all-new, all-dancing DAE plugin, with support for - reading - osgAnimation. It's been tested with the majority of the samples - in the - COLLADA test repository and works with all of them either as well - as, or - better than, the version of the plugin currently in SVN. - - Known issue: vertex animation (AKA morphing) doesn't work at - present, - but that's a relatively unpopular method of animating so it's not - high - on my priority list." - - Follow up email: - "I've been informed that the previous DAE submission didn't build - on - unix, so here's the submission again with the fixes. Thanks to - Gregory Potdevin and Benjamin Bozou. - Also, my apologies to Roland for not crediting his part in making - DAE - animation happen, my work was indeed built on top of his work. - Thanks - also to Marius Heise and of course Cedric Pinson." - - Changes by Robert Osfield, fixed compile issues when compile - without C* automatic conversion enabled in ref_ptr<> - and constructor initialization fixes to address some warnings - under gcc. - -2010-02-26 14:36 robert - - * src/osgWrappers/introspection/osg/ObserverNodePath.cpp, - src/osgWrappers/introspection/osg/OcclusionQueryNode.cpp: Updated - wrappers - -2010-02-26 10:13 robert - - * include/osg/OcclusionQueryNode, src/osg/OcclusionQueryNode.cpp, - src/osgUtil/CullVisitor.cpp: From Paul Martz, "The changes are - very similar to Magne's, except they now take the near plane into - account. The changes are: - - * Change OcclusionQueryNode::getPassed to take a NodeVisitor - rather than the distance from BS center to the eye point. Change - where CullVisitor calls this method to use the new parameters. - * getPassed now exits early and returns true to avoid blinking / - blink-in of geometry for the first frame or for out-of-range LOD - children coming back into view. - * getPassed now considers the distance from the near plane to the - bounding sphere (rather than eye point to bounding sphere) when - determining if the viewer is "inside" the bounding sphere or - not." - -2010-02-26 10:03 robert - - * src/osg/GLExtensions.cpp: From Paul Martz, "Summary: GL3 - deprecates "glGetString(GL_EXTENSIONS)". In GL3, individual - extension strings are queried by looping over GL_NUM_EXTENSIONS - and calling "glGetStringi(GL_EXTENSIONS,)". - - The fix is basically as follows: - if( GL3 ) - Query indexed extension strings. - else - Query the old way. - - The "else" branch is re-indented but otherwise shouldn't contain - any changes." - - From Robert Osfield, added #if !defined(OSG_GLES1_AVAILABLE) && - !defined(OSG_GLES2_AVAILABLE) to new block to prevent it - being compiled under GLES where no glGetStringi exists. - -2010-02-26 09:48 robert - - * src/osg/GLExtensions.cpp: From Paul Martz, "Summary: GL3 - deprecates "glGetString(GL_EXTENSIONS)". In GL3, individual - extension strings are queried by looping over GL_NUM_EXTENSIONS - and calling "glGetStringi(GL_EXTENSIONS,)". - - The fix is basically as follows: - if( GL3 ) - Query indexed extension strings. - else - Query the old way. - - The "else" branch is re-indented but otherwise shouldn't contain - any changes." - -2010-02-26 09:40 robert - - * examples/osgcallback/osgcallback.cpp: From Chris Hanson, comment - fix - -2010-02-26 09:33 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Sukender, "I tried - a tiny change in is83() function and had no crash (under - Windows). "osgconv cow.osg cow.3ds" exports a black cow and - "osgconv lz.osg lz.3ds" exports tree(s) at (0,0,0)... I guess - there are still things to do about non-zero-index textures and - multiple instanciation of a node, but at least it doesn't crash." - -2010-02-26 09:23 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TXPNode.cpp, src/osgPlugins/txp/TXPNode.h, - src/osgPlugins/txp/TXPParser.h: From Ryan Kawicki, "I guess I - missed these during my testing, but if the database pager has - outstanding requests while the application is shutting down, the - archive can become invalidated through unsafe calls to - ReaderWriterTXP::getArchive. I've made this function return a - ref_ptr and change other locations to as needed to conform to the - change. I've tested this and no more crashes. - - Following files from revision 11057 have been attached." - -2010-02-26 08:55 robert - - * src/osgPlugins/png/ReaderWriterPNG.cpp: From Philip Lownman, "The - libpng project decided to rename png_set_gray_1_2_4_to_8() to - png_set_expand_gray_1_2_4_to_8() with the 1.2.9 release. This - submission fixes builds of the OSG against versions of libpng < - 1.2.9 - that don't have the new symbol available. This affects platforms - like - Red Hat Enterprise Linux 4 which come with libpng 1.2.7." - -2010-02-25 18:17 robert - - * src/osgText/Text.cpp, src/osgText/Text3D.cpp: From Terry Welsh, - "As discussed on the osg-users list, I have implemented these - rules in - Text and Text3D: - - 1. A new line should be started after a line's last hyphen or - before - its last whitespace. - 2. If no suitable place to break a line is found, just start new - line - after the last character that fits on the line. - 3. Whitespace should be removed from the beginning of the new - line - (already worked in Text, but not in Text3D). - - Line wrapping looks a lot better now with no more lone periods - appearing at the beginning of lines. - - Also, right-justified text is more accurate now (slashes would - hang - off the end of lines before). With this new code I spotted one - instance where a hyphen stuck out too far, but in general it - looks - better. Centered text was not perfect before and still isn't, but - I - can't see any significant increase or decrease in quality. The - casual - observer would probably never notice a problem. - - Also fixed a whitespace problem in Text3D. Not all whitespace was - being removed from the beginning of lines. Now it is all being - removed in the same manner as in Text." - -2010-02-25 18:05 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Erik Johnson, "There - is an issue on win32 if the application hides the cursor using - GraphicsWindowWin32::useCursor(false). The cursor has a habit of - re-showing itself. - - To reproduce, on win32: - - -Run osgViewer in a windowed mode, with the cursor off, as such: - osgViewer::Viewer::Windows windows; - viewer.getWindows(windows); - for(osgViewer::Viewer::Windows::iterator itr = windows.begin(); - itr != windows.end(); - ++itr) - { - (*itr)->useCursor( false ); - } - - -Quickly move the cursor into the window (cursor it should be - hidden) - -Resize the window by dragging the border (notice the cursor - changes to "resize" cursor) - -Move the cursor back to the inside of the window (notice the - cursor is not hidden anymore) - - The attached SVN patch will set the cursor to a "NoCursor" during - useCursor(false). This correctly stores the no cursor state, so - it can be rejuvenated after a future cursor change. This patch - also fixes a couple instances where a hidden cursor should show - itself, like when it's on the title bar, or the window close - button." - -2010-02-25 18:03 robert - - * include/osg/NodeVisitor: From Chris Hanson, comment fix. - -2010-02-25 18:01 robert - - * src/osgPlugins/directshow/DirectShowTexture.cpp: From Trajce - Nikolov, "attached is some fix for the directshow plugin. Cleans - up the build warnings as well makes the code a bit safer" - -2010-02-25 17:58 robert - - * examples/CMakeLists.txt, examples/osganimationeasemotion, - examples/osganimationeasemotion/CMakeLists.txt, - examples/osganimationeasemotion/osganimationeasemotion.cpp: From - Jeremy Moles, submitted by Cedric Pinson "Here an new example - from Jeremy Moles that demonstrate EaseMotion from - osgAnimation, i have updated EaseMotion with new type, so for - users of - EaseMotion just have look, it's a great example." - -2010-02-25 17:53 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osgTerrain, - src/osgWrappers/serializers/osgTerrain/CMakeLists.txt, - src/osgWrappers/serializers/osgTerrain/CompositeLayer.cpp, - src/osgWrappers/serializers/osgTerrain/ContourLayer.cpp, - src/osgWrappers/serializers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/serializers/osgTerrain/HeightFieldLayer.cpp, - src/osgWrappers/serializers/osgTerrain/ImageLayer.cpp, - src/osgWrappers/serializers/osgTerrain/Layer.cpp, - src/osgWrappers/serializers/osgTerrain/Locator.cpp, - src/osgWrappers/serializers/osgTerrain/ProxyLayer.cpp, - src/osgWrappers/serializers/osgTerrain/SwitchLayer.cpp, - src/osgWrappers/serializers/osgTerrain/Terrain.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/serializers/osgTerrain/TerrainTile.cpp: From Wang - Rui, "Attached is the osgTerrain wrappers, based on the latest - SVN version - of OSG. I modified the osgDB::InputStream and OutputStream and - the - PagedLOD wrapper as well. Now all seems to work fine with paged - scenes. I've tested with the puget terrain data and the osgdem - application from VPB: - # osgdem --xx 10 --yy 10 -t ps_texture_4k.tif --xx 10 --yy 10 -d - ps_height_4k.tif -l 8 -v 0.1 -o puget.osgb - - As the ive plugin does, The PagedLOD wrapper now automatically - add the - latest file path to PagedLODs' databasePath member, to help them - find - correct child positions. I also changed the image storage - strategy of - the OutputStream class, to store them inline by default. The osgt - extension should also work, in case the image files are also - written - to the disk. - " - -2010-02-25 17:18 robert - - * src/osg/Texture.cpp: From J.P. Delport: "by some strange - circumstance I've stumbled across the following problem: - - I create a compositeviewer with two views that share a context. - One view is deleted. - Texture::TextureObjectSet::discardAllTextureObjects is called, - but this does not reset _tail. Now the texture object is again - created and addToBack is called from - Texture::TextureObjectSet::takeOrGenerate. In addToBack (line - 612) _tail is now not 0 (although the list should be empty) and a - loop is created from the texture object to itself. Then when the - second view is deleted, - Texture::TextureObjectSet::deleteAllTextureObjects loops forever. - Setting _tail to 0 fixes it for me (see attached)." - -2010-02-25 17:13 robert - - * src/osgPlugins/dxf/dxfFile.cpp: From Simon Buckley, "Attached is - a small change to the file src\osgPlugins\dxf\dxfFile.cpp that - allows the dxf reader to skip comments in a dxf file. I found - with the existing version and a test file I had that the loader - failed when comments were present. I made a very minor change to - allow "999" comment codes to be skipped rather than causing load - failure." +I've added osg::Object to the initalization list of EventHandler and GUIEventHandler copy constructors, because both classes are instantiables. + " -2010-02-25 17:07 robert - * include/osgDB/ConvertUTF, src/osgDB/ConvertUTF.cpp: From Michael - Platings, "There is a function, - convertStringFromCurrentCodePageToUTF8() that would be useful - outside the FBX plugin so it belongs in osgDB. I've attached - ConvertUTF and ConvertUTF.cpp with the function added for you to - commit at your convenience. - " -2010-02-24 10:52 mplatings +Fri, 17 Jan 2014 13:54:14 +0000 +Checked in by : Robert OSFIELD +From Jordi Torres, "Fixed a typo in ReaderWriterCURL::ReaderWriterCURL() changed Psuedo for Pseudo." - * src/osgPlugins/fbx/ReaderWriterFBX.cpp: +Fri, 17 Jan 2014 12:40:58 +0000 +Checked in by : Robert OSFIELD +Fixed handling of background colours. -2010-02-24 10:25 mplatings +Thu, 16 Jan 2014 17:26:35 +0000 +Checked in by : Robert OSFIELD +Removed old redundent TexGen usage. - * src/osgPlugins/fbx/CMakeLists.txt, - src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/WriterNodeVisitor.cpp, - src/osgPlugins/fbx/WriterNodeVisitor.h, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRAnimation.h, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h: +Thu, 16 Jan 2014 17:17:37 +0000 +Checked in by : Robert OSFIELD +Added hull="hul-filename" property support to tag that can used thus: + CardiacCT + -2010-02-24 10:12 mplatings - * src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp: -2010-02-24 10:02 mplatings - * src/osgPlugins/fbx/fbxMaterialToOsgStateSet.h: +Thu, 16 Jan 2014 16:08:43 +0000 +Checked in by : Robert OSFIELD +Added support for controlling the extents of the volume rendering by nesting the hull underneath VolumeTile. Currently only supported by the new osgVolume::MultipassTechnique -2010-02-22 17:41 robert +Thu, 9 Jan 2014 11:13:09 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, build fix for Windows GL3 build - * include/osg/ObserverNodePath: Added an empty() method +Thu, 9 Jan 2014 09:41:43 +0000 +Checked in by : Robert OSFIELD +Added per TileData RTT Camera in prep for rendering backface of volume to a depth texture -2010-02-22 10:43 robert +Wed, 8 Jan 2014 15:56:43 +0000 +Checked in by : Robert OSFIELD +Changed near/far values to use CullVisitor::value_type and use std::numeric_limits<>. - * AUTHORS.txt: Updated authors file +Wed, 8 Jan 2014 10:33:00 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I've attached a fix for the Collada loader that prevents a crash with some files containing textures. I also converted an OSG_NOTICE to OSG_INFO to be consistent with other log messages within the loader." -2010-02-22 10:36 robert +Wed, 8 Jan 2014 10:31:36 +0000 +Checked in by : Robert OSFIELD +Removed more odd characters - * ChangeLog: Updated wrappers +Wed, 8 Jan 2014 10:28:24 +0000 +Checked in by : Robert OSFIELD +Removed more odd characters -2010-02-22 10:10 robert +Wed, 8 Jan 2014 10:24:43 +0000 +Checked in by : Robert OSFIELD +Removed odd characters - * CMakeModules/FindFFmpeg.cmake: Fixed STDINT_INCLUDE path +Wed, 8 Jan 2014 10:16:39 +0000 +Checked in by : Robert OSFIELD +Moved destructor to protected -2010-02-22 09:50 robert +Tue, 7 Jan 2014 19:06:44 +0000 +Checked in by : Robert OSFIELD +Refined the GLint64 definitions - * include/osgWidget/Input, src/osgWidget/Input.cpp: From Trajce - Nicklov, fixes to warnings +Tue, 7 Jan 2014 18:32:45 +0000 +Checked in by : Robert OSFIELD +Removed duplicated instances of GLint64EXT declarations -2010-02-22 08:48 robert +Tue, 7 Jan 2014 16:43:07 +0000 +Checked in by : Robert OSFIELD +Removed execute properties via svn propdel svn:executable file - * src/osgDB/ObjectWrapper.cpp: Seperated out the #define of - GL_PERSPECTIVE_CORRECTION_HINT to fix GL3 build +Tue, 7 Jan 2014 16:29:22 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I've attached a small change to the DAE writer to support writing out unknown transform types. It will essentially treat it as a matrix transform, using the the local to world matrix value." -2010-02-22 08:39 robert +Tue, 7 Jan 2014 16:18:05 +0000 +Checked in by : Robert OSFIELD +Bumped SO_VERSION number of OpenThreads to avoid conflicts with Debian SO_VERSION bump - * include/osg/observer_ptr: Added missing _ptr = rp._ptr to - constructor. +Tue, 7 Jan 2014 16:15:50 +0000 +Checked in by : Robert OSFIELD +From Sebastian Messerschmidt, "Original shader was not running on various NVidia cards due to old syntax in shader." -2010-02-20 17:36 robert +Tue, 7 Jan 2014 11:01:32 +0000 +Checked in by : Robert OSFIELD +Added State::getMaxTextureCoords() and State::getMaxTextureUnits() inline methods. - * include/osgViewer/View, src/osgViewer/View.cpp: Converted View - across to use ObserverNodePath. +Mon, 6 Jan 2014 17:19:21 +0000 +Checked in by : Robert OSFIELD +Added support for Switch::set/getValue() -2010-02-19 21:03 robert +Mon, 6 Jan 2014 16:58:07 +0000 +Checked in by : Robert OSFIELD +Added Group::setChild(..) and Geode::setDrawable(..) MethodObjects - * src/osgDB/ObjectWrapper.cpp: Build fixes for GLES2 +Mon, 6 Jan 2014 15:46:36 +0000 +Checked in by : Robert OSFIELD +Removed the prototype MethodObject classes -2010-02-19 20:58 robert +Mon, 6 Jan 2014 15:45:46 +0000 +Checked in by : Robert OSFIELD +Moved osgDB::MethodObject from lua plugin into osgDB, added support for running methods via the osgDB::PropertyInterface class.Updated lua plugin to use new osgDB::PropertyInterface to run methods. - * examples/osgautocapture/osgautocapture.cpp: Fixed GLES1/GLES2 - build +Added addChild/removeChild() etc to Group.cpp, and addDrawable/removeDrawable() etc. to Geode.cpp serializers. -2010-02-19 20:43 robert - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Added include of - osg/FrameBufferObject to fix GLES1/GLES2 build issue -2010-02-19 20:40 robert +Mon, 6 Jan 2014 10:23:26 +0000 +Checked in by : Robert OSFIELD +Renamed the OSGSIM cmake variable to OSGSIM_LIBRARY to be consistent with the rest of the variables. - * src/osgDB/ObjectWrapper.cpp: Build fix for GLES1 and GLES2 +Fri, 3 Jan 2014 14:36:58 +0000 +Checked in by : Robert OSFIELD +Fixed build of V8 and Python plugins -2010-02-19 20:18 robert +Wed, 25 Dec 2013 17:36:32 +0000 +Checked in by : Robert OSFIELD +Preliminary support for wrapping methods in the lua script plugin. - * include/osg/Observer, src/osg/Observer.cpp: Moved implementation - of Observer destructor and constructor from header into .cpp to - avoid possible issues with imports/exports under Windows build. +Fri, 20 Dec 2013 09:57:35 +0000 +Checked in by : Robert OSFIELD +Added tag to .p3d to allow one to provide multiple ways to render children within a layer. -2010-02-19 20:14 robert +Thu, 19 Dec 2013 17:13:24 +0000 +Checked in by : Robert OSFIELD +From Kristofer Tingdahl, "the syntax of the moc executable has changed between 5.1.1 and 5.2.0 versions of qt (see below). The difference is that the argument has become mandatory after the -f option.Hence, moc will complain when osg throws in a -f without anything after it. Hence I propose removing the -f on Qt5 builds. I have tested building without -f on both qt520 and qt511, and that works well. - * include/osg/Drawable: Added check against OSG_GL3_AVAILABLE to - avoid issues with GL3 build under linux +The attached src/osgQt/CMakeLists.txt that can be patched into 3.2 safely. For the trunk, I would consider dropping the check on the version, and simply remove the option on qt5. I have tested that on qt5.1.1, and that worked fine. Question is however if it works on qt5.0. Probably it does, so the question is simplicity of CMakeList.txt vs safety." -2010-02-19 20:11 robert - * src/osg/ColorMatrix.cpp, src/osg/Fog.cpp, src/osg/TexEnv.cpp, - src/osg/TexEnvFilter.cpp: Added #include , convert - osg::notify usage to OSG_NOTICE -2010-02-19 19:50 robert +Thu, 19 Dec 2013 15:10:28 +0000 +Checked in by : Robert OSFIELD +From Sylvain Marie, When compiling OSG for the iOS simulator, providing both -miphoneos-version-min and -mios-simulator-version-min doesn’t please clang (tested on OS X 10.9.0 with Xcode 5.0.1). Here is a small change (against commit da597ab16945c572a2ad2f4f26fcef38ed21b074) in the CMakeLists.txt to avoid this situation. - * include/osg/observer_ptr: Clean up observer_ptr<> and removed the - eronous casting of ptr in objectDeleted. +Thu, 19 Dec 2013 13:53:40 +0000 +Checked in by : Robert OSFIELD +From Michal Durkovic, "I’m building current trunk on Mac OS X 10.9 and have encountered this error during linking of osgdb_lua plugin:Undefined symbols for architecture x86_64: -2010-02-19 19:00 robert + "lua::LuaScriptEngine::pushValue(osg::Quat const&) const", referenced from: - * src/osgWrappers/introspection/osgViewer/CompositeViewer.cpp: - Updated wrappers + PushStackValueVisitor::apply(osg::Quat const&) in LuaScriptEngine.o -2010-02-19 18:56 robert + "lua::LuaScriptEngine::pushValue(osg::Plane const&) const", referenced from: - * include/osgViewer/CompositeViewer: Removed the uncessary - subclassing from osg::Object as this base class is already - pullled via ViewerBase + PushStackValueVisitor::apply(osg::Plane const&) in LuaScriptEngine.o -2010-02-19 16:04 robert +ld: symbol(s) not found for architecture x86_64 - * include/osg/observer_ptr: Added mutex lock to destructor. +clang: error: linker command failed with exit code 1 (use -v to see invocation) -2010-02-19 15:41 robert - * include/osg/observer_ptr: Replaced local mutex with - getObserverMutex(). -2010-02-19 14:30 robert +Looks like LuaScriptEngine was missing implementation of those 2 member functions. Fixed src/osgPlugins/lua/LuaScriptEngine.cpp file in attachment. - * include/osgPresentation/AnimationMaterial, - include/osgUtil/IncrementalCompileOperation: From Fabien - Lavignotte, "In order to compile on Windows with Wrappers ON, - some exports are still missing on - osgPresentation::AnimationMaterialCallback and - osgUtil::IncrementalCompileOperation::CompileSet." +" -2010-02-19 14:05 robert - * include/osgDB/Registry, - src/osgWrappers/introspection/osgDB/Registry.cpp: Removed no - longer defined methods and updated wrappers -2010-02-19 09:32 robert +Thu, 19 Dec 2013 13:49:27 +0000 +Checked in by : Robert OSFIELD +From Stephan Hunber, "attached you’ll find some changes to osg/p3d:* a new command-line-option to present3d and a new option to the p3d-plugin to suppress any found tags +* a new command-line-option to present3d to forward mouse-events via osgGA::Device (defaults to off) so we can test the interface-files with present3d better +* I added a new attribute forward_to_devices for click_to_event to forward the event to all attached devices instead of handling the event locally. This will fix the annoyance with the new interface-files when toggling polygon-mode or switching light on/off. - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - contributors list for 2.9.7 release +Here’s an example: -2010-02-19 09:21 robert +0x72 +" - * ChangeLog: Updated ChangeLog -2010-02-19 09:02 robert - * include/osg/ObserverNodePath, src/osg/Observer.cpp, - src/osg/Referenced.cpp: Added an InitGlobalMutexes to enforce - early construction and hence late destruction of singleton - mutexes. +Thu, 19 Dec 2013 13:44:42 +0000 +Checked in by : Robert OSFIELD +From Stephan Hunber, "I found some time and ported osgDB::FileUtils and DarwinUtils across new apis to fix the warnings about deprecated api-usage.* osgDB::FileUtils uses now the Cocoa-API to determine the paths of the application-support-folder +* DarwinUtils uses now modern functions of the quartz-api to get and set screen-resolutions. Removed some of the osg-deprecated stuff. +" -2010-02-18 22:53 robert - * include/osg/Observer: Added newline. -2010-02-18 22:20 robert +Thu, 19 Dec 2013 10:02:16 +0000 +Checked in by : Robert OSFIELD +Implemented support for calling scripts from with Present3D. - * src/OpenThreads/win32/Win32Mutex.cpp: From Mourad Boufarguine, - fixed typo. +Tue, 17 Dec 2013 12:18:06 +0000 +Checked in by : Robert OSFIELD +Added support for new osgVolume::MultiPassTechnique to Present3D. To use add property renderer="MultiPass": MyVolumeData -2010-02-18 22:17 robert - * src/osgWrappers/introspection/OpenThreads/Mutex.cpp, - src/osgWrappers/introspection/OpenThreads/ReentrantMutex.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgViewer/Scene.cpp, - src/osgWrappers/introspection/osgWidget/EventInterface.cpp: - Updated wrappers -2010-02-18 22:17 robert - * src/osgWrappers/introspection/osg/Observer.cpp, - src/osgWrappers/introspection/osg/ObserverNodePath.cpp, - src/osgWrappers/introspection/osg/Referenced.cpp: Updated - wrappers +Tue, 17 Dec 2013 10:52:50 +0000 +Checked in by : Robert OSFIELD +Added experimental image 3d downsample function. -2010-02-18 21:24 robert +Mon, 16 Dec 2013 11:28:10 +0000 +Checked in by : Robert OSFIELD +Removed the unused Texture::Extensions::numTextureUnits() - * src/OpenThreads/CMakeLists.txt: Updated version number of - OpenThreads to reflect recent changes +Fri, 13 Dec 2013 12:38:01 +0000 +Checked in by : Robert OSFIELD +Implemented ability to switch between different shaders with new MultipassTechnique -2010-02-18 21:21 robert +Thu, 12 Dec 2013 09:53:24 +0000 +Checked in by : Robert OSFIELD +Added SampleRatioWhenMoving property and support to new osgVolume::MultipassTechnique. - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: - Completed usage of ObserverNodePath to fix longstanding crash - that occurred when nodes in parental chain of a newly loaded node - had been deleted. +Thu, 12 Dec 2013 09:51:30 +0000 +Checked in by : Robert OSFIELD +Applied unquie CullVisitor::Identifier rather than reusing the cloned one. -2010-02-18 21:21 robert +Wed, 11 Dec 2013 17:20:14 +0000 +Checked in by : Robert OSFIELD +Changed epsilon to 1e-5 to address picking problems with planaer objects - * include/osg/Observer, include/osg/ObserverNodePath, - include/osg/Referenced, src/osg/CMakeLists.txt, - src/osg/Observer.cpp, src/osg/ObserverNodePath.cpp, - src/osg/Referenced.cpp: Refactored the osg::Referenced - observerset code so that it now uses a dedicated ObserverSet - class, - which utilises a global recursive mutex that is dedicated to - manage Observer and ObserverSet. - - The new global mutex for observers avoids problems with deadlocks - that were occurring previously when - an osg::Refenced object was being deleted at the same time as on - osg::ObserverNodePath. +Wed, 11 Dec 2013 12:00:27 +0000 +Checked in by : Robert OSFIELD +Added initial support for 1D transfer functions to MultipassTechnique -2010-02-18 21:18 robert +Tue, 10 Dec 2013 13:38:27 +0000 +Checked in by : Robert OSFIELD +Added support for handling viewports with offset origins, and with it split stereo. - * include/osg/RenderInfo, include/osg/State: Replaced use of - observer_ptr<> with straight C pointer to avoid thrashing of an - observer_ptr<> every frame. - - Changed include to point to new Observer header +Tue, 10 Dec 2013 10:43:48 +0000 +Checked in by : Robert OSFIELD +Introduced SampleRatioValueProperty for more intuitive control of how many samples to take when volume rendering -2010-02-18 21:17 robert +Mon, 9 Dec 2013 10:39:01 +0000 +Checked in by : Robert OSFIELD +Improvements to new MultipassTechnique - * include/osgWidget/EventInterface: Added className() to assist - with debugging +Fri, 6 Dec 2013 19:31:12 +0000 +Checked in by : Robert OSFIELD +Further work on new MultipassTechnique/VolumeScene. -2010-02-18 21:15 robert +Fri, 6 Dec 2013 09:35:57 +0000 +Checked in by : Robert OSFIELD +From Mike Krus, compile fix to enable compiling across a wider set of versions. - * src/osgGA/AnimationPathManipulator.cpp: Changed controls for - changing animation speed to '(' and ')' to avoid overlap with - window resize handler. +Tue, 26 Nov 2013 19:03:46 +0000 +Checked in by : Robert OSFIELD +Added support for using shaders to render the RTT textures with depth -2010-02-18 20:14 robert +Tue, 26 Nov 2013 10:38:35 +0000 +Checked in by : Robert OSFIELD +Replaced readShaderFile() usage to readRefShaderFile() - * include/OpenThreads/Mutex, include/OpenThreads/ReentrantMutex, - src/OpenThreads/pthreads/PThreadMutex.c++, - src/OpenThreads/sproc/SprocMutex.c++, - src/OpenThreads/win32/Win32Mutex.cpp: Refactored the - ReentrantMutex support so that it utilises the underling thread - implementation for recusive mutex support. +Mon, 25 Nov 2013 17:36:17 +0000 +Checked in by : Robert OSFIELD +Added initial render to texture functionality into osgVolume::VolumeScene -2010-02-18 09:00 robert +Fri, 22 Nov 2013 10:27:15 +0000 +Checked in by : Robert OSFIELD +Warning fixes - * include/osg/ObserverNodePath: Added new setNodePathTo() method +Fri, 22 Nov 2013 09:48:02 +0000 +Checked in by : Robert OSFIELD +From Kristofer Tingdahl, Build fix for svg plugin that makes sure the version of librsvg is at sufficient, and fixed a missing virtual destructor warning. -2010-02-17 10:09 robert +Fri, 22 Nov 2013 09:38:50 +0000 +Checked in by : Robert OSFIELD +Removed trailing spaces, added missing return to last lines - * src/osg/ObserverNodePath.cpp, src/osg/Referenced.cpp: Fixed - double addition of source node when doing - ObserverNodPath::setNodePathTo() - - Fixed comment in Referenced.cpp +Thu, 21 Nov 2013 18:17:44 +0000 +Checked in by : Robert OSFIELD +Added new osgVolume::VolumeScene and osgVolume::MultipassTechnique class shells that will be filled out to provide multi-pass volume rendering that handles mixing of 3D meshes with volume rendering and segmentation of volumes via a user defined hull mesh. -2010-02-16 17:38 robert +Thu, 21 Nov 2013 14:21:55 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "CLang / LLVM on OS X seems to have a problem compiling the osgGA-serializer. (It was reported before on the list, but the error is hard to track as it shows up only sometimes)I fixed the compile-error with a dedicated destructor of osgGA::GUIEventHandler" - * include/osgDB/DatabasePager, - include/osgShadow/ViewDependentShadowTechnique, - include/osgViewer/Scene: Added className() implementation to help - wiht debugging. -2010-02-16 14:05 robert - - * include/osg/observer_ptr: Fixed crash - -2010-02-16 11:10 robert - - * include/osg/observer_ptr: Threads safety fixes based on - suggestions from Tim Moore. - -2010-02-16 08:53 robert - - * src/osgWrappers/introspection/osgAnimation/EaseMotion.cpp: - Updated wrappers - -2010-02-15 23:47 cedricpinson - - * include/osgAnimation/EaseMotion: From Jeremy Moles, add new - EaseMotion and add example osganimationeasemotion to demonstrate - them - -2010-02-15 20:15 robert - - * src/osgWrappers/introspection/osg/NodeTrackerCallback.cpp, - src/osgWrappers/introspection/osg/Observer.cpp, - src/osgWrappers/introspection/osg/ObserverNodePath.cpp, - src/osgWrappers/introspection/osg/Referenced.cpp, - src/osgWrappers/introspection/osg/State.cpp, - src/osgWrappers/introspection/osg/Timer.cpp, - src/osgWrappers/introspection/osg/observer_ptr.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/introspection/osgDB/PluginQuery.cpp, - src/osgWrappers/introspection/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/introspection/osgWidget/Widget.cpp, - src/osgWrappers/introspection/osgWidget/Window.cpp: Upadted - wrappers - -2010-02-15 20:15 robert - - * include/osg/NodeTrackerCallback, include/osgGA/DriveManipulator, - include/osgGA/FlightManipulator, - include/osgGA/NodeTrackerManipulator, - include/osgGA/SphericalManipulator, - include/osgGA/TerrainManipulator, - include/osgGA/TrackballManipulator, include/osgGA/UFOManipulator, - src/osg/NodeTrackerCallback.cpp, - src/osgGA/NodeTrackerManipulator.cpp: Refactor various - NodeTracker and MatrixManipulator classes to use the - osg::ObserverNodePath and osg::oberserver_ptr<> classes - -2010-02-15 20:14 robert - - * include/osg/ObserverNodePath, src/osg/CMakeLists.txt, - src/osg/ObserverNodePath.cpp: Introduced new - osg::ObserverNodePath class that robustly manages a NodePath in a - thread safe manner, - making it easier for users to track a NodePath even when nodes in - the path get deleted. - -2010-02-15 20:12 robert - - * include/osg/Observer, include/osg/Referenced, - include/osg/observer_ptr, src/osg/Referenced.cpp: Refactored the - osg::Observer to introduce a new bool - Observer::objectUnreferenced(void*) method that adds - the extra capability of making it possible for Observers to - assume ownership of a object that would otherwsie be deleted. - - Added a thread safe ref_ptr observer_ptr::lock() method for - robust access to an observed object. This - makes observer_ptr<> more equivilant to boosts weak_ptr. - -2010-02-15 11:36 robert - - * include/osg/Notify: Added osg:: qualifyer to OSG_NOTIFY macro - -2010-02-12 11:45 robert - - * CMakeLists.txt, include/osg/Notify, src/osg/Config.in, - src/osg/Notify.cpp: Introduced OSG_WARN, OSG_NOTICE, OSG_INFO, - OSG_DEBUG convinience macros that map to OSG_NOTIFY(osg::WARN) - etc. - - Introduced the OSG_NOTIFY_DISABLE Cmake variable + - include/osg/Config #define to control whether the OpenSceneGraph - build - should disable the notification system completely. By setting - OSG_NOTIFY_DISABLE to ON in CMake and then rebuilding the - the OSG you can get a slightly smaller (~1%) and more slightly - efficient library which can be good for shipping applications, - but with downside of reduced ability to detect runtime problems - and their causes. - -2010-02-11 11:56 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.h, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h: From Sukender, "- Added - support for extended filenames (=not 8.3) for images: reads - without crashing, optionnally write extended filenames (correctly - truncate names if option is OFF). Write option is OFF by default. - - Improved identifiers generation in duplicate name handling (was - limited to 1000 name collisions, which can be very short for some - usages). - - Set all read/write operations use a custom log function that - will redirect lib3DS log to osg::notify() (was only used for - streams) - - Removed custom code (now uses osgDB::getFilePath()) - - Added missing supportsOption() calls - - Cleaned a few minor things" - -2010-02-11 11:17 robert - - * CMakeLists.txt, src/osg/CMakeLists.txt, src/osgDB/CMakeLists.txt: - From Alberto Luaces, "he new GNU linker, "gold", is going to - replace soon the current ld in - almost all Linux distributions. Although it is 100% compatible - with ld, - by default it gives an error if a library has unresolved symbols - at link - time, that is, it has set -Wl,--no-undefined by default. Debian - folks - have found that libosg.so and libosgDB.so use some functions - belonging - to libdl.so {dlsym,dlopen,dlclose,dlerror} without linking to it. - - My changes link those two libraries to libdl.so explicitly in the - same - way it is already done for libm.so and librt.so." - -2010-02-11 11:13 robert - - * src/osgDB/CMakeLists.txt: From Wang Rui, "Just a minor fix of the - src/osgDB/CMakeLists.txt, change: - - SET(COMPRESSION_LIBRARIES ${ZLIB_LIBRARY}) - ... - LINK_EXTERNAL(${LIB_NAME} ${OSGDB_PLATFORM_SPECIFIC_LIBRARIES}) - - to - - SET(COMPRESSION_LIBRARIES ZLIB_LIBRARY) - ... - LINK_EXTERNAL(${LIB_NAME} ${OSGDB_PLATFORM_SPECIFIC_LIBRARIES} - ${COMPRESSION_LIBRARIES}) - LINK_WITH_VARIABLES(${LIB_NAME} ${COMPRESSION_LIBRARIES}) - - - I notice that the LINK_EXTERNAL macro won't distinguish between - debug - and release dependences, which means that osgDB will use the - release - version of zlib for all build configurations. Under Win32, this - will - cause a manifest problem: all applications using osgDB may - complain - "failed to start because msvcr80.dll was not found" or similar - messages. - - This change will make it back to normal." - -2010-02-11 11:06 robert - - * src/osg/GLBeginEndAdapter.cpp: Fixed the rotation of normals - -2010-02-11 09:13 robert - - * src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp: Added - futher use of readSize/writeSize. - -2010-02-10 19:36 robert - - * src/osgWrappers/serializers/osg/AnimationPath.cpp, - src/osgWrappers/serializers/osg/Billboard.cpp, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/serializers/osg/FragmentProgram.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/LOD.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/Program.cpp, - src/osgWrappers/serializers/osg/Shader.cpp, - src/osgWrappers/serializers/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/TransferFunction1D.cpp, - src/osgWrappers/serializers/osg/VertexProgram.cpp: replaced - reading and writing of std::container.size() using - InputStream::readSize() and OutputStream::writeSize() to make - the type writing more explictly tied to the size type, with use - of unsigned int as the default size. This approach - ensures that we get the same results under 32 and 64bit builds. - -2010-02-10 17:03 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream, - src/osgDB/InputStream.cpp, src/osgDB/OutputStream.cpp: Added - OutputStream::writeSize and InputStream::readSize methods to help - out with ensure that 32bit and 64bit builds all - use the same 32bit type for sizes. - -2010-02-10 16:23 robert - - * include/osgDB/DotOsgWrapper, src/osgDB/DotOsgWrapper.cpp: Fixed - automatic loading of plugins - -2010-02-10 15:18 robert - - * src/osgViewer/PixelBufferWin32.cpp: Changed NOTIFY to OSG_NOTIFY - -2010-02-10 12:48 robert - - * include/osg/Notify: Fixed typo - -2010-02-10 12:44 robert - - * include/osg/Notify, src/osg/BufferObject.cpp, src/osg/Camera.cpp, - src/osg/CullSettings.cpp, src/osg/GL2Extensions.cpp, - src/osg/GLExtensions.cpp, src/osg/GraphicsContext.cpp, - src/osg/OperationThread.cpp, src/osg/State.cpp, src/osg/View.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/DynamicLibrary.cpp, - src/osgDB/FileCache.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Registry.cpp, src/osgGA/DriveManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/Image.cpp, src/osgPlugins/ive/Uniform.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/RenderStage.cpp, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Convert NOTIFY to - OSG_NOTIFY to avoid problems with polution of users apps with the - NOTIFY macro - -2010-02-10 11:21 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Added - pruning of requests that haven't been reissued since the last - frame. - -2010-02-09 19:30 robert - - * src/osgDB/FileCache.cpp: Added enabling of threadsafe ref/unref - in FileCache. - -2010-02-09 18:24 robert - - * src/osg/BufferObject.cpp, src/osg/Camera.cpp, - src/osg/CullSettings.cpp, src/osg/GL2Extensions.cpp, - src/osg/GLExtensions.cpp, src/osg/GraphicsContext.cpp, - src/osg/OperationThread.cpp, src/osg/State.cpp, src/osg/View.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/DynamicLibrary.cpp, - src/osgDB/FileCache.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Registry.cpp, src/osgGA/DriveManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/Image.cpp, src/osgPlugins/ive/Uniform.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/RenderStage.cpp, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/PixelBufferWin32.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Converted osg::notify - usage to NOTIFY - -2010-02-09 17:39 robert - - * include/osg/Notify: Introduced NOTIFY macro to help out with - avoiding using of streams with notification level is below the - user defined cutoff. This addition has been introduced to help - out with avoid threading performance issues with the Microsoft - ostream implementation. - -2010-02-09 17:38 robert - - * include/osg/Timer: Added extra elaspedTime_*() methods to help - with reporting times in milliseconds etc. - -2010-02-04 10:20 robert - - * include/osgDB/ObjectWrapper, src/osgDB/ObjectWrapper.cpp: From - Wang Rui, "I also did a small fix to the ObjectWrapper header, to - add a - OSGDB_EXPORT macro to RegisterCompressorProxy, and modified the - findCompressor() method to look for custom compressors in - libraries - such like osgdb_compressor_name.so, which was described in the - wiki - page chapter 2.4." - -2010-02-03 09:35 robert - - * src/osgDB/ObjectWrapper.cpp: Added #define for GL3 build - -2010-02-03 09:35 robert - - * include/osg/Fog, include/osg/Point, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/ClearNode.cpp: Added #defines for - GL3 build - -2010-02-02 11:16 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/txp/TXPNode.cpp: From Ryan Kawicki, added removal - of TXPArchive from ReaderWriterTXP when the TXPNode destructs to - fix memory consumption issue relating to leaving unused archives - in memory. - -2010-02-02 11:02 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp: Fixed indentation. - -2010-02-01 10:04 robert - - * src/osgPlugins/quicktime/MovieData.cpp: From Serge Lages, build - fix - -2010-01-31 18:24 robert - - * include/osgDB/Serializer, src/osgAnimation/StackedTransform.cpp, - src/osgAnimation/UpdateMatrixTransform.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/UpdateMatrixTransform.cpp: - Build fixes for build without ref_ptr<> automatic type conversion - -2010-01-31 18:23 robert - - * CMakeModules/FindInventor.cmake: From Jan Peciva, improvements to - Inventor find operation - -2010-01-31 12:55 robert - - * src/osgPlugins/Inventor/CMakeLists.txt, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.h, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/GroupSoLOD.cpp, - src/osgPlugins/Inventor/GroupSoLOD.h, - src/osgPlugins/Inventor/PendulumCallback.cpp, - src/osgPlugins/Inventor/README.txt, - src/osgPlugins/Inventor/ReaderWriterIV.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.h, - src/osgPlugins/Inventor/ShuttleCallback.cpp: From Jan Peciva, "I - am sending improved version of Inventor plugin. Attaching just - modified files, while GroupSoLOD.h and .cpp was deleted. Please, - delete - it from repository, it is not used any longer and I doubt if it - is - probably not used for anything meaningful for a while. In the new - code, - there is no GroupSoLOD. Please, delete it. - - I am using new plugin version for about 1.5 month so I consider - it - stable by myself. - - List of changes: - - rewritten Inventor state stack - - shaders support - - light attenuation support - - support for reading from stream (readNode(std::istream& fin, - options)) - - improved grouping node handling (SoSeparator, SoGroup,...) - - fixed transformation bug when two SoShapes/Drawables with - different transformations are placed bellow one grouping node - - introduced preprocessing to handle more advanced usage schemes - of SoLOD and SoSwitch nodes - - unused code clean up - - improved notify messages - - animation callbacks fixes - - FindInventor.cmake improved finding routines, support for Coin3 - and Coin4" - -2010-01-29 17:20 robert - - * include/osgTerrain/GeometryTechnique, - src/osgWrappers/introspection/osgTerrain/GeometryTechnique.cpp: - Changed GeometryTechnique::private to protected, updated wrappers - -2010-01-29 14:55 robert - - * src/osgWidget/Input.cpp: From Trajce Nikolov, bug fixes - -2010-01-29 11:58 robert - - * src/osgWrappers/serializers/osgText/TextBase.cpp: Removed - redudent string; - -2010-01-29 11:35 robert - - * src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp, - src/osgWrappers/serializers/osgText, - src/osgWrappers/serializers/osgText/CMakeLists.txt, - src/osgWrappers/serializers/osgText/FadeText.cpp, - src/osgWrappers/serializers/osgText/Text.cpp, - src/osgWrappers/serializers/osgText/Text3D.cpp, - src/osgWrappers/serializers/osgText/TextBase.cpp: From Wang Rui, - osgText serializers and support for PagedLOD+ProxyNode - -2010-01-28 12:10 robert - - * src/osgWrappers/introspection/osgDB/ObjectWrapper.cpp: Updated - wrappers - -2010-01-28 11:47 robert - - * src/osgWrappers/introspection/osgAnimation/Assert.cpp, - src/osgWrappers/introspection/osgAnimation/FindParentAnimationManagerVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Sampler.cpp, - src/osgWrappers/introspection/osgDB/FileUtils.cpp, - src/osgWrappers/introspection/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/introspection/osgParticle/ParticleSystem.cpp, - src/osgWrappers/introspection/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/introspection/osgWidget/Input.cpp: Updated - wrappers - -2010-01-28 11:44 robert - - * src/osgWrappers/introspection/genwrapper.conf: Fixed typo - -2010-01-28 10:59 robert - - * src/osgPlugins/exr/ReaderWriterEXR.cpp: From Martin Lambers, "Fix - static linking with EXR plugin on MinGW" - -2010-01-28 10:45 robert - - * include/osgDB/FileUtils, src/osgDB/FileUtils.cpp: Fom Sukender, - "Added copyFile() and comments in FileUtils." - - From Robert Osfield, build fix for linux/gcc and reformating to - keep coding style consistent with rest of OSG - -2010-01-28 08:59 robert - - * src/osgWrappers/serializers/osg/AlphaFunc.cpp, - src/osgWrappers/serializers/osg/AnimationPath.cpp, - src/osgWrappers/serializers/osg/AnimationPathCallback.cpp, - src/osgWrappers/serializers/osg/AudioSink.cpp, - src/osgWrappers/serializers/osg/AudioStream.cpp, - src/osgWrappers/serializers/osg/AutoTransform.cpp, - src/osgWrappers/serializers/osg/Billboard.cpp, - src/osgWrappers/serializers/osg/BlendColor.cpp, - src/osgWrappers/serializers/osg/BlendEquation.cpp, - src/osgWrappers/serializers/osg/BlendFunc.cpp, - src/osgWrappers/serializers/osg/Box.cpp, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/CameraView.cpp, - src/osgWrappers/serializers/osg/Capsule.cpp, - src/osgWrappers/serializers/osg/ClampColor.cpp, - src/osgWrappers/serializers/osg/ClearNode.cpp, - src/osgWrappers/serializers/osg/ClipNode.cpp, - src/osgWrappers/serializers/osg/ClipPlane.cpp, - src/osgWrappers/serializers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/serializers/osg/ColorMask.cpp, - src/osgWrappers/serializers/osg/ColorMatrix.cpp, - src/osgWrappers/serializers/osg/CompositeShape.cpp, - src/osgWrappers/serializers/osg/Cone.cpp, - src/osgWrappers/serializers/osg/ConvexHull.cpp, - src/osgWrappers/serializers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/serializers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/serializers/osg/CullFace.cpp, - src/osgWrappers/serializers/osg/Cylinder.cpp, - src/osgWrappers/serializers/osg/Depth.cpp, - src/osgWrappers/serializers/osg/DrawPixels.cpp, - src/osgWrappers/serializers/osg/Drawable.cpp, - src/osgWrappers/serializers/osg/EllipsoidModel.cpp, - src/osgWrappers/serializers/osg/Fog.cpp, - src/osgWrappers/serializers/osg/FragmentProgram.cpp, - src/osgWrappers/serializers/osg/FrontFace.cpp, - src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/Group.cpp, - src/osgWrappers/serializers/osg/HeightField.cpp, - src/osgWrappers/serializers/osg/Hint.cpp, - src/osgWrappers/serializers/osg/Image.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/ImageStream.cpp, - src/osgWrappers/serializers/osg/LOD.cpp, - src/osgWrappers/serializers/osg/Light.cpp, - src/osgWrappers/serializers/osg/LightModel.cpp, - src/osgWrappers/serializers/osg/LightSource.cpp, - src/osgWrappers/serializers/osg/LineStipple.cpp, - src/osgWrappers/serializers/osg/LineWidth.cpp, - src/osgWrappers/serializers/osg/LogicOp.cpp, - src/osgWrappers/serializers/osg/Material.cpp, - src/osgWrappers/serializers/osg/MatrixTransform.cpp, - src/osgWrappers/serializers/osg/Multisample.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/NodeCallback.cpp, - src/osgWrappers/serializers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/OccluderNode.cpp, - src/osgWrappers/serializers/osg/OcclusionQueryNode.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osg/Point.cpp, - src/osgWrappers/serializers/osg/PointSprite.cpp, - src/osgWrappers/serializers/osg/PolygonMode.cpp, - src/osgWrappers/serializers/osg/PolygonOffset.cpp, - src/osgWrappers/serializers/osg/PolygonStipple.cpp, - src/osgWrappers/serializers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/serializers/osg/Program.cpp, - src/osgWrappers/serializers/osg/Projection.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp, - src/osgWrappers/serializers/osg/Scissor.cpp, - src/osgWrappers/serializers/osg/Sequence.cpp, - src/osgWrappers/serializers/osg/ShadeModel.cpp, - src/osgWrappers/serializers/osg/Shader.cpp, - src/osgWrappers/serializers/osg/ShaderBinary.cpp, - src/osgWrappers/serializers/osg/Shape.cpp, - src/osgWrappers/serializers/osg/ShapeDrawable.cpp, - src/osgWrappers/serializers/osg/Sphere.cpp, - src/osgWrappers/serializers/osg/StateAttribute.cpp, - src/osgWrappers/serializers/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/Stencil.cpp, - src/osgWrappers/serializers/osg/StencilTwoSided.cpp, - src/osgWrappers/serializers/osg/Switch.cpp, - src/osgWrappers/serializers/osg/TessellationHints.cpp, - src/osgWrappers/serializers/osg/TexEnv.cpp, - src/osgWrappers/serializers/osg/TexEnvCombine.cpp, - src/osgWrappers/serializers/osg/TexEnvFilter.cpp, - src/osgWrappers/serializers/osg/TexGen.cpp, - src/osgWrappers/serializers/osg/TexGenNode.cpp, - src/osgWrappers/serializers/osg/TexMat.cpp, - src/osgWrappers/serializers/osg/Texture.cpp, - src/osgWrappers/serializers/osg/Texture1D.cpp, - src/osgWrappers/serializers/osg/Texture2D.cpp, - src/osgWrappers/serializers/osg/Texture2DArray.cpp, - src/osgWrappers/serializers/osg/Texture3D.cpp, - src/osgWrappers/serializers/osg/TextureCubeMap.cpp, - src/osgWrappers/serializers/osg/TextureRectangle.cpp, - src/osgWrappers/serializers/osg/TransferFunction.cpp, - src/osgWrappers/serializers/osg/TransferFunction1D.cpp, - src/osgWrappers/serializers/osg/Transform.cpp, - src/osgWrappers/serializers/osg/TriangleMesh.cpp, - src/osgWrappers/serializers/osg/Uniform.cpp, - src/osgWrappers/serializers/osg/VertexProgram.cpp, - src/osgWrappers/serializers/osg/Viewport.cpp: Added files back in - with the execution bit correctly disabled. - -2010-01-28 08:58 robert - - * src/osgWrappers/serializers/osg/AlphaFunc.cpp, - src/osgWrappers/serializers/osg/AnimationPath.cpp, - src/osgWrappers/serializers/osg/AnimationPathCallback.cpp, - src/osgWrappers/serializers/osg/AudioSink.cpp, - src/osgWrappers/serializers/osg/AudioStream.cpp, - src/osgWrappers/serializers/osg/AutoTransform.cpp, - src/osgWrappers/serializers/osg/Billboard.cpp, - src/osgWrappers/serializers/osg/BlendColor.cpp, - src/osgWrappers/serializers/osg/BlendEquation.cpp, - src/osgWrappers/serializers/osg/BlendFunc.cpp, - src/osgWrappers/serializers/osg/Box.cpp, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/CameraView.cpp, - src/osgWrappers/serializers/osg/Capsule.cpp, - src/osgWrappers/serializers/osg/ClampColor.cpp, - src/osgWrappers/serializers/osg/ClearNode.cpp, - src/osgWrappers/serializers/osg/ClipNode.cpp, - src/osgWrappers/serializers/osg/ClipPlane.cpp, - src/osgWrappers/serializers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/serializers/osg/ColorMask.cpp, - src/osgWrappers/serializers/osg/ColorMatrix.cpp, - src/osgWrappers/serializers/osg/CompositeShape.cpp, - src/osgWrappers/serializers/osg/Cone.cpp, - src/osgWrappers/serializers/osg/ConvexHull.cpp, - src/osgWrappers/serializers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/serializers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/serializers/osg/CullFace.cpp, - src/osgWrappers/serializers/osg/Cylinder.cpp, - src/osgWrappers/serializers/osg/Depth.cpp, - src/osgWrappers/serializers/osg/DrawPixels.cpp, - src/osgWrappers/serializers/osg/Drawable.cpp, - src/osgWrappers/serializers/osg/EllipsoidModel.cpp, - src/osgWrappers/serializers/osg/Fog.cpp, - src/osgWrappers/serializers/osg/FragmentProgram.cpp, - src/osgWrappers/serializers/osg/FrontFace.cpp, - src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/Group.cpp, - src/osgWrappers/serializers/osg/HeightField.cpp, - src/osgWrappers/serializers/osg/Hint.cpp, - src/osgWrappers/serializers/osg/Image.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/ImageStream.cpp, - src/osgWrappers/serializers/osg/LOD.cpp, - src/osgWrappers/serializers/osg/Light.cpp, - src/osgWrappers/serializers/osg/LightModel.cpp, - src/osgWrappers/serializers/osg/LightSource.cpp, - src/osgWrappers/serializers/osg/LineStipple.cpp, - src/osgWrappers/serializers/osg/LineWidth.cpp, - src/osgWrappers/serializers/osg/LogicOp.cpp, - src/osgWrappers/serializers/osg/Material.cpp, - src/osgWrappers/serializers/osg/MatrixTransform.cpp, - src/osgWrappers/serializers/osg/Multisample.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/NodeCallback.cpp, - src/osgWrappers/serializers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/OccluderNode.cpp, - src/osgWrappers/serializers/osg/OcclusionQueryNode.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osg/Point.cpp, - src/osgWrappers/serializers/osg/PointSprite.cpp, - src/osgWrappers/serializers/osg/PolygonMode.cpp, - src/osgWrappers/serializers/osg/PolygonOffset.cpp, - src/osgWrappers/serializers/osg/PolygonStipple.cpp, - src/osgWrappers/serializers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/serializers/osg/Program.cpp, - src/osgWrappers/serializers/osg/Projection.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp, - src/osgWrappers/serializers/osg/Scissor.cpp, - src/osgWrappers/serializers/osg/Sequence.cpp, - src/osgWrappers/serializers/osg/ShadeModel.cpp, - src/osgWrappers/serializers/osg/Shader.cpp, - src/osgWrappers/serializers/osg/ShaderBinary.cpp, - src/osgWrappers/serializers/osg/Shape.cpp, - src/osgWrappers/serializers/osg/ShapeDrawable.cpp, - src/osgWrappers/serializers/osg/Sphere.cpp, - src/osgWrappers/serializers/osg/StateAttribute.cpp, - src/osgWrappers/serializers/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/Stencil.cpp, - src/osgWrappers/serializers/osg/StencilTwoSided.cpp, - src/osgWrappers/serializers/osg/Switch.cpp, - src/osgWrappers/serializers/osg/TessellationHints.cpp, - src/osgWrappers/serializers/osg/TexEnv.cpp, - src/osgWrappers/serializers/osg/TexEnvCombine.cpp, - src/osgWrappers/serializers/osg/TexEnvFilter.cpp, - src/osgWrappers/serializers/osg/TexGen.cpp, - src/osgWrappers/serializers/osg/TexGenNode.cpp, - src/osgWrappers/serializers/osg/TexMat.cpp, - src/osgWrappers/serializers/osg/Texture.cpp, - src/osgWrappers/serializers/osg/Texture1D.cpp, - src/osgWrappers/serializers/osg/Texture2D.cpp, - src/osgWrappers/serializers/osg/Texture2DArray.cpp, - src/osgWrappers/serializers/osg/Texture3D.cpp, - src/osgWrappers/serializers/osg/TextureCubeMap.cpp, - src/osgWrappers/serializers/osg/TextureRectangle.cpp, - src/osgWrappers/serializers/osg/TransferFunction.cpp, - src/osgWrappers/serializers/osg/TransferFunction1D.cpp, - src/osgWrappers/serializers/osg/Transform.cpp, - src/osgWrappers/serializers/osg/TriangleMesh.cpp, - src/osgWrappers/serializers/osg/Uniform.cpp, - src/osgWrappers/serializers/osg/VertexProgram.cpp, - src/osgWrappers/serializers/osg/Viewport.cpp: Removed files as - they all have the incorrectly have the execution bit enabled, - will add back in with this fixed. - -2010-01-28 08:53 robert - - * src/osgWrappers/serializers/osgParticle, - src/osgWrappers/serializers/osgParticle/AccelOperator.cpp, - src/osgWrappers/serializers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/serializers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/serializers/osgParticle/CMakeLists.txt, - src/osgWrappers/serializers/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/serializers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/serializers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/serializers/osgParticle/Counter.cpp, - src/osgWrappers/serializers/osgParticle/Emitter.cpp, - src/osgWrappers/serializers/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/serializers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/serializers/osgParticle/FireEffect.cpp, - src/osgWrappers/serializers/osgParticle/FluidFrictionOperator.cpp, - src/osgWrappers/serializers/osgParticle/FluidProgram.cpp, - src/osgWrappers/serializers/osgParticle/ForceOperator.cpp, - src/osgWrappers/serializers/osgParticle/Interpolator.cpp, - src/osgWrappers/serializers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/serializers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/serializers/osgParticle/ModularProgram.cpp, - src/osgWrappers/serializers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/serializers/osgParticle/Operator.cpp, - src/osgWrappers/serializers/osgParticle/Particle.cpp, - src/osgWrappers/serializers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/serializers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/serializers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/serializers/osgParticle/Placer.cpp, - src/osgWrappers/serializers/osgParticle/PointPlacer.cpp, - src/osgWrappers/serializers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/serializers/osgParticle/Program.cpp, - src/osgWrappers/serializers/osgParticle/RadialShooter.cpp, - src/osgWrappers/serializers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/serializers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/serializers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/serializers/osgParticle/Shooter.cpp, - src/osgWrappers/serializers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/serializers/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/serializers/osgParticle/VariableRateCounter.cpp: - From Wang Rui, added osgParticle serializers - -2010-01-27 17:12 robert - - * src/osgPlugins/quicktime/MovieData.cpp: From Serge Lages, "Here - is a fix for the Quicktime plugin, with the previous version, the - size for some videos was not correct, using GetMovieBoundsRgn - instead of GetMovieBox returns the real movie size. - " - -2010-01-27 17:09 robert - - * include/osgDB/InputStream, include/osgDB/OutputStream, - include/osgDB/Serializer, include/osgDB/StreamOperator, - include/osgParticle/ParticleProcessor, - include/osgParticle/ParticleSystem, - include/osgParticle/PrecipitationEffect, - src/osgDB/InputStream.cpp, src/osgDB/ObjectWrapper.cpp, - src/osgDB/OutputStream.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osg/BlendFunc.cpp, - src/osgWrappers/serializers/osg/Drawable.cpp, - src/osgWrappers/serializers/osg/HeightField.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/TextureCubeMap.cpp: From Wang - Rui, "Changes: - - 1. Rewrite the reading/writing exception handlers to work like - the ive - plugin exceptions. - 2. Write a header writing/checking function in - ReaderWriterOSG2.cpp, - which may help decide if the stream is ascii or binary. The - readInputIterator() function will return null pointer if the - input - file is nither osgb nor osgt format, which indicates that the old - .osg - format could be used here, in case we've merged the two plugins - together. - 3. Add a new ForceReadingImage option in the InputStream, which - will - allocate an empty image object with the filename if specifed - external - image file is missed. It may be useful for format converting in - some - cases. - 4. Add new osgParticle wrappers, as well as some modification to - the - osgParticle headers, for instance, change isEnabled() to - getEnabled(). - 5. Some fixes to the osg serialization wrappers." - -2010-01-27 16:31 robert - - * include/osgWidget/Input, src/osgWidget/Input.cpp: From Trajce - Nikolov, improvements to osgWidget::Input including selection - support - -2010-01-27 15:53 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2010-01-27 15:37 cedricpinson - - * include/osgAnimation/Assert, - include/osgAnimation/FindParentAnimationManagerVisitor, - include/osgAnimation/VertexInfluence, - src/osgAnimation/CMakeLists.txt, - src/osgAnimation/FindParentAnimationManagerVisitor.cpp, - src/osgAnimation/RigTransformSoftware.cpp: From Cedric Pinson, - remove unused file, fix crash for old files - -2010-01-27 15:00 robert - - * src/osgWrappers/introspection/genwrapper.conf, - src/osgWrappers/introspection/osgAnimation/Channel.cpp, - src/osgWrappers/introspection/osgAnimation/Interpolator.cpp, - src/osgWrappers/introspection/osgAnimation/Keyframe.cpp, - src/osgWrappers/introspection/osgAnimation/Sampler.cpp, - src/osgWrappers/introspection/osgAnimation/StackedTransform.cpp, - src/osgWrappers/introspection/osgAnimation/Target.cpp: Updated - wrappers - -2010-01-27 13:12 robert - - * src/osgWrappers/introspection/osgAnimation/AnimationUpdateCallback.cpp, - src/osgWrappers/introspection/osgAnimation/StackedMatrixElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedQuaternionElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedRotateAxisElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedScaleElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedTransform.cpp, - src/osgWrappers/introspection/osgAnimation/StackedTransformElement.cpp, - src/osgWrappers/introspection/osgAnimation/StackedTranslateElement.cpp, - src/osgWrappers/introspection/osgAnimation/UpdateBone.cpp, - src/osgWrappers/introspection/osgAnimation/UpdateMaterial.cpp, - src/osgWrappers/introspection/osgAnimation/UpdateMatrixTransform.cpp: - Updated wrappers - -2010-01-27 13:12 robert - - * src/osgWrappers/introspection/osgAnimation/Bone.cpp, - src/osgWrappers/introspection/osgAnimation/BoneMapVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Channel.cpp, - src/osgWrappers/introspection/osgAnimation/ComputeBindMatrixVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Interpolator.cpp, - src/osgWrappers/introspection/osgAnimation/Keyframe.cpp, - src/osgWrappers/introspection/osgAnimation/RigGeometry.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransform.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransformHardware.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransformSoftware.cpp, - src/osgWrappers/introspection/osgAnimation/Sampler.cpp, - src/osgWrappers/introspection/osgAnimation/Skeleton.cpp, - src/osgWrappers/introspection/osgAnimation/Target.cpp, - src/osgWrappers/introspection/osgAnimation/UpdateCallback.cpp: - Updated wrappers - -2010-01-27 12:24 robert - - * examples/osganimationhardware/osganimationhardware.cpp, - examples/osganimationskinning/osganimationskinning.cpp, - examples/osganimationsolid/osganimationsolid.cpp, - include/osgAnimation/AnimationUpdateCallback, - include/osgAnimation/Bone, include/osgAnimation/BoneMapVisitor, - include/osgAnimation/Channel, - include/osgAnimation/ComputeBindMatrixVisitor, - include/osgAnimation/CubicBezier, - include/osgAnimation/EaseMotion, - include/osgAnimation/Interpolator, include/osgAnimation/Keyframe, - include/osgAnimation/MorphGeometry, - include/osgAnimation/RigGeometry, - include/osgAnimation/RigTransform, - include/osgAnimation/RigTransformHardware, - include/osgAnimation/RigTransformSoftware, - include/osgAnimation/Sampler, include/osgAnimation/Skeleton, - include/osgAnimation/StackedMatrixElement, - include/osgAnimation/StackedQuaternionElement, - include/osgAnimation/StackedRotateAxisElement, - include/osgAnimation/StackedScaleElement, - include/osgAnimation/StackedTransform, - include/osgAnimation/StackedTransformElement, - include/osgAnimation/StackedTranslateElement, - include/osgAnimation/Target, include/osgAnimation/UpdateBone, - include/osgAnimation/UpdateCallback, - include/osgAnimation/UpdateMaterial, - include/osgAnimation/UpdateMatrixTransform, - src/osgAnimation/Action.cpp, src/osgAnimation/Animation.cpp, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/BasicAnimationManager.cpp, - src/osgAnimation/Bone.cpp, src/osgAnimation/BoneMapVisitor.cpp, - src/osgAnimation/CMakeLists.txt, - src/osgAnimation/LinkVisitor.cpp, - src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/RigGeometry.cpp, - src/osgAnimation/RigTransformHardware.cpp, - src/osgAnimation/RigTransformSoftware.cpp, - src/osgAnimation/Skeleton.cpp, - src/osgAnimation/StackedMatrixElement.cpp, - src/osgAnimation/StackedQuaternionElement.cpp, - src/osgAnimation/StackedRotateAxisElement.cpp, - src/osgAnimation/StackedScaleElement.cpp, - src/osgAnimation/StackedTransform.cpp, - src/osgAnimation/StackedTranslateElement.cpp, - src/osgAnimation/StatsHandler.cpp, src/osgAnimation/Timeline.cpp, - src/osgAnimation/UpdateBone.cpp, - src/osgAnimation/UpdateCallback.cpp, - src/osgAnimation/UpdateMaterial.cpp, - src/osgAnimation/UpdateMatrixTransform.cpp, - src/osgAnimation/VertexInfluence.cpp, - src/osgPlugins/bvh/ReaderWriterBVH.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgAnimation/Matrix.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/Matrix.h, - src/osgWrappers/deprecated-dotosg/osgAnimation/ReaderWriter.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/StackedTransform.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/UpdateMaterial.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation/UpdateMatrixTransform.cpp: - From Cedric Pinson, "Here a list of changes: - Bone now inherit from MatrixTransform. It simplify a lot the - update of - Bone matrix. It helps to have the bone system more generic. eg - it's now - possible to have animation data with precomputed bind matrix. The - other - benefit, is now the collada plugin will be able to use - osgAnimation to - display skinned mesh. Michael Plating did a great work to improve - this - aspect, he is working on the collada plugin and should be able to - submit - a new version soon. - The RigGeometry has been refactored so now it works when you save - and - reload RigGeometry because the source is not touched anymore. The - benefit with this update is that it should be now possible to use - a - MorphGeometry as source for a RigGeometry. - - The bad news is that the format has changed, so i have rebuild - osg-data - related to osgAnimation data, updated the blender exporter to - export to - the new format. - The fbx plugin could be touched about this commit, i dont compile - it so - i can't give more information about it. - The bvh plugin has been updated by Wang rui so this one is fixed - with - the new code of osgAnimation. - The examples has been updated to work with the new code too... - - The example osg-data/example.osg should be remove, it's an old - example - that does not work. - - For people using blender the blender exporter up to date is here: - http://hg.plopbyte.net/osgexport2/ - it will be merge to http://hg.plopbyte.net/osgexport/ as soon as - the - modification will be push in the trunk. - " - -2010-01-26 17:07 robert - - * src/osgWrappers/introspection/osgWidget/Input.cpp: Updated - wrappers - -2010-01-26 17:04 robert - - * src/osgViewer/PixelBufferWin32.cpp, - src/osgViewer/PixelBufferX11.cpp: From Laurens Voerman, "Wile - working with pbuffers I noticed that the Win32 implementation - uses the attribute WGL_PBUFFER_LARGEST_ARB. - - > quote from - http://www.opengl.org/registry/specs/ARB/wgl_pbuffer.txt - > The following attributes are supported by wglCreatePbufferARB: - > - > WGL_PBUFFER_LARGEST_ARB If this attribute is set to a - > non-zero value, the largest - > available pbuffer is allocated - > when the allocation of the pbuffer - > would otherwise fail due to - > insufficient resources. The width - > or height of the allocated pbuffer - > never exceeds and , - > respectively. Use wglQueryPbufferARB - > to retrieve the dimensions of the - > allocated pbuffer. - - It notifies the user when the size is not as requested, but I - could find no way for the program to detect this. I've added two - lines to write the new size back into the _traits, I think this - is appropriate, but I am not absolutely sure. - - In PixelBufferX11 was no support, so I've added - GLX_LARGEST_PBUFFER(_SGIX) support, with the same writeback to - the _trais. - - - I have tested the GLX_LARGEST_PBUFFER version on linux and the - WGL_PBUFFER_LARGEST_ARB with windows, all tested with the - modified autocapture I just submitted. - - - "autocapture --pbuffer --window 100 100 18192 18192 - cow.osg.\[0,0,-22.7\].trans" - gives me a 4096x4096 image on my windows machine, - and a 8192x8192 image on linux." - -2010-01-26 16:59 robert - - * include/osgWidget/Input, src/osgWidget/Input.cpp: From Trajce - Nikolov, various improvements of the workings of - osgWidget::Input. - -2010-01-26 16:50 robert - - * include/osg/ImageUtils: From Juan Hernando, fixed typo in - handling of RGBA and BGRA data - -2010-01-26 16:48 robert - - * examples/osgautocapture/osgautocapture.cpp: Added .get() to fix - build - -2010-01-26 16:41 robert - - * src/osgWrappers/introspection/osgViewer/View.cpp: Updated - wrappers - -2010-01-26 16:30 robert - - * include/osgDB/Serializer, - src/osgWrappers/serializers/osg/StateSet.cpp: From Tony Horrobin, - "This fix just makes a couple of calls to ref_ptr<>::get() to - satisfy the compiler. - - The changes make the build successful under Windows 7/VC2005 and - Ubuntu 9.10 with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set - to OFF. - " - -2010-01-26 15:37 robert - - * examples/osgQtBrowser/CMakeLists.txt: From Laurence Muller, - "attached the CMakeList.txt to fix the issue described in: - http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2010-January/037792.html - - Issue: - osgQtBrowser fails to compile because it can not find the QTCore - header files - - Fix: - Add the QT_QTCORE_INCLUDE_DIR to the CMakeList.txt file - - Patch: - ...\OpenSceneGraphSVN\examples\osgQtBrowser\CMakeLists.txt - change (line 17): INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} ) - to (line 17): INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR} - ${QT_QTCORE_INCLUDE_DIR}) - " - -2010-01-26 15:08 robert - - * include/osgViewer/View, src/osgViewer/View.cpp: From Jan Peciva, - "I am sending one more improvement (separately from Inventor - plugin). - I found very useful to have a control whether - osgView::setCameraManipulator does or does not reset camera to - home position. - - I extended method signature as follows: - void setCameraManipulator(osgGA::MatrixManipulator* manipulator, - bool resetPosition = true); - - keeping the current usage intact (default parameter), while - enabling user to disable the position reset. That can be useful - in the situation when manipulator position was already loaded, - for example from a file (user specification), or defined any - other way, while we do not want to be reset to home position. - Other usability is usage of two manipulators in a modeling - program (orbiting around the model, walking on the model) and - changing between them while we want to preserve the position of a - camera in the change. Games may benefit from it as well when we - change from user-defined helicopter manipulator to soldier - manipulator because the user escaped the helicopter. The camera - will change manipulator but the position is expected to be kept - in the transition (provided that user makes the state transition - between the two manipulators himself). - " - -2010-01-26 14:57 robert - - * include/osgViewer/View, src/osgViewer/View.cpp: Removal of - redundant spaces at ends of lines - -2010-01-26 14:54 robert - - * src/osgWrappers/introspection/osg/KdTree.cpp: updated wrappers - -2010-01-26 13:05 robert - - * include/osg/KdTree, src/osg/KdTree.cpp: From Lars Nilsson, - "Attached is a small program doing intersection calculations, - both with and without KdTree. The geometry is a TRIANGLE_STRIP - consisting of five vertices, all with the same rather high - Z-value. If the intersection calculation uses KdTree, it fails. - When I changed osg::Vec3 to osg::Vec3d in a few places in - osg::KdTree it finds the correct intersection point." - - From Robert Osfield, I didn't merge the change of parameter type - of IntersectKdTree::intersect() as the internal maths is all done - in Vec3s. Keeping Vec3 here hasn't effected the test results. - -2010-01-26 11:37 robert - - * examples/osgautocapture/osgautocapture.cpp: From Laurens - Voerman,"ttached is a updated version for - examples\osgautocapture\osgautocapture.cpp - - -fixed a bug with --active command line option not rendering - -added --pbuffer command line option - -changed very confusing #ifdef 0 - -added OSG_GLES GL_RGB readPixels support if available - (UNTESTED)" - -2010-01-26 11:16 robert - - * src/osgUtil/SceneView.cpp: From Laurens Voerman, "I've removed an - underscore in - OpenSceneGraph/src/osgUtil/SceneView.cpp - introduced in svn - 10915 (5 Jan 2010): "Added support for call root Camera - CullCallbacks" - - - - It causes a segfault in osgViewer based apps on our linux system - (OSG_STEREO=ON OSG_STEREO_MODE=QUAD_BUFFER) - - Problem does not show when OSG_STEREO=OFF. - - - < 976 else _cullVisitor->traverse(*_camera); - > 976 else cullVisitor->traverse(*_camera); - - Looks like a typo, and removing the _ does fix the problem." - -2010-01-26 10:37 robert - - * include/osgDB/DotOsgWrapper: Changed doxygen comments to signal - deprecation of this old IO classes - -2010-01-25 18:08 robert - - * include/osgDB/DotOsgWrapper: Removed inapprorpiate OSGDB_EXPORT - -2010-01-25 17:07 robert - - * include/osgDB/DotOsgWrapper, include/osgDB/Registry, - src/osgDB/DotOsgWrapper.cpp, src/osgDB/Input.cpp, - src/osgDB/Output.cpp, src/osgDB/Registry.cpp, - src/osgWrappers/introspection/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/introspection/osgDB/Registry.cpp: Refactored the - DotOsgWrapper support in osgDB::Registry so it's now provided by - the osgDB::DeprecatedDotOsgWrapperManager. - -2010-01-25 15:25 robert - - * src/osgWrappers/introspection/genwrapper.conf, - src/osgWrappers/introspection/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/introspection/osgDB/Input.cpp, - src/osgWrappers/introspection/osgDB/Registry.cpp, - src/osgWrappers/introspection/osgUtil/SceneView.cpp: Updated - wrappers - -2010-01-25 15:24 robert - - * include/osgDB/Field, include/osgDB/FieldReader, - include/osgDB/FieldReaderIterator, include/osgDB/Input, - include/osgDB/Output, include/osgWidget/StyleManager, - src/osgDB/CMakeLists.txt, src/osgDB/Field.cpp, - src/osgDB/FieldReader.cpp, src/osgDB/FieldReaderIterator.cpp: - Moved the declaration of osgDB::Field, FieldReader and - FieldReaderIterator into include/osg/Input to centralise all the - deprecated .osg parsing code into one place. - -2010-01-25 12:48 robert - - * src/osgWrappers/introspection/osgDB/Field.cpp, - src/osgWrappers/introspection/osgDB/FieldReader.cpp, - src/osgWrappers/introspection/osgDB/FieldReaderIterator.cpp: - Removed deprecated classes - -2010-01-25 11:40 robert - - * include/osgDB/StreamOperator: Added back in StreamOperation with - executation bit disabled - -2010-01-25 11:39 robert - - * include/osgDB/StreamOperator: Temporily removed StreamOperation - as it had execution bit enable for it. - -2010-01-25 11:03 robert - - * include/osgDB/DataTypes, include/osgDB/InputStream, - include/osgDB/ObjectWrapper, include/osgDB/OutputStream, - include/osgDB/Serializer, include/osgDB/StreamOperator, - src/osgDB/CMakeLists.txt, src/osgDB/InputStream.cpp, - src/osgDB/OutputStream.cpp, - src/osgPlugins/osg/AsciiStreamOperator.h, - src/osgPlugins/osg/BinaryStreamOperator.h, - src/osgPlugins/osg/ReaderWriterOSG2.cpp: From Wang Rui, - refactored the InputStream/OutputStream operations so that the - binar/ascii foramts are implemented via subclasses. - -2010-01-22 20:47 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Added - RequestQueue destructor and DatabaseRequest::invalidate() and - valid() methods to allow the - destruction of RequestQueue to remove any pointers held in - DatabaseRequest attached to the scene graph, and to - prevent their subsequent use in cases where the scene graph is - attached to a new DatabasePager. - -2010-01-22 20:35 robert - - * src/osg/BufferObject.cpp: Seting the notifcation level of debug - message to INFO. - -2010-01-22 16:13 robert - - * src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.cpp: Reverted fixes for - Mingw as they break OSX build - -2010-01-22 15:16 robert - - * include/osgDB/ObjectWrapper, include/osgDB/Registry, - src/osgDB/InputStream.cpp, src/osgDB/ObjectWrapper.cpp, - src/osgDB/OutputStream.cpp, src/osgDB/Registry.cpp: Renamed - ObjectRegistry to ObjectWrapperManager, and replaced it's - instance() method usage with assigning a ObjectWrapperManager - to the osgDB::Registry. Added a - osgDB::Registry::getObjectWrapperManager() for access of this - object wrapper manager. This - change centralises the singleton management in osgDB. - - Merged the osgDB::GlobalLookUpTable functionality into - ObjectWrapperManger to keep down the number of singletons in use. - -2010-01-21 16:26 robert - - * include/osgDB/ObjectWrapper, src/osgDB/ObjectWrapper.cpp: Added - extra export for windows build - -2010-01-21 16:07 robert - - * src/osgDB/ObjectWrapper.cpp: Added extra includes to bring in - their local definitions of OpenGL enums that don't exist across - all GL versions - -2010-01-21 13:17 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2010-01-21 10:24 robert - - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp, - src/osgViewer/Renderer.cpp: Added support for passing on slave - Camera's StateSet's to the rendering backend. - -2010-01-21 09:25 robert - - * include/osgDB/DotOsgWrapper, include/osgDB/InputStream, - include/osgDB/ObjectWrapper, include/osgDB/OutputStream: From - Wang Rui, added exports for windows build - -2010-01-20 20:13 robert - - * include/osgDB/DataTypes, include/osgDB/DotOsgWrapper, - include/osgDB/InputStream, include/osgDB/ObjectWrapper, - include/osgDB/OutputStream, include/osgDB/Registry, - include/osgDB/Serializer, src/CMakeLists.txt, - src/osgDB/CMakeLists.txt, src/osgDB/Compressors.cpp, - src/osgDB/DotOsgWrapper.cpp, src/osgDB/InputStream.cpp, - src/osgDB/ObjectWrapper.cpp, src/osgDB/OutputStream.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/osg/CMakeLists.txt, - src/osgPlugins/osg/ReaderWriterOSG2.cpp, - src/osgWrappers/serializers/CMakeLists.txt, - src/osgWrappers/serializers/osg/AlphaFunc.cpp, - src/osgWrappers/serializers/osg/AnimationPath.cpp, - src/osgWrappers/serializers/osg/AnimationPathCallback.cpp, - src/osgWrappers/serializers/osg/AudioSink.cpp, - src/osgWrappers/serializers/osg/AudioStream.cpp, - src/osgWrappers/serializers/osg/AutoTransform.cpp, - src/osgWrappers/serializers/osg/Billboard.cpp, - src/osgWrappers/serializers/osg/BlendColor.cpp, - src/osgWrappers/serializers/osg/BlendEquation.cpp, - src/osgWrappers/serializers/osg/BlendFunc.cpp, - src/osgWrappers/serializers/osg/Box.cpp, - src/osgWrappers/serializers/osg/CMakeLists.txt, - src/osgWrappers/serializers/osg/Camera.cpp, - src/osgWrappers/serializers/osg/CameraView.cpp, - src/osgWrappers/serializers/osg/Capsule.cpp, - src/osgWrappers/serializers/osg/ClampColor.cpp, - src/osgWrappers/serializers/osg/ClearNode.cpp, - src/osgWrappers/serializers/osg/ClipNode.cpp, - src/osgWrappers/serializers/osg/ClipPlane.cpp, - src/osgWrappers/serializers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/serializers/osg/ColorMask.cpp, - src/osgWrappers/serializers/osg/ColorMatrix.cpp, - src/osgWrappers/serializers/osg/CompositeShape.cpp, - src/osgWrappers/serializers/osg/Cone.cpp, - src/osgWrappers/serializers/osg/ConvexHull.cpp, - src/osgWrappers/serializers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/serializers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/serializers/osg/CullFace.cpp, - src/osgWrappers/serializers/osg/Cylinder.cpp, - src/osgWrappers/serializers/osg/Depth.cpp, - src/osgWrappers/serializers/osg/DrawPixels.cpp, - src/osgWrappers/serializers/osg/Drawable.cpp, - src/osgWrappers/serializers/osg/EllipsoidModel.cpp, - src/osgWrappers/serializers/osg/Fog.cpp, - src/osgWrappers/serializers/osg/FragmentProgram.cpp, - src/osgWrappers/serializers/osg/FrontFace.cpp, - src/osgWrappers/serializers/osg/Geode.cpp, - src/osgWrappers/serializers/osg/Geometry.cpp, - src/osgWrappers/serializers/osg/Group.cpp, - src/osgWrappers/serializers/osg/HeightField.cpp, - src/osgWrappers/serializers/osg/Hint.cpp, - src/osgWrappers/serializers/osg/Image.cpp, - src/osgWrappers/serializers/osg/ImageSequence.cpp, - src/osgWrappers/serializers/osg/ImageStream.cpp, - src/osgWrappers/serializers/osg/LOD.cpp, - src/osgWrappers/serializers/osg/Light.cpp, - src/osgWrappers/serializers/osg/LightModel.cpp, - src/osgWrappers/serializers/osg/LightSource.cpp, - src/osgWrappers/serializers/osg/LineStipple.cpp, - src/osgWrappers/serializers/osg/LineWidth.cpp, - src/osgWrappers/serializers/osg/LogicOp.cpp, - src/osgWrappers/serializers/osg/Material.cpp, - src/osgWrappers/serializers/osg/MatrixTransform.cpp, - src/osgWrappers/serializers/osg/Multisample.cpp, - src/osgWrappers/serializers/osg/Node.cpp, - src/osgWrappers/serializers/osg/NodeCallback.cpp, - src/osgWrappers/serializers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/serializers/osg/Object.cpp, - src/osgWrappers/serializers/osg/OccluderNode.cpp, - src/osgWrappers/serializers/osg/OcclusionQueryNode.cpp, - src/osgWrappers/serializers/osg/PagedLOD.cpp, - src/osgWrappers/serializers/osg/Point.cpp, - src/osgWrappers/serializers/osg/PointSprite.cpp, - src/osgWrappers/serializers/osg/PolygonMode.cpp, - src/osgWrappers/serializers/osg/PolygonOffset.cpp, - src/osgWrappers/serializers/osg/PolygonStipple.cpp, - src/osgWrappers/serializers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/serializers/osg/Program.cpp, - src/osgWrappers/serializers/osg/Projection.cpp, - src/osgWrappers/serializers/osg/ProxyNode.cpp, - src/osgWrappers/serializers/osg/Scissor.cpp, - src/osgWrappers/serializers/osg/Sequence.cpp, - src/osgWrappers/serializers/osg/ShadeModel.cpp, - src/osgWrappers/serializers/osg/Shader.cpp, - src/osgWrappers/serializers/osg/ShaderBinary.cpp, - src/osgWrappers/serializers/osg/Shape.cpp, - src/osgWrappers/serializers/osg/ShapeDrawable.cpp, - src/osgWrappers/serializers/osg/Sphere.cpp, - src/osgWrappers/serializers/osg/StateAttribute.cpp, - src/osgWrappers/serializers/osg/StateSet.cpp, - src/osgWrappers/serializers/osg/Stencil.cpp, - src/osgWrappers/serializers/osg/StencilTwoSided.cpp, - src/osgWrappers/serializers/osg/Switch.cpp, - src/osgWrappers/serializers/osg/TessellationHints.cpp, - src/osgWrappers/serializers/osg/TexEnv.cpp, - src/osgWrappers/serializers/osg/TexEnvCombine.cpp, - src/osgWrappers/serializers/osg/TexEnvFilter.cpp, - src/osgWrappers/serializers/osg/TexGen.cpp, - src/osgWrappers/serializers/osg/TexGenNode.cpp, - src/osgWrappers/serializers/osg/TexMat.cpp, - src/osgWrappers/serializers/osg/Texture.cpp, - src/osgWrappers/serializers/osg/Texture1D.cpp, - src/osgWrappers/serializers/osg/Texture2D.cpp, - src/osgWrappers/serializers/osg/Texture2DArray.cpp, - src/osgWrappers/serializers/osg/Texture3D.cpp, - src/osgWrappers/serializers/osg/TextureCubeMap.cpp, - src/osgWrappers/serializers/osg/TextureRectangle.cpp, - src/osgWrappers/serializers/osg/TransferFunction.cpp, - src/osgWrappers/serializers/osg/TransferFunction1D.cpp, - src/osgWrappers/serializers/osg/Transform.cpp, - src/osgWrappers/serializers/osg/TriangleMesh.cpp, - src/osgWrappers/serializers/osg/Uniform.cpp, - src/osgWrappers/serializers/osg/VertexProgram.cpp, - src/osgWrappers/serializers/osg/Viewport.cpp: From Wang Rui, new - native binary/ascii format infrastructure and wrappers. - - From Robert Osfield, refactor of Wang Rui's original osg2 into 3 - parts - parts placed into osgDB, the ReaderWriter placed into - src/osg/Plugin/osg and wrappers into - src/osgWrappers/serializers/osg - -2010-01-20 10:35 robert - - * src/osgWrappers/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osg/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgAnimation/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgFX/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgParticle/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgShadow/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgSim/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgTerrain/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgText/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgViewer/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgVolume/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgWidget/CMakeLists.txt, - src/osgWrappers/serializers, src/osgWrappers/serializers/osg: - Introduced file globbing to deprecated-dotosg directories and - added new serializers direcotory in prep for new serializers - -2010-01-19 13:31 robert - - * src/osgWrappers/deprecated-dotosg/osg/AnimationPath.cpp, - src/osgWrappers/deprecated-dotosg/osg/TransferFunction.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_AnisotropicLighting.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_BumpMapping.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_Cartoon.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_Effect.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_MultiTextureControl.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_Outline.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_Scribe.cpp, - src/osgWrappers/deprecated-dotosg/osgFX/IO_SpecularHighlights.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_AccelOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_AngularAccelOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_BoxPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_CenteredPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ConnectedParticleSystem.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ConstantRateCounter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_Emitter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ExplosionDebrisEffect.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ExplosionEffect.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_FireEffect.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_FluidFrictionOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_FluidProgram.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ForceOperator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_LinearInterpolator.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ModularEmitter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ModularProgram.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_MultiSegmentPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleEffect.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleProcessor.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleSystem.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_ParticleSystemUpdater.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_PointPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_Program.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_RadialShooter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_RandomRateCounter.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_SectorPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_SegmentPlacer.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_SmokeEffect.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_SmokeTrailEffect.cpp, - src/osgWrappers/deprecated-dotosg/osgParticle/IO_VariableRateCounter.cpp, - src/osgWrappers/deprecated-dotosg/osgShadow/ShadowMap.cpp, - src/osgWrappers/deprecated-dotosg/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/deprecated-dotosg/osgShadow/ShadowTexture.cpp, - src/osgWrappers/deprecated-dotosg/osgShadow/ShadowVolume.cpp, - src/osgWrappers/deprecated-dotosg/osgShadow/ShadowedScene.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_BlinkSequence.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_DOFTransform.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_Impostor.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_LightPointNode.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_MultiSwitch.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_ObjectRecordData.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_OverlayNode.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_Sector.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_ShapeAttribute.cpp, - src/osgWrappers/deprecated-dotosg/osgSim/IO_VisibilityGroup.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/CompositeLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/HeightFieldLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/ImageLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Layer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/Locator.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/SwitchLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgTerrain/TerrainTile.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_Text.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_Text3D.cpp, - src/osgWrappers/deprecated-dotosg/osgText/IO_TextBase.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/CompositeViewer.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/View.cpp, - src/osgWrappers/deprecated-dotosg/osgViewer/Viewer.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/CompositeProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/ImageLayer.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Layer.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Locator.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Property.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/PropertyAdjustmentCallback.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/ScalarProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/SwitchProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/TransferFunctionProperty.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/Volume.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume/VolumeTile.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Box.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/EmbeddedWindow.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Frame.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Input.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Label.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Table.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/Widget.cpp, - src/osgWrappers/deprecated-dotosg/osgWidget/WindowManager.cpp: - Replaced osgDB::RegisterDotOsgWrapperProxy usage with - REGISTER_DOTOSGWRAPPER proxy to aid static linking - -2010-01-19 12:36 robert - - * src/osgWrappers/deprecated-dotosg/CMakeLists.txt: Added - CmakeList.txt for new wrapper plugins - -2010-01-19 12:26 robert - - * src/osgDB/Registry.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/osg/AlphaFunc.cpp, - src/osgPlugins/osg/AnimationPath.cpp, - src/osgPlugins/osg/AutoTransform.cpp, - src/osgPlugins/osg/Billboard.cpp, - src/osgPlugins/osg/BlendColor.cpp, - src/osgPlugins/osg/BlendEquation.cpp, - src/osgPlugins/osg/BlendFunc.cpp, src/osgPlugins/osg/Box.cpp, - src/osgPlugins/osg/CMakeLists.txt, src/osgPlugins/osg/Camera.cpp, - src/osgPlugins/osg/CameraView.cpp, - src/osgPlugins/osg/Capsule.cpp, src/osgPlugins/osg/ClearNode.cpp, - src/osgPlugins/osg/ClipNode.cpp, - src/osgPlugins/osg/ClipPlane.cpp, - src/osgPlugins/osg/ClusterCullingCallback.cpp, - src/osgPlugins/osg/ColorMask.cpp, - src/osgPlugins/osg/ColorMatrix.cpp, - src/osgPlugins/osg/CompositeShape.cpp, - src/osgPlugins/osg/Cone.cpp, - src/osgPlugins/osg/ConvexPlanarOccluder.cpp, - src/osgPlugins/osg/CoordinateSystemNode.cpp, - src/osgPlugins/osg/CullFace.cpp, src/osgPlugins/osg/Cylinder.cpp, - src/osgPlugins/osg/Depth.cpp, src/osgPlugins/osg/Drawable.cpp, - src/osgPlugins/osg/EllipsoidModel.cpp, - src/osgPlugins/osg/Fog.cpp, - src/osgPlugins/osg/FragmentProgram.cpp, - src/osgPlugins/osg/FrontFace.cpp, src/osgPlugins/osg/Geode.cpp, - src/osgPlugins/osg/Geometry.cpp, src/osgPlugins/osg/Group.cpp, - src/osgPlugins/osg/HeightField.cpp, src/osgPlugins/osg/Image.cpp, - src/osgPlugins/osg/ImageSequence.cpp, src/osgPlugins/osg/LOD.cpp, - src/osgPlugins/osg/Light.cpp, src/osgPlugins/osg/LightModel.cpp, - src/osgPlugins/osg/LightSource.cpp, - src/osgPlugins/osg/LineStipple.cpp, - src/osgPlugins/osg/LineWidth.cpp, - src/osgPlugins/osg/Material.cpp, src/osgPlugins/osg/Matrix.cpp, - src/osgPlugins/osg/Matrix.h, - src/osgPlugins/osg/MatrixTransform.cpp, - src/osgPlugins/osg/Node.cpp, src/osgPlugins/osg/NodeCallback.cpp, - src/osgPlugins/osg/Object.cpp, - src/osgPlugins/osg/OccluderNode.cpp, - src/osgPlugins/osg/OcclusionQueryNode.cpp, - src/osgPlugins/osg/PagedLOD.cpp, src/osgPlugins/osg/Point.cpp, - src/osgPlugins/osg/PointSprite.cpp, - src/osgPlugins/osg/PolygonMode.cpp, - src/osgPlugins/osg/PolygonOffset.cpp, - src/osgPlugins/osg/PositionAttitudeTransform.cpp, - src/osgPlugins/osg/Program.cpp, - src/osgPlugins/osg/Projection.cpp, - src/osgPlugins/osg/ProxyNode.cpp, src/osgPlugins/osg/README, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/Scissor.cpp, src/osgPlugins/osg/Sequence.cpp, - src/osgPlugins/osg/ShadeModel.cpp, src/osgPlugins/osg/Shader.cpp, - src/osgPlugins/osg/ShapeDrawable.cpp, - src/osgPlugins/osg/Sphere.cpp, - src/osgPlugins/osg/StateAttribute.cpp, - src/osgPlugins/osg/StateSet.cpp, src/osgPlugins/osg/Stencil.cpp, - src/osgPlugins/osg/Switch.cpp, - src/osgPlugins/osg/TessellationHints.cpp, - src/osgPlugins/osg/TexEnv.cpp, - src/osgPlugins/osg/TexEnvCombine.cpp, - src/osgPlugins/osg/TexEnvFilter.cpp, - src/osgPlugins/osg/TexGen.cpp, src/osgPlugins/osg/TexGenNode.cpp, - src/osgPlugins/osg/TexMat.cpp, src/osgPlugins/osg/Texture.cpp, - src/osgPlugins/osg/Texture1D.cpp, - src/osgPlugins/osg/Texture2D.cpp, - src/osgPlugins/osg/Texture3D.cpp, - src/osgPlugins/osg/TextureCubeMap.cpp, - src/osgPlugins/osg/TextureRectangle.cpp, - src/osgPlugins/osg/TransferFunction.cpp, - src/osgPlugins/osg/Transform.cpp, src/osgPlugins/osg/Uniform.cpp, - src/osgPlugins/osg/VertexProgram.cpp, - src/osgPlugins/osg/Viewport.cpp, src/osgPlugins/osgAnimation, - src/osgPlugins/osgFX, src/osgPlugins/osgParticle, - src/osgPlugins/osgShadow, src/osgPlugins/osgSim, - src/osgPlugins/osgTerrain, src/osgPlugins/osgText, - src/osgPlugins/osgViewer, src/osgPlugins/osgVolume, - src/osgPlugins/osgWidget, src/osgPlugins/shadow, - src/osgPlugins/shadow/CMakeLists.txt, - src/osgPlugins/shadow/ReaderWriterOsgShadow.cpp, - src/osgPlugins/terrain, src/osgPlugins/terrain/CMakeLists.txt, - src/osgPlugins/terrain/CompositeLayer.cpp, - src/osgPlugins/terrain/GeometryTechnique.cpp, - src/osgPlugins/terrain/HeightFieldLayer.cpp, - src/osgPlugins/terrain/ImageLayer.cpp, - src/osgPlugins/terrain/Layer.cpp, - src/osgPlugins/terrain/Locator.cpp, - src/osgPlugins/terrain/SwitchLayer.cpp, - src/osgPlugins/terrain/Terrain.cpp, - src/osgPlugins/terrain/TerrainTile.cpp, src/osgPlugins/view, - src/osgPlugins/view/CMakeLists.txt, - src/osgPlugins/view/CompositeViewer.cpp, - src/osgPlugins/view/View.cpp, src/osgPlugins/view/Viewer.cpp, - src/osgWrappers/deprecated-dotosg/osgAnimation, - src/osgWrappers/deprecated-dotosg/osgFX, - src/osgWrappers/deprecated-dotosg/osgParticle, - src/osgWrappers/deprecated-dotosg/osgShadow, - src/osgWrappers/deprecated-dotosg/osgShadow/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgShadow/ReaderWriterOsgShadow.cpp, - src/osgWrappers/deprecated-dotosg/osgSim, - src/osgWrappers/deprecated-dotosg/osgTerrain, - src/osgWrappers/deprecated-dotosg/osgTerrain/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgTerrain/ReaderWriterOsgTerrain.cpp, - src/osgWrappers/deprecated-dotosg/osgText, - src/osgWrappers/deprecated-dotosg/osgViewer, - src/osgWrappers/deprecated-dotosg/osgViewer/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osgViewer/ReaderWriterOsgViewer.cpp, - src/osgWrappers/deprecated-dotosg/osgVolume, - src/osgWrappers/deprecated-dotosg/osgWidget: Refactored the old - style .osg plugin support so that the DotOsgWrappers are placed - in their own dedicated plugins found in - src/osgWrappers/deprecated_osg - -2010-01-19 12:24 robert - - * CMakeLists.txt: Inserted /introspection/ into path of - osgIntrospection wrappers - -2010-01-19 10:31 robert - - * src/CMakeLists.txt, src/osgWrappers/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg, - src/osgWrappers/deprecated-dotosg/osg, - src/osgWrappers/deprecated-dotosg/osg/AlphaFunc.cpp, - src/osgWrappers/deprecated-dotosg/osg/AnimationPath.cpp, - src/osgWrappers/deprecated-dotosg/osg/AutoTransform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Billboard.cpp, - src/osgWrappers/deprecated-dotosg/osg/BlendColor.cpp, - src/osgWrappers/deprecated-dotosg/osg/BlendEquation.cpp, - src/osgWrappers/deprecated-dotosg/osg/BlendFunc.cpp, - src/osgWrappers/deprecated-dotosg/osg/Box.cpp, - src/osgWrappers/deprecated-dotosg/osg/CMakeLists.txt, - src/osgWrappers/deprecated-dotosg/osg/Camera.cpp, - src/osgWrappers/deprecated-dotosg/osg/CameraView.cpp, - src/osgWrappers/deprecated-dotosg/osg/Capsule.cpp, - src/osgWrappers/deprecated-dotosg/osg/ClearNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/ClipNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/ClipPlane.cpp, - src/osgWrappers/deprecated-dotosg/osg/ClusterCullingCallback.cpp, - src/osgWrappers/deprecated-dotosg/osg/ColorMask.cpp, - src/osgWrappers/deprecated-dotosg/osg/ColorMatrix.cpp, - src/osgWrappers/deprecated-dotosg/osg/CompositeShape.cpp, - src/osgWrappers/deprecated-dotosg/osg/Cone.cpp, - src/osgWrappers/deprecated-dotosg/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/deprecated-dotosg/osg/CoordinateSystemNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/CullFace.cpp, - src/osgWrappers/deprecated-dotosg/osg/Cylinder.cpp, - src/osgWrappers/deprecated-dotosg/osg/Depth.cpp, - src/osgWrappers/deprecated-dotosg/osg/Drawable.cpp, - src/osgWrappers/deprecated-dotosg/osg/EllipsoidModel.cpp, - src/osgWrappers/deprecated-dotosg/osg/Fog.cpp, - src/osgWrappers/deprecated-dotosg/osg/FragmentProgram.cpp, - src/osgWrappers/deprecated-dotosg/osg/FrontFace.cpp, - src/osgWrappers/deprecated-dotosg/osg/Geode.cpp, - src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp, - src/osgWrappers/deprecated-dotosg/osg/Group.cpp, - src/osgWrappers/deprecated-dotosg/osg/HeightField.cpp, - src/osgWrappers/deprecated-dotosg/osg/Image.cpp, - src/osgWrappers/deprecated-dotosg/osg/ImageSequence.cpp, - src/osgWrappers/deprecated-dotosg/osg/LOD.cpp, - src/osgWrappers/deprecated-dotosg/osg/Light.cpp, - src/osgWrappers/deprecated-dotosg/osg/LightModel.cpp, - src/osgWrappers/deprecated-dotosg/osg/LightSource.cpp, - src/osgWrappers/deprecated-dotosg/osg/LineStipple.cpp, - src/osgWrappers/deprecated-dotosg/osg/LineWidth.cpp, - src/osgWrappers/deprecated-dotosg/osg/Material.cpp, - src/osgWrappers/deprecated-dotosg/osg/Matrix.cpp, - src/osgWrappers/deprecated-dotosg/osg/Matrix.h, - src/osgWrappers/deprecated-dotosg/osg/MatrixTransform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Node.cpp, - src/osgWrappers/deprecated-dotosg/osg/NodeCallback.cpp, - src/osgWrappers/deprecated-dotosg/osg/Object.cpp, - src/osgWrappers/deprecated-dotosg/osg/OccluderNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/OcclusionQueryNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/PagedLOD.cpp, - src/osgWrappers/deprecated-dotosg/osg/Point.cpp, - src/osgWrappers/deprecated-dotosg/osg/PointSprite.cpp, - src/osgWrappers/deprecated-dotosg/osg/PolygonMode.cpp, - src/osgWrappers/deprecated-dotosg/osg/PolygonOffset.cpp, - src/osgWrappers/deprecated-dotosg/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Program.cpp, - src/osgWrappers/deprecated-dotosg/osg/Projection.cpp, - src/osgWrappers/deprecated-dotosg/osg/ProxyNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/Scissor.cpp, - src/osgWrappers/deprecated-dotosg/osg/Sequence.cpp, - src/osgWrappers/deprecated-dotosg/osg/ShadeModel.cpp, - src/osgWrappers/deprecated-dotosg/osg/Shader.cpp, - src/osgWrappers/deprecated-dotosg/osg/ShapeDrawable.cpp, - src/osgWrappers/deprecated-dotosg/osg/Sphere.cpp, - src/osgWrappers/deprecated-dotosg/osg/StateAttribute.cpp, - src/osgWrappers/deprecated-dotosg/osg/StateSet.cpp, - src/osgWrappers/deprecated-dotosg/osg/Stencil.cpp, - src/osgWrappers/deprecated-dotosg/osg/Switch.cpp, - src/osgWrappers/deprecated-dotosg/osg/TessellationHints.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexEnv.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexEnvCombine.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexEnvFilter.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexGen.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexGenNode.cpp, - src/osgWrappers/deprecated-dotosg/osg/TexMat.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture1D.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture2D.cpp, - src/osgWrappers/deprecated-dotosg/osg/Texture3D.cpp, - src/osgWrappers/deprecated-dotosg/osg/TextureCubeMap.cpp, - src/osgWrappers/deprecated-dotosg/osg/TextureRectangle.cpp, - src/osgWrappers/deprecated-dotosg/osg/TransferFunction.cpp, - src/osgWrappers/deprecated-dotosg/osg/Transform.cpp, - src/osgWrappers/deprecated-dotosg/osg/Uniform.cpp, - src/osgWrappers/deprecated-dotosg/osg/VertexProgram.cpp, - src/osgWrappers/deprecated-dotosg/osg/Viewport.cpp: Added - deprecated-dot/osg directory from the contents of the - src/osgPlugins/osg and CMakeLists.txt in prep for creating the - plugin mechanism for .osg support - -2010-01-19 09:54 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode projects - -2010-01-18 20:49 robert - - * src/osgWrappers/CMakeLists.txt: Added introspection directory - -2010-01-18 19:56 robert - - * src/osgWrappers/introspection/CMakeLists.txt, - src/osgWrappers/introspection/OpenThreads, - src/osgWrappers/introspection/OpenThreads/Atomic.cpp, - src/osgWrappers/introspection/OpenThreads/Barrier.cpp, - src/osgWrappers/introspection/OpenThreads/Block.cpp, - src/osgWrappers/introspection/OpenThreads/Condition.cpp, - src/osgWrappers/introspection/OpenThreads/Mutex.cpp, - src/osgWrappers/introspection/OpenThreads/ReadWriteMutex.cpp, - src/osgWrappers/introspection/OpenThreads/ReentrantMutex.cpp, - src/osgWrappers/introspection/OpenThreads/Thread.cpp, - src/osgWrappers/introspection/osg, - src/osgWrappers/introspection/osg/AlphaFunc.cpp, - src/osgWrappers/introspection/osg/AnimationPath.cpp, - src/osgWrappers/introspection/osg/ApplicationUsage.cpp, - src/osgWrappers/introspection/osg/ArgumentParser.cpp, - src/osgWrappers/introspection/osg/Array.cpp, - src/osgWrappers/introspection/osg/ArrayDispatchers.cpp, - src/osgWrappers/introspection/osg/AudioStream.cpp, - src/osgWrappers/introspection/osg/AutoTransform.cpp, - src/osgWrappers/introspection/osg/Billboard.cpp, - src/osgWrappers/introspection/osg/BlendColor.cpp, - src/osgWrappers/introspection/osg/BlendEquation.cpp, - src/osgWrappers/introspection/osg/BlendFunc.cpp, - src/osgWrappers/introspection/osg/BoundingBox.cpp, - src/osgWrappers/introspection/osg/BoundingSphere.cpp, - src/osgWrappers/introspection/osg/BufferObject.cpp, - src/osgWrappers/introspection/osg/Camera.cpp, - src/osgWrappers/introspection/osg/CameraNode.cpp, - src/osgWrappers/introspection/osg/CameraView.cpp, - src/osgWrappers/introspection/osg/ClampColor.cpp, - src/osgWrappers/introspection/osg/ClearNode.cpp, - src/osgWrappers/introspection/osg/ClipNode.cpp, - src/osgWrappers/introspection/osg/ClipPlane.cpp, - src/osgWrappers/introspection/osg/ClusterCullingCallback.cpp, - src/osgWrappers/introspection/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/introspection/osg/ColorMask.cpp, - src/osgWrappers/introspection/osg/ColorMatrix.cpp, - src/osgWrappers/introspection/osg/ComputeBoundsVisitor.cpp, - src/osgWrappers/introspection/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/introspection/osg/ConvexPlanarPolygon.cpp, - src/osgWrappers/introspection/osg/CoordinateSystemNode.cpp, - src/osgWrappers/introspection/osg/CopyOp.cpp, - src/osgWrappers/introspection/osg/CullFace.cpp, - src/osgWrappers/introspection/osg/CullSettings.cpp, - src/osgWrappers/introspection/osg/CullStack.cpp, - src/osgWrappers/introspection/osg/CullingSet.cpp, - src/osgWrappers/introspection/osg/DeleteHandler.cpp, - src/osgWrappers/introspection/osg/Depth.cpp, - src/osgWrappers/introspection/osg/DisplaySettings.cpp, - src/osgWrappers/introspection/osg/DrawPixels.cpp, - src/osgWrappers/introspection/osg/Drawable.cpp, - src/osgWrappers/introspection/osg/Endian.cpp, - src/osgWrappers/introspection/osg/Fog.cpp, - src/osgWrappers/introspection/osg/FragmentProgram.cpp, - src/osgWrappers/introspection/osg/FrameBufferObject.cpp, - src/osgWrappers/introspection/osg/FrameStamp.cpp, - src/osgWrappers/introspection/osg/FrontFace.cpp, - src/osgWrappers/introspection/osg/GL2Extensions.cpp, - src/osgWrappers/introspection/osg/GLBeginEndAdapter.cpp, - src/osgWrappers/introspection/osg/Geode.cpp, - src/osgWrappers/introspection/osg/Geometry.cpp, - src/osgWrappers/introspection/osg/GraphicsContext.cpp, - src/osgWrappers/introspection/osg/GraphicsThread.cpp, - src/osgWrappers/introspection/osg/Group.cpp, - src/osgWrappers/introspection/osg/Hint.cpp, - src/osgWrappers/introspection/osg/Image.cpp, - src/osgWrappers/introspection/osg/ImageSequence.cpp, - src/osgWrappers/introspection/osg/ImageStream.cpp, - src/osgWrappers/introspection/osg/KdTree.cpp, - src/osgWrappers/introspection/osg/LOD.cpp, - src/osgWrappers/introspection/osg/Light.cpp, - src/osgWrappers/introspection/osg/LightModel.cpp, - src/osgWrappers/introspection/osg/LightSource.cpp, - src/osgWrappers/introspection/osg/LineSegment.cpp, - src/osgWrappers/introspection/osg/LineStipple.cpp, - src/osgWrappers/introspection/osg/LineWidth.cpp, - src/osgWrappers/introspection/osg/LogicOp.cpp, - src/osgWrappers/introspection/osg/Material.cpp, - src/osgWrappers/introspection/osg/Matrix.cpp, - src/osgWrappers/introspection/osg/MatrixTransform.cpp, - src/osgWrappers/introspection/osg/Matrixd.cpp, - src/osgWrappers/introspection/osg/Matrixf.cpp, - src/osgWrappers/introspection/osg/Multisample.cpp, - src/osgWrappers/introspection/osg/Node.cpp, - src/osgWrappers/introspection/osg/NodeCallback.cpp, - src/osgWrappers/introspection/osg/NodeTrackerCallback.cpp, - src/osgWrappers/introspection/osg/NodeVisitor.cpp, - src/osgWrappers/introspection/osg/Notify.cpp, - src/osgWrappers/introspection/osg/Object.cpp, - src/osgWrappers/introspection/osg/OccluderNode.cpp, - src/osgWrappers/introspection/osg/OcclusionQueryNode.cpp, - src/osgWrappers/introspection/osg/OperationThread.cpp, - src/osgWrappers/introspection/osg/PagedLOD.cpp, - src/osgWrappers/introspection/osg/Plane.cpp, - src/osgWrappers/introspection/osg/Point.cpp, - src/osgWrappers/introspection/osg/PointSprite.cpp, - src/osgWrappers/introspection/osg/PolygonMode.cpp, - src/osgWrappers/introspection/osg/PolygonOffset.cpp, - src/osgWrappers/introspection/osg/PolygonStipple.cpp, - src/osgWrappers/introspection/osg/Polytope.cpp, - src/osgWrappers/introspection/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/introspection/osg/PrimitiveSet.cpp, - src/osgWrappers/introspection/osg/Program.cpp, - src/osgWrappers/introspection/osg/Projection.cpp, - src/osgWrappers/introspection/osg/ProxyNode.cpp, - src/osgWrappers/introspection/osg/Quat.cpp, - src/osgWrappers/introspection/osg/Referenced.cpp, - src/osgWrappers/introspection/osg/RenderInfo.cpp, - src/osgWrappers/introspection/osg/Scissor.cpp, - src/osgWrappers/introspection/osg/Sequence.cpp, - src/osgWrappers/introspection/osg/ShadeModel.cpp, - src/osgWrappers/introspection/osg/Shader.cpp, - src/osgWrappers/introspection/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/introspection/osg/Shape.cpp, - src/osgWrappers/introspection/osg/ShapeDrawable.cpp, - src/osgWrappers/introspection/osg/State.cpp, - src/osgWrappers/introspection/osg/StateAttribute.cpp, - src/osgWrappers/introspection/osg/StateAttributeCallback.cpp, - src/osgWrappers/introspection/osg/StateSet.cpp, - src/osgWrappers/introspection/osg/Stats.cpp, - src/osgWrappers/introspection/osg/Stencil.cpp, - src/osgWrappers/introspection/osg/StencilTwoSided.cpp, - src/osgWrappers/introspection/osg/Switch.cpp, - src/osgWrappers/introspection/osg/TexEnv.cpp, - src/osgWrappers/introspection/osg/TexEnvCombine.cpp, - src/osgWrappers/introspection/osg/TexEnvFilter.cpp, - src/osgWrappers/introspection/osg/TexGen.cpp, - src/osgWrappers/introspection/osg/TexGenNode.cpp, - src/osgWrappers/introspection/osg/TexMat.cpp, - src/osgWrappers/introspection/osg/Texture.cpp, - src/osgWrappers/introspection/osg/Texture1D.cpp, - src/osgWrappers/introspection/osg/Texture2D.cpp, - src/osgWrappers/introspection/osg/Texture2DArray.cpp, - src/osgWrappers/introspection/osg/Texture3D.cpp, - src/osgWrappers/introspection/osg/TextureCubeMap.cpp, - src/osgWrappers/introspection/osg/TextureRectangle.cpp, - src/osgWrappers/introspection/osg/Timer.cpp, - src/osgWrappers/introspection/osg/TransferFunction.cpp, - src/osgWrappers/introspection/osg/Transform.cpp, - src/osgWrappers/introspection/osg/Uniform.cpp, - src/osgWrappers/introspection/osg/Vec2.cpp, - src/osgWrappers/introspection/osg/Vec2b.cpp, - src/osgWrappers/introspection/osg/Vec2d.cpp, - src/osgWrappers/introspection/osg/Vec2f.cpp, - src/osgWrappers/introspection/osg/Vec2s.cpp, - src/osgWrappers/introspection/osg/Vec3.cpp, - src/osgWrappers/introspection/osg/Vec3b.cpp, - src/osgWrappers/introspection/osg/Vec3d.cpp, - src/osgWrappers/introspection/osg/Vec3f.cpp, - src/osgWrappers/introspection/osg/Vec3s.cpp, - src/osgWrappers/introspection/osg/Vec4.cpp, - src/osgWrappers/introspection/osg/Vec4b.cpp, - src/osgWrappers/introspection/osg/Vec4d.cpp, - src/osgWrappers/introspection/osg/Vec4f.cpp, - src/osgWrappers/introspection/osg/Vec4s.cpp, - src/osgWrappers/introspection/osg/Vec4ub.cpp, - src/osgWrappers/introspection/osg/VertexProgram.cpp, - src/osgWrappers/introspection/osg/View.cpp, - src/osgWrappers/introspection/osg/Viewport.cpp, - src/osgWrappers/introspection/osg/observer_ptr.cpp, - src/osgWrappers/introspection/osgAnimation, - src/osgWrappers/introspection/osgAnimation/Action.cpp, - src/osgWrappers/introspection/osgAnimation/ActionAnimation.cpp, - src/osgWrappers/introspection/osgAnimation/ActionBlendIn.cpp, - src/osgWrappers/introspection/osgAnimation/ActionBlendOut.cpp, - src/osgWrappers/introspection/osgAnimation/ActionCallback.cpp, - src/osgWrappers/introspection/osgAnimation/ActionStripAnimation.cpp, - src/osgWrappers/introspection/osgAnimation/ActionVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Animation.cpp, - src/osgWrappers/introspection/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/introspection/osgAnimation/Assert.cpp, - src/osgWrappers/introspection/osgAnimation/BasicAnimationManager.cpp, - src/osgWrappers/introspection/osgAnimation/Bone.cpp, - src/osgWrappers/introspection/osgAnimation/BoneMapVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Channel.cpp, - src/osgWrappers/introspection/osgAnimation/ComputeBindMatrixVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/CubicBezier.cpp, - src/osgWrappers/introspection/osgAnimation/EaseMotion.cpp, - src/osgWrappers/introspection/osgAnimation/FindParentAnimationManagerVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/FrameAction.cpp, - src/osgWrappers/introspection/osgAnimation/Interpolator.cpp, - src/osgWrappers/introspection/osgAnimation/Keyframe.cpp, - src/osgWrappers/introspection/osgAnimation/LinkVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/introspection/osgAnimation/RigGeometry.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransform.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransformHardware.cpp, - src/osgWrappers/introspection/osgAnimation/RigTransformSoftware.cpp, - src/osgWrappers/introspection/osgAnimation/Sampler.cpp, - src/osgWrappers/introspection/osgAnimation/Skeleton.cpp, - src/osgWrappers/introspection/osgAnimation/StatsHandler.cpp, - src/osgWrappers/introspection/osgAnimation/StatsVisitor.cpp, - src/osgWrappers/introspection/osgAnimation/Target.cpp, - src/osgWrappers/introspection/osgAnimation/Timeline.cpp, - src/osgWrappers/introspection/osgAnimation/TimelineAnimationManager.cpp, - src/osgWrappers/introspection/osgAnimation/UpdateCallback.cpp, - src/osgWrappers/introspection/osgAnimation/Vec3Packed.cpp, - src/osgWrappers/introspection/osgAnimation/VertexInfluence.cpp, - src/osgWrappers/introspection/osgDB, - src/osgWrappers/introspection/osgDB/Archive.cpp, - src/osgWrappers/introspection/osgDB/AuthenticationMap.cpp, - src/osgWrappers/introspection/osgDB/Callbacks.cpp, - src/osgWrappers/introspection/osgDB/DatabasePager.cpp, - src/osgWrappers/introspection/osgDB/DatabaseRevisions.cpp, - src/osgWrappers/introspection/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/introspection/osgDB/DynamicLibrary.cpp, - src/osgWrappers/introspection/osgDB/Field.cpp, - src/osgWrappers/introspection/osgDB/FieldReader.cpp, - src/osgWrappers/introspection/osgDB/FieldReaderIterator.cpp, - src/osgWrappers/introspection/osgDB/FileCache.cpp, - src/osgWrappers/introspection/osgDB/FileUtils.cpp, - src/osgWrappers/introspection/osgDB/ImageOptions.cpp, - src/osgWrappers/introspection/osgDB/ImagePager.cpp, - src/osgWrappers/introspection/osgDB/Input.cpp, - src/osgWrappers/introspection/osgDB/Options.cpp, - src/osgWrappers/introspection/osgDB/Output.cpp, - src/osgWrappers/introspection/osgDB/ParameterOutput.cpp, - src/osgWrappers/introspection/osgDB/PluginQuery.cpp, - src/osgWrappers/introspection/osgDB/ReaderWriter.cpp, - src/osgWrappers/introspection/osgDB/Registry.cpp, - src/osgWrappers/introspection/osgDB/SharedStateManager.cpp, - src/osgWrappers/introspection/osgDB/XmlParser.cpp, - src/osgWrappers/introspection/osgFX, - src/osgWrappers/introspection/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/introspection/osgFX/BumpMapping.cpp, - src/osgWrappers/introspection/osgFX/Cartoon.cpp, - src/osgWrappers/introspection/osgFX/Effect.cpp, - src/osgWrappers/introspection/osgFX/MultiTextureControl.cpp, - src/osgWrappers/introspection/osgFX/Outline.cpp, - src/osgWrappers/introspection/osgFX/Registry.cpp, - src/osgWrappers/introspection/osgFX/Scribe.cpp, - src/osgWrappers/introspection/osgFX/SpecularHighlights.cpp, - src/osgWrappers/introspection/osgFX/Technique.cpp, - src/osgWrappers/introspection/osgFX/Validator.cpp, - src/osgWrappers/introspection/osgGA, - src/osgWrappers/introspection/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/introspection/osgGA/CameraViewSwitchManipulator.cpp, - src/osgWrappers/introspection/osgGA/DriveManipulator.cpp, - src/osgWrappers/introspection/osgGA/EventQueue.cpp, - src/osgWrappers/introspection/osgGA/EventVisitor.cpp, - src/osgWrappers/introspection/osgGA/FlightManipulator.cpp, - src/osgWrappers/introspection/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/introspection/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/introspection/osgGA/GUIEventHandler.cpp, - src/osgWrappers/introspection/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/introspection/osgGA/MatrixManipulator.cpp, - src/osgWrappers/introspection/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/introspection/osgGA/SphericalManipulator.cpp, - src/osgWrappers/introspection/osgGA/StateSetManipulator.cpp, - src/osgWrappers/introspection/osgGA/TerrainManipulator.cpp, - src/osgWrappers/introspection/osgGA/TrackballManipulator.cpp, - src/osgWrappers/introspection/osgGA/UFOManipulator.cpp, - src/osgWrappers/introspection/osgManipulator, - src/osgWrappers/introspection/osgManipulator/AntiSquish.cpp, - src/osgWrappers/introspection/osgManipulator/Command.cpp, - src/osgWrappers/introspection/osgManipulator/CommandManager.cpp, - src/osgWrappers/introspection/osgManipulator/Constraint.cpp, - src/osgWrappers/introspection/osgManipulator/Dragger.cpp, - src/osgWrappers/introspection/osgManipulator/Projector.cpp, - src/osgWrappers/introspection/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/introspection/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Selection.cpp, - src/osgWrappers/introspection/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabBoxTrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/introspection/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/introspection/osgParticle, - src/osgWrappers/introspection/osgParticle/AccelOperator.cpp, - src/osgWrappers/introspection/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/introspection/osgParticle/BoxPlacer.cpp, - src/osgWrappers/introspection/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/introspection/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/introspection/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/introspection/osgParticle/Counter.cpp, - src/osgWrappers/introspection/osgParticle/Emitter.cpp, - src/osgWrappers/introspection/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/introspection/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/introspection/osgParticle/FireEffect.cpp, - src/osgWrappers/introspection/osgParticle/ForceOperator.cpp, - src/osgWrappers/introspection/osgParticle/Interpolator.cpp, - src/osgWrappers/introspection/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/introspection/osgParticle/ModularEmitter.cpp, - src/osgWrappers/introspection/osgParticle/ModularProgram.cpp, - src/osgWrappers/introspection/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/introspection/osgParticle/Operator.cpp, - src/osgWrappers/introspection/osgParticle/Particle.cpp, - src/osgWrappers/introspection/osgParticle/ParticleEffect.cpp, - src/osgWrappers/introspection/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/introspection/osgParticle/ParticleSystem.cpp, - src/osgWrappers/introspection/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/introspection/osgParticle/Placer.cpp, - src/osgWrappers/introspection/osgParticle/PointPlacer.cpp, - src/osgWrappers/introspection/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/introspection/osgParticle/Program.cpp, - src/osgWrappers/introspection/osgParticle/RadialShooter.cpp, - src/osgWrappers/introspection/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/introspection/osgParticle/SectorPlacer.cpp, - src/osgWrappers/introspection/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/introspection/osgParticle/Shooter.cpp, - src/osgWrappers/introspection/osgParticle/SmokeEffect.cpp, - src/osgWrappers/introspection/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/introspection/osgParticle/VariableRateCounter.cpp, - src/osgWrappers/introspection/osgParticle/range.cpp, - src/osgWrappers/introspection/osgPresentation, - src/osgWrappers/introspection/osgPresentation/AnimationMaterial.cpp, - src/osgWrappers/introspection/osgPresentation/CompileSlideCallback.cpp, - src/osgWrappers/introspection/osgPresentation/PickEventHandler.cpp, - src/osgWrappers/introspection/osgPresentation/SlideEventHandler.cpp, - src/osgWrappers/introspection/osgPresentation/SlideShowConstructor.cpp, - src/osgWrappers/introspection/osgShadow, - src/osgWrappers/introspection/osgShadow/ConvexPolyhedron.cpp, - src/osgWrappers/introspection/osgShadow/DebugShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/MinimalShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/introspection/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/ShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/introspection/osgShadow/ShadowTexture.cpp, - src/osgWrappers/introspection/osgShadow/ShadowVolume.cpp, - src/osgWrappers/introspection/osgShadow/ShadowedScene.cpp, - src/osgWrappers/introspection/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/StandardShadowMap.cpp, - src/osgWrappers/introspection/osgShadow/ViewDependentShadowTechnique.cpp, - src/osgWrappers/introspection/osgSim, - src/osgWrappers/introspection/osgSim/BlinkSequence.cpp, - src/osgWrappers/introspection/osgSim/ColorRange.cpp, - src/osgWrappers/introspection/osgSim/DOFTransform.cpp, - src/osgWrappers/introspection/osgSim/ElevationSlice.cpp, - src/osgWrappers/introspection/osgSim/GeographicLocation.cpp, - src/osgWrappers/introspection/osgSim/HeightAboveTerrain.cpp, - src/osgWrappers/introspection/osgSim/Impostor.cpp, - src/osgWrappers/introspection/osgSim/ImpostorSprite.cpp, - src/osgWrappers/introspection/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/introspection/osgSim/LightPoint.cpp, - src/osgWrappers/introspection/osgSim/LightPointNode.cpp, - src/osgWrappers/introspection/osgSim/LightPointSystem.cpp, - src/osgWrappers/introspection/osgSim/LineOfSight.cpp, - src/osgWrappers/introspection/osgSim/MultiSwitch.cpp, - src/osgWrappers/introspection/osgSim/ObjectRecordData.cpp, - src/osgWrappers/introspection/osgSim/OverlayNode.cpp, - src/osgWrappers/introspection/osgSim/ScalarBar.cpp, - src/osgWrappers/introspection/osgSim/ScalarsToColors.cpp, - src/osgWrappers/introspection/osgSim/Sector.cpp, - src/osgWrappers/introspection/osgSim/ShapeAttribute.cpp, - src/osgWrappers/introspection/osgSim/SphereSegment.cpp, - src/osgWrappers/introspection/osgSim/VisibilityGroup.cpp, - src/osgWrappers/introspection/osgTerrain, - src/osgWrappers/introspection/osgTerrain/Export.cpp, - src/osgWrappers/introspection/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/introspection/osgTerrain/Layer.cpp, - src/osgWrappers/introspection/osgTerrain/Locator.cpp, - src/osgWrappers/introspection/osgTerrain/Terrain.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/introspection/osgTerrain/TerrainTile.cpp, - src/osgWrappers/introspection/osgTerrain/ValidDataOperator.cpp, - src/osgWrappers/introspection/osgText, - src/osgWrappers/introspection/osgText/Export.cpp, - src/osgWrappers/introspection/osgText/FadeText.cpp, - src/osgWrappers/introspection/osgText/Font.cpp, - src/osgWrappers/introspection/osgText/Font3D.cpp, - src/osgWrappers/introspection/osgText/KerningType.cpp, - src/osgWrappers/introspection/osgText/String.cpp, - src/osgWrappers/introspection/osgText/Text.cpp, - src/osgWrappers/introspection/osgText/Text3D.cpp, - src/osgWrappers/introspection/osgText/TextBase.cpp, - src/osgWrappers/introspection/osgUtil, - src/osgWrappers/introspection/osgUtil/ConvertVec.cpp, - src/osgWrappers/introspection/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/introspection/osgUtil/CullVisitor.cpp, - src/osgWrappers/introspection/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/introspection/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/introspection/osgUtil/DrawElementTypeSimplifier.cpp, - src/osgWrappers/introspection/osgUtil/EdgeCollector.cpp, - src/osgWrappers/introspection/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/introspection/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/introspection/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/introspection/osgUtil/IncrementalCompileOperation.cpp, - src/osgWrappers/introspection/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/introspection/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/introspection/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/introspection/osgUtil/OperationArrayFunctor.cpp, - src/osgWrappers/introspection/osgUtil/Optimizer.cpp, - src/osgWrappers/introspection/osgUtil/PlaneIntersector.cpp, - src/osgWrappers/introspection/osgUtil/PolytopeIntersector.cpp, - src/osgWrappers/introspection/osgUtil/PositionalStateContainer.cpp, - src/osgWrappers/introspection/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/introspection/osgUtil/RenderBin.cpp, - src/osgWrappers/introspection/osgUtil/RenderLeaf.cpp, - src/osgWrappers/introspection/osgUtil/RenderStage.cpp, - src/osgWrappers/introspection/osgUtil/ReversePrimitiveFunctor.cpp, - src/osgWrappers/introspection/osgUtil/SceneGraphBuilder.cpp, - src/osgWrappers/introspection/osgUtil/SceneView.cpp, - src/osgWrappers/introspection/osgUtil/ShaderGen.cpp, - src/osgWrappers/introspection/osgUtil/Simplifier.cpp, - src/osgWrappers/introspection/osgUtil/SmoothingVisitor.cpp, - src/osgWrappers/introspection/osgUtil/StateGraph.cpp, - src/osgWrappers/introspection/osgUtil/Statistics.cpp, - src/osgWrappers/introspection/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/introspection/osgUtil/Tessellator.cpp, - src/osgWrappers/introspection/osgUtil/TransformAttributeFunctor.cpp, - src/osgWrappers/introspection/osgUtil/TransformCallback.cpp, - src/osgWrappers/introspection/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/introspection/osgUtil/UpdateVisitor.cpp, - src/osgWrappers/introspection/osgViewer, - src/osgWrappers/introspection/osgViewer/CompositeViewer.cpp, - src/osgWrappers/introspection/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/introspection/osgViewer/Renderer.cpp, - src/osgWrappers/introspection/osgViewer/Scene.cpp, - src/osgWrappers/introspection/osgViewer/View.cpp, - src/osgWrappers/introspection/osgViewer/Viewer.cpp, - src/osgWrappers/introspection/osgViewer/ViewerBase.cpp, - src/osgWrappers/introspection/osgViewer/ViewerEventHandlers.cpp, - src/osgWrappers/introspection/osgViewer/api, - src/osgWrappers/introspection/osgViewer/api/Carbon, - src/osgWrappers/introspection/osgViewer/api/Carbon/GraphicsHandleCarbon.cpp, - src/osgWrappers/introspection/osgViewer/api/Cocoa, - src/osgWrappers/introspection/osgViewer/api/Cocoa/GraphicsHandleCocoa.cpp, - src/osgWrappers/introspection/osgViewer/api/Win32, - src/osgWrappers/introspection/osgViewer/api/Win32/GraphicsHandleWin32.cpp, - src/osgWrappers/introspection/osgViewer/api/Win32/PixelBufferWin32.cpp, - src/osgWrappers/introspection/osgViewer/api/X11, - src/osgWrappers/introspection/osgViewer/api/X11/GraphicsHandleX11.cpp, - src/osgWrappers/introspection/osgViewer/api/X11/PixelBufferX11.cpp, - src/osgWrappers/introspection/osgVolume, - src/osgWrappers/introspection/osgVolume/Export.cpp, - src/osgWrappers/introspection/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/introspection/osgVolume/Layer.cpp, - src/osgWrappers/introspection/osgVolume/Locator.cpp, - src/osgWrappers/introspection/osgVolume/Property.cpp, - src/osgWrappers/introspection/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/introspection/osgVolume/Volume.cpp, - src/osgWrappers/introspection/osgVolume/VolumeTechnique.cpp, - src/osgWrappers/introspection/osgVolume/VolumeTile.cpp, - src/osgWrappers/introspection/osgWidget, - src/osgWrappers/introspection/osgWidget/Box.cpp, - src/osgWrappers/introspection/osgWidget/Browser.cpp, - src/osgWrappers/introspection/osgWidget/Canvas.cpp, - src/osgWrappers/introspection/osgWidget/EventInterface.cpp, - src/osgWrappers/introspection/osgWidget/Frame.cpp, - src/osgWrappers/introspection/osgWidget/Input.cpp, - src/osgWrappers/introspection/osgWidget/Label.cpp, - src/osgWrappers/introspection/osgWidget/Lua.cpp, - src/osgWrappers/introspection/osgWidget/PdfReader.cpp, - src/osgWrappers/introspection/osgWidget/Python.cpp, - src/osgWrappers/introspection/osgWidget/ScriptEngine.cpp, - src/osgWrappers/introspection/osgWidget/StyleInterface.cpp, - src/osgWrappers/introspection/osgWidget/StyleManager.cpp, - src/osgWrappers/introspection/osgWidget/Table.cpp, - src/osgWrappers/introspection/osgWidget/Types.cpp, - src/osgWrappers/introspection/osgWidget/ViewerEventHandlers.cpp, - src/osgWrappers/introspection/osgWidget/VncClient.cpp, - src/osgWrappers/introspection/osgWidget/Widget.cpp, - src/osgWrappers/introspection/osgWidget/Window.cpp, - src/osgWrappers/introspection/osgWidget/WindowManager.cpp: - Regenerated introspection wrappers in their new location - -2010-01-18 19:43 robert - - * src/osgWrappers/CMakeLists.txt, - src/osgWrappers/Doxyfile.template, src/osgWrappers/OpenThreads, - src/osgWrappers/genwrapper.conf, src/osgWrappers/introspection, - src/osgWrappers/introspection/CMakeLists.txt, - src/osgWrappers/introspection/Doxyfile.template, - src/osgWrappers/introspection/genwrapper.conf, - src/osgWrappers/osg, src/osgWrappers/osgAnimation, - src/osgWrappers/osgDB, src/osgWrappers/osgFX, - src/osgWrappers/osgGA, src/osgWrappers/osgManipulator, - src/osgWrappers/osgParticle, src/osgWrappers/osgShadow, - src/osgWrappers/osgSim, src/osgWrappers/osgTerrain, - src/osgWrappers/osgText, src/osgWrappers/osgUtil, - src/osgWrappers/osgViewer, src/osgWrappers/osgVolume, - src/osgWrappers/osgWidget: Cleaned out all wrappers as will be - moving them all into src/osgWrappers/introspection directory, and - use genwrapper to generate the new ones - -2010-01-18 16:39 robert - - * src/osgPlugins/txp/TXPNode.cpp: Added #include for - Mingw build - -2010-01-18 16:38 robert - - * src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.cpp: Restructure the - includes of freetype - -2010-01-18 14:27 robert - - * examples/CMakeLists.txt, examples/osgmovie/CMakeLists.txt, - examples/osgviewerSDL/CMakeLists.txt, - src/osgPlugins/curl/CMakeLists.txt, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp: From Jean-Sebastien Guay, - build fixes for Mingw - -2010-01-18 13:00 robert - - * src/osgWrappers/osg/AudioStream.cpp: Updated wrappers - -2010-01-18 12:43 robert - - * include/osg/AudioStream, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp: From Serge Lages, - "Here is a patch to allow setting an audio volume with the - AudioSink interface, I've also modified the ffmpeg plugin code to - implement the ImageStream's setVolume method with its AudioSink." - -2010-01-15 15:34 robert - - * include/osgDB/Serializer, src/osgDB/CMakeLists.txt, - src/osgWrappers/osgDB/Serializer.cpp: Removed the old style - Serializer, moving it back into VirtuaLPlanetBuilder to make way - for the new Serializer that exists in support for the new - binary/ascii format. - -2010-01-14 15:15 robert - - * include/osgText/Font, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/txf/TXFFont.cpp, src/osgText/DefaultFont.cpp, - src/osgText/Font.cpp, src/osgWrappers/osgText/Font.cpp: Added - setting of the charcode during construction of - osgText::Font::Glyph() - -2010-01-14 15:15 robert - - * include/osg/Version: Updated so version - -2010-01-13 18:50 robert - - * CMakeLists.txt: Updated rev number for 2.9.7 dev release as ABI - compatibility has been broken - -2010-01-13 18:50 robert - - * src/osgPlugins/osg/Texture.cpp, - src/osgWrappers/osg/BufferObject.cpp: Updated wrappers and - supported shadow texture formats -2010-01-13 18:46 robert +Thu, 21 Nov 2013 14:08:01 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, " recently encountered an issue attempting to load an IVE file generated by an older version of OSG. The file contained dxt1 compressed image data with mipmaps. The loaded model would cause crashes when passing the mipmap data to glCompressedTexImage2D. It seems that the size of the data array within the IVE file did not match the computed size from Image::getTotalSizeInBytesIncludingMipmaps(). This essentially made the mipmap offsets invalid within the Image object.I'm not sure if the IVE was simply generated incorrectly, or if the Image::getTotalSizeInBytesIncludingMipmaps() was modified since the file was generated. Either way, I added a simple check in the IVE loader so that it clears the mipmap offsets if the actual data size does not match the computed data size. This seems like a safe fallback since the mipmap data can be automatically generated, and it fixes the problem in my case. - * include/osg/BufferObject, src/osg/BufferObject.cpp: For backwards - compatiblity add a staic void - BufferObject::deleteBufferObject(unsigned int contextID,GLuint - globj) method. +Also, while looking into this issue, I noticed that the osgDB::InputStream class applies the serialized image allocation mode. However, since the serializer is allocating the image data itself, it seems like it should force the allocation mode to USE_NEW_DELETE. +" -2010-01-13 14:57 robert - * src/osgWrappers/osgManipulator/Dragger.cpp: Updated wrappers -2010-01-13 14:16 robert +Thu, 21 Nov 2013 13:59:00 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I recently encountered an issue attempting to load an IVE file generated by an older version of OSG. The file contained dxt1 compressed image data with mipmaps. The loaded model would cause crashes when passing the mipmap data to glCompressedTexImage2D. It seems that the size of the data array within the IVE file did not match the computed size from Image::getTotalSizeInBytesIncludingMipmaps(). This essentially made the mipmap offsets invalid within the Image object.I'm not sure if the IVE was simply generated incorrectly, or if the Image::getTotalSizeInBytesIncludingMipmaps() was modified since the file was generated. Either way, I added a simple check in the IVE loader so that it clears the mipmap offsets if the actual data size does not match the computed data size. This seems like a safe fallback since the mipmap data can be automatically generated, and it fixes the problem in my case. - * include/osgManipulator/Dragger: Moved dispatch/recieve methods - into public scope to allow easier custom usage. +Also, while looking into this issue, I noticed that the osgDB::InputStream class applies the serialized image allocation mode. However, since the serializer is allocating the image data itself, it seems like it should force the allocation mode to USE_NEW_DELETE. +" -2010-01-13 13:31 robert - * src/osgWrappers/osg/Sequence.cpp: Updated wrappers -2010-01-13 13:30 robert +Thu, 21 Nov 2013 11:02:08 +0000 +Checked in by : Robert OSFIELD +Converted std::max to osg::maximum to fix VS2013 build error - * src/osgPlugins/ive/Sequence.cpp, src/osgPlugins/osg/Sequence.cpp: - Changed get methods to new style ones. +Thu, 21 Nov 2013 10:31:34 +0000 +Checked in by : Robert OSFIELD +Added Geometry::drawVertexArraysomplemetation(..) and drawPrimitivesImplemenation(..) methods that are called from drawImplementation(..). These new vertex methods allow subclasses from osg::Geometry to specialize the vertex array setup or how the primitives are dispatched to OpenGL. -2010-01-13 13:30 robert +Mon, 18 Nov 2013 14:21:06 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "minor ios-fixes/-enhancements* force _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC for IOS device + simulator as the test does not pick the right implementation +* fixed a small compile-bug for iphone-example +* added a check to prevent multiple realization of a GraphicsWindowIOS-object +" - * include/osg/Sequence, include/osg/Texture1D: From Wang Rui, - "Attached are two simple modifications of osg::Sequence and - osg::Texture1D classes, for the reason of implementing the I/O - serialization feature. In the Sequence header, I've added some - more - convenient functions: setTimeList/getTimeList, - setLoopMode/getLoopMode, setBegin/getBegin, setEnd/getEnd, - setSpeed/getSpeed and setNumRepeats/getNumRepeats. - - In the Texture1D header, fixed: - - inline void setTextureWidth(int width) const ... - - to: - - inline void setTextureWidth(int width) ..." - - Notes from Robert Osfield, have gone a little further with these - changes and have removed some of the original get methods that - were out of step with the way the rest of the OSG manages the - set/get property pairs. -2010-01-13 13:09 robert - * examples/osggpx/osggpx.cpp, examples/osgoutline/osgoutline.cpp: - Added missing .get()'s +Mon, 18 Nov 2013 13:31:44 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, compile fix for OpenGL ES on iOS. -2010-01-13 11:45 robert +Mon, 18 Nov 2013 13:25:55 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, * GUIEventAdapter: add support for getting normalized touch points * MultiTouchTrackball: some code cleanup and support for normalized touch-points * oscdevice: receiving and sending multi-touch-events via the Cursor2D-profile from TUIO * added some documentation - * src/osgFX/Outline.cpp: Added missing .get() to fix build when - compiling with no automatic type convention in ref_ptr<> +Mon, 18 Nov 2013 12:46:00 +0000 +Checked in by : Robert OSFIELD +Added panning and zooming functionality to transfer function UI prototype code. -2010-01-13 10:46 robert +Mon, 18 Nov 2013 12:45:04 +0000 +Checked in by : Robert OSFIELD +Added BoundingBox::contains(const vec_type& v, value_type epsilon) method with new epsilon parameter to make it easier to test for containment in the presence of numerical errors - * src/osgGA/StateSetManipulator.cpp: From Sukender, warning fix. +Fri, 15 Nov 2013 16:15:09 +0000 +Checked in by : Robert OSFIELD +Moved Handled propety from GUIEventAdapter to Event base class.Added CameraManipulator::finishAnimation() method to allow application code to stop any animation/throw of manipulators. -2010-01-12 11:12 robert - * src/osgPlugins/3ds/WriterNodeVisitor.h: Convert dos line endings -2010-01-12 10:00 robert - * src/osgWrappers/osgDB/XmlParser.cpp: Updated wrappers +Tue, 12 Nov 2013 14:21:00 +0000 +Checked in by : Robert OSFIELD +Restored the rescaleToZeroToOneRange() to address rendering issues. -2010-01-11 17:36 robert +Mon, 11 Nov 2013 10:55:51 +0000 +Checked in by : Robert OSFIELD +Removed unused variables - * include/osgDB/XmlParser, src/osgDB/XmlParser.cpp: From - Jean-Sebastien Guay, "OK, so here are new changes. - - 1. The node type will be set to ATOM on read of type tags. - 2. GROUP and NODE are now written using the same code (and not - just duplicated code). Also NODE will not be written as an ATOM - if it has no children or contents, so you need to set the type to - ATOM if you want the style. - 3. You had put the write of "/>" for ATOM after the "return - true", so it had no effect... Moved to before the return. - 4. ATOM did not write its properties correctly, fixed. - 5. As an added bonus, I made the write() method indent the output - so it's more readable. It brings a small public interface change - but the indent argument has a default value so client code - doesn't need to change (if there even is any). - 6. Another added bonus, I've simplified the write() method a bit - by factoring out the write for children and properties into - protected methods." - -2010-01-11 17:27 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: Added missing .get() - -2010-01-11 16:09 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Sukender, introduced - usage of ref_ptr<> and local scoped_array to address more robust - memory management. - -2010-01-11 16:03 robert - - * src/osgPlugins/jp2/ReaderWriterJP2.cpp: Added desctructor with - jas_cleanup(). - -2010-01-11 14:28 robert - - * src/osgPlugins/jp2/ReaderWriterJP2.cpp: From Laurens Voerman,"the - current ReaderWriterJP2 has all the code for writing jp2 files - (jpeg 2000), but the writing fails on my windows machine - (jasper-1.900.1) because the ID for the "jp2" extention is - requested before the jas_init() call. (bug introduced in svn 7645 - - 10 dec 2007)" - -2010-01-11 14:04 robert - - * src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Sukender, "a small - fix about using non 3-charcacters long file extensions (such as - "jpeg", to be converted to "jpg")." - -2010-01-08 11:47 robert - - * src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osgWidget/Frame.cpp: Updated wrappers - -2010-01-08 11:40 robert - - * include/osgWidget/Frame, src/osgWidget/Frame.cpp: From - Jean-Sebastien Guay, "was testing an osgWidget-based test app I - have and noticed that I couldn't move the windows/frames around - on the screen anymore. Turns out that the virtual methods' - interface changed in the EventInterface base class, the third - argument to mouseDrag() is now const, but it was not changed in - the derived classes, so it still compiled but the derived-class - version was not being called because its arguments differed. - - Here are the changes that fix it. - " - -2010-01-08 11:37 robert - - * src/osgShadow/StandardShadowMap.cpp: From Marius Heise, - "osgShadow was using single precision variables for light - positioning and orientation. This was causing precision problems - (shadow jumping) with big databases (eg. geocentric created vpb). - This patch fixes this by using double precision variables for - light positioning and orientation. It works for all algorithms - dreived form osgShadow::StandardShadowMap. - " - -2010-01-08 11:32 robert - - * include/osg/Texture, src/osg/Image.cpp, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Texture.cpp, - src/osgPlugins/osg/Texture.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Rob Radtke, "I - recently ran into some issues trying to save/load a scene graph - as a .ive file. The problems came about because the scene graph - contained depth textures in it. I have attached a patch (against - the current revision: 10919) that fixes the issues that I - encountered. Both attachments contain the same patch--one is a - .zip file that contains the modified files and the other is a - text patch file. Here is a summary of the changes I made: - - 1) Add getShadowComparison() accessor function to osg::Texture - class - 2) Modify ReaderWriterTiff::writeTifStream() and _readColor() (in - Image.cpp) to handle pixelFormat==GL_DEPTH_COMPONENT as if it - were GL_LUMINANCE - 3) Modify the Texture classes of the ive and osg plug-ins so that - they save/load the following Texture members: - _use_shadow_comparison, _shadow_compare_func and - _shadow_texture_mode - " - -2010-01-08 11:16 robert - - * src/osg/OcclusionQueryNode.cpp: From Paul Martz, - "OcclusionQueryNode was incorrectly marking itself as DYNAMIC, so - I removed that code. And I also found some uses of dynamic_cast - that could be changed to static_cast. - " - -2010-01-08 10:52 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.cpp: From Sukender, - "ReaderWriter3DS.cpp fixes: - - Fixed creation of useless intermediate nodes - - WriterNodeVisitor.cpp fixes: - - Fixed naming of textures (path and extension) - " - - Note from Robert Osfield, this submission also came with changes - to use of ref_ptr<> and removal of delete[]'s, but these were not - merged as they didn't actually fix any memory leaks, and in once - instance introduced one. - -2010-01-08 10:12 robert - - * src/osgFX/Outline.cpp: Added newline at end of file to fix - warning - -2010-01-07 19:13 robert - - * src/osgDB/XmlParser.cpp: Fixed writing out of ATOM. - -2010-01-07 19:08 robert - - * src/osgDB/XmlParser.cpp: From Jean-Sebastien Guay, fix to - handling of xml node with contents by not children - -2010-01-07 17:36 robert - - * src/osgDB/XmlParser.cpp: From Jean-Sebastien Guay, fixed handling - of < tag /> xml syntax - -2010-01-07 17:20 robert - - * include/OpenThreads/Atomic: From Chuck Seberino, (submitted by - Stephan Huber) Chuck's original message : "I have a patch to - submit that fixes the following error when building against OSX - 10.6.2." - -2010-01-07 16:49 robert - - * include/osg/State, src/osg/State.cpp, - src/osgWrappers/osg/State.cpp: From Lilith Bryant, "As discussed - previously on the users list. Fixes the redundant calls to - glActiveTexture on every State::apply after more than one - texunits have been - used. - - This is against 2.9.6 (I think SVN head is the same) - - Quick Synopsis: - - New functions: - - State::applyModeOnTexUnit - State::applyAttributeOnTexUnit - State::applyModeMapOnTexUnit - State::applyAttributeMapOnTexUnit - State::applyModeListOnTexUnit - State::applyAttributeListOnTexUnit - - All copies of the normal versions, but they also set the active - tex unit if - absolutely necessary (i.e. only if they call something OpenGL). - - State::apply (*2) - State::applyTextureAttribute - - Changed to call the above functions and no longer call - setActiveTextureUnit - themselves. - - State::setActiveTextureUnit - - Made inline, so the benefit of having applyModeOnTexUnit (etc) - inline - is retained. - " - -2010-01-07 14:35 robert - - * examples/osgmovie/osgmovie.cpp, include/osg/AudioStream, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgWrappers/osg/AudioStream.cpp: Added virtual pause() method - into osg::AudioSink to support pausing of a movie thread and it's - associated audio. - - Updated osgmovie plugin to use the pause support. - -2010-01-07 12:14 robert - - * include/osg/Image, include/osg/ImageSequence, src/osg/Image.cpp, - src/osg/ImageSequence.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageSequence.cpp: Refactored the way that - osg::Image/ImageSequence manages the update callback that needs - to be attached to Textures to make it possible to use the - Image::update() mechansim in other subclasses from osg::Image. - To enable the automatic attachment of the required update - callback to call osg::Image::update(..) subclasses from - osg::Image will - need to implement the osg::Image::requestUpdateCall() and return - true, and implement the osg::Image::update(NodeVisitor*) method - to recieve the update call during the update traversal. - -2010-01-07 10:01 robert - - * examples/osganimationhardware/osganimationhardware.cpp: Fixed - warnings +Fri, 8 Nov 2013 12:28:51 +0000 +Checked in by : Robert OSFIELD +From Stepan Huber, "attached are my changes for the osc, zeroconf and resthttp-plugin to use the new event-class. I refactored the osgoscdevice-example so that it’s working again. " -2010-01-07 09:45 robert +Fri, 8 Nov 2013 12:26:14 +0000 +Checked in by : Robert OSFIELD +Added support for assinging and display transfer functions - * src/osgPlugins/directshow/ReaderWriterDirectShow.cpp: From Serge - Lages, "Here is a modified fix. It doesn't break the other patch - for this plugin as they are for different files. I've only added - the file formats handled by default with DirectShow (based on its - Wikipedia page)." +Fri, 8 Nov 2013 12:25:35 +0000 +Checked in by : Robert OSFIELD +Quietened down debug messages -2010-01-07 09:43 robert +Thu, 7 Nov 2013 12:37:10 +0000 +Checked in by : Robert OSFIELD +Changed the LineSegmentIntersector to RayIntersector to provide more reliable intersections with flat meshes. - * src/osgDB/XmlParser.cpp: Imporoved spacing +Thu, 7 Nov 2013 12:35:34 +0000 +Checked in by : Robert OSFIELD +Added osgUtil::Intersector::PrecisionHint member and set it's default to USE_DOUBLE_COMPUTATIONS, and implemented support for use double or float maths internally in LineSegmentIntersector and RayIntersector classes -2010-01-07 09:11 robert +Wed, 6 Nov 2013 09:50:16 +0000 +Checked in by : Robert OSFIELD +Re-enabled the disable of the transfer function - * src/osgDB/XmlParser.cpp: Reordered the readAllDataIntoBuffer() to - avoid bug in failing on all calls to readXmlParser(..) +Wed, 6 Nov 2013 09:49:51 +0000 +Checked in by : Robert OSFIELD +Fixed handling of web cams -2010-01-06 15:43 robert +Wed, 6 Nov 2013 09:23:21 +0000 +Checked in by : Robert OSFIELD +Introduced a cast(T) method into the ImageUtils template functor to allow code reading images to handle casting from source data to a form that a user can use more conviently - * src/osgWrappers/osgAnimation/RigTransformHardware.cpp: Updated - wrappers +Wed, 6 Nov 2013 09:20:35 +0000 +Checked in by : Robert OSFIELD +Restructed the call to avformat_open_input to provide more information. -2010-01-06 10:41 robert +Tue, 5 Nov 2013 15:23:32 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * include/osgAnimation/RigTransformHardware: Fixed type of index to - int. +Fri, 1 Nov 2013 14:40:50 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "Build Problem with osgGA at MacOS with Xcode 5"..."attached you'll find a possible solution for the issue. This will add a new option to cmake called OSG_CXX_LANGUAGE_STANDARD which defaults to C++11. If you set it to C++98 it will setup the project accordingly." -2010-01-05 20:03 robert +Mon, 28 Oct 2013 17:46:07 +0000 +Checked in by : Robert OSFIELD +Added initial shell of new osgtransferfunction example that will be tested bed for upcomming transfer function editing UI. - * include/osgIntrospection/Value: Replaced nullptr with - isNullPointer +Mon, 28 Oct 2013 12:03:55 +0000 +Checked in by : Robert OSFIELD +From Likasz Izebski, "added support for etc2/eac compression" -2010-01-05 11:15 robert +Fri, 25 Oct 2013 15:47:41 +0000 +Checked in by : Robert OSFIELD +Added explict setting of the PolygonMode to over the distion mesh being toggled to wireframe. - * src/osgWrappers/osgAnimation/RigTransformHardware.cpp, - src/osgWrappers/osgAnimation/RigTransformSoftware.cpp, - src/osgWrappers/osgAnimation/Skinning.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/SphericalManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp: Updated wrappers +Fri, 25 Oct 2013 14:54:15 +0000 +Checked in by : Robert OSFIELD +Introduce new osgGA::Event and osgGA::EventHandler base classes that the old GUIEventAdapter and GUIEventHandler now subclass from.The new osgGA::Event is written to support more generic events than the original GUIEventAdapter which are written for keyboard and mouse events. -2010-01-05 11:15 robert - * src/osgUtil/SceneView.cpp: Added support for call root Camera - CullCallbacks -2010-01-05 11:10 robert +Fri, 25 Oct 2013 14:46:37 +0000 +Checked in by : Robert OSFIELD +Remoed -fpermissive - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: Fixed indentation +Fri, 25 Oct 2013 09:02:39 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2010-01-05 11:09 robert +Thu, 24 Oct 2013 20:22:13 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, - include/osgGA/TerrainManipulator, - src/osgGA/KeySwitchMatrixManipulator.cpp: Added set/getDistance() - method +Thu, 24 Oct 2013 19:56:04 +0000 +Checked in by : Robert OSFIELD +Removed depreated glib call -2010-01-04 15:54 shuber +Thu, 24 Oct 2013 19:32:00 +0000 +Checked in by : Robert OSFIELD +Fixed FileInfo self intialization bug - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode-project +Thu, 24 Oct 2013 17:43:02 +0000 +Checked in by : Robert OSFIELD +Fixed build problems with the OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off -2009-12-22 14:09 cedricpinson +Thu, 24 Oct 2013 12:15:37 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you’ll find a small enhancement for present3d. Now you can get advanced help via —help-all etc (similar to osgviewer)" - * include/osgAnimation/Skinning, src/osgAnimation/Timeline.cpp: - From Cedric Pinson, remove unused file Skinning, cleanup file - Timeline.cpp +Thu, 24 Oct 2013 10:10:16 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, add support for controlling the OSXMenubarBehavior set by DisplaySettings. -2009-12-16 15:48 robert +Thu, 24 Oct 2013 09:06:52 +0000 +Checked in by : Robert OSFIELD +Cleaned up addChild/getChild/setChild/getNumChildren methods and added readNodeFile, readImageFile and readObjectFile functions - * include/osgDB/ReaderWriter: Moved the supports*() method into - public scope to allow external injection of supported formats. - Added docs to clearly state this type of inject is not generally - supported by ReaderWriters. +Wed, 23 Oct 2013 16:17:26 +0000 +Checked in by : Robert OSFIELD +Added support for Group::addChild/setChild/getChild/getNumChildren. -2009-12-16 15:12 robert +Tue, 22 Oct 2013 19:12:34 +0000 +Checked in by : Robert OSFIELD +Merged changes to DisplaySettings from Stephan Huber in prep for controlling the menu hiding behaviour under OSX.Added new WindowSystemInterface::setDisplaySettings() method to provide a mechanism for passing settings onto the WindowSystemInterface so it can then set up the system appropriately. - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS.txt to mark - the point in time that the OpenSceneGraph gained it's 400th - contributor! +Added assignment of the DisplaySettings to the WindowSystemInterface in Viewer/ComppsiteViewer::realize(). -2009-12-16 15:05 robert - * src/osgPlugins/dae/daeRGeometry.cpp: From Lilith Bryant, "This - patch fixes a regression (introduced in @ rev 9228), where simple - .dae files, that have no material assignments, will cause a crash - on load. - - In particular, the case when the "instance_geometry" element has - no "bind_material" sub-element. This is valid, according to the - official collada 1.4.1 specification." -2009-12-16 12:17 robert +Tue, 22 Oct 2013 18:58:15 +0000 +Checked in by : Robert OSFIELD +Preliminary remapping of internalFormat for GL3 core profile - * src/osg/Texture.cpp: Removed old texture object manage code. +Tue, 22 Oct 2013 16:28:20 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2009-12-15 17:25 robert +Tue, 22 Oct 2013 11:32:21 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "The osgt/osgb file formats output a scenegraph node with the type set to "SCENE" in the file header. But if the file is stored and then extracted again from an osga archive this header info is lost, and the resulting file is just an "OBJECT". Possibly other plugin operations would have the same effect. The osgt/osgb plugin won't then return the scenegraph contents.I have updated the osgt/osgb plugin to return a node from an "OBJECT" +file." - * src/osgGA/StateSetManipulator.cpp: From Sukender, warning fix -2009-12-15 15:55 shuber - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode-project +Tue, 22 Oct 2013 11:26:45 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "The osgb file reader uses seek to position within the file. But the nested stream implementation for osga archive files doesn't support seeking. So osgb files can't currently be used in an osga archive e.g. if osgdem is used to output a osgb format database it can't be packaged in an archive file, in the same manner that ive files could.I've added seek support to the osga nested stream implementation." -2009-12-15 14:45 robert - * examples/osgparametric/osgparametric.cpp: Fixed compile warnings -2009-12-15 14:44 robert +Tue, 22 Oct 2013 11:18:28 +0000 +Checked in by : Robert OSFIELD +Fixed handling of osg::Program so that it's not overriden by shader composition when enabled - * src/osgFX/Outline.cpp, src/osgGA/StateSetManipulator.cpp: Fixed - compile warnings +Mon, 21 Oct 2013 16:35:12 +0000 +Checked in by : Robert OSFIELD +Added State::releaseGLObjects() and ShaderComposer::releaseGLObjects() to avoid problems with cleanup of graphics context -2009-12-15 14:40 robert +Mon, 21 Oct 2013 09:54:41 +0000 +Checked in by : Robert OSFIELD +Build fixes for clang - * src/osgUtil/SceneView.cpp: Fixed warning +Fri, 18 Oct 2013 09:57:49 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "previously discussed change to the dae loader which applies the node ID as a "dae_node_id" user value." -2009-12-15 12:37 robert +Fri, 18 Oct 2013 08:37:18 +0000 +Checked in by : Robert OSFIELD +From Vladimir Chebeav, fix for removal of nested callbacks - * src/osgUtil/CMakeLists.txt, src/osgUtil/TriStripVisitor.cpp, - src/osgUtil/TriStrip_graph_array.h, - src/osgUtil/TriStrip_heap_array.h, - src/osgUtil/TriStrip_tri_stripper.cpp, - src/osgUtil/TriStrip_tri_stripper.h, src/osgUtil/tristripper, - src/osgUtil/tristripper/include, - src/osgUtil/tristripper/include/detail, - src/osgUtil/tristripper/include/detail/cache_simulator.h, - src/osgUtil/tristripper/include/detail/connectivity_graph.h, - src/osgUtil/tristripper/include/detail/graph_array.h, - src/osgUtil/tristripper/include/detail/heap_array.h, - src/osgUtil/tristripper/include/detail/policy.h, - src/osgUtil/tristripper/include/detail/types.h, - src/osgUtil/tristripper/include/public_types.h, - src/osgUtil/tristripper/include/tri_stripper.h, - src/osgUtil/tristripper/src, - src/osgUtil/tristripper/src/connectivity_graph.cpp, - src/osgUtil/tristripper/src/policy.cpp, - src/osgUtil/tristripper/src/tri_stripper.cpp: From Tanguy Fautre - and Robert Osfield, updated tristripper code to use the latest - tristripper_r94 code. +Fri, 18 Oct 2013 07:55:26 +0000 +Checked in by : Robert OSFIELD +From Konstantin Matveyev, "Multiple light fix in FBX-importer" -2009-12-15 11:47 robert +Fri, 18 Oct 2013 07:52:18 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "Some missing updates to the serializer static build support." - * CMakeLists.txt, include/osg/Version: Updated version to 2.9.7 in - prep for next dev release +Fri, 18 Oct 2013 07:31:22 +0000 +Checked in by : Robert OSFIELD +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." -2009-12-15 11:27 robert +Thu, 17 Oct 2013 18:29:39 +0000 +Checked in by : Robert OSFIELD +Fix for error in getting the uniform block max name length, fix suggested by Christopher Fennell. - * src/osgPlugins/ffmpeg/FFmpegClocks.cpp, - src/osgPlugins/ffmpeg/FFmpegClocks.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: From Julen Garcia, - "So here is the code with a proper audio sync (at least in my - computer)" +Thu, 17 Oct 2013 14:02:15 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, build fix -2009-12-15 09:16 robert +Thu, 10 Oct 2013 20:43:03 +0000 +Checked in by : Robert OSFIELD +Added set/get to the ImageSerializer and removed some redudent comments - * src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/QTImportExport.cpp, - src/osgPlugins/quicktime/QuicktimeLiveImageStream.cpp: Changed - GL_BGRA_EXT to GL_BGRA and added include of include/osg/Image to - make sure define is declared +Thu, 10 Oct 2013 20:42:24 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "With the new osg::Geometry the binding for arrays now default to undefined. This breaks previously working code in osgAnimation::RigTransformHardware where the arrays got an undefined bounding and because of this the bone indices and weights were not loaded by the shader. Here is a little patch to fix this." -2009-12-14 13:42 robert +Thu, 10 Oct 2013 14:45:57 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, compile fix for VisualStudio - * include/osg/GraphicsContext, src/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsContext.cpp: Renamed - osg::GraphicsContext::OperationQueue typedef to - GraphicsOperationQueue to avoid naming conflict with - osg::OperationQueue +Thu, 10 Oct 2013 14:41:41 +0000 +Checked in by : Robert OSFIELD +Laurens Voerman, "my cmake (2.8.10.2 generating for Visual Studio 11 Win64) doesn't like include(${CMAKE_MODULE_PATH}/FindPackageHandleStandardArgs.cmake) in CMakeModules/FindLua52.cmake changing to a more common include(FindPackageHandleStandardArgs) solves my problem." -2009-12-14 12:50 robert +Thu, 10 Oct 2013 09:28:26 +0000 +Checked in by : Robert OSFIELD +Added get/set method to Serializer to allow pointer passing without going through InputStream/OutputStream. - * examples/CMakeLists.txt: Added checked against QT webkit being - available +Wed, 9 Oct 2013 15:32:56 +0000 +Checked in by : Robert OSFIELD +Implemented preliminary readNode/readImage support in the lua plugin allow a lua script to create a scene graph as return it. -2009-12-14 12:49 robert +Mon, 7 Oct 2013 10:05:09 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you’ll find a bunch of fixes + enhancements for iOS and OS X based on current trunk. I incorporated + tested the submission from Colin Cochran, so his submission is not needed anymore.* fixed a bug with multi-touch and touch-id-generation on iOS and OS X. (will fix a bug reported by Colin Cochran, without ditching the existing logic) +* removed unnecessary warning-flagss when generating xcode-projects via cmake, will enable the usage of OSG_AGGRESSIVE_WARNING_FLAGS +* added support for 10.9 (OS X) +* new cmake-variable: IPHONE_VERSION_MIN, this will set the deployment-target (previously hard-coded) If you set the IPHONE_VERSION_MIN to something like 7.0 osg gets compiled also for 64bit (amd64) +* cmake defaults now to the clang compiler if IPHONE_VERSION_MIN > 4.2 +* cmake now sets some xcode-settings so the compiler uses the c++98-standard (clang defaults to c++11, w/o this I got a lot of linking errors) +* removed include-dir for avfoundation-plugin as not needed on OSX/IOS. +* enhanced the ios-example, will now show multitouch-information on a hud (similar to the osgmultitouch-example), and more importantly, will compile + link out of the box +* small enhancements for the osc-device-plugin (send only one msg for MOVE/DRAG, even if multiple msgs/event is enabled) +* better memory-handling for the zeroconf-plugin +* fixed a possible bug in the rest-http-plugin when receiving mouse-events. +* incorporated a fix from Colin Cochran "forwarded touch events are not transformed into the GL UIView“ +" - * examples/osgQtBrowser/QGraphicsViewAdapter.cpp, - examples/osgQtBrowser/QGraphicsViewAdapter.h: Fixed warnings -2009-12-10 17:52 robert - * include/osgViewer/api/Cocoa/GraphicsHandleCocoa, - include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - include/osgViewer/api/Cocoa/PixelBufferCocoa, - src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/PixelBufferCocoa.mm: From Stephan Huber, "attached - you'll find the missing GraphicsHandleCocoa-implementation." +Mon, 7 Oct 2013 09:33:46 +0000 +Checked in by : Robert OSFIELD +Cleaned up line endings -2009-12-10 12:58 robert +Fri, 4 Oct 2013 20:42:23 +0000 +Checked in by : Robert OSFIELD +Added support for automatically select Lua 5.2 is it's available, then falling back to checking for Lua 5.1 otherwise. - * ChangeLog, README.txt: Updated ChangeLog and README.txt for 2.9.6 - dev release +Fri, 4 Oct 2013 19:48:03 +0000 +Checked in by : Robert OSFIELD +Moved code across to use lua_userdata to manage pointer to osg::Object that is ref()/unref() -2009-12-10 12:14 robert +Fri, 4 Oct 2013 16:30:25 +0000 +Checked in by : Robert OSFIELD +Added support for Lua 5.2 and osg::Object creation from within Lua scripts. - * AUTHORS.txt: Updated AUTHORS file for 2.9.6 dev release +Fri, 4 Oct 2013 16:29:45 +0000 +Checked in by : Robert OSFIELD +Added createObject() interface -2009-12-10 12:13 robert +Fri, 4 Oct 2013 16:28:49 +0000 +Checked in by : Robert OSFIELD +Updated version number after 3.3.0 dev release - * applications/osgversion/Contributors.cpp: Updated Contributors - list to workaround typos in ChangeLog +Thu, 3 Oct 2013 16:20:29 +0000 +Checked in by : Robert OSFIELD +Fixed errors in Contributors list -2009-12-10 11:46 robert +Thu, 3 Oct 2013 08:45:57 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, RayIntersector implementation - * ChangeLog: Updated ChangeLog +Wed, 2 Oct 2013 13:59:00 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald and Robert Osfield, "When a serializer shared library is loaded it registers all of the wrappers it contains. The registration creates a prototype object for all of the wrapped classes. For some of the higher-level classes this can be a bit heavy.I noticed a problem with a model which required a single class from +osgSim. When osgdb_serializers_osgsim.so was loaded it registered +wrappers and created prototype objects for all of the osgSim classes, +including osgSim::ScalarBar. The constructor for that class creates +several drawables, and loads arial.ttf using the freetype plugin. I +don't need that, and don't even ship the font or plugin with my +application, resulting in an unexplained warning message loading +the model. -2009-12-10 11:30 robert +I've modified the ObjectWrapper class to defer the prototype object +creation until if & when actually required." - * src/osgWrappers/osgAnimation/Timeline.cpp: Updated wrappers -2009-12-10 11:30 robert - * src/osgPlugins/ive/DataOutputStream.h: From Stephan Huber, " I am - getting a warning that the class DataOutputStream has virtual - methods but no virtual d'tor, so I added the keyword virtual to - the destructor." +Wed, 2 Oct 2013 11:29:58 +0000 +Checked in by : Robert OSFIELD +From Dmitry Marakasov, "These are FreeBSD bits for src/osgPlugins/osc/osc/OscHostEndianness.h, required to build newever OSG on this OS. Also corrects file name in the error message - I was confused not to find OSCHostEndianness.h after I've got this error.Tested by successfully building OSG 3.2.0 with this patch on FreeBSD +9.1." -2009-12-10 11:16 robert - * src/osgText/Text3D.cpp: Fixed bug in positioning of 3d text - characters -2009-12-09 23:42 cedricpinson +Wed, 2 Oct 2013 11:28:38 +0000 +Checked in by : Robert OSFIELD +Re-ordered the public/protected sections to keep the public section all together - * src/osgAnimation/Timeline.cpp: From Cedric Pinson, add missing - file +Wed, 2 Oct 2013 11:09:29 +0000 +Checked in by : Robert OSFIELD +From Björn Hein, "it seems that for generating "per vertex normals" as stated in the comment, two of them are missing. This results in wrong display of STL-files regarding normals. Following simple fix seems to work:Index: ReaderWriterSTL.cpp +=================================================================== +--- ReaderWriterSTL.cpp (Revision 13797) ++++ ReaderWriterSTL.cpp (Arbeitskopie) +@@ -108,6 +108,8 @@ + ++itr) + { + perVertexNormals->push_back(*itr); ++ perVertexNormals->push_back(*itr); ++ perVertexNormals->push_back(*itr); + } -2009-12-09 18:45 cedricpinson + geom->setNormalArray(perVertexNormals.get(), +osg::Array::BIND_PER_VERTEX); +" - * include/osgAnimation/AnimationManagerBase, - include/osgAnimation/Interpolator, - include/osgAnimation/RigTransformSoftware, - include/osgAnimation/Timeline, - include/osgAnimation/TimelineAnimationManager, - src/osgAnimation/RigGeometry.cpp, - src/osgAnimation/TimelineAnimationManager.cpp, - src/osgAnimation/UpdateCallback.cpp: From Cedric Pinson, - Add check in RigTransformSoftware if bones are null - Indent TimelineAnimationManager - Add check for NaN in UpdateCallback.cpp - Fix TimelineAnimationManager clear target (a refactore of - Timeline is require for futur) - Fix Computation of bounding box for RigGeometry -2009-12-09 14:34 robert - * src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/Geometry.cpp, src/osgWrappers/osg/Image.cpp: - Updated wrappers +Tue, 1 Oct 2013 19:34:21 +0000 +Checked in by : Robert OSFIELD +Fixed build with no automatic ref_ptr<> conversion -2009-12-09 13:55 robert +Tue, 1 Oct 2013 19:31:48 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS files - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Fixed - support for compiling VBO's +Tue, 1 Oct 2013 19:00:02 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog in prep for dev release -2009-12-09 13:51 robert +Tue, 1 Oct 2013 17:01:21 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, "I'm working with OSG and a customer low-level OpenGL library.To make easier "lazy apply" on the customer OpenGL shaders, the easiest way was to add an accessor to current OSG state's UniformMap. - * include/osg/Drawable, include/osg/Geometry, src/osg/Drawable.cpp, - src/osg/Geometry.cpp: Added a Geometry::compileGLObjects() to - handle compilation of VBO + EBO's. +I've also added accessors for modes and texture, since it could be usefull in the same way. -2009-12-09 13:13 robert +All methods are const, so I think there is no side-effects." - * include/osgFX/Outline: From Ulrich Hertlein, removed email - address -2009-12-09 10:18 robert - * src/osgPlugins/osgFX/CMakeLists.txt, - src/osgPlugins/osgFX/IO_Outline.cpp: From Ulrich Hertlein, .osg - support for osgFX::Outline +Tue, 1 Oct 2013 16:20:20 +0000 +Checked in by : Robert OSFIELD +From Björn Blissing, "I propose making the following outputs a little bit more silent. In my mind it would suffice with OSG_DEBUG (compared to OSG_NOTICE) for these information messages." -2009-12-09 09:37 robert +Tue, 1 Oct 2013 09:37:56 +0000 +Checked in by : Robert OSFIELD +From Christopher Baker, submitted by Alberto Luacas, "there is a bug report in the Ubuntu tracker that points to a bug when loading multiple VRML files in parallel. Christopher R. Baker has detected this bug and crafted a patch. In addition, libcoin has to be also built with the "--enable-threadsafe" option.I copy here his report, extracted from +(https://bugs.launchpad.net/ubuntu/+source/openscenegraph/+bug/1211993) +and attach his fix. All credit is due to him: - * src/osgFX/Outline.cpp: Compile fixes for GLES +« +There are three instances of a classical method-local-static +multithreaded initialization bug in the Inventor plugin for OSG that +trigger various memory faults when reading multiple VRML files in +parallel via osgDB::readNodeFile. These bugs are of the form: -2009-12-09 09:36 robert +static std::map myHandyMap; +static bool once = true; +if(once) { ...fill myHandyMap; once = false } +... use myHandyMap; - * include/osgFX/Outline: From Robert Milharcic, added missing - OSGFX_EXPORT +To repeat: try loading multiple VRML files from multiple threads. The +liklihood of the bug depends on many factors, but my application, which +parallel-loads some dozens of small (<100K) VRML files on startup, +triggers this problem 25% of the time or more. -2009-12-08 17:41 robert +The attached patch (inventor-plugin-multithread.patch) rectifies this +problem by: - * examples/CMakeLists.txt, examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osgoutline, examples/osgoutline/CMakeLists.txt, - examples/osgoutline/osgoutline.cpp, include/osgFX/Outline, - runexamples.bat, src/osgFX/CMakeLists.txt, src/osgFX/Outline.cpp: - 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." +1 - Inheriting MyHandyMap from std::map, then +2 - Moving the map initialization into the derived constructor, which +3 - Is intrinsically protected from multithread issues by g++ (and is +part of the C++ standard), unless you pass -fno-threadsafe-statics, +which is strongly discouraged by the man page. +» +" -2009-12-08 17:41 robert - * include/osg/GL: From Thomas Halgarth, mods for Iphone GL headers -2009-12-08 17:33 robert +Tue, 1 Oct 2013 09:11:26 +0000 +Checked in by : Robert OSFIELD +From Adrien Grandemange, "On Windows 7 and 8, mouse messages are generated in addition to touch messages, which leads to duplicate PUSH, DRAG and RELEASE events in OSG. Besides, the mouse and touch messages referring to the same user input are not necessarily sent at the same time, due to gesture translation done by Windows by default, such as double-tap => double-click and long-push => right-click. The delay between the 2 types of messages is more noticeable on Windows 8 and leads to serious disruptions in our application.Mouse messages generated by touch input are only present for legacy support. I think they should be filtered out by OSG (real click events originating from a physical mouse will of course still go through). - * src/osg/Texture1D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp: Added check for image compatibility - with existing texture object, releasing the existing texture - object in cases when the new image size/pixel format is not - compatible. +This is what this patch does, according to this suggestion: http://msdn.microsoft.com/en-us/library/dd693088%28v=VS.85%29.aspx (third issue in this page)." -2009-12-08 17:25 robert - * include/osg/Image, src/osg/Image.cpp: From Sukender, "I - experienced as some users before: I tried to rescale an image - without a valid rendering context... And had problems to - unserstand what the "GL_OUT_OF_MEMORY" meant! So I added a few - comments for future users." -2009-12-08 16:58 robert +Tue, 1 Oct 2013 09:05:18 +0000 +Checked in by : Robert OSFIELD +From Thomas Hogarth, "Attached is a small build fix for PointSprite when compiling under GLES2 (r13788)GL_POINT_SPRITE_OES does not exist in GLES2, instead you just draw using GL_POINTS then use gl_PointSize in a vertex shader to set the size." - * src/osg/Texture2D.cpp: Fixed typo -2009-12-08 16:02 robert - * src/osg/Texture2D.cpp: From Fabien Lavignotte, "i have a problem - with my application, i am currently playing with - Texture2D::SubloadCallback to optimize my image data transfer, - and also avoid double buffering when using a drawing thread. - There is a small bug with your change and SubloadCallback, the - texture object is destroy at each call of Texture2D::apply - because the modified count is never updated when using - SubloadCallback. - I have made a small fix to avoid that, see attachement." - - From Robert Osfield, added an if (_image.valid()) before the - getModified() that Fabien added to avoid problems when no _image - is assigned but an subload callback is. - -2009-12-08 15:39 robert - - * src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageSequence.cpp: Updated wrappers - -2009-12-08 15:38 robert - - * include/osg/Image: Added virtual declaration for a range of - osg::Image method to allow easier customization. - -2009-12-08 14:40 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2009-12-08 14:25 robert - - * src/osg/Texture2D.cpp: Added catch for changes in image pixel - format and dimensions so that the texture object is released when - the image changes enough to warrant a new texture object. - -2009-12-07 16:45 robert - - * src/osgUtil/GLObjectsVisitor.cpp: Re-order the setting of the - VBO's - -2009-12-07 12:35 robert - - * include/osgViewer/api/Cocoa/PixelBufferCocoa: Converted tabs to - four spaces - -2009-12-05 10:13 robert - - * src/osgWrappers/osgAnimation/StatsHandler.cpp: Updated wrappers - -2009-12-05 10:02 robert - - * include/osgAnimation/StatsHandler: Removed unimplemented - updateGraph method - -2009-12-04 17:25 robert - - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Tatsuhiro - Nishioka, "> The workaround/solution was to add a block of code - at the end of the - > loader to un-premultiply the alpha (now in the codebase). - - Applying the code brightens the semi-transparent portion, but the - black edges are still there (same on both osgviewer and - FlightGear). - Therefore I believe that the alpha channel is completely ignored - (on png, gif, tiff, etc...). I tweaked and tweaked and finally - got a workaround. - - Please commit the enclosed file to fix these issues. - - My workaround is a bit tricky (and some lines are even weird for - me), but it resolves the black edges. - These workarounds also work on GIF, TIFF, TGA, and PSD as long as - I've tested so far. - - Please read this for more info on this issue: - http://macflightgear.sourceforge.net/home/development-notes/devnote-dec-02-2009 - http://macflightgear.sourceforge.net/home/development-notes/devnote-dec-03-2009 - - I'm very happy if some of you guys find a better means of solving - the black edges. - - " - -2009-12-04 17:24 robert - - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: Converted tabs to - four space - -2009-12-04 11:31 robert - - * src/osgPlugins/3ds/AUTHORS, src/osgPlugins/3ds/CMakeLists.txt, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.cpp, - src/osgPlugins/3ds/WriterCompareTriangle.h, - src/osgPlugins/3ds/WriterNodeVisitor.cpp, - src/osgPlugins/3ds/WriterNodeVisitor.h, - src/osgPlugins/3ds/atmosphere.cpp, - src/osgPlugins/3ds/atmosphere.h, - src/osgPlugins/3ds/background.cpp, - src/osgPlugins/3ds/background.h, src/osgPlugins/3ds/camera.cpp, - src/osgPlugins/3ds/camera.h, src/osgPlugins/3ds/chunk.cpp, - src/osgPlugins/3ds/chunk.h, src/osgPlugins/3ds/chunktable.h, - src/osgPlugins/3ds/config.h, src/osgPlugins/3ds/ease.cpp, - src/osgPlugins/3ds/ease.h, src/osgPlugins/3ds/file.cpp, - src/osgPlugins/3ds/file.h, src/osgPlugins/3ds/lib3ds, - src/osgPlugins/3ds/lib3ds/AUTHORS, - src/osgPlugins/3ds/lib3ds/COPYING, - src/osgPlugins/3ds/lib3ds/README, - src/osgPlugins/3ds/lib3ds/lib3ds.h, - src/osgPlugins/3ds/lib3ds/lib3ds_atmosphere.c, - src/osgPlugins/3ds/lib3ds/lib3ds_background.c, - src/osgPlugins/3ds/lib3ds/lib3ds_camera.c, - src/osgPlugins/3ds/lib3ds/lib3ds_chunk.c, - src/osgPlugins/3ds/lib3ds/lib3ds_chunktable.c, - src/osgPlugins/3ds/lib3ds/lib3ds_file.c, - src/osgPlugins/3ds/lib3ds/lib3ds_impl.h, - src/osgPlugins/3ds/lib3ds/lib3ds_io.c, - src/osgPlugins/3ds/lib3ds/lib3ds_light.c, - src/osgPlugins/3ds/lib3ds/lib3ds_material.c, - src/osgPlugins/3ds/lib3ds/lib3ds_math.c, - src/osgPlugins/3ds/lib3ds/lib3ds_matrix.c, - src/osgPlugins/3ds/lib3ds/lib3ds_mesh.c, - src/osgPlugins/3ds/lib3ds/lib3ds_node.c, - src/osgPlugins/3ds/lib3ds/lib3ds_quat.c, - src/osgPlugins/3ds/lib3ds/lib3ds_shadow.c, - src/osgPlugins/3ds/lib3ds/lib3ds_track.c, - src/osgPlugins/3ds/lib3ds/lib3ds_util.c, - src/osgPlugins/3ds/lib3ds/lib3ds_vector.c, - src/osgPlugins/3ds/lib3ds/lib3ds_viewport.c, - src/osgPlugins/3ds/lib3ds_float.cpp, - src/osgPlugins/3ds/lib3ds_float.h, src/osgPlugins/3ds/light.cpp, - src/osgPlugins/3ds/light.h, src/osgPlugins/3ds/material.cpp, - src/osgPlugins/3ds/material.h, src/osgPlugins/3ds/matrix.cpp, - src/osgPlugins/3ds/matrix.h, src/osgPlugins/3ds/mesh.cpp, - src/osgPlugins/3ds/mesh.h, src/osgPlugins/3ds/node.cpp, - src/osgPlugins/3ds/node.h, src/osgPlugins/3ds/quat.cpp, - src/osgPlugins/3ds/quat.h, src/osgPlugins/3ds/readwrite.cpp, - src/osgPlugins/3ds/readwrite.h, src/osgPlugins/3ds/shadow.cpp, - src/osgPlugins/3ds/shadow.h, src/osgPlugins/3ds/tcb.cpp, - src/osgPlugins/3ds/tcb.h, src/osgPlugins/3ds/tracks.cpp, - src/osgPlugins/3ds/tracks.h, src/osgPlugins/3ds/types.h, - src/osgPlugins/3ds/vector.cpp, src/osgPlugins/3ds/vector.h, - src/osgPlugins/3ds/viewport.cpp, src/osgPlugins/3ds/viewport.h: - From Sukender, - "Here is our freshly baked 3DS reader/writer (named 'v0.5' to - differentiate from previous one). Changes are against trunk rev. - 10819. - Short changelog (from rev 10819): - - Added 3DS writer - - Sync'd with latest lib3DS - - Added options, especially "flattenMatrixTransforms" to get the - "old" behaviour (else the reader correctly maps to OSG the - transforms from the 3DS file). - - What should be done: - - Check with pivot points, with and without - "flattenMatrixTransforms" option. - - We ran tests on it, but we can never be 100% sure there is no - bug. Testing from the community would of course be helpful." - -2009-12-04 09:57 robert - - * src/osgShadow/SoftShadowMap.cpp: From Mathieu Marache, "I - replaced the Vec4 by a float and used only the x component of the - shadow2DProj . This works on my apple box." - -2009-12-02 18:58 robert - - * src/osgPlugins/ffmpeg/FFmpegClocks.cpp, - src/osgPlugins/ffmpeg/FFmpegClocks.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp: From Julen - Garcia,"I've been lately working also with the ffmpeg plugin and - I implemented pause(), seek() and getReferenceTime(). I think - that I have solved the internal clock issues (maybe not in the - most elegant way :?" - -2009-12-02 14:58 robert - - * src/CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgWrappers/CMakeLists.txt: From Farshid Lashkari, "I had to - make a few small changes to some cmake files to enable the - OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS option for - Visual Studio 2008." - -2009-12-02 14:21 robert - - * include/osgGA/SphericalManipulator, - src/osgGA/SphericalManipulator.cpp: From Nico Kruithof, "Attached - is a patch that makes the spherical manipulator frame rate - independent. This is similar to what Lee did for the trackball - manipulator a couple of months ago." - -2009-12-02 12:37 robert - - * src/osg/BufferObject.cpp: Quitened down debug info - -2009-12-02 12:37 robert - - * examples/CMakeLists.txt, examples/osggpx, - examples/osggpx/CMakeLists.txt, examples/osggpx/osggpx.cpp: Added - osggpx example to demonstate how to use the XmlParser and create - line models. - - To use : - - osggpx myterrainmodel.ive -t mytrack.gpx - -2009-12-01 19:40 robert - - * src/osgDB/XmlParser.cpp: Quiten down debugging message - -2009-11-30 13:44 robert - - * src/osgWrappers/osg/CullSettings.cpp: Updated wrappers - -2009-11-27 18:14 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Attempted compile - fix. - -2009-11-27 16:47 robert - - * src/osgSim/OverlayNode.cpp: From Christian Ehrlicher, "during - profiling my program I found out that there's a lot of memory - (de)allocation going on in OverlayNode::cut(). - - So instead creating inner-loop variables 'distances' and - 'newVertices' - every time, I moved the creation out of the loop and just do a - clear() + - reserve() inside the loop. This allows std::vector<> to reuse the - old - memory instead allocating new when the new size <= oldsize." - -2009-11-27 15:48 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Jason Daly, "The DDS - reader test for DXT1 images with 1-bit alpha wasn't thorough - enough. It performed the first check (color_0 <= color_1), but it - didn't actually scan the texel block to see if the transparent - color (0x03) was there. As a result, DXT1 files without any alpha - were getting switched to RGBA format (instead of being left just - RGB). - - The attached code fixes this problem." - -2009-11-27 15:39 robert - - * examples/osg2cpp/osg2cpp.cpp: From Jean-Sebastien Guay, - Explanation: - - Currently osg2cpp removes "\n" line endings to replace them with - a textual equivalent ("\\n") in order for the string representing - the shader to contain line endings in the string. But if the file - that was read contained Windows line endings ("\r\n"), the - resulting file looked really weird (the \r were left there and - editors interpreted that as an additional newline). Also, I can - imagine that if the shader file that was read had Mac line - endings ("\r") then the output shader would all end up in one - long line since there are no "\n"... - - What I've done: - - I've added a search and replace of "\r\n" to "\n", and then "\r" - to "\n" (note that the order is important). - - I've also changed the filename handling so that the output file - will be put in the same directory as the input file in case it - was specified with a path. Previous functionality is retained for - files specified with the filename only."" - -2009-11-27 15:35 robert - - * src/osgPlugins/pdf/ReaderWriterPDF.cpp: From Wang Rui, "I just - successfully built the pdf plugin on Windows XP and MSVC and - fixed a small bug then: - - ReaderWriterPDF.cpp, line 133, change: - - std::string uri = std::string("file:") + foundFile; - - to: - - #if defined(WIN32) && !defined(__CYGWIN__) - std::string uri = std::string("file:///") + foundFile; - #else - std::string uri = std::string("file:") + foundFile; - #endif - - - That's because glib accepts "file:///C:\\data\\file.pdf" as URIs - on - Windows, as well as "file:/home/data/file.pdf" on Unix, but - "file:C:\\data\\file.pdf" is not recognized. - - Now I could read my Chinese translation of OSGQSG with osgpdf. - :P" - -2009-11-27 15:32 robert - - * include/osg/Camera, include/osg/CullSettings, src/osg/Camera.cpp, - src/osgUtil/CullVisitor.cpp: From Paul Martz, "This change - address the following issue: an app opens a Viewer on a - multidisplay system, configured to setUpViewAcrossAllDisplays, - with a non-default clear mask. In this case, OSG failed to - propagate the clear mask to the slave Cameras, resulting in the - clear mask being ignored. To fix this issue, this revision adds a - new CullSettings::VariablesMask bit, CLEAR_MASK, to explicitly - control inheritance of the clear mask. This bit is set by - default, which means that the clear mask now inherits by default, - whereas previously it did not." - -2009-11-27 12:21 robert - - * src/osgDB/FileUtils.cpp: From Chris Denham, "I discovered what - seems to be a missing call to FreeLibrary for osgDB.dll The - result of this is that it prevents me from dynamically unloading - my DLL (which uses OSG). This is because initialisation of the - osg::Registry instance results in a call to GetModuleHandleEx (to - get the filename of the DLL). This call to GetModuleHandleEx - increments the module refcount, but there was no matching call to - FreeLibrary for the returned handle. Unlike the old - GetModuleHandle function, GetModuleHandle does (by default) - increment the refcount. - - I have added the missing call to FreeLibrary in - osgDB::FileUtils., and now my the runtime unload of MY dll is - working properly. It has also cured some related problems I was - having with memory leak checks being reported. - - I have attached a fix to osgDB/FileUtils.cpp based on version - 2.9.5 svn revision 10374 - " - -2009-11-27 12:17 robert - - * src/osgPlugins/dot/ReaderWriterDOT.cpp: From Cory Riddell, "Small - edit to ReaderWriterDOT.cpp. It wasn't checking the file - extension - and so, if the .dot plugin was loaded, it would happily handle - any file - name extension. - - To reproduce the bug, first save a scene to a dot file (to load - the dot - plugin), then try to write the scene to an osg file. If you look - at the - osg file, you will see that it is a dot file." - -2009-11-27 11:48 robert - - * src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Texture.cpp: Updated wrappers - -2009-11-27 11:43 robert - - * include/osg/BufferObject, src/osg/BufferObject.cpp, - src/osg/Texture.cpp: Implement - deleteAllTextureObject/BufferObjects functionality. - - Cleaned up warnings. - -2009-11-26 12:33 robert - - * include/osg/BufferObject, include/osg/GLObjects, - include/osg/Texture, src/osg/BufferObject.cpp, - src/osg/GLObjects.cpp, src/osg/GraphicsContext.cpp, - src/osg/Texture.cpp: Introduced preliminary - osg::deleteAllGLObjects() and osg::discardAllGLObjects() - functions and associated support into Texture and BufferObjects - -2009-11-26 10:12 robert - - * examples/osgcamera/osgcamera.cpp: Added check for Geometry - pointer being valid - -2009-11-25 16:31 robert - - * examples/osgcamera/osgcamera.cpp: For testing purposes added code - path and options for testing viewer creation in series, including - with enabling of VBO's. Options are: - - osgcamera -r 5 --vbo cow.osg - - Which repeats construction of the viewer 5 times in a row, and - enables VBO, and on each repeat a new model is loaded. - - osgcamera -r 2 --vbo --shared cow.osg - - Which repeats construction of the viewer 2 times in a row, and - enables VBO, and on each loads the model once and shares it - between each instance of the viewer. - -2009-11-25 16:20 robert - - * examples/osgcamera/osgcamera.cpp: Added support for repeating - viewer construction - -2009-11-25 11:31 robert - - * examples/CMakeLists.txt, examples/osgmultiviewpaging, - examples/osgmultiviewpaging/CMakeLists.txt, - examples/osgmultiviewpaging/osgmultiviewpaging.cpp: From Sergey - Leontyev, example for testing of DatabasePaging and CompositeView - usage - -2009-11-24 15:26 robert - - * src/osgWrappers/osgParticle/Particle.cpp: Updated wrappers - -2009-11-24 15:00 robert - - * examples/osgparticle/osgparticle.cpp, - include/osgParticle/Particle, src/osgParticle/Particle.cpp: 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. - The texture in data/Images should be copied to osg-data. I - created the texture myself with the help of an explosion - generator, so no license issues there. - " - -2009-11-24 14:32 robert - - * src/osgUtil/SceneView.cpp: From Farshid Lashkari, - "I've attached a small fix to osgUtil::SceneView so that is uses - a scissor test when clearing the stencil buffer for stencil based - stereo." - - and - - "I've added another small change for stencil based stereo, so - please use this newer version. This newer version simplifies the - calls to glOrtho and glRecti when drawing the stipple pattern. - This change also happens to fix an issue where the stencil stereo - would not work with certain viewport settings. I'm not exactly - sure why this was happening, it might be a graphics driver issue, - but either way I think the changes should be fine." - -2009-11-24 14:22 robert - - * src/osgViewer/PixelBufferWin32.cpp: From Lilin Xiong, "when using - stlport5.3 (vc 2003) , this line cann't be compiled: - _instances[0] = new WGLExtensions; - change to: - _instances[HGLRC(0)] = new WGLExtensions;" - -2009-11-24 14:20 robert - - * src/osgWrappers/osgText/Text.cpp: Updated wrappers - -2009-11-24 14:12 robert - - * include/osgText/Text, src/osgText/Text.cpp: From Terry Welsh, "As - I mentioned here - http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg33967.html - , interpolating through HSV space gives a rainbow color effect - which - does not mimic the simple RGB color interpolation that OpenGL - does. - It's overkill and causes unexpected visual artifacts. In the - attached - files I've removed the conversion to HSV so that interpolation - happens - in RGB space." - -2009-11-24 13:28 robert - - * include/osg/Vec2d, include/osg/Vec2f, include/osg/Vec2s, - include/osg/Vec3d, include/osg/Vec3f, include/osg/Vec3s, - include/osg/Vec4d, include/osg/Vec4f, include/osg/Vec4s: Rewrote - the Vec *= Vec and Vec /= Vec implementations using inline Vec - componentMultiply(Vec,Vec) and Vec componentDivide(Vec,Vec) to - avoid confusion about the what the operation does. - -2009-11-24 13:24 robert - - * include/osg/Texture, src/osg/Texture.cpp: From Wojciech - Lewandowski, "I have extended a list of texture targets that can - be used with shadow comparison. These targets are avaialble in in - OpenGL 3.x shadow sampler variants. Changes are based on current - SVN." - -2009-11-23 11:00 robert - - * src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/osgTerrain/ImageLayer.cpp: From Chris Hanson, " - Add support for "OutputTextureFiles" option to IVE plugin to - permit creation of external - .dds texture files from internally-embedded textures during IVE - writes." - - From Robert Osfield, fixed a bug in the above submission, and - changed the way that the filename of the file is passed into - DataOutputStream to avoid issues with the .ive's plugins ability - to read from istreams. - -2009-11-23 10:19 robert - - * include/osgDB/FileUtils, src/osgDB/FileNameUtils.cpp, - src/osgDB/FileUtils.cpp: From Chris Hanson, " Add support for - requesting and setting the current directory (a la getcwd/chdir) - via a - C++-friendly string-class API. - - Prevent osgDB::concatPaths from faulting if the supplied "left" - path string is empty." - -2009-11-23 10:01 robert - - * include/osg/Vec2d, include/osg/Vec2f, include/osg/Vec3d, - include/osg/Vec3f, include/osg/Vec4d, include/osg/Vec4f: From - Chris Hanson, " Adds support for Vec /= Vec and Vec *= Vec - operators to Vec2/Vec3/Vec4 double and float - classes." - -2009-11-23 09:54 robert - - * include/osg/Version: Updated version - -2009-11-23 09:53 robert - - * src/osg/Version.in: From Paul Martz, typo fixes - -2009-11-22 17:27 robert - - * include/osgViewer/api/Win32/GraphicsWindowWin32: Added missing - createContextImplementation(). - -2009-11-21 16:41 robert - - * include/osgViewer/api/Carbon/GraphicsHandleCarbon, - include/osgViewer/api/Carbon/GraphicsWindowCarbon, - include/osgViewer/api/Carbon/PixelBufferCarbon, - include/osgViewer/api/Win32/GraphicsHandleWin32, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/Win32/PixelBufferWin32, - include/osgViewer/api/X11/GraphicsHandleX11, - include/osgViewer/api/X11/GraphicsWindowX11, - include/osgViewer/api/X11/PixelBufferX11, - src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/PixelBufferCarbon.cpp, - src/osgViewer/PixelBufferWin32.cpp, - src/osgViewer/PixelBufferX11.cpp, - src/osgViewer/ScreenCaptureHandler.cpp: From Colin MacDonald, "In - my application I have a custom graphics context class, derived - from - osg::GraphicsContext, in order to give good integration with the - application's GUI toolkit. This works really well. - - However, I need to share OpenGL texture resources with the - standard - osgViewer GraphicsContext implementations, in particular the - PixelBuffers. This is essential for my application to conserve - graphics - memory on low-end hardware. Currently the standard osg - implementations - will not share resources with another derived - osg::GraphicsContext, - other than the pre-defined osgViewer classes e.g. PixelBufferX11 - is - hardcoded to only share resources with GraphicsWindowX11 and - PixelBufferX11 objects, and no other osg::GraphicsContext object. - - To address this in the cleanest way I could think of, I have - moved the - OpenGL handle variables for each platform into a small utility - class, - e.g. GraphicsHandleX11 for unix. Then GraphicsWindowX11, - PixelBufferX11 - and any other derived osg::GraphicsContext class can inherit from - GraphicsHandleX11 to share OpenGL resources. - - I have updated the X11, Win32 and Carbon implementations to use - this. - The changes are minor. I haven't touched the Cocoa implmentation - as - I'm not familiar with it at all and couldn't test it - it will - work - unchanged. - - Without this I had some horrible hacks in my application, this - greatly - simplifies things for me. It also simplifies the osgViewer - implementations slightly. Perhaps it may help with other users' - desires to share resources with external graphics contexts, as - was - discussed on the user list recently." - - Notes from Robert Osfield, adapted Colin's submission to work - with the new EGL related changes. - -2009-11-20 14:51 robert - - * include/osgDB/ReadFile, src/osgDB/ReadFile.cpp: From Chris - Hanson, " Remove vestigial (and because it was undocumented, - potentially harmful) code to ignore - filenames starting with a dash "-" character from the - (std::vector&) version - of osgDB::readNodeFiles. Handling of argument strings is properly - implemented in the - osgDB::readNodeFiles(osg::ArgumentParser& arguments,const - Options* options) - variant, which most code uses. The (std::vector&) - version is only called by - the osgconv utility, which does its own argument handling and - stripping prior to calling - readNodeFiles(). - - Also, documented this behaviour in the header comments. - - I believe this code removal is a meritful change because leavign - the code in causes an - unexpected and undocumented behaviour (ignoring any filename - starting with a dash) that - could bite users in the future. This behaviour is not needed for - existing functionality - because existing code uses other APIs to handle dash-prefixed - arguments anyway. - - " - -2009-11-20 14:40 robert - - * src/osgViewer/Scene.cpp: Moved the ImagePager update to before - the main scene graph update traversal - -2009-11-20 14:39 robert - - * src/osgViewer/Scene.cpp: From Wang Rui, "I've made a small fix to - osgViewer/Scene.cpp, which is already attached. I would like to - explain what I've done and why. - - In Scene::updateSceneGraph(), change: - - if (getSceneData()) - { - updateVisitor.setImageRequestHandler(getImagePager()); - getSceneData()->accept(updateVisitor); - } - if (getDatabasePager()) - { - // synchronize changes required by the DatabasePager thread to - the scene graph - getDatabasePager()->updateSceneGraph((*updateVisitor.getFrameStamp())); - } - - to - - if (getDatabasePager()) - { - // synchronize changes required by the DatabasePager thread to - the scene graph - getDatabasePager()->updateSceneGraph((*updateVisitor.getFrameStamp())); - } - if (getSceneData()) - { - updateVisitor.setImageRequestHandler(getImagePager()); - getSceneData()->accept(updateVisitor); - } - - That is, just swap the positions of two 'if () {...}' segments. - - While working on a paged terrain, I need to collect every newly - allocated PagedLODs and make them temporarily unrenderable in the - next frame, which are all done in a update callback. But I found - that these PagedLODs will always be shown before collecting them, - because of the unsuitable sequence in Scene::updateSceneGraph(). - DatabasePager is synchronized AFTER the user updating traversal, - that is, user cannot IMMEDIATELY find out changes made by - DatabasePager. - " - -2009-11-20 14:31 robert - - * examples/osgmovie/osgmovie.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp: From Rafa Gaitan, - "Current ffmpeg plugin didn't support pause and seek, I have - added this - functionality and I also modified osgmovie example to support - "seek"." - - Note from Robert Osfield, changes osgmovie to use '>' for the - seek as '+' was already used in a separate submission that had - been merged. - -2009-11-20 14:15 robert - - * src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/osgTerrain/TerrainTile.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2009-11-20 12:32 robert - - * src/osgUtil/SceneView.cpp: From Farshid Lashkari, "I noticed that - the code for rendering vertical interlace, horizontal interlace, - and checkerboard stereo are practically identical, except for the - stipple pattern. I combined the code blocks for rendering the 3 - stereo modes into a single block. I also fixed a small issue with - retrieving stats in checkerboard stereo mode." - -2009-11-20 11:46 robert - - * src/osgPlugins/xine/video_out_rgb.c: From David Callu, "I have a - Segfault with xine plugin, when I load a video, then delete the - XineStreamImage, - then reload a video and finally delete the second - XineStreamImage. - - In src/osgPlugins/xine/video_out_rgb.c, many code is ASM code, - and 'clear()' function is one of them. - If OSG is compiled without the flag COMPILE_ASSEMBLY (default - behaviours) the clear() function is an empty - function and allocated memory is never initialized to 0. So a - structure which contain pointer haven't its pointer set to NULL. - And when we need to delete this pointer, all go bad. - - I join the fixed file." - -2009-11-20 11:43 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Colin McDonald, - "Reading from a stream the 3ds plugin crashes if the options are - null." - -2009-11-20 11:39 robert - - * src/osg/GraphicsContext.cpp: From Himar Carmona, " this - submission resolves an issue regarding the setup of a slave - camera with an (incorrect) coding style. Sharing the same - instance of osg::Viewport with a camera and a slave camera causes - incorrect rescaling in GraphicsContext::resizedImplementation, - due to the viewport being rescaled twice (once per camera). - Though viewports sharing is not intentional, it can be done with - the current version of OSG and be a potential pitfall for anyone. - - As Robert pointed out, i opted for modifying the resize code - where the break is to minimize code changes, avoiding the - duplicate resize of the viewport with the use of a vector and a - search for duplicates. Not very elegant (avoiding an effect of a - cause), another approach could be ripping out the method - osg::Camera::setViewport(osg::Viewport*) which is more inline - with Roberts rationale behind not to share viewports between - cameras and left only its overloaded method - setViewport(x,y,width,height). But this approach need some - refactoring due to the intense use of the method. Notice also - that the resize works well without this change if no sharing - occurs, and the user of the method can opt for always call - setViewport with a new instance. - " - - Note from Robert Osfield, changed this submission to use an - std::set rather than an std::vector<> as it keeps the - code a bit cleaner and more compact. - -2009-11-20 11:25 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From Stewart Andreason, - "When I open the Window Attributes (in WindowManager in X on - linux) I am unable to save any changes to the attributes in the - resource database, because the osg window does not have a class - defined. The Window Specification and Save buttons are greyed - out. - - For example, when running FlightGear, I want the window to always - have no title, so it opens full-screen without using the - --full-screen option, which would prevent other windows from - moving above the osg window. - - I am attaching a patch I made to fix this problem." - -2009-11-20 11:18 robert - - * CMakeModules/FindOSG.cmake: From Nico Kruithof, "This patch makes - sure that FindOSG.cmake finds OSG when it is compiled - as a 64 bit library, as the libraries are installed in the lib64 - directory and not lib" - -2009-11-20 11:08 robert - - * include/osgTerrain/GeometryTechnique, - include/osgTerrain/TerrainTechnique, - include/osgTerrain/TerrainTile, - src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/TerrainTile.cpp: From Jason Beverage, "I posted a - question on osg users about resources not being properly released - when using osgTerrain databases and multiple viewers are used a - few weeks ago and I've found that at least part of the problem - comes down to the fact that the nodes that are traversed by the - GeometryTechnique are never actually added to the scene graph, - and thus don't have releaseGLObjects called on them. I'm - submitting a few changes that takes care of this by allowing the - TerrainTechnique to provide a releaseGLObjects implementation. - I've applied these changes in osgEarth and this example program - no longer crashes on the second run, although I get corrupt - geometry (see attached shot) which could be down to a driver - issue. If I increment the context ID for the second viewer, I no - longer get the corrupt geometry. - - The attached changes are against OpenSceneGraph 2.8.2. - - //Sample program. Run against an osgEarth or VPB database based - on osgTerrain. - #include - #include - - int main(int argc, char** argv) - { - osg::ArgumentParser arguments(&argc,argv); - - osgViewer::Viewer* viewer = new osgViewer::Viewer(); - viewer->setUpViewInWindow(100, - 100,500,500); - osg::ref_ptr loadedModel = - osgDB::readNodeFiles(arguments); - viewer->setSceneData( loadedModel.get() ); - viewer->run(); - delete viewer; - - viewer = new osgViewer::Viewer(); - viewer->setUpViewInWindow(100,100,500,500); - loadedModel = osgDB::readNodeFiles(arguments); - viewer->setSceneData( loadedModel.get() ); - viewer->run(); - delete viewer; - }" - -2009-11-20 10:56 robert - - * src/osgPlugins/svg/ReaderWriterSVG.cpp: From Jeremy Moles, - "Somehow, the SVG reader plugin has gone all this time without - actually - being able to accurately provide the cool stuff that SVG is good - for. :) - There is a one-line bug on line 68 in the - src/osgPlugins/svg/ReaderWriterSVG.cpp file where you can set the - width - in the Options string, but not the height." - -2009-11-20 10:54 robert - - * examples/osgmovie/osgmovie.cpp: From Cedric Pinson, "here an - update of osgmovie example with the following features: - - play and pause now stop and play all streams given in the - command line - (not only the first) - - add key + - to increase decrease the speed of all streams - - add key o to display all stream frame rate - " - -2009-11-20 10:48 robert - - * CMakeLists.txt, CMakeModules/FindDirectShow.cmake, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/directshow, - src/osgPlugins/directshow/CMakeLists.txt, - src/osgPlugins/directshow/DirectShowTexture, - src/osgPlugins/directshow/DirectShowTexture.cpp, - src/osgPlugins/directshow/ReaderWriterDirectShow.cpp: From Cedric - Pinson, "Here an update of the directshow plugin. It fixes issues - with - synchronization, improve capture device support. - - here how to use it to display a capture device: - - osg::Options* options = new osg::Options; - options->setPluginStringData("captureWantedWidth", "800"); - options->setPluginStringData("captureWantedHeight", "600"); - options->setPluginStringData("captureWantedFps", "30"); - options->setPluginStringData("captureVideoDevice", "USB Video - Device" ); - options->setPluginStringData("captureSoundDevice", ""); - then - osgDB::readImageFile("capture.directshow", options) - you can use a graphedit application to list devices available in - directshow. - - - for classic avi file you just need to do a - osgDB::readImageFile("file.avi.directshow"); - You will need of course to install the codec needed by directshow - to - read the avi files. - - I recommand this tool http://avicodec.duby.info/, that check - which - video/sound codec is needed to play an avi file. - - - You can test it with the osgmovie example. - " - -2009-11-20 10:27 robert - - * include/osgDB/Output, src/OpenThreads/pthreads/PThread.c++: From - David Fries, "I was trying to create a lot of threads under 32 - bit Linux, but could - only create 376, then the program would hang. - 376 * 8MB stack per thread = 3008 MB - The stack size allocated per thread blew the process address - stack. - To get more threads you have to specify a smaller per thread - stack, - but while the Thread::start says it will limit the stack size to - the - smallest allowable stack size, it won't let it be smaller than - the - default. I included the limits.h header to use PTHREAD_STACK_MIN - as - the minimum stack size. - - As for the deadlock, if the pthread_create failed, the new thread - doesn't exist and doesn't call threadStartedBlock.release(), so - the - existing thread deadlocks on threadStartedBlock.block(). Only - block - if the thread was started." - -2009-11-20 09:05 robert - - * src/osgPlugins/fbx/fbxRMesh.cpp: Added #include - - -2009-11-20 09:03 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.h: From Jan Ciger, removal - of declaration of now undefined method. - -2009-11-19 17:42 robert - - * src/osgManipulator/Dragger.cpp: From Stephan Huber, "attached - you'll find a bugfix for removeTransformUpdating and another - similar remove-method. - - The old code removed an element from a vector, which invalidates - the - iterator of the loop This resulted in a crash on certain - platforms. Now - the erasing is done the right way without invalidating the - iterator." - -2009-11-19 17:27 robert - - * include/osg/Texture: From Lilin Xiong, added missing OSG_EXPORT - -2009-11-19 17:22 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: From - Vincent Gadoury, "In osgViewer::Viewer and - osgViewer::CompositveViewer, the DOUBLECLICK event type was not - considered as a "pointer event" and thus was receiving the event - state coordinates and button mask. As a result, a double-click - event always had a button mask not including the double-clicked - button, even if double-click event is a "button push" event. - - The modification consists only in including - osgGA::GUIEventAdapter::DOUBLECLICK in the list of "pointerEvent" - events. - - Test done to reproduce the problem and check the fix: in any osg - application or example with an HandleInput function, break on - events with a double-click event type. Without the changes, the - event's buttonMask does not contain the double-clicked button. - With the changes, it does. - - Only simple tests (running some examples and playing with the - mouse) were done to check that the changes do not break anything, - since double-click is not used thoroughly in OSG. - - Modification done against current SVN Trunk version (r10753). - - As this is a fix, I do not wish to keep my copyright on this - submission and assign it over to the project lead. - " - -2009-11-19 17:18 robert - - * src/OpenThreads/pthreads/PThread.c++: From Donn Mielcarek, "I'm - surprised this hasn't come up before, but the function - Thread::setProcessorAffinity - always returns -1, even if the call is successful. I added return - statements to each of the function calls." - -2009-11-19 17:17 robert - - * src/OpenThreads/pthreads/PThread.c++: Fixed tabs - -2009-11-19 16:53 robert - - * include/OpenThreads/Atomic: Fixed spacing - -2009-11-19 16:45 robert - - * src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Nico Krulthof, - remove double qualifier of ReaderWriterQT constructor/destructor. - -2009-11-19 16:43 robert - - * CMakeLists.txt: Changed the placement of the autogenerated - Version file so it drops into the in source directory. - -2009-11-19 16:39 robert - - * src/osgUtil/RenderStage.cpp: From Wojciech Lewandowski, refactor - to FBO setup to use the osg::Camera implicit buffer attachements. - -2009-11-19 16:06 robert - - * src/osgPlugins/vrml/IndexedFaceSet.cpp, - src/osgPlugins/vrml/Primitives.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h: From Jan Ciger, build - fixes to work with OpenVRML 0.18.3. - - Tweaks to this submission from Robert Osfield to fix missing - elements in submission. - -2009-11-19 12:54 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp: From Ulrich Hertlein, "ttached are - some tweaks to the Obj loader that allows a program supplied - osgDB::Options object to be passed through the code. This allows - for caching to be used with images. - - The patched loader also complains more loudly if a material - library file wasn't found or if a referenced material wasn't - found in the material library." - -2009-11-19 12:39 robert - - * src/osg/Texture.cpp: From Tugkan Calapoglu, "we started to have - problems with textures after a recent svn update. I - was able to follow the problem until following addition to - Texture.cpp: - - // GLES doesn't cope with internal formats of 1,2,3 and 4 so map - them to - the appropriate equivilants. - - if (_internalFormat==1) _internalFormat = GL_ALPHA; - if (_internalFormat==2) _internalFormat = GL_LUMINANCE_ALPHA; - if (_internalFormat==3) _internalFormat = GL_RGB; - if (_internalFormat==4) _internalFormat = GL_RGBA; - - - The problem is that internal format "1" corresponds to - GL_LUMINANCE, not - GL_ALPHA. I double checked this from the Red Book. Fixed version - is - attached to the email." - -2009-11-19 12:01 robert - - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/ScreenCaptureHandler.cpp: From Jean-Sebastien Guay, - "I've made a change to the ScreenCaptureHandler's - addCallbackToViewer method, so that it iterates over - GraphicsContexts instead of GraphicsWindows. When the viewer has - a pbuffer (for offscreen rendering without a window) then it - wouldn't add the WindowCaptureCallback to that context since it - wasn't in the list returned by ViewerBase::getWindows(). And - anyways, I originally wrote the code, and I didn't see any reason - why I did it with windows instead of contexts... - - I've needed to run a recorded simulation offscreen and save it to - a sequence of images, and the ScreenCaptureHandler seemed to be - the simplest way to do that, and with this change it's possible. - - - Another change: I've also added the ability to specify continuous - capture of all frames, or a certain number of frames. - ScreenCaptureHandler now has a setFramesToCapture(int) method. - The argument will be interpreted as: - - 0 : don't capture - <0 : capture continuously - >0 : capture that number of frames then stop - - I also added startCapture() and stopCapture() methods so that - user code can start capturing (either continuously or the given - number of frames) at a given point in their program. - setFramesToCapture() won't start capturing, you have to call - startCapture() afterwards. The handler also now has another key - to toggle continuous capture (defaults to 'C'). - - Note that continuous capture will of course only work if the - CaptureOperation writes to different files (for example, a - WriteToFile with SEQUENTIAL_NUMBER mode) or does something - different each time... Otherwise it will just overwrite of - course. :-) - - I've also taken the chance to refactor the addCallbackToViewer() - method a bit too, since finding the right camera is needed in two - places now. - - I've tested all cases (I think). If you want to try, in - osgviewer.cpp and replace the line - - // add the screen capture handler - viewer.addEventHandler(new osgViewer::ScreenCaptureHandler); - - with - - // add the screen capture handler - osgViewer::ScreenCaptureHandler* captureHandler = new - osgViewer::ScreenCaptureHandler( - new osgViewer::ScreenCaptureHandler::WriteToFile( - "screenshot", "jpg", - osgViewer::ScreenCaptureHandler::WriteToFile::SEQUENTIAL_NUMBER), - -1); - viewer.addEventHandler(captureHandler); - captureHandler->startCapture(); - - And vary the "-1" (put 0, 10, 50) and then use the 'c' and 'C' - keys and see how it reacts. - " - -2009-11-19 11:54 robert - - * include/osgViewer/ViewerEventHandlers: Fixed spaces at ends of - lines - -2009-11-19 11:44 robert - - * CMakeLists.txt, CMakeModules/FindFBX.cmake, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/fbx, - src/osgPlugins/fbx/CMakeLists.txt, - src/osgPlugins/fbx/ReaderWriterFBX.cpp, - src/osgPlugins/fbx/ReaderWriterFBX.h, - src/osgPlugins/fbx/fbxRAnimation.cpp, - src/osgPlugins/fbx/fbxRAnimation.h, - src/osgPlugins/fbx/fbxRCamera.cpp, - src/osgPlugins/fbx/fbxRCamera.h, - src/osgPlugins/fbx/fbxRLight.cpp, src/osgPlugins/fbx/fbxRLight.h, - src/osgPlugins/fbx/fbxRMesh.cpp, src/osgPlugins/fbx/fbxRMesh.h, - src/osgPlugins/fbx/fbxRNode.cpp, src/osgPlugins/fbx/fbxRNode.h, - src/osgWrappers/osgWidget/EventInterface.cpp, - src/osgWrappers/osgWidget/Widget.cpp: From Michael Platings, - "This plugin adds support for the Autodesk FBX file format. It - imports animations, including skeletal and morph animations, - hence all my previous submissions to osgAnimation. The plugin - won't build without the changes made in the "osgAnimation small - additions" submission (14th August). - The plugin requires the FBX SDK to be installed, available from - http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=6837478" - -2009-11-19 11:30 robert - - * examples/osgwidgetbox/osgwidgetbox.cpp, - include/osgWidget/EventInterface: 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. - - I also changed the osgwidgetbox example so the ColorWidget is - receiving events again." - -2009-11-19 11:21 robert - - * examples/osgviewerWX/osgviewerWX.cpp, - examples/osgviewerWX/osgviewerWX.h: From J.P. Delport, "simple - addition to make the scroll wheel work in the example." - -2009-11-19 11:16 robert - - * src/osgUtil/DelaunayTriangulator.cpp: From Fabien Lavignotte, "I - have used the osgUtil::DelaunayTriangulator to insert roads into - a - terrain. The triangulator is quite tricky to use properly but - works - quite well, constraint triangulation is not an easy task... I - have - encounter some crash during the development that the following - patch - fix. - The two fixes are : - - Fix in removeVerticesInside() : needs to take into account - UByte and - UShort version of DrawElements to avoid a crash later - - Fix a crash in triangulate() : detect degenerate adjacency case - to - exit early form the adjacent triangle traversal loop to avoid a - crash - later" - -2009-11-19 10:47 robert - - * examples/osgintrospection/CMakeLists.txt, - examples/osgintrospection/osgintrospection.cpp: Fixed build - -2009-11-19 10:12 robert - - * src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/State.cpp: Updated wrappers - -2009-11-19 10:10 robert - - * include/osg/Camera, include/osg/DisplaySettings, - src/osg/Camera.cpp, src/osg/DisplaySettings.cpp: From Wojciech - Lewandowski, "Building on earlier Paul's submission "[osg-users] - Main branch MSFBO support change", I have added implicit buffer - mask variables to DisplaySettings for setting global defaults for - Camera FBOs. These mask variables are named after variables in - Camera class. In Paul's submission they were named - _renderBufferMask & _resolveBufferMask but I renamed them to - _implicitBufferAttachmentRenderMask & - _implicitBufferAttachmentResolveMask. DisplaySettings - implementation includes reading of environment vars and command - line options. Setters and getters follow typical OSG naming - convention. I also updated names of ImplictBufferAttachment enum - bits to match changed naming scheme. - - DisplaySettings now define COLOR and DEPTH as defaults for - implicit buffers. Consequently Camera by default uses the same - defaults through USE_DISPLAY_SETTINGS_MASK. However, particular - Camera mask can be easily overriden through - Camera::setImplicitBufferAttachmentMask method. I hope, that in - this way we can have global control over implicit buffer - defaults, and we can still retain fine grained control at Camera - level. - - I have also replaced original unsigned ints used to store masks - to signed ints because complier resolves enums as signed integer - (I got a number of warnings with unsigned int)." - -2009-11-18 18:19 robert - - * src/osg/CMakeLists.txt: Removed include/osg/Config as it was - causing problem with Windows build - -2009-11-18 16:24 robert - - * CMakeLists.txt, include/osg/Version, src/osg/CMakeLists.txt, - src/osg/Config.in, src/osg/Version.in: Moved the set of - include/osg/Version into Cmake - -2009-11-18 14:08 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: From Lee Butler, "The - attached ZIP file contains a modified OBJ file format reader - which - makes smoothing optional for verticies which do not have a normal - associated with them in the OBJ input file. The previous behavior - was - to always smooth at all verticies which did not have surface - normals. - In this new implementation smoothing is on by default to be - compatible - with previous behavior. The user can now specify the - "generateFacetNormals" - option to the reader to use facet normals for verticies where the - OBJ - file does not specify a normal." - - Note from Robert Osfield, changed "noSmoothing" naming used by - Lee to "generateFacetNormals". - -2009-11-18 13:00 robert - - * CMakeLists.txt, src/osg/CMakeLists.txt, src/osg/Timer.cpp: From - Pau Garcia i Quiles, "On Linux/Unix, when you change the system - time (for instance, using - settimeofday), OSG animations will freeze your application - because - osg::Timer uses gettimeofday internally on non-Win32 platforms. - This - is wrong and should be replace with times(2) or clock_gettime(2). - - The attached patch fixes the issue in a binary-compatible way by - using - clock_gettime when it's available, and falling back to - gettimeofday - when it's not." - -2009-11-18 12:50 robert - - * include/osg/State: Fixed primCount default value - -2009-11-18 12:15 robert - - * CMakeLists.txt, applications/present3D/Cluster.cpp, - examples/osgQtBrowser/QGraphicsViewAdapter.cpp, - examples/osgautocapture/CMakeLists.txt, - examples/osgcluster/broadcaster.cpp, - examples/osgintrospection/osgintrospection.cpp, include/osg/Math, - include/osgPresentation/AnimationMaterial, - src/osgDB/DynamicLibrary.cpp, src/osgDB/Registry.cpp, - src/osgPlugins/dxf/DXFWriterNodeVisitor.h, - src/osgSim/LightPointNode.cpp, src/osgUtil/ShaderGen.cpp: From - Mathias Froechlich, "Attached the collected fixes I needed to - compile with all of them. - Most notable the __hpux define stuff. The __hpux__ variant seems - to be not - defined which resulted in a compile error at this time. - Consequently I have - replaced all occurances of __hpux__ with __hpux. And huge - surprise: now osg - plugins are found and loaded correctly ... - The next notable one is the MSVC_IDE fix which makes the nmake - Makefiles cmake - generator target behave like the ide one. Showed up because I - started to do - scripted builds with nmake instead of devenv... - The rest is the usual bunch of stuff that just happens during - normal - coding ..." - -2009-11-18 11:26 robert - - * src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/Shader.cpp, src/osgWrappers/osg/State.cpp, - src/osgWrappers/osgAnimation/Action.cpp, - src/osgWrappers/osgAnimation/ActionVisitor.cpp, - src/osgWrappers/osgAnimation/Bone.cpp, - src/osgWrappers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/osgAnimation/Skeleton.cpp, - src/osgWrappers/osgAnimation/Skinning.cpp, - src/osgWrappers/osgAnimation/StatsVisitor.cpp, - src/osgWrappers/osgAnimation/UpdateCallback.cpp, - src/osgWrappers/osgText/Font.cpp: Updated wrappers - -2009-11-18 11:25 robert - - * include/osg/Shader, src/osg/Shader.cpp: Added - osg::ShaderBinary::readShaderBinaryFile(..) static method - -2009-11-17 15:54 robert - - * src/osg/State.cpp, src/osg/StateSet.cpp, - src/osgUtil/SceneView.cpp: Moved across to use - OSG_FIXED_FUNCTION_AVAILABLE - -2009-11-17 14:06 robert - - * include/osg/AudioStream, include/osg/NodeTrackerCallback, - include/osgGA/NodeTrackerManipulator, include/osgWidget/Util, - src/osg/GraphicsContext.cpp, src/osg/Notify.cpp, - src/osgAnimation/StatsHandler.cpp, src/osgDB/DatabasePager.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgShadow/ConvexPolyhedron.cpp, src/osgText/String.cpp, - src/osgUtil/DelaunayTriangulator.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/Simplifier.cpp, src/osgUtil/TriStripVisitor.cpp, - src/osgUtil/TriStrip_graph_array.h, - src/osgUtil/TriStrip_tri_stripper.h, src/osgViewer/View.cpp, - src/osgWidget/Box.cpp: , and - includes required for QNX compiler - -2009-11-17 12:55 robert - - * CMakeLists.txt, examples/CMakeLists.txt, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/png/CMakeLists.txt, - src/osgPlugins/png/ReaderWriterPNG.cpp: Added - OSG_CPP_EXCEPTIONS_AVAILABLE cmake option to enable optional - build of plugins and examples that required C++ exceptions - -2009-11-17 12:54 robert - - * src/osgPlugins/ive/AlphaFunc.cpp, - src/osgPlugins/ive/AnimationPath.cpp, - src/osgPlugins/ive/AnimationPathCallback.cpp, - src/osgPlugins/ive/AnisotropicLighting.cpp, - src/osgPlugins/ive/AutoTransform.cpp, - src/osgPlugins/ive/AzimElevationSector.cpp, - src/osgPlugins/ive/AzimSector.cpp, - src/osgPlugins/ive/Billboard.cpp, - src/osgPlugins/ive/BlendColor.cpp, - src/osgPlugins/ive/BlendEquation.cpp, - src/osgPlugins/ive/BlendFunc.cpp, - src/osgPlugins/ive/BlinkSequence.cpp, - src/osgPlugins/ive/BumpMapping.cpp, - src/osgPlugins/ive/Camera.cpp, src/osgPlugins/ive/CameraView.cpp, - src/osgPlugins/ive/Cartoon.cpp, src/osgPlugins/ive/ClipNode.cpp, - src/osgPlugins/ive/ClipPlane.cpp, - src/osgPlugins/ive/ClusterCullingCallback.cpp, - src/osgPlugins/ive/ColorMask.cpp, - src/osgPlugins/ive/CompositeLayer.cpp, - src/osgPlugins/ive/ConeSector.cpp, - src/osgPlugins/ive/ConvexPlanarOccluder.cpp, - src/osgPlugins/ive/ConvexPlanarPolygon.cpp, - src/osgPlugins/ive/CoordinateSystemNode.cpp, - src/osgPlugins/ive/CullFace.cpp, - src/osgPlugins/ive/DOFTransform.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/Depth.cpp, - src/osgPlugins/ive/DirectionalSector.cpp, - src/osgPlugins/ive/DrawArrayLengths.cpp, - src/osgPlugins/ive/DrawArrays.cpp, - src/osgPlugins/ive/DrawElementsUByte.cpp, - src/osgPlugins/ive/DrawElementsUInt.cpp, - src/osgPlugins/ive/DrawElementsUShort.cpp, - src/osgPlugins/ive/Drawable.cpp, src/osgPlugins/ive/Effect.cpp, - src/osgPlugins/ive/ElevationSector.cpp, - src/osgPlugins/ive/EllipsoidModel.cpp, - src/osgPlugins/ive/Exception.h, src/osgPlugins/ive/FadeText.cpp, - src/osgPlugins/ive/Fog.cpp, - src/osgPlugins/ive/FragmentProgram.cpp, - src/osgPlugins/ive/FrontFace.cpp, src/osgPlugins/ive/Geode.cpp, - src/osgPlugins/ive/Geometry.cpp, src/osgPlugins/ive/Group.cpp, - src/osgPlugins/ive/HeightFieldLayer.cpp, - src/osgPlugins/ive/Image.cpp, src/osgPlugins/ive/ImageLayer.cpp, - src/osgPlugins/ive/ImageSequence.cpp, - src/osgPlugins/ive/Impostor.cpp, src/osgPlugins/ive/LOD.cpp, - src/osgPlugins/ive/Layer.cpp, src/osgPlugins/ive/Light.cpp, - src/osgPlugins/ive/LightModel.cpp, - src/osgPlugins/ive/LightPoint.cpp, - src/osgPlugins/ive/LightPointNode.cpp, - src/osgPlugins/ive/LightSource.cpp, - src/osgPlugins/ive/LineStipple.cpp, - src/osgPlugins/ive/LineWidth.cpp, src/osgPlugins/ive/Locator.cpp, - src/osgPlugins/ive/Material.cpp, - src/osgPlugins/ive/MatrixTransform.cpp, - src/osgPlugins/ive/MultiSwitch.cpp, - src/osgPlugins/ive/MultiTextureControl.cpp, - src/osgPlugins/ive/Multisample.cpp, src/osgPlugins/ive/Node.cpp, - src/osgPlugins/ive/Object.cpp, - src/osgPlugins/ive/OccluderNode.cpp, - src/osgPlugins/ive/OcclusionQueryNode.cpp, - src/osgPlugins/ive/PagedLOD.cpp, src/osgPlugins/ive/Point.cpp, - src/osgPlugins/ive/PointSprite.cpp, - src/osgPlugins/ive/PolygonMode.cpp, - src/osgPlugins/ive/PolygonOffset.cpp, - src/osgPlugins/ive/PolygonStipple.cpp, - src/osgPlugins/ive/PositionAttitudeTransform.cpp, - src/osgPlugins/ive/PrimitiveSet.cpp, - src/osgPlugins/ive/Program.cpp, src/osgPlugins/ive/ProxyNode.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/ive/Scissor.cpp, src/osgPlugins/ive/Scribe.cpp, - src/osgPlugins/ive/Sequence.cpp, - src/osgPlugins/ive/ShadeModel.cpp, src/osgPlugins/ive/Shader.cpp, - src/osgPlugins/ive/Shape.cpp, - src/osgPlugins/ive/ShapeAttributeList.cpp, - src/osgPlugins/ive/ShapeDrawable.cpp, - src/osgPlugins/ive/SpecularHighlights.cpp, - src/osgPlugins/ive/StateSet.cpp, src/osgPlugins/ive/Stencil.cpp, - src/osgPlugins/ive/Switch.cpp, - src/osgPlugins/ive/SwitchLayer.cpp, - src/osgPlugins/ive/TerrainTile.cpp, - src/osgPlugins/ive/TexEnv.cpp, - src/osgPlugins/ive/TexEnvCombine.cpp, - src/osgPlugins/ive/TexGen.cpp, src/osgPlugins/ive/TexGenNode.cpp, - src/osgPlugins/ive/TexMat.cpp, src/osgPlugins/ive/Text.cpp, - src/osgPlugins/ive/Text3D.cpp, src/osgPlugins/ive/Texture.cpp, - src/osgPlugins/ive/Texture1D.cpp, - src/osgPlugins/ive/Texture2D.cpp, - src/osgPlugins/ive/Texture3D.cpp, - src/osgPlugins/ive/TextureCubeMap.cpp, - src/osgPlugins/ive/TextureRectangle.cpp, - src/osgPlugins/ive/Transform.cpp, src/osgPlugins/ive/Uniform.cpp, - src/osgPlugins/ive/VertexProgram.cpp, - src/osgPlugins/ive/Viewport.cpp, - src/osgPlugins/ive/VisibilityGroup.cpp, - src/osgPlugins/ive/Volume.cpp, - src/osgPlugins/ive/VolumeCompositeLayer.cpp, - src/osgPlugins/ive/VolumeCompositeProperty.cpp, - src/osgPlugins/ive/VolumeImageLayer.cpp, - src/osgPlugins/ive/VolumeLayer.cpp, - src/osgPlugins/ive/VolumeLocator.cpp, - src/osgPlugins/ive/VolumePropertyAdjustmentCallback.cpp, - src/osgPlugins/ive/VolumeScalarProperty.cpp, - src/osgPlugins/ive/VolumeSwitchProperty.cpp, - src/osgPlugins/ive/VolumeTile.cpp, - src/osgPlugins/ive/VolumeTransferFunctionProperty.cpp: Converted - .ive plugin from using C++ exceptions to using a local - equivelant, enabling the build on embedded systems. - -2009-11-17 11:36 robert - - * src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp: Removed usage of - throw - -2009-11-16 17:50 robert - - * src/osg/Shader.cpp: Fixed Shader constructor - -2009-11-16 16:09 robert - - * src/osgPlugins/stl/ReaderWriterSTL.cpp: Replaced catch usage - -2009-11-16 15:47 robert - - * src/osgPlugins/ac/ac3d.cpp: Removed catch - -2009-11-16 15:17 robert - - * src/osgUtil/TriStrip_graph_array.h, - src/osgUtil/TriStrip_heap_array.h, - src/osgUtil/TriStrip_tri_stripper.cpp: Removed throw. - -2009-11-16 14:58 robert - - * src/osg/BufferObject.cpp, src/osg/Texture.cpp: Removed throw. - -2009-11-16 14:47 robert - - * src/osg/BufferObject.cpp, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osgUtil/TriStripVisitor.cpp, - src/osgUtil/TriStrip_tri_stripper.cpp, - src/osgUtil/TriStrip_tri_stripper.h: Removed usaged of throw and - catch to enable better compatibility with embedded systems that - don't support C++ exceptions efficiently. - -2009-11-16 12:32 robert - - * include/osg/Shader, src/osg/Shader.cpp: Added new - osg::ShaderBinary class, and support for it in osg::Shader. - -2009-11-13 13:52 robert - - * examples/osganimationhardware/osganimationhardware.cpp: From - Cedric Pinson, "After fixing Skeleton, i introduce a compile - issue in - osganimationhardware example - I added a #include to fix it - " - -2009-11-13 13:42 robert - - * src/osg/ArrayDispatchers.cpp: Moved the GLBeginEndAdapter support - out of the blocks of the "#if - defined(OSG_GL_VERTEX_FUNCS_AVAILABLE) && - !defined(OSG_GLES1_AVAILABLE)" guarded blocks. - - Fixed the number of components being passed as - GLBeginEndAdatper::TexCoord*fv. - -2009-11-13 13:39 cedricpinson +Mon, 30 Sep 2013 18:32:41 +0000 +Checked in by : Robert OSFIELD +From Jeffrey Kinross, "I ran into an issue with case sensitivity on OS X and the OSXAVFoundation code. In CMakeList.txt there is a case sensitivity issue which a fix was posted by Robert Osfield in the users forum.I also had to rename the files OSXAvFoundationCoreVideoTexture.h and OSXAvFoundationCoreVideoTexture.cpp to OSXAVFoundationCoreVideoTexture.h and OSXAVFoundationCoreVideoTexture.cpp - * include/osgAnimation/Skeleton, src/osgAnimation/Skeleton.cpp: - From Cedric Pinson, Fix Skeleton to compute correctly bind - matrix, fix compile issue on osganimationhardware after fixing - Skeleton +Finally in OSXAvFoundationCoreVideoTexture.cpp the include OSXAVFoundationVideo.H was updated to OSXAVFoundationVideo.h" -2009-11-13 13:25 robert - * src/osg/Geometry.cpp: Added optional finer grained checks for GL - errors within Geometry::drawImplementation() to help track down - GL errors. - - Turned off the vertex attribute aliasing in ArrayDispatchers when - the GLBeginEndAdapter is used. -2009-11-13 12:51 robert +Mon, 30 Sep 2013 18:15:51 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I have a scene that makes heavy use of the StateSet::compare method and my profiler showed that a lot of time was being spent inside it. I made a small change to the method so that it performs a quick size comparison between the attribute/mode lists and bin mode before iterating through all the attributes. This made a noticeable improvement in my scene. I've attached the change." - * src/osgViewer/View.cpp: Added dummy StateSet at top of scene - graph when using ShaderGen to copy with subgrahs that contain no - StateSet +Mon, 30 Sep 2013 10:28:14 +0000 +Checked in by : Robert OSFIELD -2009-11-13 10:03 robert - * include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: From Paul Martz, osgViewer - Win32 GL3 context creation support +Fri, 27 Sep 2013 18:43:35 +0000 +Checked in by : Robert OSFIELD +Unified Vec/Plane/Quat handling code. -2009-11-13 09:56 robert +Fri, 27 Sep 2013 13:04:04 +0000 +Checked in by : Robert OSFIELD +Added support for getting Vec* and Matrix objects from Lua stack and assigning them as OSG object properties. - * include/osg/GraphicsContext, include/osg/Texture: Added missing - export +Thu, 26 Sep 2013 17:27:49 +0000 +Checked in by : Robert OSFIELD +Initial cut of setting and getting osg::Object properties within Lua scripts -2009-11-12 19:39 robert +Tue, 24 Sep 2013 15:17:42 +0000 +Checked in by : Robert OSFIELD +Added support for passing parameters in and out of scripts.Implemented support for osg::ValueObject in LuaScriptEngine. - * src/osg/Texture.cpp: Introduced the usage of - GL_MAX_TEXTURE_IMAGE_UNITS where support in place of the check of - GL_MAX_TEXTURE_UNITS. -2009-11-12 14:35 robert - * include/osg/GLBeginEndAdapter, src/osg/GLBeginEndAdapter.cpp, - src/osg/PrimitiveSet.cpp, src/osg/StateSet.cpp, - src/osg/Texture.cpp: Adapted GLBeginEndAdapter to use - state.drawQuad(..) rather than use it's local GL_QUADS emulation. - - Fixed to osg::Texture for GLES support. - - Added automatic GLenum mode mappings in osg::PrimitiveSet to - provide a fallback for non support glDrawArray/glDrawElement - modes. - - Added finer gained error checking during StateSet::compile(). +Tue, 24 Sep 2013 15:08:23 +0000 +Checked in by : Robert OSFIELD +Changed NodeVisitor so that is subclasses from osg::Object rather than osg::Referenced to enable it to be used with serialization and scripting -2009-11-12 12:19 robert +Tue, 24 Sep 2013 08:56:47 +0000 +Checked in by : Robert OSFIELD +Removed redundent spaces - * src/osgText/Text.cpp: Introdced usage of State::drawQuads +Mon, 23 Sep 2013 14:10:36 +0000 +Checked in by : Robert OSFIELD +Added test for osgGA::GUIEventAdapter -2009-11-12 12:18 robert +Fri, 20 Sep 2013 15:43:24 +0000 +Checked in by : Robert OSFIELD +Removed unnceccesary setNumChildrenRequiringUpdateTraversal from VolumeTile constructor. - * include/osg/State, src/osg/State.cpp: Introduced new - State::drawQuads(..) convinience method to help out with mapping - GL 1.x style calls to GLES2.0 compatible calls. +Fri, 20 Sep 2013 10:44:24 +0000 +Checked in by : Robert OSFIELD +Added initial cut of white and black lists -2009-11-12 12:14 robert +Fri, 20 Sep 2013 10:25:23 +0000 +Checked in by : Robert OSFIELD +Added compoundClassName() convinience method to standardize the generation of the compoundClassName. - * src/osg/GLBeginEndAdapter.cpp: Fixed winding of GL_QUADS mapping +Fri, 20 Sep 2013 10:04:50 +0000 +Checked in by : Robert OSFIELD +Added type maps to help with querrying supported type names -2009-11-12 12:07 robert +Thu, 19 Sep 2013 16:19:32 +0000 +Checked in by : Robert OSFIELD +Introduce osgDB::PropetyInterface class that provided a generic interface for get/setting properties on scene graph objects, utilizing the osgDB serializers to do the actual interface query and set/gets. - * examples/osggeometry/osggeometry.cpp: Improved compatibility with - GLES2 +Thu, 19 Sep 2013 16:18:20 +0000 +Checked in by : Robert OSFIELD +Removed unneccessary return -2009-11-11 15:25 robert +Wed, 11 Sep 2013 15:44:08 +0000 +Checked in by : Robert OSFIELD +Added access methods to Serializer to help with using wrappers for other purposes such as script integration.Added Vec*i and Vec*ui support to serializers - * include/osg/DisplaySettings, include/osg/GraphicsContext, - src/osg/DisplaySettings.cpp, src/osg/GraphicsContext.cpp, - src/osgViewer/View.cpp: Added glContexVersion, glContextFlags and - glContextProfileMask members to osg::GraphicsContext::Traits to - support GL3 graphics context creation. - - Moved the handling of DisplaySettings into Traits constructor. - - Added support for s/getGLContextVersion(), s/getGLContextFlags() - and s/getGLContextProfileMask() to osg::DisplaySettings. - - Added command line and env var support for setting the - GLContextVersion, GLContextFlags and GLContextProfileMask to - osg::DisplaySettings. -2009-11-11 12:04 robert - * src/osg/FrameBufferObject.cpp: From Paul Martz, enabled - packed_depth_stencil support for GL3 +Tue, 10 Sep 2013 15:17:59 +0000 +Checked in by : Robert OSFIELD +From Giuseppe Donvito, "I'm using OSG 320 and I need to flush a DDS 3D texture on disk. I found a bug on DDS ReaderWriter that generates a false positive on a guard for the size check on writing operation. This is due to a wrong imageSize computation that uses img->getImageSizeInBytes() method instead of img->getTotalSizeInBytes(), that actually ignores the r() dimension, contrariwise taken into account by the function ComputeImageSizeInBytes() later.The line 1062 on file ReaderWriterDDS.cpp should be fixed with: +[code]unsigned int imageSize = img->getTotalSizeInBytes();[/code] +" -2009-11-11 09:15 robert - * src/osg/GLExtensions.cpp: Merged runtime fix for Win32 OpenGLES - build that avoids usage of wglGetProcAddress. -2009-11-10 19:16 robert +Tue, 10 Sep 2013 13:29:28 +0000 +Checked in by : Robert OSFIELD +From Giuseppe Donvito, Fixed typo of "CLEAR_GLOBAL_STATESET = 0x16," to indended "CLEAR_GLOBAL_STATESET = "0x10". - * src/osg/BlendColor.cpp, src/osg/BlendEquation.cpp, - src/osg/BlendFunc.cpp, src/osg/BufferObject.cpp, - src/osg/ClampColor.cpp, src/osg/Drawable.cpp, - src/osg/Multisample.cpp, src/osg/Point.cpp, src/osg/Texture.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp: Added - OSG_GLES2_FEATURES and OSG_GL3_FEATURES usage where appropriate +Tue, 10 Sep 2013 09:23:30 +0000 +Checked in by : Robert OSFIELD +Added osgPresentation::Show node and implementations with basic property reporting for various internal nodes of presentation graph -2009-11-10 17:01 robert +Mon, 9 Sep 2013 16:02:32 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "The Python header will look for its libraries using "#pragma comment(lib,"python32_d.lib")" for MSVC. So user-specified libraries will not really be set for the osgdb_python plugin. This small fix may help locate the Python libraries after putting the CMakeLists.txt into src/osgPlugins/python" - * include/osg/FrameBufferObject, include/osg/GL, - src/osg/FrameBufferObject.cpp, src/osg/GL2Extensions.cpp, - src/osg/GLExtensions.cpp, src/osg/PointSprite.cpp, - src/osg/State.cpp, src/osg/Texture.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osgUtil/RenderStage.cpp: Introduced OSG_GL*_FEATURES macros - defined in include/GL that are set to 0 or 1 according to what - the assocoated version of GL is compiled against. - - Removed EXT postfix of FrameBufferObject functions, and added - support for checking non EXT versions frame buffer object GL - functions. - - Introduced usage of OSG_GL*_FEATURES to avoid some #if #else - #endif code blocks. - - Using a submissions from Paul Martz as a guide added perliminary - GL3 support to a range of OSG classes -2009-11-10 14:59 robert - * src/osgViewer/GraphicsWindowX11.cpp: Removed debug message +Mon, 9 Sep 2013 14:58:25 +0000 +Checked in by : Robert OSFIELD +From Colin Cochran, OES support for point sprites -2009-11-10 14:31 shuber +Mon, 9 Sep 2013 13:33:13 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "Add test for GL_EXT_framebuffer_object extension : osg uses osg::FBOExtensions to check if Frame Buffer Objects are available. But this just checks if the fbo functions can be called. It doesn't check if the OpenGL renderer supports fbos. For indirect rendering on linux the client side capability may be different from the display server, which can lead to mipmapped textures failing to render. I've added a fbo extension check. " - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project +Mon, 9 Sep 2013 12:44:36 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "Patch for FindAVFoundation to work with OS X 10.9" -2009-11-10 12:03 robert +Mon, 9 Sep 2013 12:37:52 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "Some developers report that the osgviewerMFC example is broken in 3.2, in which depth test is not enabled by default so all models loaded look awkward. I submit this patch to make it work again. I haven't gone deep to check why previous example goes wrong in newer version but I believe the problem was because the newly created camera object missed some important global statesets before set as the main camera." - * examples/osgvertexattributes/osgvertexattributes.cpp: Changed - default enabling of vertex attribute mapping +Mon, 9 Sep 2013 12:33:18 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "two minor fixes, both in a CMakeList.txt file,1> osgmultiplemovies example does not use SDL so needs no link to SDL -2009-11-10 12:02 robert +2> Added header files to "Plugins osg" project, so visual studio can find the source of + OSG_WARN << "AsciiInputIterator::readProperty(): Unmatched property " +" - * src/osg/Texture2D.cpp: Removed redundant include of GLU -2009-11-10 12:01 robert - * examples/osgshape/osgshape.cpp: Added enabling of lighting, and - disabling of mipmapping to help out testing of GLES2 target -2009-11-10 11:36 robert +Fri, 6 Sep 2013 09:35:56 +0000 +Checked in by : Robert OSFIELD +Initial cut of Audio/Volume/Movie/Image presentation objects - * include/osg/GLBeginEndAdapter, src/osg/GLBeginEndAdapter.cpp: - Added support for mapping GL_QUADS, GL_QUAD_STRIP and GL_POLYGONS - to GL_TRIANGLE equivalents. +Thu, 5 Sep 2013 10:23:05 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "Attached are some fixes to build osg using the Solaris Studio compiler. I've also checked the modified files still build ok with other compilers (Linux gcc, Windows Visual Studio).osgDB/OutputStream.cpp and osgPlugins/lws/SceneLoader.cpp require +stdlib.h for atoi use. -2009-11-10 11:34 robert +In osg/Uniform.cpp the compiler complains that base_class is unknown +unless I add a class name qualifier. - * src/osgViewer/View.cpp: Added the default usage of - ShaderGenVisitor to help with GLES2 testing. +Not a build fix, but I spotted a typo in osgUtil/SceneView." -2009-11-10 11:34 robert - * src/osgViewer/Renderer.cpp: Added state.checkGLErrors() calls to - help in debugging of GLES 2 port -2009-11-10 11:28 robert +Thu, 5 Sep 2013 10:08:09 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "like the "Bug in ProxyNode serializer" Farshid Lashkari found (svn submit 13754) the PagedLOD serializer attempts to read begin and and brackets. Fix is identical (don't read brackets when num_chidren is zero) and applies both to trunk and 3.2 branch." - * src/osgUtil/ShaderGen.cpp: Added disabling of modes that aren't - supported with GLES2 +Thu, 5 Sep 2013 10:04:56 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2009-11-09 11:36 robert +Thu, 5 Sep 2013 08:42:00 +0000 +Checked in by : Robert OSFIELD +From Alberto Luaces, "current versions of ffmpeg render «url_feof» macro as obsolete. The fix is very simple and it is contained in the attached file." - * src/osg/State.cpp, src/osgUtil/RenderStage.cpp: Added GL token - mappings for standard GL errors numbers for when no GLU is - available +Thu, 5 Sep 2013 08:22:27 +0000 +Checked in by : Robert OSFIELD +Added missing Model.cpp -2009-11-06 18:06 robert +Wed, 4 Sep 2013 17:27:26 +0000 +Checked in by : Robert OSFIELD +Moved the property test from the model to presentation to test out the property inheritance scheme - * src/osg/Texture.cpp: Added remapping of internal texture formats - to GL_RGBA etc when just the number of components is used i.e. - - 1 -> GL_ALPHA, - 2 -> GL_LUMINANCE_ALPHA - 3 -> GL_RGB - 4 -> GL_RGBA +Wed, 4 Sep 2013 16:25:18 +0000 +Checked in by : Robert OSFIELD +Added PrintProperties visitor -2009-11-06 16:51 robert +Wed, 4 Sep 2013 15:39:17 +0000 +Checked in by : Robert OSFIELD +Added PrintPropertiesAction to osgPresentation - * examples/osgvertexattributes/osgvertexattributes.cpp: Added - simple textured scene graph test accessible using --texture or -t - command line options. +Wed, 4 Sep 2013 10:33:11 +0000 +Checked in by : Robert OSFIELD +Added Action class NodeVisitor that supports osgPresentation nodes. -2009-11-06 16:09 robert +Tue, 3 Sep 2013 15:50:28 +0000 +Checked in by : Robert OSFIELD +Added test for osgPresentatation::Group::getSupportedProperties() - * src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp, - src/osgUtil/SceneView.cpp: Fixed build with no automatic - conversion of ref_ptr<> to C pointer +Tue, 3 Sep 2013 10:17:06 +0000 +Checked in by : Robert OSFIELD +Added beginings of Text implementation -2009-11-06 16:09 robert +Mon, 2 Sep 2013 10:56:48 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "The ProxyNode serializer was not correctly reading the "Children" field. It conditionally writes the begin/end brackets, depending on whether it has children. However, during input it unconditionally attempts to read the begin/end brackets. I've modified the code to only read the brackets if it has children." - * examples/osganimationhardware/osganimationhardware.cpp: Fixed - build +Mon, 2 Sep 2013 10:56:14 +0000 +Checked in by : Robert OSFIELD +Refactored the use of epsilon in the clamping of the start/end points of the LineSegmentIntersector to better handle numerical precision issues. -2009-11-06 13:53 robert +Mon, 2 Sep 2013 09:12:24 +0000 +Checked in by : Robert OSFIELD +Fixed double copy in StackedTransform copy constructor - * src/osg/GLExtensions.cpp: Added dlsymb settting for QNX +Mon, 2 Sep 2013 08:29:09 +0000 +Checked in by : Robert OSFIELD +Added IO test for new osgPresentation nodes -2009-11-06 10:38 robert +Sun, 1 Sep 2013 17:24:35 +0000 +Checked in by : Robert OSFIELD +Added Audio, Image, Movie, Model and Volume class to osgPresentation. - * src/osgViewer/GraphicsWindowX11.cpp: Cleaned up the EGL context - config set up. +Fri, 23 Aug 2013 16:47:27 +0000 +Checked in by : Robert OSFIELD +Fixed build -2009-11-06 10:31 robert +Fri, 23 Aug 2013 11:42:52 +0000 +Checked in by : Robert OSFIELD +Added color property to FontData parsing - * src/osgViewer/GraphicsWindowX11.cpp: Added EGL error checking and - changed the egl context configuration settings +Thu, 22 Aug 2013 13:39:36 +0000 +Checked in by : Robert OSFIELD +Quitened down debug message -2009-11-05 09:28 robert +Thu, 22 Aug 2013 12:37:49 +0000 +Checked in by : Robert OSFIELD +Removed debug messages - * src/osg/ArrayDispatchers.cpp: Added APIENTRY into - glColor*/glNormal* calls and specialized the calls to just GLES1 +Thu, 22 Aug 2013 12:07:55 +0000 +Checked in by : Robert OSFIELD +Quitened down debug message -2009-11-04 17:26 robert +Thu, 22 Aug 2013 11:18:45 +0000 +Checked in by : Robert OSFIELD +Quitened down debug message - * examples/CMakeLists.txt, include/osg/GL, - src/osg/ArrayDispatchers.cpp: Moved glColor/glNormal definitions - for GLES1.x from include/osg/GL to src/osg/ArrayDispatchers.cpp - to avoid import/export issues on functions. - - Fixed typo of GLES1 in disabling the build of OpenGL1.x/2.x - specific examples +Thu, 22 Aug 2013 10:09:21 +0000 +Checked in by : Robert OSFIELD +Added warning when model file has not be found -2009-11-04 12:17 robert +Thu, 22 Aug 2013 10:05:29 +0000 +Checked in by : Robert OSFIELD +Reduced debug message level, and added a notify message for when an image isn't loaded - * src/osg/State.cpp: Reduced the number of aliased attributes to - fit within the basic 8 attribute location available on basic - GLES2 implementations +Thu, 22 Aug 2013 07:49:22 +0000 +Checked in by : Robert OSFIELD +Added test for serializers and fixed serializers -2009-11-04 12:14 robert +Wed, 21 Aug 2013 19:54:03 +0000 +Checked in by : Robert OSFIELD +Added initial classes for present3D refactor - * src/osg/Notify.cpp: Changed notify to output warnings and - normally messages to std::out +Sun, 18 Aug 2013 18:10:39 +0000 +Checked in by : Robert OSFIELD +Moved old osgPresentation source files to osgPresentation/deprecated subdirectory. -2009-11-04 11:03 robert +Sun, 18 Aug 2013 16:59:11 +0000 +Checked in by : Robert OSFIELD +Moved old present3D sources into local deprecated directory to clean up the main present3D source directory for future refactored present3D - * examples/osgvertexattributes/osgvertexattributes.cpp: Added - --simple option and associated set up of a very simple geometry - and shader scene graph +Fri, 9 Aug 2013 16:51:06 +0000 +Checked in by : Robert OSFIELD +Added initial cut of basic scripting support, introducing an osg::Script object to wrap up the individual scripts, osg::ScriptCallback for assigning a Script as node callback and an osg::ScriptEngine base class that plugins implement to provided support for specific scripting languages.Provided are lua, python and V8 (for javascript) plugins that just open up enough of a link to the respective libs to run a script, there is no scene graph <-> script communication in current implementation. -2009-11-04 11:02 robert - * src/osg/State.cpp: Enabled the vertex aliasing and - projection/modelview uniform setting by default for GLES2 and GL3 - targets -2009-11-03 16:49 robert +Fri, 9 Aug 2013 11:00:55 +0000 +Checked in by : Robert OSFIELD +Removed CameraNode reference - * examples/CMakeLists.txt: Disabled osgteaport for GLES1, GLES2 and - GL3 builds +Fri, 9 Aug 2013 07:46:22 +0000 +Checked in by : Robert OSFIELD +Removed unused includes -2009-11-03 16:48 robert +Fri, 9 Aug 2013 07:38:32 +0000 +Checked in by : Robert OSFIELD +Removed old cursor code - * examples/osgforest/osgforest.cpp: Replaced glColor4fv call with - osg::State::Color(..) +Thu, 8 Aug 2013 17:21:20 +0000 +Checked in by : Robert OSFIELD +Added translucent version of cushion which isn't depth tested to enable one to see the cursor even when it's behind other objects -2009-11-03 16:34 robert +Thu, 8 Aug 2013 16:49:33 +0000 +Checked in by : Robert OSFIELD +Added osgPresentation::Cursor class to wrap up 3D cursor in the scene functionality - * applications/present3D/present3D.cpp, include/osg/ClampColor, - include/osg/GL, include/osg/TexGen, src/osg/Image.cpp, - src/osg/Texture.cpp, src/osg/TextureRectangle.cpp, - src/osgDB/DatabasePager.cpp, src/osgFX/AnisotropicLighting.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/osg/StateSet.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgSim/LightPointDrawable.cpp, - src/osgSim/LightPointSpriteDrawable.cpp, src/osgText/Text.cpp, - src/osgText/Text3D.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/GraphicsWindowWin32.cpp: - From Paul Martz, changes for compiling against OpenGL 3.x +Wed, 7 Aug 2013 17:08:38 +0000 +Checked in by : Robert OSFIELD +Added osgpresentation example as a test bed for new osgPresentation object model.First cut of example test bed is to test how easy it is to build against Lua, V8 and Python for purposes of running embedded scripts. -2009-11-03 15:22 robert - * examples/CMakeLists.txt: Disabled the build of plugins that - aren't supported under GLES. -2009-11-03 11:10 robert +Mon, 5 Aug 2013 12:00:34 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, "I've go some problem with the method "State_Utils::replace" : if the original_phrase is empty, it leads to an infinite loop.Here is a path to prevent this." - * src/osg/GL2Extensions.cpp, src/osg/GLExtensions.cpp, - src/osg/Geometry.cpp, src/osg/StateSet.cpp, - src/osgUtil/SceneView.cpp: Fixed handling of GL function pointer - setup for GLES1/GLES2 targets - - Dropped the fixed function pipeline defaults from StateSet and - SceneView. -2009-11-01 09:51 robert - - * src/osgUtil/SceneView.cpp: Disable the default LightModel for - GLES1 and GLES2 targets -2009-11-01 09:04 robert +Thu, 1 Aug 2013 17:38:34 +0000 +Checked in by : Robert OSFIELD +Added missing initializer for _epsilon - * examples/osgautocapture/osgautocapture.cpp, - include/osgViewer/api/X11/GraphicsWindowX11, src/osg/Image.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Fixed compile issue with - Image.cpp and osgautocapture.cpp under GLES. - - Fixed handling of EGLDisplay in EGL paths of GraphicsWindowX11 +Thu, 1 Aug 2013 11:25:02 +0000 +Checked in by : Robert OSFIELD +From Anish Thomas, added catch for to an empty DrawElementsUInt creation. -2009-10-31 14:44 robert - - * src/osgViewer/PixelBufferX11.cpp: Fixed compile problem due to - name change of getGLXContext to getContext - -2009-10-30 17:16 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Fixed build under GLES2 - -2009-10-30 15:17 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake, - include/osg/ClipPlane, include/osg/GL2Extensions, - include/osg/Light, include/osg/Transform, - include/osgViewer/api/X11/GraphicsWindowX11, - include/osgViewer/api/X11/PixelBufferX11, - src/osgPlugins/osg/StateSet.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, src/osgText/Font.cpp, - src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/PixelBufferX11.cpp: Added EGL support into build - system for GLES1 + GLES2. - - Added EGL support into GraphicsWindowX11. - -2009-10-30 15:16 robert - - * examples/osgautocapture/osgautocapture.cpp: Fixed for GLES1 build - -2009-10-29 16:09 cedricpinson - - * include/osgAnimation/Action, - include/osgAnimation/TimelineAnimationManager, - include/osgAnimation/UpdateCallback, - src/osgAnimation/ActionVisitor.cpp, - src/osgAnimation/StatsHandler.cpp, - src/osgAnimation/StatsVisitor.cpp: From Cedric Pinson, Fix - warning in osgAnimation, UpdateCallback. Fix bug removing - callback in Action. Fix warning Stats - -2009-10-29 09:54 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode projects - -2009-10-28 20:31 robert - - * applications/osgconv/OrientationConverter.cpp, - applications/present3D/present3D.cpp, - include/osg/FrameBufferObject, include/osg/PolygonOffset, - include/osg/Texture, - include/osgPresentation/SlideShowConstructor, - include/osgText/Font, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osgFX/AnisotropicLighting.cpp, src/osgFX/Scribe.cpp, - src/osgFX/SpecularHighlights.cpp, - src/osgGA/StateSetManipulator.cpp, - src/osgManipulator/TrackballDragger.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgParticle/PrecipitationEffect.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/bsp/Q3BSPReader.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/hdr/ReaderWriterHDR.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/osg/StateSet.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgShadow/OccluderGeometry.cpp, src/osgShadow/ShadowMap.cpp, - src/osgShadow/SoftShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp, - src/osgSim/LightPointDrawable.cpp, - src/osgSim/LightPointSpriteDrawable.cpp, src/osgText/Font.cpp, - src/osgText/Text.cpp, src/osgText/Text3D.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/SceneView.cpp, - src/osgUtil/ShaderGen.cpp, src/osgViewer/CMakeLists.txt, - src/osgViewer/ScreenCaptureHandler.cpp: Ported osgUtil, osgDB, - osgGA, NodeKits and plugins to compile against OpenGL ES 1.1 and - OpenGL ES 2.0. - -2009-10-28 13:31 robert - - * examples/CMakeLists.txt, examples/osganimationhardware, - examples/osganimationhardware/CMakeLists.txt, - examples/osganimationhardware/osganimationhardware.cpp, - examples/osganimationskinning/osganimationskinning.cpp, - examples/osganimationtimeline/osganimationtimeline.cpp: From - Cedric Pinson, updates to osganimation example to keep in sync - with changes with osgAnimation, and introduction of a hardware - skinning example - -2009-10-27 19:17 robert - - * src/osgDB/DatabasePager.cpp: Fixed build aginst GLES1 and GLES2 - -2009-10-27 18:07 robert - - * include/osg/GL, src/osg/Depth.cpp, src/osg/State.cpp: Fixed build - on OpenGLES-1.1 and OpenGLES-2.0 targets - -2009-10-27 15:37 cedricpinson - - * include/osgAnimation/Action, - include/osgAnimation/ActionAnimation, - include/osgAnimation/ActionBlendIn, - include/osgAnimation/ActionBlendOut, - include/osgAnimation/ActionStripAnimation, - include/osgAnimation/ActionVisitor, - include/osgAnimation/RigGeometry, - include/osgAnimation/RigTransform, - include/osgAnimation/RigTransformHardware, - include/osgAnimation/RigTransformSoftware, - include/osgAnimation/StatsVisitor, include/osgAnimation/Timeline, - include/osgAnimation/VertexInfluence, - src/osgAnimation/Action.cpp, - src/osgAnimation/ActionAnimation.cpp, - src/osgAnimation/ActionBlendIn.cpp, - src/osgAnimation/ActionBlendOut.cpp, - src/osgAnimation/ActionStripAnimation.cpp, - src/osgAnimation/ActionVisitor.cpp, src/osgAnimation/Bone.cpp, - src/osgAnimation/CMakeLists.txt, - src/osgAnimation/RigGeometry.cpp, - src/osgAnimation/RigTransformHardware.cpp, - src/osgAnimation/RigTransformSoftware.cpp, - src/osgAnimation/StatsVisitor.cpp, - src/osgAnimation/VertexInfluence.cpp: From Cedric Pinson, The - following commit include: - * Refactore of RigGeometry to support hardware skinning - * Refactore of Timeline to split Action in differents files - * Add example how to use hardware skinning - -2009-10-27 10:51 shuber - - * Xcode/OpenSceneGraph/config/osg/Config: From Stephan Huber: added - missing #define - -2009-10-25 11:52 robert - - * CMakeLists.txt, include/osg/AlphaFunc, - include/osg/ArrayDispatchers, include/osg/ClipPlane, - include/osg/Fog, include/osg/GL, include/osg/GL2Extensions, - include/osg/Light, include/osg/LineStipple, include/osg/LogicOp, - include/osg/Material, include/osg/Point, include/osg/PolygonMode, - include/osg/PolygonOffset, include/osg/PolygonStipple, - include/osg/ShadeModel, include/osg/State, include/osg/TexEnv, - include/osg/TexEnvCombine, include/osg/TexGen, - include/osg/Texture, include/osg/Texture1D, include/osg/Uniform, - src/osg/ArrayDispatchers.cpp, src/osg/ClipPlane.cpp, - src/osg/ColorMatrix.cpp, src/osg/Config.in, src/osg/Fog.cpp, - src/osg/Hint.cpp, src/osg/Image.cpp, src/osg/LightModel.cpp, - src/osg/Material.cpp, src/osg/State.cpp, src/osg/StateSet.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/TextureRectangle.cpp: Introduced usage of - OSG_GLES*_AVAILABLE macros to headers and .cpp's to enable - building against OpenGL ES 1.x and 2.x headers - -2009-10-25 11:46 robert - - * src/osgWrappers/osg/State.cpp: Updated wrappers - -2009-10-23 20:35 cedricpinson - - * include/osgAnimation/UpdateCallback, - src/osgAnimation/UpdateCallback.cpp: From Cedric Pinson, Simplify - update callback api in osgAnimation, the decision to link is on - the manager or user - -2009-10-23 17:27 robert - - * src/osg/Geometry.cpp: Added missing unbinds of VBO and EBO's to - Geometry::drawImplementation(..), fixing crash in - osganimationtimeline when stats were enabled - -2009-10-23 16:51 robert - - * include/osg/GL: Added includes for OpenGL ES1 and ES2. - -2009-10-23 13:19 robert - - * CMakeLists.txt, include/osg/Drawable, src/osg/AlphaFunc.cpp, - src/osg/ClipPlane.cpp, src/osg/ColorMatrix.cpp, - src/osg/DrawPixels.cpp, src/osg/Drawable.cpp, src/osg/Fog.cpp, - src/osg/FragmentProgram.cpp, src/osg/GLObjects.cpp, - src/osg/Light.cpp, src/osg/LightModel.cpp, - src/osg/LineStipple.cpp, src/osg/LogicOp.cpp, - src/osg/Material.cpp, src/osg/Point.cpp, src/osg/PointSprite.cpp, - src/osg/PolygonMode.cpp, src/osg/PolygonStipple.cpp, - src/osg/ShadeModel.cpp, src/osg/TexEnv.cpp, - src/osg/TexEnvCombine.cpp, src/osg/TexEnvFilter.cpp, - src/osg/TexGen.cpp, src/osg/TexMat.cpp, - src/osg/VertexProgram.cpp: Added CMake support for specifying - what OpenGL target and features that the OpenSceneGraph build - should use. - - Added use of the new Cmake generated #define's for optionally - compiling parts of the OpenSceneGraph's OpenGL support for the - various OpenGL targets - -2009-10-23 12:28 robert +Thu, 1 Aug 2013 10:38:02 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file - * src/osgWrappers/osg/GLBeginEndAdapter.cpp: Updated wrappers +Thu, 1 Aug 2013 10:28:12 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "Based on the exchange on osg-users I went ahead and reworked shp/XBaseParser to avoid weird behaviour (closing stdin) and leaking file descriptors, as well as some const-ness." -2009-10-23 12:24 robert +Thu, 1 Aug 2013 10:04:05 +0000 +Checked in by : Robert OSFIELD +From Sebastian Messerschmidt, "Seems like your re-factoring didn't really produces the correct results. You can check with the tester2.flt provided earlier and check with the result image. I double checked this with OpenFlight creator, and it seems the yaw is broken.With my initial quaternion version is seems correct and if I change the - * src/osg/Geometry.cpp: Fixed bug in dispatching per primitive - attributes -2009-10-23 12:22 robert +float cos_yaw = cosf(osg::inDegrees(yaw)); +float sin_yaw = sinf(osg::inDegrees(yaw)); - * include/osg/GLBeginEndAdapter, src/osg/ArrayDispatchers.cpp: - Added support for Vec4ubArray colour arrays +to be +float cos_yaw = cosf(osg::inDegrees(-yaw)); +float sin_yaw = sinf(osg::inDegrees(-yaw)); -2009-10-23 09:24 robert +it seems to work as well." - * src/osg/Geometry.cpp: Fixed handling of - Geometry::_internalOptimizedGeometry in the - Geometry::drawImplementation(..) -2009-10-23 08:21 shuber - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/config/osg/Config: From Stephan Huber: - updated XCode project, sensible default config-file -2009-10-22 14:40 robert +Thu, 1 Aug 2013 10:00:31 +0000 +Checked in by : Robert OSFIELD +From Tom Jolley, "I found a couple more bugs after closely looking at the small piece of deprecated geometry in my model. There were problems with more than one primitive in a couple places. The first was the number of vertices were not being accumulated for DrawArraysPrimitiveType (caused another crash). The second is I had to move target_vindex and source_pindex before the PrimitiveSetList loop so they don't get reset on the next primitive (otherwise you end up with a lot of zeros in per vertex lists)." - * include/osg/GLBeginEndAdapter: Added #define for GL_TEXTURE0 as - MS gl.h header is still stuck in the nineties.... +Thu, 1 Aug 2013 07:19:45 +0000 +Checked in by : Robert OSFIELD +Added osg::RenderInfo::pushRenderBin()/popRenderBin() and RenderInfo::getRenderBinStack() and getCameraStack() access methods for getting access to the current RenderBin/RenderStage. -2009-10-22 12:56 robert +Wed, 31 Jul 2013 13:11:49 +0000 +Checked in by : Robert OSFIELD +Added Intersector::get/setEpsilon(double) to allow users to control what epsilon is used by the LineSegmentIntersector when doing testing of itersections with bounding boxes - * include/osg/GLBeginEndAdapter, - src/osgWrappers/osg/GLBeginEndAdapter.cpp, - src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/osgAnimation/VertexInfluence.cpp: Fixed typo and - updated wrappers +Wed, 31 Jul 2013 07:11:07 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, "Here is the code to get access to OpenGL handle of an osg::FrameBufferObject" -2009-10-22 12:41 robert +Wed, 31 Jul 2013 06:56:31 +0000 +Checked in by : Robert OSFIELD +From Tom Jolly, "I ran across this error reading one of our older files. An iterator was being changed inside a loop that caused a crash." - * include/osg/Drawable: From Stephan Huber, compile fix to OSX. +Wed, 31 Jul 2013 06:42:49 +0000 +Checked in by : Robert OSFIELD +From Sergey Kurdakov, fixed GLES2 invalid enumerant warning by disabling the check against GL_MAX_TEXTURE_COORDS under GLES. -2009-10-22 12:06 robert +Tue, 30 Jul 2013 06:39:33 +0000 +Checked in by : Robert OSFIELD +Changed default cull mask to match the left cull mask so that mono rendering of presentations with left/right stereo images/movies works fine. - * CMakeLists.txt, src/osg/Config.in: Introduced Cmake generated - #defines relevant to optionally compile parts of the OSG for - different OpenGL targets +Tue, 30 Jul 2013 06:36:49 +0000 +Checked in by : Robert OSFIELD +Removed trailing spaces -2009-10-22 12:04 robert +Tue, 30 Jul 2013 06:12:31 +0000 +Checked in by : Robert OSFIELD +Merged from OSG-3.2 branch the removal of check for Asio under Windows - * include/osg/Geometry: Removed, now inappropriate, references to - glBegin/glEnd. +Wed, 24 Jul 2013 17:30:46 +0000 +Checked in by : Robert OSFIELD +Changed default of serialize draw to off -2009-10-22 12:03 robert +Wed, 24 Jul 2013 14:24:33 +0000 +Checked in by : Robert OSFIELD +Pulled in READE, NEWS and AUTHORS changes from OSG-3.2 branch. - * src/osgWrappers/osg/CopyOp.cpp, - src/osgWrappers/osg/ImageSequence.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateAttributeCallback.cpp, - src/osgWrappers/osgAnimation/UpdateCallback.cpp: Updated wrappers +Wed, 24 Jul 2013 13:02:32 +0000 +Checked in by : Robert OSFIELD +Added GL2Extensions::isDrawBuffersSupported() and usage of this in FrameBufferObject.cpp to prevent crash under GLES2 when users attempt to use MRT when it's not supported -2009-10-22 12:01 robert +Wed, 24 Jul 2013 12:51:13 +0000 +Checked in by : Robert OSFIELD +Updated NEWS from OSG-3.2 branch - * include/osg/StateAttributeCallback: From Cedric Pinson, new - StateAttributeCallback replacing StateAttribute::Callback +Wed, 24 Jul 2013 12:48:59 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2009-10-22 10:33 robert +Wed, 24 Jul 2013 12:25:18 +0000 +Checked in by : Robert OSFIELD +Updated SO version for post 3.2 era. - * include/osg/CopyOp, include/osg/ImageSequence, - include/osg/StateAttribute, include/osgAnimation/UpdateCallback, - src/osg/CMakeLists.txt, src/osg/CopyOp.cpp, - src/osg/StateAttribute.cpp, src/osg/StateSet.cpp, - src/osgAnimation/UpdateCallback.cpp, - src/osgPlugins/osg/StateAttribute.cpp: From Cedric Pinson, "Here - a patch to be able to clone stateattribute, in order to do that i - moved the StateAttribute::Callback structure to a file - StateAttributeCallback with the same behavior as NodeCallback. - " +Wed, 24 Jul 2013 12:17:06 +0000 +Checked in by : Robert OSFIELD +Added getCallbacks() methods -2009-10-22 10:29 robert +Tue, 23 Jul 2013 18:11:35 +0000 +Checked in by : Robert OSFIELD +From Rocco Martino, build fix for compiling against ffmpeg/trunk - * src/osg/Geometry.cpp: Removed old and now redundent code paths +Tue, 23 Jul 2013 15:28:31 +0000 +Checked in by : Robert OSFIELD +Added NOT ANDROID to force use of posix API when building for Android under Windows -2009-10-22 09:08 robert +Tue, 23 Jul 2013 10:24:28 +0000 +Checked in by : Robert OSFIELD +Added lazy setting of the UserDataContainer to avoid unncessarily create a UserDataContain when an empty description list is passed to Node::setDescriptions(..) - * src/osgWrappers/osg/ArrayDispatchers.cpp, - src/osgWrappers/osg/GLBeginEndAdapter.cpp, - src/osgWrappers/osgParticle/Particle.cpp: Updated wrappers +Tue, 23 Jul 2013 09:54:25 +0000 +Checked in by : Robert OSFIELD +Fixed crash when open(..) returns an error. -2009-10-22 08:51 robert +Tue, 23 Jul 2013 05:25:39 +0000 +Checked in by : Robert OSFIELD +From Torben Dannhauer, "Please find attached further changes to make library auto detection functional again for some libraries:Find3rdPa..: Fix to find libxml2 +FindCollada: Rearranged to handle different MSVC versions more effective. +This file is already prepared for the upcoming VS 2013. +FindNVTT: introduced management of debug libraries (also auto detected). +" - * include/osg/GLBeginEndAdapter, src/osg/ArrayDispatchers.cpp, - src/osg/GLBeginEndAdapter.cpp: Fixed type of - GLBeginEndAdapter::MultiTexCoord*() and VertexAttrib*(), and - fixed the internal offsets used in MultiTexCoord so it properly - used the mapping texture_unit = target - GL_TEXTURE0 -2009-10-22 08:28 shuber - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project -2009-10-21 16:42 robert +Mon, 22 Jul 2013 13:31:32 +0000 +Checked in by : Robert OSFIELD +From Andreas Ekstrand, "Attached is a small modification of the Collada writer that protects from crashes due to valArray being NULL in some situations." - * include/osg/GLBeginEndAdapter: Added Translatef, Scalef, Rotatef - methods, and fixed Color4f method. +Mon, 22 Jul 2013 10:15:59 +0000 +Checked in by : Robert OSFIELD +Added FRAME_BUFFER_OBJECT enum -2009-10-21 16:41 robert +Mon, 22 Jul 2013 10:15:44 +0000 +Checked in by : Robert OSFIELD +Updated OpenThreads version - * applications/osgviewer/osgviewer.cpp: Removed redundent spaces +Fri, 19 Jul 2013 21:05:54 +0000 +Checked in by : Robert OSFIELD +From Christian Ruzicka, "with the current touch implementation on iOS the touches are not forwarded to parent views because the base implementation is not called. Also see the "Best Practices" in the iOS documentation for event handling:http://developer.apple.com/library/ios/#documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/multitouch_background/multitouch_background.html -2009-10-21 16:40 robert +"If you handle events in a subclass of any other UIKit responder class: +- You do not have to implement all of the event handling methods. +- In the methods you do implement, be sure to call the superclass implementation. For example, [super touchesBegan:touches withEvent:event]." - * include/osgParticle/Particle, - src/osgParticle/ConnectedParticleSystem.cpp, - src/osgParticle/Particle.cpp, src/osgParticle/ParticleSystem.cpp: - Removed remaining glBegin/glEnd usage +I added the missing lines and tested it with OSG 3.1.9 and iOS SDK 6.1." -2009-10-21 16:31 robert - * src/osgText/Text.cpp, src/osgText/Text3D.cpp: Conveted osgText - across to using GLBeginEndAdapter instead og glBegin/glEnd -2009-10-21 16:16 robert - * src/osgSim/ImpostorSprite.cpp, src/osgSim/SphereSegment.cpp: - Converted all glBegin/glEnd code across to using - osg::GLBeginEndAdapter +Fri, 19 Jul 2013 20:59:09 +0000 +Checked in by : Robert OSFIELD +Added default setting of BIND_PER_VERTEX when applying Geometry::setTexCoordArray() -2009-10-21 15:48 robert +Fri, 19 Jul 2013 17:00:24 +0000 +Checked in by : Robert OSFIELD +Updated OpenThreads version to be in sync with OSG version - * examples/osgparticle/osgparticle.cpp: Added stats handler to - track performance effects of new GLBeginEndAdapter usage +Fri, 19 Jul 2013 14:55:36 +0000 +Checked in by : Robert OSFIELD +Updated version number for svn/trunk to 3.3.0 for all new feature development -2009-10-21 15:45 cedricpinson +Fri, 19 Jul 2013 14:07:17 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file for new 3.2 branch - * include/osgAnimation/AnimationManagerBase, - include/osgAnimation/Channel, include/osgAnimation/Skeleton, - include/osgAnimation/Skinning, - include/osgAnimation/VertexInfluence, - src/osgAnimation/Animation.cpp, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/Bone.cpp, src/osgAnimation/StatsHandler.cpp, - src/osgAnimation/Timeline.cpp, - src/osgAnimation/VertexInfluence.cpp: From Cedric Pinson, this - commit contains the following change: - * Change ref_ptr to observer_ptr to avoid cross reference and - leak in Skinning - * Set invalidate to true to re run the check visitor in Skeleton - * Shallow copy Sampler in channel copy constructor - * Add accessor in VertexInfluence - * Remove dead code in Timeline.cpp - * Dont force linking in Bone::UpdateBone, the decision is done by - the user or the manager - * Add offset in timeline stats to display each manager on the - screen - * Add a flag in animation manager base to enable or not automatic - link when modifying the manager +Fri, 19 Jul 2013 14:06:11 +0000 +Checked in by : Robert OSFIELD +Updated version number to 3.2.0-rc1 in prep for create the 3.2 branch, and 3.2.0-rc1 -2009-10-21 14:14 robert +Fri, 19 Jul 2013 10:31:45 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog and AUTHORS files for 3.1.10 dev release - * examples/osgvertexattributes/osgvertexattributes.cpp: Added stats - handler +Fri, 19 Jul 2013 10:17:26 +0000 +Checked in by : Robert OSFIELD +Updater version for 3.1.10 dev release -2009-10-21 14:11 robert +Fri, 19 Jul 2013 10:11:42 +0000 +Checked in by : Robert OSFIELD +Removed #if 0 #endif block - * src/osg/Geometry.cpp: Removed the disabling of display lists in - osg::Geometry to bring it back to it's original behaviour +Fri, 19 Jul 2013 09:43:54 +0000 +Checked in by : Robert OSFIELD +Fixed problem with the osgviewerQt code override the default View::Camera without setting it's default state on it's StateSet like View does by default. -2009-10-21 14:09 robert +Fri, 19 Jul 2013 06:56:13 +0000 +Checked in by : Robert OSFIELD +From Johannes Scholz, "as we need to dynamically add and remove Effects to and from our Application, I created a small patch for osgFX/Registry to add the osgFX::Registry::removeEffect(effect*) method and extended osgFX::Registry::Proxy to call removeEffect upon its destruction." - * include/osg/ArrayDispatchers, include/osg/State, - src/osg/ArrayDispatchers.cpp, src/osg/Geometry.cpp, - src/osgWrappers/genwrapper.conf, src/osgWrappers/osg/State.cpp: - Added support for automatic vertex aliasing to new - ArrayDispatchers, and updated wrappers +Fri, 19 Jul 2013 06:39:06 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "A very small clerical error in the src/osgViewer/CMakeLists.txt makes MinGW/Cygwin builds fail. Now it is fixed and now OSG works well again with Cygwin. :-) The OSC plugin also needs a small fix to compile with Cygwin, as attached file src/osgPlugins/osc/osc/OscHostEndianness.h shows." -2009-10-21 11:18 robert +Fri, 19 Jul 2013 06:20:46 +0000 +Checked in by : Robert OSFIELD +From Mathieu Marache, "we found that events where not caught when running in ON_DEMAND frame scheme : GraphicsWindow::checkEvents() always return false and GraphicsWindowQt doesn't overload it.here is a simple fix that will return if the list is empty or not and will match the comment in checkEvents() - * include/osg/ArrayDispatchers, include/osg/Drawable, - include/osg/State, src/osg/ArrayDispatchers.cpp, - src/osg/Geometry.cpp, src/osg/State.cpp: Moved the - ArrayDispatchers management so that osg::State now has a - ArrayDispatchers object that any osg::Geometry can reuse, - and optimized the implementation to reduce the CPU overhead. -2009-10-20 22:14 robert - * src/osgWrappers/genwrapper.conf, src/osgWrappers/osg/State.cpp: - Updated wrappers -2009-10-20 19:34 robert - * include/osg/Array, include/osg/ArrayDispatchers, - include/osg/Drawable, include/osg/GLBeginEndAdapter, - include/osg/State, runexamples.bat, src/osg/ArrayDispatchers.cpp, - src/osg/CMakeLists.txt, src/osg/Drawable.cpp, - src/osg/GLBeginEndAdapter.cpp, src/osg/Geometry.cpp: Refactored - osg::Geometry::drawImplementation(..) to use new - osg::ArrayDispatchers that encapsulate the task - of dispatch osg::Array data as OpenGL attributes. - +Thu, 18 Jul 2013 20:17:48 +0000 +Checked in by : Robert OSFIELD +Added a dirty() call to Image::setData(..) -2009-10-20 13:15 robert +Thu, 18 Jul 2013 16:29:13 +0000 +Checked in by : Robert OSFIELD +From Torben Dannhauer, "after being absent for more than 12 month, I'm very pleased to present my new 3rdparty package (V8). This package is compiled with Visual Studio 2012 Update 3. Some community +members complained that these package is very large (indeed), so I +introduced 2 versions: +- The small version contains the dependencies for several image file formats +( tiff, png, gif, jpeg), as well as zlib, minizip, curl, freetype, glut, +gdal and openSSL +- The full version will include all libraries which were include in the +previous releases of my 3rd party package. - * src/osg/State.cpp: Fixed typo of osg_ModelViewMatrix +Some of the included libraries are released in newer versions, so I adapted +the attached CMake module to find these renamed files. -2009-10-19 11:06 shuber +I hope you can merge this minor changes soon, since I plan to publish the +small 3rdparty package today. +" - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2009-10-19 08:58 robert - - * src/osg/State.cpp: Fixed computation of osg_NormalMatrix -2009-10-17 19:22 robert - * include/osg/GLBeginEndAdapter, src/osg/GLBeginEndAdapter.cpp: - Added support for multitexturing and vertex attributes to - GLBeginEndAdapter - -2009-10-17 11:14 robert - - * include/osg/GLBeginEndAdapter, src/osg/State.cpp: Fixed VS - warning - -2009-10-16 18:50 robert - - * src/osgWrappers/genwrapper.conf, src/osgWrappers/osg/State.cpp: - Updated wrappers - -2009-10-16 17:22 robert - - * examples/osgcatch/osgcatch.cpp, src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/Shader.cpp, src/osgWrappers/osg/State.cpp: - Updated wrappers - -2009-10-16 16:26 robert - - * examples/osgvertexattributes/osgvertexattributes.cpp, - include/osg/GLBeginEndAdapter, include/osg/Program, - include/osg/Shader, include/osg/State, src/osg/BufferObject.cpp, - src/osg/CMakeLists.txt, src/osg/GLBeginEndAdapter.cpp, - src/osg/Geometry.cpp, src/osg/Program.cpp, src/osg/Shader.cpp, - src/osg/ShapeDrawable.cpp, src/osg/State.cpp, - src/osgUtil/SceneGraphBuilder.cpp: Ported osg::Geometry across to - supporting the aliasing of vertex, color and normal etc. calls to - Vertex Attributes. - - Added support for automatic aliasing of vertex, normal, color - etc. arrays to Vertex Attribute equivelants. - - Added new osg::GLBeginEndAdapter class for runtime conversion - from glBegin/glEnd codes to vertex arrray equivelants. - - Added automatic shader source conversion from gl_ to osg_ - builtins. +Thu, 18 Jul 2013 16:27:17 +0000 +Checked in by : Robert OSFIELD +From Lionel Lagarde, "The extension name is misspelled. It conflicts with GLEW." -2009-10-11 06:05 robert +Tue, 2 Jul 2013 19:24:10 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS and ChangeLog for 3.1.9 dev release - * examples/osgvertexattributes/osgvertexattributes.cpp, - include/osg/State, src/osg/State.cpp, src/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osg/State.cpp: Made the use of the new projection - and modelview matrix uniforms optional - -2009-10-11 05:52 robert - - * include/osg/PrimitiveSet: From Paul Martz, "A recent change to - add the new geometry shader primitive types has broken the build - on Windows. On Windows, those types are declared in the header - GL2Extensions, but the PrimitiveSet header (which uses those - types) fails to include that header, causing compile errors. - - Attached is a version of PrimitiveSet that includes - GL2Extensions." - -2009-10-10 14:50 robert - - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - Contributors list to fix for typo's in the ChangeLog, and updated - the AUTHORS file for 2.9.6. - -2009-10-10 11:28 robert +Tue, 2 Jul 2013 14:35:29 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "With fstream inheritaince now removed the warning can be enabled again." - * ChangeLog, applications/osgversion/Contributors.cpp, - src/osgWrappers/osgWidget/Label.cpp: Updated ChangeLog, wrappers - and Contributors lists - -2009-10-10 11:26 robert - - * CMakeModules/FindCOLLADA.cmake: From Simon Julier, "Please find - attached FindCOLLADA.cmake with a patch for a framework naming - issue for Mac platforms. - - The collada dom Makefiles actually build a framework called - Collada14Dom.framework (debug: Collada14Dom-d.framework). The - current CMake rules, however, only look for collada14dom. - Normally, the difference in case wouldn't matter but the rule - fails on case sensitive HPFS partitions. - " - -2009-10-10 11:06 robert - - * include/osgWidget/Label, src/osgWidget/Label.cpp: From Cesar L.B. - Silveira, "I have written these few lines of code which allow - setting the label - of an osgWidget::Label with an osgText::String. I had to do this - on a - project I'm working on, because I needed UTF-8 strings on my - labels, - and using setLabel with std::string was not working. - " - -2009-10-10 11:00 robert - - * src/OpenThreads/win32/Win32Thread.cpp, - src/OpenThreads/win32/Win32ThreadPrivateData.h: From Mathias - Froehlich, "Tha attached change adapt previous attemps to get our - application using osg - through microsofts application verifier. The current change - should work a - little better ... - The change is based on rev 10605." - -2009-10-10 10:58 robert - - * src/osgViewer/StatsHandler.cpp: From Mathias Froehlich, "This - change eliminate an orphan stats block that sticks somewhere in - the - screen stats display." - -2009-10-10 10:54 robert - - * src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/State.cpp: Updated wrappers - -2009-10-10 10:07 robert - - * src/osg/Drawable.cpp: From David Fries, "The Extensions object - was calling _gl_get_query_objectui64v but - checking _gl_get_query_objectuiv_arb which is a different - function - pointer. Changed to check the function being called. - - This is against the subversion trunk." - -2009-10-10 10:00 robert - - * src/osgPlugins/zip/ReaderWriterZIP.cpp: From Chris Denham, "I - discovered a memory leak in the ZIP plugin, which was caused by a - missing call to CloseZip. - I attach a modified ReaderWriterZIP.cpp (based on version 2.9.5 - revision 10374). - This includes a little bit of code tidying, but the only - functional change is a test of the return value of OpenZip and - the addition of a call to CloseZip." - -2009-10-10 09:53 robert - - * examples/osgshadercompositor/CreateAdvancedHierachy.cpp, - examples/osgshadercompositor/CreateSimpleHierachy.cpp, - examples/osgshadercompositor/VirtualProgram.cpp, - examples/osgshadercompositor/osgshadercompositor.cpp: From - Wojciech Lewandowski, "ref_ptr usage changes made on 9th of June - broke VirtualProgram used in osgShaderCompositor example. Taking - the opportunity I modified the code a little to use earth sphere - as default model. Cow.osg used previously was not looking good in - advanced example. I also changed default to advanced example, - because its more informative with labels describing virtual - programs used to render the objects." - -2009-10-10 09:45 robert - - * src/osgPlugins/osg/StateSet.cpp: From Stephane Lamoliatte, "Here - is a patch wich add two missing GL modes in the osg plug'in." - -2009-10-10 09:44 robert - - * include/osg/PrimitiveSet: To fix warning removed unncessary , - from end to enum list. - -2009-10-10 09:41 robert - - * include/osg/PrimitiveSet, - src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgPlugins/osg/Geometry.cpp: From Stephane Lamoliatte, "Here - is a patch wich improves the support for geometry shaders in - OpenSceneGraph. - It adds new PrimitiveSet constants for the specific geometry - shader primitive types : - - LINES_ADJACENCY - - LINE_STRIP_ADJACENCY - - TRIANGLES_ADJACENCY - - TRIANGLE_STRIP_ADJACENCY - It also adds some missing features to the glsl reader plug'in. - " +Tue, 2 Jul 2013 14:17:44 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "some of my ive files now generate a warning: Warning, can't assign attribute binding as no has been array assigned to set binding for.I think those are ive's with bumpmaps, but I have not checked yet. The problem is in +OpenSceneGraph\src\osgPlugins\ive\Geometry.cpp +where the code tries to set Normalize and Binding for a missing Array. +I think that code can safely be skipped, considering the write function has a hardcoded write when the array is missing. (introduced in svn rev 13488) -2009-10-10 09:38 robert +modified file (OpenSceneGraph\src\osgPlugins\ive\Geometry.cpp) attached in Zip" - * CMakeModules/FindCOLLADA.cmake: From Roger James, "When you - merged my last set of changes into FindCOLLADA.cmake you omitted - the changes to find the DOM22 libraries. Collada 1.4 DOM 2.2 - seems to work OK for me on windows platforms. I have attached the - changes again if you want to apply them." -2009-10-10 09:35 robert - * examples/osganimationtimeline/osganimationtimeline.cpp: From - Cedric Pinson, "Here an update of osganimationtimeline example, - the callback did not - follow the callback api, i updated to fix this, then the callback - are - called correctly." +Tue, 2 Jul 2013 14:02:06 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "Recent changes cause a few warnings in MSVC 2012 svn 13587 From David Callu, warning fixes and removal of spaces at end of lines.this can be fixed by adding a space before the comment opening /*. +full modified file (openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h) attached in zip -2009-10-10 09:26 robert +Regards, Laurens. - * src/osgWidget/Window.cpp: From Jean-Sebastien Guay, - "osgWidget::Window::setWindow() calls parented() (which does an - addChild()) on the new window, but it does not call unparented() - (which does a removeChild()) on the old window before. So it - works fine if there was no window previously, but if an app - creates new windows and calls setWindow() to replace the previous - one, they will all add up instead and be on top of each other... - - This is fixed in the file attached." -2009-10-10 09:23 robert +openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(71): warning C4138: '*/' found outside of comment (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp) +openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(73): warning C4138: '*/' found outside of comment (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp) +openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(211): warning C4138: '*/' found outside of comment (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp) +openscenegraph\src\osgplugins\osg\BinaryStreamOperator.h(213): warning C4138: '*/' found outside of comment (OpenSceneGraph\src\osgPlugins\osg\ReaderWriterOSG2.cpp)" - * src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Bob Kuehne, - "imageio plugin fix, mac os x : remove double-qualified ctor - - illegal syntax under gcc 4.2.1" -2009-10-10 09:20 robert - * src/osgViewer/DarwinUtils.mm: From Bob Kuehne, "fix for - 10.6/darwin: this fix changes what i believe to be a typo in the - os x darwinutils file from ID to id, the proper objective-c name - for a type." +Tue, 2 Jul 2013 13:45:23 +0000 +Checked in by : Robert OSFIELD +Restructed handling of the _currentShaderCompositionUniformList in State::apply() and State::apply(const StateSet*) so that it can be used even when shader composition isn't enabled. -2009-10-09 13:39 robert +Tue, 2 Jul 2013 10:32:53 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, "Recently I had to integrate a client OpenGL library with OSG. For textures and other StateAttribute I've done that by subclassing osg::StateAttribute and this works well.But for glPrograms, in order to get all osg's uniform management system to work, I had to subclass osg::program::PerContextProgram. - * examples/osgvertexattributes/osgvertexattributes.cpp, - include/osg/State, src/osg/Geometry.cpp, src/osg/State.cpp, - src/osgUtil/RenderLeaf.cpp: Introduced new uniforms for tracking - the modelview and project matrices in shaders using non - built-ins. +Here is a modified version of this class, which add some "virtual" method to allow easy subclassing." -2009-10-09 10:39 robert - * examples/osgvertexattributes/osgvertexattributes.cpp: Added use - of binding of vertex attributes to names -2009-10-08 16:23 robert +Tue, 2 Jul 2013 09:44:46 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "The binding of arrays is always set to BIND_UNDEFINED when using the array constructor because the binding parameter is ignored. Here is a fix." - * examples/osgvertexattributes/osgvertexattributes.cpp: Added - remapping of gl_ and ftransform() variables to osg_ equivalents. +Tue, 2 Jul 2013 09:27:14 +0000 +Checked in by : Robert OSFIELD +Added SceneView::Options enum enetries APPLY_GLOBAL_DEFAULTS and CLEAR_GLOBAL_STATESET to control whether a _globalStateSet->clear() and _globalStateSet->setGlobalDefaults() should be called.osgViewer::Renderer doesn't use these enum settings so now no longer has a calls StateSet::clear() or StateSet::setGlobalDefaults() on the osg::Camera's StateSet. Previously these were being +called and breaking the ability to attached state to Camera's StateSet. -2009-10-08 15:58 robert - * examples/osgvertexattributes/osgvertexattributes.cpp: Implemented - remapping of gl_ builtins vertex attributes to osg_ equivlants. -2009-10-08 14:29 robert - * examples/CMakeLists.txt, examples/osgvertexattributes, - examples/osgvertexattributes/CMakeLists.txt, - examples/osgvertexattributes/osgvertexattributes.cpp: New - osgvertexattributes example designed to test conversion of fixed - function scene graphs to use vertex shaders - and vertex attributes. +Mon, 1 Jul 2013 16:15:25 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "In a submission on June 27th a lot of new array types were added. This modified the osg::Array::Type enum. Because of this s_ArrayNames array in Array.cpp is now not in sync. This can lead to corrupt exports or crashes when writing .osg files because the change added new types in the middle of the enum instead of at the end.Attached is a new Array.cpp to reflect the new array types." -2009-10-08 14:13 shuber - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/config/osg/Config: From Stephan Huber: - updated XCode project -2009-10-08 13:33 robert +Mon, 1 Jul 2013 12:16:32 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS, ChangeLog for dev release - * src/osg/Geometry.cpp: Fixed vertex attribute access bug +Mon, 1 Jul 2013 10:22:34 +0000 +Checked in by : Robert OSFIELD +Removed BIND_INSTANCE_DIVISOR as they don't yet have any implementation backend to support them. -2009-10-08 10:44 robert +Mon, 1 Jul 2013 09:12:11 +0000 +Checked in by : Robert OSFIELD +From David Callu, "Here a fix for FindFBX.cmakeunder linux, library name to look for must be fbxsdk instead of libfbxsdk." - * src/osg/BufferObject.cpp, src/osg/State.cpp, src/osg/Texture.cpp: - Quitened down debug messages -2009-10-08 09:27 robert - * include/osgUtil/SceneGraphBuilder, include/osgUtil/Tessellator: - Cleaned up the #define's for when GLU is not available +Mon, 1 Jul 2013 09:10:11 +0000 +Checked in by : Robert OSFIELD +From David Callu, "Here a CMakeLists.txt modified with OSG_AGGRESSIVE_WARNING_FLAGS defined when Clang compilator is used" -2009-10-08 07:54 robert +Mon, 1 Jul 2013 09:09:49 +0000 +Checked in by : Robert OSFIELD +Fixed debug build compile problem - * src/osg/BufferObject.cpp: Fixed warning +Mon, 1 Jul 2013 08:21:13 +0000 +Checked in by : Robert OSFIELD +Reverted the usage of OSG_UNUSED and OT_UNUSED as in hindsight these should never have been merged. Adding code to quieten inappropriate warnings is a bad programming practice and does not desrve a place in the OSG code base. -2009-10-07 19:42 robert +Fri, 28 Jun 2013 15:44:04 +0000 +Checked in by : Robert OSFIELD +From John Kaniarz, "This patch modifies ReaderWriterPNG.cpp to 1. Check the bit depth of the passed Image and return an error if not 8 or 16. (not fully featured, but still an improvement over hard coded 8bit for everything) 2. Endian swap 16bit image data when on a little endian architecture. " - * CMakeLists.txt, examples/CMakeLists.txt, include/osg/GLU, - include/osgUtil/SceneGraphBuilder, include/osgUtil/Tessellator, - src/osg/Config.in, src/osg/GLExtensions.cpp, src/osg/Image.cpp, - src/osg/State.cpp, src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osgPlugins/CMakeLists.txt, src/osgText/Font.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/Tessellator.cpp: - Introduced optional build against the GLU library, using optional - compile paths to enable/disable GLU related function. - - To toggle the use of the GLU library adjust the OSG_GLU_AVAILABLE - variable via ccmake . or CMakeSetup. +Fri, 28 Jun 2013 14:47:02 +0000 +Checked in by : Robert OSFIELD +From Alberto Luaces, "Documentation for -p and --speed options in osgviewer" -2009-10-07 18:50 robert +Fri, 28 Jun 2013 14:38:45 +0000 +Checked in by : Robert OSFIELD +From Marcel Pursche, fixed checking of destination dimensions in osg::copyImage. - * src/osg/Texture.cpp: Fixed handling of rescale of image +Fri, 28 Jun 2013 14:32:12 +0000 +Checked in by : Robert OSFIELD +From Lilin Xiong, "When writing proxyNode to ive file, we forget "LoadingExternalReferenceMode ". Add some code to fix this.if (out->getVersion() >= VERSION_0045) +{ + out->writeInt(getLoadingExternalReferenceMode()); +} -2009-10-07 13:02 robert +if (in->getVersion() >= VERSION_0045) +{ + setLoadExternalReferenceFiles( (osg::ProxyNode::LoadingExternalReferenceMode)in->readInt() ); +} +" - * src/osg/BufferObject.cpp, src/osg/Texture.cpp: Fixed setUsage - typo in PixelDataBufferObject, and fixed data pointer management - in Texture::applyTexImage2D_subload(). -2009-10-07 12:54 robert - * src/osg/BufferObject.cpp: From J.P. Delport, fixed bug caused by - a typo in PixelBufferObject constructor +Fri, 28 Jun 2013 14:21:43 +0000 +Checked in by : Robert OSFIELD +From Gill Peacegood, "fix for a memory leak in the DelaunayConstraint class" -2009-10-07 09:39 robert +Fri, 28 Jun 2013 14:08:36 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "the current version of BufferObject causes a huge amount of warnings in Visual Studio 2012 like:OpenSceneGraph/include\osg/BufferObject(701): warning C4138: '*/' found outside of comment (E:\osg\osgSvn\OpenSceneGraph\src\osg\Array.cpp) - * include/osg/BufferObject, src/osg/BufferObject.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Texture.cpp: Fixed warnigns +adding a space before /* fixes the problem + void removeClient(osg::Object * /*client*/) { --_numClients; } +" -2009-10-06 13:42 robert - * include/osg/BufferObject, include/osg/Texture, - src/osg/BufferObject.cpp, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp: Fixed the TextureObject's + - GLBufferObject reassignment to a new set. - - Disabled the unref after apply for a Texture classes when the - texture pool is enabled -2009-10-06 09:28 robert +Fri, 28 Jun 2013 14:07:31 +0000 +Checked in by : Robert OSFIELD +Fixed handling of DISPLAY=127.0.0.1:2 usage. - * src/osg/Geometry.cpp: Refactored the ::getOrCreate*Object() - methods to clean them up and fix a bug in the - getOrCreateElementsBuffers method. +Fri, 28 Jun 2013 13:43:46 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, Added support for glPrimitiveRestartIndex."The idea of this new OpenGL feature is : -2009-10-05 13:41 robert +- set RestartIndex = "n" +- draw elements strip + -> when the index is "n", the strip is "stopped" and restarted - * src/osg/ShapeDrawable.cpp: From Andreas Goebel, fix to bug in - ShapeDrawable::accept(PrimitiveFunctor) implementation for - cylinder +It's very usefull for drawing tiles with a single strip and a "restart" at the end of each row. -2009-10-04 08:52 robert +The idea a an OSG StateAttribute is : - * include/osg/BufferObject: Added missing export +Usually we use to build geometry from code, because software modelers rarely support it (and 3d file formats doesn't support it) : -2009-10-03 15:10 robert +-RootNode <= "PrimitiveRestartIndex=0" // So now, we know that our restart index is 0 for all drawables under this node +| +- Drawable 1 : triangles => as usual +| +- Drawable 2 : triangles strip => as usual +| +- Drawable 3 : triangles strip + "GL_PRIMITIVE_RESTART" mode = ON => use the restart index +| +- Drawable 4 : triangles strip + "GL_PRIMITIVE_RESTART" mode = ON => use the restart index +| +- Drawable 5 : triangles strip => as usual - * src/osgUtil/SceneView.cpp: Removed erroneous inclusion of extra - GLBufferObjectManager qualifier that broke Windows build -2009-10-03 09:25 robert +With a StateAttribute, it's easy for the developper to say "0 will be my restart index for all this object" and then activate the mode only on some nodes. - * include/osg/BufferObject, include/osg/DisplaySettings, - include/osg/State, include/osg/Texture, src/osg/BufferObject.cpp, - src/osg/DisplaySettings.cpp, src/osg/GLObjects.cpp, - src/osg/State.cpp, src/osg/Texture.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/State.cpp: Introduced new GLBufferObject pool - for managing the memory footprint taken up by VertexBufferObejct, - ElementBufferObject and PixelBufferObject. +The main problem is if you set and restart index value which is not included in the vertex array (for exemple set restart index = 100 but you have only 50 vertex). There is no problem with OpenGL, but some OSG algorithms will try to access the vertex[100] and will segfault. -2009-10-01 20:19 robert +To solve this, I think there is two ways : - * examples/osgparametric/osgparametric.cpp, - examples/osgscreencapture/osgscreencapture.cpp, - include/osg/Array, include/osg/BufferObject, include/osg/Image, - include/osg/PrimitiveSet, include/osg/State, - src/osg/BufferObject.cpp, src/osg/GLObjects.cpp, - src/osg/Geometry.cpp, src/osg/Image.cpp, - src/osg/PrimitiveSet.cpp, src/osg/Texture.cpp, - src/osg/TextureRectangle.cpp, - src/osgPlugins/ive/DrawElementsUByte.cpp, - src/osgPlugins/ive/DrawElementsUInt.cpp, - src/osgPlugins/ive/DrawElementsUShort.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, - src/osgWrappers/genwrapper.conf, src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/State.cpp: Introduced new BufferObject design - + implementation in preperation of implementing a pool system for - buffer objects +1/ add restart index in osg::PrimitiveSet and use this value in all algorithms. It's a lot of work, maybe dangerous, and it concern only a few situations : developpers who use this extension should be aware of advanced OpenGL (and OSG) data management -2009-10-01 17:08 cedricpinson +2/ use a StateAttribute, and choose a "correct" restart index. In my applications, I always use "0" as a restart index and duplicate the first vertex (vertex[0] = vertex[1]). So there is no difference for OpenGL and all OSG algorithms works properly. +" - * include/osgAnimation/Target, src/osgAnimation/MorphGeometry.cpp: - From Michael Platings, In Target, the default constructor is - explicitly called on _target. This is necessary for FloatTarget - and DoubleTarget so that _target is initialised to 0, otherwise - you get a junk value. In MorphGeometry.cpp, UpdateMorph::link now - links channels of the same index to the same target. Previously a - new FloatTarget was created for each channel, so multiple - animations didn't work. -2009-09-27 15:21 robert - * src/osg/Texture.cpp: Fixed warning about max texture size being - smaller than the currently used texture pool size -2009-09-27 15:14 robert +Fri, 28 Jun 2013 12:45:39 +0000 +Checked in by : Robert OSFIELD +Added handling of an odd number rows in the capsule rendering and primitive calculation. - * include/osg/Texture, src/osg/Texture.cpp, - src/osgWrappers/osg/Texture.cpp: Added handling of resetting of - the texture object format - -2009-09-27 14:38 robert - - * src/osg/Texture1D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp: Added status collection to full - range of texture classes - -2009-09-26 16:28 robert - - * src/osg/Texture.cpp, src/osg/Texture2D.cpp, - src/osgUtil/SceneView.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Timer.cpp: Improved the computation of the - TextureProfile _size value, fixed the computation up of the - miplevels - -2009-09-25 18:05 robert - - * include/osg/Texture, include/osg/Timer, src/osg/Texture.cpp, - src/osg/Texture2D.cpp, src/osgUtil/SceneView.cpp: Added stats - collection to new Texture Pool code, and improved TexturePool - implementation. - - The Texture Pool can be enabled by setting the env var - OSG_TEXTURE_POOL_SIZE=size_in_bytes. - Note, setting a size of 1 will result in the TexturePool - allocating the minimum number of - textures it can without having to reuse TextureObjects from - within the same frame. - -2009-09-25 18:03 robert - - * include/osgAnimation/UpdateCallback: Fixed warning +Fri, 28 Jun 2013 12:00:43 +0000 +Checked in by : Robert OSFIELD +From David Callu, warning fixes and removal of spaces at end of lines. -2009-09-24 10:11 robert - - * src/osgVolume/RayTracedTechnique.cpp: Added return at end of to - fix warning - -2009-09-23 15:16 robert - - * include/osg/Texture, include/osg/Version: From Jean-Sebastien - Guay, fixed Widows build and updated the SO version - -2009-09-23 14:54 robert - - * src/osg/State.cpp, src/osgUtil/SceneView.cpp: Moved setting of - TexturePoolSize into State. - -2009-09-23 13:51 robert - - * include/osg/Texture, src/osg/Texture.cpp, - src/osgUtil/SceneView.cpp, src/osgWrappers/osg/Texture.cpp: - Introduced memory pool size management +Fri, 28 Jun 2013 10:59:01 +0000 +Checked in by : Robert OSFIELD +From David Callu, "in osgViewer::WoWVxDisplay::WoWVxDisplay(unsigned int type=20, unsigned int screenNum=0) screenNum is unused.fix attached. +" -2009-09-22 18:45 robert - * include/osg/DisplaySettings, include/osg/State, - include/osg/Texture, src/osg/DisplaySettings.cpp, - src/osg/FrameBufferObject.cpp, src/osg/State.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp, src/osgText/Font.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/Renderer.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/State.cpp, src/osgWrappers/osg/Texture.cpp: - Preliminary work on support for a texture object pool that is - designed to help manage resources down the GPU more tightly. -2009-09-20 09:26 robert +Fri, 28 Jun 2013 10:51:22 +0000 +Checked in by : Robert OSFIELD +From David Callu, added support for glVertexAttribLPointer and glVertexAttribIPointer, utilized via osg::Array::setPreserveDataType(true); - * src/osgPlugins/dicom/CMakeLists.txt: Change win32 external - library to wsock32.lib +Fri, 28 Jun 2013 08:57:42 +0000 +Checked in by : Robert OSFIELD +From David Callu, serializer support for new Vec* and Vec*Array classes -2009-09-19 09:18 robert +Fri, 28 Jun 2013 08:11:46 +0000 +Checked in by : Robert OSFIELD - * src/osgPlugins/dicom/CMakeLists.txt: Added Ws2_32.lib to link of - dicom plugin under Win32 -2009-09-17 13:40 robert +Thu, 27 Jun 2013 17:37:03 +0000 +Checked in by : Robert OSFIELD +From David Callu, "Added Vec3ub, Vec3us, Vec4us, Vec2ub and Vec2us classes" - * examples/CMakeLists.txt, examples/osgQtBrowser, - examples/osgQtBrowser/CMakeLists.txt, - examples/osgQtBrowser/QGraphicsViewAdapter.cpp, - examples/osgQtBrowser/QGraphicsViewAdapter.h, - examples/osgQtBrowser/QWebViewImage.cpp, - examples/osgQtBrowser/QWebViewImage.h, - examples/osgQtBrowser/osgQtBrowser.cpp: Introduced new - osgQtBrowser example. +Thu, 27 Jun 2013 16:44:32 +0000 +Checked in by : Robert OSFIELD +From Lionel Lagarde, "Support for paging and shared PBO""The attached file contains: +- a per-context read counter in GLBufferObject::BufferEntry +- a global client counter in BufferData +- the glue between Texture* and Image client counter +" -2009-09-14 16:07 robert - * src/osgWrappers/osgAnimation/Action.cpp, - src/osgWrappers/osgAnimation/ActionCallback.cpp, - src/osgWrappers/osgAnimation/ActionVisitor.cpp, - src/osgWrappers/osgAnimation/AnimationManager.cpp, - src/osgWrappers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/osgAnimation/BoneMapVisitor.cpp, - src/osgWrappers/osgAnimation/Channel.cpp, - src/osgWrappers/osgAnimation/ComputeBindMatrixVisitor.cpp, - src/osgWrappers/osgAnimation/FindParentAnimationManagerVisitor.cpp, - src/osgWrappers/osgAnimation/FrameAction.cpp, - src/osgWrappers/osgAnimation/StatsHandler.cpp, - src/osgWrappers/osgAnimation/StatsVisitor.cpp, - src/osgWrappers/osgAnimation/Target.cpp, - src/osgWrappers/osgAnimation/removed.gw: Updated wrappers -2009-09-11 13:08 robert +Thu, 27 Jun 2013 15:18:38 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, added passing on of the gl array normalize to OpenGL when uses vertex attribute aliasing. - * src/osg/TransferFunction.cpp, - src/osgVolume/RayTracedTechnique.cpp: Fixed bug in interpolation - of colour values +Thu, 27 Jun 2013 14:46:16 +0000 +Checked in by : Robert OSFIELD +Replaced deprecatated osg::Geometry::get*Binding() calls. -2009-09-10 16:39 robert +Thu, 27 Jun 2013 13:37:26 +0000 +Checked in by : Robert OSFIELD +Added Geometry::containsDeprecatedData() / fixDeprecatedData() - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added tf-255 option to - volume tag +Thu, 27 Jun 2013 10:58:26 +0000 +Checked in by : Robert OSFIELD +Removed deprecated usage of osg::Geometry::get*Binding() -2009-09-09 18:13 cedricpinson +Thu, 27 Jun 2013 09:59:33 +0000 +Checked in by : Robert OSFIELD +Replaced deprecated osg::Geometry::set*Binding() usage. - * include/osgAnimation/Channel: From Cedric Pinson, Fix - createKeyframeContainerFromTargetValue to recreate its sampler - from scratch to not change keyframe container of another sampler +Thu, 27 Jun 2013 09:54:45 +0000 +Checked in by : Robert OSFIELD +Replaced deprecated osg::Geometry::set*Binding() usage -2009-09-09 15:22 robert +Thu, 27 Jun 2013 09:54:12 +0000 +Checked in by : Robert OSFIELD +Replaced deprecated osg::Geometry::set*Binding() usage. - * src/osgVolume/Layer.cpp: Added reset of the ImageDetails values - of TexelOffset and TexelScale. +Thu, 27 Jun 2013 08:44:15 +0000 +Checked in by : Robert OSFIELD +Replaced deprecated osg::Geometry::set*Binding() usage -2009-09-09 13:31 robert +Thu, 27 Jun 2013 08:30:51 +0000 +Checked in by : Robert OSFIELD +Replaced deprecated Geometry::set*Binding() - * src/osgPlugins/osgVolume/ImageLayer.cpp: Added support for using - the ImageDetails to fill in the Locator and TexelScale/Offset - values in the ImageLayer +Wed, 26 Jun 2013 18:06:09 +0000 +Checked in by : Robert OSFIELD +Replaced deprecated Geometry::set*Binding() usage -2009-09-09 13:23 robert +Wed, 26 Jun 2013 17:58:57 +0000 +Checked in by : Robert OSFIELD +Removed deprecated Geometry::set*Binding() usage - * applications/present3D/present3D.cpp: Added support for "--output - filename.osg" command line option to avoid debugging of generated - presentations +Wed, 26 Jun 2013 17:54:35 +0000 +Checked in by : Robert OSFIELD +Added osg::getBinding(osg::Array* array) convinience function that returns the Array::getBinding() is the array is not NULL, otherwise returns BIND_OFF. -2009-09-09 09:54 cedricpinson +Wed, 26 Jun 2013 17:45:19 +0000 +Checked in by : Robert OSFIELD +Replaced deprecated osg::Geometry::set*Binding() usage - * include/osgAnimation/AnimationManager, - src/osgAnimation/AnimationManager.cpp: From Cedric Pinson, remove - unsused files include/osgAnimation/AnimationManager and - src/osgAnimation/AnimationManager.cpp +Wed, 26 Jun 2013 17:44:30 +0000 +Checked in by : Robert OSFIELD +Replaced deprecated osg::Geometry::set*Binding() calls. -2009-09-09 09:52 cedricpinson +Wed, 26 Jun 2013 16:16:23 +0000 +Checked in by : Robert OSFIELD +From Sebastian Messerschmidt, "I've taken some time and refactored some places where the old set*Binding were used." - * include/osgAnimation/AnimationManagerBase, - include/osgAnimation/Channel, include/osgAnimation/CubicBezier, - include/osgAnimation/Target, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/BasicAnimationManager.cpp, - src/osgAnimation/CMakeLists.txt, - src/osgAnimation/TimelineAnimationManager.cpp: From Michael - Platings, I have removed Target::normalize() as calling it was - incorrect - the interpolation is already done in such a way that - the Target's value is always normalized. - Finally, I have fixed TemplateTarget::lerp() as it was - giving incorrect results when interpolating between some small - rotations. - From Cedric Pinson, i renamed the method in channel to be more - general. Adjusted the CubicBezier key constructor to use a single - value as input. +Wed, 26 Jun 2013 13:00:12 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, "This submission allow the user to specify how to setup VertexAttributeAliasing.I think this is necessary on OpenGL 3.2+ since this is no more "default" locations in the OpenGL specs. -2009-09-08 15:36 robert +The default behaviour stay the same. - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/RayTracedTechnique.cpp: Tweaked debugging info +There is a few new methods on osg::State : -2009-09-08 15:36 robert +- resetVertexAttributeAlias : reset all vertex alias to osg's default ones +- set**Alias : set a vertex attribute alias configuration +- setAttributeBindingList : set the attribute binding list (allow to specify an empty list if you're using "layout" qualifier in glsl code to specify the bindings. This save some CPU operations)" - * src/osgPresentation/SlideShowConstructor.cpp: Fixed the set up of - osgVolume::ImageLayer scale and offset. - -2009-09-07 12:51 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Added filter for - .filename files - -2009-09-07 12:21 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated XCode project -2009-09-07 10:54 robert - * src/osgPresentation/SlideShowConstructor.cpp: Updated volume - setup code to use the new ImageDetails structure. - -2009-09-07 10:50 robert - - * src/osgVolume/RayTracedTechnique.cpp: Added check for null - masterLocator +Wed, 26 Jun 2013 12:59:40 +0000 +Checked in by : Robert OSFIELD +Removed unused methods -2009-09-07 08:30 robert +Wed, 26 Jun 2013 12:33:40 +0000 +Checked in by : Robert OSFIELD +Removed spaces from end of line - * src/osgVolume/RayTracedTechnique.cpp: Fixed assingment of - layerLocator +Wed, 26 Jun 2013 12:33:14 +0000 +Checked in by : Robert OSFIELD +Fixed bug in TemplateTargetAttributeDispatch that was causing a crash with the osgsimplegl3 example -2009-09-04 09:11 robert +Wed, 26 Jun 2013 09:04:20 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov and Robert Osfield, "the index mesh and vertex pre-transform optimizers can rearrange or change the size of arrays assigned to a geometry. This leads to crashes or corrupt geometry when using shared arrays.Attached a fix that duplicates shared geometry arrays." - * examples/osgbrowser/osgbrowser.cpp: Fixed empty lines -2009-09-03 14:39 robert - * src/osgVolume/Layer.cpp, src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp: Added scaling of - shader transfer function input values to honour original dicom - input values -2009-09-03 13:40 robert - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Layer, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/Layer.cpp, src/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/osgVolume/Layer.cpp: Renamed the - osgVolume::Layer/ImageDetails parameters RescaleIntercept and - RescaleSlope to more general TexelOffset and TexelScale, and - changed type to Vec4. - - Refactored the transfer function set up in RayTracedTechnique to - prepare for new scale and offset uniforms. - - Updated wrappers - -2009-09-01 10:48 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Layer, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/Layer.cpp: Added support for recording the - RescaleIntecept and RescaleSlope from the dicome files and - passing these values onto osgVolume::ImageLayer - -2009-08-31 15:10 robert - - * src/osgWrappers/osgAnimation/Animation.cpp, - src/osgWrappers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/osgAnimation/Bone.cpp, - src/osgWrappers/osgAnimation/Channel.cpp, - src/osgWrappers/osgAnimation/LinkVisitor.cpp, - src/osgWrappers/osgAnimation/Target.cpp, - src/osgWrappers/osgAnimation/Timeline.cpp, - src/osgWrappers/osgAnimation/UpdateCallback.cpp: Updated wrappers - -2009-08-31 10:37 cedricpinson - - * include/osgAnimation/BoneMapVisitor, - include/osgAnimation/ComputeBindMatrixVisitor, - include/osgAnimation/FindParentAnimationManagerVisitor, - src/osgAnimation/BoneMapVisitor.cpp, - src/osgAnimation/FindParentAnimationManagerVisitor.cpp: From - Cedric Pinson, add missing files - -2009-08-31 09:40 cedricpinson - - * include/osgAnimation/Action, include/osgAnimation/ActionVisitor, - include/osgAnimation/Bone, include/osgAnimation/LinkVisitor, - include/osgAnimation/Target, src/osgAnimation/Action.cpp, - src/osgAnimation/ActionVisitor.cpp, src/osgAnimation/Bone.cpp, - src/osgAnimation/CMakeLists.txt, src/osgAnimation/Target.cpp, - src/osgAnimation/Timeline.cpp, - src/osgAnimation/UpdateCallback.cpp: From Cedric Pinson, The - following modification are - Update Timeline.cpp to add current layer to the ActionVisitor, - use correctly the priority - Add accessors in Action.cpp to retrieve protected data - Split files and rename them to classname - Change de default color of UpdateMaterial to FFOOFF to detect - unset value - Add accessors in LinkVisitor instead of accessing data directly - Update osganimationtimeline example to fit the api callback - -2009-08-27 19:25 robert - - * src/osgTerrain/Locator.cpp, src/osgVolume/Locator.cpp: Fixed the - compute of the extents/bounding sphere - -2009-08-27 16:42 robert - - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Added support to - .p3d format's volume tag for the properties: - - region="xmin ymin zmin xmax ymax zmax" - alpha="float_value" - cutoff="float_value" - sampleDenstiy="float_value" - -2009-08-27 16:21 cedricpinson - - * include/osgAnimation/Bone, include/osgAnimation/Skeleton, - src/osgAnimation/Bone.cpp, src/osgAnimation/Skeleton.cpp: From - Michael Platings, I've moved the matrix updating from - UpdateSkeleton to UpdateBone. UpdateSkeleton now merely checks - that Bones appear before other children and issues a warning if - this isn't the case - -2009-08-26 16:39 cedricpinson - - * include/osgAnimation/AnimationManagerBase, - include/osgAnimation/UpdateCallback, - src/osgAnimation/AnimationManagerBase.cpp: From Michael Platings, - I've just added a few simple accessors I found necessary - -2009-08-26 09:24 cedricpinson - - * include/osgAnimation/Animation, include/osgAnimation/Channel, - include/osgAnimation/Target, src/osgAnimation/Animation.cpp, - src/osgAnimation/BasicAnimationManager.cpp, - src/osgAnimation/Channel.cpp, src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/Target.cpp, - src/osgPlugins/osgAnimation/ReaderWriter.cpp: From Michael - Platings, - - Animations with equal priority are now weighted correctly - relative to each other - - (minor) Channels no longer store their weight as the only time - it's used is in update() when Animation can pass in the weight - directly - From Cedric Pinson, - - I adjusted the quaternion blending to keep the commutativy - property - -2009-08-22 17:13 robert - - * include/osg/Object: From Michael Platings, "the DAE importer was - crashing when calling osg::Object::setName with a null pointer - argument. Rather than trying to fix all the places this might - happen and probably missing a few, I thought it would be better - to trivially validate the input in setName. With this fix if - setName is called with a null pointer then the name is cleared." - -2009-08-21 13:55 robert - - * src/osgWrappers/genwrapper.conf, - src/osgWrappers/osgAnimation/Channel.cpp, - src/osgWrappers/osgAnimation/Interpolator.cpp: Fixed osgAnimation - wrappers - -2009-08-21 12:53 robert - - * src/osgWrappers/osgWidget/WindowManager.cpp: Updated wrappers - -2009-08-21 11:31 robert - - * include/osgAnimation/Interpolator: From Magnus Kessler, "At the - end of the void function - osg::Animation::TemplateStepInterpolator::getValue the code tries - to return - the result rather than assigning it to the result parameter - reference. - - The following patch fixes this." - -2009-08-21 10:18 robert - - * src/osgPresentation/SlideShowConstructor.cpp: Fixed handling of - double precision bounding sphere type. - -2009-08-21 09:54 robert - - * include/osgWidget/WindowManager: From Stephane Lamoliatte, "I - just add the a missing getView() function to the WindowManager." - -2009-08-21 09:43 robert - - * src/osgShadow/ShadowVolume.cpp: From Wojciech Lewandowski, part - of the FBO attachment submission +Wed, 26 Jun 2013 08:53:56 +0000 +Checked in by : Robert OSFIELD +Removed Geometry::fixDeprecatedData() as it won't work on const Geometry -2009-08-21 09:42 robert +Wed, 26 Jun 2013 07:08:26 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "The attached file replaces the deprecated geometry use in osgSim. The per primitive use is changed to full per vertex arrays." - * src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osgDB/XmlParser.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp: Updated wrappers +Tue, 25 Jun 2013 16:19:00 +0000 +Checked in by : Robert OSFIELD +Removed #include as it's nolonger required in the header -2009-08-21 09:34 robert +Tue, 25 Jun 2013 16:10:24 +0000 +Checked in by : Robert OSFIELD +With assistance from Sukender, moved the depreacted osg::Geometry vertex indices and AttributeBinding definitions out into a separated namespace/class so to use deprecated features you should now use deprecated_osg::Geometry in place of osg::Geometry. - * include/osg/Camera, include/osg/CullSettings, - include/osgUtil/RenderStage, src/osg/Camera.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp: From Wojciech Lewandowski, support for - FBO's without colour or depth attachments. - - Note from Robert Osfield, I've temporarily re-enabled the old - focing of of color and depth attachment to avoid regressions on - some OpenGL driver. We'll revist this once - we have a mechanism for controlling this override at runtime. - - #define FORCE_COLOR_ATTACHMENT 1 - #define FORCE_DEPTH_ATTACHMENT 1 +Tue, 25 Jun 2013 11:13:50 +0000 +Checked in by : Robert OSFIELD +From Christian Buchner, "Here is a strongly overhauled version of the original osgoit ("order independent transparency") by Mathias Fröhlich. I called this version myosgoit. It looks very nice, just build and run it!This version adds: -2009-08-20 16:39 robert +- an encapsulation of the entire Depth Peeling procedure into a class (not currently a scene graph node) for easier integration in other projects. - * include/osgAnimation/Interpolator: From Magnus Kessler, - "osgAnimation/Interpolator includes itself. The following patch - removes the - superfluous include" +- compositing with opaque (solid) geometry is possible and the opaque model is only rendered once. This needs to performs some depth buffer blitting between FBOs. -2009-08-20 16:05 robert +- mix and match with GLSL shaders in the transparent objects is possible, as demonstrated with a 3D heat map intersecting an opaque truck model. - * src/osgViewer/GraphicsWindowX11.cpp: From Tom Moore, "Parens were - being returned when the bracket keys were typed. The fix - is easy and the original code looks like a typo" -2009-08-20 15:32 robert +Some Drawbacks: - * src/osgDB/ReaderWriter.cpp: From Colin McDonald, "This file - didn't build when OSG_USE_UTF8_FILENAME was on" +- the display framebuffer does not receive any depth information from the compositing camera. This could be fixed by compositing with a GLSL shader and writing to FragDepth." -2009-08-20 15:20 robert +From Robert Osfield, ported the code to work under Linux and without the automatic ref_ptr to C* conversion. - * src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.cpp: From Colin McDonald, - "There is a duplicate class definition in the obj & dxf plugins - trunk, - causing static builds to fail." -2009-08-20 14:59 robert - * src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/mdl/MDLReader.cpp: From Colin McDonald, "The bsp & - mdl plugins have calls to atof() without including the - associated header. This breaks the build on my Solaris - setup. - - Rather than adding the missing include, I have changed - the - atof() calls to osg::asciiToDouble(). This is the same as was - done - throughout the other plugins recently, for locale independance. - - I've attached updates to the svn trunk, the fix is also - appropriate for - the 2.8.* branch." -2009-08-20 14:59 robert - * src/osgPlugins/ffmpeg/FFmpegImageStream.cpp: Added check against - a minimual video size of 10x10 to prevent problems with swscale - reporting errors and crashing on small video dimensionsline, and - those below, will be ignored-- - - M ffmpeg/FFmpegImageStream.cpp +Tue, 25 Jun 2013 09:52:38 +0000 +Checked in by : Robert OSFIELD +From Alberto Luacas, "current Doxygen warns against the use of obsolete fields: DETAILS_AT_TOP, SHOW_DIRECTORIES, HTML_ALIGN_MEMBERS.I have removed those in the configuration files." -2009-08-20 14:20 robert - * applications/present3D/present3D.cpp: Improved the custom cursor - code and release and compute settings -2009-08-20 14:19 robert - * include/osg/CoordinateSystemNode: From Ronald van Maarseveen and - Robert Osfield, changed compute of up vector and localToWorld - transform so that it takes in to account the geographic latitude. +Mon, 24 Jun 2013 12:51:02 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, "I fixed a little issue with the lightwave scene loader. On the version 5 there are id on the command LoadObjectLayer in the scene file and of this version the current code use this field as a part of the filename, and it fails because the file is not found. I just added a field version_ to read it at the beginning and added extra code to check it and read the extra field if needed and read the good filename" -2009-08-19 15:36 robert +Mon, 24 Jun 2013 12:31:48 +0000 +Checked in by : Robert OSFIELD +From Christian Ruzicka, "when MSAA is activated on iOS, the stencil attachment is not added (Stencil buffer is not working at all). Attached are the needed changes to make MSAA + stencil working on iOS.Tested with OSG 3.1.7 and iOS SDK 6.1." - * examples/osgvolume/osgvolume.cpp: Fixed typo -2009-08-19 15:36 robert - * include/osgDB/XmlParser, src/osgDB/XmlParser.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for - trimming the contents of parsed Xml graph +Mon, 24 Jun 2013 12:30:08 +0000 +Checked in by : Robert OSFIELD +Updatd SO_VERSION to reflect changes in ABI from merging submissions. -2009-08-18 13:38 robert +Mon, 24 Jun 2013 12:27:19 +0000 +Checked in by : Robert OSFIELD +From Sukender, "I recently pulled from the GIT mirror and found that "OSG_USE_DEPRECATED_GEOMETRY_METHODS=OFF" hides a little mistake: there is a "#include " inside the "osg" namespace, in inlude/osg/Geometry. " - * src/osgDB/XmlParser.cpp: Added tabs to treatment as white space - to skyWhiteSpace() +Mon, 24 Jun 2013 11:40:16 +0000 +Checked in by : Robert OSFIELD +From Mourad Boufarguine, "Attached is a fix for the ply reader to use the output of osgDB::findDataFile." -2009-08-17 16:07 robert - * src/osgDB/XmlParser.cpp: Added check for space in option name - parsing -2009-08-17 15:46 robert +Mon, 24 Jun 2013 11:39:26 +0000 +Checked in by : Robert OSFIELD +From Luc Frauciel, "You'll find attached a modification of DXWriter to support Material color: If a material is present, the diffuse color is affected to current layer." - * src/osgPresentation/SlideShowConstructor.cpp: Added support for - the TabBoxTrackballDragger +Mon, 24 Jun 2013 11:14:13 +0000 +Checked in by : Robert OSFIELD +From Lars Nillson, "The change in this submission is to take care of the setting given by a call to setMaximumNumOfObjectsToCompilePerFrame(…).Sometimes if you give a low number, more than the expected number of objects are compiled." -2009-08-17 15:45 robert - * src/osgPresentation/SlideEventHandler.cpp: Changed the autorun - keys to 'g' for go, and 'h' for halt. -2009-08-17 15:24 robert +Mon, 24 Jun 2013 11:03:59 +0000 +Checked in by : Robert OSFIELD +Convert usage to use const versions of containers - * src/osgWrappers/osgAnimation/Channel.cpp, - src/osgWrappers/osgAnimation/Interpolator.cpp, - src/osgWrappers/osgAnimation/Sampler.cpp: Updated wrappers +Mon, 24 Jun 2013 09:59:22 +0000 +Checked in by : Robert OSFIELD +From Frederic Morin, "Current behaviour uses SDKSettings.plist to determine osx version but this file is only available when XCode is installed.This version works also when Command Line Tools for XCode are +installed (minimum build env for osx without XCode) -2009-08-17 15:22 robert +See https://github.com/openscenegraph/osg/pull/8 for patch details +Patch: https://github.com/openscenegraph/osg/pull/8/files" - * src/osg/GLExtensions.cpp: Moved static string initialization into - singleton method -2009-08-06 12:40 cedricpinson - * include/osgAnimation/Bone, include/osgAnimation/Channel, - include/osgAnimation/Interpolator, include/osgAnimation/Sampler, - src/osgAnimation/UpdateCallback.cpp: From Michael Platings, - Changes to allow osgAnimation::*CubicBezierChannel to be used - Added TemplateStepInterpolator class +Mon, 24 Jun 2013 09:51:30 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I've attached a small patch that extends the Image::readImageFromCurrentTexture method to support more depth texture pixel formats (16, 24, 32, 32F). In order to compile, I moved some depth pixel format definitions from FrameBufferObject to Image. " -2009-08-06 10:57 robert +Mon, 24 Jun 2013 09:31:34 +0000 +Checked in by : Robert OSFIELD +From Christian Noon, "Got a simple patch for correcting a problem with the USE_COMPRESSOR_WRAPPER() macro in the osgDB::Registry. The problem is that the wrapper declaration doesn't match the one defined in the REGISTER_COMPRESSOR() method in the osgDB::ObjectWrapper method. This patch fixes the wrapper declaration so they both match properly. I ran into this problem using compressed files in an iOS application where all the libraries and plugins need to be built statically." - * applications/present3D/present3D.cpp: Added a viewer.frame() call - prior to the useCursor(false) calls to avoid a threading crash - under X11 +Mon, 24 Jun 2013 09:12:58 +0000 +Checked in by : Robert OSFIELD +From Nick Black, "Hey there! avcodec_open() has been deprecated for some time, and indeed has been removed in the most recent versions of libavcodec/ffmpeg. You're already using avcodec_open2() elsewhere, but one appears to have been missed. The change is trivial:[skynet](0) $ svn diff +Index: src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp +=================================================================== +--- src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp (revision 13355) ++++ src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp (working copy) +@@ -109,7 +109,7 @@ + // m_context->flags |= CODEC_FLAG_TRUNCATED; -2009-08-06 10:06 robert + // Open codec +- if (avcodec_open(m_context, p_codec) < 0) ++ if (avcodec_open2(m_context, p_codec, NULL) < 0) + throw std::runtime_error("avcodec_open() failed"); + } - * applications/present3D/present3D.cpp: Fixed custom cursor support +[skynet](0) $ -2009-08-05 17:01 robert +I've applied similar changes this year to many other packages, including +cheese, blender, linphone, ad nauseam. It's been tested by verifying that +with my patch, OSG builds against the newest libavcodec and ffmpeg, whereas +otherwise it does not. - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for - selecting the TabBoxTrackballDragger using - dragger="trackball-box" +The modified src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp is attached. It +originates in svn trunk revision 13355. Thanks!" -2009-08-05 16:02 robert - * examples/osgmanipulator/osgmanipulator.cpp, - include/osgManipulator/TabBoxTrackballDragger, - src/osgManipulator/CMakeLists.txt, - src/osgManipulator/TabBoxTrackballDragger.cpp: Introduced - TabBoxTrackballDragger -2009-08-05 14:37 robert +Mon, 24 Jun 2013 09:02:32 +0000 +Checked in by : Robert OSFIELD +Introduced typedef's to make the code more readble and maintanable - * include/osgPresentation/SlideShowConstructor, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPresentation/CMakeLists.txt, - src/osgPresentation/SlideShowConstructor.cpp: Added support for - volume tags with properties: - - dragger="box" or dragger="trackball" - - and - - technique="light" or technique="isosurface" or technique="iso" or - technique="mip" - - and - - tf="transferfunctionfile.tf" - - i.e. - - CardiacCT - CardiacCT - CardiacCT +Mon, 24 Jun 2013 08:48:55 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "The file attached includes two new features for the serialization IO functionality. First, custom serializer version control should work now, just by defining a new REGISTER_CUSTOM_OBJECT_WRAPPER macro. For example:// A custom class +namespace CustomDomain { -2009-08-05 12:51 robert +class MyGroup : public osg::Group +{ +public: + META_Node( CustomDomain, MyGroup ); - * src/osgWrappers/genwrapper.conf, - src/osgWrappers/osgAnimation/Bone.cpp, - src/osgWrappers/osgAnimation/LinkVisitor.cpp, - src/osgWrappers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/osgAnimation/UpdateCallback.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgViewer/Scene.cpp: Updated wrappers - -2009-08-05 11:06 robert - - * include/osgDB/Registry, include/osgViewer/Scene, - src/osgDB/DatabasePager.cpp, src/osgDB/Registry.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Scene.cpp, - src/osgViewer/Viewer.cpp: Moved the updating and expiry of the - Registry object cache from DatabasePager into - osgViewer::Viewer/CompositeViewer. - -2009-08-04 16:19 robert - - * applications/present3D/present3D.cpp: Updated the Present3D - version number - -2009-08-03 09:48 cedricpinson - - * include/osgAnimation/Bone, include/osgAnimation/LinkVisitor, - include/osgAnimation/MorphGeometry, - include/osgAnimation/UpdateCallback, src/osgAnimation/Bone.cpp, - src/osgAnimation/LinkVisitor.cpp, - src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/UpdateCallback.cpp, - src/osgPlugins/osgAnimation/ReaderWriter.cpp: From Cedric Pinson, - Add UpdateMaterial callback to animate material\nUpdate - LinkVisitor to traverse stateset\nUpdate ReaderWriter to read - osgAnimation::UpdateMaterial Callback\nUpdate nathan.osg data - file to demonstrate the MaterialAnimation - -2009-07-28 06:00 robert - - * include/osg/Node: Tweak of NodeMask docs - -2009-07-28 06:00 robert - - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Text.cpp, - src/osgPlugins/osgText/IO_TextBase.cpp: From Terry Welsh, .osg - and .ive support for new Text boxes - -2009-07-27 15:39 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp: Fixed bug in handling of - stereo image pairs - -2009-07-24 15:55 robert - - * src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgText/TextBase.cpp: Updated wrappers - -2009-07-24 15:30 robert - - * include/osg/Node: From Lee Butler and Robert Osfield, doxygen - comment explaining role of NodeMask - -2009-07-24 15:09 robert - - * src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPGeometry.h, - src/osgPlugins/bsp/VBSPReader.cpp: From Jason Daly, "This set of - changes reworks the BSP plugin to use TexEnvCombine instead of a - GLSL program for doing the texture blending on displaced terrain - geometry. After working with it a while, I found this method to - be more scene graph friendly (at least until Wojtek gets his - VirtualProgram scheme working ;-) ) - - Note that this technique will require ARB_texture_env_crossbar - (or NV_texture_env_combine4), as it mixes two textures in the - first texture unit, and just does the lighting in the second. I - doubt this will be a problem for any card that can already handle - GLSL programs, though." - -2009-07-24 15:04 robert - - * src/osgGA/SphericalManipulator.cpp: From Cory Riddell, "The - spherical manipulator uses a middle drag event for panning. It - was - panning for left-right drags, but was zooming for up-down drags. - I - changed it to pan both directions as I believe that is the - correct - behaviour. If the original combination pan-zoom behaviour was - intentional, please let me know." - -2009-07-24 14:59 robert - - * include/osgText/Text, include/osgText/TextBase, - src/osgText/Text.cpp, src/osgText/TextBase.cpp: From Terry Welsh, - "Okay, here are the mods I wrote for drawing a filled bounding - box - behind osgText::Text. I made it so the box would get drawn using - whichever BackdropImplementation was selected. However, I did not - implement STENCIL_BUFFER. In that case it defaults to drawing the - bounding box using POLYGON_OFFSET instead. - - Also made it so the BOUNDINGBOX and FILLEDBOUNDINGBOX are drawn - with a - settable color and margin size. - - While I was at it I tightened up the values applied with - DEPTH_RANGE - and POLYGON_OFFSET, not just for drawing the bounding box but - also for - drawing backdrop text (these values must be coupled since the - bounding - box has to be drawn deeper in Z than the backdrop text). The - values - in use before seemed like overkill and I was seeing some - z-clipping - with my background scenery in the case of DEPTH_RANGE. If there - was a - good reason for the large values please let me know...." - -2009-07-24 14:45 robert - - * include/osg/ApplicationUsage, include/osg/Camera, - include/osg/Shape, include/osgAnimation/MorphGeometry, - include/osgTerrain/Locator, include/osgTerrain/Terrain, - include/osgTerrain/TerrainTile, src/osg/Shape.cpp, - src/osg/ShapeDrawable.cpp, - src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgSim/LightPointNode.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderBin.cpp: From Chris Hanson, typo and comment - clean ups - -2009-07-24 14:45 robert - - * src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/osgAnimation/LinkVisitor.cpp, - src/osgWrappers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/osgTerrain/Locator.cpp, - src/osgWrappers/osgTerrain/TerrainTile.cpp: Updated wrappers - -2009-07-24 14:25 robert - - * include/osg/CoordinateSystemNode: From Chris Hanson, added - EllipsoidModel::isWGS84() method and clean up on comments. - -2009-07-24 12:12 robert - - * CTestConfig.cmake: From Jean-Sebastien Guay, updated CTestConfig - to point to new cdash.openscenegraph.org site - -2009-07-23 15:25 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated XCode project - -2009-07-23 12:42 cedricpinson - - * include/osgAnimation/AnimationManagerBase, - include/osgAnimation/LinkVisitor, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/CMakeLists.txt, - src/osgAnimation/LinkVisitor.cpp: From Cedric Pinson, Store the - linkvisitor to be able to configure it by user, like changing the - nodemaskoverride, or use a custom LinkVisitor - -2009-07-17 07:47 robert - - * src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: From J.P. Delport, - "attached a modified jpeg plugin that allows writing of grayscale - images." + void setMyName( const std::string& n ); + const std::string& getMyName() const; -2009-07-16 12:09 robert + void setMyID( int id ); + int getMyID() const; - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp: From Fabien - Lavignotte,"When exporting some models to OpenFlight, i found a - crash if the texture - unit does not contain a TexEnv object. - Here's the small fix, just a test on the pointer." + ... +}; -2009-07-16 12:04 robert +} - * src/osgWidget/Window.cpp: From Stephan Lamoliatte, "The vertical - anchor is inverted in the osgWidget::Window::update function. - Here is a small patch to fix that." +// The serialization wrapper using a custom domain name +REGISTER_CUSTOM_OBJECT_WRAPPER( MyDomain, + CustomDomain_MyGroup, + new CustomDomain::MyGroup, + CustomDomain::MyGroup, + "osg::Object osg::Node osg::Group CustomDomain::MyGroup" ) +{ + ADD_STRING_SERIALIZER( MyName, std::string() ); + { + UPDATE_TO_VERSION_SCOPED( 1 ); // Updated for a new domain version + ADD_INT_SERIALIZER( MyID, 0 ); + } +} -2009-07-16 11:49 robert +Save the class instance as follows: +osgDB::writeNodeFile( *myGroup, "serializer_test.osgt", new osgDB::Options("CustomDomains=MyDomain:1") ); - * examples/osganimationtimeline/osganimationtimeline.cpp: From - Cedric Pinson, fix crash without error messages if the example - does find the nathan.osg file. +The output file will include the domain version definition and all the class data, and can be read back. We can also force setting the domain version by the CustomDomains option while reading the saved files. If we save the class instance without any options, MyID will be ignored because the default domain version is 0. -2009-07-16 11:48 robert +This may help third-party libraries like osgEarth to maintain their own serializers without regarding to the OSG soversion changes. - * applications/present3D/ReadShowFile.cpp: Fixed build +Another feature added is a more robust binary format, which in fact adds a size-offset at each block's beginning. When there are problems or unsupported data types while reading, we can now directly jump to the block end indicated by the offset value. So a .osgb file will automatically ignore bad data and read remains as normal (at present it will fail at all). This feature will not break the backward compatibility, and can be disabled by setting "RobustBinaryFormat=false" while writing out. -2009-07-16 11:35 robert +Hope these changes can work smoothly with present and future community projects. Maybe we should also consider have an osgserializer example to test and demonstrate all things we can do now." - * src/osgPlugins/bsp/VBSPReader.cpp: Fixed build. -2009-07-16 11:26 robert - * src/osgPlugins/mdl/MDLReader.cpp: Added .get() to fix build +Mon, 24 Jun 2013 08:22:50 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "Sorry for my very slow response because of some personal issues. I found that new Geometry serializers can't work with old .osgb files. The modified FastPathHint serializer doesn't correctly read from the stream and thus jumbles following inputs. The file attached can be placed in osgWrappers/serializers/osg to fix that problem." -2009-07-16 11:21 robert - * src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/bsp/VBSPEntity.h, - src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/mdl/MDLReader.cpp, - src/osgPlugins/mdl/MDL_README.txt: From Jason Daly, "These are - some fixes to the mdl and bsp plugins to handle transparency and - lighting better, plus a few other tweaks." -2009-07-16 11:06 robert +Mon, 24 Jun 2013 08:19:34 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "The osgdb_ffmpeg plugin may not work with latest ffmpeg windows sdk and will say "The procedure entry point xxx could not be located in xxx.dll" instead. The following link describes the reason (maybe a certain optimization problem of the VS compiler): http://forum.videolan.org/viewtopic.php?f=32&t=98097After adding the /OPT:NOREF, the problem has gone. - * src/osgUtil/Optimizer.cpp: From Colin MacDonald,"The Optimizer - Merge Geometry visitor is always merging geometries, - even if they have had DataVariance DYNAMIC explicitly specified. - Then - when an application attempts to dynamically update the geometry - in the - frame loop the primitive sets and data arrays are no longer as - expected, leading to display and/or memory corruption. - - Attached is a simple fix. " - - Note from Robert Osfield, tweaked Colin's changes to that it use - != DYNAMIC as the the test rather than == STATIC. +" -2009-07-16 10:56 robert - * src/osgWrappers/osg/PagedLOD.cpp: Updated wrappers -2009-07-16 10:13 robert +Mon, 24 Jun 2013 08:18:08 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "In many game engines it is common to set the W component of the tangent vector to -1 if the UVs are mirrored and 1 if not. I've updated the osgUtil::TangentSpaceGenerator class to do the same." - * include/osg/PagedLOD, src/osg/PagedLOD.cpp, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/PagedLOD.cpp, - src/osgPlugins/osg/PagedLOD.cpp: Added the ability to turn off - the external paging in of PagedLOD children. +Fri, 21 Jun 2013 19:35:56 +0000 +Checked in by : Robert OSFIELD +Updated version number after dev release -2009-07-16 10:13 robert +Fri, 21 Jun 2013 19:35:26 +0000 +Checked in by : Robert OSFIELD +Removed spaces from end of lines - * applications/osgversion/Contributors.cpp: Updated Contributors - mapping +Fri, 21 Jun 2013 14:37:35 +0000 +Checked in by : Robert OSFIELD +Fixed author name error introduced by xxdiff -2009-07-16 10:12 robert +Fri, 21 Jun 2013 14:30:45 +0000 +Checked in by : Robert OSFIELD +Reapplied AUTHORS changes - * applications/present3D/ReadShowFile.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for using - PagedLOD to managing loading of presentation preview and then the - main presentation in the background paging thread +Fri, 21 Jun 2013 14:29:00 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog and AUTHORS.txt for release -2009-07-15 20:52 cedricpinson +Fri, 21 Jun 2013 14:17:42 +0000 +Checked in by : Robert OSFIELD +Removed unneccessary handling of BIND_PER_PRIMITIVE on output code - * include/osgAnimation/ActionCallback: From Cedric Pinson, add - accessors to osgAnimation ActionCallback +Fri, 21 Jun 2013 13:59:18 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, introduced use of osg::observer_ptr in place of osg::Camera* -2009-07-15 17:01 robert +Fri, 21 Jun 2013 13:41:03 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find the missing readObject-implementations for the imageio-plugin as suggested by Remo Eichenberger." - * applications/present3D/present3D.cpp: Added alias from xml to p3d - to ensure backwards compatibility with old present3D files with - the.xml extenstion +Fri, 21 Jun 2013 12:10:44 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, build fix -2009-07-15 15:28 robert +Fri, 21 Jun 2013 10:59:03 +0000 +Checked in by : Robert OSFIELD +Build fixes for new osg::Geometry - * src/osgDB/DatabasePager.cpp: Quitened down debug info. +Fri, 21 Jun 2013 10:14:18 +0000 +Checked in by : Robert OSFIELD +Converted osg::Geometry::ArrayData usage across to osg::Array. -2009-07-14 13:32 robert +Fri, 21 Jun 2013 10:03:49 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "I just tested openGL quadbuffered stereo with the osgviewer, the mouse works again, so does the keystonecorrection, but the right-eye render to texture camera appears not to clear it's color buffer. I found the problem in src\osgViewer\View.cpp, fix attached." - * src/osgPlugins/stl/ReaderWriterSTL.cpp: Cleaned up indenting +Fri, 21 Jun 2013 09:53:57 +0000 +Checked in by : Robert OSFIELD +From Mathieu Marache, I needed to modify the FindCOLLADA.cmake to enable its compilation under macosx. -2009-07-14 13:30 robert +Fri, 21 Jun 2013 09:47:04 +0000 +Checked in by : Robert OSFIELD +Converted ArrayData usage across to set*Array() usage with new binding parameter - * src/osgPlugins/stl/ReaderWriterSTL.cpp: Converted code to use - osg::asciiToFloat() instead of relying upong the C libraries - sscanf to read floats as the C library is locale sensitive. +Fri, 21 Jun 2013 09:43:15 +0000 +Checked in by : Robert OSFIELD +Added new osg::Array::Binding parameter to osg::Geometry::set*Array(osg::Array* array, osg::Array::Binding binding=osg::Array::BIND_UNDEFINED) methods to make it easier for the user to set the binding without the need to call the deprecated osg::Geometry::set*Binding(osg::Geometry::AttributeBinding) -2009-07-14 12:22 robert - - * src/osgPlugins/logo/ReaderWriterLOGO.cpp: From Alexandre Amalric, - "I'm using osg svn version 2.9.5 and I've apparently found a bug - in osgPlugin logo. - - When using more than one view logosCullCallback function is - called without checking context ID from the cull visitor is equal - to logo _contextID variable. It involves updating logo's viewport - with different sizes. - So I made a fix well working, at least the way I use the plugin." - - Note, from Robert Osfield, changed code to return true to signal - culling of logo when being applied to a window that it wasn't - assigned to. - -2009-07-14 11:19 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Moved the getting of - the ReaderWriter to do the actual model loading to later so that - it only gets invoked when required. - -2009-07-14 11:18 robert - - * src/osgPlugins/gz/ReaderWriterGZ.cpp: Quietened down debug - messages, and added early return when filename contains server - address. - -2009-07-14 10:37 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h: Refactored the setup of - the reading of the wrl file by allow reading from istreams, as - well as nesting of filepaths using a local osgDB::Options to - prevent threading issues. - - Also fixed crash in parsing of the vrml data structures that - occurred when no vrml material was assigned. - -2009-07-14 10:35 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Quitened down debug - messages - -2009-07-14 10:04 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Fixed the handling of - compressed files - -2009-07-13 16:39 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Cory Riddel based on - suggestion from Robert Osfield, "I've been running with your - suggested changes for a few days now and it - has been working perfectly. I'm still not entirely clear why - adding a - slave/subgraph causes the problem." - -2009-07-13 16:14 robert - - * src/OpenThreads/pthreads/PThreadBarrier.c++: From David Fries, - "Comparing the win32 barrier to the pthread barrier, win32 puts - the - while in an else clause. When if is true the phase changes and - the - while condition will always by false, so might as well put the - while - in the else to skip the check. There's also a benefit to having - the - code logic similar between platforms. - " - -2009-07-13 16:05 robert - - * src/OpenThreads/win32/Win32ConditionPrivateData.h: From David - Fries, "Here is a fix for a deadlock seen under Windows using - OpenThreads - Barrier operations. The error is with atomic operations in the - win32 condition implementation. The attached sample program will - reliably trigger with as few as three threads and a dual core - system, - though sometimes it will take 65,000 iterations. - - 2.8.1 was the base for these changes - - Win32ConditionPrivateData.h - Win32ConditionPrivateData::wait does two operations to decrement - waiters_ then read, when InterlockedDecrement decrements and - returns - the value in one operation. The two operations allows another - thread - to also decrement with both getting 0 for an answer. - - Win32ConditionPrivateData::broadcast is using waiters_ directly - instead of using the w value read earlier, if it was safe to use - waiters_ directly there would be no need for InterlockedGet or w. - - overview of deadlock in barrier with three threads - one thread in broadcast, 2 threads in wait, - release semaphore 2, waits on waiters_done_ - both threads wake, decrement waiters_, get 0 for w, - - one calls set waiters_done_, - broadcast thread comes out of waiters_done_, - other thread calls waiters_done_, (which leaves waiters_done_ in - the - signaled state) - - broadcast thread returns releases mutex, other threads get - mutex and also return, - next barrier, first two threads enter wait, one goes to - broadcast, release - semaphore 2, skips waiters_done_ as it had been released last - time - returns, processes, enters the barrier for the next barrier - operation - and waits, - three threads are now in wait, two have the previous barrier - phase, - one the current phase, there's one count left in the semaphore - which a - thread gets, returns, enters the barrier as a waiter, sleeps, and - the - deadlock is completed" - -2009-07-13 08:30 robert - - * include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, - "ttached you'll find a small fix for the - GraphicsWindowCocoa-implementation, which enhances multithreaded - stability, it ensures that modifications to the size of an - openglcontext - is done only from one thread. - " - -2009-07-12 15:44 robert - - * applications/osgviewer/osgviewer.cpp: Reverted erronous check-in - (which was r10454) - -2009-07-03 19:16 robert - - * applications/osgviewer/osgviewer.cpp, - examples/osgmanipulator/osgmanipulator.cpp, - examples/osgvolume/osgvolume.cpp, include/osgManipulator/Dragger, - src/osgManipulator/Dragger.cpp, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp: Added - Dragger::s/getActivationModKeyMask(..) and - Dragger::s/getActivationKeyEvent(...) methods to make it possible - to have draggers that only respond when you press a specified - modified key or standard key. - - Changed the optional dragger in osgvolume to require the shift - key to be pressed for the dragger to become active. - -2009-07-03 19:07 robert - - * src/osgPlugins/dicom/CMakeLists.txt: From and incorported the - addition from Paul Fotheringham, addition of define - VCL_CAN_STATIC_CONST_INIT_FLOAT to be zero to solve build error - under Linux - - From Robert Osfield, general cleaned up ITK side to - CMakeList.txt. - - - -2009-07-03 18:58 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: To the ITK code path - added support for handling a whole directory of dicom files. - -2009-07-03 10:33 robert - - * CMakeLists.txt, include/osg/Version: Updated version numbers for - 2.9.6 release - -2009-07-03 10:27 robert - - * src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/osgVolume/Locator.cpp: Updated wrappers - -2009-07-03 05:54 robert - - * examples/osgvolume/osgvolume.cpp: Added TrackballDragger code - path - -2009-07-03 05:54 robert - - * include/osgVolume/Locator: Added callback to locator in support - of interactive updating of the volume extents - -2009-07-03 05:52 robert - - * include/osgManipulator/Dragger: Added setUpGeometry to Dragger - base class to make it easier to use draggers interchangably. - -2009-07-03 05:25 robert - - * src/osgVolume/Locator.cpp, src/osgVolume/RayTracedTechnique.cpp: - Introduced a Locator callback and associated usage of this - callback to provide interactive updating of the volume bounds - -2009-07-02 18:50 robert - - * examples/osgvolume/CMakeLists.txt, - examples/osgvolume/osgvolume.cpp: Added support for a "-m" option - that adds a tab box manipulator to allow positioning and resizing - of the rendered volume - -2009-07-02 18:49 robert - - * include/osgVolume/RayTracedTechnique, - src/osgManipulator/Dragger.cpp, - src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp, - src/osgVolume/Shaders/volume_vert.cpp: Refactored - RayTracedTechnique to allow the position of the rendered part of - the volume to be decoupled from the image data. - -2009-07-01 15:39 robert - - * src/osgPlugins/OpenFlight/ExportOptions.cpp: From Byran Thrall, - "The OpenFlight plugin doesn't handle unrecognized options or - extra - whitespace in all cases, causing it to crash." - -2009-07-01 14:50 robert - - * examples/osgmanipulator/osgmanipulator.cpp: Removed old - references to CommandManager - -2009-07-01 14:49 robert - - * include/osgManipulator/CommandManager: Added constructor and - destructor body - -2009-07-01 14:04 robert - - * src/osgPresentation/CMakeLists.txt: Added osgGA to the dependency - list - -2009-07-01 14:01 robert - - * examples/osgmanipulator/osgmanipulator.cpp, - include/osgManipulator/Command, - include/osgManipulator/CommandManager, - include/osgManipulator/Dragger, include/osgManipulator/Export, - include/osgManipulator/Selection, - src/osgManipulator/CMakeLists.txt, - src/osgManipulator/Command.cpp, - src/osgManipulator/CommandManager.cpp, - src/osgManipulator/Constraint.cpp, - src/osgManipulator/Dragger.cpp, src/osgManipulator/Selection.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/CommandManager.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/Selection.cpp: Completed refactor - of osgManipulator, key changes are: - - Selection is now just a typedef of osg::MatrixTransform, and is - deprecated - - CommandManager is shell class that just sets values directly on - Dragger, and is deprecated - - Dragger now has list of DraggerCallback that takes over the roll - of tracking changes to the Dragger, and - allows users to track the dragger in any way they wish. - - Dragger now has a convinience method making MatrixTransforms - track a dragger. - - Selection and CommandManager are no longer required for use of - osgManipulator and are kept around for backwards compatibility. - -2009-07-01 09:30 cedricpinson - - * src/osgAnimation/Action.cpp: From Cedric Pinson, i miss to commit - the file that contains the osgAnimation::StripAnimation::traverse - -2009-06-30 13:00 robert - - * include/osgManipulator/Command, - include/osgManipulator/CommandManager, - src/osgManipulator/Command.cpp, - src/osgManipulator/CommandManager.cpp, - src/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/CommandManager.cpp: Simplified - Command and CommandManager - -2009-06-30 12:41 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgPresentation-Info.plist: From Stephan - Huber: updated XCode project, included osgPresentation - -2009-06-30 11:55 cedricpinson - - * include/osgAnimation/Action, include/osgAnimation/ActionVisitor, - src/osgAnimation/ActionVisitor.cpp, - src/osgAnimation/StatsHandler.cpp, - src/osgAnimation/StatsVisitor.cpp: From Cedric Pinson, Traverse - StripAction instead of applying, this fix the execution of - FrameCallback in BlendIn, BlendOut and AnimationAction\nFix - warning of osgAnimation::StatsHandler\nFix crash when running - example osganimationtimeline without nathan.osg in OSG_FILE_PATH - or with bad file - -2009-06-30 11:39 robert - - * examples/osgmanipulator/osgmanipulator.cpp, - include/osgManipulator/CommandManager, - include/osgManipulator/Constraint, - include/osgManipulator/Dragger, include/osgManipulator/Selection, - src/osgManipulator/CommandManager.cpp, - src/osgManipulator/Constraint.cpp, - src/osgManipulator/Dragger.cpp, - src/osgManipulator/RotateCylinderDragger.cpp, - src/osgManipulator/RotateSphereDragger.cpp, - src/osgManipulator/Scale1DDragger.cpp, - src/osgManipulator/Scale2DDragger.cpp, - src/osgManipulator/Translate1DDragger.cpp, - src/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/Selection.cpp: Refactored - osgManipulator so that CommandManager is no longer required, - instead Dragger directly manages Constaints and associate - Selections. - -2009-06-30 07:33 robert - - * src/osgWrappers/osgAnimation/Animation.cpp, - src/osgWrappers/osgAnimation/Channel.cpp, - src/osgWrappers/osgDB/Options.cpp, - src/osgWrappers/osgGA/SphericalManipulator.cpp, - src/osgWrappers/osgManipulator/Constraint.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp: Updated wrappers - -2009-06-29 21:32 robert - - * examples/osgmanipulator/osgmanipulator.cpp, - include/osgManipulator/AntiSquish, - include/osgManipulator/Constraint, - include/osgManipulator/Dragger, include/osgPresentation/Export, - src/osgManipulator/CMakeLists.txt, - src/osgManipulator/CommandManager.cpp, - src/osgManipulator/Dragger.cpp: Introduced event handling - directly into osgManipulator::Dragger to allow it be used with a - global event handler passing in events. - -2009-06-26 16:52 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Changed the - definition of HAVE_CONFIG_H so that it's only defined when on a - now windows system, so to allow the dcmtk/osconfig.h to include - the correct header on unix vs widows. - -2009-06-26 16:39 robert - - * CMakeModules/FindOurDCMTK.cmake, - src/osgPlugins/dicom/CMakeLists.txt: Added search in - /usr/local/dicom for dcmtk. - -2009-06-26 08:16 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: Fixed warning - -2009-06-26 08:14 robert - - * src/osgDB/DatabasePager.cpp: Fixed warning - -2009-06-25 18:31 robert - - * include/osgGA/TrackballManipulator, - src/osgGA/TrackballManipulator.cpp: Simplified throw rate code, - and add throw rate compensation into zoom in/out code. - -2009-06-25 18:11 robert - - * include/osgGA/TrackballManipulator, - src/osgGA/TrackballManipulator.cpp: From Lee Bulter, "I noticed - that when "throwing" things the rate of motion once thrown was - dependent on the complexity of the geometry. For complex scenes - this - meant that it looked like you were "throwing" the display into - molasses. - For simple geometry things get over-excited once thrown. - - The fix is to factor in the frame rendering time to the - caluclated - motion. I've implemented this for rotation and panning. - - Now when things are thrown they maintain a rate very close to - what was - happening when the mouse button was released." - -2009-06-25 18:03 robert - - * src/osgPresentation/CMakeLists.txt: Fixed library definition - -2009-06-25 16:12 robert - - * src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, fixes - to Cocoa support - -2009-06-25 16:07 robert - - * applications/present3D/ReaderWriterP3D.cpp, - src/osg/ArgumentParser.cpp, src/osg/CullSettings.cpp, - src/osg/DisplaySettings.cpp, src/osgDB/DatabasePager.cpp, - src/osgGA/DriveManipulator.cpp, - src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/cfg/ConfigParser.cpp, - src/osgPlugins/cfg/ConfigParser.y, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/normals/ReaderWriterNormals.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/ply/plyfile.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPParser.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgViewer/ViewerBase.cpp, - src/osgViewer/ViewerEventHandlers.cpp: From Mathias Froehlich, - "We are currently getting issues with locale settings and some - osg plugins. - Therefore I have changed all the occurances of atof by - asciiToFloat or - asciiToDouble. - - I believe that it is safe to do so at least for all the plugins. - Included here are also asciiToFloat conversion of environment - variables. One - might argue that these should be locale dependent. But IMO these - should be - set and interpreted by osg independent of the current locale. - " +Fri, 21 Jun 2013 09:40:43 +0000 +Checked in by : Robert OSFIELD +Removed spaces at ends of lines -2009-06-25 16:02 robert +Fri, 21 Jun 2013 09:17:28 +0000 +Checked in by : Robert OSFIELD +From FrancoisTigeot, "OpenSceneGraph 3.0.1 doesn't build out of the box on DragonFly and needs a few modifications to these files: - applications/present3D/Cluster.cpp - src/osgDB/FileUtils.cppThe changes are needed to fix a few platform specific things such as the +absence of stat64, int/socklen_t differences, etc... and are in the same +line as Linux, Apple and FreeBSD specific checks. - * CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: Fixed warnings and - refactored FindFFmpeg.cmake and ffmpeg plugin CMakeLists.txt - scripts to better handle different instation combinations +I have attached the modified files; the original patches to 3.0.1 are +also visible here if you find it more convenient: +http://dl.wolfpond.org/dports/graphics.osg/dragonfly/patch-applications_present3D_Cluster.cpp +http://dl.wolfpond.org/dports/graphics.osg/dragonfly/patch-src_osgDB_FileUtils.cpp -2009-06-25 13:31 robert +With these changes, osg 3.0.1 is able to be built and packaged on DragonFly +whereas it previously failed to compile." - * src/osgPlugins/cfg/ConfigParser.y: Converted tabs to spaces -2009-06-25 13:26 robert - * include/osg/Endian: From Mathias Froehlich, "Fix possible problem - with aliasing rules.. and fix a gcc warning :)Use a union to - determine if we are on a little endian or big endian machine." - -2009-06-25 13:13 robert - - * src/osg/Texture.cpp: From Mathias Froehlich, "put texturemanager - into osg namespace." - -2009-06-25 13:10 robert - - * src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From Serge Lages, - "Here is a little fix for the FFmpeg plugin. Previously the path - computed by osgDB::findDataFile was not used, preventing loading - files from directories inside the data path list." - -2009-06-25 13:00 robert - - * src/osgDB/DatabasePager.cpp: From Ulrich Hertlein, "please find - attached some typo fixes in DatabasePager and a tweak to only - print the addLoadedDataToSceneGraph stats when some work was - actually done." - -2009-06-25 09:14 robert - - * include/osgGA/SphericalManipulator, - src/osgGA/SphericalManipulator.cpp: From Cory Riddell, "I added - an _allowThrow boolean along with a getter and setter to the - spherical manipulator. The default value is true. - - This is very similar to the flag in trackball." - -2009-06-25 08:53 robert - - * src/osgPresentation/CMakeLists.txt: Added osgFX depedency - -2009-06-25 08:52 robert - - * src/osgPresentation/CMakeLists.txt: Added osgVolume dependency - -2009-06-25 08:23 robert - - * include/osgPresentation/Export: Added export - -2009-06-25 07:42 robert - - * src/osgPresentation/CMakeLists.txt: Added CMakeLists.txt for - osgPresentation - -2009-06-24 17:37 robert - - * src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp, - src/osgPlugins/ogr/ReaderWriterOGR.cpp, - src/osgPlugins/vnc/ReaderWriterVNC.cpp: Added use of - REGISTER_OGRPLUGIN to enable static linking of plugins - -2009-06-24 17:34 robert - - * applications/present3D/CMakeLists.txt, - applications/present3D/present3D.cpp: Added ffmpeg and pdf to - static build - -2009-06-24 17:33 robert - * src/osgPlugins/pdf/ReaderWriterPDF.cpp: Added support for static - compilation of pdf plugin +Fri, 21 Jun 2013 08:56:24 +0000 +Checked in by : Robert OSFIELD +From Matthias Helsing, "Here is the changed source to prefer using _NET_WM_STATE_ABOVE but fall back to XRaiseWindow should the Atoms not be supported. I'm not sure how many might be using the raiseWindow feature but I needed it for a splash on Ubuntu 12.04." -2009-06-24 16:45 robert +Fri, 21 Jun 2013 08:37:47 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I've updated the dds, png, and jpeg plugins to support writing images with the GL_DEPTH_COMPONENT pixel format. They will simply treat it the same as the GL_LUMINANCE pixel format." - * CMakeModules/FindFFmpeg.cmake: Fixed non windows path +Fri, 21 Jun 2013 08:03:56 +0000 +Checked in by : Robert OSFIELD +From Jan Ciger, " I have put there in the comment a nicer way of doing version checks, but that needs at least CMake 2.6.2." -2009-06-24 16:14 robert +Thu, 20 Jun 2013 16:44:14 +0000 +Checked in by : Robert OSFIELD +Fixed the handling the mouse min/max ranges of slave Cameras that have a parent Camera with a viewport. - * applications/present3D/CMakeLists.txt: Renamed the temporary - application name of present3D-osg to present3D. +Thu, 20 Jun 2013 15:48:14 +0000 +Checked in by : Robert OSFIELD +Temporarily commented out call to view.assignStereoOrKeystoneToCamera() for implementing stereo as this was causing problem in trackball manipulation -2009-06-24 16:03 robert +Thu, 20 Jun 2013 15:18:51 +0000 +Checked in by : Robert OSFIELD +Added local namespace for util functions, and fixed the return type of checkDeprecatedData() - * applications/present3D/AnimationMaterial.cpp, - applications/present3D/AnimationMaterial.h, - applications/present3D/CMakeLists.txt, - applications/present3D/CompileSlideCallback.cpp, - applications/present3D/CompileSlideCallback.h, - applications/present3D/ExportHTML.h, - applications/present3D/PickEventHandler.cpp, - applications/present3D/PickEventHandler.h, - applications/present3D/ReadShowFile.cpp, - applications/present3D/ReaderWriterP3D.cpp, - applications/present3D/ReaderWriterPaths.cpp, - applications/present3D/SlideEventHandler.cpp, - applications/present3D/SlideEventHandler.h, - applications/present3D/SlideShowConstructor.cpp, - applications/present3D/SlideShowConstructor.h, - applications/present3D/present3D.cpp, include/osgDB/Options, - include/osgPresentation, - include/osgPresentation/AnimationMaterial, - include/osgPresentation/CompileSlideCallback, - include/osgPresentation/PickEventHandler, - include/osgPresentation/SlideEventHandler, - include/osgPresentation/SlideShowConstructor, src/CMakeLists.txt, - src/osgPlugins/p3d/AnimationMaterial.cpp, - src/osgPlugins/p3d/AnimationMaterial.h, - src/osgPlugins/p3d/CMakeLists.txt, - src/osgPlugins/p3d/CompileSlideCallback.cpp, - src/osgPlugins/p3d/CompileSlideCallback.h, - src/osgPlugins/p3d/PickEventHandler.cpp, - src/osgPlugins/p3d/PickEventHandler.h, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPlugins/p3d/SlideEventHandler.cpp, - src/osgPlugins/p3d/SlideEventHandler.h, - src/osgPlugins/p3d/SlideShowConstructor.cpp, - src/osgPlugins/p3d/SlideShowConstructor.h, src/osgPresentation, - src/osgPresentation/AnimationMaterial.cpp, - src/osgPresentation/CompileSlideCallback.cpp, - src/osgPresentation/PickEventHandler.cpp, - src/osgPresentation/SlideEventHandler.cpp, - src/osgPresentation/SlideShowConstructor.cpp: Refactored - preset3D/p3d plugin so that common scene graph extensions and - classes now live in a separate osgPresenttation NodeKit. +Thu, 20 Jun 2013 12:15:57 +0000 +Checked in by : Robert OSFIELD +From Vladimir Chebaev, "I worked with osg::Particle and see that this class has setter osgParticle::setTextureTileRange and has no getters for startTile and endTile. This can be very uncomfortable. I attached file with two getters." -2009-06-24 10:26 robert +Thu, 20 Jun 2013 10:59:00 +0000 +Checked in by : Robert OSFIELD +Commented out verbose debug messages for shader composition - * CMakeModules/FindFFmpeg.cmake, src/osgPlugins/pdf/CMakeLists.txt: - Refactored the FFmpeg find script and the pdd CMakeLists.txt to - improve the automatic detection of the required facilities +Thu, 20 Jun 2013 10:42:24 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file -2009-06-24 10:10 cedricpinson +Thu, 20 Jun 2013 10:05:56 +0000 +Checked in by : Robert OSFIELD +From Juan Manuel Alvarez, "When handling keyboard events on osgQt, if a key is kept pressed, multiple sequences of KEYDOWN -> KEYUP events are fired.This is because Qt auto repeats keyboard events, so multiple calls are made to GLWidget::keyPressEvent and GLWidget::keyReleaseEvent by Qt, and subsequently translated to OSG events. - * include/osgAnimation/ActionCallback, - src/osgAnimation/ActionCallback.cpp, - src/osgAnimation/StatsVisitor.cpp, src/osgAnimation/Timeline.cpp: - From Cedric Pinson, Fix the drop of the first frame of action - when adding action with addActionNow\nReport stats only for - active animations\nAdd priority to RunAction callback - -2009-06-23 12:59 cedricpinson - - * src/osgAnimation/Animation.cpp: From Cedric Pinson, Fix clone - operation for osgAnimation::Animation - -2009-06-23 11:33 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoder.hpp: Fixed warning - -2009-06-23 10:53 robert - - * CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/ffmpeg/CMakeLists.txt: Added explict search for - stdint.h - -2009-06-22 18:04 cedricpinson - - * src/osgAnimation/UpdateCallback.cpp: From Cedric Pinson, fix - clone for UpdateTransform - -2009-06-22 16:08 robert - - * applications/present3D/CMakeLists.txt, - applications/present3D/present3D.cpp: Added support for reading - from http and obj files in the static build of Present3D - -2009-06-22 16:02 robert - - * src/osgPlugins/txp/trpage_swap.cpp: Fixed swap size - -2009-06-22 14:24 cedricpinson - - * include/osgAnimation/Animation, - include/osgAnimation/AnimationManagerBase, - include/osgAnimation/Channel, include/osgAnimation/Skeleton, - src/osgAnimation/Animation.cpp, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/Bone.cpp, src/osgAnimation/Channel.cpp, - src/osgAnimation/Timeline.cpp, - src/osgAnimation/UpdateCallback.cpp: From Cedric Pinson, fix - constructors for cloning osgAnimation objects - -2009-06-22 13:08 robert - - * AUTHORS.txt, applications/osgversion/Contributors.cpp: Updated - authors for 2.9.5 release - -2009-06-22 12:46 robert - - * ChangeLog, applications/osgversion/Contributors.cpp: Update - ChangeLog and contributors - -2009-06-21 17:28 robert - - * src/osgPlugins/osg/StateSet.cpp: Added mutex lock to iniGLNames - to prevent threading problems during initialization - -2009-06-20 17:03 robert - - * applications/CMakeLists.txt, - applications/present3D/CMakeLists.txt, - applications/present3D/ReaderWriterP3D.cpp, - applications/present3D/ReaderWriterPaths.cpp, - applications/present3D/present3D.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp: Added support for - initial cut of static build of Present3D. - -2009-06-20 11:35 robert - - * src/osgText/TextBase.cpp: From Farshid Lashkari, "I found a bug - in the osgText library in version 1.2 that I believe still exists - in the latest version. - - I found that changing the alignment of a text object does not - work properly if the text contains newline characters. I've - attached a simple test case that shows the problem. If I set the - text AFTER setting the alignment, everything works fine. But if I - set the text BEFORE setting the alignment then the text is - displayed incorrectly. - - The fix is very simple. Instead of calling computePositions() in - TextBase::setAlignment(), it calls computeGlyphRepresentation(). - I've attached the modified TextBase.cpp." - -2009-06-20 08:18 robert - - * src/osgWrappers/osgParticle/Particle.cpp: Updated wrappers - -2009-06-19 14:14 robert - - * src/osgPlugins/obj/obj.cpp: From Gino van den Bergen, "AFAICS, - OSG's OBJ loader correctly handles backslash-newlines that are - used for continuation of lines. However, I recently ran into a - problem with OBJs that where converted from another source using - Right Hemisphere Deep Exploration. In these OBJs newlines are - escaped in the following way: - - f 15939/9999/16177 15941/10000/16178 15940/10001/16179\ - 15938/10002/16180 - - In the OBJ loader the newline would be interpreted as follows - - f 15939/9999/16177 15941/10000/16178 - 15940/10001/1617915938/10002/16180 - - However, for correctly loading the model it should be interpreted - as - - f 15939/9999/16177 15941/10000/16178 15940/10001/16179 - 15938/10002/16180 - - Thus, the escaped newline should be interpreted as a space. - - I tried to lookup what the correct interpretation for a - backslash-newline was in the OBJ spec but did not find anything - useful. Nevertheless, my suggestion would be to adopt replacing - the escaped newline by a space in order to avoid problems as - stated above. I cannot imagine a meaningful usage of a newline - within a numerical literal so I do not foresee cases where - replacing a backslash-newline by a space would be harmful. The - fixed obj.cpp is zipped and attached to this mail." - -2009-06-19 13:53 robert - - * src/osg/Shader.cpp: Changed the debug output so that the code - path is not run unless it's needed - -2009-06-19 13:50 robert - - * src/osg/Shader.cpp: From Jean-Sebastian Guay and Robert Osfield, - added line numbers to debug shader output - -2009-06-19 13:09 robert - - * include/osgParticle/Particle: From Tom Jolly, "A new compiler and - a new warning. - - Enclosed is include/osgParticle/Particle. I removed the const - from the - return type of getSTexCoord. I also changed the name on the next - function to getTTexCoord so it is consistent with getSTexCoord. - If you - prefer to change getSTexCoord to getSCoord you will need to - change it in - ConnectedParticleSystem.cpp." - -2009-06-19 11:55 robert - - * include/osg/Texture, src/osg/Texture.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp: From Wojciech - Lewandowski, "Here are my changes: - - - osg::Texture sets GL_MAX_TEXTURE_LEVEL if image uses fewer - mipmaps than - number from computeNumberOfMipmaps (and it works!) - - DDS fix to read only available mipmaps - - DDS fixes to read / save 3D textures with mipmaps ( packing == - 1 is - required) - - Few cosmetic DDS modifications and comments to make code - cleaner (I hope) - - Added _isTextureMaxLevelSupported variable to texture extensions. - It - could be removed if OSG requires OpenGL version 1.2 by default. - - Added simple ComputeImageSizeInBytes function in DDSReaderWrites. - In - my opinion it would be better if similar static method was - defined for - Image. Then it could be used not only in DDS but other modules as - well (I - noticed that Texture/Texture2D do similar computations). - - Also attached is an example test.osg model with DDS without last - mipmaps to - demonstrate the problem. When loaded into Viewer with current - code and moved - far away, so that cube occupies 4 pixels, cube becomes red due to - the issue - I described in earlier post. When you patch DDS reader writer - with attched - code but no osg::Texture yet, cube becomes blank (at least on my - Windows/NVidia) When you also merge osg::Texture patch cube will - look right - and mipmaps will be correct." - -2009-06-19 11:31 robert - - * examples/CMakeLists.txt, examples/osgviewerQtWidget, - examples/osgviewerQtWidget/CMakeLists.txt, - examples/osgviewerQtWidget/CompositeViewerQOSG.cpp, - examples/osgviewerQtWidget/CompositeViewerQOSG.h, - examples/osgviewerQtWidget/QOSGWidget.cpp, - examples/osgviewerQtWidget/QOSGWidget.h, - examples/osgviewerQtWidget/README, - examples/osgviewerQtWidget/main.cpp, - examples/osgviewerQtWidget/qosgwidget.pro, - examples/osgviewerQtWidget/testMainWin.cpp, - examples/osgviewerQtWidget/testMainWin.h, - examples/osgviewerQtWidget/testMainWin.ui, - examples/osgviewerQtWidget/testOutboardWin.cpp, - examples/osgviewerQtWidget/testOutboardWin.h, - examples/osgviewerQtWidget/testOutboardWin.ui: From Don Liech, - Qt/OSG integration example - -2009-06-19 11:16 robert - - * src/osgWrappers/osg/CopyOp.cpp, - src/osgWrappers/osgDB/DatabaseRevisions.cpp: Updated wrappers - -2009-06-19 11:04 robert - - * include/osgDB/DatabaseRevisions, src/osgDB/DatabaseRevisions.cpp: - Added append() method - -2009-06-19 11:00 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added clears to various vectors being passed in to get*() - methods. - -2009-06-19 10:55 robert - - * src/osgViewer/Viewer.cpp: From Cory Riddell, "I added a line to - clear the threads vector prior to populating it in - Viewer::getAllThreads(). This is consistent with what happens in - Viewer::getOperationThreads()." - -2009-06-18 10:01 robert - - * include/osg/CopyOp, src/osg/CopyOp.cpp, src/osg/Node.cpp: From - Cedric Pinson and Robert Osfield, addition of NodeCallbacks to - osg::CopyOp and osg::Node copy constructor. - -2009-06-18 08:29 robert - - * include/osgAnimation/Action: Added exports - -2009-06-18 08:22 robert - - * src/osgWrappers/osgDB/DatabaseRevisions.cpp: Updated wrappers - -2009-06-18 08:18 robert - - * src/osgManipulator/AntiSquish.cpp: From Rene Molenaar, "The bug - is as described above: - - "The dragger's corner tabs are no longer in the corners." - - this fix places the cornertabs back in the corners. - (the manipulator does not make sense otherwise)." - -2009-06-17 16:54 robert - - * include/osgAnimation/ActionVisitor, - include/osgAnimation/Timeline, include/osgDB/DatabaseRevisions, - src/osgAnimation/ActionVisitor.cpp: Replaced forward declarations - -2009-06-17 16:54 robert - - * src/osgDB/Registry.cpp: Added ".added", ".modified" and - ".removed" alias to .revisions plugin - -2009-06-17 15:12 robert - - * src/osgWrappers/Doxyfile.template, - src/osgWrappers/osgDB/DatabaseRevisions.cpp: Updated wrappers - -2009-06-17 15:12 robert - - * include/osgDB/DatabaseRevisions, src/osgDB/DatabaseRevisions.cpp: - Made method names consistent with each other - -2009-06-17 11:00 robert - - * packaging/pkgconfig/openscenegraph-osgAnimation.pc.in, - src/osgAnimation/CMakeLists.txt, - src/osgAnimation/StatsHandler.cpp: From Alberto Luaces, "the new - changes in osgAnimation showed some errors on the Cygwin - platform: - - 1 - osgAnimation/StatsHandler includes , but on Cygwin - only std::isnan - is defined that way. I changed it to as it is done in - the rest of - the OSG. - - 2 - Pulling some osgViewer headers from the same file in - osgAnimation makes - the former a new dependency. Thus, I got errors at osgAnimation - linking time. - I wonder why nobody noticed this on other platforms. I have - updated the - CMakeLists.txt file in order to link to the needed libraries, and - - 3 - I have updated the openscenegraph-osgAnimation.pc.in file - accordingly." - -2009-06-17 10:39 robert - - * applications/present3D/ReaderWriterP3D.cpp, - applications/present3D/ReaderWriterPaths.cpp, - examples/osgshadercompositor/VirtualProgram.cpp, - examples/osgterrain/osgterrain.cpp, - include/osgAnimation/StatsVisitor, - include/osgDB/DatabaseRevisions, src/osgAnimation/Action.cpp, - src/osgAnimation/ActionVisitor.cpp, - src/osgAnimation/StatsHandler.cpp, src/osgAnimation/Timeline.cpp, - src/osgPlugins/dae/daeReader.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPlugins/revisions/ReaderWriterRevisions.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h, - src/osgPlugins/zip/ReaderWriterZIP.cpp: Changed build - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION to ON and then fixed - all the resulting build errors. - -2009-06-17 08:56 robert - - * include/osg/DisplaySettings: Fixed error in - DisplaySettings::setNumOfHttpDatabaseThreadsHint - -2009-06-16 13:02 robert - - * src/osgWrappers/Doxyfile.template, - src/osgWrappers/osgAnimation/Bone.cpp, - src/osgWrappers/osgAnimation/Timeline.cpp: Updated wrappers - -2009-06-16 12:32 cedricpinson - - * src/osgAnimation/Action.cpp, src/osgAnimation/StatsHandler.cpp: - From Cedric Pinson, Fix osgAnimation warning and errors - -2009-06-16 12:22 cedricpinson - - * src/osgAnimation/Bone.cpp: From Cedric Pinson, Fix osgAnimation - warning and errors for Bone.cpp - -2009-06-16 10:20 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2009-06-15 14:48 cedricpinson - - * include/osgAnimation/Action, include/osgAnimation/ActionCallback, - include/osgAnimation/ActionVisitor, include/osgAnimation/Bone, - include/osgAnimation/FrameAction, - include/osgAnimation/RigGeometry, - include/osgAnimation/StatsHandler, - include/osgAnimation/StatsVisitor, include/osgAnimation/Target, - include/osgAnimation/Timeline, src/osgAnimation/Action.cpp, - src/osgAnimation/ActionCallback.cpp, - src/osgAnimation/ActionVisitor.cpp, - src/osgAnimation/Animation.cpp, src/osgAnimation/CMakeLists.txt, - src/osgAnimation/StatsHandler.cpp, - src/osgAnimation/StatsVisitor.cpp, src/osgAnimation/Timeline.cpp: - From Cedric Pinson, split timeline classes in differents files, - cleanup and add a statshandler to visualize current action in - timeline - -2009-06-14 23:30 cedricpinson - - * include/osgAnimation/Bone, include/osgAnimation/Target, - src/osgAnimation/Bone.cpp: From Cedric Pinson, fix copy - constructor for clone operation for Bone, add a missing - contructor with quaternion for Target - -2009-06-12 10:37 robert - - * src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Updated wrappers - -2009-06-12 10:08 robert - - * include/osg/ProxyNode, src/osg/ProxyNode.cpp: From Mathias - Froehlich, "attached is a change to the ProxyNode that also - includes ProxyNode local - database options like recently added to PagedLOD. - - Also there is a change to the traverse method: - The previous ProxyNode checks the VisitorType to be a - CULL_VISITOR and the - presence of a request handler to submit a database request. - In contrast to that PagedLOD uses the request handler if it is - there - even if - the visitor type is not a cull visitor. - The change removes the cull visitor test from the ProxyNode so - that it behaves - like the PagedLOD. - I believe that the presence of a request handler in a visitor - might be - sufficient to trigger the requests as this is done in the - PagedLOD anyway. - - Based on rev 10332." - -2009-06-12 10:00 robert - - * src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, "here - are some small fixes/enahncements for the cocoa backend to allow - proper functioning when running the osgViewer run-loop in a - secondary - thread (e.g. when embedding GraphicsWindowCocoa-windows in a full - blown - cocoa application). - - OS X is picky when you want to change the user-interface from - another - thread than the main thread, not all UI stuff is thread-safe. So - now - window closes and showing / hiding the menu bar is done in the - main - thread via Cocoa's performSelectorOnMainThread-mechanism. - - These changes don't affect the normal osgViewer usage pattern." - -2009-06-12 09:57 robert - - * src/osgPlugins/osg/ProxyNode.cpp: From Laurens Voerman, "there - seems to be a bug in the proxynode writer introduced in svn rev - 10330. It craches on a null pointer for options (on my windows - system). - Fixed version of the file "src\osgPlugins\osg\ProxyNode.cpp" - attached, based on svn rev 10332." - -2009-06-12 09:48 robert - - * src/osg/Texture2DArray.cpp: From Konstantin Sinitsyn, "I've fixed - bug with loading of compressed texture to texture array!" - -2009-06-12 09:41 robert - - * CMakeModules/FindCOLLADA.cmake, - src/osgPlugins/dae/CMakeLists.txt: From Roger James and Robert - Osfield, clean up of COLLADA CMake support - -2009-06-12 09:11 robert - - * ChangeLog: Updated ChangeLog - -2009-06-11 15:13 robert - - * src/osgParticle/PrecipitationEffect.cpp: Fixed copy constructor - -2009-06-11 14:56 robert - - * include/osgParticle/PrecipitationEffect, - src/osgParticle/PrecipitationEffect.cpp: Replaced frame delta - computation that was originally based on a local static variable, - replacing it with member variable to tracking the previous frame - time. This fixes a bug in the wind computation when multiple - PrecipitaionEffects are in the scene. - -2009-06-10 09:24 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h: From Emmanuel Roche, - "I've updated the CURL plugin to support the CURL_CONNECTTIMEOUT - and CURL_TIMEOUT options. - - Those two additional options can now be set using the - Options::setOptionsString() function (just like the already - existing OSG_CURL_PROXY & OSG_CURL_PROXYPORT options). - - This is a convient solution to limit the freezing effect one may - face in case the targeted server is down or too slow. - - I successfully compiled and used this updated version on Windows - in my application. - - And by default those settings are not set (so no change in the - behavior if you don't need them). - " - -2009-06-09 08:43 robert - - * src/osgPlugins/ive/ProxyNode.cpp, - src/osgPlugins/osg/ProxyNode.cpp: From Gustav Happalahti, fixed - filename usage - -2009-06-08 16:50 robert - - * applications/osgconv/osgconv.cpp, include/osgDB/Output, - src/osgDB/Output.cpp, src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/ProxyNode.cpp, - src/osgPlugins/osg/ProxyNode.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, src/osgViewer/Viewer.cpp: - From Gustav Haapalahti and Robert Osfield, - - First Submission email from Gustav: - "This submission adds a --cache option to osgconv and osgviewer - that enables setObjectCacheHint(osgDB::Options::CACHE_ALL); It - greatly reduces memory usage when a .osg file has lots of - external references with ProxyNode:s that points to the same - file. - - Options are also added to the osg plugin. The code was already - mostly implemented but there was no way to change the options. - includeExternalReferences - writeExternalReferenceFiles - A counter is added to keep track if an external file has already - been written down to avoid writing the same file over and over - again. If it has already been written once then it is not written - again. - The counter is added to the Output class in osgDB. - " - - Second Submission email from Gustav: - "This is a continuation to my previous submission. - I noticed that the same problem that I fixed in ProxyNode.cpp for - the osg plugin (external files being written over and over again) - also existed in the ive plugin. I attached a submission where the - ive plugin remembers which external files that have already been - written and do not write them again." - - - Changes to the above done by Robert Osfield, - - changed command line parameter to --enable-object-cache - changed set/get methods in osgDB::Output and - ive/DataOutputStream.cpp to be s/getExternalFileWritten(const - std::string&) - cleaned up set up of osgDB::Options. - -2009-06-08 14:06 robert - - * src/osgPlugins/dxf/CMakeLists.txt, - src/osgPlugins/dxf/DXFWriterNodeVisitor.cpp, - src/osgPlugins/dxf/DXFWriterNodeVisitor.h, - src/osgPlugins/dxf/ReaderWriterDXF.cpp: Martin Beckett, "Here's a - first attempt at a DXF writer plugin - - At the moment it outputs DXF for whatever geometry is contained - in the node it would be nice to draw the model as it is rendered - (points/lines/surface) - - If people could also test against other apps that need to read - DXF, the format is a bit of a black art and not all importers - support all features so it might need some options to tweak the - output. - - It has some rather clever colour lookup stuff to match real - colours against the limited DXF palette. I cracked the code of - the Autocad indexed colours!" - -2009-06-08 13:51 robert - - * src/osg/FrameBufferObject.cpp: From Mathias Froehlich, "Without - this change packed depth stencil attachments are only supported - if the - GL_EXT_framebuffer_blit extension is available. This is due to - the early - return from the constructor if this is missing. - As far as I read the standard extension documents, this blit call - is not - required to have packed depth stencil fbos. - The change fixes this and allows packed stencil attachments on - machines - without the multisample blit command." - -2009-06-08 13:47 robert - - * src/osgPlugins/ive/BlendEquation.cpp, - src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/osg/BlendEquation.cpp: Addded .ive and .osg - support for new GL_EXT_blend_equation_separate properties in - osg::BlendEquation - -2009-06-08 13:46 robert - - * include/osg/BlendEquation, src/osg/BlendEquation.cpp: From - Konstantin Sinitsyn, support for GL_EXT_blend_equation_separate - extension like in osg::BlendEquation. - -2009-06-08 12:50 robert - - * examples/osgunittests/osgunittests.cpp: Added basic - Matrix::decompose() test, based on a test progrem wrttien by Paul - Obermeier - -2009-06-08 12:44 robert - - * include/osgUtil/RenderStage: Fixed doc message - -2009-06-08 11:12 robert - - * src/osgSim/Sector.cpp: From Lionel Lagarde, "this correction - makes the intensity interpolated in the correct direction when - the angle is between _cosFadeAngle and _cosAngle." - -2009-06-08 10:54 robert - - * src/osgDB/DynamicLibrary.cpp: Fixed warning - -2009-06-08 10:27 robert - - * src/osgDB/Registry.cpp: Changed the file search path so it - returns an empty string when the filename contains a server - address. - -2009-06-08 09:47 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Johan Nouvel, fix - to handling of transparent textured objects. - - Tweak from Robert Osfield, commented out disabling of depth write - as this is not appropriate by default. - -2009-06-05 19:05 robert - - * include/osgUtil/RenderStage, include/osgUtil/SceneView, - src/osgSim/LightPointNode.cpp, src/osgUtil/RenderStage.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/Renderer.cpp: Added - collateReferencesToDependentCameras() and - clearReferencesToDependentCameras() methods into RenderStage and - SceneView, and use - of these methods in src/osgViewer/Renderer.cpp to make sure that - the draw thread keeps references to all in scene graph Cameras - that are being used by the drawing threads, to keep the Camera's - alive even when the main thread removes these Cameras from the - scene graph. +The way to solve this is ignoring key released auto repeated events (see http://qt-project.org/doc/qt-4.8/qkeyevent.html#isAutoRepeat), so multiple KEYDOWN events are fired, but only one KEYUP. -2009-06-05 11:48 robert +I attach a modified osgQt/GraphicsWindowQt.cpp with this change." - * include/osg/Referenced, src/osgUtil/RenderBin.cpp: Added - depends_on template and usage in RenderBin to help with static - variable destruction ordering -2009-06-05 10:42 robert - * src/osgDB/DatabaseRevisions.cpp: Fixed warning +Thu, 20 Jun 2013 09:30:31 +0000 +Checked in by : Robert OSFIELD +From Jan Ciger, compilation fix for Qt 5.0.2 -2009-06-04 14:37 robert +Thu, 20 Jun 2013 09:27:50 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, build fix for VS. - * src/osgWrappers/osgDB/DatabaseRevisions.cpp: Updated wrappers +Wed, 19 Jun 2013 17:28:28 +0000 +Checked in by : Robert OSFIELD +Removed svn:executable property. -2009-06-04 14:07 robert +Wed, 19 Jun 2013 17:26:59 +0000 +Checked in by : Robert OSFIELD +Removed svn:executable property - * ChangeLog, - examples/osgdatabaserevisions/osgdatabaserevisions.cpp, - include/osgDB/DatabaseRevisions, include/osgDB/FileCache, - src/osgDB/DatabaseRevisions.cpp, src/osgDB/FileCache.cpp, - src/osgPlugins/revisions/ReaderWriterRevisions.cpp: Implemented - updating of revision files as new data is writing to the - FileCache +Wed, 19 Jun 2013 17:25:55 +0000 +Checked in by : Robert OSFIELD +Removed svn:executable property. -2009-06-02 16:58 robert +Wed, 19 Jun 2013 16:24:59 +0000 +Checked in by : Robert OSFIELD +Cleaned up usage of BIND_PER_PRIMITIVE where possible. - * examples/CMakeLists.txt, examples/osgdatabaserevisions, - examples/osgdatabaserevisions/CMakeLists.txt, - examples/osgdatabaserevisions/osgdatabaserevisions.cpp: Added - osgdatabaserevisions example to server as a testbed for new - osgDB::DatabaseRevisions functionality +Wed, 19 Jun 2013 12:32:40 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, typo fixes to doxygen docs and comments -2009-06-02 16:54 robert +Wed, 19 Jun 2013 12:28:06 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "gcc-4.8 flagged this:src/osgUtil/tristripper/src/tri_stripper.cpp:375:40: warning: typedef +‘tri_node_iter’ locally defined but not used [-Wunused-local-typedefs] + typedef triangle_graph::node_iterator tri_node_iter; + ^ +--- + src/osgUtil/tristripper/src/tri_stripper.cpp | 1 - + 1 file changed, 1 deletion(-) - * include/osgDB/DatabaseRevisions, include/osgDB/FileCache, - src/osgDB/DatabaseRevisions.cpp, src/osgDB/FileCache.cpp, - src/osgPlugins/revisions/ReaderWriterRevisions.cpp: Implemented - DatabasePath in DatabaseBase revision classes +diff --git a/src/osgUtil/tristripper/src/tri_stripper.cpp +b/src/osgUtil/tristripper/src/tri_stripper.cpp +index 2f5a7f3..3396881 100644 +--- a/src/osgUtil/tristripper/src/tri_stripper.cpp ++++ b/src/osgUtil/tristripper/src/tri_stripper.cpp +@@ -372,7 +372,6 @@ inline tri_stripper::const_link_iterator +tri_stripper::BackLinkToNeighbour(const -2009-06-02 08:56 robert + void tri_stripper::MarkTriAsTaken(const size_t i) + { +- typedef triangle_graph::node_iterator tri_node_iter; + typedef triangle_graph::out_arc_iterator tri_link_iter; - * src/osgViewer/GraphicsWindowX11.cpp: Refactored the adaption of - X11 key symbols into OSG key events to fix problems with handling - wide range of locales. + // Mark the triangle node" -2009-06-02 08:53 robert - * src/osg/Texture2D.cpp: Moved assigned of texture object to - _textureObjectBuffer to earlier in Texture2D::apply() to prevent - problems with non power of two texture mipmap generation. -2009-06-01 11:22 robert +Wed, 19 Jun 2013 12:27:28 +0000 +Checked in by : Robert OSFIELD +Converted tabs to four spaces - * src/osgUtil/GLObjectsVisitor.cpp: From Wojciech Lewandowski, - Fixed handling of empty Program. +Wed, 19 Jun 2013 12:19:28 +0000 +Checked in by : Robert OSFIELD +From Jan Ciger, "I have found a problem when building OSG with Qt 5 support. Qt has the following in the qopengl.h header:# include +# ifndef GL_DOUBLE +# define GL_DOUBLE GL_FLOAT +# endif +# ifndef GLdouble +typedef GLfloat GLdouble; +# endif -2009-06-01 11:08 robert +Unfortunately, when building for normal OpenGL (not GL/ES!) on Windows +with MSVC2012, GLdouble is not defined (it is not a macro but typedef) +and the code above produces a conflicting definition, making the +compile fail. I am attaching a bit hackish workaround for this problem +in osg/GL " - * src/osg/Transform.cpp: From Emmanuel Roche, "I've also updated - the computeBound() method from the osg::Transform class : this - method was using float based temporary variables and thus the - double precision is lost here. I've changed that to use the - generic types osg::BoundingSphere::vec_type and - osg::BoundingSphere::value_type instead." -2009-06-01 11:07 robert - * src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h: - From Emmanuel Roche, "I'm joining an updated version of the file - daeWritter.cpp and daeWriter.h for the collada plugin compatible - with the usage of double precision BoundingSphere & BoundingBox. - The only change is the addition of the template specialization - for osg::Vec3d object (until now only the specialization for - osg::Vec3 was defined, I replaced that with osg::Vec3f to be more - "precise")." +Wed, 19 Jun 2013 10:56:31 +0000 +Checked in by : Robert OSFIELD +Build fixes for new deprecated osg::Geometry functions -2009-05-30 07:39 robert +Tue, 18 Jun 2013 19:09:33 +0000 +Checked in by : Robert OSFIELD +Added #define OSG_USE_DEPRECATED_GEOMETRY_METHODS usage into code to allow code to compile enen when CMake configuration has set the #define to off in include/osg/Config. - * src/osgWrappers/osgDB/DatabaseRevisions.cpp: Updated wrappers +Tue, 18 Jun 2013 17:49:57 +0000 +Checked in by : Robert OSFIELD +Moved the assignment of the normal binding to after the setNormalArray call -2009-05-29 18:24 robert +Tue, 18 Jun 2013 17:48:43 +0000 +Checked in by : Robert OSFIELD +Moved the Geometry::set*Binding to after the set*Array() to prevent problems when using the deprecated functionality. - * include/osgDB/DatabaseRevisions, src/osgDB/DatabaseRevisions.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/revisions, - src/osgPlugins/revisions/CMakeLists.txt, - src/osgPlugins/revisions/ReaderWriterRevisions.cpp: Added - revisions plugin in support of paged database revisions. +Tue, 18 Jun 2013 15:54:38 +0000 +Checked in by : Robert OSFIELD +Removed BIND_PER_PRIMITIVE reference -2009-05-29 09:39 shuber +Tue, 18 Jun 2013 15:03:26 +0000 +Checked in by : Robert OSFIELD +Moved the set binding and normalize for VertexAttrib to after the VertexAttrib array assignment - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project +Tue, 18 Jun 2013 14:52:26 +0000 +Checked in by : Robert OSFIELD +Changed header guard back to original, and removed deprecated enum -2009-05-29 08:46 robert +Tue, 18 Jun 2013 14:22:43 +0000 +Checked in by : Robert OSFIELD +Fixed order of binding. - * src/osgWrappers/osgDB/DatabaseRevisions.cpp: Updated wrappers +Tue, 18 Jun 2013 11:49:03 +0000 +Checked in by : Robert OSFIELD +Removed experiment GeometryNew as it's no longer required. -2009-05-29 08:24 robert +Tue, 18 Jun 2013 11:18:28 +0000 +Checked in by : Robert OSFIELD +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. New methods osg::Geometry::containsDeprecatedData() and osg::Geometry::fixDeprecatedData() provide a means for converting geometries that still use the array indices and BIND_PER_PRIMITIVE across to complient versions.Cleaned up the rest of the OSG where use of array indices and BIND_PER_PRIMITIVE were accessed or used. - * examples/osgshadercompositor/CreateSimpleHierachy.cpp, - examples/osgshadercompositor/VirtualProgram.cpp, - examples/osgshadercompositor/osgshadercompositor.cpp: Ran dos2unx - of files -2009-05-29 08:24 robert - * include/osgDB/DatabaseRevisions, include/osgDB/FileCache, - src/osgDB/CMakeLists.txt, src/osgDB/DatabaseRevisions.cpp, - src/osgDB/FileCache.cpp: Introduced first iterations of - DatabaseRevision classes for managing the revisioning of http - hosted databases +Fri, 14 Jun 2013 09:43:04 +0000 +Checked in by : Robert OSFIELD +Fixed TextBase::computeBound() so it take into account all corners of the text box thus ensuring proper handling of rotated text -2009-05-28 16:46 robert +Wed, 12 Jun 2013 12:49:18 +0000 +Checked in by : Robert OSFIELD +From Martin Naylor, replace osgDB::fstream with an osgDB::open() call. - * src/osgPlugins/vrml/IndexedFaceSet.cpp: Fixed warning +Tue, 11 Jun 2013 10:52:37 +0000 +Checked in by : Robert OSFIELD +Introduced new osg::PatchParameter StateAttribute class to wrap up glPatchParameter associated state. Note, osg::Program::setParameter(GL_PATCH_VERTICES,num); is nolonger support and should be replaced by using the new PatchParameter class. -2009-05-28 14:15 robert +Tue, 11 Jun 2013 10:49:57 +0000 +Checked in by : Robert OSFIELD +Fixed indentation - * src/osgViewer/GraphicsWindowX11.cpp: From Mathias Froehlich, - "This frees some memory that is allocated by the X11 functions." +Tue, 11 Jun 2013 09:05:35 +0000 +Checked in by : Robert OSFIELD +Refactored the way the ReadResult/WriteResult lists are handled, with them now being sorted so that the Read/WriteResult with highest numerical value ReadStatus/WriteStatus is returned. Changed the enum order of ReadStatus/WriteStatus to ensure that the more relevant errors are last and with the highest numerical value -2009-05-28 14:12 robert +Mon, 10 Jun 2013 14:34:25 +0000 +Checked in by : Robert OSFIELD +From Kristofer Tingdahl, with additions from Riccardo Corsi and Robert Milharcic, support for Qt5 build - * src/osgGA/SphericalManipulator.cpp: Fixed unitialized variable +Mon, 10 Jun 2013 10:37:08 +0000 +Checked in by : Robert OSFIELD +Fixed remove and add callback so they properly handle nested callbacks -2009-05-28 14:09 robert +Fri, 7 Jun 2013 10:54:55 +0000 +Checked in by : Robert OSFIELD +From Marcin Prus, "I don't know if you seen my second reply to your information about merging my Image and dds plugin changes. I found one problem in your latest submit. In ReaderWriterDDS::ComputeImageSizeInBytes pixelFormat and pixelType are not passed into osg::Image::computeImageSizeInBytes.It's +return osg::Image::computeImageSizeInBytes(width, height, depth, packing, slice_packing, image_packing); +but I think it should be +return osg::Image::computeImageSizeInBytes(width, height, depth, pixelFormat, pixelType, packing, slice_packing, image_packing);" - * src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, - "attached you'll find a small fix for GrphicsWindowCocoa. There - was a bug - with certain key-strokes, which led to a crash." -2009-05-28 13:40 robert - * examples/osgshadercompositor/CreateAdvancedHierachy.cpp: From - Wojciech Lewandowski, "I suppose this error is caused by using 4 - component tex coord in texture2D call. I always forget about - adding .xy swizzle at the end of tex coord. I have attached code - (hopefully fixed). My NVidia seems to ignore such errors. Cannot - test it myself. Simple example works because I actually use - textture2Dproj there." +Fri, 7 Jun 2013 10:52:29 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "attached is a change to osgsharedarray to move completely to the fast geometry path. Also the arrays are moved back to static storage since this is the data that is actually referenced in draw. So the change moving this onto the stack that happend somewhere before broke this." -2009-05-28 13:29 robert +Thu, 6 Jun 2013 08:23:37 +0000 +Checked in by : Robert OSFIELD +Replaced OpenThreads::Mutex with a OpenThreads::ReentrantMutex to allow draw callbacks to use Renderer. - * src/osgPlugins/OpenFlight/AncillaryRecords.cpp, - src/osgPlugins/OpenFlight/ControlRecords.cpp, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/LightPointRecords.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/Registry.h, - src/osgPlugins/OpenFlight/ReservedRecords.cpp, - src/osgPlugins/OpenFlight/RoadRecords.cpp, - src/osgPlugins/OpenFlight/VertexRecords.cpp: From Gregory Jaegy - and Robert Osfield, added support for static linking of - OpenFlight plugin +Wed, 5 Jun 2013 07:55:05 +0000 +Checked in by : Robert OSFIELD +Reorder member variables to ensure better packing in memory. -2009-05-28 13:26 robert +Wed, 5 Jun 2013 07:27:35 +0000 +Checked in by : Robert OSFIELD +Moved the Array::AttribDivisor into the Array::Binding enum to avoid conflicts in settings between Binding and AttribDivisor.Removed the vertify bindings/shared arrays handling from GeometryNew - * examples/osgstaticviewer/osgstaticviewer.cpp: Fixed warnings -2009-05-28 12:25 robert - * src/osgPlugins/zip/ReaderWriterZIP.cpp: From Neil Hughes, "Two - changes here... - - 1. I've implemented an option controlled route by which users can - still access the old method of extracting the zip content to the - local filesystem. This is in response to Ulrich's comments about - zip files encorporating files other than those that OSG knows - about, but which an application may require. - - To access this the user makes the following call on their options - object that they pass to the reader. Without it, the plugin will - extract by default to memory. - - local_opt->setPluginStrData("zipextract","filesystem"); - - - 2. The second change is that I've moved the declaration of one of - the variables to within the numitems loop so that if loading of a - specific file within the zip fails, subsequent files still load - correctly. This was the issue that Ulrich raised." +Tue, 4 Jun 2013 19:04:26 +0000 +Checked in by : Robert OSFIELD +Updates to GeometryNew, Array and ArraDispatchers to clean up GeometryNew so that is no longer uses ArrayData. -2009-05-28 08:25 robert +Tue, 4 Jun 2013 14:55:57 +0000 +Checked in by : Robert OSFIELD +Added s/getNormalize(), s/getPreserveDataType(), s/getAttribDivisor() and s/getBinding() to osg::Array base class in preperation for refactor of osg::Geometry and introduction of new features. - * src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp: Updated wrappers +Tue, 4 Jun 2013 14:43:19 +0000 +Checked in by : Robert OSFIELD +Removed now redundent osggeodemo -2009-05-27 13:02 robert +Tue, 4 Jun 2013 13:29:44 +0000 +Checked in by : Robert OSFIELD +Removed geo plugin as the modelling tool it was assocaited is long defunct. - * examples/osgshadercompositor/CMakeLists.txt, - examples/osgshadercompositor/osgshadercompositor.cpp, - examples/osgshadercompositor/osgvirtualprogram.cpp: Renamed - application osgvirtualprogram to osgshadercompostior to better - reflect it function +Tue, 4 Jun 2013 10:06:19 +0000 +Checked in by : Robert OSFIELD +Cleaned up BIND_PER_PRIMITIVE and array indice usage -2009-05-27 13:00 robert +Tue, 4 Jun 2013 09:32:59 +0000 +Checked in by : Robert OSFIELD +Introduced GeometryNew which is a cleaned up version of Geometry that removes support for array indices. GeometryNew is only temporary and will be renamed to Geometry on the completion of refactoring work and feedback from community. Ported osggeometry across to use GeometryNew. - * examples/CMakeLists.txt, examples/osgshadercompositor, - examples/osgvirtualprogram: Renamed osgvirtualprogram to - osgshadercompositor to better reflect it's function +Tue, 4 Jun 2013 09:29:37 +0000 +Checked in by : Robert OSFIELD +Removed deprecated usage of osg::Geometry indices and BIND_PER_PRIMITIVE -2009-05-27 12:11 robert - - * src/osgUtil/RenderStage.cpp: Fixed glStencilMask setting. - -2009-05-27 09:54 robert - - * include/osgUtil/CullVisitor, include/osgUtil/RenderBin, - include/osgUtil/RenderLeaf, src/osgUtil/CullVisitor.cpp, - src/osgUtil/RenderBin.cpp: Added support for - RenderBin::SortMode::TRAVERSAL_ORDER to enable rendering of scene - graph drawables in the order that they were traversed in. - -2009-05-27 09:45 robert - - * examples/osgvirtualprogram/CreateSimpleHierachy.cpp: Fixed - warning - -2009-05-26 14:22 robert - - * CMakeModules/FindOpenVRML.cmake, - src/osgPlugins/vrml/IndexedFaceSet.cpp, - src/osgPlugins/vrml/Primitives.cpp, - src/osgPlugins/vrml/README.txt, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h: From Jan Ciger, "I am - attaching the updated VRML plugin, as promised. This version - works - with OpenVRML 0.17.12 and Boost 1.38. Other versions may work - too, but I - didn't test that." - -2009-05-26 11:00 robert - - * src/osgPlugins/x/ReaderWriterDirectX.cpp, - src/osgPlugins/x/directx.cpp, src/osgPlugins/x/directx.h, - src/osgPlugins/x/mesh.cpp, src/osgPlugins/x/mesh.h, - src/osgPlugins/x/types.cpp, src/osgPlugins/x/types.h: From Ulrich - Hertlein, "please find a patch for the DirectX loader to use - std::istreams. This will make it usable with the zip plugin." - -2009-05-26 10:10 robert - - * examples/osgvirtualprogram/CreateAdvancedHierachy.cpp, - examples/osgvirtualprogram/VirtualProgram.cpp, - examples/osgvirtualprogram/VirtualProgram.h: Fixed warnings - -2009-05-25 16:34 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Refactored the - GraphicsWindowX11::adaptKey() implementation so that it always - uses the reampX11Key(ks) method, and for the mapping to handle - case correctly. - -2009-05-25 13:02 robert - - * examples/CMakeLists.txt, examples/osgvirtualprogram, - examples/osgvirtualprogram/CMakeLists.txt, - examples/osgvirtualprogram/CreateAdvancedHierachy.cpp, - examples/osgvirtualprogram/CreateSimpleHierachy.cpp, - examples/osgvirtualprogram/VirtualProgram.cpp, - examples/osgvirtualprogram/VirtualProgram.h, - examples/osgvirtualprogram/osgvirtualprogram.cpp: From Wojciech - Lewandowski, VirtualProgram example that illustrates how one can - create a custom system for composing shaders within the scene - graph. - -2009-05-25 12:07 robert - - * src/osgWrappers/osgAnimation/Timeline.cpp: Updated wrappers +Mon, 3 Jun 2013 15:10:53 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, Added support for texture swizzle. -2009-05-25 12:04 robert +Mon, 3 Jun 2013 14:38:23 +0000 +Checked in by : Robert OSFIELD +Updated version and so_version in prep for 3.1.8 developer release - * include/osgAnimation/Timeline: Changed Status enums to - ActionStatus and TimelineStatus to avoid X11 problems +Mon, 3 Jun 2013 14:27:14 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "Autodesk released a new version of their FBX Software Development Kit (web page http://usa.autodesk.com/adsk/servlet/pc/item?siteID=123112&id=10775847). The API has changed quite a bit, so lots of changes had to be made in the osg readerwriter. The preious version of the FBX SDK (2013.3) already deprecated a lot of the names and functions. The code I submit now still compiles against 2013.3 (possibly needs a #define FBX_NEW_API). Not sure if that's useful, but it might ease the transition." -2009-05-25 11:16 robert +Mon, 3 Jun 2013 14:04:02 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "while updating dependencies I found a problem with libgif 5 from http://sourceforge.net/projects/giflib/ a change in version 5.0.0 required a call to the fuction "DGifOpen" to pass an int ref for an error code. My fix ignores the error, just fixes the compile." - * src/osgParticle/ParticleSystemUpdater.cpp: Added initializer of - ParticleSystemUpdater::_frameNumber +Mon, 3 Jun 2013 14:01:13 +0000 +Checked in by : Robert OSFIELD +From Sergey Polischuk, "this patch fixes light id in gl modes for osg::LightSource's readed from fbx (previously all lightsources were setting GL_LIGHT0 mode, while osg::Lights were using different id's), and enables GL_LIGHT# on root node for all lights contained in model " -2009-05-25 11:12 robert +Mon, 3 Jun 2013 13:13:18 +0000 +Checked in by : Robert OSFIELD +Added Vec*b, Vec4ub, Vec*s, Vec*i, Vec*ui serializers - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Wojciech - Lewandowski, "Two fixes for LUMINANCE and ALPHA_LUMINACE pixel - formats written into DDS file. Component masks were incorrect. I - tested results with ultimate DDS compatibitlity tester ie - Microsoft DirectX Texture tool ;-). I have also added comment - with warning about possible problems when writing other than 8 - bit component pixel formats. - " +Mon, 3 Jun 2013 12:19:06 +0000 +Checked in by : Robert OSFIELD +Added Vec2i, Vec2ui, Vec3i, Vec3ui, Vec4i and Vec4ui headers to CMake header list -2009-05-25 10:46 robert +Mon, 3 Jun 2013 11:38:20 +0000 +Checked in by : Robert OSFIELD +From Art Tevs, int and uint Vec classes - * src/osg/Notify.cpp: From Colin McDonald, "The latest osg::notify - is crashing at initialisation on Solaris, due to - constructor issues: - - Within the NullStream & NotifyStream classes the base class - objects - (ostream) were being initialised before the class member _buffer - objects - which they referenced, causing a crash. - - I had to move the file scope g_NullStream & g_NotifyStream - initialisation - into a function to get them to work. - - Also there was a missing osg:: qualifier on getNotifyHandler." +Mon, 3 Jun 2013 09:19:46 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, "This submission is made against trunk version and add the loading of "glVertexAttribDivisor" extension." -2009-05-22 08:31 robert +Fri, 31 May 2013 10:28:39 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "I made some changes to the top level CMakeLists.txt that might be usefull to other visualstudio users. 1> Disable project grouping for VCExpress users: the version I proposed previously in Re: [osg-submissions] Cmake patch to support folders in IDE (29 Feb 2012)2> Remove FIND_PACKAGE(OpenAL): not used in any project - * CMakeLists.txt: From Alberto Luacas, added new pkg-cofig files +3> add /wd4250 for Visual Studio 2012: + suppress the errors caused by a microsoft fix for a bugfix. + ref: "Warning messages VS2012..." on osg-users (30 May 2012) +" -2009-05-22 07:52 robert - * packaging/pkgconfig/openscenegraph-osg.pc.in, - packaging/pkgconfig/openscenegraph-osgAnimation.pc.in, - packaging/pkgconfig/openscenegraph-osgDB.pc.in, - packaging/pkgconfig/openscenegraph-osgFX.pc.in, - packaging/pkgconfig/openscenegraph-osgGA.pc.in, - packaging/pkgconfig/openscenegraph-osgIntrospection.pc.in, - packaging/pkgconfig/openscenegraph-osgManipulator.pc.in, - packaging/pkgconfig/openscenegraph-osgParticle.pc.in, - packaging/pkgconfig/openscenegraph-osgShadow.pc.in, - packaging/pkgconfig/openscenegraph-osgSim.pc.in, - packaging/pkgconfig/openscenegraph-osgTerrain.pc.in, - packaging/pkgconfig/openscenegraph-osgText.pc.in, - packaging/pkgconfig/openscenegraph-osgUtil.pc.in, - packaging/pkgconfig/openscenegraph-osgViewer.pc.in, - packaging/pkgconfig/openscenegraph-osgVolume.pc.in, - packaging/pkgconfig/openscenegraph-osgWidget.pc.in: From Alberto - Luacas, separate pkg-config .pc files -2009-05-21 16:33 robert +Fri, 31 May 2013 10:23:49 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "attached is a patch that fixes another clang++ compiler warning when returning std::vector::size() as 'unsigned int'. " - * src/osg/GraphicsContext.cpp: Fixed handling of case where the - master and the slave camera are placed on the same - GraphisContext, or when the master camera and slave camera are - assigned to different Camers. Note normally one doesn't mix - master with GraphicsContexts and slave cameras so neither case is - common. +Thu, 30 May 2013 09:07:46 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "The osgdb_nvtt plugin needs to be updated to work with the latest NVTT library, which changes the interface slightly (adding a new pure virtual method endImage()). I've modified the source file and attached it here." -2009-05-21 08:37 robert +Tue, 28 May 2013 19:16:59 +0000 +Checked in by : Robert OSFIELD +Renamed PanoramicSphericalDisplay.cpp to fix a typo - * src/osgPlugins/zip/unzip.cpp: Added a default value to avoid - warning +Tue, 28 May 2013 16:39:48 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and Contributors list -2009-05-20 12:14 robert +Tue, 28 May 2013 15:43:12 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "The logic for handling opacity maps in the 3ds reader seems to be incorrect. It checks whether the diffuse texture contains transparency, instead of the opacity texture. If the diffuse does not contain an alpha channel it outputs the warning:The plugin does not support images without alpha channel for opacity - * src/osgPlugins/zip/unzip.cpp: Fixed warnings +This seems to indicate that the check for alpha should be against the opacity map. I've attached the updated file. -2009-05-20 12:06 robert +" - * src/osgPlugins/zip/unzip.cpp: Fixed warnings -2009-05-20 11:14 robert - * src/osgWrappers/osgGA/SphericalManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp: Updated wrappers +Tue, 28 May 2013 15:40:28 +0000 +Checked in by : Robert OSFIELD +From Michael Bach Jensen and Robert Osfield, "As discussed (http://forum.openscenegraph.org/viewtopic.php?t=12027) here is my submission :-)The following change to State.cpp fixes the case where textures in a stateset along with a compute shader program did not make those textures available to the shader, since it got evaluated before the texture bind(s)." -2009-05-20 11:08 robert +Note from Robert, Michael only change State::apply(StateSet*) so I also applied the same reversal in apply of texutre modes/state into the State::apply() method for consistency. - * include/osgGA/TerrainManipulator, - src/osgGA/TerrainManipulator.cpp: Changed TerrainManipulator to - use HEADING rather than AZIM to keep it consistent with - SphericalManipulator -2009-05-20 10:58 robert - * include/osgGA/SphericalManipulator, - src/osgGA/SphericalManipulator.cpp: Converted - SphericalManipulator to use Elevation and Heading rather than - Zenith and Azimuth. -2009-05-19 16:12 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated XCode-project -2009-05-19 15:11 robert +Tue, 28 May 2013 15:18:59 +0000 +Checked in by : Robert OSFIELD +Replaced the initialization of the strarray to use reseve instead of a initial size provided in the constructor as this was leading to a bug in output. - * examples/osghud/osghud.cpp: Fixed typo +Tue, 28 May 2013 14:40:36 +0000 +Checked in by : Robert OSFIELD +Fixed date typo -2009-05-19 15:10 robert +Tue, 28 May 2013 14:35:44 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I just started looking into the shader composition feature. I enabled shader composition on the osg::State object and noticed a 6x increase in draw time. I figured that the default composer might have performance issues, so I created a custom ShaderComposer that overrides "getOrCreateProgram" and does nothing. This still resulted in a performance drop.I looked into the "State::applyShaderComposition" method and noticed that it will print debug information to the osg::INFO stream. I commented that line out and the performance drop was gone. - * src/osgWrappers/osg/Notify.cpp, src/osgWrappers/osg/Vec2b.cpp, - src/osgWrappers/osg/Vec3b.cpp, src/osgWrappers/osg/Vec4b.cpp, - src/osgWrappers/osg/Vec4ub.cpp, - src/osgWrappers/osgGA/SphericalManipulator.cpp: Updated wrappers +I'm not sure if the printing was accidentally left in or is meant to be enabled. I've modified the function to only call the print function if INFO logging is enabled. I've attached the change." -2009-05-19 14:03 robert - - * include/osgGA/MatrixManipulator: From Martin Beckett, "In - MatrixManipulator can we have computeHomePosition() use _homeUp - rather than the hardcoded (0,0,1). - This makes it possible to redefine the viewing direction of - 'home' in the other manipulator - so home in a GIS app could be a - plan view. - Since _homeUp is set to (0,0,1) and no current code changes it - there shouldn't be any difference for current users." -2009-05-19 12:25 robert - * src/osgDB/ReaderWriter.cpp: Attempt to fix Cygwin build failure +Tue, 28 May 2013 14:14:45 +0000 +Checked in by : Robert OSFIELD +From Marcin Prus and Robert Osfield, moved the key parts of the .dds plugins computeRowWidthInBytes implementation into the osg::Image::computeImageSizeInBytes(..) to address bugs in the computation of image size. -2009-05-19 12:21 robert +Tue, 28 May 2013 11:47:08 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Added ".dds" file deletion on writing failure." - * applications/osgviewer/osgviewer.cpp, - include/osgGA/SphericalManipulator, - src/osgGA/SphericalManipulator.cpp: Changed the default home - position so that it's consistent with other OSG manipulators. - Added setter of properties of the SphericalManipualtor, moved - across to using doubles internally - -2009-05-19 11:18 robert - - * include/osgGA/SphericalManipulator, src/osgGA/CMakeLists.txt, - src/osgGA/SphericalManipulator.cpp: From Mojtaba Fathi, "I've - developed a new manipulator which uses azimuth and zenith angles - to rotate scene and so avoids Roll angle rotation, such that - scene is always seen as Z upward." - -2009-05-19 10:45 robert - - * src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, "when - using windownames and switching between fullscreen and windowed - mode GraphicsWindowCocoa crashes. Attached you'll find a fix for - that bug. - " - -2009-05-19 10:42 robert - - * src/osgPlugins/zip/unzip.h: From Stephan Huber, replaced #include - with #include to fix build under OSX - -2009-05-19 10:35 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated XCode-project - -2009-05-19 09:26 robert - - * src/osgPlugins/zip/CMakeLists.txt, - src/osgPlugins/zip/ReaderWriterZIP.cpp, - src/osgPlugins/zip/unzip.cpp, src/osgPlugins/zip/unzip.h: From - Neil Hughes, intergrated support for uncompressing zip files in - memory and from istreams (enabling reading from http). - -2009-05-18 15:46 robert - - * src/osgUtil/RenderStage.cpp: Added enable of clear stencil and - depth mask to ensure that stencil and depth buffers are always - cleared when required - -2009-05-18 15:21 robert - - * src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWriter.cpp: From Roland Smeenk, "Attached - you will find some changes to the dae plugin to improve light - support. - - -Changed the addition of lights to add the lightsource directly - into the scenegraph (instead of below a switch node) - -All added lights are enabled in the root stateset and replace - the head- or skylight. - (if no lights are available the head- or skylight will remain - active) - -Ambient in osg::LightModel is zeroed out. All ambient now comes - from separate ambient only light sources. - -Lights can now be written properly - -Replaced strings by constants defined in the Collada DOM" - -2009-05-18 13:01 robert - - * src/osgDB/FileCache.cpp: Quietened down debug messages - -2009-05-18 12:54 robert - - * src/osgTerrain/Layer.cpp: From Ross Anderson, "Symptom: The - computation of TerrainTiles containing only image layers (no - elevation layer) is incorrect. The resulting bounding sphere will - always have a radius of zero. - - The fix is to remove the call to bs.expandBy(v) and compute the - radius directly. I believe this call was intended to be - bs.expandRadiusBy(v), but it is superfluous when the radius is - computed directly." - -2009-05-18 12:04 robert - - * include/osg/Notify, src/osg/Notify.cpp: From Maciej Krol,"With - advent of GUI applications in OSG there is a growing need to - redirect notification messages to third party systems. For - example windows applications do not have console output, it would - be appropriate to redirect notifications to GUI widget or debug - output. I have revamped notification system to fit this need. New - notification stream is using NotifyHandler as a message sink. - Handler is called whenever stream is synchronized (i.e. after - < WARN - - WinDebugNotifyHandler, windows users can redirect notifications - to windows debug output, notifications can be viewed in output - window of the debugger i.e. MSVC or DebugView - (http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx) - (see screenshot). - - I have seen on osg-users that some people do - std::cerr.rdbuf(otherStream.rdbuf()) to redirect notifications. - This trick will no longer work since osg::notify() returns - internal osg::NotifyStream not std::cout or std::cerr. You can - use osg::notify().rdbuf(otherStream.rdbuf()) to do this instead. - - Additionally I've made some minor fixes: - - Minor imrovements to osg::notify documentation - - NullStream could crash by deleting stream buffer other than - default NullStreamBuffer in the destructor i.e. after - osg::notify(osg::DEBUG_FP).rdbuf(otherStream.rdbuf())" - -2009-05-18 10:37 robert - - * include/osg/BoundingSphere, include/osg/Vec2b, include/osg/Vec3b, - include/osg/Vec4b, include/osg/Vec4ub: From Paul Obermeier, - "Please find enclosed some changed OSG header files. - The changes are more or less just beautifications - (when looked at them from the C++ view), but make - wrapping OSG with SWIG easier. - I have tested the changes with both 2.8.1-rc4 and the - current head and would appreciate to incorporate the - changes in both branches. - - Here is a description of the changes: - - osg/BoundingSphere: - Use the following typedef (like used in BoundingBox) - typedef typename VT::value_type value_type; - instead of - typedef typename vec_type::value_type value_type; - - SWIG reports errors on the latter construct. - Also makes it consistent with BoundingBox. - - - osg/Vec4ub: - Consistent use of "value_type" throughout the file. - - - osg/Vec?b: - Consistent use of "value_type" throughout the files. - - Also changed - typedef char value_type; - to - typedef signed char value_type; - - In the case of a simple "char", SWIG assumes a string. - Using "signed char" instead of "char" does not change - the behaviour of the class. - " - -2009-05-18 10:28 robert - - * include/osg/Version, include/osgDB/Options, - include/osgDB/Registry: Minor tweaks to avoid warnings when - generating wrappers/doxygen documentation - -2009-05-18 10:17 robert - - * CMakeModules/FindCOLLADA.cmake, CMakeModules/FindFFmpeg.cmake, - CMakeModules/FindFLTK.cmake, CMakeModules/FindFOX.cmake, - CMakeModules/FindGIFLIB.cmake, CMakeModules/FindJasper.cmake, - CMakeModules/FindLibVNCServer.cmake, - CMakeModules/FindOpenEXR.cmake, CMakeModules/FindOpenVRML.cmake, - CMakeModules/FindPerformer.cmake, CMakeModules/FindXUL.cmake, - CMakeModules/FindXine.cmake, CMakeModules/FindZLIB.cmake: From - Philip Lowman, removed inappropriate references to OSG_ in 3rd - party libs searches - -2009-05-18 09:34 robert - - * src/osgWrappers/osgGA/GUIEventAdapter.cpp: Updated wrappers - -2009-05-15 15:49 robert - - * applications/present3D/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp: From Jean-Sebastien Guay, - build fixes form Windows - -2009-05-15 15:10 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Added checks against - libcurl version to decide what features are used or not - -2009-05-15 12:31 robert - - * src/osgPlugins/ive/ReaderWriterIVE.cpp: Removed debugging code - block - -2009-05-15 12:22 robert - - * src/OpenThreads/pthreads/PThread.c++, - src/OpenThreads/sproc/SprocThread.c++, - src/OpenThreads/win32/Win32Thread.cpp: Removed redundant errno - declaration that was cause build problems under RedHat 3.2. - - Removed redundant version declarations. - -2009-05-15 07:50 robert - - * src/osgDB/ReaderWriter.cpp: From Martin Beckett, "n bool - ReaderWriter::fileExists(const std::string& filename, const - Options* /*options*/) const - - Windows doesn't define F_OK and access() is in io.h, rather than - stdio.h - These are fixed in FileUtils.cpp, so I copied the fix from there - - might be better to move this to FileUtils header and include it - here and in FileUtils.cpp?" - -2009-05-14 16:24 robert - - * applications/osgversion/CMakeLists.txt, - applications/osgversion/Contributors.cpp, - applications/osgversion/osgversion.cpp: Moved the compilation of - Contributors list to separate source file, and made it an - optional compile based on whether you are a maintainer or not. - -2009-05-14 16:08 robert - - * include/osgGA/GUIEventAdapter, src/osgGA/GUIEventAdapter.cpp: - From Ulrich Hertlein, "please find attached a patch for - TrackballManipulator to fix zooming using the MBP touchpad. The - old code would always zoom-in even when using the gesture to - zoom-out. - - Also attached are some code and documentation cleanups for - GUIEventAdapter that collect related values (e.g. scrolling, - tablet pen) in a struct. - " - -2009-05-14 16:06 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Added setting of full - filename to options as "filename" entry. - -2009-05-14 15:45 robert - - * src/osgGA/TrackballManipulator.cpp: From Ulrich Hertlein, "please - find attached a patch for TrackballManipulator to fix zooming - using the MBP touchpad. The old code would always zoom-in even - when using the gesture to zoom-out. - - Also attached are some code and documentation cleanups for - GUIEventAdapter that collect related values (e.g. scrolling, - tablet pen) in a struct. - " - -2009-05-14 15:34 robert - - * include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - src/osgViewer/DarwinUtils.h, src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCocoa.mm: From Stephan Huber, - "attached you'll find some bugfixes and enhancements for the - Cocoa - implementation of GraoicsWindowCocoa: - - Enhancements/Bugfixes: - - + now it's possible to integrate osgViewer better into existing - cocoa-applications: - * create one or more NSOpenGLView(s) and add these to your - window(s) - * create one or more NSWindows - * disable the integrated event-polling of osgViewer, and let the - work be - done by Cocoa / NSApplicationRun. You'll have to run the - osgViewer's - runloop in a separate thread - - + missing menu-event-handling implemented - - + added NSAutoReleasePools where necessary, this fixes some - memory-leaks - + fixed some crashes and thread-issues" - -2009-05-14 13:40 robert - - * applications/present3D/CMakeLists.txt, - applications/present3D/PickEventHandler.cpp, - applications/present3D/ReaderWriterP3D.cpp, - applications/present3D/ReaderWriterPaths.cpp, - applications/present3D/SlideEventHandler.cpp, - applications/present3D/SlideShowConstructor.cpp, - applications/present3D/SlideShowConstructor.h: Integrated support - for relative paths, and http hosted presentations - -2009-05-14 13:30 robert - - * src/osgPlugins/p3d/PickEventHandler.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/SlideShowConstructor.cpp: Replaced tabs with - spaces - -2009-05-14 13:16 robert - - * src/osgPlugins/p3d/SlideEventHandler.cpp, - src/osgPlugins/p3d/SlideShowConstructor.h: Changed tabs to spaces - -2009-05-14 13:10 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPlugins/p3d/SlideShowConstructor.cpp: Changed debug - message to INFO notication level - -2009-05-14 13:05 robert - - * src/osgPlugins/p3d/CMakeLists.txt, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterPaths.cpp, - src/osgPlugins/p3d/SlideShowConstructor.cpp, - src/osgPlugins/p3d/SlideShowConstructor.h: Added support for read - the various animaton materials/paths from http +Tue, 28 May 2013 11:46:01 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Added vertical flipping to the writer depending on the Image::getOrigin() value (= flip the image when Image::BOTTOM_LEFT). Most of the time this will not change DDS writing (= no v-flip), as it seems images are rarely "BOTTOM_LEFT". To skip this behaviour, the "ddsNoAutoFlipWrite" option was added. I also moved a few lines of code about "dds_flip" option, and made options reading more like in other ReaderWriters." -2009-05-14 09:44 robert +Tue, 28 May 2013 11:44:36 +0000 +Checked in by : Robert OSFIELD +From Diane Delallée & Sukender, "Added some support of non-modulus-4 dimensions in S3TC-DXTC images (previous implementation seem just not to handle these properly). - Added missing packing value on S3TC images. Images are coded with 4x4 blocs, whatever the image size. So there is an horizontal packing of 4 pixels (2 bytes in DXT1, 4 bytes in DXT2-5). - Added crash guard against writing corrupted S3TC images. Notes: - What is missing is a support of "lines packing" in osg::Image (see code comments). - S3TC-DXTC vertical flipping crashes (access violation) with some unusual dimensions (see code). I could not implement missing cases, so I added guards to avoid crashing." - * src/osgWrappers/osg/State.cpp, src/osgWrappers/osgDB/Options.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/XmlParser.cpp: Updated wrappers +Tue, 28 May 2013 11:25:13 +0000 +Checked in by : Robert OSFIELD +From Diane Delallée and Sukender, "1. Image.cpp Failure to perform a vertical flip on S3TC-DXTC now simply leaves the original image instead of corrupting it. Image.cpp was sometimes performing a "normal" (= for uncompressed images) vertical flip on S3TC-DXTC images, producing weird results. Actually, code was trying a "DXTC vertical flip" and relied on the result to call a "normal vertical flip". But when the "DXTC v-flip" encounters an error, this is is not necessarily because the image is not S3TC (ex: unhandled image dimensions)! So now the code simply does "if dxtc, then flip_dxtc; else flip_normal;".Note from Robert Osfield, moved the isDXT function into the dxt_tool file and namespace. -2009-05-13 19:48 robert - * src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/SlideShowConstructor.cpp, - src/osgPlugins/p3d/SlideShowConstructor.h: Added support for - reading presentations and content via http, with support of the - FileCache when available. -2009-05-13 19:47 robert - * src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h: Added intial cut at - fileExists() implement using libcurl. Note, current implement - loads the whole file and then discards it so is very - in-efficient. This implementation will soon be replaced. +Tue, 28 May 2013 10:46:47 +0000 +Checked in by : Robert OSFIELD +Fixed the computation of the spot light direction. -2009-05-13 19:46 robert +Tue, 28 May 2013 09:20:48 +0000 +Checked in by : Robert OSFIELD +Fixed View::setUpViewInWindow() parameter - * include/osgDB/Options, include/osgDB/ReaderWriter, - src/osgDB/ReaderWriter.cpp: Added ReaderWriter::fileExists() - method to help enable querrying of existing of files on servers - using the curl plugin +Tue, 28 May 2013 08:38:09 +0000 +Checked in by : Robert OSFIELD +Added an OSG_INIT_SINGLETON_PROXY(..) to initialize the static s_GLExtensionDisableString variable -2009-05-13 19:44 robert +Mon, 27 May 2013 09:10:18 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file - * include/osgDB/FileCache, src/osgDB/FileCache.cpp: Added support - for Object, Image, HeightField and Shaders in FileCache +Mon, 27 May 2013 09:07:53 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file -2009-05-13 15:05 robert +Mon, 27 May 2013 09:05:14 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file - * include/osgDB/XmlParser, src/osgDB/XmlParser.cpp: Fixed handling - of space after = in options set up. +Mon, 27 May 2013 08:13:23 +0000 +Checked in by : Robert OSFIELD +From Martin Naylor, "I am receiving 1 build error whilst building the SVN, its in osgforest as follows:error C2065: 'GL_RGBA32F' : undeclared identifier -2009-05-13 08:40 robert +Shoudlnt that be GL_RGBA32F_ARB as defined in texture header? - * examples/osgmovie/osgmovie.cpp: Rearranged static SDL callback so - that it's after the SDL.h header. +Attached is the easy fix :)." -2009-05-13 08:33 robert - * src/OpenThreads/win32/Win32Thread.cpp: From Thibault Genessay, - "On Windows, when a process tries to spawn one too many thread, - _beginthreadex() fails but OpenThreads still waits on the startup - Block before returning to the caller of - OpenThreads::Thread::start(). - This causes a deadlock. The return value of _beginthreadex() is - actually checked, but after the call to - OpenThreads::Block::block() so - it is basically useless. - - Attached is a fix to move the check for the return value of - _beginthreadex() before the call to block(), so that start() can - return to the caller with a non-zero error code. This solves the - problem for me." -2009-05-12 16:26 robert +Mon, 27 May 2013 08:10:42 +0000 +Checked in by : Robert OSFIELD +Moved quad buffer definitions into include/osg/Camera - * examples/osgmovie/osgmovie.cpp: Removed SDL header +Sun, 26 May 2013 10:44:11 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file -2009-05-12 13:24 robert +Sun, 26 May 2013 10:27:07 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * examples/osgmovie/osgmovie.cpp: Re-ordered SDL class to try and - avoid OSX issues with _main. +Sat, 25 May 2013 10:09:23 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, " small update to TangentSpaceGenerator to support QUAD_STRIP primitive types." -2009-05-12 12:27 robert +Fri, 24 May 2013 17:16:57 +0000 +Checked in by : Robert OSFIELD +Resrtuctured the use of static's in the Uniform::getNameID() method to avoid problems under Android. - * examples/osgmovie/osgmovie.cpp: Attempt to fix OSX missing _main - symbol error +Fri, 24 May 2013 17:06:08 +0000 +Checked in by : Robert OSFIELD +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. " -2009-05-12 11:54 cedricpinson +Fri, 24 May 2013 09:43:08 +0000 +Checked in by : Robert OSFIELD +Removed redudent code - * src/osgAnimation/MorphGeometry.cpp, - src/osgPlugins/osgAnimation/ReaderWriter.cpp: from Maciej - Krol:\nFixes for OSG_USE_PTR_IMPLICIT_OUTPUT_CONVERSION = OFF +Fri, 24 May 2013 09:35:58 +0000 +Checked in by : Robert OSFIELD +Fixed panning bug, when using RUN_ON_DEMAND, that resulted in the camera being thrown off towards infinity.The solution for to refactor the way that events are checked so I add a bool return type to checkEvents() method across osgViewer::GraphcisWindow, osgGA::Devive and osgViewer::Viewer/CompositeViewer classes -2009-05-12 10:45 robert - * src/osgWidget/WindowManager.cpp: From Fajran Iman Rusadi, fixed - error in window index management when children add insert or - removed. -2009-05-12 08:56 shuber +Thu, 23 May 2013 18:29:47 +0000 +Checked in by : Robert OSFIELD +Added repolation of the _deadparts stack which would otherwise been invalidatd by the depth sort of particles. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: - updated XCode project to reflect current trunk - -2009-05-12 05:58 robert - - * src/osgDB/Callbacks.cpp: Added return to end of file to prevent - warning - -2009-05-12 05:49 robert - - * include/osg/State: Moved getAttributeVec into public: to allow - 3rd party code to access without having to subclass - -2009-05-11 16:38 robert - - * src/osgWrappers/osgDB/Callbacks.cpp: Updated wrappers - -2009-05-11 16:38 robert - - * include/osgDB/Callbacks, include/osgDB/Options, - src/osgDB/CMakeLists.txt, src/osgDB/Callbacks.cpp, - src/osgDB/Options.cpp, src/osgWrappers/osgDB/Options.cpp, - src/osgWrappers/osgDB/Registry.cpp: Moved - ReadFile/WriteFile/FindFile/FileLocationCallbacks from - include/osg/Options into their own Callbacks header/source file. - -2009-05-11 14:11 robert - - * src/osgDB/DatabasePager.cpp: Commented out debug messages - -2009-05-11 13:03 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: - updated XCode project to reflect current trunk - -2009-05-11 11:39 robert +Thu, 23 May 2013 15:55:22 +0000 +Checked in by : Robert OSFIELD +From Pawel Ksiezopolski, Added example of using osg::TextureBuffer + GLSL to render forest. - * CMakeLists.txt, include/osg/NodeVisitor, include/osg/PagedLOD, - include/osgDB/DatabasePager, include/osgDB/FileCache, - include/osgDB/Options, include/osgDB/Registry, - src/osg/PagedLOD.cpp, src/osgDB/DatabasePager.cpp, - src/osgDB/FileCache.cpp, src/osgDB/Options.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/PagedLOD.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/Options.cpp, - src/osgWrappers/osgDB/Registry.cpp: Moved - Registry::ReadFileCallback + WriteFileCallback, and - osgDB::ReaderWriter::Options into their own separate Options file - and into the osgDB namespace. - - Introduced a new callback osgDB::FindFileCallback that overrides - the default behavior of findDataFile/findLibraryFile. - - Introduced support for assigning ReaderWriter::Options directory - to PagedLOD. - - Introduced new osgDB::FileLocationCallback for assistancing the - DatabasePager to know when a file is hosted on a local or remote - file system. - -2009-05-11 11:08 robert - - * include/osg/Version: Added OSG_MIN_VERSION_REQUIRED, - OSG_VERSION_LESS_THAN, OSG_VERSION_LESS_OR_EQUAL, - OSG_VERSION_GREATER_THAN, OSG_VERSION_GREATER_OR_EQUAL macros to - help out with management of feature usage in 3rd party libs and - applications +Thu, 23 May 2013 14:14:51 +0000 +Checked in by : Robert OSFIELD +From David Fries, "This updates the CMakeLists.txt instructions for the commands to make the doxygen documentation." -2009-05-09 08:54 robert +Thu, 23 May 2013 12:29:55 +0000 +Checked in by : Robert OSFIELD +Refactored the idle mechanism to fix problems with the vnc thread going idle when it shouldn't have. - * include/osgDB/Options, src/osgDB/Options.cpp: Moved Options copy - constructor to .cpp +Thu, 23 May 2013 10:25:03 +0000 +Checked in by : Robert OSFIELD +Added assigned of the InteractiveImageHandler as a cull callback to enable the interactive image to know when it's being actively used as part of rendering a frame. -2009-05-09 08:49 robert +Wed, 22 May 2013 15:48:42 +0000 +Checked in by : Robert OSFIELD +Quitened down debug messages - * include/osgDB/Archive, include/osgDB/DatabasePager, - include/osgDB/FileCache, include/osgDB/FileUtils, - include/osgDB/ImageOptions, include/osgDB/ImagePager, - include/osgDB/Input, include/osgDB/Options, include/osgDB/Output, - include/osgDB/ReadFile, include/osgDB/ReaderWriter, - include/osgDB/Registry, include/osgDB/WriteFile, - include/osgDB/XmlParser, include/osgVolume/Layer, - src/osg/Shader.cpp, src/osgDB/Archive.cpp, - src/osgDB/CMakeLists.txt, src/osgDB/DatabasePager.cpp, - src/osgDB/FileCache.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Options.cpp, src/osgDB/Output.cpp, - src/osgDB/ReadFile.cpp, src/osgDB/ReaderWriter.cpp, - src/osgDB/Registry.cpp, src/osgDB/WriteFile.cpp, - src/osgDB/XmlParser.cpp, src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/ExportOptions.h, - src/osgPlugins/ive/PagedLOD.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgWrappers/genwrapper.conf, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osgDB/Archive.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/FileUtils.cpp, - src/osgWrappers/osgDB/ImageOptions.cpp, - src/osgWrappers/osgDB/Input.cpp, - src/osgWrappers/osgDB/Options.cpp, - src/osgWrappers/osgDB/Output.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp: Refactored the - Registry::ReadFileCallback, WriteFileCallback and - ReaderWriter::Options to they are now defined in their own header - and in the osgDB namespace. - - Introduced a new FindFileCallback to Registry to compliement the - existing ReadFileCallback and WriteFileCallback. - - Added support for assign Find, Read and WriteFileCallbacks to - osdDB::Options to enable plugins/applications to override the - callbacks just for that - read/write call and any nested file operations - -2009-05-08 12:53 robert - - * src/osgUtil/CullVisitor.cpp: Removed redudent check against - frustum.getCurrentMask() - -2009-05-08 12:38 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: Changed 0 initializer to - InheritCursor - -2009-05-08 12:34 robert - - * src/osgPlugins/p3d/CMakeLists.txt: Added osgGA and osgText to - dependency list - -2009-05-08 12:32 robert - - * src/osgPlugins/p3d/CMakeLists.txt: Added osgText dependency - -2009-05-08 09:29 robert - - * CMakeLists.txt, applications/present3D/CMakeLists.txt: Cleaned up - set up of SDL. - -2009-05-08 08:34 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/SlideShowConstructor.cpp, - src/osgPlugins/p3d/SlideShowConstructor.h: Added support for - pushing handling relative paths set internally in the - presentation file. - - Added setting of env vars defined in presentation file. - -2009-05-08 07:50 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: Fixed unitialized variable - -2009-05-08 07:46 robert - - * src/osgPlugins/ffmpeg/FFmpegClocks.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp: From Jean-Sebastien - Guay, changed the timing control for when no audio layer is - supplied. - -2009-05-07 18:32 robert - - * src/osgPlugins/osgVolume/ImageLayer.cpp, - src/osgPlugins/osgVolume/Layer.cpp: Moved property code from - ImageLayer into Layer where it belongs - -2009-05-07 18:30 robert - - * include/osg/Polytope: Changed setting of stack back assigned to - push_back to fix bug with cull mask management. - -2009-05-07 14:53 robert - - * src/osg/GraphicsContext.cpp: Fixed handling of resize of - ABSOLUTE_RF slave cameras - -2009-05-07 13:30 robert - - * include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: From Frederic Bouvier, - SetCursor fixes from GraphicsWindowWin32, - - Original email from Frederic at start of thread: - "he patch attached, made from r10068, fix two things, in other of - importance : - - - the selected cursor is never shown ( second change in file ). - Only the left arrow is always displayed. - - remove the arbitrary ( in my sense ) limitation that the user - cannot choose a cursor with the same shape that one used when - resizing the window. This limitation doesn't exist for X11, and - we have a diverging behaviour there ( first change in file ). - Flightgear use the LeftRightCursor in look around mode." - - Follow up email from Frederic (with changes that finally made it - into this check in: - "I've just tested Mark's suggestion and it works perfectly, even - when the - cursor goes to the border then come back inside the window. - But his patch doesn't seem to be based on the last revision of - the - files, or at least not on the trunk, and there are more changes - than - expected in them, including some loss from the previous patches. - The patch attached is based on r10068 of - src/osgViewer/GraphicsWindowWin32.cpp and r10067 of - include/osgViewer/api/Win32/GraphicsWindowWin32" - -2009-05-07 13:23 robert - - * src/osgDB/Registry.cpp: From Stephan Huber, "while debugging a - problem in finding plugins on OS X I discovered, that - the conditional directives for setting the prepend-string in - createLibraryNameForExtension were not in effect, because of the - mixture - of different #ifdef styles. - - I removed the conditional part for __APPLE__ completely to be - more - standard-conform with other platforms (plugins should be located - in - osgPlugins-X.X.X/). Because of the wrong syntax of the - conditional - compile the old code was not used anyway -- so no functional - change. - " - -2009-05-07 13:21 robert - - * src/osgPlugins/ply/vertexData.cpp: From MAthias Froehlich, - "Attached is a compile fix I need on Suse 11.1 for a successful - compile. - Just avoid uint8_t typed values in - src/osgPlugins/ply/vertexData.cpp - if they are not needed for a particular reason ..." - -2009-05-07 13:15 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Chris Denham, "For - me, on Windows, I also get a slew of these warnings when I move - the window off screen. - So, might be a bit fiddly to try and prevent frame update in all - situations that SwapBuffers retuns false. - I wondered if we could address this issue by only reporting the - error if GetLastError is also non zero. Works for me! - The value returned by GetLastError is zero when SwapBuffers is - called for a minimized or off screen window, so we could just add - a check for this. - Just say the word, and I'll post my modified - GraphicsWindowWin32.cpp to the submissions list. ;-) - Cheers. - Chris. - - e.g. - - //------------- OSG- 2..8 ---------- - void GraphicsWindowWin32::swapBuffersImplementation() - { - if (!_realized) return; - if (!::SwapBuffers(_hdc)) - { - reportErrorForScreen("GraphicsWindowWin32::swapBuffersImplementation() - - Unable to swap display buffers", _traits->screenNum, - ::GetLastError()); - } - } - //------------- Modification to remove redundant warnings - ---------- - void GraphicsWindowWin32::swapBuffersImplementation() - { - if (!_realized) return; - if (!::SwapBuffers(_hdc) && ::GetLastError() != 0) - { - reportErrorForScreen("GraphicsWindowWin32::swapBuffersImplementation() - - Unable to swap display buffers", _traits->screenNum, - ::GetLastError()); - } - } - " - -2009-05-07 12:55 robert - - * CMakeLists.txt: From Michael Platings, added VisualStidio - specific option for disabling iterator checking. - -2009-05-07 09:40 robert - - * src/osgPlugins/pdf/CMakeLists.txt: Fixed typo of - POPPLER_LIBRARY_DIRS - -2009-05-07 09:16 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: - updated XCode project to reflect current trunk - -2009-05-07 09:07 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/VolumeTransferFunctionProperty.cpp: Added - support for osgVolume::TransferFunctionProperty - -2009-05-06 13:47 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Node.cpp, - src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/VolumeCompositeProperty.cpp, - src/osgPlugins/ive/VolumeCompositeProperty.h, - src/osgPlugins/ive/VolumeLayer.cpp, - src/osgPlugins/ive/VolumeProperty.h, - src/osgPlugins/ive/VolumePropertyAdjustmentCallback.cpp, - src/osgPlugins/ive/VolumePropertyAdjustmentCallback.h, - src/osgPlugins/ive/VolumeScalarProperty.cpp, - src/osgPlugins/ive/VolumeScalarProperty.h, - src/osgPlugins/ive/VolumeSwitchProperty.cpp, - src/osgPlugins/ive/VolumeSwitchProperty.h, - src/osgPlugins/ive/VolumeTransferFunctionProperty.cpp, - src/osgPlugins/ive/VolumeTransferFunctionProperty.h: Added .ive - reading/writing support for osgVolume::Property classes - -2009-05-05 18:34 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/ive/Volume.cpp, src/osgPlugins/ive/Volume.h, - src/osgPlugins/ive/VolumeCompositeLayer.cpp, - src/osgPlugins/ive/VolumeCompositeLayer.h, - src/osgPlugins/ive/VolumeImageLayer.cpp, - src/osgPlugins/ive/VolumeImageLayer.h, - src/osgPlugins/ive/VolumeLayer.cpp, - src/osgPlugins/ive/VolumeLayer.h, - src/osgPlugins/ive/VolumeLocator.cpp, - src/osgPlugins/ive/VolumeLocator.h, - src/osgPlugins/ive/VolumeTile.cpp, - src/osgPlugins/ive/VolumeTile.h: Added initial cut at support for - osgVolume in .ive format. - -2009-05-05 12:46 robert - - * src/osgVolume/RayTracedTechnique.cpp: Changed debug message from - NOTICE to INFO - -2009-05-05 12:18 robert - - * src/osgPlugins/osgVolume/ImageLayer.cpp: Fixed support for - reading imagery relative to the .osg being loaded - -2009-05-05 11:05 robert - - * src/osgVolume/FixedFunctionTechnique.cpp: Added checks to prevent - crash when no imagery is applied - -2009-05-05 11:03 robert - - * src/osgVolume/RayTracedTechnique.cpp: Added checks to prevent - crashes when no imagery is assigend to volume - -2009-05-05 10:27 robert - - * applications/present3D/present3D.cpp: Added selection of first - slide - -2009-05-03 18:51 robert - - * applications/present3D/Cluster.cpp, - applications/present3D/SlideEventHandler.cpp, - applications/present3D/SlideEventHandler.h, - src/osgPlugins/p3d/SlideEventHandler.cpp, - src/osgPlugins/p3d/SlideEventHandler.h: Warning fixes - -2009-05-02 07:50 robert - - * applications/present3D/Cluster.cpp, - applications/present3D/SlideEventHandler.cpp, - applications/present3D/SlideEventHandler.h: Warning fixes - -2009-05-01 10:24 robert - - * include/osgDB/XmlParser: Added export for windows build - -2009-05-01 08:49 robert - - * src/osgDB/FileUtils.cpp: From Michael Platings, compile fix for - the following problem report on osg-users: - - "the latest SVN revision cannot be build under Windows if - ?OSG_USE_UTF8_FILENAME? config option is enabled. The error - occurs in ?FileUtils.cpp? file, line 663, since there is no - UNICODE-capable version of the ?GetProcAddress? function. The - ?OSGDB_WINDOWS_FUNCT_STRING? makro is defined as follows in that - case - - - - #define OSGDB_WINDOWS_FUNCT_STRING(x) L ## #x L"W" - - - - Thus the second parameter cannot be converted from wchar_t to - LPCSTR. Should we convert the second parameter from wchar_t* to - LPCSTR or use the same definition for the - ?OSGDB_WINDOWS_FUNCT_STRING? makro in both cases? - - - - The second error occurs in the same file, line 669. The second - parameter for the ?pGetModuleHandleEx? function should be defined - as wchar_t, but it?s defined as ?static char static_variable? in - the line 667." - -2009-05-01 08:20 robert - - * src/osgPlugins/3ds/readwrite.cpp: Fixed warning + bug - -2009-05-01 08:10 robert - - * applications/present3D/CMakeLists.txt: Added ws2_32 dependency - -2009-04-30 13:13 robert - - * src/osgViewer/View.cpp: Added check against the validity of - ViewerBase to make sure that a null pointer isn't dereferenced. - -2009-04-30 08:50 robert - - * applications/present3D/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/ReaderWriterP3D.cpp: Added support for reading - from streams - -2009-04-30 08:27 robert - - * applications/present3D/CMakeLists.txt, include/osgDB/XmlParser, - src/osgDB/XmlParser.cpp: Build fixes - -2009-04-29 20:55 robert - - * src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/SlideEventHandler.cpp, - src/osgPlugins/p3d/SlideEventHandler.h: Re-instated the code to - allow event handler to run in standard viewers like osgviewer - -2009-04-29 20:30 robert - - * CMakeLists.txt, applications/CMakeLists.txt, - applications/present3D/CMakeLists.txt, - applications/present3D/ReadShowFile.cpp, - applications/present3D/ReaderWriterP3D.cpp, - applications/present3D/ReaderWriterXML.cpp, - include/osgDB/XmlParser, src/osgDB/CMakeLists.txt, - src/osgDB/DynamicLibrary.cpp, src/osgDB/XmlParser.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/p3d/CMakeLists.txt, - src/osgPlugins/p3d/PickEventHandler.cpp, - src/osgPlugins/p3d/PickEventHandler.h, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/SlideEventHandler.cpp, - src/osgPlugins/p3d/SlideEventHandler.h, - src/osgPlugins/p3d/SlideShowConstructor.cpp, - src/osgPlugins/p3d/SlideShowConstructor.h, - src/osgWrappers/osgDB/XmlParser.cpp: Created a simple XmlNode - parser class for reading of basic xml files, such as used by - present3D. - - Converted Present3D across from using libxml2 to using the new - osgDB::XmlNode/XmlNode::Input classes from Xml Parsing. - This changes removes the dependency on libxml2, and allows the - present3D application and p3d to work on all platforms. - -2009-04-28 15:50 robert - - * src/osgPlugins/p3d/CMakeLists.txt: Added osgFX to dependencies - -2009-04-28 15:48 robert - - * src/osgPlugins/p3d/CMakeLists.txt: Added osgViewer as a - dependency - -2009-04-28 14:26 robert - - * src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp: Enabled blending to - all but iso surface shader. - - Changed the alpha value of the iso surface colour to 1.0 - -2009-04-28 14:03 robert - - * applications/present3D/ExportHTML.cpp, - applications/present3D/ExportHTML.h, - applications/present3D/PickEventHandler.cpp, - applications/present3D/PickEventHandler.h, - applications/present3D/ReadShowFile.cpp, - applications/present3D/ReaderWriterXML.cpp, - applications/present3D/SlideEventHandler.cpp, - applications/present3D/SlideEventHandler.h, - applications/present3D/SlideShowConstructor.cpp, - applications/present3D/SlideShowConstructor.h, - applications/present3D/present3D.cpp: Reorganised placement of - classes associated with scene graph. - - Warning clean up. - -2009-04-28 11:57 robert - - * applications/CMakeLists.txt, applications/present3D, - applications/present3D/AnimationMaterial.cpp, - applications/present3D/AnimationMaterial.h, - applications/present3D/CMakeLists.txt, - applications/present3D/Cluster.cpp, - applications/present3D/Cluster.h, - applications/present3D/CompileSlideCallback.cpp, - applications/present3D/CompileSlideCallback.h, - applications/present3D/ExportHTML.cpp, - applications/present3D/ExportHTML.h, - applications/present3D/PickEventHandler.cpp, - applications/present3D/PickEventHandler.h, - applications/present3D/PointsEventHandler.cpp, - applications/present3D/PointsEventHandler.h, - applications/present3D/ReadShowFile.cpp, - applications/present3D/ReadShowFile.h, - applications/present3D/ReaderWriterXML.cpp, - applications/present3D/SDLIntegration.cpp, - applications/present3D/SDLIntegration.h, - applications/present3D/ShowEventHandler.cpp, - applications/present3D/ShowEventHandler.h, - applications/present3D/SlideEventHandler.cpp, - applications/present3D/SlideEventHandler.h, - applications/present3D/SlideShowConstructor.cpp, - applications/present3D/SlideShowConstructor.h, - applications/present3D/present3D.cpp: Moved present3D from own - repository into core OSG. - -2009-04-27 16:32 robert - - * src/osg/GLExtensions.cpp: Fixed typo - -2009-04-27 15:45 robert - - * src/osgPlugins/p3d/SlideShowConstructor.cpp: Added detection of - active alpha channel. - -2009-04-27 13:54 robert - - * src/osgPlugins/p3d/SlideEventHandler.cpp, - src/osgPlugins/p3d/SlideEventHandler.h: Further improvements in - p3d plugin - -2009-04-27 11:02 robert - - * CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/p3d, src/osgPlugins/p3d/AnimationMaterial.cpp, - src/osgPlugins/p3d/AnimationMaterial.h, - src/osgPlugins/p3d/CMakeLists.txt, - src/osgPlugins/p3d/CompileSlideCallback.cpp, - src/osgPlugins/p3d/CompileSlideCallback.h, - src/osgPlugins/p3d/PickEventHandler.cpp, - src/osgPlugins/p3d/PickEventHandler.h, - src/osgPlugins/p3d/ReaderWriterP3D.cpp, - src/osgPlugins/p3d/SlideEventHandler.cpp, - src/osgPlugins/p3d/SlideEventHandler.h, - src/osgPlugins/p3d/SlideShowConstructor.cpp, - src/osgPlugins/p3d/SlideShowConstructor.h: Introduced first cut - of Present3D integration with the core OSG with the introduction - of a .p3d plugin. +Wed, 22 May 2013 13:16:44 +0000 +Checked in by : Robert OSFIELD +Removed debug messages -2009-04-27 06:26 robert +Wed, 22 May 2013 13:09:38 +0000 +Checked in by : Robert OSFIELD +From Nico Kruithof, "For the VNC server, it seems that the wrong include path is used.Instead of +INCLUDE_DIRECTORIES(${LIBVNCCLIENT_INCLUDE_DIR}) +the CMake variable +INCLUDE_DIRECTORIES(${LIBVNCSERVER_INCLUDE_DIR}) +should be used. - * src/osg/GLExtensions.cpp: Attempt to fix mingw warnings +Attached is a fix for src/osgPlugins/vnc/CMakeLists.txt" -2009-04-25 21:44 robert - * src/osgViewer/ViewerBase.cpp: Fixed warning -2009-04-24 20:37 robert +Wed, 22 May 2013 12:49:46 +0000 +Checked in by : Robert OSFIELD +From Pawel Ksiezopolski, first email: "This submission adds texture buffer object ( defined in GL_ARB_texture_buffer_object extension ) to the osg::Texture* family.TextureBuffer objects may use osg::Texture::bindToImageUnit(), so GLSL shaders are able to use not only texelFetch() function , but also functions defined in GL_ARB_shader_image_load_store extension : imageLoad(), imageStore(), imageAtomicAdd() etc." - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog and AUTHORS for 2.9.4 dev release +second email: "After a while I found that osg::Texture::applyTexParameters() used with TextureBuffer may cause some OpenGL errors ( applying texture filters and wraps to TextureBuffer makes no sense ) so I fixed it." -2009-04-24 20:14 robert - * src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers -2009-04-24 18:37 robert - * src/osgViewer/Viewer.cpp: Added checking of need to update. +Wed, 22 May 2013 11:06:12 +0000 +Checked in by : Robert OSFIELD +From Jan Ciger, "Here is a little patch to fix a bug in the InfluenceMap serialization. The names of the maps weren't quoted properly and therefore it was breaking loading of rigged models exported from e.g. Blender. Also names that contained spaces wouldn't have been parsed properly. " -2009-04-24 17:51 robert +Wed, 22 May 2013 10:28:07 +0000 +Checked in by : Robert OSFIELD +From David Callu, "ust a simple IF ENDIF mismatch in last commit (I use git so no available SVN commit number ) :CMake Warning (dev) in CMakeLists.txt: + A logical block opening on the line - * include/osgUtil/IntersectVisitor: Added suggestion of - IntersectionVisitor instead. + /home/ledocc/work/perso/osg_Workspace/osg/CMakeLists.txt:823 (IF) -2009-04-24 17:49 robert + closes on the line - * include/osgUtil/IntersectVisitor: Changed doxygen docs to say - deprecated + /home/ledocc/work/perso/osg_Workspace/osg/CMakeLists.txt:893 (ENDIF) -2009-04-24 16:20 robert + with mis-matching arguments. - * include/osgViewer/CompositeViewer, include/osgViewer/View, - include/osgViewer/Viewer, include/osgViewer/ViewerBase, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Introduce new run frame - rate management support to allow control of maximum frame rate - and to support on demand rendering of frames +I remove ENDIF argument, it is no longer needed by cmake" -2009-04-24 11:53 robert - * ChangeLog: Updated ChangeLog -2009-04-24 11:23 robert +Tue, 21 May 2013 17:41:07 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I'm working on a custom ShaderComposer and I need access to the full StateSetStack of the State object within the getOrCreateProgram() method. The problem is that "State::apply(const StateSet* dstate)" does not add the specified stateset to the stack. I'm not sure if this was intentional, but I've updated the function to push/pop the stateset.I hope the change seems reasonable. I searched the entire code base for code that accesses the StateSetStack, and noticed RenderBin and RenderStage use it. However, I don't think that code would ever be called from within the State::apply() function, so I'm fairly confident the change should be safe." - * src/osgWrappers/osg/TextureRectangle.cpp: Updated wrappers -2009-04-24 11:01 robert - * src/osgUtil/CullVisitor.cpp: From Mathias Froehlich, "change adds - some code to also print the NodePath when a NaN is - detected in the CullVisitor. - May be this gives a bit more of a hint when this happens." +Tue, 21 May 2013 10:22:54 +0000 +Checked in by : Robert OSFIELD +From Valeriy Dubov, fix for Android build under OSX -2009-04-24 10:54 robert +Tue, 21 May 2013 09:48:16 +0000 +Checked in by : Robert OSFIELD +From Alexander Sinditskiy, "I just noticed that Dragger allways handle events even when handle(const PointerInfo&, const osgGA::GUIEventAdapter&, osgGA::GUIActionAdapter&) returns false.I think it is not correct...i think handled should be changed only when it is really handled." - * src/osgPlugins/mdl/VTXReader.cpp: From Jason Daly, "Currently, - the .mdl plugin loads vertices in the native DirectX order, which - is the reverse of OpenGL order. This means that the back faces - are currently rendered as front faces, and vice versa. - - This fix reverses the vertex order and sets up proper OpenGL - facing. I didn't notice this problem until I started using the - plug-in in my own code (osgviewer seems to not enable backface - culling)." +Tue, 21 May 2013 09:44:26 +0000 +Checked in by : Robert OSFIELD +Added use of SingleWindow for when only one screen is used -2009-04-24 09:07 robert +Mon, 20 May 2013 19:24:34 +0000 +Checked in by : Robert OSFIELD +Refactored the support for stereo and keystone RTT setup so that it can be applied to an existing Camera. - * include/osg/TextureRectangle, src/osg/Texture.cpp, - src/osg/TextureRectangle.cpp: From Mathias Froehlich, Changed - osg::TextureRectangle to use osg::Texutre::applyTexParameters() - to take advantage of texture shadow extension settings for - texture rectangle +Mon, 20 May 2013 14:17:43 +0000 +Checked in by : Robert OSFIELD +Added support for controlling border and override redirect to the SingleWindow View::Config -2009-04-23 13:42 robert +Mon, 20 May 2013 10:23:03 +0000 +Checked in by : Robert OSFIELD +Added a dedicated RTT texture for each of the left and right eyes when doing ANAGLYPHIC stereo to avoid issues with scene graphs containing ClearNode's such as when using in Present3D - * src/osgPlugins/3ds/readwrite.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ply/plyfile.cpp, src/osgPlugins/ply/vertexData.h: - Warning fixes +Thu, 16 May 2013 15:52:29 +0000 +Checked in by : Robert OSFIELD +Added support for setting the left/right cull masks -2009-04-23 10:24 robert +Thu, 16 May 2013 14:51:07 +0000 +Checked in by : Robert OSFIELD +Changed the default of OSG_SPLIT_STEREO_AUTO_ADJUST_ASPECT_RATIO to OFF - * src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/GeometryRecords.cpp: Refactored the - subsurface PolygonOffset code so that it uses sensible values and - also moves management of the PolygonOffset and Depth attribute - objects into the Document object rather than using static vars. +Thu, 16 May 2013 14:11:23 +0000 +Checked in by : Robert OSFIELD +Fixed stereo offsets of HORIZONTAL_SPLIT and VERTICAL_SPLIT stereo modes -2009-04-23 10:23 robert +Thu, 16 May 2013 14:07:35 +0000 +Checked in by : Robert OSFIELD +Reverted back to changes before experiements with ViewConfig - * src/osg/PolygonOffset.cpp: Removed specific ATI path in - PolygonOffset as it doesn't look to be neccessary with present - ATI hardware/drivers +Thu, 16 May 2013 10:28:01 +0000 +Checked in by : Robert OSFIELD +Cleaned up the WoWVxDisplay command line parsing -2009-04-22 18:22 robert +Thu, 16 May 2013 10:11:06 +0000 +Checked in by : Robert OSFIELD +Renamed osgViewer::Config osgViewer::ViewConfig and moved it's declaration into include/osgViewer. - * src/osgPlugins/ffmpeg/CMakeLists.txt: Quitened down warnings - generated by ffmpeg headers by remove -pedantic from - CMAKE_CXX_FLAGS +Thu, 16 May 2013 09:08:27 +0000 +Checked in by : Robert OSFIELD +Added WoWVxDisplay view config -2009-04-22 16:50 robert +Wed, 15 May 2013 16:15:38 +0000 +Checked in by : Robert OSFIELD +Created a dedicated include/osgViewer/config and src/osgViewer/config directories to place all the Config classes. - * src/osgPlugins/dxf/dxfEntity.cpp: Fixed warning +Wed, 15 May 2013 12:50:38 +0000 +Checked in by : Robert OSFIELD +Added support for osgViewer::Config in osgViewer::Viewer command line parsing -2009-04-22 16:47 robert +Wed, 15 May 2013 11:31:49 +0000 +Checked in by : Robert OSFIELD +Introduced osgViewer::Config base class and beginnigs of various Config implementations. Introduced osgViewer serializers plugin for serialization support for osgViewer::Config implementations and Keystone - * src/osgPlugins/ply/ply.h: Warning fixes +Tue, 14 May 2013 16:23:53 +0000 +Checked in by : Robert OSFIELD +From Lionel Lagarde, "When a function do:OSG_DEBUG << "Hello world!\n"; -2009-04-22 16:42 robert +the underlying stream is not automatically flushed. It is flushed +if endl is queued instead of \n: - * src/osgPlugins/ply/ply.h, src/osgPlugins/ply/vertexData.cpp: - Warning fixes +OSG_DEBUG << "Hello world!" << std::endl; -2009-04-22 16:41 robert - * src/osgUtil/ShaderGen.cpp: Warning fix +The notify macros do: +stream->setCurrentSeverity(severity); +return *stream; -2009-04-22 16:33 robert +So, if a function do: - * CMakeLists.txt, include/osg/Version: Updated version numbers in - prep for 2.9.4 dev release +OSG_DEBUG << "This is a debug message\n"; +OSG_NOTICE << "This is a notice message" << std::endl; -2009-04-22 15:46 robert +the debug message will be classified as a notice message. - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/3ds/atmosphere.cpp, - src/osgPlugins/3ds/atmosphere.h, - src/osgPlugins/3ds/background.cpp, - src/osgPlugins/3ds/background.h, src/osgPlugins/3ds/camera.cpp, - src/osgPlugins/3ds/camera.h, src/osgPlugins/3ds/chunk.cpp, - src/osgPlugins/3ds/chunk.h, src/osgPlugins/3ds/file.cpp, - src/osgPlugins/3ds/file.h, src/osgPlugins/3ds/light.cpp, - src/osgPlugins/3ds/light.h, src/osgPlugins/3ds/material.cpp, - src/osgPlugins/3ds/material.h, src/osgPlugins/3ds/mesh.cpp, - src/osgPlugins/3ds/mesh.h, src/osgPlugins/3ds/node.cpp, - src/osgPlugins/3ds/node.h, src/osgPlugins/3ds/readwrite.cpp, - src/osgPlugins/3ds/readwrite.h, src/osgPlugins/3ds/shadow.cpp, - src/osgPlugins/3ds/shadow.h, src/osgPlugins/3ds/tcb.cpp, - src/osgPlugins/3ds/tcb.h, src/osgPlugins/3ds/tracks.cpp, - src/osgPlugins/3ds/tracks.h, src/osgPlugins/3ds/viewport.cpp, - src/osgPlugins/3ds/viewport.h: From Neil Hughes, converted across - to use istream for reading data from file to enable reading .3ds - files over http (use OSG's libcurl plugin). - - From Robert Osfield, ammendments of the above to better support - reading of files from local directories. +It is a problem when the application uses a NotifyHandler. The notify +method of the handler is called with: -2009-04-22 13:50 robert +severity = NOTICE +message = "This is a debug message\nThis is a notice message" - * applications/osgversion/osgversion.cpp: From Erik den Dekker, "I - revamped osgversion, which resulted (I think) in cleaner code. - The only functional change was giving my brother the original - credits he deserved. Name changed from 'Jeoen den Dekker' to - 'Jeroen den Dekker'." +The attached Notify.cpp contains an automatic flush of the stream when +the current severity changes. -2009-04-22 13:09 robert +" - * src/osgPlugins/dae/daeWriter.h: From Bob Kuehne, "fix for failing - collada builds on osx due to not being able to stringstreamify - osg::Vec3 without io_utils included." -2009-04-22 13:07 robert - * include/osg/TexGenNode, src/osg/TexGenNode.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp: From Mathias - Froehlich, "attached is a change to TexGenNode rev 10060 that - removes a private member - variable that is only initialized and copied by never used - seriously. - " +Tue, 14 May 2013 16:18:41 +0000 +Checked in by : Robert OSFIELD +From Michael Kapelko, "The provided patch (against SVN revision 13380) adds missing constness to returning calls (without it the user code does not compile)." -2009-04-22 12:52 robert +Tue, 14 May 2013 16:15:01 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "The tga image loader was not properly reading in 16-bit images. Fix is attached." - * examples/osghangglide/osghangglide.cpp, - examples/osghangglide/tank.cpp: From Chris Hanson, spelling and - grammer fixes +Tue, 14 May 2013 16:12:21 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "Attached is a patch that introduces 'static_cast' on some instances where the code returns '.size()' of a std::vector. This caused some warnings when using clang++ on OS X." -2009-04-22 11:22 robert +Tue, 14 May 2013 13:35:10 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * src/osgViewer/GraphicsWindowX11.cpp: Added hand cursor - implementation +Tue, 14 May 2013 13:34:54 +0000 +Checked in by : Robert OSFIELD +Updated version after dev release -2009-04-22 11:20 robert +Mon, 13 May 2013 13:12:13 +0000 +Checked in by : Robert OSFIELD +Added OSGUTIL_EXPORT for Windows build - * include/osgViewer/GraphicsWindow, - src/osgViewer/GraphicsWindowWin32.cpp: From Neil Hughes, "Please - find attached two files that I've amended to add the IDC_HAND - cursor for the windows platform." +Mon, 13 May 2013 12:08:05 +0000 +Checked in by : Robert OSFIELD +Updated version number for dev release -2009-04-22 11:12 robert +Mon, 13 May 2013 11:59:34 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for dev release - * include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: From Peter Amstutz, "Here - is a simple change to osgViewer::GraphicsWindowWin32 to add a - flag to WindowData to specify that the graphics window should not - install an event handler of its own, per this discussion thread: - - http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg23734.html - - The change is source compatible with current osg code and will - not affect current users, it simply adds an additional parameter - to the GraphicsWindowWin32::WindowData struct constructor and - defaults to the current behavior. - - Attached are the files - "include/osgViewer/api/Win32/GraphicsWindowWin32" and - "src/osgViewer/GraphicsWindowWin32.cpp" with my changes, based on - svn revision 10045. In addition, I have provided an svn patch - file with the same changes for your convenience. - - I have discussed the matter with my supervisor, and agreed that - my company makes no copyright claim over this extremely trivial - change (or to put it another way, we assign copyright to the open - scene graph community.)" +Mon, 13 May 2013 11:51:44 +0000 +Checked in by : Robert OSFIELD +Updated links to svn repository -2009-04-22 11:00 robert +Mon, 13 May 2013 11:02:40 +0000 +Checked in by : Robert OSFIELD +Fixed build for when automatic type conversion isn't enabled for ref_ptr<> - * examples/osgtexture1D/osgtexture1D.cpp: From Eduardo Alberto - Hernández Muñoz, change to using TexGenNode for setting up tex - coordinates +Mon, 13 May 2013 09:53:54 +0000 +Checked in by : Robert OSFIELD +Fixed the render order to the Render To Texture cameras used in stereo keystoning. -2009-04-22 10:54 robert +Mon, 13 May 2013 09:49:54 +0000 +Checked in by : Robert OSFIELD +Improved the use of the Keystone's defined in the DisplaySettings object. - * examples/osgmanipulator/osgmanipulator.cpp, - examples/osgscreencapture/osgscreencapture.cpp: From Paul Martz, - "Looks like the people who created these two examples were a bit - careless with cut and paste." +Mon, 13 May 2013 09:18:37 +0000 +Checked in by : Robert OSFIELD +Added to Viewer::realize() automatic setup using Keystone when available and enabled, and when no other window setup has been selected. -2009-04-22 10:47 robert +Fri, 10 May 2013 17:59:07 +0000 +Checked in by : Robert OSFIELD +Added DisplaySettings::KeystoneHint flag that can be set via --keystone-on and --keystone-off command line parameters, and the OSG_KEYSTONE env var - * src/osg/Image.cpp: From Eric Sokolowsky, "src/osg/Image.cpp is - missing the GL_RGBA8 image type when calculating the number of - components in an image. It is added here." +Fri, 10 May 2013 16:06:10 +0000 +Checked in by : Robert OSFIELD +Added keystone file handling -2009-04-22 10:46 robert +Fri, 10 May 2013 11:56:09 +0000 +Checked in by : Robert OSFIELD +Added --keystone command line support into DisplaySettings, and added OSG_KEYSTONE_FILES env var support into osg::DisplaySettings. - * include/osg/Array: Changed parameter for T* to const T*. +Fri, 10 May 2013 10:00:38 +0000 +Checked in by : Robert OSFIELD +Moved Keystone support from osgkeystone example into osgViewer::View -2009-04-21 14:27 robert +Thu, 9 May 2013 15:18:14 +0000 +Checked in by : Robert OSFIELD +Moved Keystone class into osgViewer library. - * CMakeLists.txt: From Eric Sokolowsky, "I found that the current - CMakeLists.txt doesn't set the debugging flags correctly on OSX - when using cmake to generate Xcode projects. This change has the - potential to affect all platforms, so it should be tested." +Tue, 7 May 2013 14:43:36 +0000 +Checked in by : Robert OSFIELD +Cleaned up event handler and namespaces in prep for integrating keystone functionality into osgViewer -2009-04-21 14:15 robert +Tue, 7 May 2013 13:34:47 +0000 +Checked in by : Robert OSFIELD +Added keystone support for left eye, right eye and quad buffer stereo - * src/osgPlugins/curl/ReaderWriterCURL.cpp: From Neil Hughes, "here - is an update to ReaderWriterCurl that makes use of the amended - ReaderWriter definition to pass some plugin string data via the - options object." +Tue, 7 May 2013 11:13:50 +0000 +Checked in by : Robert OSFIELD +Added keystone setup to vertical split stereo suport and cleaned up the horizontal split stereo code -2009-04-21 12:02 robert +Fri, 3 May 2013 20:12:15 +0000 +Checked in by : Robert OSFIELD +Commented out debug output - * src/osgWrappers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp: Updated wrappers +Fri, 3 May 2013 19:26:27 +0000 +Checked in by : Robert OSFIELD +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. -2009-04-21 11:48 robert +Fri, 26 Apr 2013 10:00:16 +0000 +Checked in by : Robert OSFIELD +As a test of new repository updated date in README.txt - * include/osgDB/ReaderWriter: From Neil Hughes, "please find - attached a new version of the ReaderWriter header file. This has - additional functions to mimic the setPluginData functions for - string data." +Thu, 18 Apr 2013 17:02:57 +0000 +Checked in by : Robert OSFIELD +Refactored Keystone setup as a step toward integrating Keystone correction with stereo -2009-04-21 10:46 robert +Thu, 18 Apr 2013 09:47:28 +0000 +Checked in by : Robert OSFIELD +Implemented stereo support into osgkeystone as a testbed for moving stereo support from SceneView into osgViewer - * include/osgAnimation/MorphGeometry: From Chris Hanson, "Fixed - case of morphTarget argument in Doxygen comments." +Wed, 17 Apr 2013 11:04:12 +0000 +Checked in by : Robert OSFIELD +Implemented initial cut of anaglyphic stereo -2009-04-21 10:13 robert +Tue, 16 Apr 2013 09:26:40 +0000 +Checked in by : Robert OSFIELD +Changed point to osg::ref_ptr<> to prevent memory leaks. - * src/osgDB/DatabasePager.cpp: Fixed handling of case of no - graphics contexts being assigned +Mon, 15 Apr 2013 14:21:32 +0000 +Checked in by : Robert OSFIELD +Preperation for adding stereo support direclty into osgViewer. -2009-04-20 19:05 robert +Fri, 12 Apr 2013 13:01:51 +0000 +Checked in by : Robert OSFIELD +Added support for enable/disabling the keystone editing using the Ctrl-g key to toggle the UI and grid on/off. - * src/osgPlugins/ffmpeg/FFmpegHeaders.hpp: Removed #ifdef WIN32 - around #include to fix build under Mandrake build. +Fri, 12 Apr 2013 09:05:11 +0000 +Checked in by : Robert OSFIELD +Moved keystone event handler onto the keystone distortion Camera. -2009-04-17 14:15 shuber +Fri, 12 Apr 2013 08:52:21 +0000 +Checked in by : Robert OSFIELD +Refactoed the grid rendering so that it's now implemented as part of the distortion mesh pass, leaving the main scene graph alone. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: small fix for Xcode-project / 32bit Carbon - target +Thu, 11 Apr 2013 17:12:32 +0000 +Checked in by : Robert OSFIELD +Add support for a finer grained mesh on the distortion mesh for higher quality results. -2009-04-13 12:26 shuber +Thu, 11 Apr 2013 16:07:49 +0000 +Checked in by : Robert OSFIELD +Moved the keystone geometry computation into a Keystone::compute3DPositions(..) method - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode-project so it builds the - curl-plugin +Wed, 10 Apr 2013 16:36:49 +0000 +Checked in by : Robert OSFIELD +Removed old experimental keystone code to clean up the example -2009-04-13 09:41 robert +Thu, 28 Mar 2013 10:46:24 +0000 +Checked in by : Robert OSFIELD +Changed the way that the keystone geometry is calculated. - * src/osgPlugins/ply/typedefs.h: Replaced #idef WIN32 with _MSC_VER - to try and fix build errors under mingw +Wed, 27 Mar 2013 16:29:01 +0000 +Checked in by : Robert OSFIELD +Added keypad control of corner points -2009-04-13 09:35 robert +Tue, 26 Mar 2013 17:03:22 +0000 +Checked in by : Robert OSFIELD +Moved local variable into local scope to avoid it being created when not used. - * src/osgPlugins/ply/plyfile.cpp, src/osgPlugins/ply/typedefs.h, - src/osgPlugins/ply/vertexData.cpp: From Santosh Gaikwad, "I have - added the exception handling in ply loader. All exceptions I am - catching in VertexData::readPlyFile() and made sure that - application will not crash or exit if any exception occurred. I - am returning NULL from VertexData::readPlyFile() if any exception - occurred. - " +Tue, 26 Mar 2013 16:47:52 +0000 +Checked in by : Robert OSFIELD +Introduced shearing of the image -2009-04-12 18:54 robert +Tue, 26 Mar 2013 11:00:05 +0000 +Checked in by : Robert OSFIELD +Improved the setup of the keystone distortion correction mesh. - * CMakeLists.txt, ChangeLog: Fixed ChangeLog generation so that it - only includes svn/trunk or relevant branch rather than whole svn - repository. - - Updated ChangeLog +Thu, 21 Mar 2013 16:42:09 +0000 +Checked in by : Robert OSFIELD +Updated developer release number -2009-04-11 07:12 robert +Thu, 21 Mar 2013 16:22:30 +0000 +Checked in by : Robert OSFIELD +Added check against isVertexBufferObjectSupported() in set*Pointer() methods - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog and AUTHORS for 2.9.3 dev release +Thu, 21 Mar 2013 11:35:21 +0000 +Checked in by : Robert OSFIELD +Added keystone grid to aid editing -2009-04-11 06:25 robert +Wed, 20 Mar 2013 14:03:28 +0000 +Checked in by : Robert OSFIELD +Added arrow key support. Added support for using ctrl and shift keys to modulate how senstive the mouse and key movement is when modifying the keystone parameters. - * src/osgWrappers/osgAnimation/Bone.cpp: updated wrappers +Tue, 19 Mar 2013 16:43:27 +0000 +Checked in by : Robert OSFIELD +Improve corner point tracking/keystone computation -2009-04-11 06:16 robert +Tue, 19 Mar 2013 12:44:03 +0000 +Checked in by : Robert OSFIELD +Added event handle for interactive setting of keystone variables - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From Jean Sebastien - Guay, added error reporting handling of wider range of video - formats. +Fri, 15 Mar 2013 17:35:43 +0000 +Checked in by : Robert OSFIELD +Experiments with modifying the projection matrix to provide keystoning. -2009-04-10 15:30 cedricpinson +Thu, 14 Mar 2013 16:24:22 +0000 +Checked in by : Robert OSFIELD +Initial skeleton of new osgkeystone example - * include/osgAnimation/Bone, include/osgAnimation/Timeline, - include/osgAnimation/VertexInfluence, - src/osgAnimation/Timeline.cpp: From Cedric Pinson, remove unsused - method in Bone class\nadd namespace osgAnimation for Timeline - constructors\nadd OSGANIMATION_EXPORT on VertexInfluence and - Timeline class +Mon, 11 Mar 2013 17:16:32 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, "There is a little bug in the osg::Group::insertChild method :If the index is more than the size of _children vector, the new child is pushed at the end of the vector, but the index value is unmodified, so an incorrect value is passed to the "childInserted" method." -2009-04-10 14:11 robert - * src/osgDB/FileUtils.cpp: Added VS checks around code block from - Mark Sciabica that broke the mingw build -2009-04-10 11:19 robert +Fri, 22 Feb 2013 17:42:47 +0000 +Checked in by : Robert OSFIELD +From Chris Hanson, " Adds missing copy for _bbox member variable to copy constructor:LightPointNode::LightPointNode(const LightPointNode& lpn,const osg::CopyOp& copyop): + osg::Node(lpn,copyop), + _bbox(lpn._bbox), + _lightPointList(lpn._lightPointList), + _minPixelSize(lpn._minPixelSize), + _maxPixelSize(lpn._maxPixelSize), + _maxVisibleDistance2(lpn._maxVisibleDistance2), + _lightSystem(lpn._lightSystem), + _pointSprites(lpn._pointSprites) +{ +} - * examples/osgdepthpartition/osgdepthpartition.cpp: Fixed build - error by replacing M_PI with osg::PI. -2009-04-10 11:00 robert + Lacking this causes _bbox to be uninitialized after LOD changes when paged databases refer to shared subgraphs. - * CMakeLists.txt, include/osg/Version, - include/osgManipulator/CommandManager, - src/osgWrappers/osgManipulator/CommandManager.cpp: Updated - version info for 2.9.3 dev release, fixed typo and updated - wrappers +" -2009-04-10 10:07 robert - * include/osgManipulator/CommandManager, - src/osgManipulator/CommandManager.cpp, - src/osgWrappers/osgManipulator/CommandManager.cpp: Added typedef - and updated wrappers -2009-04-10 09:56 robert +Wed, 13 Feb 2013 16:29:03 +0000 +Checked in by : Robert OSFIELD +From Lukasz Izdebski,"added support for gl_SampleMaski." - * include/osgManipulator/CommandManager, - src/osgManipulator/CommandManager.cpp: From Romain Charbit, - "added a getConnectedSelections(Dragger&) method, so we can get - which selections are connected to a dragger without make our own - multimap, copying the existing _draggerSelectionMap (which is - protected with no accessors) ." +Wed, 13 Feb 2013 16:03:35 +0000 +Checked in by : Robert OSFIELD +From Jordi Torres, "This error occurs when compiling current OSG with the NDK >=r8c:android-ndk-r8d/build/gmsl/__ +gmsl:512: *** non-numeric second argument to `wordlist' function: ''. Stop. -2009-04-10 09:37 robert +This is discussed in this thread[1]. +The solution is to add to the manifest as the OSG library will only run in devices with Android>=2.2 (Froyo) with API level 8 [2]. - * LICENSE.txt: From J.P. Delport, tweak to fix spelling and grammer +The fix does not affect to older sdk's. -2009-04-10 09:16 robert +Thanks to Jan Ciger for spotting the bug and find a possible solution. " - * src/osgPlugins/ply/ply.h, src/osgPlugins/ply/plyfile.cpp: From - Santosh Gaikwad, warning fixes -2009-04-09 18:27 robert - * src/osgPlugins/CMakeLists.txt: Added ply entry +Tue, 12 Feb 2013 15:44:52 +0000 +Checked in by : Robert OSFIELD +From Jordi Torres, Android build fix -2009-04-09 18:26 robert +Tue, 12 Feb 2013 15:40:21 +0000 +Checked in by : Robert OSFIELD +From Jordi Torres, fix for Android build - * src/osgPlugins/ply, src/osgPlugins/ply/CMakeLists.txt, - src/osgPlugins/ply/ReaderWriterPLY.cpp, src/osgPlugins/ply/ply.h, - src/osgPlugins/ply/plyfile.cpp, src/osgPlugins/ply/typedefs.h, - src/osgPlugins/ply/vertexData.cpp, - src/osgPlugins/ply/vertexData.h: From Santosh Gaikwad, ply - plugin, based on Equalizer and other LGPL compatible sources. - - "Attached is the osg-plugin for reading ply ( Stanford Triangle - Format ) file. I have written the plugin according to OSG - standard and have also added cmake build system. The plugin is - working fine on both Linux and Windows and should behave - similarly on other OS as well." - - "I developed this plugin while working on a project based on - Equalizer. So VertexData which I am using is taken from equalizer - and modified to make them work as separate OSG plugin. - Before contributing this plugin to OSG community, I asked project - manager of Equalizer project Stefen regarding potential licensing - issues and this is what he has said - - "The kd-Tree (VertexBuffer*) is LGPL-licensed, and the base ply - loader (ply*) is BSD. As long as you leave the copyright notices - intact, there is no issue." - - so I think using these files in OSG should not be a problem. - - As far as author of ReaderWriterPLY.cpp is concerned I am the - author. I am working for Darshan3d which is a subsidiary of - VizExperts thats why I have put VizExperts copyright." - -2009-04-09 16:40 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: - updated XCode project to reflect current trunk - -2009-04-09 16:31 robert - - * src/osgPlugins/3dc/ReaderWriter3DC.cpp: From Martin Beckett, "I - have fixed up the 3DC reader to handle any field separator so it - can read x,y,z files and added ability to write a 3DC file." - - From Robert Osfield, refactor of the above code to retain a bit - more of the original funcionality, and to avoid the need to hand - maintained XCode projects from being updated. - -2009-04-09 15:56 robert - - * CMakeModules/OsgCPack.cmake: From Mattias Helsing, "" - * Use the CPack ZIP generator on windows (WIN32) - * Reformatted according to Philip Lowman's recent submissions" - -2009-04-09 15:55 robert - - * src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp: Updated wrappers - -2009-04-09 15:34 robert - - * src/osgViewer/PixelBufferCarbon.cpp: From Stephan Huber, - "attached you'll find a small fix for PixelBufferCarbon - preventing it to - be compiled for 64bit. This is the easiest solution for the old - deprecated xcode project." - -2009-04-09 15:33 robert - - * src/osgViewer/PixelBufferCarbon.cpp: Converted tabs to four - spaces - -2009-04-09 14:41 robert - - * src/osgUtil/RenderStage.cpp: From Paul Martz, typo fix - -2009-04-09 14:38 robert - - * src/osg/ShapeDrawable.cpp: From Jean-Sebastien Guay, "When - creating a cylinder without a bottom or a top (in the traits, - createBottom=false and createTop=false), the cylinder could still - be picked by picking its (non-existent) bottom or top. This is - because the PrimitiveShapeFunctor does not consider the traits - when returning the cylinder's geometry for the picking test, and - always returns geometry for the whole cylinder, with bottom, top - and body. - - I have attached a fixed file where the traits are checked in the - PrimitiveShapeFunctor where appropriate. They are checked for - Box, Cone Capsule and Cylinder. These just mirror the checks that - were already done in the DrawShapeVisitor. - - (another instance where if the ShapeDrawable had just been - osg::Geometry, there wouldn't have been a problem... :-) ) - - I also fixed a small typo in the file in two places - ("implementated" --> "implemented")." - -2009-04-09 14:31 robert - - * include/osgGA/TrackballManipulator, - src/osgGA/TrackballManipulator.cpp: From Cory Riddell, "I added - an _allowThrow bool and get / set accessors to - TrackballManipulator. The purpose of this is to disable throwing - when - you release the mouse button while moving the mouse. The default - settings is true (ie, allow throw). The two source files are - attached. - " - -2009-04-09 14:25 robert - - * examples/osgdepthpartition/DistanceAccumulator.cpp, - examples/osgdepthpartition/osgdepthpartition.cpp: From Ravi - Mathur, "OK I have been away for a looong time, but still - occasionally watching from a distance, and saw the bug people - have reported about the DepthPartitionNode not handling scaled - models properly. - - I believe this is now fixed ... I have attached the new - DistanceAccumulator.cpp, along with a modified example file that - uses a PositionAttitudeTransform to draw the Earth's orbit around - the Sun." - -2009-04-09 14:00 robert - - * include/osgDB/Registry, src/osgDB/CMakeLists.txt, - src/osgDB/MimeTypes.cpp, src/osgDB/Registry.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h: From Glenn Waldron, "Here - is a first cut at the mime-type support we discussed a little - while ago - (http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg23098.html) - - Background: when you access a file over HTTP, you cannot rely on - a file extension being present; instead the file's mime-type is - conveyed in the HTTP Content-Type response header. This facility - adds a mime-type-to-extension map to the registry to handle this. - - There are two new osgDB::Registry functions which are pretty - self-explanatory: - - void addMimeTypeExtensionMapping( mime-type, extension ) - ReaderWriter* getReaderWriterForMimeType( mime-type ) - - I also added the file osgDB/MimeTypes.cpp which houses a - hard-coded list of built-in types. I took the list from here - (http://www.webmaster-toolkit.com/mime-types.shtml) and then - pared it down to include mostly image and video types, editing - them to map to existing plugins where possible. - - In addition, I updated the CURL plugin to a) install a set of - built-in mime-type mappings, and b) use them to look up an - extension in the event that the target filename does not have an - extension. - - Here is a test case. This URL pulls down a JPEG (without a file - extension): - osgviewer --image - "http://us.maps3.yimg.com/aerial.maps.yimg.com/ximg?v=1.8&s=256&t=a&r=1&x=0&y=0&z=2" - " - -2009-04-09 09:25 robert - - * CMakeLists.txt: From Jean-Sebastien Guay, "As I discussed in the - thread "Windows 7 beta: "The binary is not a valid Windows - image."" on osg-users, I needed to add the /DYNAMICBASE linker - option for executables to link properly in release mode on - Windows 7 beta. - - http://article.gmane.org/gmane.comp.graphics.openscenegraph.user/42400 - - Since this is a workaround for a bug in a beta OS (which may or - may not be fixed, since it's mentioned in their release notes so - they may just leave it as it is) I've marked the option as - advanced, default to OFF, and clearly documented it as being - useful for Windows 7 only. I'd like to be able to test for - Windows 7 directly instead of the blanket IF(WIN32), but I can't - figure out if this is possible in CMake. - - Here's the modified CMakeLists.txt. It's a small change, with low - impact, but will be useful to others who test out this OS and - when it comes out. Note that I'm not familiar with this option in - general, and didn't get any feedback to my questions in the - above-mentioned thread, one of which was: Could we just add this - option to all builds? What is the impact? That's still unclear to - me, but without it OSG executables don't build, and the article I - linked didn't seem to present any ill effects to enabling the - option." - -2009-04-09 09:23 robert - - * CMakeModules/CheckAtomicOps.cmake, - CMakeModules/ModuleInstall.cmake, CMakeModules/OsgCPack.cmake, - CMakeModules/OsgDetermineCompiler.cmake, - CMakeModules/UtilityMacros.cmake, - CMakeModules/cmake_uninstall.cmake.in, - src/osgPlugins/3dc/CMakeLists.txt, - src/osgPlugins/3ds/CMakeLists.txt, - src/osgPlugins/OpenFlight/CMakeLists.txt, - src/osgPlugins/ac/CMakeLists.txt, - src/osgPlugins/bmp/CMakeLists.txt, - src/osgPlugins/bvh/CMakeLists.txt, - src/osgPlugins/curl/CMakeLists.txt, - src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/dds/CMakeLists.txt, - src/osgPlugins/dicom/CMakeLists.txt, - src/osgPlugins/dot/CMakeLists.txt, - src/osgPlugins/dw/CMakeLists.txt, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/gecko/CMakeLists.txt, - src/osgPlugins/geo/CMakeLists.txt, - src/osgPlugins/gif/CMakeLists.txt, - src/osgPlugins/glsl/CMakeLists.txt, - src/osgPlugins/gz/CMakeLists.txt, - src/osgPlugins/hdr/CMakeLists.txt, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/jp2/CMakeLists.txt, - src/osgPlugins/jpeg/CMakeLists.txt, - src/osgPlugins/logo/CMakeLists.txt, - src/osgPlugins/lws/CMakeLists.txt, - src/osgPlugins/md2/CMakeLists.txt, - src/osgPlugins/net/CMakeLists.txt, - src/osgPlugins/obj/CMakeLists.txt, - src/osgPlugins/osg/CMakeLists.txt, - src/osgPlugins/osgFX/CMakeLists.txt, - src/osgPlugins/osgParticle/CMakeLists.txt, - src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgText/CMakeLists.txt, - src/osgPlugins/osgWidget/CMakeLists.txt, - src/osgPlugins/osga/CMakeLists.txt, - src/osgPlugins/osgtgz/CMakeLists.txt, - src/osgPlugins/pfb/CMakeLists.txt, - src/osgPlugins/pic/CMakeLists.txt, - src/osgPlugins/png/CMakeLists.txt, - src/osgPlugins/quicktime/CMakeLists.txt, - src/osgPlugins/rgb/CMakeLists.txt, - src/osgPlugins/rot/CMakeLists.txt, - src/osgPlugins/scale/CMakeLists.txt, - src/osgPlugins/shp/CMakeLists.txt, - src/osgPlugins/stl/CMakeLists.txt, - src/osgPlugins/svg/CMakeLists.txt, - src/osgPlugins/tga/CMakeLists.txt, - src/osgPlugins/tgz/CMakeLists.txt, - src/osgPlugins/trans/CMakeLists.txt, - src/osgPlugins/txp/CMakeLists.txt, - src/osgPlugins/vnc/CMakeLists.txt, - src/osgPlugins/vrml/CMakeLists.txt, - src/osgPlugins/vtf/CMakeLists.txt, - src/osgPlugins/x/CMakeLists.txt, - src/osgPlugins/xine/CMakeLists.txt, - src/osgPlugins/zip/CMakeLists.txt: From Philip Lowman, clean up - of CMake files - -2009-04-08 14:16 robert - - * src/osgViewer/CompositeViewer.cpp: From Eric Sokolowsky, " - The osgViewer::CompositeViewer had partial support for Producer - Camera - config files, but it was not working completely. Here is the - completed - implementation. File: src/osgViewer/CompositeViewer.cpp. - " - -2009-04-08 14:08 robert - - * examples/osgviewerMFC/MFC_OSG.cpp: From Cory Riddell, fix for - aspect ratio - -2009-04-08 14:06 robert - - * include/osgDB/Registry, src/osgDB/Registry.cpp: From James - Killian, "refactored the management of the object cache - enabling/disabling" - -2009-04-08 13:40 robert - - * src/osgViewer/CMakeLists.txt: From Eric - Sokolowsky,"libosgViewerd.so was not being built properly because - it was being - linked with system libraries using LINK_INTERNAL instead of - LINK_EXTERNAL. This caused it to try to link with libXrandrd - instead of - libXrandr, which failed. Attached is the fixed CMakeLists.txt." - -2009-04-08 13:21 robert - - * src/osgPlugins/dxf/ReaderWriterDXF.cpp, - src/osgPlugins/dxf/dxfEntity.cpp, src/osgPlugins/dxf/dxfEntity.h: - From Mike Connell, "Here are some small fixes that allow you to - specify the allowable deviation when creating polylines from arcs - and circles in DXF files. Changes are against 2.8.0 - - It adds two options: - - Accuracy(x) - ensures the polyline will be within x units from - the ideal arc/curve - ImproveAccuracyOnly - do not use the given accuracy 'x', if it - would result in a worse curve than with the previous (2.8.0) - implementation for a particular arc/curve. - - As an added bonus there was a small bug in the existing - implementation whereby the primitives were line strips but the - vertices generated were actually suitable for GL_LINES, so the - improved accuracy doesn't even have to come at a performance cost - :-)" - -2009-04-08 13:16 robert - - * src/osgViewer/CompositeViewer.cpp: From Eric Sokolowky, - ""Running" was spelled "Ruinning", which is hardly the same." - -2009-04-08 13:11 robert - - * src/osgDB/CMakeLists.txt, src/osgDB/FileUtils.cpp: From Marc - Sciabica, made searching of the install path for plugins option, - and added the dll path to the search path under Windows - -2009-04-08 13:03 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp: Reduced the default live - video feed size to accomodate reading from the Minoru stereo - wecam. - -2009-04-08 12:32 robert - - * src/osg/Program.cpp, src/osg/StateSet.cpp: From Simon Carmody, - "Patches for compare and copy of Programs and related state - -Added copying of shaders and attributes in osg::Program copy - constructor. - -Changed StateSet::compare function to compare Uniforms and their - override values. Previously it compared a RefUniformPair." - -2009-04-08 10:48 robert - - * src/osgUtil/Optimizer.cpp: From Glenn Waldron, "Attached is a - patch for osgUtil::Optimizer. If you run the - SpatializeGroupsVisitor on a scene graph containing Geodes, - StateSets attached to Geodes can be lost. - - The problem is in SpatializeGroupsVisitor::divide(osg::Geode*, - unsigned int) where the code creates a new Group and divides up - the input Geode into one Geode per Drawable. - - I fixed the problem by assigning the Geode's stateset to the new - parent group. - - To replicate the bug, see attached osg/dds files: - - osgviewer b.osg -- model renders correctly - set OSG_OPTIMIZER="SPATIALIZE_GROUPS" - osgviewer b.osg -- textures are missing." +Tue, 12 Feb 2013 15:18:06 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fixed bug in setting _numMessagesPerEvent and added more debug information -2009-04-08 10:44 robert +Thu, 7 Feb 2013 19:16:07 +0000 +Checked in by : Robert OSFIELD +From Mike Connell, "3 smaller fixes for the 3DS loader (against trunk)1. Respect "noMatrixTransforms" option for matrices attached to meshes, not only those attached to nodes - * src/osgPlugins/x/ReaderWriterDirectX.cpp, - src/osgPlugins/x/directx.cpp: From Aric Aumann, added options for - controlling the swap of the left/right handed coordinate system +2. traverse_nodes variable did the exact opposite of it's description. -2009-04-08 10:32 robert +3. Always try to load referenced textures, even if we can't find the files (in order to the the registry's ReadFileCallback have a stab at it) +" - * examples/osgviewerQT/AdapterWidget.cpp: From Martin Beckett, - added mouse wheel support -2009-04-07 10:13 robert - * src/osg/Drawable.cpp: Added better handling of use of VBO's in - compileGLObjects() +Thu, 7 Feb 2013 11:10:24 +0000 +Checked in by : Robert OSFIELD +From Lukasz Izdebski , "I added write and read numInstances in PrimitiveSet." -2009-04-07 10:12 robert - - * src/osgWrappers/osgAnimation/EaseMotion.cpp: Updated wrappers - -2009-04-07 08:43 shuber - - * Xcode/OSX_OSG_README.rtf, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/config/osg/Config, Xcode/OpenThreads, - Xcode/Xcode_OSG_Instructions.rtf: From Stephan Huber: - removed OpenThreads-folder (as OpenThreads is part of - OpenSceneGraph now), updated the Readmes regarding 64bit - compilation and updated the XCode-project to match the current - svn-trunk. - -2009-04-07 08:40 cedricpinson - - * include/osgAnimation/EaseMotion: From Serge Lages, Elastic added - to EaseMotion - -2009-04-06 12:28 robert +Thu, 7 Feb 2013 11:08:34 +0000 +Checked in by : Robert OSFIELD +Updated SO version in prep for serialization foramt change - * src/osgTerrain/GeometryTechnique.cpp: Added disabling of - mipmapping for non power of two textures +Thu, 7 Feb 2013 08:46:44 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS list -2009-04-06 11:22 robert +Wed, 6 Feb 2013 16:04:13 +0000 +Checked in by : Robert OSFIELD +From Wee See, Support for importing OpenFlight Surface Material Codes using osg::Object::UserValue. Notes from Wee See:See attached my ported code, which fulfills: - * src/osgTerrain/GeometryTechnique.cpp: Added check against null - colour layer to prevent a crash when a null colour layer is - assigned +- using of setUserValue()/getUserValue() +- user-value will be attached to Geode or Drawable +- actually 3 values will be added: SMC (surface), FID (feature) and IRC (IRcolor). Its UserValue-names are < UA:SMC >, < UA:FID > and < UA:IRC > (without spaces!) +- user-value will be attached to Geode or Drawable +- has an option (named preserveNonOsgAttrsAsUserData) for control whether the UserValues should be attached (Default: no UserValues will be attached) -2009-04-03 10:47 robert +Reading out this values is very simple. Here is an example (uservalue-name without spaces!): - * src/osgTerrain/GeometryTechnique.cpp: Displayed display lists to - prevent frame drops when compiling large geometry tiles +signed short smc; +if (myGeode.getUserValue("< UA:SMC >", smc)) +{ + doSomethingWithTheGeodeAndItsSmc(myGeode, smc); +} +else +{ + // geode has no SMC +} -2009-04-03 09:54 robert - * examples/osgdrawinstanced/osgdrawinstanced.cpp: Tweaks to shader - to fix warnings on with ATI drivers -2009-04-02 08:44 robert - * src/osg/DisplaySettings.cpp: Added OSG_MULTI_SAMPLES env var for - setting the default DisplaySettings NumMultiSamples value +Wed, 6 Feb 2013 14:50:37 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, "This line,I use the "useVertexAttributeAliasing" mode in my application, and color arrays are not normalized, so shaders get [0.0-255.0] values instead of [0.0-1.0] values. This patch fix this."and those below, will be ignored +---- -2009-03-30 09:55 robert +M include/osg/State - * examples/osgstereoimage/osgstereoimage.cpp: Added shader to - convert images into greyscale when rendering in anaglyphic -2009-03-26 17:24 robert - * examples/CMakeLists.txt, examples/osgtexturecompression, - examples/osgtexturecompression/CMakeLists.txt, - examples/osgtexturecompression/osgtexturecompression.cpp: Added - osgtexturecompression example to demonstate the quality - difference between - different compression techniques. - -2009-03-25 11:17 robert +Wed, 6 Feb 2013 14:49:48 +0000 +Checked in by : Robert OSFIELD +Added TODO note about RGB -> RGBA - * include/osg/PrimitiveSet, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp: Added new virtual - reseveElements, setElement, getElment and addElement methods to - DrawElements - to make is easier to write code that can work on - DrawElementUByte, UShort or UInt. - - Changed the osgTerrain::GeometryTechnique so that it - automatically chooses - the use of DrawElementUShort or DrawElementsUInt accordining to - the size of the tile. +Wed, 6 Feb 2013 12:46:03 +0000 +Checked in by : Robert OSFIELD +From David Longest, "I have updated the FFmpeg plugin to support the 1.0 release version of FFmpeg. The files attached were modified in order to facilitate the update. Below are the details for all changes made.Header update -2009-03-24 23:25 robert +FindFFmpeg.cmake has been changed in order to support the new header include format for FFmpeg. In the 1.0 release, a new file had been added with the name “time.h†in the avutil library. The previous method of adding includes caused conflicts with the ANSI C “time.h†file. Now the include directive will only use the main include folder. All files using the old include format have been updated to reflect the change. - * src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Added support for - adding .ffmpeg to filenames to force selection of ffmpeg plugin -2009-03-24 23:17 robert - * examples/osgstereoimage/osgstereoimage.cpp: Added support for - image streams +Added __STDC_CONSTANT_MACROS define to CMakeLists.txt -2009-03-24 11:08 robert +Since there is no guarantee that FFmpegHeaders.hpp will be included before stdint.h is included, the define has been moved from FFmpegHeaders.hpp to be part of the CMakeLists.txt for the FFmpeg plugin. This will allow the define to work on all compilers regardless of include order. - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From Ulrich - Hertlein, "I got the following type error from gcc 4.0.1 on OS X - 10.5.6: - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: - In member function \u2018int - osgFFmpeg::FFmpegDecoderVideo::convert(AVPicture*, int, - AVPicture*, int, int, int)\u2019: - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp:245: - error: invalid conversion from \u2018int\u2019 to - \u2018PixelFormat\u2019 - /Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp:245: - error: initializing argument 3 of \u2018SwsContext* - sws_getContext(int, int, PixelFormat, int, int, PixelFormat, int, - SwsFilter*, SwsFilter*, double*)\u2019 - - It expects 'src_pix_fmt' and 'dst_pix_fmt' to be of type - 'PixelFormat' rather than int. The attached cast fixes this (for - me). - - I've also added Matroska video to the list of supported - extensions" -2009-03-23 20:47 robert - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS.txt for 2.9.2 dev release +Replaced AVFormatParameters with AVDictionary -2009-03-23 20:44 robert +AVFormatParameters is no longer supported in FFmpeg and has been replaced with a key/value map of strings for each setting. FFmpegParameters and FFmpegDecoder has been updated to reflect this. - * ChangeLog: Updated ChangeLog for 2.9.2 dev release -2009-03-23 20:25 robert - - * src/osgPlugins/x/ReaderWriterDirectX.cpp: From Aric Aumann, fixed - handling of null texture coordinates - -2009-03-23 17:08 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/PolygonStipple.cpp, - src/osgPlugins/ive/PolygonStipple.h, - src/osgPlugins/ive/ReadWrite.h: From Luc Frauciel, You'll find - attached a modification in ive plugin for POLYGONSTIPPLE - read/write. - -2009-03-23 16:45 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp: From Wang Rui, - "Attached is a very small fix for the ffmpeg plugin, to build it - without compiling errors on MSVC. The ffmpeg win32 pre-built - tarball is downloaded at http://ffmpeg.arrozcru.org/builds/. - Tested on Windows XP SP3 and Visual Studio 9, but don't know if - it still workable for Unix and Mac users. :) - - Please look at the .diff files for details. I have already - enjoyed the latest Chinese *big* movie "Red Cliff" with the fixed - ffmpeg plugin and osgmovie. :D" - -2009-03-23 16:31 robert - - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp: From Csaba - Halasz, "I have modified FltExportVisitor to use _MSC_VER instead - of _WIN32 in - the condition around a #pragma warning that is specific to visual - studio as _WIN32 is also defined for mingw compile but the - #pragma is - not applicable there." - -2009-03-23 16:28 robert - - * src/OpenThreads/win32/Win32ConditionPrivateData.h: From Csaba - Halasz, "IIRC the C++ standard says members will be initialized - in declaration - order, and not in the order they are listed in the constructor. - To - avoid possible trouble, gcc warns about this. Attached - modification - fixes the initializer order to silence this warning." - -2009-03-23 16:25 robert - - * src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeReader.h: From Michael Platings, "Changed - some pointers to ref_ptr which fixed the leak - " - -2009-03-23 16:21 robert - - * src/OpenThreads/win32/Win32Thread.cpp, - src/OpenThreads/win32/Win32ThreadBarrier.cpp: From Csaba Halasz, - "I have removed some unnecessary semicolons that mingw build - warns about." - -2009-03-23 16:15 robert - - * src/osgDB/Registry.cpp: From Eric Sokolowsky, "The attached - Registry.cpp fixes OSG under OSX when a library suffix string is - used, as is selected by default with cmake. - " - -2009-03-23 16:13 robert - - * src/osgPlugins/dae/CMakeLists.txt: From Michale Platings, "Minor - change to include ReaderWriterDAE.h" - -2009-03-23 16:11 robert - - * CMakeModules/FindCOLLADA.cmake: From Michael Platings, "I've - changed this file so CMake automatically chooses the correct - directories & libs out of vc8,vc9,mac,mingw - Tested with Visual Studio 9 2008" - -2009-03-23 16:07 robert - - * examples/osganimationmorph/osganimationmorph.cpp: From Roland - Smeenk, "Here's a small simplification of the osganimationmorph - example. Only one morphtarget needs to be added to the - MorphGeometry since it already has a base geometry. The animation - will morph between the base geometry and the first target. - - " - -2009-03-23 16:05 robert - - * applications/CMakeLists.txt, - applications/osgarchive/CMakeLists.txt, - applications/osgconv/CMakeLists.txt, - applications/osgfilecache/CMakeLists.txt, - applications/osgviewer/CMakeLists.txt: From Philip Lowman, - "Mainly removing comments like "This file is automatically - generated" (glad that never happened!)" - -2009-03-23 16:01 robert - - * src/CMakeLists.txt, src/OpenThreads/CMakeLists.txt, - src/OpenThreads/pthreads/CMakeLists.txt, - src/OpenThreads/sproc/CMakeLists.txt, - src/OpenThreads/win32/CMakeLists.txt, src/osg/CMakeLists.txt, - src/osgAnimation/CMakeLists.txt, src/osgDB/CMakeLists.txt, - src/osgFX/CMakeLists.txt, src/osgGA/CMakeLists.txt, - src/osgIntrospection/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgShadow/CMakeLists.txt, src/osgSim/CMakeLists.txt, - src/osgTerrain/CMakeLists.txt, src/osgText/CMakeLists.txt, - src/osgUtil/CMakeLists.txt, src/osgViewer/CMakeLists.txt, - src/osgVolume/CMakeLists.txt, src/osgWidget/CMakeLists.txt, - src/osgWrappers/CMakeLists.txt: From Philip Lowman, "Here's the - promised cleanup of the OSG's CMakeLists.txt files for the src/ - folder. I'll submit the others separately. - - Also, there was also a small bug in osgDB's CMakeLists.txt that - was causing an error when I tested with CMake 2.4.4. - - IF(${OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX} STREQUAL "quicktime") - was changed to - IF(OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX STREQUAL "quicktime") - " -2009-03-23 15:48 robert +Replaced av_open_input_file with avformat_open_input - * CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/ffmpeg/CMakeLists.txt: From David Callu, clean up - of FindFFmpeg include paths +FFmpeg now opens files using avformat_open_input. Since the av_open_input_file method is deprecated, the FFmpegDecoder class has been updated to reflect this change. -2009-03-23 15:47 robert - * include/osgDB/DatabasePager: From Csaba Halasz, "here is another - division by zero fix, this should be simpler ;) - It caused problem if the stats display was popped up before the - pager - had anything to do." -2009-03-23 15:38 robert +Added custom AVIOContext field to options - * include/osgUtil/PrintVisitor: Cleaned up interface +Since some formats and inputs may not be supported by FFmpeg, I have added a new parameter that allows a user to allocate their own AVIOContext. This class will allow for creating a read, seek, and write callback if they desire. -2009-03-23 15:38 robert - * src/osgWrappers/genwrapper.conf: Updated wrapper conf to avoid - generating wrappers for PrintVisitor -2009-03-23 15:21 robert +Checking for start_time validity - * CMakeLists.txt, include/osg/Version: Bumped version numbers in - prep for 2.7.2 dev release +It is possible for some file formats to not provide a start_time to FFmpeg. This would cause stuttering in the video since the clocks class would be incorrect. -2009-03-23 15:10 robert - * src/osgWrappers/osgUtil/ShaderGen.cpp: Added ShaderGen wrapper -2009-03-23 15:04 robert +Removed findVideoStream and findAudioStream - * src/osgWrappers/osgUtil/PrintVisitor.cpp: Removed PrintVisitor as - it was causing problems with wrapper building. +The new FFmpeg release already has a function that will find the best audio and video stream. The code has been replaced with this function. -2009-03-23 13:51 robert - * src/osg/Notify.cpp: From Eric Sokolowsky, "osgviewer (and all - other OSG-based utilities) fails to provide help for the - OSG_NOTIFY_LEVEL environment variable. This submission fixes that - problem." -2009-03-23 11:53 robert +Updated error reporting - * examples/CMakeLists.txt, examples/osgshadergen, - examples/osgshadergen/CMakeLists.txt, - examples/osgshadergen/osgshadergen.cpp, - include/osgUtil/ShaderGen, src/osgUtil/CMakeLists.txt, - src/osgUtil/ShaderGen.cpp: From Maciej Krol, "As promised to - Roland I assembled simple shader generator. ShaderGenVisitor - converts accumulated fixed function pipeline state sets to ones - with shader programs. Generated state sets are attached to - geometries and stored in ShaderGenCache for reuse. - - Very simple cases of state configuration are supported (all the - ones I really need): - - single per pixel not attenuated non spot light source ON/OFF - - exp2 fog ON/OFF - - diffuse texture in rgb + optional specular gloss in alpha - (Texture unit 0) ON/OFF - - normal map texture (Texture unit 1 and Tangent in - VertexAttribArray 6) ON/OFF - - blending and alpha testing (not in shader pipeline) - - To view fixed function pipeline files and paged databases simply - run >osgshadergen myfile.osg" +Some functions would not log an error when opening a file or modifying a file failed. New logs have been added as well as a function to convert error numbers to their string descriptions. -2009-03-19 11:36 robert - * src/osgWrappers/osgUtil/PrintVisitor.cpp: UPdated wrappers -2009-03-19 11:11 robert - - * include/osgUtil/PrintVisitor, src/osgUtil/CMakeLists.txt, - src/osgUtil/CullVisitor.cpp, src/osgUtil/PrintVisitor.cpp: - Inroduced simple PrintVisitor class for helping debug scene graph - structures - -2009-03-19 10:56 robert - - * src/osgPlugins/freetype/CMakeLists.txt: Fixed spacing - -2009-03-19 10:55 robert +decode_video has been replaced - * src/osgPlugins/ive/ReaderWriterIVE.cpp: Added compressed to list - of supported options +The old decode_video function would remove extra data that some decoders use in order to properly decode a packet. Now av_codec_decode_video2 has replaced that function. -2009-03-19 10:55 robert - * src/osgPlugins/ive/TerrainTile.cpp: Added debug message - (commented out for now.) -2009-03-19 10:27 robert +Picture format changed from RGBA32 to RGB24 - * src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgTerrain/Terrain.cpp: Added osgTerrain::Terrain - support to the .osg format +Since most video will not contain an alpha channel, using a 24 bit texture will use less memory." -2009-03-14 15:40 robert - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: From Adrian Egli, - build fix for Win32 FFmpeg -2009-03-13 15:56 robert - - * src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QTUtils.cpp, - src/osgPlugins/quicktime/QTUtils.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Stephan Huber, - clean up of Quicktime plugin - -2009-03-13 13:25 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Update - AUTHORS file - -2009-03-13 11:56 robert - - * ChangeLog: Updated ChangeLog - -2009-03-13 11:06 robert - - * examples/osganimationmorph/osganimationmorph.cpp, - examples/osgmovie/osgmovie.cpp: Warning fixes - -2009-03-13 11:01 robert - - * src/osgParticle/FluidProgram.cpp: Fixed for division by zero - issue. - -2009-03-13 10:40 robert - - * src/osgPlugins/glsl/ReaderWriterGLSL.cpp: From Bryan Thrall, "The - attached ReaderWriterGLSL.cpp conveniently sets the shader type - when - the filename extension is "vert" or "frag" but still lets this be - overridden by the Options (for those crazy people who store their - fragment shaders in .vert files :) )." - -2009-03-12 17:54 robert - - * src/osgDB/CMakeLists.txt: From Frank Midgley, "I tried running - osgconv --formats yesterday on OS X and got no results. Turns out - the changes discussed in the "osgDB::listAllAvailablePlugins - win32 fix" thread back in Sep '08 broke this. The - OSG_PLUGIN_EXTENSION macro is being defined in - src/osgDB/CMakeLists.txt from CMAKE_SHARED_LIBRARY_SUFFIX which - is "dylib" on OS X. The problem is that all of the plug-ins are - setup in OsgMacroUtils.cmake with: - - ADD_LIBRARY(${TARGET_TARGETNAME} MODULE ${TARGET_SRC} - ${TARGET_H}) - - which gives them .so extensions. Since ".so" != ".dylib" - osgDB::listAllAvailablePlugins finds no plug-ins. I believe the - correct solution is to use CMAKE_SHARED_MODULE_SUFFIX instead. - This builds and runs correctly on OS X but I have not tested on - other platforms. - - Attached is an updated src/osgDB/CMakeLists.txt based on rev - 9915. The change is at line 108. To validate: build and then run - bin/osgconv --formats. You should get many screenfuls of plug-in - features, extensions and options." - -2009-03-12 17:47 robert - - * src/osgUtil/Optimizer.cpp: From Konstantin Sinitsyn, "At this - moment, I just introducing to OSG. When I reviewing optimizer - code, I find a mistake in - Optimizer::RemoveLoadedProxyNodesVisitor, as it seems. This - optimizer removes proxy nodes that fully loaded and in some cases - attach their childs to parrents directly (without creating of - group). I dont understand how this works, because if proxy node - doesn't have any attributes such as name, description, node mask - and any callbacks, then new group does not created to hold proxy - node childs. And code below trying to attach their children to - all parents but seems like only first child beeing attached to - all parents correctly. - - " - -2009-03-12 17:26 robert - - * src/osg/GraphicsThread.cpp: Introduced a releaseAllOperation - after completeion of OperationThread::run() to enable CUDA - integration (in osgCuda) to be able to free up its resources. - Code drawn from a submission from Mick. - -2009-03-12 17:12 robert - - * src/osgWrappers/Doxyfile.template, - src/osgWrappers/osg/AudioStream.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageStream.cpp, - src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osgDB/PluginQuery.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/osgManipulator/Selection.cpp, - src/osgWrappers/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/osgText/Font3D.cpp, - src/osgWrappers/osgText/Text3D.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers - -2009-03-12 15:21 robert - - * examples/osgterrain/osgterrain.cpp, - include/osgUtil/GLObjectsVisitor, - include/osgUtil/IncrementalCompileOperation, - include/osgViewer/ViewerBase, src/osgUtil/CMakeLists.txt, - src/osgUtil/GLObjectsVisitor.cpp, - src/osgUtil/IncrementalCompileOperation.cpp, - src/osgUtil/RenderBin.cpp: Moved IncrementalCompileOperation out - of include-src/osgUtil/GLObjectVisitor into their own files. - - Added support to IncrementCompileOperation for controlling how - much time is alloted to compilation and flush - -2009-03-12 15:18 robert - - * include/osg/GraphicsContext, src/osg/GraphicsContext.cpp: Added - support for tracking the time since the last clear() call to - enable other - classes to be able to find out how long the current graphics - frame has been running. - -2009-03-12 10:12 robert - - * include/OpenThreads/ReentrantMutex: From Michael Platings, "I've - been looking at the discussion from 2006 ("[osg-users] - osgDB/Reentrant Mutex not threadsafe ?") about this, and having - looked closely at OpenThreads::ReentrantMutex it's still not - thread safe in the following situation: - - In my example case, there are 2 threads - one is a worker thread - created by OpenThreads::Thread. The other thread is the main - thread i.e. the thread that is intrinsically created when you - execute the application. The crucial problem is that for the main - thread, OpenThreads::Thread::CurrentThread() will return null. - - I'll demonstrate this by breaking ReentrantMutex::lock() into - sub-statements: - - 1.) if - (_threadHoldingMutex==OpenThreads::Thread::CurrentThread()) - - 2.) if (_lockCount>0){ - - 3.) - OpenThreads::ScopedLock - lock(_lockCountMutex); - ++_lockCount; - return 0; - - 4.) - int result = Mutex::lock(); - if (result==0) - { - OpenThreads::ScopedLock - lock(_lockCountMutex); - - 5.) - _threadHoldingMutex = OpenThreads::Thread::CurrentThread(); - _lockCount = 1; - return result; - - - An error will occur in the following case: - 1) The worker thread calls lock(), it gets to the start of - statement 5. - 2) The main thread calls lock(). Statement 1 is evaluated as true - as _threadHoldingMutex is null, and - OpenThreads::Thread::CurrentThread() returns null. - 3) The worker thread executes statement 5. - 4) The main thread executes statement 2 and evaluates it as true, - because the worker thread has set _lockCount to 1. The main - thread executes statement 3, and now can access the mutexed-data - at the same time as the worker thread! - - The simple solution to this is to always protect access to - _lockCount and _threadHoldingMutex using _lockCountMutex. I have - done this in the file I am submitting." - -2009-03-11 18:13 robert - - * examples/osgmovie/osgmovie.cpp: Changed audio playing so that it - only happens for a single movie to avoid - problems with audio stalling. - -2009-03-11 17:57 robert - - * examples/osgmovie/osgmovie.cpp, include/osg/Image: Added docs on - getPixelAspectRatio and corrected usage of getPixelAspection in - osgmovie.cpp - -2009-03-11 17:39 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp: changed debug info - to output to INFO instaed of NOTICE. - -2009-03-11 15:43 robert - - * examples/osgmovie/osgmovie.cpp: Added handling of - Image::isImageTranslucent(), when it is enabling blending. - Added handling of Image::getPixelAspectRatio() in geometry - sizing. - Added scaling of the projection matrix to ensure that aspect - ratio is honoured with running in fullscreen mode - -2009-03-11 15:12 robert - - * include/osg/AudioStream, include/osg/Image, - include/osg/ImageStream, src/osg/Image.cpp, - src/osgPlugins/ffmpeg/FFmpegAudioStream.cpp, - src/osgPlugins/ffmpeg/FFmpegAudioStream.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp: From Tanguy Fautre, - - Clean up of the FFmpeg plugin's class API/AudioStream API. - Implementation of isImageTransparent(). - Implementation of Image:g/setPixelAspectRatio() - -2009-03-11 14:18 robert - - * include/osgViewer/View, src/osgViewer/View.cpp: Added - View::removeEventHandler(..) method and added check into - addEventHandler() to prevent handlers being added twice. - -2009-03-11 14:08 robert - - * CMakeLists.txt: From Philip Lowman, "At a cost of bumping the - required version to CMake 2.4.4 (released all the way back on - November 21, 2006)... this cmake script patch - - 1. Makes IF/ELSE/ENDIF code blocks easier to read by replacing - code like this: - - IF(FOO) - MESSAGE("FOO is true") - ELSE(FOO) - MESSAGE(" ??? ELSE(FOO)??? ") - ENDIF(FOO) - - with this: - - IF(FOO) - MESSAGE("FOO is true") - ELSE() - MESSAGE("FOO is clearly false") - ENDIF() - - 2. Also adds an ELSEIF() where it makes sense to do so (safe to - use as of CMake 2.4.4)" - -2009-03-11 13:27 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp: From Neil Hughes, "I've - spent the past four days playing with PNG files on 3DS objects, - and I think I may have come across a small issue with the 3DS - loader. - - At the company where I work we model literally thousands of 3DS - models for all types of objects. Most don't have transparent - textures applied to them, but a few do. The issue is that a - texture may have an alpha channel defined, yet its 3DS material - definition is not marked as being an alpha source, or - transparent. This can happen for any number of modelling reasons - (so I'm told) but the net effect is that when a 3DS object is - loaded with such a material applied, the stateset creation for - the 3DS geometry omits to add the GL_BLEND attribute as neither - of the conditions that it currently tests for are satisfied under - this scenario. - - However, one thing that is apparently an indication of - transparency/alpha information that we do make use of when - modelling, but that the 3DS reader omits to test, is that we - assign to the transparent texture to the opacity_map of the 3DS - material structure. - - Now, having discussed with our modellers the theory behind the - opacity map, it seems that it is safe to say that if an opacity - map is specified, then the reader should really apply the - GL_BLEND attribute as it is an indication of some form of - blending being required between materials. - - With this in mind, I have made a minor change to the function - createStateSet below, from the ReaderWriter3DS.cpp file, that - checks for an opacity map having been specified, and in such a - scenario the GL_BLEND attribute is applied to the geometry. This - fixed our issue, and thought it might be helpful to others." - -2009-03-11 13:08 robert - - * include/osg/Texture: From Mathias Froehlich, "small addition to - osg::Texture to include all possible depth test variants for - the shadow depth comparison." - -2009-03-11 12:55 robert - - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - include/osgViewer/api/Carbon/PixelBufferCarbon: From Stephan - Huber, files were are missed by Robert in check in of changes to - GraphicsWindowCarbon.cpp - -2009-03-11 12:08 robert - - * src/osgUtil/Optimizer.cpp: From Lionel Lagarde, "the attachment - contains a correction of the Optimizer::MergeGeometryVisitor. - When 2 geometries are merged, the primitive sets of the second - geometry - are copied to the first geometry. - - The primitive sets were copied with a std::insert into the first - geometry - primitive set vector. It doesn't work when the geometry is using - VBOs (because - the element buffer object of the primitive set is not updated). - - The correction replaces - - lhs.getPrimitiveSetList().insert( - lhs.getPrimitiveSetList().end(), - rhs.getPrimitiveSetList().begin(), - rhs.getPrimitiveSetList().end() ); - - by - for( primItr=rhs.getPrimitiveSetList().begin(); - primItr!=rhs.getPrimitiveSetList().end(); - ++primItr ) - { - lhs.addPrimitiveSet(primItr->get()); - }" - -2009-03-11 11:58 robert - - * src/osg/Geometry.cpp: Fixed crash due to - Geometry::copyToAndOptimize(..) not handling cases where indices - are present, but no arrays are assocaited with them. - -2009-03-11 11:29 robert - - * include/osgManipulator/Dragger, - include/osgManipulator/RotateCylinderDragger, - include/osgManipulator/RotateSphereDragger, - include/osgManipulator/Scale1DDragger, - include/osgManipulator/Scale2DDragger, - include/osgManipulator/ScaleAxisDragger, - include/osgManipulator/Selection, - include/osgManipulator/TabBoxDragger, - include/osgManipulator/TabPlaneDragger, - include/osgManipulator/TabPlaneTrackballDragger, - include/osgManipulator/TrackballDragger, - include/osgManipulator/Translate1DDragger, - include/osgManipulator/Translate2DDragger, - include/osgManipulator/TranslateAxisDragger, - include/osgManipulator/TranslatePlaneDragger: From David Callu, - "osgManipulator Object have not META_Object macro call in class - definition. - > I add META_OSGMANIPULATOR_Object macro which define className, - libraryName, - > isSameKindAs methods. - > Clone method is not appropriate for osgManipulator Object." - -2009-03-11 11:00 robert - - * src/osg/Drawable.cpp, src/osg/Node.cpp: From Lionel Lagarde, "The - copy constructor of the nodes and the drawables do : - - Node::Node(Node &node, copyop) : - _stateSet(copyop(node.getStateSet()), - - It doesn't call the setStateSet method of osg::Node (or - osg::Drawable). So the parent - list of the state set is not updated with the new node - (drawable)." - -2009-03-11 10:50 robert - - * include/osgGA/TrackballManipulator, - src/osgGA/TrackballManipulator.cpp: From Martin Beckett, added - get/setScrollWheelZoomDelta() support for controlling the mouse - scroll wheel zoom delta. - -2009-03-11 10:34 robert - - * src/osgViewer/DarwinUtils.h, src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCocoa.mm: Converted tabs to four - spaces - -2009-03-11 10:34 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, - "refactored the code and moved - some stuff out into DarwinUtils.h/.mm so both implementations can - share - some of the code. There's even a bugfix for GraphicsWindowCarbon, - which - fixes some issues with multiple windows on different screens." - -2009-03-10 17:51 robert - - * src/osg/Referenced.cpp: From Mathias Froehlich, "an other topic - pointed out by some Microsoft verification tool: - On destruction of some static variables, the global referenced - mutex is used - to lock access to the parent lists of state attributes, nodes and - so on. - This even happens past the mutex is already destroyed. - - This change to Referenced.cpp revision 9851 uses the same - technique like the - DeleteHandlerPointer already in Referenced.cpp to return an zero - pointer for - the global referenced lock if it is already destroyed." - -2009-03-10 17:47 robert - - * src/osgViewer/View.cpp: From Konstantin Matveyev, submitted by - Valery Bickov: - - "There is error in WoW shader, you can see it by this simple - example: - osgviewer cessna.osg --wowvx-42 --clear-color 0,0,0 - - Clear color may be choosed any with at least one component equals - to 0 - or 1. In my case I see weird blinking between normal image and - image - with depth map at right side on the screen." - -2009-03-10 17:39 robert - - * src/osgGA/TrackballManipulator.cpp: From Martin Beckett, - "Modified osgGA::TrackballManipulator so that - osgGA::GUIEventAdapter::SCROLL performs a zoom. - Arbitrarily zooms 10% in/out for each click." - - Note from Robert Osfield, flipped the orienation of the zoom to - make the right mouse key zoom and the scroll wheel work in the - same direction. - -2009-03-10 17:27 robert - - * include/osgDB/ReaderWriter, src/osgDB/ReaderWriter.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/gecko/ReaderWriterUBrowser.cpp, - src/osgPlugins/gecko/UBrowser.cpp, - src/osgPlugins/ogr/ReaderWriterOGR.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgWidget/Browser.cpp: Completed support for automatic - detection of plugin features. - - Cleaned up debug out of various plugins to ensure a clean osgconv - --formats. - -2009-03-10 17:13 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: quitened down debug - info - -2009-03-10 16:52 robert - - * include/osg/Image: Made bool isImageTranslucent() const virtual - to allow subclasses to provide their own implementation - -2009-03-10 15:00 robert - - * include/osgDB/PluginQuery, include/osgDB/ReaderWriter, - src/osgDB/PluginQuery.cpp, src/osgDB/ReaderWriter.cpp: From Ralf - Habacker, "The appended patch fixes this issue by adding a - virtual method named supportedFeatures() to the class - ReaderWriter, which could be overriden by a specific plugin to - adjust the set of features. - Single features are implemented as bits asother enums in - ReaderWriter class already does, so that combinations are - possible and fast comparison operations are possible - - By default all features are enabled. - - I have added this virtual method to the dot plugin to get an idea - how to use these features. - - With this patch osgconv --formats shows an additional line - 'features' for each plugin" - -2009-03-10 14:15 robert - - * include/osg/Geometry, include/osgUtil/Optimizer, - include/osgUtil/Statistics, src/osgUtil/Optimizer.cpp, - src/osgUtil/Statistics.cpp, src/osgViewer/ViewerBase.cpp: From - Roland Smeenk, "While working on the Collada plugin I noticed - that all geometry created by the dae reader result in slow path - geometry. - Because there already exists the option to convert slow path - geometry to the fast path by computing an internal fast path - alternative, I added a new optimizer option that automatically - does this. To check the results I also made some changes to the - statistics gathering and rendering. - - Somewhat unrelated, but also part of the optimizer I disabled - removal of CameraView nodes during RemoveRedundantNodes - optimization. - As discussed on the ML, CameraViews were removed from the - scenegraph. This solves that issue. - - Summary: - -Geometry::areFastPathsUsed now also looks at - internalOptimizedGeometry - -Added Optimize option to make all slow path geometry compute - their internal fast path alternative - -Added fast geometry counter to the statistics - -Disabled removel of CameraViews in optimizer - " - -2009-03-10 13:46 robert - - * src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Added copyright + - fixed typo - -2009-03-10 12:21 robert - - * include/osgDB/FileNameUtils, include/osgDB/Registry, - src/osgDB/FileNameUtils.cpp, src/osgDB/ReaderWriter.cpp, - src/osgDB/Registry.cpp: From Stephan Huber, - "Attached you'll find a proposal for using different - protocols. The idea behind the new code is: - - 1.) plugins/apps register protocols which they can handle. This - is done - via osgDB::Registry::registerProtocol(aProtocolName). Plugins - register - supported protocols as usual via - ReaderWriter::supportsProtocol(..), the - Registry is updated accordingly. - - 2.) osgDB::containsServerAddress checks first for an appearance - of "://" - in the filename and then checks the protocol against the set of - registered protocols via - Registry::isProtocolRegistered(aProtocollName) - - 3.) the other getServer*-functions changed as well, there's even - a - getServerProtocol-function - - - With these changes filenames/Urls get routed to loaded plugins - even with - different protocols than 'http'." - -2009-03-10 11:14 robert - - * include/osg/GLU, include/osg/Math: From Martin Spott, compile - fixes for IBM AIX. - -2009-03-10 10:56 robert - - * include/osgText/Font3D, include/osgText/Text3D, - src/osgDB/Registry.cpp, - src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp, - src/osgText/Font3D.cpp, src/osgText/Text3D.cpp: From David Callu, - "Problem: - osgText::Text and osgText::Text3D use the same font file. - The first really load the file and obtain an osgText::Font - object, - the second use the cache created during the first load of the - font file, and so obtain an osgText::Font object instead of - osgText::Font3D object. To obtain an osgText::Font3D object, - osgText::Text3D call osgDB::readObjectFile(...) with an option - to specify the plugin we want an osgText::Font3D instead of - osgText::Font. - - Generalised Problem: - In osgDB::Registry, loaded file cache is referenced by the name - of this file, so if I load a file with some options, and the - cache - already contain object for this filename, I obtain an object - potentially not loaded with my options. - - Behaviours: - Cache management is delegate to osgDB::Registry, but cache - coherence (load a file with option then reuse it, deactivate the - cache when load a specific file or don't cached the loaded file) - is user's responsibility. - - Text3D solution: - Postfix the font file name by .text3d or something similar and - then have the freetype plugin return - osgText::Font3D when it detects this. - This operation is done by osgText::readFont3DFile() which unsure - the filename have .text3d as extension. - This is totaly transparent for user, and backward compatible. - - - BTW, I fix the bug about the Normal of 3D text. Currently, the - front and wall face have - the same normal (0,0,1) in the Text3D object coordinate. Now the - wall face have its own - normal array computed by the plugin. - - BTW 2, I implement - - void Text3D::accept(osg::Drawable::ConstAttributeFunctor& af) - const - - void Text3D::accept(osg::PrimitiveFunctor& pf) const - so now statistics are well reported. - " - -2009-03-10 10:30 robert - - * src/osgDB/CMakeLists.txt, src/osgDB/Registry.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/imageio, - src/osgPlugins/imageio/CMakeLists.txt, - src/osgPlugins/imageio/ReaderWriterImageIO.cpp: From Eric Wing - and Stephan Huber, ImageIO code originally wrote by Eric Wing, - and then later conveted into an OSG plugin by Stephan Huber. - -2009-03-10 10:13 robert - - * include/osgViewer/api/Cocoa, - include/osgViewer/api/Cocoa/GraphicsWindowCocoa, - include/osgViewer/api/Cocoa/PixelBufferCocoa, - src/osgViewer/CMakeLists.txt, src/osgViewer/DarwinUtils.h, - src/osgViewer/DarwinUtils.mm, - src/osgViewer/GraphicsWindowCocoa.mm, - src/osgViewer/PixelBufferCocoa.mm: From Stephan Huber, support - for Cocoa windowing under OSX. - -2009-03-09 23:11 robert - - * include/osgAnimation/Timeline, src/osgWrappers/CMakeLists.txt, - src/osgWrappers/genwrapper.conf, - src/osgWrappers/osgAnimation/Animation.cpp, - src/osgWrappers/osgAnimation/Channel.cpp, - src/osgWrappers/osgAnimation/CubicBezier.cpp, - src/osgWrappers/osgAnimation/Interpolator.cpp, - src/osgWrappers/osgAnimation/Keyframe.cpp, - src/osgWrappers/osgAnimation/MorphGeometry.cpp, - src/osgWrappers/osgAnimation/Target.cpp, - src/osgWrappers/osgAnimation/Timeline.cpp: Fixed osgWrappers for - osgAnimation library - -2009-03-09 17:38 robert - - * examples/CMakeLists.txt, examples/osganimationmorph, - examples/osganimationmorph/CMakeLists.txt, - examples/osganimationmorph/osganimationmorph.cpp, - include/osgAnimation/Animation, include/osgAnimation/CubicBezier, - include/osgAnimation/Keyframe, include/osgAnimation/LinkVisitor, - include/osgAnimation/MorphGeometry, - include/osgAnimation/Skeleton, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/BasicAnimationManager.cpp, - src/osgAnimation/Bone.cpp, src/osgAnimation/CMakeLists.txt, - src/osgAnimation/MorphGeometry.cpp, - src/osgAnimation/Skeleton.cpp, - src/osgPlugins/osgAnimation/ReaderWriter.cpp: From Roland Smeenk - & Cedric Pinson, - - "Summary of changes: - From Roland - -Added MorphGeometry - -Bone Bindmatrix is only calculated if needed - -osgAnimation plugin now supports all available channel types - (before only linear vec3 or quat channels) - -osgAnimation plugin now supports MorphGeometry - -osgAnimation plugin now supports animation and channel weights, - animation playmode, duration and starttime - -removed osgAnimationManager.cpp from CMakeList - - From Cedric - -fixed the last_update field (it was only updated at the first - update) in BasicAnimationManager.cpp - - Refactore some part of MorphGeometry minor changes - - Add osganimationmorph as example - " - -2009-03-09 16:53 robert - - * include/osgUtil/GLObjectsVisitor, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp: Tweaked API to get - wrappers to build - -2009-03-09 16:17 robert - - * src/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers - -2009-03-09 14:56 robert - - * include/osgUtil/GLObjectsVisitor, - src/osgUtil/GLObjectsVisitor.cpp: Further work on - IncrementalCompileOperation - -2009-03-08 16:48 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp: Fixed thread exit - problems +Wed, 6 Feb 2013 12:02:05 +0000 +Checked in by : Robert OSFIELD +Simplified include/osg/Math to use Standard C++ maths headers - and -2009-03-08 12:00 robert +Wed, 6 Feb 2013 11:16:29 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * examples/osgterrain/osgterrain.cpp, - include/osgUtil/GLObjectsVisitor, include/osgViewer/ViewerBase, - src/osg/GraphicsContext.cpp, src/osgUtil/GLObjectsVisitor.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgViewer/ViewerBase.cpp: Preliminary work on general purpose - incremental compile support in osgViewer. +Wed, 6 Feb 2013 09:20:10 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fixed for Windows 64bit build -2009-03-05 15:31 robert +Tue, 5 Feb 2013 18:22:46 +0000 +Checked in by : Robert OSFIELD +Added .get()'s to fix compilation when ref_ptr<> type conversion is disabled - * CMakeLists.txt, include/osg/Version, - src/osgWrappers/osg/AudioStream.cpp, - src/osgWrappers/osg/ImageStream.cpp: Updated wrappers and dev - release version numbers +Mon, 4 Feb 2013 16:25:52 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog -2009-03-05 14:33 robert +Mon, 4 Feb 2013 14:42:44 +0000 +Checked in by : Robert OSFIELD +Updated version number after 3.1.4 developer release - * CMakeModules/FindFFmpeg.cmake: Cleaned up FindFFmpeg.cmake +Mon, 4 Feb 2013 13:28:45 +0000 +Checked in by : Robert OSFIELD +From Jordi Torres, "The info about cdash reports was outdated. Now it points to the right URL. BTW I have checked it out and the cdash server is working ok again. " -2009-03-05 10:57 robert +Mon, 4 Feb 2013 13:28:05 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Added quick proof - of concept for live video streaming under linux +Mon, 4 Feb 2013 13:27:46 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2009-03-04 16:35 robert +Mon, 4 Feb 2013 13:11:13 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * CMakeModules/FindFFmpeg.cmake: Added search for headers in ffmpeg - directory +Mon, 4 Feb 2013 12:50:51 +0000 +Checked in by : Robert OSFIELD +Fixed warning and converted tabs to four spaces -2009-03-04 16:16 robert +Mon, 4 Feb 2013 12:38:08 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * CMakeModules/FindFFmpeg.cmake: From Jean-Sebastien Guay, added - non pkg-config based ffmpeg search scheme. +Mon, 4 Feb 2013 12:01:26 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2009-03-04 16:15 robert +Thu, 31 Jan 2013 16:26:06 +0000 +Checked in by : Robert OSFIELD +Standardized use of GL_HALF_FLOAT_NV and GL_HALF_FLOAT_ARB to GL_HALF_FLOAT - * include/osg/Referenced: Fixed indentation +Thu, 31 Jan 2013 11:09:03 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, introduction of message id scheme were osc messages are sent with an unique id, and can be dispatched multiple times to workaround network packet losses. -2009-03-04 16:03 robert +Wed, 30 Jan 2013 11:31:27 +0000 +Checked in by : Robert OSFIELD +Added handling of movies into Timeout - * src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp: Removed boost - reference and cleaned up debug output +Wed, 30 Jan 2013 10:49:18 +0000 +Checked in by : Robert OSFIELD +Added disabling of the traversal of the Timeout in update when the timout is not displayed and disabled traversal by the SlideEventHandler. -2009-03-04 14:49 robert +Wed, 30 Jan 2013 10:40:26 +0000 +Checked in by : Robert OSFIELD +Fixed the erronous header so that it is OSGPL like the rest of the osgAnimation. - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp: Introduced double - buffering of video stream to avoid tearing of image. - - Removed swapBufers call and image y inversion. +Wed, 30 Jan 2013 10:21:45 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "As I have not all referenced image-data, SlideShowConstructor crashed on my end. Attached is a fix for that crash." -2009-03-04 13:24 robert +Mon, 28 Jan 2013 14:56:52 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I've fixed the bug of writing/reading scenes including the ImageSequence serializer. Current trunk version will fail when handing image sequences because it forces to set className to "osg::Image" in InputStream.cpp. I have to read a value saved in file instead so I must add a hardhanded version checking for backward compatibility.Now we can work with ImageSequence objects, in both osgt and osgb files." - * src/osgDB/ReadFile.cpp: Added handling of ImageStream Origin to - make sure the movie always appears the correct way up. -2009-03-04 11:59 robert - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: Fixes to non - swscale code path +Mon, 28 Jan 2013 14:30:21 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "I have implemented and tested (on windows only) your suggestion for resetCullingMask(), it's far less intrusive than my previous submission. attached are the changes to current svn (28 Jan 2013 / rev :13312). " -2009-03-04 11:46 robert +Fri, 25 Jan 2013 16:54:30 +0000 +Checked in by : Robert OSFIELD +From Thomas Hogarth, "Attached are two minor modifications to the master CMakeLists.txt file.It now points to sdk version 6.0 (I do intend to make this configurable my command line) - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp: Fixed img_convert - usage +It also added a search for libtiff to Apple builds mainly for use with osg earth." -2009-03-04 11:06 robert - * src/osgPlugins/CMakeLists.txt: Removed reference to OpenAL plugin -2009-03-04 11:05 robert +Fri, 25 Jan 2013 11:54:03 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "In the attached files I've added the Compute Shader support for OSG, as well as serializer updates and a new osgcomputeshaders example. My submission also include a setComputeGroups() function in Program for setting compute-shader work groups, and a bindToImageUnit() function in Texture for binding textures as image variables in shaders.All code are tested on Windows 7 + NVIDIA GFX 570 with the latest GeForce 310.70 Driver (BETA), which could support OpenGL 4.3. - * CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Added support for - using libswscale +Compute shader information can be found at "http://www.opengl.org/registry/specs/ARB/compute_shader.txt" +" -2009-03-03 20:59 robert - * examples/osgmovie/osgmovie.cpp: Added SDL audio path -2009-03-03 20:49 robert - * src/osgPlugins/ffmpeg/FFmpegAudioStream.cpp: Improved the clean - up ordering +Fri, 25 Jan 2013 11:08:32 +0000 +Checked in by : Robert OSFIELD +From Lukasz Izdebski, "Adding this GL mode makes possibly to use this GL Modes (added in core OpenGL 3.2) in Windows." -2009-03-03 17:37 robert +Fri, 25 Jan 2013 10:36:42 +0000 +Checked in by : Robert OSFIELD +Fixed compile warning - * examples/osgmovie/CMakeLists.txt, examples/osgmovie/osgmovie.cpp: - Added SDL audio support for reading from ffmpeg movies +Fri, 25 Jan 2013 10:24:11 +0000 +Checked in by : Robert OSFIELD +Added debug message for Timout -2009-03-03 17:28 shuber +Thu, 24 Jan 2013 18:48:34 +0000 +Checked in by : Robert OSFIELD +Fixed usage of META_NodeVisitor so it doesn't include "" - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated xcode project, added AudioStream to - project +Wed, 23 Jan 2013 17:38:28 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "when you restart threading with startThreading/stopThreading the _drawQueue and _availableQueue are not reset properly. This can lead to a deadlock when threading is started again. So before threading is started again the queues must be reset. This deadlock is also reported earlier by someone else in here: http://forum.openscenegraph.org/viewtopic.php?p=43415#43415" -2009-03-03 16:51 robert +Wed, 23 Jan 2013 17:37:26 +0000 +Checked in by : Robert OSFIELD +From Pjotr Svetachov, "small bug which I have found in the FlattenStaticTransformsDuplicatingSharedSubgraphsVisitor: the visitor will replace part of the tree when visiting the nodes but it does not update the current node path to reflect this. If you then have multiple nested transform nodes it will usually crash and sometimes it won't crash but the resulting mesh will miss some nodes." - * CMakeLists.txt, examples/osgmovie/CMakeLists.txt, - examples/osgmovie/osgmovie.cpp, include/osg/AudioStream, - src/osg/AudioStream.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegAudioStream.cpp, - src/osgPlugins/ffmpeg/FFmpegAudioStream.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp: Introduce - FFmpegAudioStream implementation +Wed, 23 Jan 2013 16:27:22 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "I have extended the dds loader by some newer DX10 texture formats. Especially the float texture formats. I need a few of these formats somewhere but have extended everything that I found plausible and was easy to find a GL texture type/format for. For some float32 type of texture the files the implementation seem to work fine. The rest lacks testing. The writer side is not implemented." -2009-03-03 14:59 robert +Wed, 23 Jan 2013 16:22:45 +0000 +Checked in by : Robert OSFIELD +From Wang Rui with edits from Robert Osfield, additional GLenums for cross platform build - * src/osgPlugins/ffmpeg/FFmpegImageStream.hpp: Removed redudent - export +Wed, 23 Jan 2013 15:54:20 +0000 +Checked in by : Robert OSFIELD +From Lionel Lagarde, fixed typo bug -2009-03-03 11:52 robert +Wed, 23 Jan 2013 11:50:45 +0000 +Checked in by : Robert OSFIELD +Removed redundent code block - * src/osgPlugins/ffmpeg/CMakeLists.txt: Added LINK_DIRECTORIES +Wed, 23 Jan 2013 11:45:31 +0000 +Checked in by : Robert OSFIELD +From Lukasz Izdebski, "I found problem with rgb plugin. Internal format of rgb image is wrongly set ( diffrent then in other images type plugin ), because of that using rgb images in osg::Texture2DArray causes a bug." -2009-03-03 11:25 robert +Wed, 23 Jan 2013 11:20:00 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "Attached is a patch that includes the stereo cameras in Renderer::*etCameraRequiresSetUp.I am not sure if the getter needs to be changed, but this is currently +included for consistency." - * src/osgPlugins/ffmpeg/CMakeLists.txt: Fixed include list -2009-03-03 10:53 robert - * CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp: From Ulrich - Hertlein, build fixes for OSX. - -2009-03-03 09:50 robert - - * src/osgPlugins/ffmpeg/CMakeLists.txt: Added ffmpeg to include - search paths +Tue, 22 Jan 2013 16:53:50 +0000 +Checked in by : Robert OSFIELD +From Alessandro Terenzi, "I've modified the avfoundation plugin to copy the preferredTransform matrix into the UserData property of the corresponding imagestream: by doing so, we can realize if the video should be transformed when applied as a texture (this should be the case, for instance, when we record a movie using an iOS device with any orientation different than 'landscape left')." -2009-03-03 09:49 robert +Tue, 22 Jan 2013 16:13:59 +0000 +Checked in by : Robert OSFIELD +Added and functionality to .p3d functionality. - * src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: Added ogg to - accepted formats - -2009-03-02 16:01 robert - - * src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp: Added extern for - img_convert to get round disappeance of the declaration from - headers. - -2009-03-02 10:49 robert - - * src/OpenThreads/win32/Win32Thread.cpp, - src/OpenThreads/win32/Win32ThreadPrivateData.h: From Mathias - Froehlich, "An other one: - The TLS Varialbe is accessed before it is initialized. - Attached is a change to rev 9791." - -2009-03-02 09:56 robert - - * examples/osgcluster/broadcaster.cpp: From Petr Salinger, fix for - build under GNU/kFreeBSD. - -2009-02-27 20:16 robert - - * include/osg/AudioStream, include/osg/ImageStream, - src/osg/AudioStream.cpp, src/osg/CMakeLists.txt, - src/osg/ImageStream.cpp, - src/osgPlugins/ffmpeg/AudioSinkInterface.hpp, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp, - src/osgPlugins/ffmpeg/FFmpegSampleFormat.hpp: Introduced - osg::AudioStream class to help manage audio streams coming in - from movie reading plugins - -2009-02-27 17:00 robert - - * src/osgPlugins/ffmpeg/AudioSinkInterface.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp: Ported across from - using boost pointers, and prepped for integration of audio - interface into core OSG - -2009-02-27 11:11 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Roland Smeenk, - "Attached is a small bug fix for the redundant messages that are - created in OSG applications on windows. - GraphicsWindowWin32::setCursor is called every frame from the - WM_NCHITTEST message. This will result in a call to - ::SetCursor(_currentCursor) every frame, which again causes a - WM_MOUSEMOVE to occur. The fix exits - GraphicsWindowWin32::setCursor if the requested cursor already is - the current cursor. - - " - -2009-02-27 10:47 robert - - * src/osgUtil/RenderStage.cpp: From Atr Tevs, - - first email: - "in the current implementation of - osgUtil::RenderStage::drawInner() method, there is some wrong - assumptions made. The problem is, that whenever one does use - multisampling functionality, the Blit operation (which suppose to - copy the content of multisampled FBO into the usual one) doesn't - perform well in some cases. - - I've attached a corrected version of the RenderStage. It do just - add one line, which enables the multisampled FBO as a readable - just before the usual FBO is set as writable. With these - corrections the Blit operation performs now correct and allows - using of multisampled rendering results further." - - second email: - "There was a problem when blitting the multisampled FBO with - internal formats. The default internal format of color buffered - multisample FBO was GL_RGBA. This has converted the color values - whenever the FBO content was copied. I've added couple of lines, - which do just enable the multisampled FBO internal format in - respect to the attached color texture's internal format. This - makes it possible to blit even float valued texture, so make HDR - with multisampling possible ;)" - -2009-02-26 22:09 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From Mattias - Helsing, "I added FORCE to set cmake vars - FREETYPE_INCLUDE_DIR_ft2build and - FREETYPE_INCLUDE_DIR_freetype2. - The error case was that during first cmake run (unspecified - ACTUAL_3RDPARTY_DIR) FindFreeType set these to xxx-NOTFOUND. - After - specifying ACTUAL_3RDPARTY_DIR, Find3rdPartyDependencies warn't - able - to change these (without FORCE). - - I also added freetype237 to the library search list since it is - what's - in my binary dependencies for vc90" - -2009-02-26 10:48 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: Addded setting of - FREETYPE_INCLUDE_DIRS to Find3rdPartyDependencies.cmake - -2009-02-25 20:52 robert - - * src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp: Tweaks to handle - more modern version of ffmpeg compiled form source. - -2009-02-25 16:05 robert - - * CMakeLists.txt, CMakeModules/FindFFmpeg.cmake, - src/osgPlugins/CMakeLists.txt: Added Cmake support for new ffmpeg - plugin - -2009-02-25 16:04 robert - - * src/osgPlugins/ffmpeg, - src/osgPlugins/ffmpeg/AudioSinkInterface.hpp, - src/osgPlugins/ffmpeg/BoundedMessageQueue.hpp, - src/osgPlugins/ffmpeg/CMakeLists.txt, - src/osgPlugins/ffmpeg/FFmpegClocks.cpp, - src/osgPlugins/ffmpeg/FFmpegClocks.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoder.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp, - src/osgPlugins/ffmpeg/FFmpegDecoderVideo.hpp, - src/osgPlugins/ffmpeg/FFmpegHeaders.hpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.cpp, - src/osgPlugins/ffmpeg/FFmpegImageStream.hpp, - src/osgPlugins/ffmpeg/FFmpegPacket.hpp, - src/osgPlugins/ffmpeg/FFmpegSampleFormat.hpp, - src/osgPlugins/ffmpeg/MessageQueue.hpp, - src/osgPlugins/ffmpeg/ReaderWriterFFmpeg.cpp: From Tanguy Fautre - (Aris Technologies), ffmpeg plugin - -2009-02-23 10:50 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - version info for 2.9.0 release - -2009-02-23 10:41 robert - - * ChangeLog: Updated ChangeLog for 2.9.0 dev release - -2009-02-23 09:54 robert - - * src/osgPlugins/ogr/ReaderWriterOGR.cpp: From Ralf Habacker & - Robert Osfield, fixed handling of file name string of the - form"PG:host=localhost user=postgres dbname=osm - tables=public.planet_osm_line". The patch also routes gdal debug - and error message to the related osg::notify debug port - this is - usefull for debugging ogr plugin. - -2009-02-20 16:27 robert - - * applications/osgarchive/osgarchive.cpp: From Mathieu Marache, "I - was trying to use the archive output of osgdem without success - when - I eventually found out that it was now disabled (the mailing list - archive tells me it is because of multithreaded write issues with - vpn). I then decided to use osgarchive to make it myself from the - generated output. However if one of the insert parameters is a - directory, it won't be able to find them. The attached versions - corrects this." - -2009-02-20 15:47 robert - - * applications/osgconv/osgconv.cpp: From Maciej Krol, "Small - improvement in --compressed option of osgconv. For non IVE output - files compressed images are written into directory of output file - as DDS. - " + "Further improvement for conversion to IVE format. Compressed - DDS files are written for IVE output when noTexturesInIVEFile - option is defined i.e. osgconv --compressed -O - noTexturesInIVEFile dir1/input.osg dir2/output.ive will write - images into dir2." - -2009-02-20 13:58 robert - - * CMakeModules/OsgMacroUtils.cmake: Added VisualStudio versioning - info to plugins - -2009-02-20 11:53 robert - - * examples/osganimationviewer/AnimtkViewer.cpp, - src/osg/DisplaySettings.cpp: From Bryan Thrall, "Attached files - fix typos, from svn 9791: - - DisplaySettings.cpp: OSG_COMPIlE_CONTEXTS -> OSG_COMPILE_CONTEXTS - AnimtkViewer.cpp: is a 3d poker game client -> is an example for - viewing - osgAnimation animations" - -2009-02-20 11:51 robert - - * src/osgPlugins/dxf/dxfEntity.cpp, src/osgPlugins/dxf/dxfEntity.h, - src/osgPlugins/dxf/scene.cpp, src/osgPlugins/dxf/scene.h: From - Martin Beckett, "I have added support for DXF POINTS to the dxf - reader plugin - It's really just a cut-paste job from the existing LINE support. - - The current dxf plugin architecture isn't very efficient, - especially if you - are loading large point clouds (LIDAR) - eg. it makes multiple lookups of the layer name for each vertex. - I don't know if I can improve this for the general case or if I - have to add a - special large point cloud dxf reader." - -2009-02-20 11:30 robert - - * src/osgPlugins/dxf/dxfEntity.cpp: From Himar Carmona, "When - reading a DXF file, the reader breaks at a debug assertion at - vector (it breaks on release version). Inspecting the code show - that the cause could be in dxfEntity.cpp. - - It seems that the problem is an offending "short" used in a for - loop, where it should be "int" or "long". It causes an index out - of range error. " - -2009-02-19 19:05 robert - - * src/osgUtil/RenderStage.cpp: From Bob Kuehne and Robert Osfield, - email from Bob : "this fix quashes fbo warnings when the fbo - status is 'complete', aka 'ok'. - ", which was then ammended by Robert replacing crytic value - 0x8CD5 with GL_FRAMEBUFFER_COMPLETE_EXT and added brackets to - make code clearer. - -2009-02-19 17:34 robert - - * src/osgPlugins/hdr/hdrloader.cpp: Fixed bug in checking if - numRead values. - -2009-02-19 16:58 robert - - * examples/osgforest/osgforest.cpp: From Christian Buchner, "I am - hereby amending the osgforest sample with some code (functionally - equivalent to the GLSL shaders sample) that displays the forest - with - shaders on Intel 945 GM hardware. This card supports OpenGL 1.4 - and - ARB_fragment/vertex_program only. - - I would be pleased if this change made it into the official set - of - examples, as it illustrates the use of ARB shaders quite nicely. - I did - not find any other example covering this topic." - -2009-02-19 16:29 robert - - * src/osg/State.cpp: From Tanguy Fautre, "This fixes the OSG - crashes reported by - http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2009-February/023499.html - - - - It\u2019s a one line change against OSG 2.8.0 (see line 196). - I\u2019ve already tested the change, and confirmed it\u2019s - fixing the crashes described above." - -2009-02-19 15:57 robert - - * src/osg/PrimitiveSet.cpp: From Ruben Smelik, "I've found a - (copy-paste?) error in PrimitiveSet.cpp regarding instanced - drawing. For DrawElementsUInt and DrawElementsUShort the type - argument of glDrawElementsInstanced was set as GL_BYTE instead of - GL_UNSIGNED_INT and GL_UNSIGNED_SHORT. I've attached the fixed - source file (based on the current SVN head version)." - -2009-02-19 15:15 robert - - * src/OpenThreads/CMakeLists.txt: From Mattias Helsing, "Here is a - fix for the "Unspecified" package. The openthreads pkgconfig - file is made part of libopenthreads-dev component. - - Attached is the modded cmakelists.txt for src/OpenThreads/ - " - -2009-02-19 14:24 robert - - * AUTHORS.txt, CMakeLists.txt, ChangeLog, NEWS.txt, README.txt, - examples/osgviewerQT/QOSGWidget.cpp, - examples/osgvolume/osgvolume.cpp, include/osgDB/fstream, - include/osgIntrospection/Export, include/osgWidget/Export, - src/osgVolume/Shaders/volume_iso_frag.cpp: Merged in various - changes from the OSG-2.8 to being svn/trunk up to date. - -2009-02-11 20:26 robert - - * applications/osgversion/osgversion.cpp: Fixed typo - -2009-02-11 20:02 robert - - * src/osgWrappers/OpenThreads/Thread.cpp, - src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BoundingBox.cpp, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/ClipPlane.cpp, - src/osgWrappers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/ColorMask.cpp, - src/osgWrappers/osg/ColorMatrix.cpp, - src/osgWrappers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CopyOp.cpp, src/osgWrappers/osg/CullFace.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/CullingSet.cpp, - src/osgWrappers/osg/Depth.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/FrontFace.cpp, - src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/Group.cpp, src/osgWrappers/osg/Hint.cpp, - src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageSequence.cpp, - src/osgWrappers/osg/ImageStream.cpp, - src/osgWrappers/osg/KdTree.cpp, src/osgWrappers/osg/LOD.cpp, - src/osgWrappers/osg/Light.cpp, - src/osgWrappers/osg/LightModel.cpp, - src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/LineWidth.cpp, - src/osgWrappers/osg/LogicOp.cpp, - src/osgWrappers/osg/Material.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeCallback.cpp, - src/osgWrappers/osg/OcclusionQueryNode.cpp, - src/osgWrappers/osg/PagedLOD.cpp, src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osg/Scissor.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/Shader.cpp, src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Stencil.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/Switch.cpp, src/osgWrappers/osg/TexEnv.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osg/TexEnvFilter.cpp, - src/osgWrappers/osg/TexGen.cpp, src/osgWrappers/osg/TexMat.cpp, - src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture2DArray.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/TransferFunction.cpp, - src/osgWrappers/osg/Uniform.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/View.cpp, src/osgWrappers/osg/Viewport.cpp, - src/osgWrappers/osgAnimation/Animation.cpp, - src/osgWrappers/osgAnimation/AnimationManager.cpp, - src/osgWrappers/osgAnimation/BasicAnimationManager.cpp, - src/osgWrappers/osgAnimation/Bone.cpp, - src/osgWrappers/osgAnimation/Channel.cpp, - src/osgWrappers/osgAnimation/CubicBezier.cpp, - src/osgWrappers/osgAnimation/EaseMotion.cpp, - src/osgWrappers/osgAnimation/Interpolator.cpp, - src/osgWrappers/osgAnimation/Keyframe.cpp, - src/osgWrappers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/osgAnimation/Skeleton.cpp, - src/osgWrappers/osgAnimation/Target.cpp, - src/osgWrappers/osgAnimation/Timeline.cpp, - src/osgWrappers/osgAnimation/TimelineAnimationManager.cpp, - src/osgWrappers/osgAnimation/UpdateCallback.cpp, - src/osgWrappers/osgAnimation/VertexInfluence.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/osgDB/DynamicLibrary.cpp, - src/osgWrappers/osgDB/FileUtils.cpp, - src/osgWrappers/osgDB/ImageOptions.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgFX/Registry.cpp, - src/osgWrappers/osgFX/Validator.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgParticle/AccelOperator.cpp, - src/osgWrappers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/osgParticle/ForceOperator.cpp, - src/osgWrappers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgParticle/RadialShooter.cpp, - src/osgWrappers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/osgShadow/DebugShadowMap.cpp, - src/osgWrappers/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgWrappers/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgWrappers/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgWrappers/osgShadow/MinimalShadowMap.cpp, - src/osgWrappers/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/osgShadow/ShadowTexture.cpp, - src/osgWrappers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/osgShadow/ShadowedScene.cpp, - src/osgWrappers/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/osgShadow/StandardShadowMap.cpp, - src/osgWrappers/osgShadow/ViewDependentShadowTechnique.cpp, - src/osgWrappers/osgSim/BlinkSequence.cpp, - src/osgWrappers/osgSim/DOFTransform.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgSim/LightPointSystem.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/ObjectRecordData.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/Sector.cpp, - src/osgWrappers/osgSim/ShapeAttribute.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgTerrain/Locator.cpp, - src/osgWrappers/osgTerrain/Terrain.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/osgTerrain/TerrainTile.cpp, - src/osgWrappers/osgText/FadeText.cpp, - src/osgWrappers/osgText/KerningType.cpp, - src/osgWrappers/osgText/String.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgText/Text3D.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/Tessellator.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp, - src/osgWrappers/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/osgVolume/Layer.cpp, - src/osgWrappers/osgVolume/Locator.cpp, - src/osgWrappers/osgVolume/Property.cpp, - src/osgWrappers/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/osgVolume/Volume.cpp, - src/osgWrappers/osgVolume/VolumeTechnique.cpp, - src/osgWrappers/osgVolume/VolumeTile.cpp, - src/osgWrappers/osgWidget/Browser.cpp, - src/osgWrappers/osgWidget/Frame.cpp, - src/osgWrappers/osgWidget/Label.cpp, - src/osgWrappers/osgWidget/StyleManager.cpp, - src/osgWrappers/osgWidget/ViewerEventHandlers.cpp, - src/osgWrappers/osgWidget/Widget.cpp, - src/osgWrappers/osgWidget/Window.cpp: Updated wrappers - -2009-02-11 19:55 robert - - * src/osgWrappers/Doxyfile.template, - src/osgWrappers/genwrapper.conf: Updated wrappers to works with - doxygen 1.5.8 output. - -2009-02-11 17:21 robert - - * CMakeLists.txt: Disabled the use of aggressive warnings under OSX - as the default. - -2009-02-11 17:14 robert - - * src/osgPlugins/quicktime/QTImportExport.cpp, - src/osgPlugins/quicktime/QTUtils.cpp, - src/osgPlugins/quicktime/QTUtils.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Riccardo Corsi, - "in attach you'll find a patch to cleanup a little bit the - (de)initialization code of QuickTime environment from the - quickTime pluging. - It basically removes the static init() and exit() functions,and - move them inside the observer class (the one that cleans - everything up when the last media is unloaded). - - It also add an extra check to clean up on exit if the QuickTime - env is initialized, but no media is succesfully loaded / written - (it might happens with streaming resources). - - I tested it under WinXP with zero, one and multiple videos. - - Stephan reads in copy: could you kindly check if everything runs - smooth under OSX as well? Also, have you got a chance to test it - with streaming media? - " - -2009-02-11 13:33 robert - - * doc/Doxyfiles/all_Doxyfile, doc/Doxyfiles/auto_Mainpage, - doc/Doxyfiles/core_Doxyfile, doc/Doxyfiles/doxyfile.cmake, - doc/Doxyfiles/openthreads.doxyfile.cmake, - src/osgWrappers/Doxyfile.template: From Sukender, changed doxygen - verbosity to quite - -2009-02-11 12:10 robert - - * src/OpenThreads/sproc/SprocThread.c++: Added brackets around - (unsigned int) to avoid IRIX compile error. - -2009-02-11 10:41 robert - - * include/osg/BoundingBox, include/osgAnimation/Vec3Packed, - include/osgTerrain/Terrain, - include/osgUtil/DrawElementTypeSimplifier, - include/osgWidget/Browser: Fixes for doxgen warnings - -2009-02-11 09:14 robert - - * CMakeModules/FindCOLLADA.cmake, - src/osgPlugins/dae/daeRMaterials.cpp: From Roland Smeenk, - "Attached are two small fixes: - -I changed the SET of COLLADA_BOOST_INCLUDE_DIR to use findpath, - so users may override this setting if they choose not to build - against to precompiled boost libraries delivered with the Collada - DOM. - - -Changed daeRMaterials.cpp to prevent a compiler warning about a - potentially uninitialized variable." - -2009-02-10 20:31 robert - - * CMakeLists.txt, src/osgPlugins/cfg/ConfigParser.cpp: Merged - warning fix from OSG-2.8 branch: - - svn merge -r 9755:9756 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 - -2009-02-10 20:09 robert - - * src/osgDB/DynamicLibrary.cpp: Changed notication level to INFO, - merged changed from OSG-2.8 branch using: - - svn merge -r 9751:9752 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 - -2009-02-10 19:25 robert - - * CMakeModules/FindCOLLADA.cmake, - src/osgPlugins/dae/CMakeLists.txt: From Roger James and Robert - Osfield, fixes and reorganization to better support Windows - dyanmic library build - -2009-02-10 18:56 robert - - * src/osgPlugins/osgParticle/IO_FluidProgram.cpp: From Pierre - Haritchabalet, "In IO_FluidProgram.cpp, - FluidProgram_readLocalData() function is wrong. When density - parameter is read, the function "setFluidViscosity()" is called - instead of "setFluidDensity()". - This patch fixes osg plug'in FluidProgram_readLocalData. " - -2009-02-10 18:51 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Layer, - include/osgVolume/VolumeTile, src/osgVolume/Layer.cpp, - src/osgVolume/VolumeTile.cpp, - src/osgWrappers/osgVolume/Layer.cpp: Merged fixes to osgVolume's - handling of ImageSequence animated volumes, merge command: - - svn merge -r 9746:9747 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 - -2009-02-10 14:01 robert - - * PlatformSpecifics/Windows/OpenSceneGraphVersionInfo.rc.in, - PlatformSpecifics/Windows/OpenThreadsVersionInfo.rc.in: From - Roger James, fixes for VS build handling of new VS versioning - support - -2009-02-10 13:37 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: From Jason Beverage, - "I've added a small change to the CURL plugin that allows support - for HTTP redirects." - -2009-02-10 13:25 robert - - * CMakeModules/FindZLIB.cmake: From Miguel Escriva,"OSG 2.8.0-rc4 - don't found zlib in Windows. - - Here you will find a patch. " +Tue, 22 Jan 2013 10:33:19 +0000 +Checked in by : Robert OSFIELD +Added extra check against whether node needs to be traversed in update and event traversals to prevent osgPresentation::Timeout being classified as a node that can be removed. -2009-02-10 11:44 robert +Fri, 18 Jan 2013 17:11:49 +0000 +Checked in by : Robert OSFIELD +Added Options support to ImageSequence LOAD_* functionality - * CMakeLists.txt, CMakeModules/FindCOLLADA.cmake, - src/osgPlugins/dae/CMakeLists.txt: From Roland Smeenk and Robert - Osfiled, tweaks to the Collada finding/linking to improve support - for Collada DOM 2.1 + 2.2 across platforms. +Fri, 18 Jan 2013 16:30:55 +0000 +Checked in by : Robert OSFIELD +Update SO_VERSION to reflect new API changes -2009-02-09 22:56 robert +Fri, 18 Jan 2013 16:21:17 +0000 +Checked in by : Robert OSFIELD +Added LOAD_AND_RETAIN_IN_UPDATE_TRAVERSAL and LOAD_AND_DISCARD_IN_UPDATE_TRAVERSAL ImageSequence::Mode's to allow for ImageSequence usage without using background paging threads, instead loading all the images on demand in the update traversal. - * examples/osganimationskinning/osganimationskinning.cpp, - include/osgAnimation/RigGeometry, include/osgAnimation/Timeline, - src/osgWrappers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/osgAnimation/Timeline.cpp: From Fabien - Lavignotte, "Here is some various small fixes i have done while - playing with - osgAnimation. - - Animation : removed the _name attribute that is never used. - - BasicAnimationManager : fix a crash on Windows with the example - osganimationviewer. The _lastUpdate attribute was not initialized - when - using copy constructor. - - CMakeLists.txt : add RigGeometry to the headers list" - -2009-02-09 22:33 robert - - * src/osgDB/DatabasePager.cpp: Fixed to - DatabasePager::getRequestsInProgress(), merged from: - - svn merge -r 9734:9735 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 - -2009-02-09 22:12 robert - - * src/osgWrappers/genwrapper.conf, - src/osgWrappers/osgParticle/ParticleSystem.cpp: Merged from - OSG-2.8 branch the suppression of the wrapping of the - ScopeLock - -2009-02-09 21:48 robert - - * src/osgPlugins/osg/ReaderWriterOSG.cpp: From Bryan Thrall, "The - .osg plugin doesn't seem to support an option to write shader - files - separately, so it always inlines them in the .osg file (as far as - I can - tell). This change adds that ability. " - -2009-02-09 21:42 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Ralf Habacker, fix to - memory leak in GraphicsWindowWin32.cpp. Merged from OSG-2.8 - branch using svn command: - - svn merge -r 9726:9727 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 - -2009-02-09 21:38 robert - - * include/osgParticle/ParticleSystem, - src/osgParticle/ConnectedParticleSystem.cpp, - src/osgParticle/ParticleProcessor.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp: Merged from - OSG-2.8 branch changes to the use of ReadWriteMutex to Mutex in - osgParticle::ParticleSystem. - - svn command: - - svn merge -r 9725:9726 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.8 - -2009-02-09 13:49 shuber - - * Xcode/OpenSceneGraph/config/OpenThreads/Config: From Stephan - Huber: fixed local Config file needed for xcode-project - -2009-02-09 11:15 robert - - * NEWS.txt: From Paul Melis, syncing improvements made to wiki - version of NEWS for 2.8 - -2009-02-09 11:13 robert - - * src/osgDB/Registry.cpp: Removed redundent #pragma - -2009-02-09 10:00 robert - - * src/osgWrappers/osgAnimation/Animation.cpp: Updated wrappers - -2009-02-09 09:41 robert - - * include/osgAnimation/Animation: From Cedric Pinson, removed - virtual inheritance from osgAnimation::Animation - -2009-02-08 19:30 robert - - * src/osgText/Text.cpp: Fixed handling of a series of \n in the - text string so that the correct line spacing is maintained. - -2009-02-08 15:56 robert - - * examples/osgcompositeviewer/osgcompositeviewer.cpp, - examples/osgfont/osgfont.cpp, examples/osgmovie/osgmovie.cpp, - examples/osgocclusionquery/osgocclusionquery.cpp, - src/osgDB/DynamicLibrary.cpp: From Paul Melis, "While trying out - the osgbrowser example (where I had forgotten to update - LD_LIBRARY_PATH so the XUL libs would be found) I noticed that - although - the gecko plugin was found it could not be loaded. But this did - not - trigger any visible warning/error message (at least not without - INFO - notify level). Would you mind if we change the notify level for a - dlerror() to WARNING? This will also make it more explicit for - the case - when a plugin isn't actually found, which seems to come up a lot - for - novice users (e.g. no freetype on win32, so no freetype plugin, - etc). - Also, the current error message is misleading ("Warning: Could - not FIND - plugin to ...") because the it's not always a case of not finding - the - plugin. I slightly enhanced the situation of not finding a plugin - versus - finding it but not being able to load it. - - Here's also a few fixes to some of the examples: - - osgfont: make usage help line more in line with the actual - behaviour - - osgcompositeviewer: complain when no model file was provided - - osgmovie: don't include quicktime-dependent feature on Linux - - osgocclussionquery: comment addition (as I was surprised that - lines - were being drawn in a function called createRandomTriangles())" - -2009-02-07 11:30 robert - - * src/osgUtil/Optimizer.cpp: Merged from OSG-2.8 branch, fix to - handle of StateSet attached to transforms being removed by the - FlattentStaticTransformVisitor - -2009-02-06 15:49 robert - - * CMakeLists.txt, include/osg/Version: Bumped version number of - svn/trunk to 2.9.0 - -2009-02-06 15:39 robert - - * include/osg/Export: Added a couple more pragma's to resolve final - Windows warnings - -2009-02-06 15:38 robert - - * CMakeModules/FindOurDCMTK.cmake, CMakeModules/FindXUL.cmake: From - Paul Melis & Robert Osfeild, improvements to find scripts to - better handle diffrent installation combinations - -2009-02-06 15:17 robert - - * examples/osg2cpp/osg2cpp.cpp, - examples/osganimationtimeline/osganimationtimeline.cpp, - examples/osganimationviewer/AnimtkViewerKeyHandler.cpp, - examples/osgcluster/broadcaster.cpp, - examples/osgcluster/osgcluster.cpp, - examples/osggeodemo/osggeodemo.cpp, - examples/osgmemorytest/osgmemorytest.cpp, - examples/osgmultitexture/osgmultitexture.cpp: From Gary Quinn, - spelling fixes - -2009-02-06 14:19 robert - - * src/OpenThreads/CMakeLists.txt: Fixed path to version resource - input file - -2009-02-06 14:13 robert - - * PlatformSpecifics/Windows/osgShell.bat: From Gary Quin + Robert - Osfield, clean up of old batch file - -2009-02-06 12:15 robert - - * src/osgPlugins/lwo/lwo2read.h: Fixed data copy bug - -2009-02-06 10:35 robert - - * src/osg/Image.cpp, src/osg/State.cpp, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgPlugins/osgVolume/ImageLayer.cpp, - src/osgUtil/RenderStage.cpp: From Alberto Luaces, "here are some - minor fixes to notify warnings were the std::hex modifier was - used but never restored to the decimal notation. That made OSG - print messages - like the following after some notifications: - - Warning: detected OpenGL error 'invalid value' after - RenderBin::draw(,) - RenderStage::drawInner(,) FBO status= 0x8cd5 - [...] - Scaling image 'brick_side.JPG' from (1b4,24f) to (200,200) <--- - Values in hex - because of previous error. - [...]" - -2009-02-06 08:46 robert - - * CMakeLists.txt, - PlatformSpecifics/Windows/OpenSceneGraphVersionInfo.rc.in, - PlatformSpecifics/Windows/OpenThreadsVersionInfo.rc.in, - PlatformSpecifics/Windows/VersionInfo.rc.in, - src/OpenThreads/CMakeLists.txt, - src/OpenThreads/win32/CMakeLists.txt: Added support for VS - versioning of OpenThreads - -2009-02-05 15:22 robert - - * include/osgAnimation/Animation, - include/osgAnimation/BasicAnimationManager, - src/osgAnimation/BasicAnimationManager.cpp, - src/osgAnimation/CMakeLists.txt: From Fabian Lavignotte, "Here is - some various small fixes i have done while playing with - osgAnimation. - - Animation : removed the _name attribute that is never used. - - BasicAnimationManager : fix a crash on Windows with the example - osganimationviewer. The _lastUpdate attribute was not initialized - when - using copy constructor. - - CMakeLists.txt : add RigGeometry to the headers list" +Thu, 17 Jan 2013 13:51:52 +0000 +Checked in by : Robert OSFIELD +Added and support to to allow the different timeout statges to be broadcast. -2009-02-05 14:56 robert +Thu, 17 Jan 2013 11:57:18 +0000 +Checked in by : Robert OSFIELD +Changed the defaults of the Timeout to be DBL_MAX by default. - * CMakeLists.txt: Changed version to only be run for Visual Studio +Thu, 17 Jan 2013 11:48:20 +0000 +Checked in by : Robert OSFIELD +Completed support, to use it with p3d use it along the lines: + + Test + + 3.0 + 5.0 + A + S + D + + w + t + Images/lz.rgb + + + + cow.osg + + -2009-02-05 14:55 robert - * CMakeLists.txt, PlatformSpecifics/Windows/VersionInfo.rc.in, - src/osg/CMakeLists.txt, src/osgAnimation/CMakeLists.txt, - src/osgDB/CMakeLists.txt, src/osgFX/CMakeLists.txt, - src/osgGA/CMakeLists.txt, src/osgIntrospection/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, src/osgShadow/CMakeLists.txt, - src/osgSim/CMakeLists.txt, src/osgTerrain/CMakeLists.txt, - src/osgText/CMakeLists.txt, src/osgUtil/CMakeLists.txt, - src/osgViewer/CMakeLists.txt, src/osgVolume/CMakeLists.txt, - src/osgWidget/CMakeLists.txt: From Sherman Wilcox, added VS - versioning information into libs -2009-02-05 14:54 robert - * include/osgTerrain/TerrainTile, include/osgVolume/VolumeTile, - src/osgTerrain/TerrainTile.cpp, src/osgVolume/VolumeTile.cpp: - Added exports, and moved constructors into .cpp. +Thu, 17 Jan 2013 09:51:15 +0000 +Checked in by : Robert OSFIELD +Added support for to Timeout support. -2009-02-05 14:42 robert +Wed, 16 Jan 2013 16:13:30 +0000 +Checked in by : Robert OSFIELD +Implemented basic Timeout display and timing codes - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Added initializer and - fixed indentation +Tue, 15 Jan 2013 11:31:44 +0000 +Checked in by : Robert OSFIELD +Added shell of Timeout class -2009-02-05 14:35 robert +Fri, 11 Jan 2013 11:30:44 +0000 +Checked in by : Robert OSFIELD +Added movie volume animation control to and tags to be used in the form: + + 0.20 + - * src/osgPlugins/gecko/CMakeLists.txt, - src/osgPlugins/xine/CMakeLists.txt: Suppress gcc warnings emitted - by external headers + + + 0.0 + + + 1.0 + + + 1.0 + + + 0.0 + + -2009-02-05 12:21 robert + + big_buck_bunny_1080p_stereo.ogg + + - * examples/osgviewerQT/QOSGWidget.cpp: From Morne Pistorius, - "Attached is a modified version of the QOSGWidget example that - shows - the workaround we discussed for adding/removing views in a - composite - viewer at runtime. A dummy view is added to the viewer to always - keep - it live. - - Also, I added a #define to the Qt event relay methods to not - override - them on a Windows system. This fixes the bug where duplicate - events - are being sent and making it impossible to throw the trackball." -2009-02-05 12:03 robert - * examples/osgviewerQT/QOSGWidget.cpp: Warning fixes -2009-02-05 11:10 robert +Thu, 10 Jan 2013 19:55:50 +0000 +Checked in by : Robert OSFIELD +Added support for properties that works in conjunction with the start="time" property support checked in in previous submission, together these control the delay, start position and stop position of movies. - * CMakeLists.txt, include/osg/Export: Added VS and gcc warning - suppression to clean up a few last stubborn warnings +Thu, 10 Jan 2013 14:37:52 +0000 +Checked in by : Robert OSFIELD +Added support for property that tells a video to start specificied number of sections into a video. -2009-02-05 10:14 robert +Thu, 10 Jan 2013 10:53:22 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "thanks for your input, unfortunately I could not get it working with packing, but setting the row-length works now. Seems I had it wrong the first time.Attached are both files. This should fix the video-bug mentioned on the dlf-wiki. - * examples/osglauncher/osglauncher.cpp, - examples/osgviewerGLUT/osgviewerGLUT.cpp, - src/osgPlugins/cfg/ConfigLexer.cpp, - src/osgUtil/TriStrip_graph_array.h: From Jean-Sebastien Guay, - warning fixes +" -2009-02-04 16:12 shuber - * Xcode/OpenSceneGraph/config/OpenThreads/Config: From Stephan - Huber: fix for local config-file used by the deprecated - XCode-project -2009-02-04 13:51 robert +Wed, 9 Jan 2013 16:29:28 +0000 +Checked in by : Robert OSFIELD +Changed the named colours back to having a alpha value of 1.0 to avoid problems with text not appearing. - * include/osgVolume/Property, include/osgWidget/WindowManager, - src/osgWrappers/osgVolume/Property.cpp: Form Paul Melis, spelling - fixes +Wed, 9 Jan 2013 16:03:22 +0000 +Checked in by : Robert OSFIELD +Added reset of the cursorFileName when hideCursor is activated to prevent the custom cursor being enabled. -2009-02-04 12:59 robert +Tue, 8 Jan 2013 10:21:13 +0000 +Checked in by : Robert OSFIELD +Added case for FORWARD_EVENT to address warning - * CMakeLists.txt: Set the release candidate to 1. +Mon, 7 Jan 2013 15:03:22 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, "I get a compile error on Windows VS2008 wih new DAE plugin, here is a fix : _document = _dae->openFromMemory(fileURI, buffer.data()); -2009-02-04 12:54 robert +"data" method is unknow for std::vector with VS2008 - * NEWS.txt: Updated news to keep in sync with online news entry +I've replaced it with : -2009-02-04 12:50 robert + _document = _dae->openFromMemory(fileURI, &buffer[0]); +" - * AUTHORS.txt: Updated AUTHORS file for 2.8 branch. -2009-02-04 12:31 robert - * NEWS.txt, README.txt: Updated NEWS and README for 2.8 branch +Mon, 7 Jan 2013 12:41:16 +0000 +Checked in by : Robert OSFIELD +Added support for --show-cursor and --hide-cursor command line options, and P3D_SHOW_CURSOR env var that can be set to YES or NO. -2009-02-04 11:35 robert +Mon, 7 Jan 2013 12:17:26 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "* osgGA: fixed a small bug regarding emulating mouse-events from touch-events * resthttp/osc: encapsulate RequestHandler-classes in their own namespaces to prevent class-name-lookup-errors in the debugger/code (had some weird crashes) * QTKit: fixed a compile-bug for gcc and blocks * osgPresentation: click_to_* will fire on RELEASE, only if the drawable received a PUSH beforehand * p3d/osgPresentation: implemented "forward_mouse_event_to_device"-tag, which will forward mouse-events to all registered devices of a viewer, if an intersection occurs. The mouse-coordinates get reprojected * present3d: all devices get registered with the viewer * osgViewer: only devices which are capable of receiving events are queried for new events. * GraphicWindowIOS: added a flag to GraphicWindowIOS::WindowData to set up a retained backing buffer (defaults to false) This will enable read-back of the render-buffer with glReadPixels even after the renderbuffer got presented * curl: added an optimized check for file-existance, now only the headers are requested and checked, instead of reading the whole file and handle it with a ReaderWriter * p3d: fixed a bug, where the existence of a local file may prevent the remote loading of a file with the same name." - * include/osg/Image, src/osg/Image.cpp, - src/osgWrappers/osg/Image.cpp: Fixed the constness of osg::Image* - pointer -2009-02-04 09:03 robert - * src/OpenThreads/common/Atomic.cpp: Removed cast, to quieten VS - warnings. Confirm change with original author Mathias Froehlich. +Thu, 20 Dec 2012 16:16:07 +0000 +Checked in by : Robert OSFIELD +Made UpdateVisitor::TravesalMode default to TRAVERSE_ACTIVE_CHILDREN -2009-02-03 20:26 robert +Thu, 20 Dec 2012 12:14:53 +0000 +Checked in by : Robert OSFIELD +Added region="$xmin $ymin $zmin $xmax $ymax $zmax" support to tag, along with animation support via the support. - * include/osgIntrospection/Export, - include/osgIntrospection/TypedMethodInfo: Clean up warning - disable code +Wed, 19 Dec 2012 17:14:29 +0000 +Checked in by : Robert OSFIELD +Removed lighting of trk lines -2009-02-03 20:17 robert +Wed, 19 Dec 2012 12:38:17 +0000 +Checked in by : Robert OSFIELD +Changed the colour calculation and added gl_ClipVertex to enable clipping. - * examples/osgviewerGLUT/osgviewerGLUT.cpp: Disabled warning +Tue, 18 Dec 2012 11:20:20 +0000 +Checked in by : Robert OSFIELD +Removed erroneous region setting -2009-02-03 17:14 robert +Tue, 18 Dec 2012 09:49:01 +0000 +Checked in by : Robert OSFIELD +From Juergen Rensen, "This is a fix for the latest SVN version (rev 13269). The ‘destroyFrameBuffer’ method in ‘GraphicsWindowIOS.mm’ had ‘glDeleteFramebuffersOES’ calls for the stencil buffer, MSAA render buffer and MSAA depth buffer instead of ‘glDeleteRenderbuffersOES’. The fix changes the mismatched calls to ‘glDeleteRenderbuffersOES’.The impact of the bug was a memory leak that would affect multi-sampling iOS apps that allow for device rotation or window resizing in general. For our app, the leak ranged from ca. 10 MB to 40 MB per device rotation, depending on device, for the MSAA buffers. I have not been able to confirm impact for the stencil buffer. " - * src/osg/MatrixDecomposition.cpp: Fixed warning -2009-02-03 17:11 robert - * src/osgUtil/Simplifier.cpp: Fixed warning +Mon, 17 Dec 2012 15:58:57 +0000 +Checked in by : Robert OSFIELD +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). -2009-02-03 15:28 robert +Sun, 16 Dec 2012 17:10:37 +0000 +Checked in by : Robert OSFIELD +Added handling of aspect ratio for vertical/horizontal split stereo. - * examples/osgcluster/broadcaster.cpp, - examples/osgcluster/osgcluster.cpp, - examples/osgcluster/receiver.cpp, - examples/osgimagesequence/osgimagesequence.cpp, - examples/osgmovie/osgmovie.cpp, - examples/osgunittests/UnitTestFramework.cpp, - examples/osgunittests/UnitTestFramework.h, - include/osgIntrospection/Reflector, - include/osgIntrospection/TypedConstructorInfo, - include/osgIntrospection/TypedMethodInfo, - src/OpenThreads/win32/Win32Thread.cpp, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/cfg/ConfigLexer.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/lwo/lwo2types.h, - src/osgPlugins/obj/OBJWriterNodeVisitor.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPIO.cpp, src/osgPlugins/txp/TXPParser.cpp, - src/osgPlugins/txp/trpage_material.cpp, - src/osgUtil/Simplifier.cpp, src/osgUtil/TriStrip_tri_stripper.h: - Warning fixes +Fri, 14 Dec 2012 16:31:07 +0000 +Checked in by : Robert OSFIELD +From Stephan Hunber, "* now you can create a transparent opengl-view (see GraphicWindowIOS::WindowData) * changes of the view's bound are reported via osg's event-system more reliably" -2009-02-03 12:47 robert - * examples/osgtexture2D/osgtexture2D.cpp: Added - setDataVariance(DYNAMIC) to text label as it's being updated - dynamically -2009-02-03 11:54 robert +Fri, 14 Dec 2012 16:30:28 +0000 +Checked in by : Robert OSFIELD +Updated SO version - * include/osgIntrospection/TypedMethodInfo: Added local disabling - the the VS C4121 "alignment of a member was sensitive to packing" - warning +Thu, 13 Dec 2012 17:35:27 +0000 +Checked in by : Robert OSFIELD +From Lionel Lagarde, "Here is a correction on the PixelBufferObject getter methods of Image.The set method modify the buffer object of the BufferData while the get method returned the buffer object of the Image. -2009-02-03 11:07 robert +I've also removed the _bufferObject member of Image (not used anymore)." +--This line, Lionel Lagardeand those below, will be ignored-- - * src/osgWidget/Input.cpp: Fixed warning +M include/osg/Image -2009-02-03 11:05 robert - * CMakeLists.txt: Added disabling of "warning: format not a string - literal, argument types not checked" under FreeBSD as these - errors are being generated from std library ostream - implementation. -2009-02-03 11:04 robert +Thu, 13 Dec 2012 16:23:38 +0000 +Checked in by : Robert OSFIELD +Added colouring and lighting of track using shader - * include/osgViewer/ViewerEventHandlers: Added explict - initialization of osg::Object contstructor to fix warning +Tue, 11 Dec 2012 17:45:20 +0000 +Checked in by : Robert OSFIELD +Fixed handling of image colour space conversion when pixel format changes -2009-02-02 20:42 robert +Tue, 11 Dec 2012 17:27:22 +0000 +Checked in by : Robert OSFIELD +Added automatic conversion of RGB to RGBA when doing REPLACE_ALPHA_WITH_LUMINANCE colour space conversion. - * src/osgWrappers/osg/TransferFunction.cpp: Updated wrappers +Tue, 11 Dec 2012 10:44:00 +0000 +Checked in by : Robert OSFIELD +Disabled lighting and set the colour to white -2009-02-02 20:35 robert +Tue, 11 Dec 2012 09:55:48 +0000 +Checked in by : Robert OSFIELD +First cut of generating lines from .trk data - * include/osgIntrospection/Attributes, - include/osgIntrospection/ConstructorInfo, - include/osgIntrospection/MethodInfo, - include/osgIntrospection/ParameterInfo, - include/osgIntrospection/PropertyInfo, - include/osgIntrospection/Value, src/osg/ShapeDrawable.cpp, - src/osg/Transform.cpp, src/osgDB/DatabasePager.cpp, - src/osgSim/SphereSegment.cpp, src/osgText/String.cpp, - src/osgUtil/CullVisitor.cpp, - src/osgUtil/DelaunayTriangulator.cpp, - src/osgUtil/EdgeCollector.cpp, src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/LineSegmentIntersector.cpp, - src/osgUtil/Simplifier.cpp, src/osgUtil/TriStripVisitor.cpp, - src/osgUtil/TriStrip_graph_array.h, - src/osgViewer/PixelBufferWin32.cpp: Warnings fixes for VS. +Mon, 10 Dec 2012 11:11:19 +0000 +Checked in by : Robert OSFIELD +Added setting of the fusion distance. -2009-02-02 20:34 robert +Sat, 8 Dec 2012 16:11:00 +0000 +Checked in by : Robert OSFIELD +Added --flip and --no-flip command line options to enable/disable a vertical flip of the captured image before writing out to disk. - * src/osgViewer/CMakeLists.txt: Attempt to appease both FreeBSD - CMAke 2.6.2 + Linux CMake 2.4.8 builds +Fri, 7 Dec 2012 19:05:47 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find a zip containing some bug-fixes and some refactored + new code.* ZeroConfDevice does now return FILE_NOT_HANDLED instead of FILE_NOT_FOUND +* present3D supports multiple devices per env-var P3D_DEVICE, separate multiple device with a space -2009-02-02 18:55 robert +I refactored parts the p3d-plugin, the curl-plugin and parts of Registry and ReaderWriter. Currently the p3d-plugin tries to open all remote files with the help of the curl-plugin. - * src/osgAnimation/Timeline.cpp: From Cedric Pinson, warning fix. +I added a new method to Registry called getReaderWriterForProtocolAndExtension. which will return a ReaderWriter which is capable in handling the remote file for the given protocol and extension. If no readerwriter is found for the given extension, a list is built of all readerwriters supporting the given protocol and this list is checked for support of wildcards (extension = "*"). If anything matches it get returned. -2009-02-02 17:46 robert +I added this principle also to the Registry, so now it's possible to register a generic ReaderWriter which can handle all filetypes for a given protocol, similar what curl is doing. All you have to do is to load the plugin at startup. The curl-fallback is still in place. - * src/osg/MatrixDecomposition.cpp: Added initializer for local Quat - definition +With these changes it is now possible to reference a movie inside a presentation without a server-address, read the presentation (with curl) and stream the movie with the correct plugin (e.g. QTKit) -2009-02-02 17:32 robert +" - * include/osgViewer/ViewerEventHandlers: Added explict intializiers - of base classes -2009-02-02 17:16 robert - * CMakeModules/FindOSG.cmake: Added /lib64 to search paths. +Fri, 7 Dec 2012 19:04:49 +0000 +Checked in by : Robert OSFIELD +Added template swapBytes method -2009-02-02 17:15 robert +Fri, 7 Dec 2012 13:59:57 +0000 +Checked in by : Robert OSFIELD +Added naming of root of presentation and used this in the setup of the position of the camera. - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/StatsHandler.cpp: Improved handling of stats - projection size +Fri, 7 Dec 2012 12:47:42 +0000 +Checked in by : Robert OSFIELD +Fixed handling of window size/projection matrix -2009-02-02 16:56 robert +Fri, 7 Dec 2012 10:19:05 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, attached is a fix for the bug of present3D not loading fonts across http. I pass SlideShowConstructor's options-object to readFontFile when constructing any text-objects so freetype can pick up the font-data from the curl-plugin. It works fine now on my end. - * src/osgPlugins/logo/ReaderWriterLOGO.cpp: From Stephan Huber, - build fix for OSX XCode build +Thu, 6 Dec 2012 19:09:17 +0000 +Checked in by : Robert OSFIELD +Intial shell of .trk plugin -2009-02-02 15:04 robert +Thu, 6 Dec 2012 18:12:00 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, build fix - * include/osg/Version: Fixed version +Thu, 6 Dec 2012 14:42:36 +0000 +Checked in by : Robert OSFIELD +Added default value for initialization of port number -2009-02-02 14:55 robert +Thu, 6 Dec 2012 11:36:35 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * CMakeLists.txt, include/OpenThreads/Version, include/osg/Version, - src/OpenThreads/CMakeLists.txt: Updated OpenThreads and - OpenSceneGraph version ready for OSG-2.8 branch. +Thu, 6 Dec 2012 11:36:13 +0000 +Checked in by : Robert OSFIELD +Added creation of directory path for ouput if one is required -2009-02-02 14:51 robert +Thu, 6 Dec 2012 08:02:08 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, ZerConfDevice plugin for Windows and Apple - * src/osgPlugins/osgAnimation/ReaderWriter.cpp: From Cedric Pinson, - "Here an update of the osgAnimation ReaderWriter, it add other - NodeCallback that could be attached to a node with Bone." +Wed, 5 Dec 2012 17:15:53 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "* imageio: removed ReaderWriterImageIO_IOS.cpp, refactored ReaderWriterImageIO to work on OS X and IOS * avfoundation: added support for IOS (CoreVideo-support is still in development, works only for SDK >= 6.0, set IPHONE_SDKVER in cMake accordingly) * zeroconf: added ZeroConf-device-plugin (Mac/Win only, linux implementation missing) to advertise and discover services via ZeroConf/Bonjour, on windows you'll need the Bonjour SDK from Apple * osgosc: modified the example to demonstrate the usage of the ZeroConf-plugin (start the example with the command-line-argument --zeroconf) * SlideShowConstructor: enable/disable CoreVideo via a environment variable (P3D_ENABLE_CORE_VIDEO) * RestHttp: mouse-motion-events get interpolated * RestHttp: unhandled http-requests get sent as an user-event to the event-queue, all arguments get attached as user-values to the event * modified some CMakeModules to work correctly when compiling for IOS * fixed a compile-error for IOS in GraphicsWindowIOS * some minor bugfixes" -2009-02-02 14:50 robert +Wed, 5 Dec 2012 11:41:27 +0000 +Checked in by : Robert OSFIELD +Added --screen-distance , --screen-height and --screen-width command line support and associated settings to the configuration file. - * src/osgPlugins/osgParticle/IO_FluidFrictionOperator.cpp: From - Pierre Haritchablaet, "The wind vector of - osgParticle::FluidFrictionOperator has not been written and read - in IO_FluidFrictionOperator. This patch fixes osg plug'in - FluidFrictionOperator_readLocalData and - FluidFrictionOperator_writeLocalData." +Wed, 5 Dec 2012 10:13:51 +0000 +Checked in by : Robert OSFIELD +Moved the expansion of the key codes into ApplicationUsage so that help is only generated for non zero keycodes. -2009-02-02 14:43 robert +Tue, 4 Dec 2012 19:02:45 +0000 +Checked in by : Robert OSFIELD +Fixed default camera position - * examples/osgterrain/osgterrain.cpp, - examples/osgvolume/osgvolume.cpp, include/osg/TransferFunction, - include/osgTerrain/Layer, src/osg/TransferFunction.cpp, - src/osgPlugins/osg/TransferFunction.cpp, - src/osgPlugins/osgTerrain/TerrainTile.cpp, - src/osgPlugins/osgVolume/VolumeTile.cpp, - src/osgTerrain/Layer.cpp, src/osgViewer/CMakeLists.txt, - src/osgVolume/Layer.cpp, - src/osgWrappers/osg/TransferFunction.cpp: Refactored - osg::TransferFunction1D to use an std::map internally which is - kept in sync with the actual osg::Image that is passed to the - GPU. - - Added .osg support for osg::TransferFunction1D. - - Updated wrappers +Tue, 4 Dec 2012 18:51:21 +0000 +Checked in by : Robert OSFIELD +Changed the -w and -h options to --width and --height respectively. -2009-02-02 09:23 robert +Tue, 4 Dec 2012 18:30:33 +0000 +Checked in by : Robert OSFIELD +Cleaned up command line usage - * include/osg/Node: From Sukender, add check against NULL parameter - value +Tue, 4 Dec 2012 18:28:28 +0000 +Checked in by : Robert OSFIELD +Tidied up command line docs. -2009-02-01 12:38 robert +Tue, 4 Dec 2012 18:21:53 +0000 +Checked in by : Robert OSFIELD +Tidied up CaptureSettings and added command line docs - * include/osg/TransferFunction, src/osg/TransferFunction.cpp, - src/osgPlugins/osg/CMakeLists.txt, - src/osgPlugins/osg/TransferFunction.cpp, - src/osgPlugins/osgVolume/TransferFunctionProperty.cpp: Ground - work for full .osg support for osg::TransferFunction* +Tue, 4 Dec 2012 12:47:46 +0000 +Checked in by : Robert OSFIELD +Added CameraProperty and associated command line parameters for controlling camera position and animation. --center x y z + --eye x y z + --up x y z + --rotation-center x y z + --rotation-axis x y z + --rotation-speed degreesPerSecond + -2009-01-31 21:46 robert - * NEWS.txt: Updated NEWS -2009-01-31 21:46 robert +Tue, 4 Dec 2012 09:11:17 +0000 +Checked in by : Robert OSFIELD +Added missing break; - * src/osgPlugins/osgVolume/CMakeLists.txt, - src/osgPlugins/osgVolume/TransferFunctionProperty.cpp: Added - initial placeholder for .osg support for - osgVolume::TransferFunctionProperty +Mon, 3 Dec 2012 16:49:47 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "I've found a bug in SlideShowConstructor::findFileAndRecordPath which does return an empty string if the file was not found, and this empty string got added to the fileNames-vector, so the curl-plugin tried to load only an empty file-name, the directory-prefix. I fixed findFileAndRecordPath, so it returns the unmodified filename, which can then be loaded by the curl-plugin. Please review my fix, as I am not sure if it has any side effects, as I know the code not that well.The file includes another small compile-fix when using float-matrices." -2009-01-31 21:45 robert - * examples/osgvolume/osgvolume.cpp: Fixed handling of - TransferFunctionProperty. -2009-01-31 10:21 robert +Mon, 3 Dec 2012 11:31:13 +0000 +Checked in by : Robert OSFIELD +Renamed souce file - * src/osgViewer/CMakeLists.txt: Rejigged the Xrandr include +Mon, 3 Dec 2012 10:10:46 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I've found a very covert bug in current VDSM implementation. It makes the computation of positional texgen incorrect if the shadow scene is under one or more child cameras with view/proj offsets. Using current stage instead will fix it." -2009-01-30 18:56 robert +Mon, 3 Dec 2012 09:50:41 +0000 +Checked in by : Robert OSFIELD +Fixed error in Unfiform set method - * src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp: Improved shaders to - better handle region of constant values when doing normal - generation +Mon, 3 Dec 2012 09:35:12 +0000 +Checked in by : Robert OSFIELD +Added include of osc plugin directory to help with Windows build -2009-01-30 17:10 robert +Sun, 2 Dec 2012 11:45:57 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, build fix - * src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp: Updated iso surface - shaders +Fri, 30 Nov 2012 20:03:31 +0000 +Checked in by : Robert OSFIELD +Fixed crash when no CameraManipulator is assigned to the viewer -2009-01-30 16:45 robert +Fri, 30 Nov 2012 16:52:59 +0000 +Checked in by : Robert OSFIELD +Added support for 0x and numeric defintion of keys to be used with functionality. - * src/osgVolume/Shaders/volume_iso_frag.cpp: Added support for - discard fragment that don't generate an iso surface intersect +Fri, 30 Nov 2012 15:43:31 +0000 +Checked in by : Robert OSFIELD +Added support for pausing and restart the property_animation. -2009-01-30 15:04 robert +Fri, 30 Nov 2012 14:21:45 +0000 +Checked in by : Robert OSFIELD +Added xml defined property/property animation to .p3d format for propeties: alpha="$alphaname" + cutoff="$cutoffname" + region="$minx $miny $minz $maxx $maxy $maxz" + sampleDensity="$densityname" + sampleDensityWhenMoving="$densityname" + - * src/osg/TransferFunction.cpp: From Paul Melis, "I think - TransferFunction needs to call _image->dirty() in two places in - response to an assign() of new transfer map values. - Here's an updated file, which seems to work here. - " -2009-01-30 14:54 robert - * src/osgPlugins/osgParticle/IO_ParticleEffect.cpp: From Lionel - Lagarde, "this correct how the ParticleEffect are serialized : - - the texture file name is taken from the TextFileName field - - the texture file name is written using writeString - " +Wed, 28 Nov 2012 13:28:20 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, New OscSendingDevice and OscReceivingDevice classes -2009-01-30 13:05 robert +Wed, 28 Nov 2012 10:43:58 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, added event sending support into osgGA::Device along with implementation on this into the osc plugin. Added osgoscdevice example to demonstate this in action. - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Update - AUTHORS for release +Tue, 27 Nov 2012 16:00:43 +0000 +Checked in by : Robert OSFIELD +Added support for tag for , and scope to compliment the scope of -2009-01-30 12:17 robert +Tue, 27 Nov 2012 15:09:44 +0000 +Checked in by : Robert OSFIELD +Added preliminary support for - * ChangeLog: Updated ChangeLog for 2.7.9 release +Thu, 22 Nov 2012 15:13:46 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "Attached you'll find a new ImageSequence.cpp which will fix an issue I had when moving the mouse cursor over the left window-border, as the index becomes negative. And I added a UdpSocket.cpp-file with more debuggin-output via some sprinkled printf-calls. " -2009-01-30 12:09 robert +Thu, 22 Nov 2012 11:55:38 +0000 +Checked in by : Robert OSFIELD +Simplified CMakeLists and adjusted OscHostEndianness to automatically detect the endian at compile time - * src/osgViewer/StatsHandler.cpp: Fixed size of background of frame - stats so that it's the correct width of the window +Thu, 22 Nov 2012 11:47:03 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, updates to explictly set the HOST Endian using Cmake -2009-01-30 11:40 robert +Thu, 22 Nov 2012 09:49:24 +0000 +Checked in by : Robert OSFIELD +Added explict handling of osg::Image, osg::HeightField, osg::Shader and osg::Node when doing writes to the archive. - * src/osgWrappers/osgVolume/Property.cpp: Updated wrappers +Wed, 21 Nov 2012 15:19:58 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, further work on osc plugin -2009-01-30 10:55 robert +Wed, 21 Nov 2012 14:27:54 +0000 +Checked in by : Robert OSFIELD +Moved static for local to global scope in Uniform.cpp and removed the local static usage in Registry.cpp - * NEWS.txt, include/osg/Array, include/osg/Drawable, - include/osg/Geometry, include/osg/Group, include/osg/Image, - include/osg/KdTree, include/osg/Node, - include/osg/OperationThread, include/osg/PrimitiveSet, - include/osg/Program, include/osg/Shape, include/osg/State, - include/osg/StateAttribute, include/osg/StateSet, - include/osg/Stats, include/osg/View, include/osgVolume/Property: - Fixed warnings, updated NEWS +Wed, 21 Nov 2012 13:38:11 +0000 +Checked in by : Robert OSFIELD +Refactored osgDB::Input::readObjectOfType to use a template, and updated associated wrappers to avoid using local static's -2009-01-29 20:40 robert +Tue, 20 Nov 2012 18:41:30 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, fix for Windows build - * src/osgPlugins/osgVolume/CMakeLists.txt, - src/osgPlugins/osgVolume/PropertyAdjustmentCallback.cpp: Added - support for osgVolume::ProperyAdjustmentCallback +Tue, 20 Nov 2012 13:01:57 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, added missing windows dependency -2009-01-29 20:34 robert +Tue, 20 Nov 2012 10:37:42 +0000 +Checked in by : Robert OSFIELD +Added ws2_32 library to Win32 build - * src/osgPlugins/osgVolume/CMakeLists.txt, - src/osgPlugins/osgVolume/CompositeProperty.cpp, - src/osgPlugins/osgVolume/ImageLayer.cpp, - src/osgPlugins/osgVolume/Property.cpp, - src/osgPlugins/osgVolume/ScalarProperty.cpp, - src/osgPlugins/osgVolume/SwitchProperty.cpp: Added support for - osgVolume::Property classes +Mon, 19 Nov 2012 11:25:52 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, build fixes -2009-01-29 17:19 robert +Mon, 19 Nov 2012 10:48:37 +0000 +Checked in by : Robert OSFIELD +Frm Stephan Huber, osc plugin that supports send and recieving events via UDP packets. - * src/osgPlugins/osgVolume/ImageLayer.cpp, - src/osgPlugins/osgVolume/VolumeTile.cpp: Fixed handling of files - with event callbacks on them. +Fri, 16 Nov 2012 15:40:41 +0000 +Checked in by : Robert OSFIELD +Added first cut implememtation of PropertyAnimation class -2009-01-29 16:38 robert +Thu, 15 Nov 2012 12:11:19 +0000 +Checked in by : Robert OSFIELD +Moved PropertyManager related classes out from SlideEventHandler into their own dedicated header/source file. - * examples/osgcluster/CMakeLists.txt: From Jean-Sebastien Guay, - added missing windows socket library +Tue, 13 Nov 2012 16:15:20 +0000 +Checked in by : Robert OSFIELD +Added support for P3D_UPDATE env var for setting the UpdateVisitor::TRAVERSAL_MODE. Accepted settings are "active", "Active", "ACTIVE", or "all", "All", "ALL". -2009-01-29 15:37 robert +Tue, 13 Nov 2012 15:26:06 +0000 +Checked in by : Robert OSFIELD +Added --update-active and --update-all command line options that set the UpdateVisitor::TraversalMode to TRAVERSE_ACTIVE_CHILDREN and TRAVERSE_ALL_CHILDREN respecively. - * CMakeModules/FindOSG.cmake: Updated FindOSG.cmake from the - version used by Present3D as this is more up to date. +Tue, 13 Nov 2012 14:22:37 +0000 +Checked in by : Robert OSFIELD +Added support for to allow user definition of when to enable OpenGL blending for an image or not. -2009-01-29 15:32 robert +Tue, 13 Nov 2012 13:52:33 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fixed warning - * ChangeLog: Update ChangeLog +Tue, 13 Nov 2012 13:32:01 +0000 +Checked in by : Robert OSFIELD +Changed COLOUR to COLOR to be consistent with OpenGL spelling -2009-01-29 15:07 robert +Tue, 13 Nov 2012 13:16:10 +0000 +Checked in by : Robert OSFIELD +Moved colour space conversion of volumes from the osgvolume example into osg/ImageUtils and added support for colorSpaceConversion="MODULATE_ALPHA_BY_LUMINANCE","MODULATE_ALPHA_BY_COLOUR","REPLACE_ALPHA_WITH_LUMINANCE" and "REPLACE_RGB_WITH_LUMINANCE" to .p3d tag - * NEWS.txt: Updated news +Tue, 13 Nov 2012 11:45:20 +0000 +Checked in by : Robert OSFIELD +Added first step to adding pruning of expired image requests. -2009-01-29 14:41 robert +Tue, 13 Nov 2012 11:20:36 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, introduced syncornization of osgGA::Device - * src/osgViewer/ViewerBase.cpp: Fixed the sumation of the the - unique number of primtivesets and vertices in the scene Stats - collect +Mon, 12 Nov 2012 16:46:08 +0000 +Checked in by : Robert OSFIELD +Cleaned up reported of events and added assigned of tag region properities when using the wildcard definition of the volume. -2009-01-29 14:35 robert +Mon, 12 Nov 2012 15:26:30 +0000 +Checked in by : Robert OSFIELD +Added osgframerenderer example - * examples/osgcluster/CMakeLists.txt: Added CMakeLists.txt for - osgcluster +Mon, 12 Nov 2012 10:36:21 +0000 +Checked in by : Robert OSFIELD +Changed the default settings to fix a jump problems -2009-01-29 14:00 robert +Sat, 10 Nov 2012 12:12:24 +0000 +Checked in by : Robert OSFIELD +Added missing files in support of key_jump and key_run tags - * NEWS.txt: First cut of NEWS for 2.8 release +Fri, 9 Nov 2012 21:32:54 +0000 +Checked in by : Robert OSFIELD +Added support for naming slides and layers with slide_name and layer_name properties respectively. Added support for creating events based on key presses using a and tags. -2009-01-29 13:29 robert +Fri, 9 Nov 2012 21:23:42 +0000 +Checked in by : Robert OSFIELD +Added Node::getName() and getUserDataContainer() to check to see if an node can be removed or not. - * CMakeLists.txt: Restructed the reporting of the libpath message - so that it only appears the first time it's required +Thu, 8 Nov 2012 17:19:51 +0000 +Checked in by : Robert OSFIELD +From Alexander Sinditskiy, "I found issue with capturing mouse buttons. This issue can be reproduced: 1. Create osgViewer window, 2. Push right&left mouse buttons on the osgViewer window, 3. Move mouse out of window, and release right&left mouse buttons.osgViewer window handle only first mouse release, as result window thinks that we did not released second mouse button. -2009-01-29 13:17 robert +I attached fix for this issue." - * examples/CMakeLists.txt: Added osgcluster example into build - system -2009-01-29 11:18 robert - * src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/vtf/ReaderWriterVTF.cpp: From Jason Daly, - "Somehow, one of the shaders in the bsp plugin started behaving - incorrectly between the original submission and now. I suspect it - has to do with a typo in the setup of the shader that was fixed - at some point, or it happened during the recent warnings purge. - In any case, I had to invert the usage of a parameter in the - shader to make it behave properly again. - - - The vtf plugin wasn't working in Windows due to OS differences in - the byte-packing of the header structure (on Windows, the big - block read was causing a buffer overrun). I fixed this by reading - the structure from the file field by field. It's now happy on - both Linux and Windows." +Thu, 8 Nov 2012 15:45:23 +0000 +Checked in by : Robert OSFIELD +Added support for -2009-01-29 11:03 robert +Thu, 8 Nov 2012 15:28:24 +0000 +Checked in by : Robert OSFIELD +Changed the way the mouse position is update to handle the remote device control. - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: Fixed warning +Thu, 8 Nov 2012 14:15:59 +0000 +Checked in by : Robert OSFIELD +Added check to avoid doing update when the imagesequence is empty. -2009-01-29 10:43 robert +Thu, 8 Nov 2012 11:19:31 +0000 +Checked in by : Robert OSFIELD +Refactored ImageSequence to better handle random access usage. - * CMakeLists.txt: Revised the message about install path. +Tue, 6 Nov 2012 17:49:32 +0000 +Checked in by : Robert OSFIELD +Tweaked casts/types to fix build under Linux -2009-01-29 10:22 robert +Tue, 6 Nov 2012 14:25:28 +0000 +Checked in by : Robert OSFIELD +Added f qualifer to 1.0 to fix build problem under MSVS - * src/osgAnimation/CMakeLists.txt: Added missing entry in build for - AnimationManager.cpp +Tue, 6 Nov 2012 11:18:33 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, improved performance by using native apple functions for flipping image -2009-01-29 09:28 robert +Mon, 5 Nov 2012 17:22:34 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "Attached you'll find a fix for the image-io-plugin to handle out-of-memory situations more gracefully as before (don't crash)" - * src/osgUtil/SceneView.cpp: Improved the handling of toggling of - GL_LIGHTi modes when SceneView::setLightingMode() is toggled - on/off. +Mon, 5 Nov 2012 12:21:34 +0000 +Checked in by : Robert OSFIELD +Quitened down debug output -2009-01-29 09:27 robert +Mon, 5 Nov 2012 12:03:50 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, updated to debug output to RestHttpDevice and tweaks to ImageIO and QTKit plugins - * src/osgPlugins/OpenFlight/expPrimaryRecords.cpp: Replaced -1 with - ~0u to fix warning due to being written to a UInt field. Note, - OpenFlight spec says -1, which is clearly an error in the spec, - so we've had to guess at ~0u being an appropriate value. +Mon, 5 Nov 2012 09:36:00 +0000 +Checked in by : Robert OSFIELD +Added static cast to float to avoid compile error under MSV -2009-01-29 09:24 robert +Thu, 1 Nov 2012 18:06:46 +0000 +Checked in by : Robert OSFIELD +From David Longest, "When drawing, a transform with an absolute reference frame will ignore the calculated model / view matrices up to that point. The IntersectionVisitor would instead keep the view matrices calculated up to that point even though the Transform class will throw out the calculated model matrix via “computeLocalToWorldMatrix.â€The change I made will push an identity matrix as the view matrix when running into a transform +with an absolute reference frame and will pop the matrix off after the traverse. - * examples/osgvolume/osgvolume.cpp: Removed now redundent shader - files. - - Fixed the adding of transfer function property. +To test this, I created a camera with a perspective view and added a transform with some geometry +in it. Afterwards, I set the transform’s reference frame to ABSOLUTE_RF and spun the camera around +using the trackball manipulator. When trying to pick with a LineSegmentIntersector, it would not +pick the geometry in the transform with the reference frame set to ABSOLUTE_RF." -2009-01-28 16:48 robert - * examples/osgvolume/volume_frag.cpp, - examples/osgvolume/volume_iso_frag.cpp, - examples/osgvolume/volume_mip_frag.cpp, - examples/osgvolume/volume_n_frag.cpp, - examples/osgvolume/volume_tf_frag.cpp, - examples/osgvolume/volume_tf_iso_frag.cpp, - examples/osgvolume/volume_tf_mip_frag.cpp, - examples/osgvolume/volume_tf_n_frag.cpp, - examples/osgvolume/volume_vert.cpp: Removed old shader files -2009-01-28 16:44 robert - * src/osgWidget/Window.cpp, src/osgWidget/WindowManager.cpp: - Removed comments. +Thu, 1 Nov 2012 16:11:13 +0000 +Checked in by : Robert OSFIELD +Changed the PropertyEventCallback to only respond to mouse releated events. -2009-01-28 15:23 robert +Thu, 1 Nov 2012 14:29:26 +0000 +Checked in by : Robert OSFIELD - * src/osgWrappers/osg/CullStack.cpp: Updated wrappers -2009-01-28 15:15 robert +Wed, 31 Oct 2012 17:06:29 +0000 +Checked in by : Robert OSFIELD +Added reading of the P3D_DEVICE env var for setting up the --device entry. - * include/osg/CullStack: Moved push/popCulling set it public scope. +Wed, 31 Oct 2012 16:07:23 +0000 +Checked in by : Robert OSFIELD +Added event and update callbacks to pass up changes to the mouse position to the ImageSequence::seek() to control which images is selected based on mouse x position -2009-01-28 13:45 robert +Tue, 30 Oct 2012 12:31:27 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, RestHttpDevice plugin for support of remote application control via Rest http. - * src/osgViewer/StatsHandler.cpp: From Paul Melis, "1) Changes the - order of the camera stats slightly, to be more in line with - the view stats - 2) Uses a slightly smaller block for view statistics" +Mon, 29 Oct 2012 15:58:02 +0000 +Checked in by : Robert OSFIELD +Intial work towards support an interaction tag in Present3D. -2009-01-28 12:55 robert +Fri, 26 Oct 2012 15:31:18 +0000 +Checked in by : Robert OSFIELD +From Luc Frauciel, "Compile Fix - KTX plugin with Visual Studio, not defined under MSVC" - * CMakeLists.txt: From Mathias Froehlich, fixed typo. - -2009-01-28 12:51 robert - - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/osgSim/IO_ObjectRecordData.cpp: Fixed warnings - -2009-01-28 12:45 robert - - * src/osgWidget/Window.cpp, src/osgWidget/WindowManager.cpp: Fixed - of warnings - -2009-01-28 12:28 robert - - * src/osgPlugins/3ds/readwrite.cpp, src/osgPlugins/bsp/BITSET.cpp: - Fixed warnings - -2009-01-28 12:02 robert - - * CMakeLists.txt: Temporarily disabled VS warning C4100 to enable - use to home in on the useful warnings that could do with - resolving. - -2009-01-28 11:59 robert - - * src/osgAnimation/Animation.cpp, src/osgWidget/Input.cpp: From - Mathias Froehlich, "I have today built svn trunk on HP-UX and - Solaris8. - I had to do two small changes to src/osgWidget/Input.cpp and - src/osgAnimation/Animation.cpp mainly because of name lookup - problems. - " +Wed, 24 Oct 2012 16:10:38 +0000 +Checked in by : Robert OSFIELD +Fixed bug in click_to_run feature where events would be handled by hidden labels -2009-01-28 11:16 robert - - * src/osgParticle/FluidFrictionOperator.cpp: From Lionel Lagarde, - removed accounting of local to world transform on the force - vector as the particle velocity should already been in world - coords. Fixing this addresses a bug where particles accelerated - out of the scene rather than slowing down. - -2009-01-28 10:06 robert - - * src/osgViewer/View.cpp, src/osgViewer/ViewerBase.cpp: Added check - against existing of a valid Stats object in - ViewerBase::renderinTraverls() to prevent crash. - - Added default View Stats into src/osgViewer/View.cpp to enable - stats to be collected for views - -2009-01-28 09:42 robert - - * CMakeLists.txt, packaging/ld.so.conf.d, - packaging/ld.so.conf.d/openscenegraph.conf.in: From Mattias - Helsing, "this is a semi-submission based on what you and others - have been - talking about in the LIB_POSTFIX thread. It is a bit verbose - perhaps - and the message I emit during the make install step flashes by - and - gets burried under all "installing..." and/or "up-to-date..." - messages. I have posted on the cmake mail list on ways to do this - better. - - The submission adds: - * message to user during configuration that s/he's eventually - going o - install to ${CMAKE_INSTALL_PREFIX}lib${LIB_POSTFIX} - * if system has /etc/ld.so.conf.d and it is a dir generates - packaging/ld.so.conf.d/openscenegraph.conf and creates a custom - target - for installing it (target must be run explicitly of course). User - is - notified of this during configuration (may not be necessary) - * emit a message during installation that libraries are put in - . This message unfortunately gets emitted to soon - for - the user to see it - - * I added "COMPONENT libopenscenegraph-dev" to the pkgconfig.pc's - install command - * Moved the section with OSG_CONFIG_HAS_BEEN_RUN_BEFORE as close - to - the end of CMakeLists.txt as I dared. This is the intent of this - construct I think." - -2009-01-28 09:31 robert - - * examples/osgcompositeviewer/osgcompositeviewer.cpp, - src/osgViewer/StatsHandler.cpp: From Paul Melis, "Here is an - updated osgViewer::StatsHandler. It has the following changes: - - The text and dark background rectangles are now correctly - placed, and - slightly resized here and there. - - All counters (vertices, etc) now use a fixed formatting with 0 - digits - precision, to prevent the text from being shown in scientific - notation - when the number get large (e.g. 6.34344e+6). I tested with a - scene - containing roughly 4 million vertices, to make sure its stats - would - display correctly. - - I also made slight changes to osgcompositeviewer (attached) to - aid in - testing the stats display, specifically displaying of camera and - view - names." - -2009-01-28 09:26 robert - - * examples/osgcompositeviewer/osgcompositeviewer.cpp: From Paul - Melis, remove redundent spaces - -2009-01-28 09:24 robert - - * src/osgViewer/StatsHandler.cpp: From Paul Melis, removed - redundent spacing. - -2009-01-28 09:23 robert - - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: Fixed the - handling of setLightingMode and inheritCullSettings so that it - properly manages the GL_LIGHTING mode - -2009-01-28 09:21 robert - - * include/osg/Shape, src/osg/Shape.cpp: From Patrick Hartling, "I - encountered a bug related to RTTI for subclasses of osg::Shape. - The - circumstances under which this bug occur are rather specific, but - the - basic problem occurs when one translation unit other than - libosg.so - constructs an object that is a subclass of osg::Shape and another - translation unit other than libosg.so tries to perform a - dynamic_cast or - other RTTI-based operation on that object. Under these - circumstances, - the RTTI operation will fail. In my case, the translation units - involved - were an application and osgdb_ive.so. The application constructed - a - scene graph that included instantiations of subclasses of - osg::Shape. - Depending on how the user ran the application, it would write the - scene - graph to an IVE file using osgDB::writeNodeFile(). The - dynamic_cast - operations in DataOutputStream::writeShape() would fail on the - first - subclass of osg::Shape that was encountered. This is because - there were - two different RTTI data objects for all osg::Shape subclasses - being - compared: one in the application and one in osgdb_ive.so. - - The fix for this is simple. We must ensure that at least one - member - function of each of the subclasses of the polymorphic type - osg::Shape is - compiled into libosg.so so that there is exactly one RTTI object - for - that type in libosg.so. Then, all code linking against libosg.so - will - use that single RTTI object. The following message from a list - archive - sort of explains the issue and the solution: - - http://aspn.activestate.com/ASPN/Mail/Message/1688156 - - While the posting has to do with Boost.Python, the problem - applies to - C++ libraries in general." - -2009-01-28 09:06 robert - - * src/osgPlugins/cfg/RenderSurface.cpp: Added back in intializers - for RenderSurface. - -2009-01-27 15:35 robert - - * packaging/pkgconfig/openscenegraph.pc, - packaging/pkgconfig/openthreads.pc: Removed .pc files as they are - now automatically generated with the correct values by Cmake from - the openthreads.pc.in and openscenegraph.pc.in files. - -2009-01-27 15:34 robert - - * CMakeLists.txt, src/OpenThreads/CMakeLists.txt: From Alberto - Luaces, "I have modified CMakeLists.txt in order to make CMake - fill the existent - openscenegraph.pc and openthreads.pc files with OSG's - installation values. - Then I install those files into the expected path for pkg-config - (this can - also be modified through PKG_CONFIG_PATH environment variable). - Therefore - those of us who are using pkg-config for linking can easily - select which - version of OSG we want to use." - -2009-01-27 15:34 robert - - * packaging/pkgconfig/openscenegraph.pc, - packaging/pkgconfig/openscenegraph.pc.in, - packaging/pkgconfig/openthreads.pc, - packaging/pkgconfig/openthreads.pc.in: From Alberto Luaces, "I - have modified CMakeLists.txt in order to make CMake fill the - existent - openscenegraph.pc and openthreads.pc files with OSG's - installation values. - Then I install those files into the expected path for pkg-config - (this can - also be modified through PKG_CONFIG_PATH environment variable). - Therefore - those of us who are using pkg-config for linking can easily - select which - version of OSG we want to use." - -2009-01-27 15:14 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Jason Beverage, - "Here is a small fix that enables writing 16 bit short images in - the tiff plugin. - " - -2009-01-27 14:11 robert - - * include/osgShadow/DebugShadowMap, - include/osgShadow/MinimalDrawBoundsShadowMap, - src/osgShadow/DebugShadowMap.cpp: Converted viewer camera - references to use observer_ptr<> rather than ref_ptr<> or C - pointers to avoid issues with circular references/dangling - pointers. - -2009-01-27 13:23 robert - - * include/osg/View, include/osgViewer/CompositeViewer, - include/osgViewer/Viewer, include/osgViewer/ViewerBase, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/Viewer.cpp, - src/osgViewer/ViewerBase.cpp, src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Refactored the view - stats. - -2009-01-27 09:09 robert - - * src/osg/State.cpp: Commented out debug message - -2009-01-26 21:23 robert - - * include/osgUtil/Statistics, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp: Ported onscreen camera stats - across to using thread safe stats collection +Wed, 24 Oct 2012 10:43:01 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find the latest versions of the QTKit + the AVFoundation-plugin, some changes to osgPresentation and a small enhancement für ImageIO.I fixed some bugs and did some more tests with both of the video-plugins. I integrated CoreVideo with osgPresentation, ImageStream has a new virtual method called createSuitableTexture which returns NULL for default implementations. Specialized implementations like the QTKit-plugin return a CoreVideo-texture. I refactored the code in SlideShowConstructor::createTexturedQuad to use a texture returned from ImageStream::createSuitableTexture. -2009-01-26 19:22 robert +I did not use osgDB::readObjectFile to get the texture-object, as a lot of image-related code in SlideShowConstructor had to be refactored to use a texture. My changes are minimal and should not break existing code. - * configure: Added passing of command line args to cmake +There's one minor issue with CoreVideo in general: As the implementation is asynchronous, there might be no texture available, when first showing the video the first frame. I am a bit unsure how to tackle this problem, any input on this is appreciated. -2009-01-26 16:55 robert +Back to the AVFoundation-plugin: the current implementation does not support CoreVideo as the QTKit-plugin supports it. There's no way to get decoded frames from AVFoundation stored on the GPU, which is kind of sad. I added some support for CoreVideo to transfer decoded frames back to the GPU, but in my testings the performance was worse than using the normal approach using glTexSubImage. This is why I disabled CoreVideo for AVFoundation. You can still request a CoreVideoTexture via readObjectFile, though. +" - * src/osgPlugins/logo/ReaderWriterLOGO.cpp: Converted across to - using ref_ptr<> to avoid memory leak/dangling pointer issues. -2009-01-26 15:16 robert - * include/osg/Referenced, include/osg/State, - src/osg/Referenced.cpp, src/osg/State.cpp, - src/osgWrappers/osg/State.cpp: Fixed effective leak in - Program::PerContextProgram caused by previously osg::State - keeping a set of std::ref_ptr without - ever pruning this list. - The fix was to convert the osg::State to use C pointers for the - set of applied PerContexProgram objects, and use the osg::Oberver - mechanism to avoid dangling pointers for being maintained in - osg::State. - -2009-01-26 13:48 robert - - * src/osgViewer/CMakeLists.txt: Moved the XRANDR include into - LIB_PRIVATE_HEADERS to avoid FreeBSD build problem +Tue, 23 Oct 2012 16:15:03 +0000 +Checked in by : Robert OSFIELD +Added osgGA::Device class for integration of both physical and virtual devices.Added template readFile(..) function to make it more convinient to cast to a specific object type. -2009-01-26 10:52 robert - - * src/osgWrappers/osgAnimation/AnimationManager.cpp: Updated - wrappers +Added support for osgGA::Device to osgViewer. -2009-01-26 10:35 robert +Added sdl plugin to provides very basic joystick osgGA::Device integration. - * src/osgDB/DatabasePager.cpp: From Rick Appleton, "In - DatabasePager.cpp I believe there's a copy-paste ommission. A - little bit further down the file where the Drawables are compiled - the code is similar to how I have fixed the code here for the - StateSets. If the DatabasePager thread is supposed to pre-compile - things, it will call the compileGLObjects such that compileAll - will be true. However, when compiling StateSets compileAll isn't - currently checked." -2009-01-24 10:02 robert - * include/osgAnimation/AnimationManager: Changed META_NodeVisitor - usage to META_Object as it's more appropriate. -2009-01-24 10:00 robert - * include/osgAnimation/AnimationManager: From Stephan Huber, "OS X - failed to compile AnimationManager because of - the useage of META_Node-macro, but AnimationManager is inherited - from - NodeVisitor, so I changed the Macro to META_NodeVisitor" +Mon, 22 Oct 2012 16:21:04 +0000 +Checked in by : Robert OSFIELD +Added mutex lock to Uniform::addParent()/removeParent(). -2009-01-23 23:04 shuber +Fri, 12 Oct 2012 14:51:08 +0000 +Checked in by : Robert OSFIELD +Added serializers for osgGA - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project +Tue, 9 Oct 2012 16:14:21 +0000 +Checked in by : Robert OSFIELD +Removed the insert of requests in the ImageSequence::_filesRequested data structure so that it always requests files, leaving it up the ImagePager to decide to track duplicates -2009-01-23 15:52 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: From Roland Smeenk, - "attached is a small crash fix for the case that a texture is - used for transparency without the availability of a diffuse - texture." - -2009-01-23 15:50 robert - - * include/osgShadow/DebugShadowMap, include/osgShadow/ShadowMap, - src/osgShadow/DebugShadowMap.cpp, src/osgShadow/ShadowMap.cpp: - Added forward declaration of callbacks to headers to avoid - scoping issues of classes with same names. - -2009-01-23 15:12 robert +Tue, 9 Oct 2012 16:05:50 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I modified the Serializer header to add a UPDATE_TO_VERSION_SCOPED macro, which could set version within brackets and reset it after that. All related serializers are also modified so that the backward-compatibility bug reported by Farshid can be fixed. "From Robert Osfield, removed the use of osg::Referenced and creating the proxy object on the heap. - * include/osg/Export, src/osg/AutoTransform.cpp, - src/osg/KdTree.cpp, src/osg/Texture.cpp, - src/osgPlugins/bsp/VBSPData.cpp, - src/osgPlugins/bsp/VBSPGeometry.cpp: Warning fixes for VS, and - removal of associated warning disables - -2009-01-23 15:02 robert - - * src/osgPlugins/shp/ESRIShape.cpp: Added workaround for silly - posix read deprecation warning under VS. - -2009-01-23 14:00 robert - - * include/osg/Export: Removed unneccesary warning disables - -2009-01-23 11:52 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Added range of visual - rendering properties to readNode's creation of - VolumeTile/ImageLayer. - -2009-01-23 10:29 robert - - * src/OpenThreads/win32/Win32Thread.cpp, - src/OpenThreads/win32/Win32ThreadPrivateData.h: From Mattias - Froehlich, "To pass the Microsoft application verifier we have - tried to get osgviewer - working with that thing. - This is what was missing so far: - - Make win32 threads behave like the posix implementation when - setting thread - cpu affinity. That includes avoid setting thread affininty on a - non running - thread. Set that once it is running." - -2009-01-23 09:24 robert - - * include/osgVolume/Property, src/osgVolume/VolumeTile.cpp: From - Lionel Lagarde, "here is a correction on - osgVolume/Property - added OSGVOLUME_EXPORT to PropertyAdjustmentCallback - - osgVolume/VolumeTile.cpp - in copy constructor, removed ';' on if - (volumeTile.getVolumeTechnique())" - - -2009-01-23 09:22 robert - - * src/osgDB/DatabasePager.cpp: Upped notification level of timing - stats - -2009-01-21 19:28 robert - - * src/osgWrappers/osgAnimation/Bone.cpp: Updated wrappers - -2009-01-21 19:02 robert - - * examples/osganimationskinning/osganimationskinning.cpp, - examples/osganimationviewer/AnimtkViewer.cpp, - include/osgAnimation/Bone, include/osgAnimation/Interpolator, - include/osgAnimation/Sampler, include/osgAnimation/Skinning, - src/osgAnimation/RigGeometry.cpp, src/osgAnimation/Skeleton.cpp: - From Cedric Pinson, "updated osgAnimation with the trunk here the - update: - - examples/osganimationviewer/AnimtkViewer.cpp: - - add option to display bone (--drawbone) - - dont crash if the file does not contains a - AnimationManagerBase, display the content only - - examples/osganimationviewer/AnimtkViewerGUI.cpp: - - adjust the path of image for the gui - - include/osgAnimation/Interpolator: - - add warn message instead of old assert - - include/osgAnimation/Bone: - src/osgAnimation/Skeleton.cpp: - - change a method name to fit better with what it does. - setMatrixInSkeletonSpace instead of setBoneInSkeletonSpace - - include/osgAnimation/Skinning: - src/osgAnimation/RigGeometry.cpp: - - add patch from Fabien Lavignotte to compute normal correctly - - include/osgAnimation/Sampler: - - adjust behviour without assert, return 0 instead of crashing - " - -2009-01-21 19:01 robert - - * examples/osgdrawinstanced/osgdrawinstanced.cpp, - examples/osgvolume/osgvolume.cpp: Fixed compile errors for when - ref_ptr<> auto conversion is disabled - -2009-01-21 18:47 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h: - From Roger James, The changes are as follows:- - - 1. Support for ambient occlusion maps. - 2. A fix for the incorrect handling of normals on all geometries. - The optimizer usually fixed this bug so it probably was not - noticed very often. - 3. A new option flag on the reader. "StrictTransparency" - // Process transparent and transparency settings according to a - strict interpretation of the spec - // See https://collada.org/public_forum/viewtopic.php?f=12&t=1210 - otherwise - // Jump through various hoops to accomodate the multiplicity of - different ways - // that various people have interpreted the specification - 4. Handling of texures in the transparent channel. This is - allowed provided that they are the same texture that is specified - in the diffuse channel. Accomodating a different texture would - require use of programmable pipeline functionality which I have - tried to avoid. - 5. Handling of elements. - "" - -2009-01-21 18:34 robert - - * CMakeLists.txt, CMakeModules/OsgCPack.cmake, - CMakeModules/OsgCPackConfig.cmake.in, - CMakeModules/OsgDetermineCompiler.cmake: From Mattias Helsing, - "got some feedback from J-S on the packaging so I have changed - the - name of the top folder in each package to OpenSceneGraph-x.y.z - - Noone else has had an opinion on whether compiler and it's - version - should be part of the package filename on their platform/setup so - I'll - leave it as is. That is - No action is taken for compilers other - than - msvc but one can easily add this information to the cmake cache - regardless of platform. - " - -2009-01-21 18:23 robert - - * src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/ac/ac3d.cpp, src/osgPlugins/bsp/Q3BSPReader.cpp, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/Surface.cpp, src/osgPlugins/lwo/old_Lwo2.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/mdl/MDLReader.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osgViewer/View.cpp, - src/osgPlugins/osgVolume/ImageLayer.cpp, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/x/ReaderWriterDirectX.cpp: Replaced - readImageFile() usage with readRefImageFile() to prevent - threading issues with caching of imagery in the osgDB::Registry - cache. - -2009-01-21 17:10 robert - - * src/osgDB/Registry.cpp: From Jason Beverage, "I realized today - that there is an issue with the Registry changes I submitted to - allow plugins to have the first go at URLs. - - The code works fine as is if the format plugin is not already - loaded in memory. - - If a plugin is already in memory, say the PNG plugin for example, - then a call to readImageFile("http://server.com/image.png") will - return FILE_NOT_FOUND because osgDB::findDataFile will not be - able to locate the file. So the Registry::read method is - returning before the CURL plugin is given a chance to download - the file. - - I've made a few changes to the Registry to not return - FILE_NOT_FOUND if the filename contains a URL that fix the - issue." - -2009-01-21 14:37 robert - - * src/osgText/Text.cpp: From Sherman Wilcox, "Minor change to the - glPushAttrib(...) call in - renderWithStencilBuffer(...) - added GL_STENCIL_BUFFER_BIT" - -2009-01-21 14:27 robert - - * examples/osgvolume/osgvolume.cpp, - include/osgVolume/RayTracedTechnique, - include/osgVolume/ShaderTechnique, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgPlugins/osgVolume/CMakeLists.txt, - src/osgPlugins/osgVolume/RayTracedTechnique.cpp, - src/osgPlugins/osgVolume/ShaderTechnique.cpp, - src/osgVolume/CMakeLists.txt, - src/osgVolume/RayTracedTechnique.cpp, - src/osgVolume/ShaderTechnique.cpp, - src/osgWrappers/osgVolume/RayTracedTechnique.cpp, - src/osgWrappers/osgVolume/ShaderTechnique.cpp: Renamed - ShaderTechnique to RayTracedTechnique - -2009-01-21 12:06 robert - - * examples/osgvolume/osgvolume.cpp, src/osgVolume/Property.cpp: - Cleaned up osgvolume - -2009-01-21 11:46 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Property, - src/osgVolume/Property.cpp, - src/osgWrappers/osgVolume/Property.cpp: Introduced the ability to - switch between different visual properties in osgVolume - -2009-01-20 17:53 robert - - * src/osgWrappers/genwrapper.conf, - src/osgWrappers/osgVolume/Property.cpp: Updated wrappers - -2009-01-20 17:41 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Property, - src/osgVolume/CMakeLists.txt, src/osgVolume/Layer.cpp, - src/osgVolume/Property.cpp, src/osgVolume/ShaderTechnique.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp: Moved - PropertyAdjustmentCallback from osgvolume.cpp into osgVolume. - - Updated lighting shaders. - -2009-01-20 15:30 robert - - * src/osgVolume/Shaders/volume_lit.cpp, - src/osgVolume/Shaders/volume_lit_tf.cpp: Removed redundent shader - files - -2009-01-20 15:29 robert - - * src/osgVolume/ShaderTechnique.cpp, - src/osgVolume/Shaders/volume_lit.cpp, - src/osgVolume/Shaders/volume_lit_frag.cpp, - src/osgVolume/Shaders/volume_lit_tf.cpp, - src/osgVolume/Shaders/volume_lit_tf_frag.cpp: Added lighting - based shaders - -2009-01-20 15:06 robert - - * examples/osgvolume/osgvolume.cpp: Added event key variables - -2009-01-20 13:50 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Property, - src/osgVolume/Property.cpp, src/osgVolume/ShaderTechnique.cpp, - src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_n_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_n_frag.cpp: Added support for - SampleDensityProperty and TransparencyProperty - -2009-01-20 12:39 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Property, - src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/Property.cpp, src/osgVolume/ShaderTechnique.cpp, - src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_n_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_n_frag.cpp: Added AlphaFunc - support into osgVolume::AlphaFuncProperty. - -2009-01-20 11:34 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Fixed compile error - when using ITK - -2009-01-17 17:23 robert - - * examples/osgvolume/osgvolume.cpp: Updated event callback to be - able to update iso surface value. -2009-01-17 17:23 robert - - * src/osgVolume/ShaderTechnique.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp: Updated Uniform - name for controlling IsoSurfaceValue - -2009-01-17 16:00 robert - - * src/osgWrappers/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/osgVolume/Layer.cpp, - src/osgWrappers/osgVolume/Property.cpp, - src/osgWrappers/osgVolume/VolumeTile.cpp: Updated wrappers -2009-01-16 17:59 robert +Mon, 8 Oct 2012 16:14:23 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I've added CDATA tag support to XmlParser so that we can keep user data (e.g., GLSL shader texts) in XML files without parsing them. This will be necessary for the coming-soon effect compositor submission. :-)" - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Layer, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/Layer.cpp, src/osgVolume/ShaderTechnique.cpp: - Removed old volume rendering scene graph code from osgvolume - example. - - Moved createNormalMapTexture and applyTransferFunction functions - from osgvolume example into include/osgVolume/Layer. - -2009-01-16 16:21 robert - - * include/osgVolume/FixedFunctionTechnique, - src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/ShaderTechnique.cpp: Completed firt pass - implementation FixedFunction and ShaderTechnique. - -2009-01-16 11:27 robert - - * examples/osgvolume/osgvolume.cpp, - include/osgVolume/FixedFunctionTechnique, - include/osgVolume/Property, - src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/Property.cpp: Moved basics of fixed function - pipeline implementation from osgvolume example into osgVolume - -2009-01-16 10:34 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Added default use of - osgVolume::ShaderTechnique - -2009-01-16 10:23 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Layer, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgPlugins/osgVolume/ImageLayer.cpp, src/osgVolume/Layer.cpp: - Introduced ImageLayer computeMinMax + rescaling methods, and use - of rescaleToZeroToOneRange by default. - -2009-01-15 15:57 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Layer, - include/osgVolume/Property, include/osgVolume/VolumeTile, - src/osgVolume/Layer.cpp, src/osgVolume/Property.cpp, - src/osgVolume/ShaderTechnique.cpp, src/osgVolume/VolumeTile.cpp: - Introduce osgVolume::PropertVisitor, and IsoSurface, - MaximumImageProjection, Ligting and AlphaFunc Properties - -2009-01-15 10:44 robert - - * include/osg/Camera, src/osg/Camera.cpp, - src/osgWrappers/osgTerrain/Terrain.cpp, - src/osgWrappers/osgVolume/Volume.cpp, - src/osgWrappers/osgVolume/VolumeTile.cpp: Removal of rendundant - characters from Camera and Camera.cpp. - - Updated wrappers - -2009-01-15 10:36 robert - - * include/osg/Camera, src/osg/Camera.cpp: From Rudolf Wiedemann, - "attached is the osg::Camera class (based on revision 9493), - where - methods - getProjectionMatrixAsOrtho() - getProjectionMatrixAsFrustum() - getProjectionMatrixAsPerspective() - getViewMatrixAsLookAt() (2x) - are now const, as they only call const methods of osg::Matrixf/d. - " - -2009-01-14 20:43 robert - - * include/osgTerrain/Terrain, include/osgVolume/Volume, - src/osgPlugins/osgVolume/Volume.cpp: Changed setVolumeTechnique - to setVolumeTechniquePrototype() - -2009-01-14 20:38 robert - - * include/osgVolume/Volume, include/osgVolume/VolumeTile, - src/osgVolume/ShaderTechnique.cpp: Added VolumeTechnique to - Volume - -2009-01-14 20:32 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/osgVolume, - src/osgPlugins/osgVolume/CMakeLists.txt, - src/osgPlugins/osgVolume/FixedFunctionTechnique.cpp, - src/osgPlugins/osgVolume/ImageLayer.cpp, - src/osgPlugins/osgVolume/Layer.cpp, - src/osgPlugins/osgVolume/Locator.cpp, - src/osgPlugins/osgVolume/ShaderTechnique.cpp, - src/osgPlugins/osgVolume/Volume.cpp, - src/osgPlugins/osgVolume/VolumeTile.cpp: Added osgVolume .osg - plugin - -2009-01-14 15:16 robert - - * examples/osgvolume/osgvolume.cpp, include/osgVolume/Export, - include/osgVolume/FixedFunctionTechnique, - include/osgVolume/Layer, include/osgVolume/Locator, - include/osgVolume/Property, include/osgVolume/ShaderTechnique, - include/osgVolume/Version, include/osgVolume/Volume, - include/osgVolume/VolumeTechnique, include/osgVolume/VolumeTile, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/CMakeLists.txt, src/osgVolume/Layer.cpp, - src/osgVolume/Locator.cpp, src/osgVolume/Property.cpp, - src/osgVolume/ShaderTechnique.cpp, src/osgVolume/Version.cpp, - src/osgVolume/Volume.cpp, src/osgVolume/VolumeTechnique.cpp, - src/osgVolume/VolumeTile.cpp, - src/osgWrappers/osgVolume/FixedFunctionTechnique.cpp, - src/osgWrappers/osgVolume/Layer.cpp, - src/osgWrappers/osgVolume/Property.cpp, - src/osgWrappers/osgVolume/ShaderTechnique.cpp, - src/osgWrappers/osgVolume/VolumeTile.cpp: Introduced - osgVolume::Property, CompositePropery and TransferFunctionPropety - classes - -2009-01-14 10:32 robert - - * src/osgPlugins/OpenFlight/PaletteRecords.cpp: From Lionel - Lagarde, "The last field of the LightPointAppearancePalette is - only valid for > 15.8 version of - the format." - -2009-01-13 17:51 robert - - * src/osgVolume/ShaderTechnique.cpp: Integrated state setup code - from osgvolume.cpp example into ShaderTechnique path. - -2009-01-13 17:20 robert - - * examples/osgvolume/osgvolume.cpp, - include/osgVolume/FixedFunctionTechnique, - include/osgVolume/ShaderTechnique, include/osgVolume/VolumeTile, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/CMakeLists.txt, - src/osgVolume/FixedFunctionTechnique.cpp, - src/osgVolume/Layer.cpp, src/osgVolume/ShaderTechnique.cpp, - src/osgVolume/Shaders, src/osgVolume/Shaders/volume_frag.cpp, - src/osgVolume/Shaders/volume_iso_frag.cpp, - src/osgVolume/Shaders/volume_mip_frag.cpp, - src/osgVolume/Shaders/volume_n_frag.cpp, - src/osgVolume/Shaders/volume_tf_frag.cpp, - src/osgVolume/Shaders/volume_tf_iso_frag.cpp, - src/osgVolume/Shaders/volume_tf_mip_frag.cpp, - src/osgVolume/Shaders/volume_tf_n_frag.cpp, - src/osgVolume/Shaders/volume_vert.cpp, - src/osgVolume/VolumeTile.cpp: Introduced class interfaces for - FixedFunctionTechnique and ShaderTechnique volume rendering - techniques. - -2009-01-13 10:15 robert - - * src/osgPlugins/CMakeLists.txt: Added ZLIB_FOUND to dicom - qualification - -2009-01-13 10:12 robert - - * src/osgPlugins/dicom/CMakeLists.txt: Added a / in front of the - ${DCMTK_ROOT_INCLUDE_DIR} to workaround a CMake bug that ignores - /usr/local/include directories. - - Added ZLIB to include line. - -2009-01-12 17:41 robert - - * src/osgPlugins/dicom/CMakeLists.txt: Added test message - -2009-01-12 16:37 robert - - * CMakeModules/FindOurDCMTK.cmake, - src/osgPlugins/dicom/CMakeLists.txt, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Further tweak to - include paths - -2009-01-12 16:10 robert - - * CMakeModules/FindOurDCMTK.cmake, - src/osgPlugins/dicom/CMakeLists.txt, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Restructured the - include paths - -2009-01-12 13:12 robert - - * examples/osgvolume/osgvolume.cpp: Changed to use ref_ptr<> for - scene model to avoid crash - -2009-01-12 11:34 robert - - * CMakeLists.txt, CMakeModules/OsgCPack.cmake, - CMakeModules/OsgCPackConfig.cmake.in: From Mattias Helsing, "'ve - finally finished the rework of the packaging support. It is - streamlined for tgz and has most of the features that Robert, J-S - and - Sukender requested in december. I have an idea of how to discover - the - vc80 sp1 or not but haven't had time to implement. The script is - completely reworked and now doesn't include cmakes' bundled - CPack.cmake script at all. In summary: - - * filenames are - ---[-compiler]-.tar.gz, - ex. libopenscenegraph-2.7.9-Linux-i386-Release.tar.gz, - libopenthreads-dev-2.7.9-win32-x86-vc80sp1-Debug.tar.gz - - * targets (projects in msvs) are generated for each specified - component, a target that packages everything that is installed - (openscenegraph-all) and there's a target for running all other - packaging targets (Package ALL on msvs, package_ALL in unix - makefiles). - - * It is possible to set the compiler in ccmake (cmake-gui, - whatever you use) - - * the top folder in packages is the same for all packages - (OpenSceneGraph-x.y) - - * the packaging support is limited with cmake-2.6.0 and not as - dynamic. With cmake-2.6.1 and later building the gdal plugin (for - example) will create a package_libopenscenegraph-gdal target. - With - cmake-2.6.0 only the ones that are always built - (libopenscenegraph, - libopenscenegraph-dev, openscenegraph, libopenthreads, - libopenthreads-dev - - * i found a better way to decide whether cpack is available to - guard - the BUiLD_OSG_PACKAGES option" - -2009-01-09 19:53 robert - - * CMakeLists.txt: From Mattias Helsing, "Following reports by - Alberto and Simon this submission reenables usage - of cmake-2.6.0. As a side note I just installed cmake from the - ubuntu - repositories and got cmake-2.6.0-4ubuntu2 and this one produced - the - currect CMAKE_CXX_FLAGS_RELEASE (-O3 -DNDEBUG). This CMakeLists - is - tested on linux with cmake versions 2.4.8, 2.6.0, 2.6.2 and - 2.6.0-4ubuntu2 - - * Added quotes around CMAKE_CXX_FLAGS var to help cmake-2.6.0 - pick up - that it really is a string value - - * Removed quotes around values that we set in - OSG_AGGRESIVE_WARNING_FLAGS. This makes - OSG_AGGRESIVE_WARING_FLAGS be - of LIST type so the foreach constructs can behave as I planned." - -2009-01-09 15:57 robert - - * examples/osganimationskinning/osganimationskinning.cpp: Fixed - warning - -2009-01-09 15:55 robert - - * src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWriter.cpp: Fixed warnings - -2009-01-09 15:25 robert - - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version number for - next dev release - -2009-01-09 15:19 robert - - * examples/osgvolume/osgvolume.cpp, include/osg/ImageUtils, - include/osgVolume/ImageUtils, include/osgVolume/Locator, - include/osgVolume/VolumeTile, src/osg/CMakeLists.txt, - src/osg/ImageUtils.cpp, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgPlugins/pdf/CMakeLists.txt, - src/osgPlugins/pdf/ReaderWriterPDF.cpp, - src/osgVolume/CMakeLists.txt, src/osgVolume/ImageUtils.cpp, - src/osgVolume/VolumeTile.cpp, - src/osgWrappers/osgVolume/Locator.cpp, - src/osgWrappers/osgVolume/VolumeTile.cpp: Moved - osgVolume::ImageUtils to osg::ImageUtils, updated wrappers, and - started moving osgvolume example across to create osgVolume - subgraphs - -2009-01-09 15:11 robert - - * src/osgPlugins/bsp/ReaderWriterBSP.cpp: Fix of warning reported - on CDash - -2009-01-09 15:09 robert - - * src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/PixelBufferWin32.cpp: Fixed warnings reported on - CDash - -2009-01-09 12:21 robert - - * src/osgPlugins/dae/daeWTransforms.cpp: From Roland Smeenk, - "Attached is a fix for the Collada plugin. A - PositionAttitudeTransform wrote its place elements in the wrong - order." - -2009-01-09 12:17 robert - - * applications/osgfilecache/osgfilecache.cpp, - include/osgDB/FileUtils, src/osgDB/ConvertUTF.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Registry.cpp, src/osgParticle/PrecipitationEffect.cpp, - src/osgPlugins/ac/ac3d.cpp, src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/normals/ReaderWriterNormals.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/Texture.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp, - src/osgShadow/ConvexPolyhedron.cpp, src/osgViewer/Viewer.cpp, - src/osgWidget/Util.cpp: From Andy Skinner, fixes for Solaris - build - -2009-01-08 14:52 robert - - * examples/osganimationskinning/osganimationskinning.cpp: From - Cedric Pinson, "Here the updated osganimationskinning.cpp that - works as before" - -2009-01-08 12:47 robert - - * examples/osggeometryshaders/osggeometryshaders.cpp: Added missing - *. - -2009-01-08 11:35 robert - - * CMakeLists.txt: Commented out the warning disabling block - -2009-01-08 11:28 robert - - * CMakeLists.txt: From Mattias Helsing, added back in missing wd - entries. - -2009-01-08 11:26 robert - - * CMakeLists.txt: From Mattias Helsing, "With msvc90 on vista and - cmake-2.6.2 i had to rearrange the blocks - that set aggressive warnings in CMAKE_CXX_FLAGS and the on that - processes the source tree(s) or the newly set flags wouldn't take - effect until second consecutive configure. - - I also replaced the internally cached variables that managed the - aggresive warnings with explicit adding and removing of flags in - CXX_FLAGS - - For apple we first required min cmake version 2.6.0 and then had - code - warning about using 2.4.x" - -2009-01-08 11:19 robert - - * include/osg/GLExtensions, src/osg/State.cpp: Added checked from - the ARG version of glDraw*Instanced(). - -2009-01-08 11:18 robert - - * src/osgWrappers/osgAnimation/modified.gw: Removed inappropriate - file - -2009-01-08 11:16 robert - - * include/OpenThreads/Atomic: From Andy Skinner, "I added a - const_cast for a call to atomic_cas_ptr, which takes a void* and - has been given a const void* const." - -2009-01-08 11:15 robert - - * include/OpenThreads/Atomic: From Blasius Czink, "It seems there - is no atomic_xor_uint_nv(). I - attached a changed version of the Atomic header where a mutex - fallback - is used for "xor" on solaris." - -2009-01-08 10:34 robert - - * CMakeLists.txt, include/osg/Export: Moved supression of VS - warning C4706 from the include/osg/Export header into the CMake - options list. Added suppression of C4127 as well. - -2009-01-07 15:35 robert - - * include/osg/NodeVisitor: Fixed assingment operator - -2009-01-07 15:33 robert - - * include/osg/Export: Added supression VS warning "C4706: - assignment within conditional expression" thanks gets spat out - even for perfectly valid if ((variable=expression)) {} usage. - -2009-01-07 14:49 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/View.cpp: Added - handling of when a View isn't yet assigned to a Viewer to avoid - associated crash - -2009-01-07 13:16 robert - - * src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osgAnimation/Bone.cpp, - src/osgWrappers/osgAnimation/Timeline.cpp, - src/osgWrappers/osgAnimation/VertexInfluence.cpp, - src/osgWrappers/osgAnimation/modified.gw, - src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2009-01-07 12:27 robert - - * src/osg/Geometry.cpp, src/osg/GraphicsThread.cpp, - src/osg/Hint.cpp, src/osg/KdTree.cpp, - src/osg/MatrixDecomposition.cpp, src/osg/OcclusionQueryNode.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/ImagePager.cpp, - src/osgDB/Registry.cpp, - src/osgGA/CameraViewSwitchManipulator.cpp: Fixed warnings - -2009-01-07 11:24 robert - - * examples/osganimationmakepath/osganimationmakepath.cpp, - examples/osganimationnode/osganimationnode.cpp, - examples/osganimationskinning/osganimationskinning.cpp, - examples/osganimationsolid/osganimationsolid.cpp, - examples/osganimationtimeline/osganimationtimeline.cpp, - examples/osganimationviewer/AnimtkViewerGUI.cpp, - examples/osganimationviewer/AnimtkViewerKeyHandler.cpp, - examples/osgdrawinstanced/osgdrawinstanced.cpp, - examples/osggeometryshaders/osggeometryshaders.cpp, - examples/osghud/osghud.cpp, - examples/osgimagesequence/osgimagesequence.cpp, - examples/osgmemorytest/osgmemorytest.cpp, - examples/osgterrain/osgterrain.cpp, - examples/osgunittests/UnitTestFramework.h, - src/OpenThreads/win32/Win32Thread.cpp, src/osg/dxtctool.h, - src/osgDB/DynamicLibrary.cpp, src/osgDB/FileUtils.cpp, - src/osgGA/CameraViewSwitchManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, src/osgGA/UFOManipulator.cpp, - src/osgManipulator/RotateCylinderDragger.cpp, - src/osgManipulator/RotateSphereDragger.cpp, - src/osgManipulator/Scale1DDragger.cpp, - src/osgManipulator/Scale2DDragger.cpp, - src/osgManipulator/Translate1DDragger.cpp, - src/osgManipulator/Translate2DDragger.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.h, - src/osgPlugins/OpenFlight/MaterialPaletteManager.h, - src/osgPlugins/OpenFlight/TexturePaletteManager.h, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/hdr/ReaderWriterHDR.cpp, - src/osgPlugins/lwo/iffparser.h, src/osgPlugins/lwo/lwo2parser.h, - src/osgPlugins/mdl/MDLReader.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.h, - src/osgPlugins/txp/TXPParser.cpp, - src/osgPlugins/txp/TileMapper.cpp, - src/osgUtil/TriStrip_tri_stripper.h, - src/osgViewer/PixelBufferWin32.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Fixed warnings - -2009-01-07 10:32 robert - - * include/OpenThreads/ReadWriteMutex, - include/osg/TemplatePrimitiveFunctor, include/osgAnimation/Bone, - include/osgAnimation/Timeline, - include/osgAnimation/VertexInfluence, - include/osgDB/ParameterOutput, - include/osgGA/CameraViewSwitchManipulator, - include/osgSim/ObjectRecordData, include/osgSim/OverlayNode, - include/osgTerrain/Layer, include/osgTerrain/ValidDataOperator, - include/osgViewer/ViewerEventHandlers, include/osgVolume/Locator, - include/osgWidget/Browser, include/osgWidget/EventInterface: - Fixed warnings - -2009-01-07 09:49 robert - - * include/osg/NodeVisitor: Added a protected = operator - -2009-01-06 19:09 robert - - * examples/osganimationskinning/osganimationskinning.cpp, - include/osgAnimation/Assert, include/osgAnimation/Channel, - include/osgAnimation/Interpolator, include/osgAnimation/Sampler, - include/osgAnimation/Skinning, - src/osgAnimation/AnimationManager.cpp, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/BasicAnimationManager.cpp: Removed the usage of - assert to prevent associated compile warnings and to clean up - code - -2009-01-06 19:08 robert - - * examples/osganimationviewer/AnimtkViewerGUI.cpp: Updated path to - reflect where the new button images are located. - -2009-01-06 16:45 robert - - * examples/osgviewerQT/QOSGWidget.cpp: From Don Leich, "Here are a - couple of fixes for the file examples/osgviewerQT/QOSGWidget.cpp - to - address some OS X issues. Most of these fixes were previously - submitted by Julian Scheid. However, this patch however should - not break the example for non-OS X builds and has been tested on - 64-bit Linux as well as Mac OS X 10.5. - - o The value returned by QWidget::winId() is not usable as input - for - WindowData under OS X the way it is for both Windows and Unix. - Julian's fix - for this uses the Carbon API. Since the fix for X11 in unknown, - it is now - assumed that OSG has been built with - OSG_WINDOWING_SYSTEM='Carbon' for this - example to work at all when running under OS X. - - o The CompositeViewer version would hang on exit with the - original timer start - argument. Changing the argument value to match the non-composite - version - seemed to cure the hanging. - - o Julian's patch altered the setGeometry position to 30/30 in - order to see any - window decorations. I did not have this problem, but left his - changes intact. - - o The non-composite viewer needed it's camera initialization - defered until - after the ViewerQOSG's Qt base class had been initialized. - Otherwise, the view - did not cover the entire window. - " - -2009-01-06 16:35 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: From Ewe - Woesnner, "the Inventor loader crashes when a texture could not - be loaded. - - Please find attached a small fix which solves this issue." - -2009-01-06 16:16 robert - - * src/osgWidget/Input.cpp, src/osgWidget/WindowManager.cpp: From - Sergey Leontyev, "Some minor(but important) bug fixes for - osgWidget: - - - - 1. In WindowManager.cpp childRemoved method the second parameter - "end" is misleading and - - should be named "numChildren" instead. It represents how many - children to remove. As a result, the method was implemented - incorrectly and failed to remove UI objects. So I fixed it. - - - - replaced this: - - - - void WindowManager::childRemoved(unsigned int start, unsigned int - end) { - while(start < end) { - Window* window = getByIndex(start); - - if(!window) continue; - - if(_remove(window)) { - window->_index = -1; - - window->unmanaged(this); - } - - start++; - } - } - - - - with this: - - void WindowManager::childRemoved(unsigned int start, unsigned int - numChildren) { - for (unsigned int i = start; i < start+numChildren; i++) - { - Window* window = getByIndex(i); - - if(!window) continue; - - if(_remove(window)) { - window->_index = -1; - - window->unmanaged(this); - } - } - } - - - - 2. in Input.cpp - - - - The cursor in Input did not get positioned correctly, probably as - a left over from the TOP LEFT origin system which is now BOTTOM - LEFT. - - in method positioned() - - replaced this: - - _cursor->setOrigin(x + xoffset + 1.0f, y - _cursor->getHeight() + - 1.0f); - - - - with this: - - _cursor->setOrigin(x + xoffset + 1.0f, y + 1.0f); - - - - Now it is placed correctly. - - " - -2009-01-06 15:41 robert - - * src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/State.cpp, src/osgWrappers/osg/Timer.cpp: - Updated wrappers - -2009-01-06 15:11 robert - - * examples/CMakeLists.txt, examples/osgdrawinstanced, - examples/osgdrawinstanced/CMakeLists.txt, - examples/osgdrawinstanced/osgdrawinstanced.cpp: From Paul Martz, - example demonstating new draw instanced primitive funcitonality. - -2009-01-06 14:55 robert - - * include/osg/PrimitiveSet, include/osg/State, - src/osg/PrimitiveSet.cpp, src/osg/State.cpp, - src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/PrimitiveSet.cpp, - src/osgPlugins/osg/Geometry.cpp: Added support for primitive - instancing - -2009-01-05 18:07 robert - - * CMakeLists.txt: From Jean-Sebastien Guay, changed VS aggressive - warnings setting to just /W4. - -2009-01-05 17:52 robert - - * examples/osgviewerQT/QOSGWidget.cpp: From Don Leich, build fix - for OSX. - -2009-01-05 17:35 robert - - * src/osgDB/Registry.cpp: From Jason Beverage, "I thought about the - issue I was having with the CURL plugin automatically trying to - download all filenames with URL's rather than passing the full - URL to the plugin. It turns out the solution was pretty simple. - - I've made a small change to Registry.cpp that puts the CURL logic - AFTER the URL has been passed to the plugin rather than assuming - all URL's need to be downloaded by the CURL plugin. This way, - plugins can have first crack at the URL's, and if they don't - handle it the previous CURL behavior kicks in." - -2009-01-05 17:06 robert - - * examples/osgpoints/osgpoints.cpp: From Paul Martz, added --points - option for forcing points rendering of polygonal models - -2009-01-05 16:53 robert - - * include/osgGA/CameraViewSwitchManipulator, - src/osgGA/CMakeLists.txt, - src/osgGA/CameraViewSwitchManipulator.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWriter.h: From Roland Smeenk, "Attached you - will find an improved Collada plugin to properly support - camera's. - A Collada camera will be added to the scenegraph as - osg::CameraView. This allows the user to create a set of - predefined camera viewpoints. I also added a new - MatrixManipulator to osgGA called CameraViewSwitchManipulator and - added usage of this to the osgviewer example. This manipulator - allows switching between the predefined camera viewpoints. The - current design limition I ran into is that a MatrixManipulator - only manipulates the ViewMatrix, but for this particular - manipulator I also want to update the projectionMatrix of the - camera when switching to a new viewpoint. This is not implemented - because I don't know what would be the best way to design it. Any - ideas? - - Furthermore Collada also supports orthographic camera's, where an - osg::CameraView only supports a perspective camera. Would it be - useful to create a CameraView with customizable optics for this?" - -2009-01-05 12:21 robert - - * src/osgWrappers/osgVolume/Layer.cpp, - src/osgWrappers/osgVolume/Locator.cpp, - src/osgWrappers/osgWidget/Label.cpp: Updated wrappers - -2009-01-05 11:58 robert - - * include/osg/Timer: From Paul Martz, Correction to Timer method - comment. - -2009-01-05 11:31 robert - - * include/osgWidget/Label: From Cedric Pinson, added non const - getText() method - -2009-01-05 11:26 robert - - * include/osg/BoundingSphere, include/osgTerrain/Locator, - include/osgVolume/Layer, include/osgVolume/Locator, - src/osgTerrain/Locator.cpp, src/osgVolume/CMakeLists.txt, - src/osgVolume/Layer.cpp, src/osgVolume/Locator.cpp: Introduced - osgVolume::Layer and Locator classes mirrroring similar classes - in osgTerrain. - -2009-01-05 10:13 robert - - * CMakeLists.txt: Change the aggressive warning level under VS to - /W3 - -2008-12-24 11:05 robert - - * src/osgPlugins/vtf/ReaderWriterVTF.cpp: Fixed warning - -2008-12-24 10:30 robert - - * src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPReader.cpp: Fixed warnings - -2008-12-22 21:17 robert - - * CMakeLists.txt: Made aggressive warnings the default. - -2008-12-22 21:16 robert - - * src/osgPlugins/mdl/BodyPart.cpp, - src/osgPlugins/mdl/MDLReader.cpp, src/osgPlugins/mdl/MDLRoot.cpp, - src/osgPlugins/mdl/Model.cpp, src/osgPlugins/mdl/VTXReader.cpp, - src/osgPlugins/mdl/VVDReader.cpp: Fixed warnings - -2008-12-22 18:30 robert - - * src/osgPlugins/mdl/MDLReader.h, src/osgPlugins/mdl/VVDReader.h: - Build fix - -2008-12-22 08:26 robert - - * applications/osgconv/osgconv.cpp: From Paul Martz, "Typing - "osgconv" alone displays the --help family of options, as it - should, but it also displays info about --formats and --plugins, - which seems out of place because no other options are mentioned - here. - - The code changes osgconv so that "osgconv --help" displays help - info about --formats and --plugins, plus it also displays - documentation for --format and --plugin, which were previously - missing." - -2008-12-21 20:42 robert - - * include/osgVolume/VolumeTile, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/VolumeTile.cpp, - src/osgWrappers/osgVolume/VolumeTile.cpp: Changed - VolumeTile::setImage(Image*) to setImage(uint i, Image*) to allow - multiple images to be attached to single tile - -2008-12-21 20:24 robert - - * CMakeLists.txt: From Mattias Helsing, "Replace the IF(POLICY - CMP0008) with an absolute version check for - cmake > 2.6.0. - The POLICY keyword is only valid starting with cmake-2.4.7 so - using it - broke cmake 2.4.5/6 support." - -2008-12-20 20:55 robert - - * include/osgVolume/Brick, include/osgVolume/Volume, - include/osgVolume/VolumeTechnique, include/osgVolume/VolumeTile, - src/osgPlugins/dicom/CMakeLists.txt, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/Brick.cpp, src/osgVolume/CMakeLists.txt, - src/osgVolume/Volume.cpp, src/osgVolume/VolumeTechnique.cpp, - src/osgVolume/VolumeTile.cpp, - src/osgWrappers/osgVolume/Brick.cpp, - src/osgWrappers/osgVolume/Volume.cpp, - src/osgWrappers/osgVolume/VolumeTechnique.cpp, - src/osgWrappers/osgVolume/VolumeTile.cpp: Renamed - osgVolume::Brick to osgVolume::VolumeTile - -2008-12-20 20:30 robert - - * src/osgPlugins/bsp/Q3BSPReader.cpp: Changed the scale from 0.03 - to 0.0254 as the Q3 bsp files are in inches. - -2008-12-20 13:35 robert - - * src/osgDB/FileUtils.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/bsp/CMakeLists.txt, - src/osgPlugins/bsp/ReaderWriterBSP.cpp, - src/osgPlugins/bsp/ReaderWriterVTF.cpp, - src/osgPlugins/bsp/VBSPData.cpp, src/osgPlugins/bsp/VBSPData.h, - src/osgPlugins/bsp/VBSPEntity.cpp, - src/osgPlugins/bsp/VBSPEntity.h, - src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPGeometry.h, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/bsp/VBSPReader.h, - src/osgPlugins/bsp/VBSP_README.txt, src/osgPlugins/mdl, - src/osgPlugins/mdl/BodyPart.cpp, src/osgPlugins/mdl/BodyPart.h, - src/osgPlugins/mdl/CMakeLists.txt, - src/osgPlugins/mdl/MDLLimits.h, src/osgPlugins/mdl/MDLReader.cpp, - src/osgPlugins/mdl/MDLReader.h, src/osgPlugins/mdl/MDLRoot.cpp, - src/osgPlugins/mdl/MDLRoot.h, src/osgPlugins/mdl/MDL_README.txt, - src/osgPlugins/mdl/Mesh.cpp, src/osgPlugins/mdl/Mesh.h, - src/osgPlugins/mdl/Model.cpp, src/osgPlugins/mdl/Model.h, - src/osgPlugins/mdl/ReaderWriterMDL.cpp, - src/osgPlugins/mdl/ReaderWriterMDL.h, - src/osgPlugins/mdl/VTXReader.cpp, src/osgPlugins/mdl/VTXReader.h, - src/osgPlugins/mdl/VVDReader.cpp, src/osgPlugins/mdl/VVDReader.h, - src/osgPlugins/vtf, src/osgPlugins/vtf/CMakeLists.txt, - src/osgPlugins/vtf/ReaderWriterVTF.cpp: From Jason Daly, "'ve - been busy working on the Source engine plugins. There are several - contributions in this submission: - - osgDB/FileUtils.cpp: - Needed this extra code to allow a true case-insensitive search. - This is because the HL2 map and model files are often sloppy with - case. For example, the file might look for - materials/models/alyx/alyx_sheet.vtf, but the file is actually in - materials/Models/Alyx/alyx_sheet.vtf. In case-insensitive mode, - the new code recursively disassembles the path and checks each - path element without regard to case. In case-sensitive mode, the - code behaves exactly as it used to. The new code is also mostly - skipped on Windows because of the case-insensitive file system. - Previously, I did all of this with custom search code in the .bsp - plugin, but this allows the user to tailor the search using - OSGFILEPATH. There are some instructions in the plugins' README - files about this. - - osgPlugins/mdl: - This is a new plug-in for Half-Life 2 models (as opposed to - maps). This allows you to load Source models individually, as - well as allowing the .bsp plugin to load models (props) that are - embedded into maps. Mdl files can contain simple object (crates, - barrels, bottles), as well as fully articulated characters with - skeletal animations. Currently, it can load the simple objects. - It can also load the characters, but it can't load the skeletons - or animations. - - osgPlugins/bsp: - This contains all of the changes needed to load props along with - the basic map geometry. There are also - several bugs fixed. - - osgPlugins/vtf: - This is the loader for Valve's texture format. Previously, we had - agreed to put this in with the bsp plugin, but I didn't think of - the .mdl plugin at that time. It's conceivable that a user might - want to load models individually (not as part of a map), so the - vtf reader does have to be separate. I also fixed a rather - significant bug. - - I tested all of this code on RHEL 5.2 (32-bit), and Fedora 9 - (64-bit). I'll be testing on Windows soon. - - I also attached a simple .mdl file, along with it's associated - files and textures. Just extract the tarball into it's own - directory, set your OSGFILEPATH to point at that directory, and - load the model like this: - - osgviewer models/props_junk/gascan001a.mdl" - -2008-12-20 12:52 robert - - * src/osgViewer/CMakeLists.txt: Added OPTIONAL into - INCLUDE(FindPkgConfig) - -2008-12-19 19:04 robert - - * ChangeLog: Updated ChangeLog for 2.7.8 dev release - -2008-12-19 18:37 robert - - * applications/CMakeLists.txt: Added osgversion into dynamic build - path - -2008-12-19 18:02 robert - - * src/osgViewer/View.cpp: Removed debug message - -2008-12-19 17:50 robert - - * include/osgViewer/View, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgWrappers/osgViewer/View.cpp: - Moved main setSceneData methods in - osgViewer::View::setSceneData() - -2008-12-19 17:15 robert - - * src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2008-12-19 17:15 robert - - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/ScreenCaptureHandler.cpp: From Jean-Sebastein Guay, - I recently had to reimplement screen capture functionality into - our framework (which was broken since the switch from OSG 1.2 to - 2.2 over a year and a half ago). I used the ScreenCaptureHandler - which I had contributed right before OSG 2.6 shipped, bit I had - to trigger the screen capture programatically instead of by a key - press in some cases, so I added a convenience method to do that. - - It's a minimal change, it just calls an already existing - protected method. It was trivial to subclass the handler to do it - in our code, but pushing the change into OSG makes sense as it's - generally useful to have it in the handler itself. - - I also noticed that the handle() method was overridden from - osgGA::GUIEventHandler but wasn't marked virtual. It wasn't - intended that subclasses not be able to override it in turn, so - I've added the keyword."" - -2008-12-19 16:59 robert - - * src/osgPlugins/gz/ReaderWriterGZ.cpp: Fixed warning - -2008-12-19 16:35 robert - - * src/osgPlugins/Inventor/ConvertToInventor.cpp: Fixed compile - error during debug build - -2008-12-19 16:13 robert - - * examples/osgprecipitation/osgprecipitation.cpp: Added support for - user defined clipping of the precipitation effect, to test use: - - osgpreciptation lz.osg --clip 20 - - -2008-12-19 16:12 robert - - * src/osgParticle/PrecipitationEffect.cpp: Added setting of the - gl_ClipVertex to enable clip planes to affect preciptation - -2008-12-19 15:29 robert +Mon, 8 Oct 2012 16:12:59 +0000 +Checked in by : Robert OSFIELD +Added a static_cast to avoid build issues under Windows - * include/osg/ClipNode, src/osg/ClipNode.cpp, - src/osgPlugins/ive/ClipNode.cpp, src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/osg/ClipNode.cpp, src/osgUtil/CullVisitor.cpp, - src/osgWrappers/osg/ClipNode.cpp: Added - ClipNode::set/getReferenceFrame(); +Mon, 8 Oct 2012 16:03:16 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2008-12-19 14:30 robert +Mon, 8 Oct 2012 15:10:56 +0000 +Checked in by : Robert OSFIELD +From Aurelein Albert, "Under some Visual Studio configuration, I get compile error on "lib3ds_io.c" due to use of these kind of conversion : b[1] = uint8_t((w & 0xFF00) >> 8); - * src/osgText/CMakeLists.txt: Removed MATH_LIBRARY and FREETYPE - library reference. +I replaced it with : -2008-12-19 12:58 robert + b[1] = (uint8_t)((w & 0xFF00) >> 8); - * include/osgSim/SphereSegment, include/osgWidget/Widget: Fixed - warning & error +And it compiles fine +" -2008-12-19 12:50 robert - * applications/osgviewer/osgviewer.cpp: Reverted previous check-in - to osgviewer.cpp as this was an accididental check-in with the - code only in testing state, not appropriate to be checked-in. -2008-12-19 12:46 robert +Mon, 8 Oct 2012 12:00:53 +0000 +Checked in by : Robert OSFIELD +From Gill Peacegood, "In the attached file I have changed the colour space used for writing images to match the one used for reading images. Also this color space does not make subtle changes to the original colours which i think is probably what most people intend when writing an image and is more consistent with other plugins.The effect is that an image that is written does not have a noticeably different colour when it is read back." - * include/osg/CopyOp: Fixed warning -2008-12-19 12:29 robert - * src/osgShadow/StandardShadowMap.cpp: Fixed warning +Mon, 8 Oct 2012 11:54:40 +0000 +Checked in by : Robert OSFIELD +From Oren Fromberg, "" --This line, and thosAttached is an update to ReaderWriterDAE.cpp/h and daeReader.cpp/h that implementsosgDB::ReaderWriter::ReadResult -2008-12-19 12:28 robert +ReaderWriterDAE::readNode (std::istream&, const osgDB::ReaderWriter::Options*) - * examples/osgshadow/osgshadow.cpp: Added StandardShadowMap to list - to test cases +This virtual function had never been implemented in ReaderWriterDAE. I implemented this function because the DAE plugin could not load files from other ReaderWriter derived objects that use protocol handlers. -2008-12-19 11:36 robert +I have updated function declarations in the header to have identical signatures with the base class declarations that include the default parameter. - * applications/osgviewer/osgviewer.cpp, - src/osgWrappers/genwrapper.conf, - src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osgAnimation/modified.gw: Updated wrappers - -2008-12-19 11:04 robert - - * CMakeLists.txt, doc/Doxyfiles/doxyfile.cmake: From Mattias - Helsing, " - * Removed processing of include/OpenThreads in the OpenSceneGraph - refman - * Clears the mark_as_advanced property of the BUILD_DOCUMENTATION - cmake variable (so it gets visible in simple view). - " - -2008-12-19 10:20 robert - - * include/osgUtil/SceneView, src/osgWrappers/Doxyfile.template, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/ComputeBoundsVisitor.cpp, - src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/Image.cpp, src/osgWrappers/osg/KdTree.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osgAnimation/Bone.cpp, - src/osgWrappers/osgAnimation/LinkVisitor.cpp, - src/osgWrappers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/osgAnimation/modified.gw, - src/osgWrappers/osgDB/SharedStateManager.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/osgUtil/DrawElementTypeSimplifier.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp: Updated wrappers -2008-12-18 17:40 robert +readNode (std::istream&, …) is nearly identical to readNode(const std::string &, …) except it uses a new private function to convert the file from standard input: - * src/osgParticle/ParticleSystem.cpp: Fixed typo +bool daeReader::convert( std::istream& fin ) -2008-12-18 17:09 robert +When this function is called fileURI is the string “from std::istream†to make the user aware where the file is coming from. Then instead of calling - * CMakeLists.txt: From Bob Kuehne, "minor tweak to the cmake root - file to handle debug correctly on os x." +_dae->open(fileURI) -2008-12-18 17:01 robert - - * src/osgParticle/Particle.cpp, src/osgParticle/ParticleSystem.cpp: - Refactored the handling of particle rotation - -2008-12-18 16:10 robert - - * src/osgPlugins/gecko/llembeddedbrowser.cpp, - src/osgPlugins/gecko/llembeddedbrowserwindow.cpp, - src/osgPlugins/gecko/llmozlib2.h: Fixed warnings - -2008-12-18 15:49 robert - - * src/osgPlugins/3ds/readwrite.cpp, - src/osgPlugins/3ds/viewport.cpp, src/osgPlugins/ac/ac3d.cpp, - src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/dxf/dxfEntity.h, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/lwo2read.h, src/osgPlugins/lwo/old_Lwo2.cpp, - src/osgPlugins/lwo/old_Lwo2.h, src/osgPlugins/lwo/old_lw.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/ogr/ReaderWriterOGR.cpp, - src/osgPlugins/osgShadow/ShadowMap.cpp, - src/osgPlugins/osgShadow/ShadowTechnique.cpp, - src/osgPlugins/osgShadow/ShadowTexture.cpp, - src/osgPlugins/osgShadow/ShadowVolume.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/pdf/ReaderWriterPDF.cpp, - src/osgPlugins/shp/ESRIShape.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/vnc/ReaderWriterVNC.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp: Fixed warnings - -2008-12-18 14:18 robert - - * src/osgText/CMakeLists.txt: Added MATH_LIBRARY to link list - -2008-12-18 13:56 robert - - * examples/osganimationmakepath/osganimationmakepath.cpp, - examples/osganimationviewer/AnimtkViewerKeyHandler, - examples/osgimagesequence/osgimagesequence.cpp, - examples/osglauncher/osglauncher.cpp, - examples/osgmemorytest/osgmemorytest.cpp, - examples/osgmovie/osgmovie.cpp, - examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - examples/osgocclusionquery/osgocclusionquery.cpp, - examples/osgshadow/IslandScene.cpp, - examples/osgsidebyside/osgsidebyside.cpp, - examples/osgunittests/MultiThreadRead.cpp, - examples/osgvolume/osgvolume.cpp, - examples/osgwidgetstyled/osgwidgetstyled.cpp, - examples/osgwidgetwindow/osgwidgetwindow.cpp: Fixed warnings - -2008-12-18 13:23 robert - - * src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.h: Fixed warnings - -2008-12-18 12:29 robert - - * src/osgPlugins/cfg/ConfigParser.cpp: Fixed warning - -2008-12-18 12:27 robert - - * src/osgPlugins/txp/TXPArchive.cpp: Quitened down debug messages - -2008-12-18 12:26 robert - - * src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgPlugins/txp/trpage_material.cpp, - src/osgPlugins/txp/trpage_model.cpp, - src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_range.cpp: Fixed warnings +we call -2008-12-18 12:25 robert +_dae->openFromMemory(fileURI, buffer.data()) - * src/osgUtil/Optimizer.cpp: Quitened down debug message +Where buffer.data() is a pointer to the dae file text in memory. -2008-12-18 11:54 robert - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/osg/ImageSequence.cpp, - src/osgPlugins/osg/StateAttribute.cpp, - src/osgPlugins/osg/StateSet.cpp, src/osgPlugins/osg/Uniform.cpp, - src/osgPlugins/osgViewer/CompositeViewer.cpp, - src/osgPlugins/osgViewer/View.cpp, - src/osgPlugins/osgViewer/Viewer.cpp, src/osgVolume/Brick.cpp: - Fixed warnings - -2008-12-18 11:06 robert - - * include/osg/Image, include/osgAnimation/EaseMotion, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/osgWidget/Box.cpp, - src/osgPlugins/osgWidget/EmbeddedWindow.cpp, - src/osgPlugins/osgWidget/Frame.cpp, - src/osgPlugins/osgWidget/Input.cpp, - src/osgPlugins/osgWidget/Label.cpp, - src/osgPlugins/osgWidget/Table.cpp, - src/osgPlugins/osgWidget/Widget.cpp, - src/osgPlugins/osgWidget/WindowManager.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Locator.cpp, - src/osgTerrain/TerrainTile.cpp: Fixed warnings - -2008-12-17 22:52 robert - - * src/osg/PagedLOD.cpp, src/osgDB/DatabasePager.cpp, - src/osgParticle/ParticleSystem.cpp: Improved the effectiveness of - the new max target number PageLOD's - -2008-12-17 17:23 robert - - * examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp: - From J.P Delport, "I changed the default HDR mode to the ARB - format and put in comments for some other possible modes. - - Some other comment cleanups too." - -2008-12-17 17:11 robert - - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp: Fixed - warnings - -2008-12-17 16:58 robert - - * src/osgDB/DatabasePager.cpp: Fixed inactive PagedLOD removal code - -2008-12-17 16:13 robert +Other changes include private functions to clear caches and to consolidate redundant code that appears between the two convert functions. - * include/osg/StencilTwoSided, include/osg/Texture3D, - src/osg/StencilTwoSided.cpp, src/osg/Texture.cpp, - src/osg/Texture1D.cpp, src/osg/Texture3D.cpp, - src/osgPlugins/ive/HeightFieldLayer.cpp: Fixed warnings - -2008-12-17 16:02 robert - - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/LightPointRecords.cpp, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.cpp, - src/osgPlugins/OpenFlight/MaterialPaletteManager.cpp, - src/osgPlugins/OpenFlight/TexturePaletteManager.cpp, - src/osgPlugins/OpenFlight/TexturePaletteManager.h, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp: Fixed warnings - -2008-12-17 15:36 robert - - * src/osgPlugins/hdr/hdrloader.cpp: Fixed warnings - -2008-12-17 15:32 robert - - * include/osg/GLExtensions, include/osg/VertexProgram, - include/osgAnimation/Timeline, include/osgWidget/PdfReader, - src/osg/GLExtensions.cpp, src/osg/State.cpp, - src/osg/VertexProgram.cpp, src/osgPlugins/hdr/hdrloader.cpp, - src/osgWidget/Input.cpp: Fixed warnings - -2008-12-17 14:56 robert - - * src/osgPlugins/cfg/CameraConfig.h, - src/osgPlugins/cfg/ConfigLexer.cpp, - src/osgPlugins/cfg/ConfigParser.cpp: Fixed warnings - -2008-12-17 13:14 robert - - * include/osg/GL2Extensions, src/osg/GL2Extensions.cpp: Warning - fixes - -2008-12-17 12:13 robert - - * include/osg/CollectOccludersVisitor, - include/osg/ComputeBoundsVisitor, include/osg/KdTree, - include/osg/NodeVisitor, include/osgAnimation/Bone, - include/osgAnimation/LinkVisitor, - include/osgAnimation/RigGeometry, - include/osgDB/SharedStateManager, include/osgGA/EventVisitor, - include/osgSim/InsertImpostorsVisitor, - include/osgUtil/CullVisitor, - include/osgUtil/DisplayRequirementsVisitor, - include/osgUtil/DrawElementTypeSimplifier, - include/osgUtil/GLObjectsVisitor, - include/osgUtil/IntersectVisitor, - include/osgUtil/IntersectionVisitor, include/osgUtil/Simplifier, - include/osgUtil/Statistics, include/osgUtil/UpdateVisitor, - src/osg/Transform.cpp, src/osgDB/DatabasePager.cpp, - src/osgFX/BumpMapping.cpp, src/osgGA/NodeTrackerManipulator.cpp, - src/osgManipulator/Selection.cpp, - src/osgShadow/OccluderGeometry.cpp, src/osgSim/SphereSegment.cpp, - src/osgViewer/View.cpp: Introduce NodeVisitor::className and - libraryName() - -2008-12-17 11:00 robert - - * include/osg/GraphicsContext, include/osgAnimation/Sampler, - include/osgIntrospection/ConstructorInfo, - include/osgIntrospection/MethodInfo, - include/osgIntrospection/PropertyInfo, - include/osgShadow/MinimalDrawBoundsShadowMap, src/osg/Camera.cpp, - src/osg/OcclusionQueryNode.cpp, - src/osgIntrospection/ConstructorInfo.cpp, - src/osgIntrospection/MethodInfo.cpp, - src/osgIntrospection/PropertyInfo.cpp, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgTerrain/Layer.cpp, src/osgText/Font.cpp, - src/osgText/String.cpp: Warning fixes - -2008-12-17 10:34 robert - - * src/osgPlugins/bsp/ReaderWriterVTF.cpp, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp: From Sekender, fixed - warnins - -2008-12-17 10:33 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: Fixed warnings - -2008-12-17 10:01 robert - - * include/osgAnimation/Skeleton: From Jean-Sebastien Guay, added - missing export - -2008-12-16 21:16 robert - - * include/osgWidget/EventInterface, src/osgWrappers/osgAnimation, - src/osgWrappers/osgAnimation/Animation.cpp, - src/osgWrappers/osgAnimation/AnimationManager.cpp, - src/osgWrappers/osgAnimation/AnimationManagerBase.cpp, - src/osgWrappers/osgAnimation/Assert.cpp, - src/osgWrappers/osgAnimation/BasicAnimationManager.cpp, - src/osgWrappers/osgAnimation/Bone.cpp, - src/osgWrappers/osgAnimation/Channel.cpp, - src/osgWrappers/osgAnimation/CubicBezier.cpp, - src/osgWrappers/osgAnimation/EaseMotion.cpp, - src/osgWrappers/osgAnimation/Interpolator.cpp, - src/osgWrappers/osgAnimation/Keyframe.cpp, - src/osgWrappers/osgAnimation/LinkVisitor.cpp, - src/osgWrappers/osgAnimation/RigGeometry.cpp, - src/osgWrappers/osgAnimation/Sampler.cpp, - src/osgWrappers/osgAnimation/Skeleton.cpp, - src/osgWrappers/osgAnimation/Skinning.cpp, - src/osgWrappers/osgAnimation/Target.cpp, - src/osgWrappers/osgAnimation/Timeline.cpp, - src/osgWrappers/osgAnimation/TimelineAnimationManager.cpp, - src/osgWrappers/osgAnimation/UpdateCallback.cpp, - src/osgWrappers/osgAnimation/Vec3Packed.cpp, - src/osgWrappers/osgAnimation/VertexInfluence.cpp, - src/osgWrappers/osgAnimation/modified.gw, - src/osgWrappers/osgAnimation/removed.gw, - src/osgWrappers/osgWidget/PdfReader.cpp, - src/osgWrappers/osgWidget/VncClient.cpp: Updated wrappers - -2008-12-16 20:49 robert - - * examples/osganimationtimeline/osganimationtimeline.cpp, - src/osgPlugins/bvh/ReaderWriterBVH.cpp: Build fixes for when the - implict ref_ptr<> cast is not enabled - -2008-12-16 20:29 robert - - * examples/osganimationmakepath/osganimationmakepath.cpp, - examples/osganimationskinning/osganimationskinning.cpp, - examples/osganimationsolid/osganimationsolid.cpp, - examples/osganimationtimeline/osganimationtimeline.cpp, - examples/osganimationviewer/AnimtkViewer, - examples/osganimationviewer/AnimtkViewer.cpp, - examples/osganimationviewer/AnimtkViewerGUI, - examples/osganimationviewer/AnimtkViewerGUI.cpp, - examples/osgwidgetbox/osgwidgetbox.cpp, - examples/osgwidgetcanvas/osgwidgetcanvas.cpp, - examples/osgwidgetmessagebox/osgwidgetmessagebox.cpp, - examples/osgwidgetprogress/osgwidgetprogress.cpp, - examples/osgwidgetstyled/osgwidgetstyled.cpp, - examples/osgwidgettable/osgwidgettable.cpp, - examples/osgwidgetwindow/osgwidgetwindow.cpp, - include/osgAnimation/AnimationManagerBase, - include/osgAnimation/BasicAnimationManager, - include/osgAnimation/Bone, include/osgAnimation/EaseMotion, - include/osgAnimation/RigGeometry, include/osgAnimation/Skeleton, - include/osgAnimation/Skinning, include/osgAnimation/Timeline, - include/osgAnimation/TimelineAnimationManager, - include/osgWidget/EventInterface, - src/osgAnimation/AnimationManagerBase.cpp, - src/osgAnimation/BasicAnimationManager.cpp, - src/osgAnimation/Bone.cpp, src/osgAnimation/CMakeLists.txt, - src/osgAnimation/RigGeometry.cpp, src/osgAnimation/Skeleton.cpp, - src/osgAnimation/Timeline.cpp, - src/osgAnimation/TimelineAnimationManager.cpp, - src/osgAnimation/UpdateCallback.cpp, - src/osgPlugins/bvh/ReaderWriterBVH.cpp, - src/osgPlugins/osgAnimation/ReaderWriter.cpp: From Cedric Pinson - and Jeremey Moles, Changes to OpenSceneGraph-osgWidget-dev - branch. - - Notes from Robert Osfield, Merged changes to - OpenSceneGraph-osgWidget-dev r9367 (prior to my botched attempt - at merged svn/trunk into the branch). - -2008-12-16 19:49 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp: From Bob Kuehne, build - fixes. - -2008-12-16 16:36 robert - - * CMakeLists.txt, include/OpenThreads/Version, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc, - src/OpenThreads/CMakeLists.txt: Updated version numbers for 2.8.8 - dev release - -2008-12-16 15:58 robert - - * src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgTerrain/Terrain.cpp, - src/osgWrappers/osgTerrain/TerrainTile.cpp: Updated wrappers - -2008-12-16 15:21 robert - - * src/OpenThreads/win32/Win32Mutex.cpp: From Mathias Froehilch, " - On OpenThreads win32 implementation we unconditionally unlock a - mutex in the - destructor. That happens even if the mutex was not locked before. - When running a osg application within microsofts application - verifier, that - software checks tells me that we should not unlock an unlocked - mutex. - - When I look at the posix threads mutex implementation, which does - no unlock in - the destructor and where it is illegal to destroy a locked mutex, - I conclude - that it is not needed for an OpenThreads::Mutex to do that unlock - in the - win32 Mutex destructor. - - Thus this patch based on rev 9358 removes that additional unlock - in the win32 - mutex implementations destructor." - -2008-12-16 15:08 robert - - * include/osg/GraphicsContext, src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: From Sukender and Robert - Osfield, introduced GraphicsContext::ScreenSettings & - WindowingSystemInterface::enumerateScreenSettings. - -2008-12-16 12:38 robert - - * src/osg/BufferObject.cpp: From Peter Hrenka, "Fix counting number - of new arrays and avoid - building free-list when not needed (saves - a handfull of mallocs/frees). - " - -2008-12-16 12:23 robert - - * src/osgPlugins/txp/trpage_geom.h, - src/osgPlugins/txp/trpage_print.cpp: Fixed warnings - -2008-12-16 12:20 robert - - * src/osgPlugins/cfg/ConfigParser.cpp: Fixed warnings - -2008-12-16 11:43 robert - - * CMakeLists.txt, CMakeModules/OsgCPack.cmake, - doc/Doxyfiles/all_Doxyfile, doc/Doxyfiles/auto_Doxyfile, - doc/Doxyfiles/core_Doxyfile, doc/Doxyfiles/custom_Footer.html, - doc/Doxyfiles/doxyfile.cmake, - doc/Doxyfiles/openthreads.doxyfile.cmake, - src/OpenThreads/pthreads/CMakeLists.txt, - src/OpenThreads/sproc/CMakeLists.txt: From Mattias Helsing,"Added - doc/Doxyfiles/openthreads.doxyfile.cmake - Updated all doxyfiles under doc/Doxyfiles. They are now all - processed - by cmake but make targets are only generated for - OpenSceneGraphReferenceDocs and OpenThreadsReferenceDocs. The - others - can be run with doxygen directly in /doc. - Fixed a copy-paste in openthreads sproc and pthreads CMakeLists - Added the osg logo to the html footers - Added possibility to get generation of chm files. - - CMakeLists (toplevel): - Added install of osg and ot reference docs. This also generates - packaging targets of openscenegraph-doc and openthreads-doc if - you - have packaging enabled - Removed the unused USING_OP_OT_TRIPLE_SET since there was no way - of - enabling it anyway - Removed BUILD_REF_DOCS. IMO it was redundant - - BUILD_DOCUMENTATION - does the same thing and we get that anyway from including - Documentation.cmake. - OsgCPack.cmake: - Removed generation of PACKAGE_SRC for msvc - Added special handling for -doc packaging targets - they don't - require - system, architecture or compiler" - -2008-12-15 22:18 robert - - * include/osgTerrain/Terrain, include/osgTerrain/TerrainTile, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainTile.cpp: Added support for a - Terrain::s/getTerrainTechniquePrototype() - -2008-12-15 20:38 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp: From Tatsuhiro Nishioka, - "I found a bug in GraphicsWindowCarbon. - GraphicsWindowCarbon::requestWarpPointer() places the mouse - pointer in a (global?) display coordination, but it must be in a - local window coordination. This problem is critical because the - mouse cursor can go off a window especially when you place the - window on the secondary screen. - - Attached is the file to fix this problem. - - I tested this modified file with the following situations (on - FlightGear) and all works fine. - - two windows on two screens (each has one window). - - two windows on two screens (secondary screen has all windows). - - two windows on two screens (primary screen has all windows). - - In all scenarios, warp requests (by right-click the mouse) - successfully moves the mouse pointer to the center of the main - window, - and it is what it's supposed to be in the flightgear." - -2008-12-15 20:32 robert - - * applications/CMakeLists.txt: Limited the static build to just - osversion and osgstaticviewer - -2008-12-15 19:37 robert - - * include/osg/GLExtensions, src/osg/GLExtensions.cpp, - src/osg/Texture.cpp: Aded - osg::isGLExtensionOrVersionSupported(uint contextID, char* - extensionName, float minVersionRequired) method that - returns true if (the extension string is supported or GL version - is greater than or equal to a specified version) and - non extension disable is used. This makes it possible to disable - extensions that are now - available as parts of the core OpenGL spec. - - Updated Texture.cpp is use this method. - -2008-12-15 16:46 robert - - * src/osg/StateAttribute.cpp, src/osg/StateSet.cpp, - src/osg/Uniform.cpp: From Paul Martz, "I'm not sure why this - message was added, but it doesn't appear to merit INFO verbosity. - Changing this from INFO to DEBUG_FP." - -2008-12-15 16:42 robert - - * src/osg/BufferObject.cpp: From Peter Hrenka, "I implemented a - free list reallocation scheme in - VertexBufferObject::compileBuffer(). - - The offsets of newly added Arrays were not properly - calculated. This submission tries to find a - matching empty slot when the total size of - the VBO has not changed (e.g. when an array - is replaced by another array of the same size). - - - This fixes the overwriting issue that I showed in my posting - "Bug in VertexBufferObject::compileBuffer" on OSG-Users. - " - -2008-12-15 16:41 robert - - * src/osgDB/DatabasePager.cpp: Reduced the default number - _targetMaximumNumberOfPageLOD to 300 to keep the memory - consumption on large databases a bit lower. - -2008-12-15 16:10 robert - - * include/osgDB/DatabasePager: Added deprecated messages to get/set - methods of outgoing expiry schemes. - -2008-12-15 14:07 robert - - * CMakeLists.txt, CMakeModules/OsgCPack.cmake, - src/osgWrappers/CMakeLists.txt: From Mathias Helsing, "Cpack - support submission with: - - Better package naming. example - openscenegraph-core-2.7.7-Linux-i386.tar.gz on my ubuntu laptop - and - openscenegraph-core.2.7.7-win32-x86-vc80.tar.gz on winxp. - - CMakers will not get options for selecting compression format. - TGZ - goes for all platforms (on win32 I use 7zip) - - The wrappers is now given the COMPONENT name - libopenscenegraph-wrappers. Feel free to change the name. - - On windows with visual studio the OsgCPack script make some - efforts to - discover the compiler used but support is a bit poor so I've - given - CMake acces to OSG_CPACK_COMPILER to provide some mean to name - the - compiler. - - stop - - The platform part is taken from CMAKE_SYSTEM_NAME and for windows - I - change this to win32 or win64 based on CMAKE_CL_64. This might - not be - necessary if the arch part has that information. This information - is - taken from CMAKE_SYSTEM_PROCESSOR. I only have 32bit here so if - some - of you could uncomment line 15,16 in OsgCPack.cmake and report - what - cmake report it would be nice. I'm especially interested anything - but - win32 and linux32" - -2008-12-15 13:56 robert - - * src/osgDB/DatabasePager.cpp: Made the folowing changes to make - the DatabasePager more restrained in its memory consumption, and - to improve the speed of merging of tiles (at the potential cost - of extra frame drops). - - Set Made DatabasePager TargetMaximumNumberOfPageLOD technique the - be the default with a default target number of PagedLOD of 500. - - Set DatabasePager DoPreCompile to OFF by default. - -2008-12-15 12:16 robert - - * include/osg/Image, src/osgWrappers/osg/Image.cpp: Removed - buildMipmaps method that had no implementation. - -2008-12-12 22:28 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project - -2008-12-12 19:19 robert - - * AUTHORS.txt, README.txt, applications/osgversion/osgversion.cpp: - Updated AUTHORS and READER for 2.7.7 dev release - -2008-12-12 19:12 robert - - * ChangeLog: Updated change log - -2008-12-12 18:47 robert - - * CMakeLists.txt, ChangeLog, - examples/osgphotoalbum/PhotoArchive.cpp, - examples/osgscreencapture/osgscreencapture.cpp, - include/osg/Referenced, include/osgDB/ConvertUTF, - include/osgDB/DotOsgWrapper, include/osgDB/Field, - include/osgDB/FieldReader, include/osgDB/FileUtils, - include/osgSim/ShapeAttribute, src/osg/Referenced.cpp, - src/osgDB/ConvertUTF.cpp, src/osgDB/DatabasePager.cpp, - src/osgDB/Field.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Output.cpp, src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/bsp/Q3BSPReader.cpp, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/geo/osgGeoStructs.h, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lwo/old_Lwo2.cpp, src/osgPlugins/obj/obj.cpp, - src/osgPlugins/osg/AlphaFunc.cpp, - src/osgPlugins/osg/BlendEquation.cpp, - src/osgPlugins/osg/BlendFunc.cpp, src/osgPlugins/osg/Camera.cpp, - src/osgPlugins/osg/ColorMask.cpp, src/osgPlugins/osg/Depth.cpp, - src/osgPlugins/osg/Fog.cpp, src/osgPlugins/osg/Geometry.cpp, - src/osgPlugins/osg/Sequence.cpp, src/osgPlugins/osg/StateSet.cpp, - src/osgPlugins/osg/Stencil.cpp, src/osgPlugins/osg/TexEnv.cpp, - src/osgPlugins/osg/TexEnvCombine.cpp, - src/osgPlugins/osg/TexGen.cpp, src/osgPlugins/osg/Texture.cpp, - src/osgPlugins/osgTerrain/Layer.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgShadow/ConvexPolyhedron.cpp, - src/osgSim/ShapeAttribute.cpp, src/osgText/Font.cpp, - src/osgViewer/ScreenCaptureHandler.cpp, src/osgViewer/Viewer.cpp: - Where possible moved redundent C header includes from headers to - source files - -2008-12-12 14:54 robert - - * CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgMacroUtils.cmake, src/osgViewer/CMakeLists.txt: - Changed the libopenscenegraph-core to be part of - libopenscenegraph, and - changed libopenscenegraph-examples to be part of - openscenegraph-examples - -2008-12-12 14:16 robert - - * src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2008-12-12 13:41 robert - - * include/osgGA/StateSetManipulator, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/ViewerEventHandlers.cpp: From Ulrich Hertlein, Typo - fixes + "optional parameter to RecordCameraPathHandler to control - the frame rate for record/playback. Default is 25.0, the - environment variable takes preference if set." - -2008-12-12 11:01 robert - - * CMakeLists.txt, CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgCPack.cmake, - CMakeModules/OsgCPackConfig.cmake.in, - CMakeModules/OsgMacroUtils.cmake, - src/OpenThreads/pthreads/CMakeLists.txt, - src/OpenThreads/sproc/CMakeLists.txt, - src/OpenThreads/win32/CMakeLists.txt, - src/osgPlugins/Inventor/CMakeLists.txt, - src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/gdal/CMakeLists.txt, - src/osgPlugins/gecko/CMakeLists.txt, - src/osgPlugins/pdf/CMakeLists.txt, - src/osgPlugins/svg/CMakeLists.txt, - src/osgPlugins/vnc/CMakeLists.txt, - src/osgPlugins/vrml/CMakeLists.txt, src/osgViewer/CMakeLists.txt: - From Mattias Helsing, "I have developed the earlier cpack example - a bit. Perhaps you could - consider these initial cpack support scripts. It is hidden behind - a - BUILD_PACKAGES option so won't affect the normal user. The - submission - 1) set the COMPONENT attribute on all cmake install commands. - COMPONENT names are according to - http://www.openscenegraph.org/projects/osg/wiki/Community/Packaging - - 2) provide cmake script and a template for creating CPack - configuration files. It will generate target for creating - packages - with everything that gets "installed" (make package on unx, - project - PACKAGE in MSVC) plus targets for generating one package per - COMPONENT - (i.e. libopenscenegraph-core etc.). - - I have temporariliy uploaded some examples to - http://www.openscenegraph.org/projects/osg/wiki/Community/People/MattiasHelsing - - If this submission makes it into svn we can develop it to - generate - rpms, installers for windows and mac (I know at least J-S don't - like - these but there may be others who do ;) and even DEBs (not sure - if we - can make them "ubuntu-ready" but they eventually may - at least - we - could put a deb on the website)" - -2008-12-12 10:20 robert - - * src/osgWrappers/osg/Geode.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/Node.cpp, src/osgWrappers/osg/Switch.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgWidget/Browser.cpp: Updated wrappers - -2008-12-12 10:19 robert - - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version number for - 2.7.7 release - -2008-12-11 17:00 robert - - * applications/CMakeLists.txt, examples/CMakeLists.txt, - src/osgPlugins/CMakeLists.txt, src/osgWrappers/CMakeLists.txt: - From Mattias Helsing, "When building osg static on Windows the - _declspec's wasn't escaped for - applications, examples or wrappers. Attached are the CMakeLists I - had - to change to make these compile. - " - -2008-12-10 17:08 robert - - * src/osgPlugins/osg/Node.cpp: Cleaned up layout - -2008-12-10 16:26 robert - - * examples/osgstaticviewer/osgstaticviewer.cpp, - include/osgDB/Registry, src/osgPlugins/osg/AlphaFunc.cpp, - src/osgPlugins/osg/AnimationPath.cpp, - src/osgPlugins/osg/AutoTransform.cpp, - src/osgPlugins/osg/Billboard.cpp, - src/osgPlugins/osg/BlendColor.cpp, - src/osgPlugins/osg/BlendEquation.cpp, - src/osgPlugins/osg/BlendFunc.cpp, src/osgPlugins/osg/Box.cpp, - src/osgPlugins/osg/CMakeLists.txt, src/osgPlugins/osg/Camera.cpp, - src/osgPlugins/osg/CameraView.cpp, - src/osgPlugins/osg/Capsule.cpp, src/osgPlugins/osg/ClearNode.cpp, - src/osgPlugins/osg/ClipNode.cpp, - src/osgPlugins/osg/ClipPlane.cpp, - src/osgPlugins/osg/ClusterCullingCallback.cpp, - src/osgPlugins/osg/ColorMask.cpp, - src/osgPlugins/osg/ColorMatrix.cpp, - src/osgPlugins/osg/CompositeShape.cpp, - src/osgPlugins/osg/Cone.cpp, - src/osgPlugins/osg/ConvexPlanarOccluder.cpp, - src/osgPlugins/osg/CoordinateSystemNode.cpp, - src/osgPlugins/osg/CullFace.cpp, src/osgPlugins/osg/Cylinder.cpp, - src/osgPlugins/osg/Depth.cpp, src/osgPlugins/osg/Drawable.cpp, - src/osgPlugins/osg/EllipsoidModel.cpp, - src/osgPlugins/osg/Fog.cpp, - src/osgPlugins/osg/FragmentProgram.cpp, - src/osgPlugins/osg/FrontFace.cpp, src/osgPlugins/osg/Geode.cpp, - src/osgPlugins/osg/Geometry.cpp, src/osgPlugins/osg/Group.cpp, - src/osgPlugins/osg/HeightField.cpp, src/osgPlugins/osg/Image.cpp, - src/osgPlugins/osg/ImageSequence.cpp, src/osgPlugins/osg/LOD.cpp, - src/osgPlugins/osg/Light.cpp, src/osgPlugins/osg/LightModel.cpp, - src/osgPlugins/osg/LightSource.cpp, - src/osgPlugins/osg/LineStipple.cpp, - src/osgPlugins/osg/LineWidth.cpp, - src/osgPlugins/osg/Material.cpp, - src/osgPlugins/osg/MatrixTransform.cpp, - src/osgPlugins/osg/Node.cpp, src/osgPlugins/osg/NodeCallback.cpp, - src/osgPlugins/osg/Object.cpp, - src/osgPlugins/osg/OccluderNode.cpp, - src/osgPlugins/osg/OcclusionQueryNode.cpp, - src/osgPlugins/osg/PagedLOD.cpp, src/osgPlugins/osg/Point.cpp, - src/osgPlugins/osg/PointSprite.cpp, - src/osgPlugins/osg/PolygonMode.cpp, - src/osgPlugins/osg/PolygonOffset.cpp, - src/osgPlugins/osg/PositionAttitudeTransform.cpp, - src/osgPlugins/osg/Program.cpp, - src/osgPlugins/osg/Projection.cpp, - src/osgPlugins/osg/ProxyNode.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/Scissor.cpp, src/osgPlugins/osg/Sequence.cpp, - src/osgPlugins/osg/ShadeModel.cpp, src/osgPlugins/osg/Shader.cpp, - src/osgPlugins/osg/Shape.cpp, - src/osgPlugins/osg/ShapeDrawable.cpp, - src/osgPlugins/osg/Sphere.cpp, - src/osgPlugins/osg/StateAttribute.cpp, - src/osgPlugins/osg/StateSet.cpp, src/osgPlugins/osg/Stencil.cpp, - src/osgPlugins/osg/Switch.cpp, - src/osgPlugins/osg/TessellationHints.cpp, - src/osgPlugins/osg/TexEnv.cpp, - src/osgPlugins/osg/TexEnvCombine.cpp, - src/osgPlugins/osg/TexEnvFilter.cpp, - src/osgPlugins/osg/TexGen.cpp, src/osgPlugins/osg/TexGenNode.cpp, - src/osgPlugins/osg/TexMat.cpp, src/osgPlugins/osg/Texture.cpp, - src/osgPlugins/osg/Texture1D.cpp, - src/osgPlugins/osg/Texture2D.cpp, - src/osgPlugins/osg/Texture3D.cpp, - src/osgPlugins/osg/TextureCubeMap.cpp, - src/osgPlugins/osg/TextureRectangle.cpp, - src/osgPlugins/osg/Transform.cpp, src/osgPlugins/osg/Uniform.cpp, - src/osgPlugins/osg/VertexProgram.cpp, - src/osgPlugins/osg/Viewport.cpp: Added mechanism for registering - proxy objects in the .osg plugin in a way that is compatible with - static linking. - -2008-12-10 15:01 robert - - * src/osgUtil/Optimizer.cpp: Removed #if 0'd out reference to osgDB - -2008-12-10 12:50 robert - - * examples/osgstaticviewer/CMakeLists.txt: Fixed link line - -2008-12-10 11:12 robert - - * include/osgViewer/View, src/osgViewer/View.cpp: Refactored - computeIntersections() float x,float y, const osg::NodePath& - nodePath. - -2008-12-10 10:13 robert - - * src/osgPlugins/OpenFlight/VertexPaletteManager.cpp: From Andreas - Goebel, (submitted by Paul Martz) "A fix for the FLT exporter. - This change adds support for normals with OVERALL binding (and - improves support for normals with PER_PRIMITIVE binding -- still - not correct, but at least it doesn't index off the end of the - array anymore)." - -2008-12-10 10:10 robert - - * src/osgSim/Sector.cpp: From Marcin Prus, "some time ago there was - an optimization fix including change in - DirectionalSector::computeMatrix(). - Rotation matrices were replaced with quaternions but incorrect - contructor was used. There was a call to Quat(angle, xAxis, - yAxis, zAxis ) but there is no such constructor in Quat class to - create quaternion for rotation. As a result we got this values - being written into quaternion directly. - - I've replaced Quat contructor calls with the ones creating - rotation quaternions Quat( angle, Vec3( axis ) )." - -2008-12-10 09:34 robert - - * src/osgVolume/ImageUtils.cpp: Added return - -2008-12-09 16:43 robert - - * include/osg/Node: From Sukender, added missing inline keywords - -2008-12-09 14:07 robert - - * src/osgPlugins/gecko/UBrowser.cpp, - src/osgPlugins/gecko/UBrowser.h, src/osgWidget/Browser.cpp: Fixed - cull callback usage to ensure that the lazy updating of the - browser image functions automatically. - -2008-12-09 11:05 robert - - * examples/osgbrowser/osgbrowser.cpp, examples/osgpdf/osgpdf.cpp, - examples/osgvnc/osgvnc.cpp, include/osgWidget/Browser, - include/osgWidget/PdfReader, include/osgWidget/VncClient, - src/osgPlugins/gecko/ReaderWriterUBrowser.cpp, - src/osgPlugins/vnc/ReaderWriterVNC.cpp, - src/osgWidget/Browser.cpp, src/osgWidget/PdfReader.cpp, - src/osgWidget/VncClient.cpp: Cleaned up osgWidget::VncClient and - osgWidget::Browser so that their implementations are all more - consitent with the osgWidget::PdfReader. - -2008-12-09 09:26 robert - - * examples/osgpdf/osgpdf.cpp, examples/osgvnc/CMakeLists.txt, - examples/osgvnc/osgvnc.cpp, include/osgWidget/PdfReader, - src/osgPlugins/pdf/CMakeLists.txt, - src/osgPlugins/pdf/ReaderWriterPDF.cpp, - src/osgViewer/ViewerEventHandlers.cpp, - src/osgWidget/PdfReader.cpp: Added support for setting background - colour of Pdf document. - -2008-12-09 09:25 robert - - * include/osgVolume/ImageUtils, src/osgVolume/ImageUtils.cpp: Added - setImageToColour function - -2008-12-09 09:24 robert - - * include/osg/Geode, include/osg/Node, include/osg/Switch: Added - asSwitch and asGeode convinience methods to Node - -2008-12-07 17:37 robert - - * include/osgWidget/PdfReader, - src/osgPlugins/pdf/ReaderWriterPDF.cpp: Added ability to - customize keyboard events for controlling - osgWidget::PdfImage/PdfReader - -2008-12-07 17:02 robert - - * examples/CMakeLists.txt, examples/osgpdf/CMakeLists.txt, - examples/osgpdf/osgpdf.cpp, examples/osgvnc/osgvnc.cpp, - examples/osgwidgetscrolled/CMakeLists.txt, include/osg/Image, - include/osgViewer/ViewerEventHandlers, - include/osgWidget/PdfReader, include/osgWidget/VncClient, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/gecko/UBrowser.cpp, - src/osgPlugins/gecko/UBrowser.h, src/osgPlugins/pdf, - src/osgPlugins/pdf/CMakeLists.txt, - src/osgPlugins/pdf/ReaderWriterPDF.cpp, - src/osgPlugins/vnc/CMakeLists.txt, - src/osgPlugins/vnc/ReaderWriterVNC.cpp, - src/osgViewer/ViewerEventHandlers.cpp, - src/osgWidget/CMakeLists.txt, src/osgWidget/PdfReader.cpp, - src/osgWidget/VncClient.cpp: Intoduce new osgWidget::PdfReader - and osgWidget::VncClient front ends to osgWidget, - with new pdf plugin and updated vnc plugin that now support these - front ends. - - Updated osgpdf and osgvnc examples to new these new interfaces. - -2008-12-06 11:03 robert - - * src/osgPlugins/bvh/ReaderWriterBVH.cpp: Fixed build problem - -2008-12-05 16:41 robert - - * include/osg/Image: Added GL_ABGR_EXT to fix windows build - -2008-12-04 10:27 robert - - * src/osgPlugins/bsp/CMakeLists.txt, - src/osgPlugins/bsp/ReaderWriterVTF.cpp: From Jason Daly, added - support for reading Valve's texture format files - -2008-12-03 14:13 robert - - * include/osg/Node: From Sukender, (Benoit Neil) "adding a few - convinience methods to osg::Node (ouch!). Just tell me if you - find them useful: - - /** Convinience method that sets the update callback of the node - if it doesn't exist, or nest it into the existing one. */ - void addUpdateCallback(NodeCallback* nc); - - /** Convinience method that removes a given callback from a node, - even if that callback is nested. There is no error return in case - the given callback is not found. */ - void removeUpdateCallback(NodeCallback* nc); - - ... and the same for Event and Cull callbacks methods." - -2008-12-03 12:09 robert - - * src/osg/Image.cpp: From Ferdi Smit, "Image.cpp didn't handle the - integer data types correctly in the function: - - unsigned int Image::computeNumComponents(GLenum pixelFormat) - - so I added these types to the switch statement: - - case(GL_RED_INTEGER_EXT): return 1; - case(GL_GREEN_INTEGER_EXT): return 1; - case(GL_BLUE_INTEGER_EXT): return 1; - case(GL_ALPHA_INTEGER_EXT): return 1; - case(GL_RGB_INTEGER_EXT): return 3; - case(GL_RGBA_INTEGER_EXT): return 4; - case(GL_BGR_INTEGER_EXT): return 3; - case(GL_BGRA_INTEGER_EXT): return 4; - case(GL_LUMINANCE_INTEGER_EXT): return 1; - case(GL_LUMINANCE_ALPHA_INTEGER_EXT): return 2; - - That's all... now it computes the number of components and, thus, - the image size - correctly." - -2008-12-02 10:42 robert - - * CMakeModules/FindCOLLADA.cmake, - src/osgPlugins/dae/CMakeLists.txt: Revised the DYNAMIC vs STATIC - library setup of COLLADA. - -2008-12-02 09:00 robert - - * src/osg/BufferObject.cpp: From Jean-Sebastien Guay, build fix - -2008-12-01 15:46 robert - - * include/osg/Image, src/osgWrappers/osg/Image.cpp: Fixed wrappers - -2008-12-01 14:07 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/bvh, - src/osgPlugins/bvh/CMakeLists.txt, - src/osgPlugins/bvh/ReaderWriterBVH.cpp: From Wang Rui, - "Attachment is a plugin reading Biovision hierarchical files - (.BVH) to generate character motion animations. BVH format is - widely used by Character Studio of 3dsmax, MotionBuilder and - other softwares, also supported by most motion capture devices. - The plugin is based on the latest osgAnimation library of OSG - 2.7.6 and will return a osgAnimation::AnimationManager pointer if - using readNodeFile() to load it. - - Source and CMake files are: - - CMakeLists.txt - ReaderWriterBVH.cpp - - Also there are 3 example BVH files. The first two are captured - from motions of human beings - maybe a kung-fu master here. - PLEASE use command below to see the results: - - # osgviewer example1.bvh -O solids - - This will demonstrate the animating of a skeleton and render - bones as solid boxes. Note that the motion assumes XOZ is the - ground and has an offset from the center, so we should adjust our - view to get best effects. - - You may also use "-O contours" to render bones as lines. The - viewer shows nothing if without any options because - osgAnimation::Bone does not render itself. User may add - customized models to each named bones as osganimationskinning - does to make uses of this plugin in their own applications. - - I was wondering to support a BvhNode in my osgModeling peoject - before, but soon found it better be a plugin for animation. A - problem is, how to bind real geometry models to the skeleton. - Maybe we could have a bindingToNode() visitor in future to find - geodes matching names of bones and add them as bones' children." - -2008-12-01 13:47 robert - - * src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Image.cpp: Updated wrappers - -2008-12-01 13:28 robert - - * include/osg/BufferObject, src/osg/BufferObject.cpp: From Art - Tevs, "here is a submission of an additional class of - PixelBufferObejct, which implements more general way of handling - with PBOs. Current osg implementation of PBO does use an attached - osg::Image to copy data from. This is somehow only one way of - using it and doesn't provide full functionality of PBOs. - - -------------------------------------------- - Descripton: - - The patch does provide a new class PixelDataBufferObject which is - capable of allocating memory on the GPU side (PBO memory) of - arbitrary size. The memory can then further be used to be enabled - into read mode (GL_PIXEL_UNPACK_BUFFER_ARB) or in write mode - (GL_PIXEL_PACK_BUFFER_ARB). Enabling the buffer into write mode - will force the driver to write data from bounded textures into - that buffer (i.e. glGetTexImage). Using buffer in read mode give - you the possibility to read data from the buffer into a texture - with e.g. glTexSubImage or other instuctions. Hence no data is - copied over the CPU (host memory), all the operations are done in - the GPU memory. - - - -------------------------------------------- - Compatibility: - - The new class require the unbindBuffer method from the base class - BufferObject to be virtual, which shouldn't break any - functionality of already existing classes. Except of this the new - class is fully orthogonal to existing one, hence can be safely - added into already existing osg system. - - -------------------------------------------- - Testing: - - The new class was tested in the current svn version of osgPPU. I - am using the new class to copy data from textures into the PBO - and hence provide them to CUDA kernels. Also reading the results - back from CUDA is implemented using the provided patch. The given - patch gives a possibility of easy interoperability between CUDA - and osg (osgPPU ;) ) - - - -------------------------------------------- - I think in general it is a better way to derive the - PixelBufferObject class from PixelDataBufferObject, since the - second one is a generalization of the first one. However this - could break the current functionality, hence I haven't - implemented it in such a way. However I would push that on a - stack of wished osg 3.x features, since this will reflect the - OpenGL PBO functionality through the classes better. - " - -2008-12-01 11:19 robert - - * src/osgAnimation/CMakeLists.txt: Added OpenThreads to link lists - -2008-11-30 16:33 robert - - * src/osgPlugins/exr/CMakeLists.txt: Changed OPENEXR_LIBRARY to - OPENEXR_LIBRARIES to pick up on Ulrich's changes to the - FindOpenEXR.cmake - -2008-11-30 16:33 robert - - * CMakeModules/FindLibVNCServer.cmake, - CMakeModules/FindOpenEXR.cmake, CMakeModules/FindZLIB.cmake: From - Ulrich Hertlien, "'m was getting a build failure from the OpenEXR - reader on Mac OS X. It was complaining about undefined references - to half::convert(int). I believe this is because the EXR plugin - doesn't explicitly link against the Half library. - - Attached is a modified FindOpenEXR.cmake module that locates - IlmIlf and Half, as well as a modified exr/CMakeLists.txt that - picks up this change. - - Also attached are some typo fixes for CMakeModules. - - Cheers," - -2008-11-30 15:56 robert - - * include/osg/Image, src/osg/Image.cpp: From Art Tevs, "here are a - small extension to the osg::Image class, which do computes data - type from the given format, i.e. (GL_RGB32F_ARB -> GL_FLOAT). The - method is very usefull to find out which data type a texture or - an image have based on the internal/pixel format." - -2008-11-29 12:16 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog, and AUTHORS lists for 2.7.6 dev release - -2008-11-29 11:35 robert - - * examples/osgwidgetmessagebox/osgwidgetmessagebox.cpp: Build fix - for when implicit conversion in ref_ptr<> is switched off. - -2008-11-29 11:10 robert - - * include/osgAnimation/Timeline: Fixed build for when ref_ptr<> - impicit cast is not built - -2008-11-28 17:18 robert - - * include/osgAnimation/Timeline: Removed cmath include as it was - causing build problems under Cgwin - -2008-11-28 14:37 robert - - * examples/CMakeLists.txt: Added new examples - -2008-11-28 14:37 robert - - * examples/osganimationnode/CMakeLists.txt, - examples/osganimationnode/osganimationnode.cpp: From Cedric - Pinson, updates to osganimation examples. - - Merged by Robert Osfield, from OpenSceneGraph-osgWidget-dev - -2008-11-28 14:36 robert - - * examples/osgwidgetaddremove/osgwidgetaddremove.cpp, - examples/osgwidgetbox/osgwidgetbox.cpp, - examples/osgwidgetcanvas/osgwidgetcanvas.cpp, - examples/osgwidgetframe/osgwidgetframe.cpp, - examples/osgwidgetinput/osgwidgetinput.cpp, - examples/osgwidgetlabel/osgwidgetlabel.cpp, - examples/osgwidgetmenu/CMakeLists.txt, - examples/osgwidgetmenu/osgwidgetmenu.cpp, - examples/osgwidgetmessagebox, - examples/osgwidgetmessagebox/CMakeLists.txt, - examples/osgwidgetmessagebox/osgwidgetmessagebox.cpp, - examples/osgwidgetnotebook/osgwidgetnotebook.cpp, - examples/osgwidgetperformance, - examples/osgwidgetperformance/CMakeLists.txt, - examples/osgwidgetperformance/osgwidgetperformance.cpp, - examples/osgwidgetprogress, - examples/osgwidgetprogress/CMakeLists.txt, - examples/osgwidgetprogress/osgwidgetprogress.cpp, - examples/osgwidgetscrolled/osgwidgetscrolled.cpp, - examples/osgwidgettable/osgwidgettable.cpp, - examples/osgwidgetwindow/osgwidgetwindow.cpp: From Jeremy Moles, - updates to osgwidget examples. - - Merged by Robert Osfield from OpenSceneGraph-osgWidget-dev - -2008-11-28 14:35 robert - - * src/osgWrappers/osgWidget/Box.cpp, - src/osgWrappers/osgWidget/Canvas.cpp, - src/osgWrappers/osgWidget/EventInterface.cpp, - src/osgWrappers/osgWidget/Frame.cpp, - src/osgWrappers/osgWidget/Input.cpp, - src/osgWrappers/osgWidget/Label.cpp, - src/osgWrappers/osgWidget/ViewerEventHandlers.cpp, - src/osgWrappers/osgWidget/Widget.cpp, - src/osgWrappers/osgWidget/Window.cpp, - src/osgWrappers/osgWidget/WindowManager.cpp: Updated wrappers - -2008-11-28 14:35 robert - - * include/osgWidget/Box, include/osgWidget/Browser, - include/osgWidget/Canvas, include/osgWidget/EventInterface, - include/osgWidget/Export, include/osgWidget/Frame, - include/osgWidget/Input, include/osgWidget/Label, - include/osgWidget/Lua, include/osgWidget/Python, - include/osgWidget/ScriptEngine, include/osgWidget/StyleInterface, - include/osgWidget/StyleManager, include/osgWidget/Table, - include/osgWidget/Types, include/osgWidget/UIObjectParent, - include/osgWidget/Util, include/osgWidget/Version, - include/osgWidget/ViewerEventHandlers, include/osgWidget/Widget, - include/osgWidget/Window, include/osgWidget/WindowManager, - src/osgWidget/Box.cpp, src/osgWidget/Browser.cpp, - src/osgWidget/Canvas.cpp, src/osgWidget/Frame.cpp, - src/osgWidget/Input.cpp, src/osgWidget/Label.cpp, - src/osgWidget/Lua.cpp, src/osgWidget/Python.cpp, - src/osgWidget/StyleManager.cpp, src/osgWidget/Table.cpp, - src/osgWidget/Util.cpp, src/osgWidget/ViewerEventHandlers.cpp, - src/osgWidget/Widget.cpp, src/osgWidget/Window.cpp, - src/osgWidget/WindowManager.cpp: From Jeremy Moles, updates to - osgWidget - - Merged my Robert Osfield from OpenSceneGraph-osgWidget-dev. - -2008-11-28 14:34 robert - - * include/osgAnimation/Bone, include/osgAnimation/EaseMotion, - include/osgAnimation/Skinning, include/osgAnimation/Timeline, - include/osgAnimation/VertexInfluence, - src/osgAnimation/UpdateCallback.cpp: From Cedric Pinson, updates - toosgAnimation. - - Merged by Robert Osfield, from OpenSceneGraph-osgWidget-dev. - -2008-11-27 17:31 robert - - * src/osgPlugins/curl/CMakeLists.txt: From Cedric Pinson, "updated - the CMakelist.txt of curl plugin to compile with the static - library of curl. - I added the external dependency wldap32" - -2008-11-27 17:30 robert - - * CMakeLists.txt, include/osg/Version: Updated SO version number - for 2.5.6 release - -2008-11-27 17:29 robert - - * ChangeLog: Updated ChangeLog - -2008-11-27 16:58 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/config/OpenThreads/Config, - Xcode/OpenSceneGraph/osgAnimation-Info.plist, - Xcode/OpenSceneGraph/osgVolume-Info.plist, - Xcode/OpenSceneGraph/osganimationviewer-Info.plist: From Stephan - Huber: - updated XCode project, added osgAnimation framework + one example - using it (osganimationviewer). - Added _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC to local - OpenThreads/Config when compiling for the 10.5 SDK. - Some minor fixes on some of the configurations/targets - -2008-11-27 14:05 robert - - * src/osgPlugins/bsp/VBSPReader.h: Changed unsigned long to - unsigned int to avoid 64bit portability issue. - -2008-11-27 09:45 robert - - * examples/osgautocapture/osgautocapture.cpp: From Jean-Sebastien - Guay, "osgautocapture uses M_PI to convert degrees to radians, - which didn't compile on Win32. Switched to using - osg::DegreesToRadians. Also removed the "convert to radians" - comment on each line, as the code clearly conveys this without - needing a comment now." - -2008-11-27 09:36 robert - - * src/osgPlugins/CMakeLists.txt: Enabled the build of exr plugin - -2008-11-27 09:36 robert - - * src/osgPlugins/exr/ReaderWriterEXR.cpp: Build fixes - -2008-11-27 09:33 robert - - * src/osgPlugins/exr/ReaderWriterEXR.cpp: Removed the use of = - operator. - -2008-11-26 16:40 robert - - * src/osgWrappers/genwrapper.conf, - src/osgWrappers/osg/BoundingBox.cpp, - src/osgWrappers/osg/BoundingSphere.cpp: Updated wrappers - -2008-11-26 16:39 robert - - * include/osg/BoundingBox, include/osg/BoundingSphere, - src/osg/BoundingBox.cpp, src/osg/BoundingSphere.cpp, - src/osg/CMakeLists.txt: From Tim Moore, "Double precision - versions of BoundingBox and BoundingSphere are useful for doing - computations in world coordinates, especially when working with a - geocentric scene. By default, these classes are built using - floats, so templated versions fill a need. I've used the double - precision templates to fix some problems with - ViewDependentShadow, which will follow shortly. - " - -2008-11-26 16:00 robert - - * src/osgWrappers/genwrapper.conf: added workaround of compile - issues with templated version of BoundingBox - -2008-11-26 13:18 robert - - * src/osgWrappers/osgDB/DatabasePager.cpp: Updated wrappers - -2008-11-26 12:50 robert - - * src/osg/Sequence.cpp: From Andy Preece, - - "To reproduce the bug: - - 1. Create a template osg::Sequence node (and underlying geometry) - but do not attach the node to the current active scenegraph. - 2. At some point during the rendering loop (perhaps on a - keystroke) clone the sequence node (I use the call: - - dynamic_cast(templateNode -> clone( osg::CopyOp( - (osg::CopyOp::CopyFlags)osg::CopyOp::DEEP_COPY_NODES ) ) ) - - 3. Set the cloned sequence node duration to a value that makes - the animation run slower (i.e. 2.0). - 4. Start the cloned sequence (using setMode()). - 5. Repeat steps 2 \u2013 4 and observe that the cloned sequences - do not run slow but run as fast, appearing to ignore the duration - that has been set on them. - - - - Looking at the \u2018good documentation\u2019 (2.4 source code), - I see that _start is being set to _now (osg::Sequence::setMode(), - line 192). Should this not _start not be set to -1.0?" - -2008-11-26 12:35 robert - - * CMakeLists.txt, CMakeModules/FindOpenEXR.cmake: Added searching - for OpenEXR - -2008-11-26 12:35 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/exr, - src/osgPlugins/exr/CMakeLists.txt, - src/osgPlugins/exr/ReaderWriterEXR.cpp: From Ragnar Hammarqvist, - "I wrote an EXR image plug-in to osg, I would like to contribute - this plug-in to the osg project if you find it useful. - - The plug-in is a wrapper around open-exr (http://www.openexr.com) - that consists of two projects, ilmbase-1.0.1 and openexr-1.6.1. - - I have only tested it on windows XP 32 machine. So there might be - some work making it work on other platforms. - - The plug-in supports writing and reading EXR files. When writing - it can use the data type GL_HALF_FLOAT_ARB(se ilmbase-1.0.1) and - GL_FLOAT. When reading the data type always becomes - GL_HALF_FLOAT_ARB. It supports textures with three and four - channels. - - When reading an exr file it automatically removes Alfa channel if - it didn't store any information." - - -- - - From Robert Osfield, started work on ported it to other - platforms, but could fix some problems relating to error: - - ?Imf::OStream::OStream(const Imf::OStream&)? is private - - I'm checking in now so that others can have a bash at completing - the port. - -2008-11-26 12:07 robert - - * CMakeModules/FindCOLLADA.cmake, CMakeModules/FindGDAL.cmake: From - Gino van den Bergen, "The FindGDAL.cmake seems to be broken in - OSG 2.6.1 for locating gdal.h through enviroment variable - GDAL_DIR. - - Also, I've modified the FindCOLLADA.cmake to locate the current - 2.1 versions of the COLLADA DOM in the build directories under - VC8. I've also added a COLLADA_LIBRARY_DEBUG spec. Other flavors - may be added depending on compiler version and DOM version." - -2008-11-26 11:45 robert - - * src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp: From BjornHein, - "attached a proposal for an extension for the the stl-File - ReaderWriter. It allows saving of an osg node tree as stl file in - ASCII-Format. - - Standard is to generate one stl file. - - With an additional option it is possible to write one file per - Geode. This option is not very "useful" for typical application, - I use it for separating and conversion of geometric data. So it - could be removed if considered to special." - -2008-11-26 11:23 robert - - * examples/CMakeLists.txt, examples/osgautocapture, - examples/osgautocapture/CMakeLists.txt, - examples/osgautocapture/osgautocapture.cpp: From John Vidar - Larring, osgautocapture example that captures an image from a - paged database by frame loop to the paging is complete, then - takes a snapshot. - -2008-11-26 11:12 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Added - DatabasePager::getRequestsInProgress() that return true if there - are still tiles to load. - - Added DatabasePager::setTargetMaximumNumberOfPageLOD(..) that - sets the target number of PagedLOD to try and maintain - -2008-11-25 16:24 robert - - * include/osg/ref_ptr: From Piotr Rak, "added bool conversion for - ref_ptr, when no implicit conversion to T* is used." - -2008-11-25 15:57 robert - - * examples/osgpackeddepthstencil/osgpackeddepthstencil.cpp: Fix for - build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION off - -2008-11-25 15:38 robert - - * include/osgAnimation/Timeline: Fixed build for when - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION is off - -2008-11-25 14:40 robert - - * src/osgWrappers/osg/Uniform.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp: Updated wrappers - -2008-11-25 14:31 robert - - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: From Joakim - Simmonsson, fix for handling of billboards in - FLATTEN_STATIC_TRANSFORMS_DUPLICATING_SHARED_SUBGRAPHS - -2008-11-25 14:15 robert - - * src/osgPlugins/osg/Uniform.cpp: Added support for unsigned int - uniforms - -2008-11-25 14:15 robert - - * include/osg/Uniform, src/osg/Uniform.cpp: From Ferdi Smit, added - support for unsigned int typed uniforms - -2008-11-25 13:45 robert - - * src/osgPlugins/x/types.cpp: From Urlich Hertlein, "Attached is a - patched version that replaces calls to atof() with - osg::asciiToFloat()." - -2008-11-25 12:22 robert - - * src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/bsp/VBSPReader.h: Fixed warning and some - unitialized variables. - -2008-11-25 11:09 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: Fixed warning - -2008-11-25 10:57 robert - - * examples/osgpackeddepthstencil/osgpackeddepthstencil.cpp, - include/osg/FrameBufferObject, src/osg/Camera.cpp, - src/osgUtil/RenderStage.cpp: From Jaromir Vitek, "In attachment - are another fixes for using packed depth+stencil (PDS). - - * When used PDS RenderStage::runCameraSetUp sets flag that FBO - has already stencil,depth buffer attached. Prevents adding next - depth buffer. - * Sets correct traits for p-buffer if used PDS and something goes - wrong with FBO setup or p-buffer is used directly. - * Adds warning to camera if user add depth/stencil already - attached through PDS. - * Sets blitMask when use blit to resolve buffer. - - There is also new example with using multisampled FBO." - -2008-11-24 16:32 robert - - * CMakeLists.txt, include/osg/Export, src/osg/Config.in: From - Wojciech Lewandowski, "I have restored MSVC disabled warnings in - osg/Export. Difference is they are now disabled only when - OSG_DISABLE_MSVC_WARNINGS macro is defined. This macro is set - through CMake options and autogenerated in osg/Config. Simon - suggested that it would be cool if we had more control over - selected warnings. I tried to learn how to make selection of - individual warning numbers possible, but had to gave up as my - cmake skills were not sufficient. The only way I saw this - possible would be adding one define for each MSVC warning number. - But many definitions seemed too be to much clutter for osg/Config - file so I rejected thar idea. For this it would be cool if - autogenerated Config entries could more powerful than simple - #define/#undef flags. Maybe Cmake gurus know how to do it. - - I have not reverted added Compiler options. I assume that one may - want to have warnings enabled for the application but may not - want to see them while OSG libraries and examples compile. - - Modified files: - - osg/Export - now explicitly includes osg/Config to make sure - OSG_DISABLE_MSVC_WARNINGS is read - osg/Config.in - declares OSG_DISABLE_MSVC_WARNINGS flag to be - added to autogenerated osg/Config - CMakeLists.txt - declares OSG_DISABLE_MSVC_WARNINGS as option - with default ON setting - " - -2008-11-24 16:26 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Marco Jez, "The DDS - plugin currently prints too many NOTICE messages that, given - their nature and frequency, should really be demoted to INFO or - DEBUG severity. Fix is attached." - -2008-11-24 16:09 robert - - * include/osgAnimation/Timeline: From Alberto Luaces, removed - #include as it was cause a build problem under Cygwin. - -2008-11-24 16:02 robert - - * examples/osgsidebyside/osgsidebyside.cpp: Improved the set of the - master + slave cameras - -2008-11-24 15:27 robert - - * src/osgPlugins/dae/daeWriter.cpp: From Rolad Smeenk, "Forgot a - call to uniqify when generating an Id based on osg::Node name." - -2008-11-24 14:37 robert - - * examples/CMakeLists.txt, examples/osgsidebyside, - examples/osgsidebyside/CMakeLists.txt, - examples/osgsidebyside/osgsidebyside.cpp: From Roland Smeenk, - "This application can be used for testing plugins that can both - read and write a certain file format. It will display the - original file next to the written and reread file. - - Example: - osgsidebyside -o cow.dae cow.osg - - This example will read cow.osg, write cow.dae, read cow.dae and - display cow.osg on the left side and cow.dae on the right side of - the view. - - Possible interactions: - KEY_UP Speedup DOF animation - KEY_DOWN SlowDown DOF animation - KEY_RIGHT Toggle all MultiSwitches" - - -2008-11-24 14:26 robert - - * src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeRSceneObjects.cpp, - src/osgPlugins/dae/daeRTransforms.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWSceneObjects.cpp, - src/osgPlugins/dae/daeWTransforms.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h: - From Roland Smeenk, "Overview of the Collada/dae plugin changes - - New features - +Read and write of osg::LOD, osg::Switch, osgSim::Sequence, - osgim::MultiSwitch and osgSim::DOFTransform data in - +Read and write of osg::Node description data in - +Plugin option "NoExtras" to prevent writing of data and - only traverse the active children when saving - - Changes/additions - +instanced_geometry and instanced_controller are now loaded in a - single Geode with multiple Geometries instead of multiple geodes - with a single Geometry - +Changed all calls to the deprecated createAndPlace() to the new - add() methods - +All transformation elements , , , - , , are now concatenated properly in to a - single MatrixTransform. - Previously this was not done in order as required by Collada and - and not all elements were included. - +Complete skew matrix creation - +Automatically add GL_RESCALE_NORMAL if scale is non-identity - +Blinn shininess remapping to [0,128] when in range [0,1] - +Changes to CMake file to make it compile on Windows - +Coding style and code documentation - - Bug fixes - +Transparent texture writing fixed - +Fixed bug in using osg node name as collada node ID - +Fixed usage of double sided faces in GOOGLEEARTH extra - +Not adding blendfunc and blendcolor when opaque - - TODO/Wishlist - -solve differences in drawables, DAE reader should place multiple - collation elements into multiple primitivesets in a single - geometry where possible (only when same material) - -solve differences in matrices - -multitexture support - -skinned mesh and generic animations using osgAnimation - -profile_GLSL based on COLLADA OpenGL Effects Viewer - http://ati.amd.com/developer/rendermonkey/downloads.html - -handling more to more closely mimic the intended - lighting" - -2008-11-24 13:50 robert - - * src/osg/GLExtensions.cpp: Replaced usage atof to asciiToFloat. - -2008-11-24 13:19 robert - - * src/osg/GL2Extensions.cpp, src/osg/GLExtensions.cpp, - src/osg/TexEnvFilter.cpp, src/osg/Texture.cpp: Converted OpenGL - version number code to using osg::asciiToFloat to avoid issues - with conversion using locale senstive atof function - -2008-11-24 11:39 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/bsp/CMakeLists.txt, - src/osgPlugins/bsp/Q3BSPLoad.cpp, src/osgPlugins/bsp/Q3BSPLoad.h, - src/osgPlugins/bsp/Q3BSPReader.cpp, - src/osgPlugins/bsp/Q3BSPReader.h, - src/osgPlugins/bsp/ReaderWriterBSP.cpp, - src/osgPlugins/bsp/ReaderWriterBSP.h, - src/osgPlugins/bsp/VBSPGeometry.cpp, - src/osgPlugins/bsp/VBSPGeometry.h, - src/osgPlugins/bsp/VBSPReader.cpp, - src/osgPlugins/bsp/VBSPReader.h, - src/osgPlugins/bsp/VBSP_README.txt: From Jason Daly, "This is a - plugin (two, actually) that will allow OSG to load .bsp map files - from Valve's Source Engine games (Half-Life 2, etc.). One plugin - (called "vbsp" to distinguish it from the Quake 3 bsp loader) - reads the .bsp file itself, and the other ("vtf") reads the - texture files. - - The set up for this to work is a bit more complex than most - files, since the engine expects all files to be in a certain - place, and it tends to mix case a lot. I tried to explain - everything in the VBSP_README.txt file." - - This plugin has been integrated with the pre-exisiting bsp - plugin. - -2008-11-24 10:28 robert - - * src/osgPlugins/bsp/BSPLoad.cpp, src/osgPlugins/bsp/BSPLoad.h, - src/osgPlugins/bsp/Q3BSPLoad.cpp, src/osgPlugins/bsp/Q3BSPLoad.h, - src/osgPlugins/bsp/ReaderWriterBSP.cpp, - src/osgPlugins/bsp/ReaderWriterBSP.h, - src/osgPlugins/bsp/ReaderWriterQ3BSP.cpp, - src/osgPlugins/bsp/ReaderWriterQ3BSP.h: Renamig of files in prep - of merge of valve bsp support - -2008-11-24 10:16 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From Tim Moore, "the - GraphicsWindowX11 code was not correctly calling - GraphicsContext::resized when the window was not mapped with the - requested geometry." - -2008-11-24 10:13 robert - - * examples/osgvnc/osgvnc.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2008-11-23 17:28 robert - - * src/osgPlugins/vnc/ReaderWriterVNC.cpp: Added mechnism for - tracking when a VncImage is inactive or not. - -2008-11-23 15:51 robert - - * examples/osgbrowser/osgbrowser.cpp, include/osg/Image, - include/osgViewer/ViewerEventHandlers, - src/osgPlugins/gecko/ReaderWriterUBrowser.cpp, - src/osgPlugins/gecko/UBrowser.cpp, - src/osgPlugins/gecko/UBrowser.h, - src/osgViewer/ViewerEventHandlers.cpp: Added mechanism for - tracking when interactive images are being rendered to - enable their backends to only rendered them when they are - actively being rendered - in the OpenGL window. - -2008-11-23 11:35 robert - - * include/osg/Math, include/osgDB/Field, src/osg/CMakeLists.txt, - src/osg/Math.cpp, src/osgDB/Field.cpp: Introduce - osg::asciiToDouble/asciiToFloat function. - -2008-11-23 10:20 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: From Ulrich Hertlein, "I - noticed some regression in the BMP loader - some 8-bit (paletted) - files wouldn't load anymore but simply crash. - - After taking a look at the current state of the BMP loader I - decided it might be worth a shot at reimplementing that part. For - example: the current loader doesn't properly handle 1- and 4-bit - files, incorrectly loads 16-bit files as intensity-alpha (they - are RGB555), is full of dead code, and generally not in very good - shape. - - Attached is my re-implementation for review. - - I've checked it against the test images from - http://wvnvaxa.wvnet.edu/vmswww/bmp.html and models that use BMP - files. - " - -2008-11-23 09:57 robert - - * include/osgAnimation/Timeline: From Paul Martz, added missing - export - -2008-11-22 14:30 robert - - * examples/CMakeLists.txt, src/CMakeLists.txt, - src/osgPlugins/CMakeLists.txt: Removed the optional build for - osgWidget and plugins as these are options that are appropriate - for building all the time - -2008-11-22 12:14 robert - - * examples/CMakeLists.txt, examples/osganimationmakepath, - examples/osganimationnode, examples/osganimationskinning, - examples/osganimationsolid, examples/osganimationtimeline, - examples/osganimationviewer, include/osgAnimation, - src/CMakeLists.txt, src/osgAnimation, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/osgAnimation: From - Cedric Pinson, Pulled in osgAnimation from - OpenSceneGraph-osgWidget-dev into svn/trunk. - -2008-11-21 18:16 robert - - * src/osgViewer/CompositeViewer.cpp: From Danny Valente, submitted - bu Jean-Sebastien Guay, "Some context: In the past I submitted a - fix to osgViewer::CompositeViewer where events would get wrong - input ranges. Later, you made a change to set the eventState's - current graphics context to the current graphics context. - However, there's a problem in the sequence of events. Here's the - recap (doing a graphical diff with the attached file will show - this clearly): - - Before: - - 1. if the camera is not a slave camera - 1.1 set the eventState's graphics context to the current context. - 2. if the current master view is not the view which has the focus - 2.1 set the current master view to be the view which has the - focus - 2.2 use the new master view's eventState instead of the old one - - Now as you can see from this sequence, the graphics context is - set on the eventState before switching to the view which has - focus (and thus using another eventState). So the new eventState, - in the case we need to switch views, will contain an old graphics - context, not the correct one. - - Just inversing these steps fixes the problem: - - 1. if the current master view is not the view which has the focus - 1.1 set the current master view to be the view which has the - focus - 1.2 use the new master view's eventState instead of the old one - 2. if the camera is not a slave camera - 2.1 set the eventState's graphics context to the current context. - - Now, the eventState will refer to the correct graphics context in - both cases. - - Attached is a fixed CompositeViewer.cpp (based on today's SVN) - which does this. Note that some other things are done in the 1. - and 2. cases, but they have no influence on each other so they - can just be swapped without problems. - " - -2008-11-21 17:44 robert - - * src/osgViewer/Renderer.cpp: Added handling of View::LightingMode - -2008-11-21 17:10 robert - - * src/osgPlugins/gecko/UBrowser.h: Build fix - -2008-11-21 16:09 robert - - * include/osgWidget/Browser, src/osgWidget/Browser.cpp: Added - exports - -2008-11-21 13:23 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp, src/osgPlugins/obj/obj.h: From David - Spilling, better support for multitexture in obj loader. - -2008-11-21 12:38 robert - - * examples/CMakeLists.txt, examples/osgpackeddepthstencil, - examples/osgpackeddepthstencil/CMakeLists.txt, - examples/osgpackeddepthstencil/osgpackeddepthstencil.cpp: From - Jaromir Vitek, osgpackeddepthstencil example as a test case. - -2008-11-21 12:31 robert - - * src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp: Updated - wrappers - -2008-11-21 12:30 robert - - * include/osgParticle/ParticleSystemUpdater, - src/osgParticle/ParticleSystemUpdater.cpp: Made the - ParticleSystemUpdate::addParticleSystem, removeParticleSystem, - replaceParticleSystem and setParticleSystem methods all virtual - to allow them to be overriden. - -2008-11-21 12:15 robert - - * src/osgDB/FileUtils.cpp, src/osgViewer/GraphicsWindowWin32.cpp: - From Mario Valle, "Attached two small correction to remove the - following warnings from MINGW build." - -2008-11-21 12:10 robert - - * include/osgDB/ReaderWriter: From Jason Beverage, "The _pluginData - member variable is not properly copied when using the copy - constructor for ReaderWriter::Options." - -2008-11-21 12:05 robert - - * src/osgPlugins/ive/DataInputStream.cpp: From Joakim Simonsson, - fixed warning. - -2008-11-21 11:52 robert - - * src/osgUtil/Tessellator.cpp: From Gordon Tomlinson, "Find - enclosed fix for a leak in the Tessellator::reset(), were the new - verts were not being deleted, only the container was - - We have confirmed the leak while running things through Purify," - - Small code tweaks by Robert Osfield to streamline the code. - -2008-11-21 11:27 robert - - * src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osgManipulator/AntiSquish.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/Projector.cpp, - src/osgWrappers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/osgManipulator/Translate1DDragger.cpp: Updated - wrappers - -2008-11-21 11:23 robert - - * include/osgManipulator/AntiSquish, - include/osgManipulator/Command, include/osgManipulator/Dragger, - include/osgManipulator/Projector, - include/osgManipulator/RotateCylinderDragger, - include/osgManipulator/RotateSphereDragger, - include/osgManipulator/Scale1DDragger, - include/osgManipulator/Scale2DDragger, - include/osgManipulator/Translate1DDragger, - include/osgManipulator/Translate2DDragger, - src/osgManipulator/AntiSquish.cpp, - src/osgManipulator/Command.cpp, - src/osgManipulator/Constraint.cpp, - src/osgManipulator/Dragger.cpp, src/osgManipulator/Projector.cpp, - src/osgManipulator/RotateCylinderDragger.cpp, - src/osgManipulator/RotateSphereDragger.cpp, - src/osgManipulator/Scale1DDragger.cpp, - src/osgManipulator/Scale2DDragger.cpp, - src/osgManipulator/Translate1DDragger.cpp, - src/osgManipulator/Translate2DDragger.cpp: From Serge Lages, - "Here you can find some modifications to osgManipulator to work - with double values instead of floats. Indeed I faced problems - with the osgManipulator library when working with Earth based - scenes, it was impossible to drag objects in a precise way if - they were too far from the center of the scene." - -2008-11-21 11:09 robert - - * include/osgManipulator/AntiSquish, - include/osgManipulator/Command, include/osgManipulator/Projector, - include/osgManipulator/RotateCylinderDragger, - include/osgManipulator/RotateSphereDragger, - include/osgManipulator/Scale1DDragger, - include/osgManipulator/Scale2DDragger, - include/osgManipulator/ScaleAxisDragger, - include/osgManipulator/Selection, - include/osgManipulator/Translate1DDragger, - include/osgManipulator/Translate2DDragger, - include/osgManipulator/TranslateAxisDragger, - src/osgManipulator/Command.cpp, - src/osgManipulator/RotateCylinderDragger.cpp, - src/osgManipulator/RotateSphereDragger.cpp, - src/osgManipulator/Scale1DDragger.cpp, - src/osgManipulator/Scale2DDragger.cpp, - src/osgManipulator/TabPlaneDragger.cpp, - src/osgManipulator/Translate2DDragger.cpp: Replaced tabs - -2008-11-21 10:27 robert - - * src/osgViewer/StatsHandler.cpp: Added handling of case when there - is so scene graph attached to a view. - -2008-11-20 17:27 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp: From Jim - Vaughan, "I found a bug in the code I sent you last month. It was - working for SoVRMLTransform nodes, but - SOTransform nodes are not in the IV scenegraph the way I thought - they were. The attached file - contains a fix for this." - -2008-11-20 13:07 robert - - * src/osgPlugins/gecko/CMakeLists.txt, - src/osgPlugins/gecko/ReaderWriterUBrowser.cpp: Added readNodeFile - support the gecko plugin. - -2008-11-20 12:03 robert - - * include/osg/DisplaySettings, src/osg/DisplaySettings.cpp: Added - DisplaySettings::s/getApplication() to help with gecko plugin - initialization when it requires the application name - -2008-11-20 11:47 robert - - * src/osgWrappers/osgWidget/Browser.cpp: Updated wrappers - -2008-11-20 11:28 robert - - * examples/CMakeLists.txt, examples/osgbrowser/CMakeLists.txt, - examples/osgbrowser/ReaderWriterUBrowser.cpp, - examples/osgbrowser/UBrowser.cpp, examples/osgbrowser/UBrowser.h, - examples/osgbrowser/llembeddedbrowser.cpp, - examples/osgbrowser/llembeddedbrowser.h, - examples/osgbrowser/llembeddedbrowserwindow.cpp, - examples/osgbrowser/llembeddedbrowserwindow.h, - examples/osgbrowser/llmozlib2.cpp, - examples/osgbrowser/llmozlib2.h, - examples/osgbrowser/nsProfileDirServiceProvider.cpp, - examples/osgbrowser/nsProfileDirServiceProvider.h, - examples/osgbrowser/nsProfileLock.h, - examples/osgbrowser/nsProfileStringTypes.h, - examples/osgbrowser/osgbrowser.cpp, include/osgWidget/Browser, - src/osgWidget/Browser.cpp: Clean up osgbrowser after moving - browser implementation into gecko plugin - -2008-11-20 11:27 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/gecko, - src/osgPlugins/gecko/CMakeLists.txt, - src/osgPlugins/gecko/ReaderWriterUBrowser.cpp, - src/osgPlugins/gecko/UBrowser.cpp, - src/osgPlugins/gecko/UBrowser.h, - src/osgPlugins/gecko/llembeddedbrowser.cpp, - src/osgPlugins/gecko/llembeddedbrowser.h, - src/osgPlugins/gecko/llembeddedbrowserwindow.cpp, - src/osgPlugins/gecko/llembeddedbrowserwindow.h, - src/osgPlugins/gecko/llmozlib2.cpp, - src/osgPlugins/gecko/llmozlib2.h, - src/osgPlugins/gecko/nsProfileDirServiceProvider.cpp, - src/osgPlugins/gecko/nsProfileDirServiceProvider.h, - src/osgPlugins/gecko/nsProfileLock.h, - src/osgPlugins/gecko/nsProfileStringTypes.h: Moved browser code - from osgbrowser example into gecko plugin to make the browser - functionality accessible to other OSG applications - -2008-11-19 20:34 robert - - * include/osgViewer/ViewerBase: Reverted Kyle Centers mistaken - patch that removed a _currentContext->valid() that was actually - required. - -2008-11-19 17:16 robert - - * examples/osgbrowser/Browser.cpp, examples/osgbrowser/Browser.h, - examples/osgbrowser/CMakeLists.txt, - examples/osgbrowser/UBrowser.h, - examples/osgwidgetmenu/CMakeLists.txt, include/osgWidget/Browser, - src/osgWidget/Browser.cpp, src/osgWidget/CMakeLists.txt: Moved - Browser.h and Browser.cpp from osgbrowser into osgWidget. - -2008-11-19 17:04 robert - - * CMakeModules/FindXUL.cmake: Added XUL_DIR searching -2008-11-19 17:02 robert +e below, will be ignored-- - * examples/osgbrowser/UBrowser.cpp: Fixed component directory path - handling. +M src/osgPlugins/dae/ReaderWriterDAE.cpp +M src/osgPlugins/dae/daeReader.cpp +M src/osgPlugins/dae/ReaderWriterDAE.h +M src/osgPlugins/dae/daeReader.h -2008-11-19 16:58 robert - * examples/osgbrowser/Browser.cpp, examples/osgbrowser/Browser.h, - examples/osgbrowser/CMakeLists.txt, - examples/osgbrowser/ReaderWriterUBrowser.cpp, - examples/osgbrowser/UBrowser.cpp, examples/osgbrowser/UBrowser.h, - examples/osgbrowser/osgbrowser.cpp: Refactored browser classes so - that there is now a base class and reader writer. -2008-11-18 23:38 robert +Mon, 8 Oct 2012 11:10:25 +0000 +Checked in by : Robert OSFIELD +From James Athey, "I've attached a new osgDB ReaderWriter that can read Khronos Texture Files (KTX). The KTX file format is straightforward and designed to be easy to use in OpenGL.http://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/ +http://www.khronos.org/opengles/sdk/tools/KTX/ - * CMakeLists.txt, CMakeModules/FindXUL.cmake, - examples/CMakeLists.txt, examples/osgbrowser/CMakeLists.txt, - src/osgWrappers/osg/GraphicsThread.cpp: Changed osgbrowser - example to use a local CMakeModules/FindXUL.cmake script, - and specialization of GTK dependencies to only non Windows/OSX - platforms. +The attached plugin can read: -2008-11-18 17:20 robert +* 1D, 2D, and 3D textures +* uncompressed and compressed images +* mipmapped and non-mipmapped textures +* little-endian and big-endian files +* textures from files as well as seekable istream objects - * examples/osgbrowser/llembeddedbrowserwindow.cpp, - examples/osgbrowser/osgbrowser.cpp: Removed debug output +It does not handle: -2008-11-18 15:18 robert +* array textures (not supported by the ReaderWriter API) +* cubemap textures (not supported by the ReaderWriter API) +* the "KTXorientation" key-value pair; support could be added later (see +the file format spec for more information) +* non-seekable istream objects (would require more complicated memory +management) +" - * include/osg/GraphicsThread: Added optional bool keep to - BarrierOperation to make it more resuable -2008-11-18 14:46 robert - * examples/osgbrowser/osgbrowser.cpp: Moved update functionality - into from UBrowserImage into update. +Fri, 5 Oct 2012 16:31:23 +0000 +Checked in by : Robert OSFIELD +Made TouchData and osg::Object to aid with serialization. -2008-11-18 13:36 robert +Fri, 5 Oct 2012 10:37:36 +0000 +Checked in by : Robert OSFIELD +Improved ImageSequence's handling of seek() and added a simply hack to ImagePager to prevent the number of requests accumulating. - * examples/osgbrowser/osgbrowser.cpp: Added support for running all - ubrowser operataions in a background thread. - -2008-11-17 19:15 robert - - * examples/osgbrowser/osgbrowser.cpp: Fixed key mapping - -2008-11-17 17:58 robert - - * examples/osgbrowser/osgbrowser.cpp: Refactored the UBrowser - functionality so a UBrowserThread singlton class takes - over more responsibility of integratation with llmozlib. +Fri, 5 Oct 2012 10:35:06 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber and Robert Osfield, addded interactive setting of the ImageSequence::seek() based on the mouse x position. -2008-11-17 15:53 robert +Fri, 5 Oct 2012 10:07:09 +0000 +Checked in by : Robert OSFIELD +Added set methods to assist with serialization support - * examples/CMakeLists.txt, examples/osgbrowser/CMakeLists.txt: - Removed dependency on GLUT. +Thu, 4 Oct 2012 13:45:54 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find a fix for Registry.cpp not using the QTKit-plugin for video-files. W/o this fix you had to preload the plugin to open movie-files." -2008-11-17 15:49 robert +Tue, 2 Oct 2012 14:07:12 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, OSX and iOS Video support via a QTKit plugin from OSX 10.7 and before, and an AVFoundation plugin for iOS and OSX10.8 and later. - * examples/osgbrowser/osgbrowser.cpp: Ported example to using OSG - objects for rendering rather than GLUT +Fri, 28 Sep 2012 16:36:42 +0000 +Checked in by : Robert OSFIELD +From Leigh Stivers, "We had this problem which shows up with nVidia's latest Quadro driver, 305.93 - and older drivers when the nVidia's setting "Thread Optimization" was turned on, running Windows 7. The symptom, is that after creating a first view and using it, and then creating a second view, the first view will never render anything but black.What happens is this: +A view is created, and then the viewers thread is created and runs. +The setReleaseContextAtEndOfFrameHint is true. +To create a second view, the viewer is setDone(true), and we wait for the thread exit. -2008-11-17 10:36 robert +At this point, inside the ViewerBase::RenderingTraversals code, there are places where it reads "if(_done) return;" - * examples/osgbrowser/CMakeLists.txt, - examples/osgbrowser/llembeddedbrowser.cpp, - examples/osgbrowser/llembeddedbrowser.h, - examples/osgbrowser/llembeddedbrowserwindow.cpp, - examples/osgbrowser/llembeddedbrowserwindow.h, - examples/osgbrowser/llmozlib2.cpp, - examples/osgbrowser/llmozlib2.h, - examples/osgbrowser/nsProfileDirServiceProvider.cpp, - examples/osgbrowser/nsProfileDirServiceProvider.h, - examples/osgbrowser/nsProfileLock.h, - examples/osgbrowser/nsProfileStringTypes.h, - examples/osgbrowser/osgbrowser.cpp: Introduced xulrunner - extensions from llmozlib2, and got things working under linux +The problem, is that it won't reach the code that will releaseContext(). -2008-11-14 20:50 robert +Apparently, this driver won't let any other thread to makeCurrent(), if another thread (dead or not) has ownership. So when the Viewers is re-started, the first view won't be able to use the gc. - * CMakeLists.txt, src/osgDB/CMakeLists.txt: From Philip Lowman, "If - you change CMAKE_INSTALL_PREFIX in the cache editor after - building the OSG, it causes the entire project to rebuild (at - least with the CMake makefile generator due to changing - preprocessor definitions applied across all targets). - - I suggest moving the definition of OSG_DEFAULT_LIBRARY_PATH - (which is responsible for this global rebuild) into - osgDB/CMakeLists.txt which is the only library in the code where - this definition is (and is likely ever to be) used. This way if - the user changes it, only osgDB will rebuild." +The change attached (against rev 13153) corrects this." -2008-11-14 20:31 robert - * include/osgDB/ConvertUTF: Added definition of std::wstring as a - work around to a lack of wstring under Cygwin. -2008-11-14 18:22 robert +Thu, 27 Sep 2012 08:34:56 +0000 +Checked in by : Robert OSFIELD +From Thomas Hogarth, "Apple have decided in their eternal wisdom to do away with separate depth and stencil buffers on iOS from version 5 and above.Attached are changes to GraphicsWindowIOS.mm to support setting up the new buffer type when compiling for iOS5, +also attached is a small change to FrameBufferObject.cpp to report support for packed depth stencil via the +GL_OES_packed_depth_stencil extension. - * CMakeLists.txt, include/osg/Export: From Simon Hammett, moved VS - #prgama warning disabling from include/osg/Export to - CMakeList.txt. +For anyone reading this you can attach a packed depth stencil to your FBO like so -2008-11-14 18:15 robert +_rttCamera->attach( osg::Camera::PACKED_DEPTH_STENCIL_BUFFER, GL_DEPTH24_STENCIL8_EXT ); - * src/osgPlugins/cfg/CameraConfig.cpp: Removed reduncent #includes +Luckily GL_DEPTH24_STENCIL8_EXT happens to have the same value as iOSs GL_DEPTH24_STENCIL8_OES" -2008-11-14 17:03 robert - * CMakeLists.txt, include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowWin32.cpp: From Wojciech Lewandowski, - "Attached are modifications to GraphicsWindowWin32. By default - workaround is - set to off. But could be activated/decativated via CMake as well - as system - environment variable. I also modified - src\osgViewer\CMakeLists.txt to turn - off this workaround by default as suggested." -2008-11-14 16:54 robert +Wed, 26 Sep 2012 08:42:04 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "This change to include/osg/GL correctly includes the OpenGL header on OSX 10.7 when building OSG trunk for GL3. It also adds some CPP defines for compatibility." - * examples/CMakeLists.txt: Added GTK and GLUT guards to osgbrowser - include +Tue, 25 Sep 2012 11:04:11 +0000 +Checked in by : Robert OSFIELD +Changed dispatch to virtual -2008-11-14 16:48 robert +Mon, 24 Sep 2012 10:10:28 +0000 +Checked in by : Robert OSFIELD +From Frederic Bouvier, "fix PNG write for images with bits per components different than 8 that was hard coded." - * examples/osgbrowser/CMakeLists.txt, - examples/osgbrowser/llembeddedbrowser.cpp, - examples/osgbrowser/llembeddedbrowserwindow.cpp, - examples/osgbrowser/llembeddedbrowserwindow.h, - examples/osgbrowser/llmozlib2.cpp, - examples/osgbrowser/osgbrowser.cpp: Further work on experiment - llmozlib/geko based embedded web browser +Thu, 20 Sep 2012 14:06:01 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, "In the DXF plugin, DXF layers are decoded and each layer is added in a separate group, which is very usefull to retrieve a layer or display a list of all layers in the aplication.But the layers are not always children of the "model root" node : there can be a matrix transform between "model root" and "layers parent", so I've added the name "Layers" on the node which contains all layers to easily retrieve the layers groups from application code." -2008-11-13 15:35 robert - * CMakeLists.txt, examples/CMakeLists.txt, examples/osgbrowser, - examples/osgbrowser/CMakeLists.txt, - examples/osgbrowser/llembeddedbrowser.cpp, - examples/osgbrowser/llembeddedbrowser.h, - examples/osgbrowser/llembeddedbrowserwindow.cpp, - examples/osgbrowser/llembeddedbrowserwindow.h, - examples/osgbrowser/llmozlib2.cpp, - examples/osgbrowser/llmozlib2.h, - examples/osgbrowser/osgbrowser.cpp: An "attempt" at using - LLMozLib sources as a base for a gecko based embedded browser. -2008-11-13 10:49 robert +Thu, 20 Sep 2012 14:03:47 +0000 +Checked in by : Robert OSFIELD +From Luc Frauciel, Added sRGB FrameBuffer string - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version number in - prep for 2.5.6 dev release +Thu, 20 Sep 2012 11:27:57 +0000 +Checked in by : Robert OSFIELD +From Vladimir Cheaev, " I worked with a osg::Constraint and found strange part of code: class OSGMANIPULATOR_EXPORT Constraint : public osg::Referenced { public: ... virtual bool constrain(ScaleUniformCommand& command) const { return constrain((MotionCommand&)command); } virtual bool constrain(const Rotate3DCommand& command) { return constrain((MotionCommand&)command); } ...If i use osgManipulator::Rotate3DCommand then method Rotate3DCommand::accept(const Constraint& constraint) calls Constraint::constrain(MotionCommand&) instead Constraint:: constrain(const Rotate3DCommand&). -2008-11-12 22:54 robert +If you replace + virtual bool constrain(const Rotate3DCommand& command) { return constrain((MotionCommand&)command); } +on to + virtual bool constrain(Rotate3DCommand& command) const { return constrain((MotionCommand&)command); } +then all works correctly. +" - * CMakeLists.txt, examples/osgpdf/CMakeLists.txt: Moved - Poppler-glib check into root CMakeList.txt -2008-11-12 14:57 robert - * examples/osgpdf/osgpdf.cpp: Improved filepath handling, and - increased the image resolution for better rendering quality +Thu, 20 Sep 2012 11:18:19 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, Added GLBeginEndAdapter::reset(), and _overallNormalAssigned, _overallColorAssigned flags to avoid the GLBeginEndAdapter adapter setting colour and normals when none has been assigned. -2008-11-12 14:21 robert +Thu, 20 Sep 2012 11:16:02 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "attached is a patch to src/osgViewer/CMakeLists.txt that inverts the logic of when to use Cocoa and when to use the old Carbon interface for the windowing system.The old code had to be modified for every new OS X release to default to Cocoa. +The new code uses Carbon for <= OS X 10.4 and Cocoa on everything else." - * examples/CMakeLists.txt, examples/osgpdf, - examples/osgpdf/CMakeLists.txt, examples/osgpdf/osgpdf.cpp: - Introduced new osgpdf example that use Cario + Poppler libraries - to provide a means of rendering a pdf document to an osg::Image. -2008-11-12 14:20 robert - * src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp: Updated wrappers +Thu, 20 Sep 2012 11:14:10 +0000 +Checked in by : Robert OSFIELD +Added ReadQueue::size() method to help with debugging. -2008-11-12 10:30 robert +Wed, 12 Sep 2012 16:35:12 +0000 +Checked in by : Robert OSFIELD +Added handling of directory names in osgimagesequence commandline.From Stephan Huber, added support for controlling the ImageSequence seek position via mouse x position, toggled on/off via 'i' key. - * examples/osgmemorytest/osgmemorytest.cpp: Added - osgViewerGetVersion() into context creation code as a means of - forcing windows to link in osgViewer properly. -2008-11-11 17:59 robert - * examples/osgmemorytest/osgmemorytest.cpp: Improved naming +Wed, 12 Sep 2012 16:02:02 +0000 +Checked in by : Robert OSFIELD +Added osgDB::getSortedDirectoryContents and osgDB::FileNameComparator to help with sorting directory contents into alphabetic and numerical order. -2008-11-11 17:30 robert +Wed, 12 Sep 2012 11:09:41 +0000 +Checked in by : Robert OSFIELD +Converted sorting of directory contents across to use the new osgDB::FileNameComparator and osgDB::getSortedDirectoryContents() - * examples/osgmemorytest/osgmemorytest.cpp: Tweaked comment +Mon, 10 Sep 2012 08:24:49 +0000 +Checked in by : Robert OSFIELD +Updated version after 3.1.3 dev release -2008-11-11 17:29 robert +Fri, 7 Sep 2012 17:04:31 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for 3.1.3 dev release - * examples/osgmemorytest/osgmemorytest.cpp: Added default fallback - of a window context is none is otherwise specified. +Fri, 7 Sep 2012 14:55:09 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, "With current trunk I had an error while compiling osg/Image.cpp for IOS simulator / GLES2. Symbol GL_RGBA16 was missing. Adding #define GL_RGBA16 0x805B to Image header solves the problem. " -2008-11-11 16:59 robert +Fri, 7 Sep 2012 09:31:26 +0000 +Checked in by : Robert OSFIELD +Added setting of the input range of the event state based on the master cameras viewport. - * examples/osgmemorytest/osgmemorytest.cpp: Added command line - argument docs and support for -h/--help command line options +Fri, 7 Sep 2012 08:33:24 +0000 +Checked in by : Robert OSFIELD +Added check so not intialization is down when you select the current camera manipulator -2008-11-11 16:59 robert +Thu, 6 Sep 2012 13:53:58 +0000 +Checked in by : Robert OSFIELD +From Piotr Domagalski, "I've added reading of node names ('DEF' element) to the VRML reading plugin. The changes were based on trunk's version of the plugin." - * src/osg/ArgumentParser.cpp: Removed the redundent prepending of - application name. +Thu, 6 Sep 2012 13:48:17 +0000 +Checked in by : Robert OSFIELD +From Piotr Domagalski, "I've rewritten some bits of the STL plugin in order to support ASCII STL files with multiple named solids (reading and writing). The names are also used as OSG nodes names.- Also, a 'dontSaveNormals' was added. It allows to ignore normals when writing an STL file. For example, it is useful for me when writing an STL file for CFD simulations. -2008-11-11 16:21 robert +- Some comments and code formatting were improved (to be consistent with the formatting already used in the plugin). - * examples/osgmemorytest/osgmemorytest.cpp: Added timing stats +- With 'separateFiles' option files are now named fooX.stl instead of foo.stlX -2008-11-11 16:13 robert +The changes have been tested on various STL, both ASCII and binary found on the net. The change was based on the trunk branch." - * examples/osgmemorytest/osgmemorytest.cpp: Added --geometry, - --geometry-vbo and --geometry-va command line options and - associated geometry test codes +From Robert Osfield, changed assert in Piotr's code to a runtime check warning report. -2008-11-11 15:00 robert - * examples/osgmemorytest/osgmemorytest.cpp: Added --delay - option that is run between each OpenGL object - apply, defaults to 0 -2008-11-11 12:50 robert - * examples/osgmemorytest/osgmemorytest.cpp: Added support for fbo - testing. +Thu, 6 Sep 2012 10:52:28 +0000 +Checked in by : Robert OSFIELD +From Piotr Domagalski, "Currently, code using OpenSceneGraph doesn't build with clang due to the way __sync_bool_compare_and_swap() is used in OpenThreads/Atomic header file.I tested it with clang 3.1 and it seems that clang is enforcing the use of the same type for all parameters in this builtin. Looking at the function declaration [1] -2008-11-10 20:06 robert +bool __sync_bool_compare_and_swap (type *ptr, type oldval type newval, ...) - * examples/CMakeLists.txt, examples/osgmemorytest, - examples/osgmemorytest/CMakeLists.txt, - examples/osgmemorytest/osgmemorytest.cpp: First cut of - osgmemorytest example that is written to allocate many - windows/pbuffer/GL objects as test of how many objects can be - allocated on a machine. +it seems to be doing the right thing: here the same type is used for *ptr, oldval and newval. -2008-11-10 13:56 robert +[1] http://gcc.gnu.org/onlinedocs/gcc/_005f_005fsync-Builtins.html#g_t_005f_005fsync-Builtins +" - * src/osgPlugins/CMakeLists.txt: Added commented out flt entry for - compiling the old deprecated flight plugin (useful for testing - purposes). -2008-11-10 13:48 robert - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.h: Fix to traversal of - children of an LOD - based on a suggestion from Katharina Plugge. +Thu, 6 Sep 2012 10:32:07 +0000 +Checked in by : Robert OSFIELD +From Fredric Bouvier, fix to CMake build selection of FLTK -2008-11-09 11:56 robert +Wed, 5 Sep 2012 21:03:41 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald and Robert Osfield, converted Traits::sharedContext from GraphicsContext* to osg:observer_ptr to prevent dangling pointer issues. - * examples/osgprerender/osgprerender.cpp, - src/osgPlugins/ive/Camera.cpp, src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/osg/Camera.cpp: Added support for - Camera::PACKED_DEPTH_STENCIL_BUFFER to .osg and .ive formats +Wed, 5 Sep 2012 13:51:34 +0000 +Checked in by : Robert OSFIELD +Fixed inappropriate comment -2008-11-09 11:55 robert +Wed, 5 Sep 2012 13:48:23 +0000 +Checked in by : Robert OSFIELD +Moved the OSG_INIT_SINGLETON_PROXY macro into include/osg/Object to make it more generally useful and added it's usage into the RenderBinPrototypeList initialization. - * include/osg/Camera, include/osg/FrameBufferObject, - src/osg/FrameBufferObject.cpp: From Jaromir Vitek, "patch - contains extension to fbo and camera. Camera can attach new - render buffer for depth and stencil logical buffer in packed - form." +Wed, 5 Sep 2012 10:27:08 +0000 +Checked in by : Robert OSFIELD +From Thomas Hogarth, "I submitted a change for the IOS CMake system a few weeks back which hasn't made it into the trunk. I've just made the modifications again against the latest trunk and have attached the fileIt basically accounts for the fact that XCode has changed it's default install location. -2008-11-08 17:53 robert +" - * examples/osgrobot/osgrobot.cpp: From Jean-Sebastien Guay, - replaced M_PI with osg::PI. -2008-11-07 18:02 robert - * AUTHORS.txt, ChangeLog: Updated ChangeLog for 2.7.5 release +Wed, 5 Sep 2012 10:24:10 +0000 +Checked in by : Robert OSFIELD +From Andreas Ekstrand, The attached ESRIShape.cpp contains fixes for comparing calculated byte sizes with the content length from the record header. According to the ESRI Shape documentation (http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf), the content length is specified in 16 bit words, which is why I have multiplied it by 2 when comparing to byte sizes. Note that the comparison in line 813 is made with a fix number of 16-bit words so it hasn't been changed.This fixes problems with PolygonZ records where the previous code was reading past the end of the record since it thought it had M values even if it didn't. I suspect the problem that James McGlone had back in 2006 was the same but reversed, when he tried to simply comment out the check, which was a (correctly) refused submission."" -2008-11-07 17:40 robert - * src/osgViewer/ViewerBase.cpp: From Csaba Halasz, fix for hang - when running in CullThreadPerCameraDrawThreadPerContext threading - model. - -2008-11-07 17:23 robert - - * include/osgViewer/Renderer, src/osgViewer/Renderer.cpp: Fixed - typo -2008-11-07 17:07 robert - - * include/osgDB/ConvertUTF: Fixed build under gcc 4.3.2 - -2008-11-07 16:26 robert - - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog and version number for 2.7.5 release - -2008-11-07 16:14 robert - - * src/osgWrappers/genwrapper.conf: Removed fstream for wrapper due - to problems with wrapping. - -2008-11-07 16:03 robert - - * src/osgWrappers/osgDB/fstream.cpp: Removed due to problems with - build - -2008-11-07 15:38 robert - - * src/osgWrappers/osgDB/fstream.cpp: Updated wrappers - -2008-11-07 15:08 robert - - * CMakeLists.txt, applications/osgversion/CMakeLists.txt, - applications/osgversion/osgversion.cpp, - examples/osg2cpp/osg2cpp.cpp, - examples/osgdepthpeeling/Utility.cpp, - examples/osglauncher/osglauncher.cpp, - examples/osgphotoalbum/PhotoArchive.cpp, - examples/osgsimulation/osgsimulation.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgterrain/osgterrain.cpp, - examples/osgunittests/UnitTestFramework.h, - examples/osgvolume/osgvolume.cpp, include/osgDB/ConvertUTF, - include/osgDB/FileUtils, include/osgDB/Output, - include/osgDB/fstream, include/osgViewer/ViewerEventHandlers, - src/osg/Config.in, src/osgDB/CMakeLists.txt, - src/osgDB/ConvertUTF.cpp, src/osgDB/FileUtils.cpp, - src/osgDB/Output.cpp, src/osgDB/Registry.cpp, - src/osgDB/fstream.cpp, src/osgGA/AnimationPathManipulator.cpp, - src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/3ds/file.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.h, - src/osgPlugins/ac/ac3d.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/cfg/CameraConfig.cpp, - src/osgPlugins/cfg/CameraConfig.h, - src/osgPlugins/cfg/ConfigParser.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/dxf/dxfReader.h, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgPlugins/hdr/ReaderWriterHDR.cpp, - src/osgPlugins/hdr/hdrloader.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/Converter.cpp, src/osgPlugins/lwo/old_Lwo2.h, - src/osgPlugins/lwo/old_lw.cpp, - src/osgPlugins/lws/SceneLoader.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp, - src/osgPlugins/osg/FragmentProgram.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osg/VertexProgram.cpp, - src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp, - src/osgPlugins/osgViewer/ReaderWriterOsgViewer.cpp, - src/osgPlugins/osga/OSGA_Archive.h, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/shp/ESRIShapeReaderWriter.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/txf/ReaderWriterTXF.cpp, - src/osgPlugins/txp/TXPArchive.cpp, - src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_writebuf.cpp, - src/osgPlugins/x/directx.cpp, - src/osgViewer/ViewerEventHandlers.cpp, src/osgWidget/Python.cpp: - From Michael Platings, Converted std::fstream/ifstream/ofstream - to osgDB::fstream/ifstream/ofstream and - fopen to osgDB::fopen to facilitate support for wide character - filenames using UT8 encoding. - -2008-11-07 15:01 robert - - * src/osgPlugins/txp/trpage_rarchive.cpp, - src/osgPlugins/txp/trpage_readbuf.cpp, - src/osgPlugins/txp/trpage_warchive.cpp, - src/osgPlugins/txp/trpage_writebuf.cpp: Converted tabs to four - spaces - -2008-11-07 13:18 robert - - * include/osg/ConvexPlanarPolygon: From Tim Moore, removed - redundent forward declartion of BoundingBox and BoundingSphere - -2008-11-07 10:23 robert - - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: From Martins Innus, "Here - is a fix to add requestWarpPointer for OS X. It seems to work for - me, I just took what osgProducer had. These are updated files to - 2.7.3" - -2008-11-06 16:48 robert - - * src/osgShadow/StandardShadowMap.cpp: Changed to using stdio.h. - -2008-11-06 14:56 robert - - * src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2008-11-06 14:46 robert - - * include/osg/FrameBufferObject, src/osg/FrameBufferObject.cpp: - Fixed constness of getTexture/getRenderBuffer() const and added - non cost version. - -2008-11-06 14:29 robert - - * include/osg/FrameBufferObject, src/osg/FrameBufferObject.cpp: - From Michael Platings, "I've added functions to get the - texture, renderbuffer and other properties from a - FrameBufferAttachment." - -2008-11-06 14:17 robert - - * include/osgViewer/ViewerBase: From Kyle Centers, removed - redundent check to _currentContext.valid(). - -2008-11-06 14:04 robert - - * include/osgShadow/DebugShadowMap, - include/osgShadow/MinimalCullBoundsShadowMap, - include/osgShadow/MinimalDrawBoundsShadowMap, - include/osgShadow/MinimalShadowMap, - include/osgShadow/ProjectionShadowMap, - include/osgShadow/StandardShadowMap, - include/osgShadow/ViewDependentShadowTechnique: From Csaba - Halasz, adding missing export directives +Wed, 5 Sep 2012 10:19:01 +0000 +Checked in by : Robert OSFIELD +From Nico Kruithof, "There is a small typo in the ShapeDrawable code for a sphere. There was a gl.Begin(GL_QUAD_STRIP) that was never closed, nor used." -2008-11-06 13:57 robert - * src/osgViewer/CompositeViewer.cpp: From Thomas Wedner, "use - osgViewer::CompositeViewer with several views. All views share - parts of their scene graphs. Within these common part some nodes - have - event handlers which use the action adapter argument to the event - handler to determinate which view received the event. - Here is the problem, osgViewer::CompositeViewer::eventTraversal - sets - the action adapter field in the EventVisitor always to the last - view - which received an event, instead of using the view which actually - received the event, so determination of the correct view does not - work. - I looked at the code a bit, and moved the code for setting the - action - adapter to a IMO better place" -2008-11-06 13:40 robert +Wed, 5 Sep 2012 09:30:33 +0000 +Checked in by : Robert OSFIELD +Updated SO version number to avoid collision with new additions to serializers - * examples/CMakeLists.txt: From Ulrich Hertleinm "cmake 2.6 is - having trouble on Mac OS X because example/CMakeLists.txt addes - subdirectory osgviewerGLUT twice. I took the liberty to remove - the second occurrence. - " +Wed, 5 Sep 2012 09:08:25 +0000 +Checked in by : Robert OSFIELD +Added GL_RGBA8 and GL_RGBA16 entries to the Image::computePixelFormat() and improved he readability of the method by inserting line spacing. -2008-11-06 13:38 robert +Wed, 5 Sep 2012 08:48:10 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "fixes a typo and adds support for OS X 10.8" - * src/osgUtil/IntersectionVisitor.cpp: Fixed - IntersectionVisitor::accept(Camera) handling of relative Cameras. +Wed, 5 Sep 2012 08:42:14 +0000 +Checked in by : Robert OSFIELD +Added deprecated note to indices entry. -2008-11-06 13:36 robert +Tue, 4 Sep 2012 08:21:09 +0000 +Checked in by : Robert OSFIELD +From Brad Christiansen, changed OSG_INFO to OSG_DEBUG to quieten down volume of messages in INFO - * examples/osgpick/osgpick.cpp: From Chris Denham, added transform - to cube to test picking fixes +Mon, 3 Sep 2012 15:19:00 +0000 +Checked in by : Robert OSFIELD +From Brad Christiansen, "fix for the NVTTImageProcessor. When the code was updated in revision 12912 a couple of typos where made. These cause a crash when compressing transparent images and mangled colours when compressing rgb images. " -2008-11-05 16:06 robert +Mon, 3 Sep 2012 09:08:16 +0000 +Checked in by : Robert OSFIELD +Adjusted the #define's to help GLES2 build - * examples/osgmovie/osgmovie.cpp: Removed redundent static - ImageStream pointer +Mon, 3 Sep 2012 08:30:01 +0000 +Checked in by : Robert OSFIELD +From Lilin Xiong, " there is a small bug in osgDB::readNodeFiles(std::vector& fileList,const Options* options) in file ReadFile.cpp line 85: osg::Node *node = osgDB::readNodeFile( *itr , Registry::instance()->getOptions() ); It should be: osg::Node *node = osgDB::readNodeFile( *itr , options );" -2008-11-05 15:59 robert +Fri, 31 Aug 2012 16:00:55 +0000 +Checked in by : Robert OSFIELD +Added a fix for a multi-threading bug that occured when TerrainTiles were accessed via the Terrain::_updateTerrainTileSet that were being deleted at the same time by the DatabasePager thread. - * examples/osgvolume/osgvolume.cpp: Added --no-rescale, --rescale - (default) and --shift-min-to-zero command line options for - controlling how the pixel data is managed. +Wed, 29 Aug 2012 16:48:27 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "This patch fixes a problem of the osg::Program serializers that can't save/load GeometryInputType data correctly. The bug is initially found by John Kelso." -2008-11-05 15:04 robert +Fri, 24 Aug 2012 15:05:03 +0000 +Checked in by : Robert OSFIELD +From Johannes Scholz, fix for writing out of hexidecimal numbers - * examples/osgvolume/osgvolume.cpp: Added - --replace-rgb-with-luminance option +Thu, 23 Aug 2012 15:06:27 +0000 +Checked in by : Robert OSFIELD +Fixed bug in GLBufferObjectSet::discardAllDeletedGLBufferObjects() and GLBufferObjectSet::flushDeletedGLBufferObjects(double currentTime, double& availableTime) where the NumberActiveGLBufferObjects was errneously being incremented by numDiscarded.M osg/BufferObject.cpp -2008-11-05 15:04 robert - * src/osgVolume/ImageUtils.cpp: Added support for different pixel - formats and datatypes in copyImage() method -2008-11-05 11:56 robert +Wed, 22 Aug 2012 16:39:47 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * src/osg/ArgumentParser.cpp, src/osg/DisplaySettings.cpp: Fixed - return value of ArgumentParser::find() for when the search string - is not found, the correct value is now -1. +Tue, 21 Aug 2012 09:45:24 +0000 +Checked in by : Robert OSFIELD +Added check against the Camera NodeMask to decide whether it's appropriate to test for events on that camera. -2008-11-05 10:29 robert +Wed, 15 Aug 2012 12:40:48 +0000 +Checked in by : Robert OSFIELD +Added ShadowSettings::s/getMaximumShadowMapDistance(double) property, usage of these property in ViewDependentShadowMap, and setting of it with --max-shadow-distance in the osgshadow example. - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Added extra data - types info to debug message +Tue, 14 Aug 2012 20:15:00 +0000 +Checked in by : Robert OSFIELD +Added a mutex to protect the removal and addition of Uniform and Program to StateSet to avoid parents being invalidated when multi-threading. -2008-11-05 10:27 robert +Fri, 3 Aug 2012 16:14:14 +0000 +Checked in by : Robert OSFIELD +Introduced --near-far-mode into osgshadow and ShadowSettings::setComputeNearFarModeOverride(..) to allow user control of how the cull traversal is optimized for computing the depth range of the shadow map. - * src/OpenThreads/pthreads/PThread.c++: Added Thread::Init() to - CurrentThread +Fri, 3 Aug 2012 15:23:44 +0000 +Checked in by : Robert OSFIELD +Removed the erronous creation of a local ShadowSettings object -2008-11-04 16:31 robert +Tue, 24 Jul 2012 09:05:04 +0000 +Checked in by : Robert OSFIELD +Added FireGL to prefernce list for use glGenerateMipMap - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Compiled fix for gcc - 4.3.2 +Mon, 23 Jul 2012 08:15:57 +0000 +Checked in by : Robert OSFIELD +Fixed build -2008-11-04 12:57 robert +Thu, 12 Jul 2012 16:41:53 +0000 +Checked in by : Robert OSFIELD +Introduced Texture::Extensions::s/getPreferGenerateMipmapSGISForPowerOfTwo() flag that defaults to false for Radeon, true elsewhere. This is used to workaround mipmapping bugs with ATI/AMD cards. - * examples/osgvolume/osgvolume.cpp: Fixed --images commandline - parsing +Wed, 11 Jul 2012 14:36:14 +0000 +Checked in by : Robert OSFIELD +Fixed indentation -2008-11-03 16:55 robert +Wed, 11 Jul 2012 08:39:11 +0000 +Checked in by : Robert OSFIELD +Fixed parameter default value to avoid warning - * src/osgPlugins/vnc/ReaderWriterVNC.cpp: Added GPL copyright - notice +Tue, 10 Jul 2012 16:20:32 +0000 +Checked in by : Robert OSFIELD +Replaced use of now deprecated methods. -2008-11-03 16:31 robert +Tue, 10 Jul 2012 16:11:40 +0000 +Checked in by : Robert OSFIELD +Enabled the use the getReceivesShadowTraversalMask(). - * src/osgViewer/ViewerEventHandlers.cpp: Added handling of texture - matrices and texture rectangles in InteractiveImageHandler +Tue, 10 Jul 2012 16:11:15 +0000 +Checked in by : Robert OSFIELD +Changed settings of masks to use ShadowSettings. -2008-11-03 15:58 robert +Tue, 10 Jul 2012 15:50:46 +0000 +Checked in by : Robert OSFIELD +Moved mask settings into ShadowSettings - * examples/osgvnc/CMakeLists.txt, examples/osgvnc/osgvnc.cpp: - Refactored osgvnc example to utilise the new vnc plugin +Mon, 9 Jul 2012 17:49:04 +0000 +Checked in by : Robert OSFIELD +Changed updateCamera(Camera*) to updateCamera(Camera&) to make it clear that a valid Camera object should be passed in. -2008-11-03 15:57 robert +Mon, 9 Jul 2012 17:32:13 +0000 +Checked in by : Robert OSFIELD +From Riccardo Corsi, introduced CameraManipulator::updateCamera() method that allows more Camera properties to be controlled by the CameraManipulator. - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/vnc, - src/osgPlugins/vnc/CMakeLists.txt, - src/osgPlugins/vnc/ReaderWriterVNC.cpp: Added vnc plugin. +Mon, 25 Jun 2012 16:31:36 +0000 +Checked in by : Robert OSFIELD +Refactored the way that the static Scene cache is managed by moving all the functionality into a SceneSingleton -2008-11-03 15:08 robert +Fri, 22 Jun 2012 16:21:08 +0000 +Checked in by : Robert OSFIELD +Restructed the way that the global notify variables are initialized to avoid problems with multi-threaded initialization of these variables. - * include/osg/Image, include/osgViewer/ViewerEventHandlers, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Added sendPointerEvent and - sendKeyEvent virtual methods to osg::Image to - facilitate the subclassing of Image providing interactive - behaviours so as - used in the vnc interactive VncImage class. - - osgViewer::InteractiveImageHandler provides an event handler that - convertes osgGA - mouse and keyboard events into the coordinate frame of an image - based on ray intersection with geometry in - the associated subgraph. - - Changed the ordering of events processing in Viewer and - CompositeViewer to allow - scene graph event handlers to take precidence over viewer event - handlers and camera manipulators +Sat, 16 Jun 2012 09:08:05 +0000 +Checked in by : Robert OSFIELD +Fixed spelling of FileNameComparator -2008-11-03 15:03 robert +Fri, 15 Jun 2012 09:04:32 +0000 +Checked in by : Robert OSFIELD +Moved the frame() event into the event traversal after then events and their state have been accumulated. - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Changed version number to - 2.7.5 in prep for dev release +Tue, 12 Jun 2012 20:15:58 +0000 +Checked in by : Robert OSFIELD +Added FileNameComparator to sort the filenames in an ImageSequence into alphanumerical order so that it can handle the numerical ordering found in screenshot numbered sets of files -2008-11-03 10:17 robert +Tue, 12 Jun 2012 18:29:03 +0000 +Checked in by : Robert OSFIELD +Enabled 6 ImageThreads in the ImagePager - * src/osgPlugins/tiff/CMakeLists.txt: Changed Tiff plugin to link - to TIFF_LIBRARIES to handle case where JPEG and ZLIB are - dependencies. +Tue, 12 Jun 2012 10:31:50 +0000 +Checked in by : Robert OSFIELD +Commented out the disabling of use of PBO's in ImageStream, and disabled the use ClientStoreHint in Present3D. -2008-10-31 16:48 robert +Mon, 11 Jun 2012 19:54:07 +0000 +Checked in by : Robert OSFIELD +Added support for setting the paging_mode property to PRE_LOAD_ALL_IMAGES, PAGE_AND_RETAIN_IMAGES or PAGE_AND_DICARD_IMAGE for osg::ImageStream, with PAGE_AND_DICARD_IMAGE set as the default. - * examples/osgvnc/osgvnc.cpp: Wrapped up the various client - streaming methods + thread into VncImage classes. +Fri, 8 Jun 2012 10:26:23 +0000 +Checked in by : Robert OSFIELD +Added ImageStream support to and tags in .p3d -2008-10-31 13:59 robert +Fri, 8 Jun 2012 04:18:28 +0000 +Checked in by : Robert OSFIELD +Added osg::ImageSequence support into osgPresentation::SlideShowConstructor and the associated tag in .p3d. - * examples/osgvnc/CMakeLists.txt, examples/osgvnc/osgvnc.cpp: - Implemented keyboard and mouse dispatch from vnc client to vnc - server. +Thu, 7 Jun 2012 10:08:42 +0000 +Checked in by : Robert OSFIELD +Added --fps support -2008-10-31 12:03 robert +Thu, 31 May 2012 14:45:24 +0000 +Checked in by : Robert OSFIELD +Added typdef for Win32 - * CMakeLists.txt, CMakeModules/FindLibVNCServer.cmake, - examples/CMakeLists.txt, examples/osgforest/osgforest.cpp, - examples/osgvnc, examples/osgvnc/CMakeLists.txt, - examples/osgvnc/osgvnc.cpp: Added very basic osgvnc example that - uses the LibVNCServer client libries for implementing a vnc - client - as an osg::Image with the vnc data stream going to it. +Fri, 25 May 2012 16:07:11 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "A very small but maybe fatal problem was found when I saved models with shader and uniforms (with new double types support) to osgb format and tried to read it again. The application will crash here. And the serializer file should be slightly changed to fix it. Please replace the original file in osgWrappers/serializers/osg/Uniform.cpp." -2008-10-30 13:05 robert +Fri, 25 May 2012 15:32:51 +0000 +Checked in by : Robert OSFIELD +Added Dragger::get/setActivationMouseButtonMask(uint). - * include/osgDB/Registry, src/osgDB/Registry.cpp, - src/osgWrappers/osgDB/Registry.cpp: Removed renduent - osgDB::Registry DatabasePager methods +Fri, 25 May 2012 08:56:25 +0000 +Checked in by : Robert OSFIELD +From Jaap Glas, "Added a default parameter to the following constructor in TabPlaneDragger and TabPlaneDragger.cpp:TabPlaneDragger(float handleScaleFactor=20.0f); -2008-10-29 12:04 robert +The reason for this is that the default OSG tab sizes are way bigger than +those we used in our application so far. And since handleScaleFactor_ +is already a (constant) class member, I see no objection against making +it user defined." - * AUTHORS.txt, ChangeLog, README.txt: Updated ChangeLog, - AUTHORS.txt and README.txt for 2.4.7 release -2008-10-29 11:51 robert - * CMakeModules/CheckAtomicOps.cmake: From Blasius Czink, "changed - the CHECK_CXX_SOURCE_RUNS macro slightly to avoid the compile - problems due to bugged "intrin.h". In such a case the mutex - fallback will be used (see attached file)." - +Thu, 24 May 2012 18:15:44 +0000 +Checked in by : Robert OSFIELD +From Jaap Gas, added missing break, and missing removeDraggerCallback. -2008-10-29 11:15 robert +Mon, 21 May 2012 09:12:13 +0000 +Checked in by : Robert OSFIELD +Removed -ftree-vectorize from OSX 10.7 build to avoid warning when building with clang. - * src/OpenThreads/sproc/SprocThread.c++: Warning fixes +Wed, 2 May 2012 14:13:29 +0000 +Checked in by : Robert OSFIELD +Removed trailing spaces -2008-10-29 11:09 robert +Wed, 2 May 2012 13:58:34 +0000 +Checked in by : Robert OSFIELD +Fixed for including cmath before osg/Math. - * src/osgWidget/Input.cpp, src/osgWidget/Label.cpp: Added missing - implementations +Fri, 27 Apr 2012 09:43:25 +0000 +Checked in by : Robert OSFIELD +Added using base_class::set to the Matrix*Template class to enable the set() method from the base class to be used. -2008-10-29 10:56 robert +Thu, 26 Apr 2012 10:07:36 +0000 +Checked in by : Robert OSFIELD +From Christophe Herreman, Added viewer.setCameraManipulator( keyswitchManipulator.get() ) to fix problem with master Camera not being updated - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog and AUTHORS.txt for 2.7.4 release +Fri, 20 Apr 2012 10:01:50 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich,"Attached is a change to the ac3d model loader as of rev 11498, that uses indexed draws instead of plain array draws to save some amount of main memory. Draw performance does not change with the nvidia binary blob as well as with the open source drivers." -2008-10-29 10:38 robert +Fri, 20 Apr 2012 09:53:41 +0000 +Checked in by : Robert OSFIELD +From John Kaniarz, "Here's a patch to add new extensions for tessellation shaders to the GLSL plugin." "I went with .tctrl and .teval for the shader extensions." - * src/osgWrappers/osg/Texture2DArray.cpp: Updated wrappers +Fri, 20 Apr 2012 09:40:29 +0000 +Checked in by : Robert OSFIELD +Ran dos2unx on file -2008-10-29 10:25 robert +Fri, 20 Apr 2012 09:38:51 +0000 +Checked in by : Robert OSFIELD +From John Kaniarz, "Here is an example of using tessellation shaders in osg. With permission from the author, I adapted it from this tutorial: http://prideout.net/blog/?p=48" - * examples/osgviewerQT/QOSGWidget.cpp: From Lukas Diduch, added a - multithread compsite viewer path, accessible using: - - osgviewerQT --MTCompositeViewer --QOSGWidget cow.osg +Thu, 19 Apr 2012 14:58:35 +0000 +Checked in by : Robert OSFIELD +Restructed how the GL_SAMPLER_* #define's are placed to avoid build problems under GLES. -2008-10-29 10:12 robert +Thu, 19 Apr 2012 14:34:28 +0000 +Checked in by : Robert OSFIELD +Changed #ifdef __IPHONE_4_0 to #if defined(__IPHONE_4_0) to fix error that Clang compile warning highlighted - * examples/osgrobot/osgrobot.cpp: From James Moliere, fixed display - of axis +Thu, 19 Apr 2012 13:18:58 +0000 +Checked in by : Robert OSFIELD +Fixed build with OSG_USE_REF_PTR_IMPLICIT_OUTPUT set to OFF. -2008-10-28 17:28 robert +Thu, 19 Apr 2012 10:27:58 +0000 +Checked in by : Robert OSFIELD +From David Callu, "Here the fix for Matrix{2,3,4}x{2,3,4}{fd} defined in Uniform header.My previous patch for Atomic Counter Uniform provide new template implementation +of Matrix{2,3,4}x{2,3,4}{fd}. This new implementation use Column-Major Matrix. +Original code define matrix as Row-Major matrix like other Matrix in OSG, and +my matrix implementation break compatibility with previous code. +For example osg_normalMatrix define in osg::State report by Roland Hill. +Thanks to Paul Martz to spot me when the bug appear." - * src/osgPlugins/ive/DataInputStream.cpp: From Lionel Lagrade, - "I've replaced readsome by read+gcount." - - From Robert Osfeld, added throw on uncompress error. -2008-10-27 19:59 robert - * examples/osgpick/osgpick.cpp: From Chris Denham, changed nested - Camera intersection test so that it requires the command line - --relative-camera-scene to enable it +Thu, 19 Apr 2012 10:10:26 +0000 +Checked in by : Robert OSFIELD +Added missing getUniformBlocks implmentation -2008-10-27 17:42 robert +Thu, 19 Apr 2012 09:50:10 +0000 +Checked in by : Robert OSFIELD +From Jorge Izquierdo Ciges, "Mostly small changes to add more compile options, and shared linking (still testing that capability, but this enables on a compile basis if the user wants). Robert, when you give the Ok I'll update/rewrite the Android section in the old/new wiki you'll say where is better. Mostly to be clear for the future users what options can configure and what are their purpose." - * src/osgDB/DatabasePager.cpp: Added --help-env docs for - OSG_MAX_PAGEDLOD +Wed, 18 Apr 2012 10:16:09 +0000 +Checked in by : Robert OSFIELD +Refactored the handling of GLES adaptations of the 1,2,3,4 internal formats and added handling of GL_RGB8_OES and GL_RGBA8_OES. -2008-10-27 17:11 robert +Wed, 18 Apr 2012 09:56:00 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "Attached is a change to the slow path geometry dispatch tables that allows the use of 3 component float color vectors." - * src/osgPlugins/OpenFlight/AncillaryRecords.cpp: Merged in comment - split code from the old flt plugin so that FLT comments string - with returns - in them are put into separate description entries. - -2008-10-27 17:09 robert - - * src/osgViewer/StatsHandler.cpp: From Wojciech Lewandowski, "I am - sending a really minor fix for StatsHandler::reset method. We - dynamically add and remove slave cameras in our application. - StatsHandler does not automatically adapt to this situation, and - we call StatsHandler::reset to force it to update number of - cameras and their graphs. Unfortunately, if stats were already - drawn, reset would not remove former graph drawables and they - would remain frozen below new stats. This update fixes it. - " - -2008-10-27 16:16 robert - - * examples/osgpick/osgpick.cpp: From Chris Denham, default scene - that tests the use of in scene graph Camera which has a - RELATIVE_RF ReferenceFrame. - -2008-10-27 16:06 robert - - * src/osgUtil/IntersectionVisitor.cpp: From Chris Denham, fixed - support of in scene graph osg::Camera's with ReferenceFrame of - RELATIVE_RF. - -2008-10-27 15:26 robert - - * src/osgPlugins/OpenFlight/expPrimaryRecords.cpp: From Katharina - Plugge, "I found a bug in the OpenFlight-Plugin. When exporting - to OpenFlight it could happen that palettes of an external - reference like the texture palette are set wrong, because they - are overwritten by parent settings (userData), which actually do - not refer to palette entries respectively ParentPools (happens - for example if a Transform is parent of a ProxyNode). The static - cast from userData to ParentPools should therefore be a dynamic - cast. - --------------------------- - - function FltExportVisitor::writeExternalReference( const - osg::ProxyNode& proxy ): - - Line 423 in file expPrimaryRecords.cpp has to be changed from - - const ParentPools* pp = static_cast(proxy.getUserData() ); - - to - - const ParentPools* pp = dynamic_cast(proxy.getUserData() ); - " - -2008-10-27 13:09 robert - - * include/osg/FrameBufferObject, include/osg/Texture2DArray, - include/osgShadow/ParallelSplitShadowMap, - include/osgShadow/ViewDependentShadowTechnique, - src/osg/ApplicationUsage.cpp, src/osg/FrameBufferObject.cpp, - src/osg/ImageSequence.cpp, src/osg/KdTree.cpp, - src/osg/ShapeDrawable.cpp, src/osg/Texture.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osgDB/DatabasePager.cpp, src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/ShadowMap.cpp, src/osgShadow/StandardShadowMap.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/SceneGraphBuilder.cpp, - src/osgUtil/SceneView.cpp, src/osgUtil/Tessellator.cpp: Various - warning fixes - -2008-10-27 11:49 robert - - * src/osgWrappers/osgDB/DatabasePager.cpp: Updated wrappers - -2008-10-27 11:08 robert - - * src/osgPlugins/ac/ac3d.cpp: From Mathias Froehlich, "This change - is a result of a recent thread on osg-users. - The semantic change that went into the ac loader with the past - patch was - incorrect wrt the document describing the behaviour of ac files - and - inconsistent with what ac3d itself displays for that files. - This attached change reverts the behaviour to the original one. - The - infrastructure to change this is left in place. - The change is based on rev 9045." - -2008-10-27 10:42 robert - - * CMakeModules/CheckAtomicOps.cmake, include/OpenThreads/Atomic, - include/OpenThreads/Exports, src/OpenThreads/CMakeLists.txt, - src/OpenThreads/common/Atomic.cpp, - src/OpenThreads/common/Config.in, - src/OpenThreads/win32/Win32BarrierPrivateData.h, - src/OpenThreads/win32/Win32ConditionPrivateData.h: From Blasius - Czink, "Among other things I added support for atomic operations - on BSD-like systems and additional methods (for "and", "or", - "xor"). - " - - and a later post the same osg-submissions thread: - - "it's been a while since I have made the changes but I think it - was due to problems with static builds of OpenThreads on windows. - I was using - OpenThreads in a communication/synchronisation library (without - OpenSceneGraph). It seems I forgot to post a small change in the - CMakeLists file of OpenThreads. If a user turns - DYNAMIC_OPENTHREADS to OFF (static build) OT_LIBRARY_STATIC will - be defined in the Config. - Without these changes a windows user will always end up with a - "__declspec(dllexport)" or "__declspec(dllimport)" which is a - problem for static builds." - - And another post from Blasius on this topic: - - "I tested with VS2005 and VS2008. For 32 bit everything works as - expected. For x64 and VS2008 I could successfully do the - cmake-configure and then the compilation but I had occasional - crashes of cmTryCompileExec.exe (during the cmake-configure - phase) which seems to be a cmake bug. With VS2005 and 64bit cmake - does not set _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED although - the interlocked functionality should be there. If I place the - source snippet from the CHECK_CXX_SOURCE_RUNS macro to a separate - sourcefile I can compile and run the resulting executable - successfully. Forcing OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED - (on VS2005/x64) reveals a bug in "intrin.h" which seems to be - fixed in VS2008 but not in VS2005. - - In case anyone is interested the lines: - __MACHINEI(unsigned char _interlockedbittestandset(long *a, long - b)) - __MACHINEI(unsigned char _interlockedbittestandreset(long *a, - long b)) - __MACHINEX64(unsigned char _interlockedbittestandset64(__int64 - *a, __int64 b)) - __MACHINEX64(unsigned char _interlockedbittestandreset64(__int64 - *a, __int64 b)) - - should be changed to: - __MACHINEI(unsigned char _interlockedbittestandset(long volatile - *a, long b)) - __MACHINEI(unsigned char _interlockedbittestandreset(long - volatile *a, long b)) - __MACHINEX64(unsigned char _interlockedbittestandset64(__int64 - volatile *a, __int64 b)) - __MACHINEX64(unsigned char _interlockedbittestandreset64(__int64 - volatile *a, __int64 b)) - - The worst thing that can happen is that interlocked funtionality - is not detected during cmake-configure and the mutex fallback is - used. - Which reminds me another small glitch in the Atomic header so I - attached a corrected version. - - - - Why is the OT_LIBRARY_STATIC added to the config file? It is not - needed anywhere. - - OT_LIBRARY_STATIC is needed if you are doing static-builds on - Windows. See my previous post on that. - " - -2008-10-27 10:40 robert - - * examples/osglogo/osglogo.cpp: Fixed positioning of wings - -2008-10-27 09:48 robert - - * CMakeModules/OsgMacroUtils.cmake: From Mathieu Marache, "I came - across a bug when building OpenSceneGraph with - MSVC_VERSIONED_DLL, NMake makefiles and CMake 2.6.2. - The compilation fails because it tries to copy - ot11-OpenThreads.lib to - OpenThreads.lib which is valid for the 2.4.x era of CMake but not - anymore in 2.6.x era. - The provided file from the CMakeModules directory adds a tests on - the - CMake version and corrects this. Works for me now." - -2008-10-27 09:44 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: From Alberto Lucas, fixed - typo - -2008-10-26 22:22 robert - - * include/osg/DisplaySettings, include/osgDB/DatabasePager, - src/osg/BufferObject.cpp, src/osg/DisplaySettings.cpp, - src/osgDB/DatabasePager.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp: Improved the support for - no pre compile, and configuring the number of threads in the - DatabasePager. - -2008-10-26 22:21 robert - - * src/osgPlugins/ive/ReaderWriterIVE.cpp: Improved the error - reporting - -2008-10-25 13:17 robert - - * src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertFromInventor.h: From Jim Vaughan, - - - Matrix transform nodes were stripped out, and the - vertices and normals of each node were - transposed by the modelling matrix. My change preserves - the matrix transform nodes, so that - models can still be articulated by changing the matrices. - - - Lights were copied from the COIN scenegraph to the OSG - scenegraph, but they were not associated - with a LightSource node. My change for this creates a - Group and adds a LightSource for each Light. - - - If VRML textures have names, the name is now copied to - - -- - - Form Robert Osfild, changed SbString to std::string usage - - - M Inventor/ConvertFromInventor.h - M Inventor/ConvertFromInventor.cpp - -2008-10-24 11:38 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: From Alberto Luaces, "it - seems a copy-paste error is present on the OBJ loader when - parsing the - options given by the user. "noTesselateLargePolygons" is being - activated - instead of "noTriStripPolygons". I'm attaching the fixed file." - -2008-10-24 10:02 robert - - * src/osgPlugins/osgParticle/IO_Program.cpp: Fixed typo - -2008-10-24 09:59 robert - - * src/osgPlugins/osgParticle/IO_FluidProgram.cpp, - src/osgPlugins/osgParticle/IO_ModularProgram.cpp, - src/osgPlugins/osgParticle/IO_Program.cpp: Add osgParticle:: - qualifiers in front of Program entries to avoid issues when - combining osg::Program and osgParticle::Program in a single app - -2008-10-24 09:49 robert - - * src/osgDB/DatabasePager.cpp: Changed timing stats to osg::INFO - level - -2008-10-24 08:09 robert - - * src/osg/Referenced.cpp: Removed debugging test. - -2008-10-23 16:33 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp: Introduced new method of - management the number of PagedLOD active, by using - a capping the number of PagedLOD to a sepcified maximum, with - pruning of inactive - PagedLOD when the total number of inactive and active PagedLOD - goes above the maximum. - - To enable the mode set the env var OSG_MAX_PAGEDLOD to a value - something like 1000. - -2008-10-21 16:39 robert - - * src/osgPlugins/dae/daeWTransforms.cpp: From Panagiotis - Koutsourakis, "We are using Open Scene Graph for an application - and we need COLLADA - support. While testing the pluggin we found a small bug and we - are - submitting a patch. - - The first attachment is a small program that creates a scene with - two - pyramids, transformed by two instances of - osg::PositionAttitudeTransform. One of them is rotated 90 degrees - in - the X axis, and the scene is exported both in the native OSG - (.osg) - and COLLADA (.dae) formats. In the first case the rotated pyramid - is - displayed correctly whereas in the second the pyramid seems not - to be - rotated. - - In the COLLADA 1.4.1 specification (found at - http://www.khronos.org/collada/) it is specified that - "The element contains a list of four floating-point - values - [...] followed by an angle in degrees" but the plugin seems to - write - the value in radians. - - The problem seems to be in the method daeWriter::apply() that - seems to - be writing the angle value in radians to the COLLADA file. The - patch - can be found in the second attachment and is simply a call to - RadiansToDegrees wrapped around the angle. - " - -2008-10-21 16:32 robert - - * src/osgShadow/StandardShadowMap.cpp: From Wojciech Lewandowski, - "I made a minor tweak in StandardShadowMap.cpp. As agreed with - J-S I have added AlphaFunc/AlphaTest to shadow camera stateset to - make sure transparent objects will not cast blocky solid - shadows." - -2008-10-21 16:31 robert - - * src/osgGA/UFOManipulator.cpp: From Chris Denham, "However, just - spotted another inconsistency between UFOManipulator::getMatrix() - and UFOManipulator::getInverseMatrix() - It assumes that inverse(_inverseMatrix * _offset) = _offset * - _matrix - This is only true when _offset=identity, so I think it should be - inverse(_offset) * _matrix - This inconsistency can cause problems when switching from UFO to - other manipulators, because the UFO:Manipulator::getMatrix - function is not necessarily returning a correct inverse of the - currently set ModelViewTransform. - It was tempting to change the name of the _offset member to - _inverseOffset, or to maintain both variables, but in the end - went for the minimal change." - -2008-10-21 16:27 robert - - * src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: From Per Fahlberg, "I - ran into a problem when using another library that implemented - the same functions as the osg jpeg plugin, i guess they both - originated from the same example code :) As a solution I added a - namespace in ReaderWriterJPEG.cpp around the functions. - " - -2008-10-21 15:51 robert - - * src/osgPlugins/OpenFlight/GeometryRecords.cpp: #if'd out an - premature StateSet optimization that was causing problems with - datasets that mixed multi-texture coord geometry with single - texture coord geometries in a single scene graph. - -2008-10-21 09:50 robert - - * src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgTerrain/Layer.cpp: Updated wrappers - -2008-10-20 16:24 robert - - * applications/osgfilecache/osgfilecache.cpp, - include/osgDB/DatabasePager, include/osgDB/FileCache, - include/osgDB/Registry, src/osgDB/CMakeLists.txt, - src/osgDB/DatabasePager.cpp, src/osgDB/FileCache.cpp, - src/osgDB/ReadFile.cpp, src/osgDB/Registry.cpp: Introduce - osgDB::FileCache, and updated osgfilecache and DatabasePager to - use it. - -2008-10-20 08:43 robert - - * examples/osgterrain/osgterrain.cpp, include/osg/GraphicsContext, - include/osgTerrain/Layer, src/osg/Image.cpp, src/osg/Texture.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/DataTypeSize.h, - src/osgPlugins/ive/HeightFieldLayer.cpp, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Layer.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/osgTerrain/Layer.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp: - Introduced support for controlling mipmapping of - osgTerrain::ImageLayer and compression of - osgTerrain::HeightFieldLayer. - -2008-10-17 09:16 robert - - * include/osgWidget/UIObjectParent: From Paul Melis, fixed typo - -2008-10-15 10:07 robert - - * src/osgGA/UFOManipulator.cpp: From Chris Denham, "I noticed that - UFOManipulator _matrix and _inverseMatrix may be inconsistently - set due to typo in - UFOManipulator::home(). - I assume the intention is that _matrix and _inverseMatrix are - kept consistent, so corrected file attached. - - ///////////// OSG 2.6 ////////////////// - _inverseMatrix.makeLookAt( _homeEye, _homeCenter, _homeUp ); - _matrix.invert( _matrix ); - ///////////// after typo correction ///////////////// - _inverseMatrix.makeLookAt( _homeEye, _homeCenter, _homeUp ); - _matrix.invert( _inverseMatrix ); - ///////////////////////////////////////" - -2008-10-14 17:20 robert - - * src/osgPlugins/curl/CMakeLists.txt, - src/osgPlugins/gz/CMakeLists.txt, - src/osgPlugins/ive/CMakeLists.txt: Changed erroneous - ZLIB_INCLUDE_DIRS to ZLIB_INCLUDE_DIR - -2008-10-14 16:57 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: From Jason Beverage, - "Here is a small change to the CURL plugin to distinguish between - a 400 level error and a 500 level error. - - If a 400 level error occurs, a FILE_NOT_FOUND ReadResult is - appropriate. - - If a 500 level error occurs (such a 503, Service unavailable), - the application might want to try to load the file again in a few - seconds/minutes. This submission returns ERROR_IN_READING_FILE if - a 500 level error occurs so that clients can easily distinguish - between the errors. - - The actual error code is also added to the "message" of the - ReadResult so if a client needs more information, they can just - parse the message to retrieve the error code." - -2008-10-14 16:44 robert - - * examples/osgrobot/osgrobot.cpp: Converted M_PI* usage across to - osg::PI - -2008-10-14 16:35 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/dot, - src/osgPlugins/dot/BaseDotVisitor.cpp, - src/osgPlugins/dot/BaseDotVisitor.h, - src/osgPlugins/dot/CMakeLists.txt, - src/osgPlugins/dot/ReaderWriterDOT.cpp, - src/osgPlugins/dot/SimpleDotVisitor.cpp, - src/osgPlugins/dot/SimpleDotVisitor.h: From Ricard Schmidt, dot - writer plugin. - -2008-10-14 15:24 robert - - * examples/CMakeLists.txt, examples/osgrobot, - examples/osgrobot/CMakeLists.txt, examples/osgrobot/osgrobot.cpp: - From James Moliere, - " The code below is to show how a heirarchy of objects can be - made within a scenegraph. - In other words, how there can be a parent/child relationship - between objects such - that when a parent is rotated or translated, the children move is - respect to it's - parent movement. A robotic arm is used in this example because - this is what I'm - using OSG for." - -2008-10-14 15:10 robert - - * examples/osggameoflife/CMakeLists.txt: Removed - geomoflife_frag.cpp experiement from CMakeList.txt file - -2008-10-14 14:58 robert - - * examples/CMakeLists.txt, examples/osggameoflife, - examples/osggameoflife/CMakeLists.txt, - examples/osggameoflife/GameOfLifePass.cpp, - examples/osggameoflife/GameOfLifePass.h, - examples/osggameoflife/osggameoflife.cpp: From J.P Delport, game - of life example that demonstrates ping pong render to texture - rendering - -2008-10-14 14:37 robert +Wed, 18 Apr 2012 09:51:39 +0000 +Checked in by : Robert OSFIELD +From Martin Naylor, "I have been experiencing a crash in the example osgtexture2D. Not sure why my system seems to be so sensitive to these problems.But attached is a fix which seems to stabilise the example. +Note: it only seems to crash intermittently when spinning the object with +your mouse. - * src/osgPlugins/curl/CMakeLists.txt, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h, - src/osgPlugins/gz/ReaderWriterGZ.cpp, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/ReaderWriterIVE.cpp: Added zlib support to - curl and ive plugins +So I assume this is a threading issue because of the data variance missing +in some of the text node setups in the example. +" -2008-10-14 14:36 robert - * src/osgDB/Registry.cpp: Added debug timing code -2008-10-14 14:27 robert +Wed, 18 Apr 2012 09:50:23 +0000 +Checked in by : Robert OSFIELD +Updated version number - * include/OpenThreads/ScopedLock, include/osg/Referenced, - src/osg/Drawable.cpp, src/osg/Node.cpp, src/osg/Referenced.cpp, - src/osg/StateAttribute.cpp, src/osg/StateSet.cpp: Added a - Refrenced::getGlobalReferencedMutex, and - OpenThreads::ScopedPointerLock() and use of this in - add/removeParent() codes - to avoid threading problems when using atomic ref counting. +Fri, 6 Apr 2012 11:29:29 +0000 +Checked in by : Robert OSFIELD +From Martin Naylor, "Please find attached a fix for the STD library(tested under Windowsx64 VS2008) when atomiccounter is found but not used." -2008-10-14 14:25 robert +Fri, 6 Apr 2012 10:42:17 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, Fix for MatrixTemplate compile errors - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc, - packaging/pkgconfig/openthreads.pc: UPdated version numbers +Thu, 5 Apr 2012 13:53:47 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I'd like to submit the changes that will put ObjectProperty and ObjectMark variables into the InputStream/OutputStream class instead of static ones. This should avoid the threading problem and won't repeatedly reallocate memory for the properties. Some of the wrappers will be slightly modified to use the property variable stored in the InputStream/OutputStream as well." -2008-10-10 12:01 robert +Fri, 30 Mar 2012 17:08:21 +0000 +Checked in by : Robert OSFIELD +Update AUTHORS for release - * src/osgPlugins/gz/ReaderWriterGZ.cpp: Moved compress/uncompress - code across to using gzip compatible methods +Fri, 30 Mar 2012 16:58:24 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog for dev release -2008-10-09 18:46 robert +Fri, 30 Mar 2012 10:10:27 +0000 +Checked in by : Robert OSFIELD +Added check to avoid accessing pointer past the end of the string. - * src/osgPlugins/gz, src/osgPlugins/gz/CMakeLists.txt, - src/osgPlugins/gz/ReaderWriterGZ.cpp: Added initial cut of gz - compress/uncompress plugin +Thu, 29 Mar 2012 15:08:15 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, typo and documentation fixes -2008-10-09 17:02 robert +Thu, 29 Mar 2012 14:58:00 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, "I Updated the ply plugin to support alpha color in files. Plus I updated it to use by default an alpha of 1.0 instead of 0 when no alpha is specified. Last changes is to divide byte color by 255.0 instead of 256.0." - * CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/osg/ReaderWriterOSG.cpp: Initial cut of zlib based - compress/uncompress plugin +Thu, 29 Mar 2012 09:57:47 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "remove unecessary conversion from float in double precision method" -2008-10-09 13:16 shuber +Thu, 29 Mar 2012 09:43:12 +0000 +Checked in by : Robert OSFIELD +From David Callu, "Here an update of osg::Uniform : - add non square matrix - add double - add all uniform type available in OpenGL 4.2 - backward compatibility for Matrixd to set/get an float uniform matrix - update of IVE / Wrapper ReadWriterimplementation of AtomicCounterBuffer based on BufferIndexBinding - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgVolume-Info.plist, - Xcode/OpenSceneGraph/osgWidget-Info.plist, - Xcode/OpenSceneGraph/osgmanipulatorexample-Info.plist, - Xcode/OpenSceneGraph/osgvolume-Info.plist, - Xcode/OpenSceneGraph/osgvolumeApplication-Info.plist: From - Stephan Huber: updated XCode-project, added osgVolume-lib +add example that use AtomicCounterBuffer and show rendering order of fragments, +original idea from geeks3d.com." -2008-10-09 08:52 robert - * src/osgGA/AnimationPathManipulator.cpp: Fixed the frame rate - reporting so that it handles the case when animation is slowed or - speeded up -2008-10-08 13:19 robert +Thu, 29 Mar 2012 08:27:21 +0000 +Checked in by : Robert OSFIELD +Added int packing parameter to Image::readPixels(..) - * README.txt: Updated date +Fri, 23 Mar 2012 16:09:30 +0000 +Checked in by : Robert OSFIELD +Removed trailing spaces -2008-10-08 13:18 robert +Fri, 23 Mar 2012 11:32:10 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS for 3.1.2 dev release - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog and AUTHORS.txt for 2.7.3 dev release +Fri, 23 Mar 2012 11:20:17 +0000 +Checked in by : Robert OSFIELD +Fixed potential memory leak -2008-10-08 12:54 robert +Fri, 23 Mar 2012 11:16:01 +0000 +Checked in by : Robert OSFIELD +From Luc Frauciel, "I've encoutered a nasty group of dae which are incompatible with dae plugins (and probably collada schema ) in 4 different ways :1) they use direct link to texture - * src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture3D.cpp: Updated wrappers +-> this is already handle by current plugin : OK -2008-10-08 12:29 robert +2) they defined colors with only 3 color components - * include/osgShadow/MinimalDrawBoundsShadowMap, - include/osgShadow/StandardShadowMap: Added friend struct ViewData - to try and avoid compile issues under HP-UX +-> it leads to a crash when trying to acces to the fourth component + I fixed that -2008-10-08 11:30 robert +3) they contain empty primitive lists - * include/osg/Texture1D, include/osg/Texture3D, - src/osg/Texture1D.cpp, src/osg/Texture3D.cpp: Added - Texture1D(Image*) and Texture3D(Image*) constructors +-> reading is ok, but osgviewer crashes when trying to display the geometries +The reason is that osg assume that DrawElementsare never empty (blunt acces to DrawElements.front() in PrimitiveSet.cpp) +I corrected this (on the plugin side), but I wonder : +Is it the responsability of plugins to create non empty DrawElements, or of osg core not to crash when they occur ? +If the responsability is on the osg core side, I can submit a patch to PrimitiveSet.cpp regarding that aspect. -2008-10-08 10:55 robert +4) they use a material binding scheme not supported by the plugin - * src/osgShadow/ConvexPolyhedron.cpp: Replaced std::vector::insert - with std::copy + back_inserter to avoid member template problems - with sunos. +->I've implemented a mechanism to handle this binding scheme -2008-10-08 10:10 robert +You will also find in the patch an example of these evil dae and comments on the offending elements. +They seems to be produced by ComputaMaps (www.computamaps.com) +They load well in Google Earth +" - * include/osgWidget/Util, src/osgViewer/StatsHandler.cpp: From - Mathias Froehlich, fixes for HP-UX, SGI and Solaris build -2008-10-07 15:59 robert - * CMakeLists.txt, src/osg/CMakeLists.txt: Moved - OSG_FORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL into - src/osg/CMakeLists.txt +Fri, 23 Mar 2012 10:24:50 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "as discussed on osg-users there is an issue with clang++ on OS X and iOS that results in the following error:Users/stephan/Documents/Projekte/cefix/cefix/ios/../../libs/ios/include/OpenThreads/Atomic:244:48: +error: cannot initialize a parameter of type 'void *' with an lvalue of +type 'const void *const' + return __sync_bool_compare_and_swap(&_ptr, ptrOld, ptrNew); -2008-10-07 15:58 robert +This can be solved by a cast to '(void*)ptrOld'. This should be benign since both +'ptrOld' and 'ptrNew' are only read and the cast is in fact in place for all other +implementations as well. - * src/osgViewer/StatsHandler.cpp: Made line graph solid (alpha = - 1.0) +On OS X the cast compiles cleanly on both g++ (i686-apple-darwin11-llvm-g++-4.2 (GCC) +4.2.1) and clang++ (Apple clang version 3.1 (tags/Apple/clang-318.0.54)). +" -2008-10-07 15:41 robert - * src/osgManipulator/Dragger.cpp: From Jean-Sebastien Guay and - Robert Osfield, added setDataVariance(osg::DYNAMIC) to avoid - problems to optimization. -2008-10-07 15:21 robert +Fri, 23 Mar 2012 10:21:51 +0000 +Checked in by : Robert OSFIELD +As per Ulrich Hertlrein's suggestion, changed APPLE_PLATFORM_SDK_CANONICAL_NAME to OSG_OSX_SDK_NAME. - * src/osgPlugins/dxf/CMakeLists.txt: Added osgText to link line +Fri, 23 Mar 2012 10:18:27 +0000 +Checked in by : Robert OSFIELD +From Erik den Dekker, " IF(${CMAKE_OSX_SYSROOT} STREQUAL "/Developer/SDKs/MacOSX10.7.sdk") ... ELSEIF(${CMAKE_OSX_SYSROOT} STREQUAL "/Developer/SDKs/MacOSX10.5.sdk" OR ${CMAKE_OSX_SYSROOT} STREQUAL "/Developer/SDKs/MacOSX10.6.sdk") -2008-10-07 15:19 robert +... - * src/osgShadow/ShadowTexture.cpp: Restoring Roger's original 2.0 - factor as on review the later orthographic projection code - doesn't require the position to be far out from the center to - simulate an infinite light. +ELSEIF(EXISTS /Developer/SDKs/MacOSX10.4u.sdk) +... -2008-10-07 15:16 robert + ELSE() - * src/osgShadow/ShadowTexture.cpp: From Roger James, "The light - position is incorrectly calculated for shadow casting scenes - whose bounding box centre is not the origin. This is a one line - fix. - " - -2008-10-07 14:36 robert - - * src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowWin32.cpp: From Wojciech Lewandowski - and Robert Osfield, add CMake build option for controlling the - Windows/NVidia multi-monitor workaround. - -2008-10-07 14:25 robert - - * src/osgWrappers/osgGA/UFOManipulator.cpp: Updated wrappers - -2008-10-07 14:19 robert - - * include/osgGA/UFOManipulator, - src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, src/osgGA/UFOManipulator.cpp: - Replaced IntersectVisitor usage with IntersectionVisitor +... -2008-10-07 14:01 robert + ENDIF() - * examples/osgforest/osgforest.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgshaderterrain/osgshaderterrain.cpp, - examples/osgspheresegment/osgspheresegment.cpp: Replaced usage of - depreacted IntersectVisitor with IntersectionVisitor -2008-10-07 13:37 robert +Which is fragile because XCode could be installed into another directory than /Developer. (In case XCode is not installed into the /Developer directory CMake can automatically resolve the path via command line utility ${CMAKE_XCODE_SELECT} --print-path) - * src/osgViewer/StatsHandler.cpp: From Jean-Sebastirn Guay, - "Inspired by the latest additions to the StatsHandler, here is my - own addition. It's a graph that helps show the variation of the - various stats over time. It's clearer than just having bars for - the last 10 frames or so, IMHO, since 10 frames go by pretty - fast... - - The graph is displayed "under" (behind) the normal bar chart you - get when you press 's' twice. It doesn't hide the normal stats, - you can still read them without any trouble, and that way, it - doesn't take any more screen space. It starts from the left, and - will scroll left when there is enough data to fill the screen - width. The graph lines have the same colors we're used to (except - I made the event color a bit bluer, so it's not exactly the same - as the update color). A screen shot is attached. - - The lines get a bit confused when they're all overlapping at the - bottom of the graph, but I think that's the least of our concerns - (if they're all at the bottom of the graph - except FPS of course - - then great!). - - The only thing I'm not very keen about is that to make things - simple, I clamp the values to a given maximum. Right now, the - maximums I have set are: - - * Frame rate: 100 fps (people have 60, 75, 85Hz refresh rates, so - there's no one right value, but I think 100 is OK) - * Stats: 0.016 seconds (what you need to get 60Hz minimum) - - This could be changed so that the scale of the graph changes - according to the maximum value in the last screenful of the graph - instead of clamping values. We would then need to display the - scale for each value on the side of the graph, because if the - scale changes, you need to know what it is at this moment. - - I tried to make things easy to change, so for example if you - don't like that the graph is in the same space as the normal - stats bars, it's easy to move it anywhere else, and make it have - other dimensions. The maximums and colors are also easy to - change. - - The impact on performance should be minimal, since it's one - vertex per graph line that's added per frame, and vertices are - removed when they scroll off the screen, so you'll never have - more than say 1280 * (3 + ncameras) vertices on the screen at one - time. No polygons, I used line strips. The scrolling is done with - a MatrixTransform." - -2008-10-07 13:06 robert - - * src/osgPlugins/dxf/dxfEntity.cpp, src/osgPlugins/dxf/dxfEntity.h, - src/osgPlugins/dxf/scene.cpp, src/osgPlugins/dxf/scene.h: From - Colin McDonald, "Attached is an update to the dxf plugin which - adds rudimentary support for - text entities. - " - -2008-10-07 12:31 robert - - * include/osgShadow/MinimalShadowMap, src/osgDB/DatabasePager.cpp, - src/osgPlugins/osga/OSGA_Archive.cpp, - src/osgSim/LightPointNode.cpp, src/osgVolume/ImageUtils.cpp: From - Mathias Froehlich, build fixes - -2008-10-07 11:35 robert - - * include/osg/PagedLOD, include/osgDB/DatabasePager, - src/osg/PagedLOD.cpp, src/osgDB/DatabasePager.cpp, - src/osgWrappers/osg/PagedLOD.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp: Added the ability to - release OpenGL objects in PagedLOD subgrphs that are no longer - being rendered. - -2008-10-06 17:15 robert - - * src/osgWrappers/osg/ImageSequence.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osgDB/ImagePager.cpp, - src/osgWrappers/osgDB/PluginQuery.cpp: Updated wrappers - -2008-10-06 17:03 robert - - * examples/osgimagesequence/osgimagesequence.cpp: Improved the - ImageSequence::setLength() settting. - -2008-10-06 17:02 robert - - * include/osgDB/ImagePager, src/osgDB/ImagePager.cpp: Updated to - reflect changes in NodeVistor::ImageRequestHandler. - -2008-10-06 17:02 robert - - * include/osg/ImageSequence, include/osg/ImageStream, - include/osg/NodeVisitor, src/osg/ImageSequence.cpp: Refactored - ImageSequence to provided a cleaner and more robust - implementation - -2008-10-06 14:18 robert - - * include/osgShadow/DebugShadowMap, - include/osgShadow/MinimalShadowMap, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp: From Wojciech Lewandowski, - build fixes for handling Matrix::value_type == float - -2008-10-06 14:15 robert - - * include/osgShadow/DebugShadowMap, - include/osgShadow/MinimalShadowMap, - include/osgShadow/ProjectionShadowMap, - include/osgShadow/StandardShadowMap, - include/osgShadow/ViewDependentShadowTechnique: Ran dos2unix - -2008-10-06 09:39 robert - - * src/osgTerrain/Locator.cpp: From Glenn Waldron, - "osgTerrain::Locator::setTransformAsExtents() does not update the - _inverse member. Fix attached. - " - -2008-10-06 08:58 robert - - * src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp, - src/osgShadow/ViewDependentShadowTechnique.cpp: Converted tabs to - four spaces - -2008-10-06 08:53 robert - - * include/osgShadow/ConvexPolyhedron, - include/osgShadow/DebugShadowMap, - include/osgShadow/LightSpacePerspectiveShadowMap, - include/osgShadow/MinimalCullBoundsShadowMap, - include/osgShadow/MinimalDrawBoundsShadowMap, - include/osgShadow/MinimalShadowMap, - include/osgShadow/ProjectionShadowMap, - include/osgShadow/StandardShadowMap, - include/osgShadow/ViewDependentShadowTechnique: Ran dos2unix on - headers - -2008-10-06 08:53 robert - - * src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp, - src/osgShadow/ViewDependentShadowTechnique.cpp: Ran dos2unix on - new shadow implemenations - -2008-10-06 08:48 robert - - * src/osgTerrain/Terrain.cpp: From Jason Beverage, "Attached is a - fix for getTile in the Terrain class. It should be checking for - itr == _terrainTileMap.end() instead of itr != - _terrainTileMap.end()." - -2008-10-03 16:57 robert - - * include/osg/ref_ptr: Added include to take advantage - of OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION - -2008-10-03 15:36 robert - - * CMakeLists.txt, src/osg/Config.in: Moved the - OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION definition into the - Config.in rather use of -D define - -2008-10-03 15:15 robert - - * src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2008-10-03 15:15 robert - - * CMakeLists.txt: Added optional compile of the new ref_ptr<>:T* - operator() output conversion operator, controlled via a CMake - option OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION. - -2008-10-03 15:13 robert - - * include/osg/ref_ptr: From Neil Groves, addition on a T* implicit - output conversion method and removal of comparison methods that - are replaced by the single conversion method. - - From Robert Osfield, optional compilation of above. - -2008-10-03 13:38 robert - - * src/osgUtil/Simplifier.cpp: Compile fix required when using - ref_ptr<> implicit output conversion - -2008-10-03 13:34 robert - - * include/osg/Referenced: From Neil Groves, added - intrusive_ptr_add_ref and intrusive_ptr_release methods to enable - usage of boost::intrusive_ptr<> with osg::Referenced objects. - -2008-10-03 11:04 robert - - * src/osgPlugins/ive/PagedLOD.cpp: From Bryan Thrall, fixed typos - in exception strings. - -2008-10-03 11:02 robert - - * src/osg/OcclusionQueryNode.cpp: From Paul Martz, "I had to make - Yet Another tweak to the workaround for the occlusion query issue - on NVIDIA cards. Testing indicates that this produces stable - results. I checked this in to the 2.6 branch as revision 8965. - Please include this on the trunk" - -2008-10-03 09:55 robert - - * include/osg/ref_ptr: From Neil Groves, "Frequently I would like - code that has a signature like: void foo(osg::ref_ptr - node) to work for osg::ref_ptr, - osg::ref_ptr etc. The behaviour of osg::ref_ptr does - not mimic the behaviour of a raw pointer in this regard. - - To facilitate this possibility I have added a template copy - constructor and a template assignment operator. These work for - safe conversions like those in my previous example, but fail as - desired for non-safe conversions since the template instantiation - fails during the raw pointer copy/assignment. - - The lack of this facility has appreciably handicapped development - of generic algorithms applied to the scene graph, and I believe - that this alteration will be welcomed by most of the community. - If there are issues with antiquated compilers not supporting - template member functions then perhaps a small piece of - conditional compilation is in order. - - I have made the change using the latest release version (2.6) as - the base. The full file is attached. - - I have not tested building the osg wrappers and the script - binding code. I have tested the legal and illegal conversions of - both copying and assignment to ensure that behave as expected on - MSVC7.1, MSVC8, MSVC9, GCC 4.3." - -2008-10-03 09:22 robert - - * src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Tatsuhiro - Nishioka, submissions posted by Stephan Huber, "attached you'll - find a modified ReaderWriterQT.cpp-file where I removed the - support for rgb(a)-files. - Quicktime supports only files with 3/4-channels rgba-files and - not 1/2-channels rgb-files. - - This submission is from Tatsuhiro Nishioka, here's his original - quote: - - When FlightGear crashes, the error message - "GraphicsImportGetNaturalBounds failed" shows up. By adding - printf - debug, I found the error was -8969: codecBadDataErr when loading - a - gray-scaled (2 channels) rgba files even though the file can be - loaded - with Gimp and osgViewer properly. - - So I made an investigation on this problem and found an - interesting - thing. This error occurs only when non-rgb files are loaded - before rgb - files. The reason is that rgba files can be handled by both - osgdb_rgb.so and osgdb_qt.so, but the error happens only when - osgdb_qt.so try to load a gray-scaled rgba file. - - When a program is about to load an rgba file, osgdb_rgb.so is - loaded - and it handles the rgba file properly. In contrast, when a - gray-scaled - rgb file is being loaded after a non-rgb file (say png) is - already - loaded by osgdb_qt.so, osgdb_qt.so tries to load the file instead - of - osgdb_rgb, which causes the error above. - - Anyway, the bad thing is that QuickTime cannot handle gray-scaled - rgb - files properly. The solution for this is not to let osgdb_qt - handle - rgb files since osgdb_rgb can handle these properly. - - " - -2008-10-03 09:19 robert - - * include/osgViewer/CompositeViewer, - src/osgViewer/CompositeViewer.cpp: From Stephan Huber, removed - now redundent setEventQueue method - -2008-10-03 09:02 robert - - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/StatsHandler.cpp: From Roland Smeenk, A year ago - Stephan Maximilian Huber sent in a submission with enhanced - statistics. Because I was interested in the scene statistics of - his submission I tried to merge his changes with the current CVS - head. I made a few changes to the way the statistics are - displayed. Attached you will find the new StatsHandler and a - screenshot of the statistics in the compositeviewer example. - - This code will add two extra statistics options: - -Camera scene statistics, stats for the scene after culling - (updated at 10 Hz) - -View scene statistics, stats for the complete scene (updated at - 5 Hz) - - Each camera and each view will expand the statistics to the - right. - - I also added the requests and objects to compile of the - databasepager to the databasepager statistics."" - -2008-10-03 08:35 robert - - * src/osgPlugins/ac/ac3d.cpp: From Mathias Froehlich, Wr.t AC3D - Texture clamping "I had a quick look at the problem. - Attached is a change that is able to provide shared textures for - the clamp and - the repeat case. - So this appears to be the best fix I guess ... - - Also it additionaly shares the TexEnv StateAttribute in a whole - ac3d model." - -2008-10-03 08:33 robert - - * include/osgSim/DOFTransform: Added missing dirtyBound() calls - -2008-10-02 15:45 robert - - * examples/osgvolume/osgvolume.cpp, - examples/osgvolume/volume_iso_frag.cpp, - examples/osgvolume/volume_tf_iso_frag.cpp, - include/osgVolume/ImageUtils, src/osgDB/Registry.cpp, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp, - src/osgVolume/ImageUtils.cpp: Various improvements to the dicom - loader to be able to handle a broader range of dicom files - -2008-09-29 18:30 robert - - * examples/osgvolume/osgvolume.cpp, - examples/osgvolume/volume_frag.cpp, - examples/osgvolume/volume_tf_frag.cpp, - examples/osgvolume/volume_tf_iso_frag.cpp: Updated shaders - -2008-09-29 17:00 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Improved the dicom - plugins handling of different slice positions - -2008-09-29 13:22 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Turned off the yaw - mode on the FlightManipilator to make it easier to navigate in - volumes - -2008-09-29 11:00 robert - - * CMakeLists.txt, CTestConfig.cmake: From Mathieu Marache, support - for CDash - -2008-09-29 10:59 robert +This issue bites me currently because the latest XCode (Version 4.3.1 - 4E1019) installed through the Mac App Store is per default installed in "/Applications/Xcode.app/Contents/Developer" and hence the 10.7 SDK in "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" - * src/osgDB/Registry.cpp: From Erik den Dekker, "I received a - compiler warning in osgDB::registry::readObjectOfType while - compiling SVN trunk with MSVC 2008. - - ..\..\..\..\src\osgDB\Registry.cpp(910) : warning C4806: '==' : - unsafe operation: no value of type 'bool' promoted to type - 'osgDB::Registry::LoadStatus' can equal the given constant - - A quick review of the code revealed a piece of code that was - clearly wrong, possibly due to a copy-and-paste error. - - " +Searching the web to find the proper way to determine the version of the Platform SDK programmatically, I found no standard way. I came up with 2 options myself: -2008-09-29 10:56 robert +1) Parse the path string to extract the version number - * examples/osgvolume/osgvolume.cpp: Added support for using - ImageSequence to animate volumes +2) Read a value from the SDKSettings.plist found in the root of each SDK (e.g., "defaults read ${CMAKE_OSX_ROOT}/SDKSettings.plist CanonicalName" gives "macosx10.7") -2008-09-28 15:16 robert +I implemented the last option and verified that at least the following Mac OS SDKs (10.3.9, 10.4, 10.5, 10.6, 10.7) support this method. It also looks reasonably future proof. An additional benefit of this method is that it also seems to be compatible with iOS and iOS Simulator SDKs (at least for version 5.1, but I assume this also applies to older versions). This is interesting because the CMake infrastructure to build OSG for iOS currently still contains similar hard-coded paths and even requires you to manually change the cmake file to build for another iOS SDK version. In the near future I hope to address these issues, but I haven't been able to try this yet." - * examples/osgvolume/osgvolume.cpp, - examples/osgvolume/volume_iso_frag.cpp, - examples/osgvolume/volume_tf_iso_frag.cpp: Improved the - isosurface shaders, and mde GLSL usage the default -2008-09-26 15:47 robert - * examples/osgvolume/osgvolume.cpp, - examples/osgvolume/volume_tf_iso_frag.cpp: Improved GLSL - isosurface support when using a transfer function +Wed, 21 Mar 2012 17:36:20 +0000 +Checked in by : Robert OSFIELD +Ran script to remove trailing spaces and tabs -2008-09-26 14:50 robert +Wed, 21 Mar 2012 16:02:32 +0000 +Checked in by : Robert OSFIELD +For all OSG_GL*_FEATURE #defines changed 1's to true and 0's to false. - * examples/osgvolume/osgvolume.cpp: Added setting of various - filters and setResizeNonPowerOfTwoHint(false) on normals maps - etc. +Wed, 21 Mar 2012 14:08:07 +0000 +Checked in by : Robert OSFIELD +From David Callu, "just a typo fix that break the compilation under windows" -2008-09-26 13:51 robert +Wed, 21 Mar 2012 11:36:54 +0000 +Checked in by : Robert OSFIELD +Added Traits::getContextVersion(uint,uint) - * examples/osgunittests/osgunittests.cpp: Added docs for - read-threads command line options +Wed, 21 Mar 2012 11:26:09 +0000 +Checked in by : Robert OSFIELD +Updated version number -2008-09-26 13:51 robert +Tue, 20 Mar 2012 12:01:02 +0000 +Checked in by : Robert OSFIELD +Removed inappropriate warning - * include/osgDB/Registry, src/osgDB/Registry.cpp: Changed - loadLibrary so that it retusn a LoadStatus variable to enable - calling - codes to differentiate between whether a library is already - loaded, or is newly loaded +Tue, 20 Mar 2012 11:18:45 +0000 +Checked in by : Robert OSFIELD +Replaced && with & to address error in handling bitmask -2008-09-26 11:29 robert +Mon, 19 Mar 2012 09:49:41 +0000 +Checked in by : Robert OSFIELD +From Lukasz Izdebski, Added StencilTwoSided support to ive plugin - * examples/osgvolume/osgvolume.cpp, - examples/osgvolume/volume_iso_frag.cpp, - examples/osgvolume/volume_mip_frag.cpp, - examples/osgvolume/volume_tf_iso_frag.cpp, - examples/osgvolume/volume_tf_mip_frag.cpp: Added --isosurface and - --mip paths into osgvolume example, and added associted shaders +Fri, 16 Mar 2012 13:22:20 +0000 +Checked in by : Robert OSFIELD +Fixed the order of setting of CenterMode -2008-09-26 11:19 robert +Wed, 14 Mar 2012 16:42:07 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I'd like to submit a slightly modified version of the ViewDependentShadowMap. It includes two fixes: one is in ComputeLightSpaceBounds::update(), which changes the statement "if (v.z()<0.0f)" to "if (v.z()<-1.0f)" as clipping space coordinates should be transformed to [-1, 1] and should not be discarded unless they go beyond the range; the other is in ViewDependentShadowMap::computeShadowCameraSettings(), in which I changed the line: viewMatrix.makeLookAt(frustum.center+positionedLight.lightDir*zMin, frustum.center, lightUp); to viewMatrix.makeLookAt(frustum.center+positionedLight.lightDir*zMin, frustum.center+positionedLight.lightDir*zMax, lightUp);The reason I've done such a change is that for huge scenes like a city on the earth, the values of frustum.center can be extremely large, but zMin may be very small (e.g., when model depth in light coords equals the model radius by chance) in some cases so the result of (eye - center) might jiggle while moving around the shadow scene and thus make the shadow map suddenly disappear some time. The small change here also considers the effect of zMax to avoid such problems. - * examples/osgshadow/IslandScene.cpp: From Mathias Froehlich, "for - the rand functions stdlib.h is required ..." +" -2008-09-26 10:59 robert - * src/osgDB/DatabasePager.cpp: From Lionel Lagarde, "Here is a - correction on DatabasePager::FindCompileableGLObjectsVisitor - - The apply(osg::Drawable *) method doesn't update the _drawableSet - and - the isCompiled test was inversed." -2008-09-26 10:43 robert +Mon, 12 Mar 2012 14:22:48 +0000 +Checked in by : Robert OSFIELD +Moved static initializers into global scope to prevent problems with using exit(). - * src/osgPlugins/obj/obj.cpp: From Fabio Mierlo, "n the lines 428 - and 430 of obj.cpp file from release 2.6.0, the parser - use only the first 7 characters to compare the string - "map_opacity " - and to copy the followed parameter, but the string have 12 - characters." +Sun, 11 Mar 2012 22:05:29 +0000 +Checked in by : Cedric Pinson +Changed osgAnimation::StackedTransform::update(t). It can now be used for custom usage -2008-09-25 15:20 robert +Fri, 9 Mar 2012 13:16:39 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file for 3.1.1 dev release - * CMakeLists.txt: From Mathieu Marache, added support for CDash +Fri, 9 Mar 2012 10:20:23 +0000 +Checked in by : Robert OSFIELD +From Chuck Seberino, "Attached are modified versions of RotateCylinderDragger and Projector files that clean up the use of _onCylinder / isProjectionOnCylinder().I have also made changes to the RotateCylinderDragger to provide a cylinder ring with a thickness. It is totally optional, but IMHO makes the default behavior work better than a solid cylinder (which typically obscures the geometry you are trying to drag). Gives it a bit more to grab, especially in the case where eyepoint and cylinder axis are near parallel. +" -2008-09-25 15:19 robert - * include/osg/TransferFunction: Removed unused methods -2008-09-25 15:04 robert +Thu, 8 Mar 2012 16:33:44 +0000 +Checked in by : Robert OSFIELD +Updated version number for 3.1.1 dev release - * src/osgWrappers/osg/TransferFunction.cpp: Updated wrappers +Thu, 8 Mar 2012 16:05:17 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I've added support for reading contents of cubemap textures to the osg::Image::readImageFromCurrentTexture method. I added a new parameter to the method for specifying which face of the cubemap to read." -2008-09-25 14:41 robert +Wed, 7 Mar 2012 09:32:38 +0000 +Checked in by : Robert OSFIELD +From Olaf Flebbe, "Appended now a bugfixed proposition for the Win7 Multitouch Support.Now examples/osgmultitouch really works ;-) - * examples/CMakeLists.txt: Added osg2cpp example into build +Based on yesterdays trunk. -2008-09-25 14:41 robert +* It should now work with all Visual Studio Versions. +* WIN_VER is left as-is +* I added the missing declarations from a recent SDK, if not supplied by the SDK +* If someone chooses to update WIN_VER, the declarations should not break. +* All API Calls are runtime detected. +* No CMake Variable, Support is enabled automatically ." - * include/osgDB/ReadFile: Added convinience methods for parse - shader source files -2008-09-25 14:39 robert - * examples/osg2cpp, examples/osg2cpp/CMakeLists.txt, - examples/osg2cpp/osg2cpp.cpp: Created new osg2cpp utility that - creates .cpp files from source shaders that can be included - directly in application code, see osgvolume for an example. +Tue, 6 Mar 2012 10:35:57 +0000 +Checked in by : Robert OSFIELD +From Guillaume Millet, "Please find a small fix to avoid crash of texture Atlas builder in case of textures with NULL image.If an object is comming with texture and NULL image, the texture atlas builder crash when sorting textures according to texture height. +The fix is to skip textures with NULL image when inserting textures in the builder texture list. +" -2008-09-25 14:39 robert - * examples/osgvolume/osgvolume.cpp, - examples/osgvolume/volume_frag.cpp, - examples/osgvolume/volume_n_frag.cpp, - examples/osgvolume/volume_tf_frag.cpp, - examples/osgvolume/volume_tf_n_frag.cpp, - examples/osgvolume/volume_vert.cpp: Moved shaders into .cpp, with - the shaders created by the new osg2cpp utility -2008-09-25 10:21 robert +Tue, 6 Mar 2012 10:33:20 +0000 +Checked in by : Robert OSFIELD +From Farshild Laskari, "The vertex shader for the point stateset of PrecipitationEffect was not properly computing the clip vertex. It needed to apply a modelview transformation to the clip vertex. Attached is the fix." - * src/osgDB/Registry.cpp, src/osgPlugins/glsl/ReaderWriterGLSL.cpp: - Added .vert and .frag to list of accepted extension in the GLSL - plugin +Tue, 6 Mar 2012 10:29:47 +0000 +Checked in by : Robert OSFIELD +From Christian Buchner, "The attached openscenegraph example is much simpler than osgshaders.cpp and demonstrates the use of GLSL vertex and fragment shaders with a simple animation callback. I found the osgshaders.cpp too complex to serve as a starting point for GLSL programming" -2008-09-24 16:03 robert +Tue, 6 Mar 2012 10:08:49 +0000 +Checked in by : Robert OSFIELD +From Chuck Seberino, "Here is a fix for the RotateCylinderDragger. This patch fixes the case where the picking direction is close to the cylinder axis. The current behavior is this:* If the eyepoint and cylinder axis are close to parallel (given some tolerance), then it uses a plane perpendicular to the cylinder axis. +* Otherwise it uses a plane parallel to the cylinder axis oriented towards the eyepoint (previous behavior). This gives decent behavior and is the only path that was taken in the previous code. I kept with previous behavior and that allowed a good bit of code to be removed, simplifying things. There is now no need for the _onCylinder flag, but since there is a public accessor, I wasn't sure how to handle it for backwards compatibility, so I left it in. NOTE - there is no default initialized value, so if it is kept in, it should be set to 'false' to keep same behavior as before. I am not quite sure how the _onCylinder case was supposed to behave as even forcing that path gave undesirable behavior, even with carefully controlled dragging. +" - * examples/osgunittests/MultiThreadRead.cpp: From Jean-Sebastian - Guay, fixed windows build -2008-09-24 16:00 robert - * src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Riccardo Corsi, - Added 3gp file extension to supported list in quicktime plugin +Tue, 6 Mar 2012 10:06:00 +0000 +Checked in by : Robert OSFIELD +Added RotateCylinderDragger and RotateSphereDragger to list of manipulators for testing purposes -2008-09-24 15:59 robert +Mon, 5 Mar 2012 14:17:01 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "Just a minor update and typo fix. " - * src/osgDB/Registry.cpp: Added 3gp extension alias for quicktime +Thu, 1 Mar 2012 11:33:31 +0000 +Checked in by : Robert OSFIELD +From Luc Frauciel, "I've modified dxf writer :- correction to writeFace : the fourth point was defined with an incorrect code (http://www.autodesk.com/techpubs/autocad/acad2000/dxf/3dface_dxf_06.htm) +- if no layer name was found, an empty string was used, with is incorrect according to dxf specifications and was rejected by Autodesk DWG TrueView +- the plugin was writting polygons and triangles as LINE, as if PolygonMode GL_LINE was active, and didn't use 3DFACE primitive. + I changed this behaviour to write 3DFACE as default, and LINE when PolygonMode GL_LINE is active. + when reading back the file with osg, the result is now consistent with the source -2008-09-24 10:45 robert +Tested with osg plugin, FME (Safe software), Autodesk DWG TrueView +" - * examples/osgvolume/osgvolume.cpp: Added shader based transfer - function, enabled via --gpu-tf -2008-09-24 10:20 robert - * examples/osgvolume/osgvolume.cpp: Fixed transfer function parsing +Thu, 1 Mar 2012 11:03:18 +0000 +Checked in by : Robert OSFIELD +From Luc Frauciel, "In 3ds plugin, asGeometry() is used on a drawable but the resulting pointer is not tested for nullity. It leads to a crash when writing osgText::Text or Shapes" -2008-09-23 17:29 robert +Thu, 1 Mar 2012 10:38:28 +0000 +Checked in by : Robert OSFIELD +From David Callu, "I found a bug in osg::Program.in osg::Program::PerContextProgram : - * include/osgDB/Registry, src/osgDB/Registry.cpp: Added mutex usage - to protect access to plugin and readerwriter containers +typedef std::vector LastAppliedUniformList; +should be +typedef std::map LastAppliedUniformList; -2008-09-23 15:41 robert +Intel driver can use index uniform value > 200000. +With a std::vector, this index uniform value generate an out of memory error - * examples/osgunittests/MultiThreadRead.cpp, - examples/osgunittests/MultiThreadRead.h, - examples/osgunittests/osgunittests.cpp: Added "serialize" and - plugin "preload" options in the "read-threads" code path. +Nothing in OpenGL or GLSL specification define index uniform value rules. +And all other implementation that deal with uniform index in osg::Program +use a std::map. +This fix could have a little performance impact but this is the cost +to pay to work with +all driver." -2008-09-23 13:58 robert - * examples/osgunittests/CMakeLists.txt, - examples/osgunittests/MultiThreadRead.cpp, - examples/osgunittests/MultiThreadRead.h, - examples/osgunittests/osgunittests.cpp: Added read-threads - command line and read thread test back end -2008-09-23 09:59 robert +Thu, 1 Mar 2012 10:14:55 +0000 +Checked in by : Robert OSFIELD +Removed redudent spaces at ends of lines - * examples/osgshadow/CMakeLists.txt, - examples/osgshadow/IslandScene.cpp, - examples/osgshadow/IslandScene.h, - examples/osgshadow/osgshadow.cpp, - examples/osgshadow/terrain_coords.h: From Wojciech Lweandowski, - added support for noew LispSM shadow technique (use --lispsm on - CmdLine) and added IslandScene database (use -4 on CmdLine). +Wed, 29 Feb 2012 14:01:44 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS for dev release -2008-09-22 17:24 robert +Wed, 29 Feb 2012 10:22:56 +0000 +Checked in by : Robert OSFIELD +Improved the handling of endian swap of osg::Array - * examples/osgvolume/osgvolume.cpp: Added support for reading raw - data and transfer function from a volume header +Wed, 29 Feb 2012 10:22:18 +0000 +Checked in by : Robert OSFIELD +From Glenn Waldron, "Attached are modifications to ZipArchive to make it safe for mutli-threaded access. Here's a summary:* Uses a separate ZIP file handle per thread +* Maintains a single shared (read-only) index, created the first time through +* Stress-tested with the DatabasePager using 24 threads under osgEarth -2008-09-22 16:18 robert +I also updated the member variables to use OSG's leading-underscore convention." - * examples/osgimagesequence/osgimagesequence.cpp: Added - --page-and-discard, --page-and-retain, --preload and --length - command line options -2008-09-22 16:17 robert - * src/osg/ImageSequence.cpp: Fixed typo +Tue, 28 Feb 2012 12:03:48 +0000 +Checked in by : Robert OSFIELD +From Guillaume Millet, "When using the texture Atlas builder, it will convert from REPEAT to CLAMP all textures using only texcoord between [-0.001 1.001] to give a chance to create an Atlas. If the atlas creation failed for other reason (texture size, only one compatible texture, ...) the texture remain modified in CLAMP mode.But if you use texcoords between [0.0 1.0] using CLAMP mode instead +REPEAT it is not safe because you will have a blend to the border color +at extremities. +If we want to have exactly the same rendering after changing mode from +REPEAT to CLAMP we should use the CLAMP_TO_EDGE mode instead of CLAMP to +avoid blending to border color at extremities. -2008-09-22 15:56 robert +Please find as attachment the proposed patch against latest svn version. +" - * examples/osgimagesequence/osgimagesequence.cpp: Added stats - handler -2008-09-22 15:01 robert - * src/osg/ImageStream.cpp, src/osg/OperationThread.cpp, - src/osgVolume/CMakeLists.txt: From Ulrich Hertlein, fixes for OSX - build +Tue, 28 Feb 2012 11:37:09 +0000 +Checked in by : Robert OSFIELD +Added build problem with using float Matrix. -2008-09-22 14:58 robert +Tue, 28 Feb 2012 10:21:21 +0000 +Checked in by : Robert OSFIELD +From Thomas Hogarth, build fix for IOS build - * CMakeLists.txt: Changed OSG_DEBUG_POSTFIX to use ADDQUOTES in the - .cpp rather than trying to add quotes via CMakeLists.txt +Mon, 27 Feb 2012 09:50:47 +0000 +Checked in by : Robert OSFIELD +Added fin.imbue(std::locale::classic()); to avoid problems with parsing of .obj files -2008-09-22 14:55 robert +Fri, 24 Feb 2012 21:07:02 +0000 +Checked in by : Robert OSFIELD +Added s/getByteSwap to teh InputStreamOperator base class and use of this method in the InputStream::start(InputStreamOperator*) method to ensure the bytes are swapped consistently. - * src/osgDB/CMakeLists.txt, src/osgDB/PluginQuery.cpp, - src/osgDB/Registry.cpp: From Ralf Habacker and Robert Osfield, - added search for plugins with OS specific file plugin extensions +Fri, 24 Feb 2012 12:15:15 +0000 +Checked in by : Robert OSFIELD +Added support for using glGenerateMipmap instead of GL_GENERATE_MIPMAP_SGIS on GLES2 -2008-09-22 14:46 robert +Fri, 24 Feb 2012 11:43:35 +0000 +Checked in by : Robert OSFIELD +Added support for checking the possible endian reversal the OSG_HEADER_LOW and OSG_HEADER_HIGH when reading binary files written out from systems that have a different endian to the system reading it. - * include/osgDB/FileNameUtils, src/osgDB/FileNameUtils.cpp: Added - getExtensionIncludingDot to provide more efficient handling of - extensions +Fri, 24 Feb 2012 10:56:48 +0000 +Checked in by : Robert OSFIELD +Cleaned up CMake warning -2008-09-22 13:16 robert +Thu, 23 Feb 2012 17:51:40 +0000 +Checked in by : Robert OSFIELD +Moved the state.applyTextureMode(0,GL_TEXTURE_2D,osg::StateAttribute::ON); - * CMakeLists.txt, include/osg/Object, src/osgDB/FileUtils.cpp: - Changed the macro usage so that the quotes are now added inside - the .cpp +into the #if defined(OSG_GL_FIXED_FUNCTION_AVAILABLE) block to solve problems under GLES and GL3.x/GL4.x -2008-09-22 11:13 robert - * src/osgPlugins/dicom/CMakeLists.txt, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Added readNode - implementation that creates an osgVolume::Volume for the - specified dicom file. -2008-09-21 11:12 robert - * src/osgWrappers/osgTerrain/TerrainTile.cpp, - src/osgWrappers/osgVolume/Brick.cpp, - src/osgWrappers/osgVolume/Volume.cpp, - src/osgWrappers/osgVolume/VolumeTechnique.cpp: Added Volume - wrappers, and updated terrain wrappers +Thu, 23 Feb 2012 15:55:30 +0000 +Checked in by : Robert OSFIELD +From Mathieu Marache, "I was trying to play with the configuratiion files from the data but couldn't load them with osgviewer's -c CLI switch, this correction should make the alias work :-) " -2008-09-21 11:05 robert +Wed, 22 Feb 2012 10:50:38 +0000 +Checked in by : Robert OSFIELD +From Sergey Polischuk, "In and Out control points were computed incorrectly for some animation channels with cubic bezier interpolation" - * include/osgVolume/Brick, include/osgVolume/Volume, - include/osgVolume/VolumeTechnique, src/osgVolume/Brick.cpp, - src/osgVolume/CMakeLists.txt, src/osgVolume/Volume.cpp, - src/osgVolume/VolumeTechnique.cpp: Create initial class - placeholders for main volume rendering classes +Wed, 22 Feb 2012 10:46:35 +0000 +Checked in by : Robert OSFIELD +From Miha Ravsel, "While trying to create my custom serializer class, i created some dummy data which accidentally popped-up bug in InputStream readObjectFields function.Bug description: + Let's say we have class A +namespace Bug +{ +class A : public osg::Object +{ +public: + //... + typedef std::vector > AList; -2008-09-20 15:43 robert +protected: + AList _alist; + //... +} +} - * include/osgTerrain/TerrainTile, - src/osgPlugins/ive/TerrainTile.cpp: Change TileID::layer to - TileID::level +REGISTER_OBJECT_WRAPPER( A, + new Bug::A, + Bug::A, + "osg::Object Bug::A" ) +{ + ADD_LIST_SERIALIZER(A,Bug::A::AList); +} -2008-09-20 10:34 robert - * src/osgUtil/SceneView.cpp: From Chris Denham, changed - gluGetErrorString to using osg::State::checkGLErrors() to avoid - null pointer dereference +Bug: +We create say 3 instances of class A: A1,A2,A3 and then we add A2 and A3 and A1 as child instances of A1 so we get next structure: +A1 + |- A2,A3,A1 -2008-09-20 10:09 robert +we call osgDB::writeObjectFile(A1,"/data/a.osgt") -> saved correctly( third element in list is saved as unique id that references parentClass - * src/osg/StateSet.cpp: From Mathias Froehlich, added catch for - GL_COLOR_MATERIAL mode being set. +now we call +A1 = osgDB::readObjectFile("/data/a.osgt"); -2008-09-20 10:05 robert +Everything is deserialized correctely except last element in list which should be same instance as parent A1. - * src/osg/GLExtensions.cpp: From John Vida Larring, "If an - application initializes osgViewer::GraphicsWindowEmbedded() but - never gets around to do any rendering before the application is - closed, the result with be a crash (SIGABRT/std::logic_error) in - osg::getGLVersionNumber(). - - The fix was to check whether glGetString( GL_VERSION ) returned a - null pointer (Ref. svn diff below). The altered - src/osg/GLExtensions.cpp is zipped and attached to this email." +The attached code resolves this issue by passing UniqueID in readObjectFields method and saving object in _identifierMap as soon as we have valid object instance so we can make reference to parent object from any child instance. +" -2008-09-19 19:51 robert - * src/osgWrappers/genwrapper.conf, - src/osgWrappers/osgShadow/ConvexPolyhedron.cpp, - src/osgWrappers/osgShadow/DebugShadowMap.cpp, - src/osgWrappers/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgWrappers/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgWrappers/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgWrappers/osgShadow/MinimalShadowMap.cpp, - src/osgWrappers/osgShadow/StandardShadowMap.cpp, - src/osgWrappers/osgShadow/ViewDependentShadowTechnique.cpp: Added - wrapper support for new osgShadow classes -2008-09-19 19:51 robert +Tue, 21 Feb 2012 17:20:58 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "The attached fixes a few issues that are present when ref_ptr implicit casting is disabled." - * include/osgShadow/ConvexPolyhedron, - include/osgShadow/DebugShadowMap, - include/osgShadow/LightSpacePerspectiveShadowMap, - include/osgShadow/MinimalCullBoundsShadowMap, - include/osgShadow/MinimalDrawBoundsShadowMap, - include/osgShadow/MinimalShadowMap, - include/osgShadow/ProjectionShadowMap, - include/osgShadow/StandardShadowMap, - include/osgShadow/ViewDependentShadowTechnique, - src/osgShadow/CMakeLists.txt, src/osgShadow/ConvexPolyhedron.cpp, - src/osgShadow/DebugShadowMap.cpp, - src/osgShadow/LightSpacePerspectiveShadowMap.cpp, - src/osgShadow/MinimalCullBoundsShadowMap.cpp, - src/osgShadow/MinimalDrawBoundsShadowMap.cpp, - src/osgShadow/MinimalShadowMap.cpp, - src/osgShadow/StandardShadowMap.cpp, - src/osgShadow/ViewDependentShadowTechnique.cpp: From Wojciech - Lewandowski, a range of new ShadowMap implementations include - View Dependent Shadow Maps - LispSM - - From Robert Osfield, refactored Wojciech's submission to - integrated with osgShadow and use coding sytle more consistent - with rest of OSG. - -2008-09-19 12:49 robert - - * CMakeLists.txt, src/osgDB/FileUtils.cpp: From Mathias Froehlich, - added support for search in the installed directories for plugins - -2008-09-19 08:16 robert - - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp: From Richard - Schmidt, fixed the handling of user data so that it uses - ref_ptr<> to avoid data getting deleted. - -2008-09-18 16:48 robert - - * ChangeLog: Updated ChangeLog - -2008-09-18 16:03 robert - - * src/osgWrappers/osgDB/Serializer.cpp: Added Serializer wrappers - -2008-09-18 15:50 robert - - * include/osgDB/Serializer, src/osgDB/CMakeLists.txt: Moved - Serializer header from VPB into osgDB. - -2008-09-18 15:44 robert - - * src/osgWrappers/osgShadow/ShadowMap.cpp, - src/osgWrappers/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers - -2008-09-18 15:18 robert - - * include/osgViewer/CompositeViewer, include/osgViewer/Viewer, - include/osgViewer/ViewerBase, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp: - refactored the getWindows(..) and getContexts(..) methods so that - they produce - consistent ordering based on the order Camera/slave camera - ordering. - -2008-09-18 15:16 robert - - * src/osgText/Font.cpp: From Mathias Froehlich, "Attached one - namespace/scope lookup problem which shows up on irix." - -2008-09-18 14:48 robert - - * include/osgShadow/ShadowMap, include/osgShadow/SoftShadowMap, - src/osgShadow/SoftShadowMap.cpp: From Christopher Blaesius, - "Soft shadow mapping is basically the same as hard shadow mapping - beside that - it uses a different fragment shader. - So for me it makes sense that osgShadow::SoftShadowMap is derived - from - osgShadow::ShadowMap, this makes it easier to maintain the two - classes. - Additional SoftShadowMap also provides the same Debug methods as - ShadowMap." - -2008-09-18 13:54 robert - - * src/osgWrappers/osg/AnimationPath.cpp: Updated wrappers - -2008-09-18 13:54 robert - - * include/osg/AnimationPath: From Alan Dickinson, change methods to - virtual. - -2008-09-18 13:18 robert - - * src/osgPlugins/OpenFlight/ExportOptions.cpp: From John - Argentieri, added missing _stripTextureFilePath( false ) - initializer. - -2008-09-18 13:09 robert - - * src/osgShadow/ShadowMap.cpp: From Chris Denham, added missing - ccopy of polyOffset in copy constructor - -2008-09-18 13:05 robert - - * src/osgShadow/ShadowMap.cpp: From Chris Denham, " - I think I may have discovered a bug in osgShadow/ShadowMap.cpp - that results in incomplete shadows being generated. - The problem seems to caused by an incorrect interpretation of the - spot light cutoff angle. The valid ranges for spot cutoff are - 0-90 and 180, i.e half the 'field of view' for the spotlight. - Whereas the shadow map code seems to assume the the spot cutoff - is equal to the field of view. This results in the shadows - generated by the spotlight getting clipped at half the spot - cutoff angle. - - I have fixed this in my copy of ShadowMap.cpp: - =============================== - //Original code from OSG 2.6: - if(selectLight->getSpotCutoff() < 180.0f) // spotlight, then we - don't need the bounding box - { - osg::Vec3 position(lightpos.x(), lightpos.y(), lightpos.z()); - float spotAngle = selectLight->getSpotCutoff(); - _camera->setProjectionMatrixAsPerspective(spotAngle, 1.0, 0.1, - 1000.0); - - _camera->setViewMatrixAsLookAt(position,position+lightDir,osg::Vec3(0.0f,1.0f,0.0f)); - } - =============================== - // My modifications: - float fov = selectLight->getSpotCutoff() * 2; - if(fov < 180.0f) // spotlight, then we don't need the bounding - box - { - osg::Vec3 position(lightpos.x(), lightpos.y(), lightpos.z()); - _camera->setProjectionMatrixAsPerspective(fov, 1.0, 0.1, 1000.0); - - _camera->setViewMatrixAsLookAt(position,position+lightDir,osg::Vec3(0.0f,1.0f,0.0f)); - } - - This change seems correct for spot cutoff in the range 0, 90, but - since OpenGL doesn't claim to support cutoffs >90 && <180, I'm - not sure how shadow map should deal with those cases, but - ignoring spot cut off greater than 90 here seems reasonable to - me. - " - -2008-09-18 12:57 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Ralf Habacker, "the - appended patch fixes the problem reported on - http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2008-January/006110.html. - " - - - > Using QOSGWidget - QWidget + osgViewer creating the graphics - context. - > - > Windows Error #2000: [Screen #0] - GraphicsWindowWin32::setWindow() - Unable - > to create OpenGL rendering context. Reason: The pixel format is - invalid. - > - > - > - > And then the following fate error pops up: - > - > - > - > The instruction at "0x014c7ef1" referenced memory at - "0x000000a4", The - > memory could not be "read". - > - > Click on Ok to terminate the program - > - > Click on CANCEL to debug the program - > - > - -2008-09-18 12:50 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Robert Osfield and - Christophe Loustaunau, fixes for support for 16bit and 32bit tiff - images - -2008-09-18 10:52 robert - - * examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp, - src/osgDB/FieldReader.cpp: From Mathias Froehlich, "I did some - performance test runs with the development gcc-4.4 version. - To make it compiel with future gcc's we sppear to need the - attached missing - includes ..." - -2008-09-18 10:49 robert - - * src/osgPlugins/osgSim/CMakeLists.txt, - src/osgPlugins/osgSim/IO_OverlayNode.cpp: From Mathieu Marache, - "This is an addition for osgSim reader/writer for the osg ascii - file format adding osgSim::OverlayNode support. " - -2008-09-18 10:39 robert - - * src/osgParticle/ModularEmitter.cpp: From Tim Moore, "his - submission fixes a bug when the ModularEmitter and ParticleSystem - are in different frames of reference. Specifically, it supports - the case where the ParticleSystem is not in the world frame. One - way this can come up is if your world coordinate system is - Earth-centric; the float coordinates of particles don't have - enough precision to avoid terrible jitter and other rendering - artifacts, so it's convenient to root the particle systems in a - local Z-up coordinate system that gets moved around from time to - time. - " - - Tweak from Robert Osfield, converted code to use new - Drawable::getWorldMatrices method - -2008-09-18 10:38 robert - - * include/osg/Drawable, include/osg/Node, src/osg/Drawable.cpp, - src/osg/Node.cpp, src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/Node.cpp: Improved the constness of - parameters the Node::getWorldMatrices(..) method. - - Added Drawable::getWorldMatrices(const Node*) method. - -2008-09-17 20:02 robert - - * src/osgPlugins/ogr/ReaderWriterOGR.cpp: From Rob Bloemkool, "This - is a submission for src/osgPlugins/ogr/ReaderWriterOGR.cpp - - adds display of options when using osgconv --formats. - - adds useGroupPerFeature option to have each feature in a - separate group. Usage: OSG_OPTIMIZER=OFF osgconv -e ogr -O - addGroupPerFeature - " - -2008-09-17 19:51 robert - - * src/osgUtil/SceneView.cpp: From Ewe Woessner, "I looked at the - Anaglyphic stereo implementation in SceneView.cpp and think I - spotted some copy-paste bugs. - - osg::ColorMask* leftColorMask = _renderStageLeft->getColorMask(); - if (!leftColorMask) - { - leftColorMask = new osg::ColorMask(); - _renderStageLeft->setColorMask(leftColorMask); - ^^^^ here it said right, I think this should be Left. - } - - - // ensure that right eye color planes are active. - osg::ColorMask* rightColorMask = - _renderStageRight->getColorMask(); - ^^^^ similar here, I think this should be right - if (!rightColorMask) - { - rightColorMask = new osg::ColorMask(); - _renderStageRight->setColorMask(rightColorMask); - } - - and i further removed an unnecessary setColorMask." - -2008-09-17 19:25 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake: From Mattias - Helsing, - - CMakeLists.txt changes: "I installed latest Cmake(2.6.1) on a new - machine and got a CMP008 - warning from cmake. This fix set up osg to use the old behaviour - which - have worked before. We might set this to NEW but I need to do - more - testing first. I'l be able to test this on winxp with msvc80/90 - and - ubuntu hardy with gcc-4.2. - - quote from cmake cvs log - policy CMP0008 to decides how to treat full path libraries that - do not - appear to be valid library file names. Such libraries worked by - accident in the VS IDE and Xcode generators with CMake 2.4 and - below." - - - OsgMarcroUtils.cmake changes: "On Philips suggestion truncated a - redundant if/else construction in - OsgMacroUtils to avoid developer warnings in cmake-2.6.1 - concerning - cmake policy CMP0008 which allows full paths to libraries only - with - valid library names - " - -2008-09-17 18:56 robert - - * CMakeLists.txt, src/osgDB/Registry.cpp: From Alberto Luaces, - "Cygwin's cmake build adds a "d" postfix to the plugins installed - in debug - mode. Nevertheless, the code doesn't acknowledge that, so I had - problems with - debug versions of the library not being able to open their - plugins whereas - the release versions worked fine. - - I have made the same changes in Registry.cpp that are available - for the rest - of platforms appending that "d" to their plugins. I have also - updated the - CMakeLists.txt file to get "_DEBUG" defined at compilation time. - I have - copied the already existent conditional block because of cmake's - bizarre - operator precedence. Since Cygwin defines both CYGWIN and WIN32, - the - following would suffice: - - IF(CYGWIN OR UNIX AND NOT WIN32 AND NOT APPLE) - - Sadly, it actually doesn't work, so I wrote a new conditional - block just for - Cygwin. I could join the two blocks when the parentheses support - is added in - newer versions of cmake." - -2008-09-17 18:54 robert - - * src/osgShadow/ParallelSplitShadowMap.cpp: From Adrian Egli, "i - came around reviewing my code, and found now finally a solution - to remove the polygon offset issue. as we all know the polygon - offset has a different behaviour on different GPU system (ATI, - NVidia) and this make the use of - polygon offset complicate. so i looked for a solution to remove - this offset. - - i changed the shader, also the filtering (default: on) use now a - correct 3x3 filter: - 1 0 1 - 0 2 0 - 1 0 1 - - div: 6 - - of course a better one would be - 1 2 1 - 2 4 2 - 1 2 1 - - div: 16 - but this isn't as performant as the simple filter above is. - because we need only 5 texture lookups instead of 9, and the - result is still good, if you wish we can add a enum to change the - pcf filter type once, if there is a need. - - - testet on NVidia Quatro 570M and on ATI Radeon X1600 - - " - -2008-09-17 18:51 robert - - * src/osgShadow/ParallelSplitShadowMap.cpp: From Adrian Egli, "I - changed the PSSM shadow map implementation, if we have filtered - turned on, it should be now correct. The implementation is more - robut on different scene. i tested it on NVIDIA card against a - park scene, a chess board and a terrain. - unfort. i couldn't test it on any ATI system. may there will be - still another problem there. if there are still some artefacts. - we should try out better fZOffSet value - " - -2008-09-17 18:42 robert - - * src/osg/GraphicsContext.cpp: From Bill Prendergast, "Found a typo - in CameraRenderOrderSortOp in osg/GraphicsContext.cpp - (V2.6.0 and prior) as noted below: - - struct CameraRenderOrderSortOp - { - inline bool operator() (const Camera* lhs,const Camera* rhs) - const - { - if (lhs->getRenderOrder()getRenderOrder()) return true; - if (rhs->getRenderOrder()getRenderOrder()) return false; - ---> return lhs->getRenderOrderNum()getRenderOrderNum(); - ^^^ ^^^ - } - }; - - Corrected code attached." - -2008-09-17 17:25 robert - - * examples/osggeometryshaders/osggeometryshaders.cpp: From - Christophe Loustaunau," - I have found some errors on the example osgGeometryShaders. It's - about the varying in the geometry shader. - take a look at the varying vec4 v_color. - In the vertex shader, v_color is initialized to gl_vertex - then in the geometry shader v_color is initialized to - gl_PositionIn[0] - and in the fragment shader v_color is used as the fragment color. - - Try to initialized v_color to vec4(1.0, 0.0, 0.0, 1.0) in the - vertex shader and comment the line : - " v_color = v;\n" in the geometry shader, and you will see the - lines as black ! - - It's because you have to use keywords in and out. - - extract from : - http://www.opengl.org/registry/specs/EXT/geometry_shader4.txt : - - in - for function parameters passed into a function or for input - varying - variables (geometry only) - - out - for function parameters passed back out of a function, but - not - initialized for use when passed in. Also for output varying - variables - (geometry only). - - Then for a geometry shader, a varying must be an array : - extract from : - http://www.opengl.org/registry/specs/EXT/geometry_shader4.txt : - - Since a geometry shader operates on primitives, each input - varying variable needs to be - declared as an array. Each element of such an array corresponds - to a - vertex of the primitive being processed. If the varying variable - is - declared as a scalar or matrix in the vertex shader, it will be a - one-dimensional array in the geometry shader. Each array can - optionally - have a size declared. If a size is not specified, it inferred by - the - linker and depends on the value of the input primitive type. - - - Here is a patch based on the svn version of osg that correct - that. - " - -2008-09-17 17:13 robert - - * src/osgWidget/WindowManager.cpp: From Max Bandazian, "Lines - 302-305 of WindowManager.cpp seem to have a parenthesizing error - - the code is - if( - (!win || win->getVisibilityMode() == Window::VM_PARTIAL) && - !win->isPointerXYWithinVisible(x, y) - ) continue; - - But it probably should be - - if (!win || (win->getVisibilityMode() == Window::VM_PARTIAL) && - !win->isPointerXYWithinVisible(x, y))) - continue; - - The effect of the bug is to segfault if a non-osgWidgets::Window - node hasn't been excluded from picking via NodeMask." - -2008-09-17 17:07 robert - - * src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp: - Updated wrappers - -2008-09-17 16:14 robert - - * examples/osgdepthpeeling/osgdepthpeeling.cpp, - examples/osghangglide/osghangglide.cpp, - examples/osglogo/osglogo.cpp, - examples/osgsimulation/osgsimulation.cpp, - examples/osgunittests/UnitTests_osg.cpp, - examples/osgvertexprogram/osgvertexprogram.cpp, - include/osg/AnimationPath, include/osg/Matrixd, - include/osg/Matrixf, src/osg/AutoTransform.cpp, - src/osg/CameraView.cpp, src/osg/Matrix_implementation.cpp, - src/osg/PositionAttitudeTransform.cpp, - src/osgManipulator/AntiSquish.cpp, - src/osgParticle/PrecipitationEffect.cpp, - src/osgSim/DOFTransform.cpp, src/osgSim/Sector.cpp, - src/osgText/Text.cpp, src/osgText/Text3D.cpp, - src/osgUtil/SceneGraphBuilder.cpp, src/osgViewer/View.cpp: From - Mathias Froehlich, "This is a generic optimization that does not - depend on any cpu or instruction - set. - - The optimization is based on the observation that matrix matrix - multiplication - with a dense matrix 4x4 is 4^3 Operations whereas multiplication - with a - transform, or scale matrix is only 4^2 operations. Which is a - gain of a - *FACTOR*4* for these special cases. - The change implements these special cases, provides a unit test - for these - implementation and converts uses of the expensiver dense matrix - matrix - routine with the specialized versions. - - Depending on the transform nodes in the scenegraph this change - gives a - noticable improovement. - For example the osgforest code using the MatrixTransform is about - 20% slower - than the same codepath using the PositionAttitudeTransform - instead of the - MatrixTransform with this patch applied. - - If I remember right, the sse type optimizations did *not* provide - a factor 4 - improovement. Also these changes are totally independent of any - cpu or - instruction set architecture. So I would prefer to have this - current kind of - change instead of some hand coded and cpu dependent assembly - stuff. If we - need that hand tuned stuff, these can go on top of this changes - which must - provide than hand optimized additional variants for the - specialized versions - to give a even better result in the end. - - An other change included here is a change to rotation matrix from - quaterion - code. There is a sqrt call which couold be optimized away. Since - we divide in - effect by sqrt(length)*sqrt(length) which is just length ... - " - -2008-09-17 14:23 robert - - * examples/osgwidgetlabel/osgwidgetlabel.cpp, - examples/osgwidgetwindow/osgwidgetwindow.cpp: Updated osgwidget - examples to use the new osg::clone() methods - -2008-09-17 14:23 robert - - * src/osgWrappers/genwrapper.conf, - src/osgWrappers/osgWidget/Box.cpp, - src/osgWrappers/osgWidget/Canvas.cpp, - src/osgWrappers/osgWidget/EventInterface.cpp, - src/osgWrappers/osgWidget/Frame.cpp, - src/osgWrappers/osgWidget/Label.cpp, - src/osgWrappers/osgWidget/Table.cpp, - src/osgWrappers/osgWidget/ViewerEventHandlers.cpp, - src/osgWrappers/osgWidget/Widget.cpp, - src/osgWrappers/osgWidget/Window.cpp, - src/osgWrappers/osgWidget/WindowManager.cpp: Updated wrappers of - osgWidget - -2008-09-17 14:21 robert - - * include/osgWidget/Box, include/osgWidget/Canvas, - include/osgWidget/EventInterface, include/osgWidget/Frame, - include/osgWidget/Label, include/osgWidget/Table, - include/osgWidget/UIObjectParent, - include/osgWidget/ViewerEventHandlers, include/osgWidget/Widget, - include/osgWidget/Window: Tweaks to facilitate osgWrapper build - -2008-09-17 14:21 robert - - * include/osg/Object: Introduce new templated clone(..) methods - that return the correct type of object cloned. - -2008-09-17 11:43 robert - - * CMakeModules/FindOurDCMTK.cmake, - src/osgPlugins/dicom/CMakeLists.txt: Added support for finding - DCMTK-3.5.4 installed lib/include placement - -2008-09-16 18:41 robert - - * doc/Doxyfiles/all_Doxyfile, doc/Doxyfiles/auto_Doxyfile, - doc/Doxyfiles/core_Doxyfile, doc/Doxyfiles/custom_Footer.html, - doc/Doxyfiles/doxyfile.cmake, src/osgWrappers/CMakeLists.txt, - src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osgTerrain/Layer.cpp, src/osgWrappers/osgVolume, - src/osgWrappers/osgVolume/Export.cpp: Added osgVolume to docs and - wrappers - -2008-09-16 15:32 robert - - * examples/osgvolume/CMakeLists.txt, - examples/osgvolume/osgvolume.cpp, include/osgVolume, - include/osgVolume/Export, include/osgVolume/ImageUtils, - include/osgVolume/Version, src/CMakeLists.txt, src/osgVolume, - src/osgVolume/CMakeLists.txt, src/osgVolume/ImageUtils.cpp, - src/osgVolume/Version.cpp: Introduced beginings of osgVolume - NodeKit. - -2008-09-16 15:31 robert - - * src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Complted the first - pass at the DCMTK based dicom loader +Tue, 21 Feb 2012 11:30:07 +0000 +Checked in by : Robert OSFIELD +From Olaf Flebbe, "Macos X cleanup: I added AFAIK proper defaults for several Macos X Version API targets.* In order to determine which defaults to apply, consult the CMAKE_OSX_SYSROOT variable pointing to the used SDK, not the pure existence of an SDK. -2008-09-16 09:31 robert +* Defaults are now: +10.7: Support Intel 32 and 64 Bit Cocoa with imageio picture reader +10.6 + 10.5: Support Cocoa with imageio on Intel and PowerPC +10.4: Carbon, Quicktime and PowerPC - * examples/osgmovie/osgmovie.cpp: Change the GLSL textureRec and - texture2D parameters to use .st to make sure they only use 2D - coords. - - Add setResizeNonPowerOfTwoHint to false for Texture2D. +Now OSG compiles out of the box for MacOSX 10.7. , tested with gcc and clang with FlightGear." -2008-09-15 19:59 robert - * CMakeLists.txt, CMakeModules/FindOurDCMTK.cmake, - examples/osgvolume/osgvolume.cpp, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/dicom/CMakeLists.txt, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Added optional usage - of DCMTK in the dicom plugin -2008-09-15 11:27 robert +Tue, 21 Feb 2012 11:13:25 +0000 +Checked in by : Robert OSFIELD +From Chris Denham, "ReaderWriter3DS smoothing group handling corrections" - * include/osgTerrain/Layer: From Ralf Habacker, removed redundent - SwitchLayer::clear() +Tue, 21 Feb 2012 10:42:59 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2008-09-14 10:31 robert +Tue, 21 Feb 2012 10:38:12 +0000 +Checked in by : Robert OSFIELD +Fixed erroneous use #if !defined(OSG_GLES1_FEATURES) && !defined(OSG_GLES2_FEATURES) which should have been #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) - * include/osg/Geometry, src/osg/Geometry.cpp, - src/osgUtil/Simplifier.cpp: Introduced - Geometry::containsSharedArrays() and - Geometry::duplicateSharedArrays() to - support a fix to the osgUtil::Simplifier that couldn't handle - shared arrays +Mon, 20 Feb 2012 16:00:46 +0000 +Checked in by : Robert OSFIELD +From Luc Frauciel, "When dae plugin is used with daeUseSequencedTextureUnitsoption, the transparency processing is done with the wrong texture unit I've remplaced the unused parameter diffuseColorName by the diffuseTextureUnit effectively used." -2008-09-13 13:38 robert +Mon, 20 Feb 2012 12:36:53 +0000 +Checked in by : Robert OSFIELD +From Alexander Sinditskiy, "Fix loading small monochrome bmp images" - * examples/osgvolume/osgvolume.cpp: Added reading of whole - directories of images +Mon, 20 Feb 2012 12:33:17 +0000 +Checked in by : Robert OSFIELD +From Dietmar Funck, "in order to use a customized database thread it's necessary to use a customized database pager, which creates such customized database threads, too. I think the best way to achieve this is to overwrite the DatabasePager::addDatabaseThread() method within the customized database pager. However this method is not 'virtual' yet, so I propose to make the method 'virtual'." -2008-09-13 09:09 robert +Mon, 20 Feb 2012 12:23:36 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I've attached a small optimization to osgDB::Registry::removeExpiredObjectsInCache that removes the expired items while iterating over the cache, instead of saving to a temporary vector and then removing." - * include/osg/TransferFunction, src/osg/TransferFunction.cpp, - src/osgWrappers/osg/TransferFunction.cpp: Introduced - TransferFunction1D::assign(ValueMap&). +Mon, 20 Feb 2012 12:18:50 +0000 +Checked in by : Robert OSFIELD +From Riccardo Corsi, Added passing of EventVisitor pointer to event handlers. -2008-09-12 15:41 robert +Mon, 20 Feb 2012 12:12:43 +0000 +Checked in by : Robert OSFIELD +From Riccardo Corsi, "please find attached a small patch for HDR plugin, which simply set by default the internal pixel format to GL_RGB32F_ARB where appropriate.In the current version there's a comment saying that the plugin set it to GL_RGB8 (even when reading from float) to support old graphics cards, +but the comment dates back to 2004... +What's more I believe that it's correct to expect a floating texture format if you're loading an hdr image. +It was quite troublesome for us to discover why our background image wasn't showing hdr data... - * examples/osgvolume/osgvolume.cpp: Removed use of ints and reading - from gl_FragColor in shader +In case you accept the submission, I've removed the comment as it would be misleading to leave it there." -2008-09-11 16:11 robert - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version numbers in - prep for up comming dev release -2008-09-11 16:06 robert +Mon, 20 Feb 2012 12:03:14 +0000 +Checked in by : Robert OSFIELD +From Johannes Baeurele, "The osg::Image class now contains a 'supportsTextureSubloading()' method that is used inside the Texture2D::apply method. For now it only checks for the etc1 format in which case it returns 'false'. All other formats lead to a return value of 'true'.Without the change the application does not work properly. First I get the notification that an OpenGL error occured. After some more of this error messages I see broken textures on the screen. With the changes attached to this message my application works as intended." - * CMakeLists.txt, ChangeLog: Added an svn update into the make - ChangeLog entry. +Note from Robert Osfield, changed the Image::supportsTextureSubloading() to be const and to be implemented in the .cpp rather than inline. -2008-09-11 16:01 robert - * src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgTerrain/TerrainTile.cpp: Updated wrappers -2008-09-11 14:28 robert +Fri, 17 Feb 2012 16:51:10 +0000 +Checked in by : Robert OSFIELD +From Kim Bale, "The application description for osg2cpp was cut and pasted from osgconv and not changed.I've added a more relevant description." - * include/osgTerrain/Layer, src/osgTerrain/Layer.cpp, - src/osgTerrain/TerrainTile.cpp: Refinements to SwitchLayer and - WhiteListTileLoadedCallback -2008-09-11 14:27 robert - * src/osgTerrain/GeometryTechnique.cpp: Added support for - SwitchLayer into GeometryTechnique +Fri, 17 Feb 2012 16:45:49 +0000 +Checked in by : Robert OSFIELD +From Martin Lambers, "It adds a new ReaderWriter plugin for the GTA file format (http://gta.nongnu.org). This allows to read and write floating point image data. Unlike other formats, GTA also allows very good compression ratios for floating point data. The compression method can be selected with the COMPRESSION option of the plugin. " -2008-09-11 13:21 robert +Fri, 17 Feb 2012 16:13:16 +0000 +Checked in by : Robert OSFIELD +Added usage of OSG_CPP_EXCEPTIONS_AVAILABLE for plugins that use std::exceptions. - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - include/osgTerrain/Layer, include/osgTerrain/TerrainTile, - src/osgTerrain/TerrainTile.cpp: Introduced - osgTerrain::WhiteListTileLoadedCallback for the management of - options terrain layers +Fri, 10 Feb 2012 17:24:08 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, " Here's another small submission for IOS, which adds unique ids to the touchpoints, so the ids stay the same during a touch-sequence.(and some minor code enhancements)" -2008-09-11 10:40 robert - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: First - cut of WhiteListTileLoadedCallback -2008-09-11 09:26 robert +Fri, 10 Feb 2012 17:20:43 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "Upgrading to OpenSceneGraph 3.0.1, texture mip mapping stopped working on some junk low-end graphics cards which I still have to support. They worked ok with osg 2.8 and earlier.The problem turned out to be with gl proxy textures, which are +unreliable on those devices. Proxy textures are used by the glu +mipmap build routines to determine if a texture size is +supported. The external glu library had a nice fallback +behaviour, so that if proxy textures didn't work then the mipmap +texture was still created. But in the work on the new embedded +glu routines that fallback behaviour has been inadvertently +lost. I have restored the fallback in +src/osg/glu/libutil/mipmap.cpp. It doesn't add any extra +complexity." - * src/osg/Image.cpp: Changed the createGeodeFromImage code to use - the non power of two extension, and disabled mipmapping -2008-09-11 09:05 robert - * examples/osgimagesequence/osgimagesequence.cpp: Added support for - reading source image file names from the command line. +Fri, 10 Feb 2012 16:12:28 +0000 +Checked in by : Robert OSFIELD +From Domenico Mangieri, "Implementation for MoveRight and MoveUp methods in FirstPersonManipulator is missing.I'm using the manipulator, so I added it." -2008-09-10 18:11 robert - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - include/osgTerrain/TerrainTile, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/ImageLayer.cpp, - src/osgPlugins/ive/TerrainTile.cpp, - src/osgPlugins/osgTerrain/ImageLayer.cpp, - src/osgPlugins/osgTerrain/TerrainTile.cpp, - src/osgTerrain/TerrainTile.cpp: Introduced - TerrainTile::TileLoadedCallback -2008-09-10 16:17 robert +Fri, 10 Feb 2012 15:57:51 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, attached you'll find a compile fix for the new introduced rowlength-feature on IOS/OpenGL ES builds - * src/osgPlugins/osgTerrain/ImageLayer.cpp: Removed unneccessary - compound name usage +Thu, 9 Feb 2012 18:10:52 +0000 +Checked in by : Robert OSFIELD +From Luc Frauciel, "osgUtil Tessellator : beginTessellation() made virtual to allow configuration of tessellation:The initialisation of glu low level tessellator is done in osgUtil::Tessellator::beginTessellation() +This function is not virtual, preventing any customization of the tesselation. +In particular, there in an option in glu tesselator that force the generated primitives to be triangles and that I'd like to use (GLU_TESS_EDGE_FLAG). +" -2008-09-10 11:38 robert - * src/osgPlugins/ive/DataOutputStream.cpp: Removed debugging output -2008-09-10 11:28 robert +Thu, 9 Feb 2012 17:52:13 +0000 +Checked in by : Robert OSFIELD +From Torben Dannhauer, "Modification to osgfilecache: Now source data can also be local.:find attached my modifications to osgfilecache. - * src/osgPlugins/osgTerrain/ImageLayer.cpp: Changed the image - reading so that it leverages the osgDB::Input::readImage() method - to ensure that it picks up on any local paths set on the Input - object. +It now allows also the caching of LOCAL terrain databases. In combination with the extends and level cmd parameter it allows to extract parts of terrain databases and write it in a new "Sub database". +I also modified osgDB::FileCache to create correct filenames if the data source is local." -2008-09-10 11:27 robert - * src/osgPlugins/osg/ReaderWriterOSG.cpp: Changed the path - management so that the node path is prepended on the database - path list, rather than replacing it. -2008-09-10 11:27 robert +Thu, 9 Feb 2012 17:45:23 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, AUTHORS and Contriburos.cpp files - * examples/osgimagesequence/osgimagesequence.cpp: Added playing of - the imagesequence on creation of the imagesequence +Thu, 9 Feb 2012 16:42:47 +0000 +Checked in by : Robert OSFIELD +From Martin von Gagern, "The xine osg plugin won't compile against xine-lib-1.2.0:OpenSceneGraph-3.0.1/src/osgPlugins/xine/video_out_rgb.c:2772:25: +error: ?video_driver_class_t? has no member named ?get_identifier? +OpenSceneGraph-3.0.1/src/osgPlugins/xine/video_out_rgb.c:2773:25: +error: ?video_driver_class_t? has no member named ?get_description? -2008-09-10 11:26 robert +This has been reported on Gentoo: https://bugs.gentoo.org/397643 +The relevant commit to the xine-lib repository is +http://anonscm.debian.org/hg/xine-lib/xine-lib-1.2/diff/806b590a4d38/src/xine-engine/video_out.h - * include/osg/Image, src/osg/Image.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/Image.cpp, src/osgPlugins/ive/ImageLayer.cpp, - src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/ive/TextureCubeMap.cpp: Added - osg::Image::set/getWriteHint() that allows images themselves to - control how - they are written to disk, either inline or as an external file. - Added support for - this in the .ive plugin. Default of WriteHint is NO_PREFERNCE, in - which case it's - up to the reader/writer to decide. +This change addresses the issue. I'm sending the full modified file as +an attachment. It is based on the 3.0.1 release of OSG. I'll also paste +a diff below. You will find a colorized view in the Gentoo bugzilla. -2008-09-04 17:30 robert +The xine-lib API changed in the following way: the identifier and +description members are now "const char*" strings instead of "char* +(*)(video_driver_class_t*)" getter function. As the functions in the osg +plugin will always simply return a string literal, without accessing +their argument, it is safe to simply call them with a NULL argument and +use the returned string. This makes it easy to support both API +versions. When you drop support for older xine one day, you might want +to move the string literals to the assignment, getting rid of the +functions in the process. - * src/osg/ImageSequence.cpp: Fix for when looping is is disabled +The modified code compiles for me. I'm not sure how to test it, as I've +only got OSG around in order to build (and hopefully one day even use) +Flightgear. -2008-09-04 14:23 shuber +I'm assigning my copyright in this change to the osg project leads. +" - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode-project -2008-09-02 16:13 robert - * src/osgDB/Registry.cpp, src/osgPlugins/xine/ReaderWriterXine.cpp: - Added acceptance of .ogv extensions in xine-lib plugin +Thu, 9 Feb 2012 15:54:13 +0000 +Checked in by : Robert OSFIELD +From Olaf Flebbe, "there are two ocurrences where pointer to bool is mixed with bool. Fixes warnings on MacOSX with llvm.diff --git a/src/osg/State.cpp b/src/osg/State.cpp +index 0b88d63..2137bbd 100644 +--- a/src/osg/State.cpp ++++ b/src/osg/State.cpp +@@ -109,7 +109,7 @@ State::State(): + } + } -2008-09-02 12:55 robert +- _abortRenderingPtr = false; ++ _abortRenderingPtr = NULL; - * include/osgTerrain/Layer: Added setSetName/getSetName() methods + _checkGLErrors = ONCE_PER_FRAME; -2008-09-01 16:28 robert +@@ -689,7 +689,7 @@ bool State::getLastAppliedTextureMode(unsigned int unit,Stat - * ChangeLog: Update ChangeLog + const StateAttribute* State::getLastAppliedTextureAttribute(unsigned int unit,S + { +- if (unit>=_textureAttributeMapList.size()) return false; ++ if (unit>=_textureAttributeMapList.size()) return NULL; + return getLastAppliedAttribute(_textureAttributeMapList[unit],type,member); + } -2008-09-01 15:29 robert +" - * src/osgPlugins/ive/ShapeAttributeList.cpp: Replaced uint with - unsigned int -2008-09-01 15:27 robert - * CMakeLists.txt: Introduced a OSG_MAINTAINER section of cmake - build to help support making tags and branches +Thu, 9 Feb 2012 15:51:20 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, a simple GL3 example -2008-09-01 14:05 robert +Thu, 9 Feb 2012 15:08:30 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "The bounding box returned by getBound() for Text which is not auto-rotated (e.g. HUD text) is not always correct, because it doesn't take account of the base line offsets added by the various alignment options such as CENTER_TOP, CENTER_BOTTOM etc.The attached src/osgText/TextBase.cpp fixes the problem." - * src/osgWrappers/osgWidget/Window.cpp: Updated wrappers -2008-09-01 14:03 robert - * include/osgWidget/Window, src/osgWidget/Window.cpp: Changed curr - and min to current and minimum respectively, to avoid compile - problems under Windows +Thu, 9 Feb 2012 14:40:07 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, fix for Solaris build. -2008-09-01 12:40 robert +Thu, 9 Feb 2012 14:33:13 +0000 +Checked in by : Robert OSFIELD +From Filip Arlet,"I ran into problem with osg::Text _BASE_LINE alignment. It didn't account line spacing. Btw. same problem in 3D textChanged _offset from: -_characterHeight*(_lineCount-1) +to: -_characterHeight*(1.0 + _lineSpacing)*(_lineCount-1)" - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Object.cpp, - src/osgPlugins/ive/ReadWrite.h: Implemented support for - ShapeAttributeList, used John Vidar Larring's initial - submission as a base, but implementing the user data - functionality in a different - way to facilitate more flexible user data support -2008-09-01 12:39 robert - * src/osgPlugins/ive/ShapeAttributeList.cpp, - src/osgPlugins/ive/ShapeAttributeList.h: From John Vidar Larring, - initial cut of .ive support for ShapeAttributeList user data +Thu, 9 Feb 2012 14:28:39 +0000 +Checked in by : Robert OSFIELD +Added back in support for checking the current working directory by default, but now do the check after the Options and Registry DataFilePathLists have been checked, which will allow users to better control over where files are searched for. -2008-09-01 11:09 robert +Thu, 9 Feb 2012 14:11:36 +0000 +Checked in by : Robert OSFIELD +From Chris Denham, "This is a submission to fix a problem with use of mode GL_RESCALE_NORMAL for geometries below a scaling transform which is not equal in X, Y & Z components. In this case, the 'slow' method of mode GL_NORMALIZE should be used to perform the normalization.I have attached a correction to daeRTransforms.cpp based on trunk at [12892] which corrects this problem. - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version for 2.7.2 - dev release +This is the changed section: -2008-09-01 10:49 robert +Code: + if (scale.x() == scale.y() && scale.y() == scale.z()) + { + // This mode may be quicker than GL_NORMALIZE, but ONLY works if x, y & z components of scale are the same. + ss->setMode(GL_RESCALE_NORMAL, osg::StateAttribute::ON|osg::StateAttribute::OVERRIDE); + } + else + { + // This mode may be slower than GL_RESCALE_NORMAL, but does work if x, y & z components of scale are not the same. + ss->setMode(GL_NORMALIZE, osg::StateAttribute::ON|osg::StateAttribute::OVERRIDE); + }" - * src/osgWrappers/osgSim/ShapeAttribute.cpp, - src/osgWrappers/osgTerrain/Layer.cpp: Updated wrappers -2008-09-01 10:48 robert - * include/osgSim/ShapeAttribute: Added call to free in setValue - methods to prevent potential memory leak +Thu, 9 Feb 2012 12:50:42 +0000 +Checked in by : Robert OSFIELD +From Thorsten Brehm, "attached update changes OSG's src/osgDB/Registry.cpp, so it doesn't (accidentally) resolve relative paths against the current working directory when searching for resources. So far, such paths were always resolved against the cwd first.I guess the previous behaviour of giving the cwd precedence over any path configured in the "database path list" (osgDB::Options) wasn't intentional. Otherwise, if it was intentional after all, it'd be good to add another feature instead, to make this configurable - e.g. a flag in osgDB::Options to disable this, if an application doesn't want the cwd being considered. +" -2008-09-01 10:46 robert +Note from Robert Osfield, this submission will change the default behaviour of searching for files so can potentially break existing applications as it +won't search the current working direction unless it's included in the DataFilePathList entry in the Options or Registy. I'll add a follow +up submission to add back in this feature. - * include/osgSim/ShapeAttribute: From Mathias Froehilch,"Current - include/osgSim/ShapeAttribute also misses string.h include - because of - strdup. - Attached is the changed file." -2008-09-01 10:22 robert - * src/osgUtil/SceneView.cpp: From He Sicong, "I found a bug here in - VERTICAL_SPLIT stereo type: - The vertical separation not actually displayed as it is set. So - some - display the up and down stereo images style will not be correct. - Someone may forget to change the "Horizontal" to "Vertical" after - copying and pasting the code from above HORIZONTAL_SPLIT code - segment. - I've attached the file. By replacing the incorrect "Horizontal" - to - "Vertical", the bug is gone. - " -2008-09-01 10:19 robert +Wed, 8 Feb 2012 17:12:58 +0000 +Checked in by : Robert OSFIELD +From Hartmut Seichter, "attached a revised CMakeLists.txt file for Android that avoids the problems with a ARM gcc bug that appears in the NDK. It only overrides the optimization level for one file. As it resides only in the cfg parser this should not have side effects on performance." - * examples/osgviewerGTK/osgviewerGTK.cpp: Removed std:: from in - front of strcmp and added a string.h +Wed, 8 Feb 2012 10:50:04 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "This change clarifies the description for OSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE." -2008-09-01 10:06 robert +Wed, 8 Feb 2012 10:06:58 +0000 +Checked in by : Robert OSFIELD +From Leandro Motto Barros,"I've made a few changes to osgUtil::PolytopeIntersector so that it +actually uses double precision floating point numbers everywhere (as +long as OSG_USE_FLOAT_PLANE is not defined). - * include/osgSim/ShapeAttribute, - src/osgViewer/ViewerEventHandlers.cpp: From Wojciech Lewandowski, - "Most recent changes to CameraPathEventHandler change path - writing method. Now control points are written on the fly. But - default stream precision is not adjusted as it used to and - remains set to 6 digits (at least with VS 2008) so larger - coordinates like positions on Earth Ellipsoid loose lots of - fidelity. This patch fixes this issue. - " +I needed double precision intersections in a project I am working on. +These changes fixed the problems I was having -- this is all testing I +have done. -2008-09-01 09:57 robert +Notice that I have changed +osgUtil::PolytopeIntersector::Intersection's members to use doubles +(osg::Vec3d, instead of osg::Vec3). I could have added #ifdef's there +too, but I think it is better to not change the types of stuff in the +public interface depending on some preprocessor definition. - * include/osg/Texture3D, include/osgTerrain/Layer: Build fixes for - Windows +The modified files are attached. A diff also follows, for those who like it." -2008-08-29 09:28 robert +With the following changes from Robert Osfield: - * include/osgTerrain/Layer, src/osgTerrain/Layer.cpp: Added - CompositeLayer::addLayer(setname,filename) convinience function - -2008-08-29 09:26 robert - - * src/osgPlugins/quicktime/QTUtils.cpp: From Michael Guerrero, - "I've attached the files with the new addition of the "registered - = true" - flag set." - -2008-08-28 16:15 robert - - * include/osgTerrain/Layer, src/osgPlugins/ive/CompositeLayer.cpp, - src/osgPlugins/ive/SwitchLayer.cpp, - src/osgPlugins/osgTerrain/CompositeLayer.cpp, - src/osgPlugins/osgTerrain/HeightFieldLayer.cpp, - src/osgPlugins/osgTerrain/ImageLayer.cpp, - src/osgPlugins/osgTerrain/SwitchLayer.cpp, - src/osgTerrain/Layer.cpp: Introduce the concept of layer set - name, using the osg::Object::s/getName() to store - the setname, and using a compound string (set:setname:filename) - in place of standard filename when reading and writing - files. - -2008-08-28 09:43 robert - - * include/osg/AutoTransform, src/osg/AutoTransform.cpp, - src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osgTerrain/Layer.cpp: Converted AutoTransform to - use doubles. - -2008-08-27 10:13 robert - - * include/osgTerrain/Layer, src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/Layer.cpp, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/SwitchLayer.cpp, - src/osgPlugins/ive/SwitchLayer.h, - src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgTerrain/SwitchLayer.cpp, - src/osgTerrain/Layer.cpp: Introduced SwitchLayer which will form - the basis of provided support for varients - -2008-08-26 17:40 robert - - * examples/osgvolume/osgvolume.cpp, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Improved the GLSL - implementation. - -2008-08-26 12:55 robert - - * AUTHORS.txt, CMakeLists.txt, ChangeLog, README.txt: Added - ChangeLog target for updating the ChangeLog, and updated the - ChangeLog and AUTHORS files - -2008-08-26 12:05 robert - - * CMakeLists.txt, genwrapper.conf, - src/osgWrappers/Doxyfile.template, - src/osgWrappers/genwrapper.conf: Added wrapper build target for - generating the osgWrappers - -2008-08-26 09:39 robert - - * src/osgText/TextBase.cpp: Added provisional block in - computePositions() - -2008-08-26 08:41 robert - - * src/osgPlugins/quicktime/QTUtils.h: From Ulrich Hertlein, - attached is a small fix for a mismatched function signature - -2008-08-25 16:44 robert - - * CMakeLists.txt, ChangeLog, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version number for - 2.7.1 release, and added - OSG_FORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL Cmake option - that enables the occlusion query workaround for an OpenGL driver - crash - -2008-08-25 16:43 robert - - * src/osg/OcclusionQueryNode.cpp: From Doug McCorkle, via Paul - Martz who writes : "Summary: Some platforms/configurations cause - application crashes if the - occlusion query result is not ready for retrieval when the app - tries to - retrieve it. This fix adds an application-level wait loop to - ensure the - result is ready for retrieval. This code is not compiled by - default; add "-D - FORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL" to get this code. - - Full, gory details, to the best of my recollection: - - The conditions under which we encountered this issue are as - follows: 64-bit - processor, Mac/Linux OS, multiple NVIDIA GPUs, multiple - concurrent draw - threads, VRJuggler/SceneView-based viewer, and a scene graph - containing - OcclusionQueryNodes. Todd wrote a small test program that - produces an almost - instant crash in this environment. We verified the crash does not - occur in a - similar environment with a 32-bit processor, but we have not yet - tested on - Windows and have not yet tested with osgViewer. - - The OpenGL spec states clearly that, if an occlusion query result - is not yet - ready, an app can go ahead and attempt to retrieve it, and OpenGL - will - simply block until the result is ready. Indeed, this is how - OcclusionQueryNode is written, and this has worked fine on - several platforms - and configurations until Todd's test program. - - By trial and error and dumb luck, we were able to workaround the - crash by - inserting a wait loop that forces the app to only retrieve the - query after - OpenGL says it is available. As this should not be required - (OpenGL should - do this implicitly, and more efficiently), the wait loop code is - not - compiled by default. Developers requiring this work around must - explicitly - add "-D FORCE_QUERY_RESULT_AVAILABLE_BEFORE_RETRIEVAL" to the - compile - options to include the wait loop." - -2008-08-25 15:57 robert - - * src/osgPlugins/ive/AnisotropicLighting.cpp, - src/osgPlugins/ive/AnisotropicLighting.h, - src/osgPlugins/ive/BumpMapping.cpp, - src/osgPlugins/ive/BumpMapping.h, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/Cartoon.cpp, src/osgPlugins/ive/Cartoon.h, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/Effect.cpp, src/osgPlugins/ive/Effect.h, - src/osgPlugins/ive/ReadWrite.h, src/osgPlugins/ive/Scribe.cpp, - src/osgPlugins/ive/Scribe.h, - src/osgPlugins/ive/SpecularHighlights.cpp, - src/osgPlugins/ive/SpecularHighlights.h: From Liang Aibin, added - support for : - osgFX::Effect - osgFX::AnisotropicLighting - osgFX::BumpMapping - osgFX::Cartoon - osgFX::Scribe - osgFX::SpecularHighlights. - -2008-08-25 15:37 robert - - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp: From Liang Aibin, - removed redundent spaces - -2008-08-25 15:20 robert - - * src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QTUtils.cpp: From Michael Guerrero, - Fixed crash that occurred when openning an new movie file after - all previous movie ImageStream had been closed. Also add a - missing close of the movie file. - -2008-08-25 15:03 robert - - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp: From Paul Martz, - "This change fixes a problem with PAT nodes during FLT export." - - Note, Paul Martz has merged this patch into OpenSceneGraph-2.6. - -2008-08-25 14:59 robert - - * src/osgPlugins/osg/CMakeLists.txt, - src/osgPlugins/osg/StateAttribute.cpp: From Guillaume Chouvenc, - "I have added the file StateAttribute.cpp in src/osgPlugins/osg - to support the reading and writing of StateAttribute Callback - in osg files. - " - -2008-08-25 14:54 robert - - * src/osgPlugins/osg/StateSet.cpp, src/osgPlugins/osg/Uniform.cpp: - From Guillaume Chouvenc, "I have modified Uniform.cpp and - StateSet.cpp in src/osgPlugins/osg - to support the reading and writing of Uniform Callback and - StateSet Callback in osg files." - -2008-08-25 11:37 robert - - * examples/osgvolume/osgvolume.cpp: Added testing of max texture - size using a realize operation - -2008-08-25 10:38 robert - - * examples/osgvolume/osgvolume.cpp: Added support for event handler - for non shader path, enable alpha func - -2008-08-25 10:38 robert - - * src/osg/StateSet.cpp: Removed debug info - -2008-08-25 10:20 robert - - * src/osg/ClipNode.cpp, src/osg/LightSource.cpp, - src/osg/StateSet.cpp, src/osg/TexGenNode.cpp: Moved _stateset = - new StateSet instances to setStateSet(new StateSet) to make - sure the wiring up of the StateSet parents is done consistently - -2008-08-25 09:53 robert - - * examples/osgvolume/osgvolume.cpp: Added command line arguments to - Viewer constructor, and added meaningful error message when no 3d - image is provided - -2008-08-22 16:39 robert - - * CMakeLists.txt, src/osgDB/Registry.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/dicom, - src/osgPlugins/dicom/CMakeLists.txt, - src/osgPlugins/dicom/ReaderWriterDICOM.cpp: Introduced initial - cut of a dicom loader, which uses ITK to do the loading. - -2008-08-22 16:37 robert - - * src/osg/KdTree.cpp: Added warning message - -2008-08-22 16:35 robert - - * examples/osgvolume/osgvolume.cpp: Added support for reading the - image transform from UserData in the form of a Matrix. - -2008-08-19 17:41 robert - - * src/osg/KdTree.cpp: Added checked against an empty _kdNodes list - before commensing with intersection - -2008-08-18 15:08 robert - - * examples/osgvolume/osgvolume.cpp: Added --mip command line option - which enables Maximum Intensity Projection filtering - -2008-08-18 15:06 robert - - * src/osgPlugins/ive/BlendEquation.cpp, - src/osgPlugins/ive/BlendEquation.h, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/ReadWrite.h: Added .ive support for - BlendEquation - -2008-08-18 14:49 robert - - * src/osgPlugins/osg/BlendEquation.cpp, - src/osgPlugins/osg/CMakeLists.txt: Added BlendEquation .osg - support - -2008-08-18 12:39 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS file for 2.7.0 release - -2008-08-18 11:55 robert - - * ChangeLog: Updated ChangeLog for 2.7.0 release - -2008-08-18 11:48 robert - - * src/osgWrappers/osgWidget/StyleManager.cpp: Updated wrappers - -2008-08-18 11:21 robert - - * include/osgWidget/StyleManager, src/osgWidget/StyleManager.cpp: - From Sergey Leontyev, "1. In StyleManager - - - - when applying styles to a Label element the code below runs in a - infinite loop. - - The reason for this is that nothing increments the Reader "r" in - the case when applying a style to label, - - so I advance the reader when no match was found. - - ( To replicate the error apply style to any label) - - - - replaced this: - - while(!r.eof()) if(_styles[style]->applyStyle(t, r)) inc = true; - - - - with this: - - while(!r.eof()) - - { - - if(_styles[style]->applyStyle(t, r)) - - inc = true; - - else - - r.advanceOverCurrentFieldOrBlock(); - - } - - - - - - I tested it and it works well for me, I did not find any problems - with it. - - - - - - 2. Added style support for Canvas element, event though there is - no styles to apply yet. - - It is usefull for someone who inherits from Canvas class to - develop another element. - - If applyStyle(Canvas) does not exist - - there is no way to apply style to the element that inherited from - Canvas element. - - - - Added virtual - - bool applyStyle(Canvas). - - - - and in added call to apply style if the Object is of type Canvas: - - StyleManager::_applyStyleToObject(osg::Object* obj, const - std::string& style) { - - ... - - - - else if(!std::string("Canvas").compare(c)) - - return _coerceAndApply(obj,style,c); - - " - -2008-08-18 11:17 robert - - * src/osgWidget/Box.cpp, src/osgWidget/Canvas.cpp, - src/osgWidget/Frame.cpp, src/osgWidget/Input.cpp, - src/osgWidget/Label.cpp, src/osgWidget/Lua.cpp, - src/osgWidget/Python.cpp, src/osgWidget/StyleManager.cpp, - src/osgWidget/Table.cpp, src/osgWidget/Util.cpp, - src/osgWidget/Version.cpp, src/osgWidget/ViewerEventHandlers.cpp, - src/osgWidget/Widget.cpp, src/osgWidget/Window.cpp, - src/osgWidget/WindowManager.cpp: Ran fixtabs to enforce four - space tabs - -2008-08-18 11:00 robert - - * doc/Doxyfiles/doxyfile.cmake, include/osg/AnimationPath, - include/osg/Camera, include/osgUtil/CullVisitor, - include/osgWidget/StyleInterface, - src/osgWrappers/osg/PagedLOD.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/ImagePager.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp: From Erik van - Dekker, - - "I made several modifications: - - - - * The cause of my errors was that my OSG source directory path - contains spaces. To fix this issue I wrapped all paths with - quotes, as stated in doxygen documentation. - - - - * I also received some warning messages about deprecated doxygen - settings, which I fixed by updating the doxygen file, i.e. - running \u2018doxygen \u2013u doxygen.cmake\u2018. By running - this command deprecated doxygen options are removed, some option - comments have changed and quite some options have been added (I - kept their default settings unless mentioned). - - - - * I was surprised to find that the doxygen OUTPUT_DIRECTORY was - set to \u201c${OpenSceneGraph_SOURCE_DIR}/doc\u201d, which does - not seem appropriate for out of source builds; I changed this to - \u201c${OpenSceneGraph_BINARY_DIR}/doc\u201d. (On the other hand, - maybe a cmake selectable option should be given to the user?) - - - - * Fixed two warnings I received about unexpected - end-of-list-markers in \u2018osg\AnimationPath and - \u2018osgUtil\CullVisitor due to excess trailing points in - comments. - - - - * Fixed a warning in osgWidget\StyleInterface due to an #include - directive (strangely) placed inside a namespace. - - - - * Fixed a warning in osg\Camera due to the META_Object macro that - confused doxygen. Adding a semi-colon fixed this. - - - - * Removed auto_Mainpage from the INCLUDE option, because I am - positive that this file does not belong there; It never generated - useful documentation anyway. - - - - * I added the OSG version number environment variable to the - PROJECT_NUMBER option so that the version number is now shown on - the main page of generated documentation (e.g. index.html). - - - - * Changed option FULL_PATH_NAMES to YES, but made sure - STRIP_FROM_PATH stripped the absolute path until the include dir. - This fixed an issue that created mangled names for identical - filenames in different directories. E.g. osg/Export and - osgDB/Export are now correctly named. - - - - * Changed option SHOW_DIRECTORIES to yes, which is a case of - preference I guess. - - " - -2008-08-18 10:47 robert - - * include/osg/ShapeDrawable: Removed todo entry - -2008-08-17 16:52 robert - - * include/osg/PagedLOD, include/osgDB/DatabasePager, - include/osgDB/ImagePager, src/osg/PagedLOD.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/ImagePager.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: From - Maceij Krol, "I have implement frame based expiration of PagedLOD - children. - - New attribute DatabasePager::_expiryFrames sets number of frames - a PagedLOD child is kept in memory. The attribute is set with - DatabasePager::setExpiryFrames method or OSG_EXPIRY_FRAMES - environmental variable. - - New attribute PagedLOD::PerRangeData::_ - frameNumber contains frame number of last cull traversal. - - Children of PagedLOD are expired when time _AND_ number of frames - since last cull traversal exceed OSG_EXPIRY_DELAY _AND_ - OSG_EXPIRY_FRAMES respectively. By default OSG_EXPIRY_FRAMES = 1 - which means that nodes from last cull/rendering - traversal will not be expired even if last cull time exceeds - OSG_EXPIRY_DELAY. Setting OSG_EXPIRY_FRAMES = 0 revokes previous - behaviour of PagedLOD. - - Setting OSG_EXPIRY_FRAMES > 0 fixes problems of children - reloading in lazy rendering applications. Required behaviour is - achieved by manipulating OSG_EXPIRY_DELAY and OSG_EXPIRY_FRAMES - together. - - Two interface changes are made: - - DatabasePager::updateSceneGraph(double currentFrameTime) is - replaced by DatabasePager::updateSceneGraph(const osg::FrameStamp - &frameStamp). The previous method is in #if 0 clause in the - header file. Robert, decide if You want to include it. - - PagedLOD::removeExpiredChildren(double expiryTime, NodeList - &removedChildren) is deprecated (warning is printed), when - subclassing use PagedLOD::removeExpiredChildren(double - expiryTime, int expiryFrame, NodeList &removedChildren) instead. - " - -2008-08-17 16:45 robert - - * src/osgSim/OverlayNode.cpp: From Jason Beverage, "I've got a few - machines that OSG incorrectly believes support - FRAME_BUFFER_OBJECTS so I am manually trying to set the - renderTargetImplementation to PIXEL_BUFFER or PIXEL_BUFFER_RTT. I - noticed that this call wasn't setting the camera's overlay data - properly because the setRenderTargetImplementation simply calls - init() which only does anything for - OBJECT_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY. Any subsequent calls - to getOverlayData will simply return the cached OverlayData - instead of setting it up. - - My fix updates the camera's render target implementation for all - OverlayData objects in the OverlayDataMap." - -2008-08-15 17:35 robert - - * src/osgUtil/RenderStage.cpp: From Paul Palumbo, "Fixes a typo in - coverage antialiasing code... Without this fix, get incorrect - antialiasing results. " - -2008-08-15 17:32 robert - - * include/osgViewer/GraphicsWindow, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: From Jutta Sauer, "We added - a raise window method to GraphicsWindow. And added two - implementations for Win32 and X11. - - " - -2008-08-15 17:26 robert - - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version numbers in - prep for next dev release - -2008-08-15 17:25 robert - - * src/osgUtil/SceneView.cpp: From Frashid Larshkari, "I modified - the vertical/horizontal interlace stereo modes so that they - use the osg::State::applyMode for enabling/disabling certain - while - rendering the stencil mask. Previously some of these calls were - overriding the scene graph states because the global state was - not - aware of this change. - - " - -2008-08-15 17:18 robert - - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Program.cpp: - Added support for geometry shader attributes - -2008-08-15 16:43 robert - - * src/osgPlugins/osg/Program.cpp: From Stephane Lamoliatte, "I - added the osg::Program parameters support for the osg plug'in. - Now we could correctly configure geometry shaders in osg files." - - Notes from Robert Osfield, renamed the names of the parameters to - be less GL centric and more human readable. - -2008-08-15 16:21 robert - - * examples/osgimagesequence/osgimagesequence.cpp, - include/osg/ImageSequence, src/osg/ImageSequence.cpp, - src/osgPlugins/ive/ImageSequence.cpp, - src/osgPlugins/osg/ImageSequence.cpp, - src/osgWrappers/osg/ImageSequence.cpp: Changed - osg::ImageSequence::set/getDuration to set/getLength() to be in - keeping with the - osg::ImageStream's getLength(). - -2008-08-15 13:07 robert - - * examples/osgmovie/osgmovie.cpp: Fixed the name of _playToggle +"I've just reviewed your changes and have just tweaked them a little to +streamline them. What I have done in the PolytopeIntersector header +is add: -2008-08-15 13:06 robert + typedef osg::Plane::Vec3_type Vec3_type; - * src/osgWrappers/osg/ImageSequence.cpp, - src/osgWrappers/osg/ImageStream.cpp, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp: Updated wrappers +And then use this typedef in the definition of the vertices rather +then Vec3d as you did. Next changes were to PolytopeInteresector.cpp +where to the PolytopeIntersectorUtils defintions of the Vec3_type, and +value_type which now simply read: -2008-08-15 12:45 robert + typedef osg::Plane::Vec3_type Vec3_type; + typedef Vec3_type::value_type value_type; - * examples/osgimagesequence/osgimagesequence.cpp, - include/osg/ImageSequence, include/osg/ImageStream, - src/osg/ImageSequence.cpp: Further work on osg::ImageSequence, - improving pause functionality, and introducing new seek(double - time) method +This way I was able to complete avoid any if def's and have essential +the same implementation as you achieved. Changes now checked into +svn/trunk." -2008-08-14 16:29 robert - * include/osg/ImageSequence, src/osg/ImageSequence.cpp: Added - initial looping and pause play support -2008-08-14 16:28 robert - * examples/osgimagesequence/osgimagesequence.cpp: Added event - handler to toggling looping and play/pause -2008-08-14 14:22 robert +Wed, 8 Feb 2012 09:34:44 +0000 +Checked in by : Robert OSFIELD +From Claus Scheiblauer, "in GraphicsWindowQt.cpp the GLWidget::keyReleaseEvent was implemented slightly different to the GLWidget::keyPressEvent, which caused the cursor keys values to be not correctly mapped from an QKeyEvent value to an osg key value when releasing a cursor key." - * include/osgUtil/IntersectionVisitor, - src/osgUtil/IntersectionVisitor.cpp: Implemented a reference eye - point and associated methods in support of intersecting - billboards +Tue, 7 Feb 2012 16:14:13 +0000 +Checked in by : Robert OSFIELD +Fixed build issues when compile with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF. -2008-08-05 20:05 robert +Tue, 7 Feb 2012 12:37:48 +0000 +Checked in by : Robert OSFIELD +From Alexander Irion, "Added missing format GL_ALPHA to Image::computeFormatDataType()." - * README.txt: From Eric Sokolowski, added OSX release notes to - READEME +Tue, 7 Feb 2012 12:02:04 +0000 +Checked in by : Robert OSFIELD +From Johannes Baeuerle, "The first problem is wrong value of the block size of etc1 textures in the getCompressedSize call in Texture.cpp. With the current block size of 16 the target application crashes with a GL_INVALID_VALUE. The reason is that the calculated size passed to OpenGL does not match the size of the passed data(data pointer,texture width,texture height,spec of etc1). With a block size of 8 in the getCompressedSize call this error dissapears." -2008-08-05 20:05 robert +Tue, 7 Feb 2012 11:43:42 +0000 +Checked in by : Robert OSFIELD +From Nico Kruithof, "I found that Collada wasn't found correctly with visual studio 2010." - * doc/Doxyfiles/auto_Doxyfile, doc/Doxyfiles/core_Doxyfile, - doc/Doxyfiles/doxyfile.cmake: Added osgWidget to doc building +Tue, 7 Feb 2012 11:41:20 +0000 +Checked in by : Robert OSFIELD +From Marius Kintel, "GraphicsWindowQt::WindowData no longer requires the parent widget of a graphics window to be of type GLWidget." -2008-08-05 19:17 robert +Tue, 7 Feb 2012 11:29:47 +0000 +Checked in by : Robert OSFIELD +From David Fries, "Of the two ways to use the Tessellator object, only retessellatePolygons was applying the winding and boundary option. Moved the gluTessProperty calls into beginTessellation().There's a comment typo fix, removing an unused VertexPointList +typedef, and allocates one _tobj instead of one per tesellation. +Protections were added to check that _tobj was allocated in the few +remaining places it wasn't being checked. - * include/osgFX/Export, include/osgIntrospection/Export, - include/osgManipulator/Export, include/osgParticle/Export, - include/osgShadow/Export, include/osgSim/Export, - include/osgTerrain/Export, include/osgText/Export, - include/osgWidget/Export: Improved the doxygen docs over the - various namespaces +--- +On a side note, I would like to avoid the 'new Vec3d' in +Tessellator::addVertex for each call to +gluTessVertex(tess, location, data). +The RedBook leaves it ambiguous if the location pointer must +remain valid after gluTessVertex or not. +http://www.opengl.org/sdk/docs/man/xhtml/gluTessVertex.xml +says that changing location is not safe, so being conservative, I'll +leave it as is, even though the Mesa GLU library copies the data not +the pointer, so it is currently safe." -2008-08-05 16:05 robert - * CMakeLists.txt: From Eric Sokolowki, disabled default build of - 64bit under OSX to prevent build problems -2008-08-05 15:27 robert +Tue, 7 Feb 2012 11:21:11 +0000 +Checked in by : Robert OSFIELD +From Lionel Lagarde, "The setNormal method of osg::Billboard has side effects (it calls updateCache and update the normal to Z rotation matrix). When cloning billboards, copying the normal vector is not enough. In the correction, the copy constructor calls setNormal to update the internal members." - * AUTHORS.txt, NEWS.txt, applications/osgversion/osgversion.cpp: - Merged from OpenSceneGraph-2.6 branch +Tue, 7 Feb 2012 10:57:19 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, "This is a one line modification of StatsHandler.cpp to work correctly while dumping states to console when ViewerStats getEarliesFrameNumber() and getLatestFrameNumber() return zeroes. If that happened in current version, printing loop was iterating between 0 and 0xFFFF FFFF indices and that was hanging our system. " -2008-08-05 15:11 robert +Tue, 7 Feb 2012 10:51:22 +0000 +Checked in by : Robert OSFIELD +From Tamer Fahmy, Fix for bug when scrolling down and using render on demand."Currently issuing a mouse scroll DOWN event would stop updating +animations in progress. - * src/osg/Notify.cpp: Added NullStream class that automatically - creates and delete the NullStreamBuffer, thus fixing a memory - leak +The fix consists of changing the line + us.requestContinuousUpdate( false ); +to: + us.requestContinuousUpdate( isAnimating() || _thrown ); -2008-08-05 15:06 robert +in OrbitManipulator::handleMouseWheel() as has been done for the +GUIEventAdapter::SCROLL_UP case a couple of lines earlier or in +src/osgGA/FirstPersonManipulator.cpp." - * src/osgViewer/CMakeLists.txt: From Eric Sokolowski, "Fixed the - build of the osgViewer library to get GL/glx.h from the right - place, when building on OSX with X11" -2008-08-05 11:17 robert - * CMakeLists.txt, include/osg/AutoTransform, include/osg/Version, - include/osgShadow/ParallelSplitShadowMap, - src/osgPlugins/ive/AutoTransform.cpp, - src/osgPlugins/osg/AutoTransform.cpp, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/osg/AutoTransform.cpp: Merged changes to - OpenSceneGraph-2.6 into trunk using : - - svn merge -r 8729:8734 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.6 - . -2008-08-04 20:48 robert - * packaging/pkgconfig/openscenegraph.pc: Added -losgWidget to the - list of libs +Tue, 7 Feb 2012 10:40:04 +0000 +Checked in by : Robert OSFIELD +From Rudolf Wiedemann, "the file attached fixes the incomplete implementation of "osg::DefaultUserDataContainer"'s copy constructor. Copying user objects was missing."Note from Robert Osfield, in submission changed + _objectList.push_back((*itr)->clone(copyop)); +to + _objectList.push_back(copyop(*itr)); -2008-08-04 17:08 robert - * include/osg/GLExtensions: From Sherman Wilcox, "Minor change to - bool setGLExtensionFuncPtr(T& t, const char* str1) and - setGLExtensionFuncPtr(T& t, const char* str1, const char* str2) - - functions returned false even on success." -2008-08-04 15:09 robert +Tue, 7 Feb 2012 10:33:09 +0000 +Checked in by : Robert OSFIELD +From Sukender, "I just fixed using UTF8 paths in JP2 readerwriter under Windows. Jpeg2000 plugin could not handle UTF8 paths as it was using an Japser open() function which seems to be based on the standard fopen(). The fix simply opens the file beforehand and only gives a FILE* to the Jasper lib (and then closes the file, of course). " - * AUTHORS.txt: Updated AUTHORS file +Mon, 6 Feb 2012 13:45:20 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "In Optimizer.cpp a nodes update callback is checked twice and the cull callback is checked never for the decision of a node being redundant. The change replaces one of the update callback tests with a cull callback test." -2008-08-04 15:08 robert +Mon, 6 Feb 2012 13:40:01 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "Attached is a change to the stats handler so that the aspect ratio of the viewer stats coordinates always stay about 1:1 to the pixels. This helps for more readable stats with very wide windows for example." - * ChangeLog: Updated ChangeLog +Mon, 6 Feb 2012 13:35:45 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "The attached change to the default font makes the baseline correctly working and makes the glyphs aspect ratio match their 12x8 bitmaps. I am not exactly sure about osgTexts current internals but it matches the changes that happened lately to the txf font. " -2008-08-04 15:08 robert +Mon, 6 Feb 2012 13:29:38 +0000 +Checked in by : Robert OSFIELD +From Cory Riddell, "I've been using the dot plugin and found that our application which sets the global locale was generating bad dot files. Specifically, the node numbers had comma separators in them (like 1,234 rather than 1234).The attached file simply forces the stringstreams used to build up the +dot file to use the "C" locale." - * NEWS.txt: Updated news for 2.6.0 release rc2 -2008-08-04 14:01 robert - * include/osg/FrameBufferObject: From Philip Lowman, workaround of - Centos 5's missing definition of GL_MAX_SAMPLES_EXT. +Mon, 6 Feb 2012 13:27:25 +0000 +Checked in by : Robert OSFIELD +From Robert Milharcic, "In attached file I implemented LOAD_IMMEDIATELY mode for new osg ProxyNode wrapper. Current version of proxynode loading uses DatabasePager for both modes(DEFER_LOADING_TO_DATABASE_PAGER and LOAD_IMMEDIATELY).Immediate loading of external references begins after ProxyNode has been deserialized in ProxyNodeFinishedObjectReadCallback." -2008-08-04 12:47 robert - * src/osgParticle/PrecipitationEffect.cpp: Moved initial drawable - setup to within the mutex locked section to avoid multi-threaded - crash on startup. -2008-08-04 12:27 robert +Mon, 6 Feb 2012 12:42:52 +0000 +Checked in by : Robert OSFIELD +From Paul Palumbo, "This change seems to fix a problem reading 32-bit Floating point tiff images. Without this fix, I'm only getting half my image displayed in "osgviewer --image"." - * src/osg/Texture3D.cpp: Removed debug info +Mon, 6 Feb 2012 12:38:11 +0000 +Checked in by : Robert OSFIELD +From Jason Beverage, "Attached is a patch to the SVG plugin to use cairo_surface_destroy instead of free. This was causing a crash on Windows. " -2008-08-04 09:05 robert +Mon, 6 Feb 2012 12:36:25 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, "attaching improved StatsVisitor. Changes: - apply() and reset() methods made virtual to allow overriding - added apply(StateSet&) to make more easier to gather StateAttribute statistics in user-derived classes " - * src/osgPlugins/quicktime/QTImportExport.cpp: From Ulrich - Hertlien, "attached is a patch to - src/osgPlugins/quicktime/QTImportExport.cpp that fixes loading - images using the quicktime loader. Also fixes some minor bugs - like uninitialized variables and incorrect deletes. - - I'm a bit puzzled why this didn't pop up for more people as it's - quite severe: basically the filename was never set!"" +Mon, 6 Feb 2012 12:29:29 +0000 +Checked in by : Robert OSFIELD +Fixed indendation and line endings -2008-08-04 08:45 robert +Mon, 6 Feb 2012 12:06:40 +0000 +Checked in by : Robert OSFIELD +From Brad Christiansen, "The attached files add the ability to control when a paged child becomes eligible for expiry based on time and/or elapsed frames.I found that some of the items that had been paged in were being expired on the first frame that they were not visible (as the cache was full). This resulted in excessive paging every time the view was moved. With the following changes I could only allow children to be expired if they had not been used for e.g. 30 seconds or 60 frames." - * src/osgUtil/LineSegmentIntersector.cpp: Added a small epsilon - expansion of the bounding box being clipped/intersected against, - to avoid numberic errors causing problems. -2008-08-03 20:35 robert - * src/osgGA/TerrainManipulator.cpp: Improved the terrain - intersection code so that it produces more stable terrain - movements. +Mon, 6 Feb 2012 12:05:36 +0000 +Checked in by : Robert OSFIELD +Fixed silly compiler warning that was being produced in error. -2008-08-03 16:57 robert +Mon, 6 Feb 2012 11:17:12 +0000 +Checked in by : Robert OSFIELD +From Alexander Sinditskiy, "looks like GlyphGeometries _glyphGeometries; should be removed because Glyph3D have the same named local variable." - * include/osgUtil/Optimizer, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgWidget/Window, - src/OpenThreads/win32/Win32ConditionPrivateData.h, - src/OpenThreads/win32/Win32Thread.cpp, src/osgUtil/Optimizer.cpp, - src/osgViewer/GraphicsWindowWin32.cpp: merged 2.6 branch changes - back into trunk using : svn merge -r 8699:8706 - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/branches/OpenSceneGraph-2.6 - . +Fri, 3 Feb 2012 15:15:37 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find a first version of multi-touch-support for OS X (>= 10.6), which will forward all multi-touch events from a trackpad to the corresponding osgGA-event-structures.The support is switched off per default, but you can enable multi-touch +support via a new flag for GraphicsWindowCocoa::WindowData or directly +via the GraphicsWindowCocoa-class. -2008-08-03 16:48 robert +After switching multi-touch-support on, all mouse-events from the +trackpad get ignored, otherwise you'll have multiple events for the same +pointer which is very confusing (as the trackpad reports absolute +movement, and as a mouse relative movement). - * src/osg/KdTree.cpp: Moved bb expansion out of loop. +I think this is not a problem, as multi-touch-input is a completely +different beast as a mouse, so you'll have to code your own +event-handlers anyway. -2008-07-25 21:09 robert +While coding this stuff, I asked myself if we should refactor +GUIEventAdapter/EventQueue and assign a specific event-type for +touch-input instead of using PUSH/DRAG/RELEASE. This will make it +clearer how to use the code, but will break the mouse-emulation for the +first touch-point and with that all existing manipulators. What do you +think? I am happy to code the proposed changes. - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog and AUTHORS.txt file for relese candidate +Additionally I created a small (and ugly) example osgmultitouch which +makes use of the osgGA::MultiTouchTrackballManipulator, shows all +touch-points on a HUD and demonstrates how to get the touchpoints from +an osgGA::GUIEventAdapter. -2008-07-25 21:01 robert +There's even a small example video here: http://vimeo.com/31611842" - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version numbers to - 2.6.0 -2008-07-25 21:00 robert - * NEWS.txt, README.txt: Updated REAME and NEWS for 2.6 branch +Fri, 3 Feb 2012 14:25:08 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find a first version of multi-touch-support for OS X (>= 10.6), which will forward all multi-touch events from a trackpad to the corresponding osgGA-event-structures.The support is switched off per default, but you can enable multi-touch +support via a new flag for GraphicsWindowCocoa::WindowData or directly +via the GraphicsWindowCocoa-class. -2008-07-25 20:50 robert +After switching multi-touch-support on, all mouse-events from the +trackpad get ignored, otherwise you'll have multiple events for the same +pointer which is very confusing (as the trackpad reports absolute +movement, and as a mouse relative movement). - * src/osgWidget/StyleManager.cpp, src/osgWidget/Widget.cpp: Updated - wrappers +I think this is not a problem, as multi-touch-input is a completely +different beast as a mouse, so you'll have to code your own +event-handlers anyway. -2008-07-25 20:50 robert +While coding this stuff, I asked myself if we should refactor +GUIEventAdapter/EventQueue and assign a specific event-type for +touch-input instead of using PUSH/DRAG/RELEASE. This will make it +clearer how to use the code, but will break the mouse-emulation for the +first touch-point and with that all existing manipulators. What do you +think? I am happy to code the proposed changes. - * examples/osgwidgetcanvas/osgwidgetcanvas.cpp, - examples/osgwidgetshader/osgwidgetshader.cpp, - include/osgWidget/EventInterface, include/osgWidget/StyleManager, - include/osgWidget/Widget, include/osgWidget/Window, - include/osgWidget/WindowManager, - src/osgWrappers/osgWidget/EventInterface.cpp, - src/osgWrappers/osgWidget/StyleManager.cpp, - src/osgWrappers/osgWidget/Widget.cpp, - src/osgWrappers/osgWidget/Window.cpp, - src/osgWrappers/osgWidget/WindowManager.cpp: Renamed enums in - osgWidget from ALLCAPITALS to normal OSG conventional of - AllCapital +Additionally I created a small (and ugly) example osgmultitouch which +makes use of the osgGA::MultiTouchTrackballManipulator, shows all +touch-points on a HUD and demonstrates how to get the touchpoints from +an osgGA::GUIEventAdapter. -2008-07-25 20:49 robert +There's even a small example video here: http://vimeo.com/31611842" - * src/osgWrappers/osgDB/PluginQuery.cpp: Added PluginQuery function - to wrappers -2008-07-25 20:04 robert - * include/osgWidget/Box, include/osgWidget/Canvas, - include/osgWidget/EventInterface, include/osgWidget/Export, - include/osgWidget/Frame, include/osgWidget/Input, - include/osgWidget/Label, include/osgWidget/Lua, - include/osgWidget/Python, include/osgWidget/ScriptEngine, - include/osgWidget/StyleInterface, include/osgWidget/StyleManager, - include/osgWidget/Table, include/osgWidget/Types, - include/osgWidget/UIObjectParent, include/osgWidget/Util, - include/osgWidget/ViewerEventHandlers, include/osgWidget/Widget, - include/osgWidget/Window, include/osgWidget/WindowManager, - src/osgWrappers/osgWidget/StyleManager.cpp, - src/osgWrappers/osgWidget/ViewerEventHandlers.cpp: Added OSGPL - Copyright notices - -2008-07-25 19:57 robert - - * include/osgWidget/Box, include/osgWidget/Canvas, - include/osgWidget/EventInterface, include/osgWidget/Frame, - include/osgWidget/Input, include/osgWidget/Label, - include/osgWidget/Lua, include/osgWidget/Python, - include/osgWidget/ScriptEngine, include/osgWidget/StyleInterface, - include/osgWidget/StyleManager, include/osgWidget/Table, - include/osgWidget/UIObjectParent, include/osgWidget/Util, - include/osgWidget/ViewerEventHandlers, include/osgWidget/Widget, - include/osgWidget/Window, include/osgWidget/WindowManager: - Restructured classes to better fit with style of the rest of the - OSG. +Fri, 3 Feb 2012 11:10:17 +0000 +Checked in by : Robert OSFIELD +Improved handling of archives -2008-07-25 19:53 robert +Fri, 3 Feb 2012 11:09:45 +0000 +Checked in by : Robert OSFIELD +From Terry Welsh, improved support for handling archives - * include/osgDB/PluginQuery: Added include to help wrapper building +Wed, 1 Feb 2012 17:42:42 +0000 +Checked in by : Robert OSFIELD +From Colin McDonald, "I have an application with multiple windows. They share GL objects between the contexts, using the GraphicsContext::Traits sharedContext and setting the same contextID.When one of these shared contexts is closed, GraphicsContext::close +deletes all GLObjects for that contextID, regardless of the fact that +they are shared. This means that all of the other contexts sharing the +objects have to recompile them. -2008-07-25 18:44 robert +The attached tweak makes GraphicsContext::close a bit less brutal for +shared contexts. I have also changed a misleading diagnostic message. +" - * src/osg/ImageSequence.cpp: Improved handling of - PAGE_AND_RETAIN_IMAGES -2008-07-25 17:42 robert - * include/osg/ImageSequence, src/osg/ImageSequence.cpp, - src/osgPlugins/ive/ImageSequence.cpp, - src/osgWrappers/osg/ImageSequence.cpp, - src/osgWrappers/osg/Node.cpp: Reverted back to using - std::list +Wed, 1 Feb 2012 17:38:37 +0000 +Checked in by : Robert OSFIELD +From Luc Frauciel, "FBX plugin was locked on version 2012.1 of FBX SDK which is not available anymore on Autodesk website. This patch allows version of FBX >= 2012.1, which includes current one : 2012.2 " -2008-07-25 16:23 robert +Wed, 1 Feb 2012 17:16:44 +0000 +Checked in by : Robert OSFIELD +Renamed selection to transform to make it clear to understand what is being done. - * src/osg/ImageSequence.cpp, src/osgPlugins/osg/ImageSequence.cpp: - Added Mode support +Wed, 1 Feb 2012 17:10:48 +0000 +Checked in by : Robert OSFIELD +Added example usage of teh new DraggerTransforCallback's HandleCommandMask which is tied to the TabPlaneDragger example. -2008-07-25 16:11 robert +Wed, 1 Feb 2012 13:55:38 +0000 +Checked in by : Robert OSFIELD +Added DraggerTransformCallback::HandleCommandMask to DraggerTransformCallback to allow applications to select which commands they want the dragger callback to respond to why updating the transform. - * include/osg/ImageSequence, include/osg/NodeVisitor, - include/osgDB/ImagePager, src/osg/ImageSequence.cpp, - src/osgDB/ImagePager.cpp, src/osgWrappers/osg/ImageSequence.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osgDB/ImagePager.cpp: Updated wrappers, and - further refined the ImageSequence API +Tue, 31 Jan 2012 10:56:52 +0000 +Checked in by : Robert OSFIELD +Improved the handling of osgManipulator::Constraint, DraggerCallbacks and Command so that they now use a Visitor Pattern to ensure the correct methods on constraints and callbaks are called for each Command. Also fixed the handling of Constraints when applied to composite Draggers. -2008-07-25 15:45 robert +Mon, 30 Jan 2012 12:26:28 +0000 +Checked in by : Robert OSFIELD +Added support for Scale1DDragger, Scale2DDragger and TranslatePlaneDragger to --dragger command line option - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp, src/osgPlugins/obj/obj.h: From Ulrich - Hertlein, "as I hinted at on osg-users in the "obj loader: map_* - only reads last component" thread, this submission broke - material/texture loading for some files I have that specify - texture matrix scaling. - - The following link shows a very comprehensive list of .mtl file - options: - http://local.wasp.uwa.edu.au/~pbourke/dataformats/mtl/ - - Attached is a patch that should fix spacey filenames and optional - texture scale/offset. I have tested it with files I have that I - modified to contain spaces in the texture filenames." +Fri, 27 Jan 2012 09:49:06 +0000 +Checked in by : Robert OSFIELD +From Kristofer Tingdahl, Added missing core OSG libraries. -2008-07-25 15:38 shuber +Thu, 26 Jan 2012 18:03:26 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "a recent submission added a 10.6-feature to GraphicsWindowCocoa. I added some ifdefs around, so it compiles again with 10.5 SDK" - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgimagesequence-Info.plist, - Xcode/OpenSceneGraph/osgwidgetmenu-Info.plist: From Stephan - Huber: updated XCode-project +Thu, 26 Jan 2012 14:26:59 +0000 +Checked in by : Robert OSFIELD +Quietend down debug message -2008-07-25 13:45 robert +Thu, 26 Jan 2012 13:08:19 +0000 +Checked in by : Robert OSFIELD +From J.P. Delport, "when switching from windowed mode to fullscreen (with the 'f' key) in X11, no RESIZE event is generated. This confuses handlers that perform some processing on the RESIZE event, e.g. the InteractiveImageHandler.To reproduce the problem I attach a minimally modified osgviewer that just prints resize events. You can check what's printed in the console when you go fullscreen and windowed a few times. - * include/osg/ImageSequence, include/osgDB/ImagePager, - src/osg/ImageSequence.cpp, src/osgDB/ImagePager.cpp, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/ImageSequence.cpp, - src/osgPlugins/ive/ImageSequence.h, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/Texture1D.cpp, - src/osgPlugins/ive/Texture2D.cpp, - src/osgPlugins/ive/Texture3D.cpp, - src/osgPlugins/ive/TextureCubeMap.cpp, - src/osgPlugins/ive/TextureRectangle.cpp: Added ImageSequence to - .ive plugin, added support for multiple ImageThreads in - osgDB::ImagePager +The attached version of GraphicsWindowX11 fixes the problem for me, but I'm not sure this is the right approach. Maybe you can see a fix for the problem clearer. -2008-07-25 10:18 robert +The only place where the RESIZE event is generated in GraphicsWindowX11 is in CheckEvents and it then depends on the ConfigureNotify message. For some reason, either ConfigureNotify is not sent when going fullscreen or the traits already reflect the latest window size." - * applications/osgconv/CMakeLists.txt, - applications/osgconv/PluginQuery.cpp, - applications/osgconv/PluginQuery.h, - applications/osgconv/osgconv.cpp, include/osgDB/PluginQuery, - src/osgDB/CMakeLists.txt, src/osgDB/PluginQuery.cpp: Moved - PluginQuery from osgconv into osgDB -2008-07-25 10:18 robert - * src/osgPlugins/freetype/ReaderWriterFreeType.cpp: Added extension - docs +Wed, 25 Jan 2012 17:37:55 +0000 +Checked in by : Robert OSFIELD +From J.P. Delport, "this fall-through had me scratching my head for a while...It made InteractiveImageHandler eat keypresses outside its image." -2008-07-25 09:46 robert - * src/osgPlugins/shp/ESRIShapeReaderWriter.cpp: Added option docs -2008-07-24 17:38 robert +Wed, 25 Jan 2012 17:35:17 +0000 +Checked in by : Robert OSFIELD +From J.P. Delport, "GraphicsWindowX11 typo, I believe X/Y's should match." - * applications/osgconv/PluginQuery.cpp: Added missing returns +Wed, 25 Jan 2012 17:31:07 +0000 +Checked in by : Robert OSFIELD +From Luc Frauciel, "Ati FirePro is as much crippled as other Ati drivers. This patch add "FirePro" to the black list of renderers in State.cpp / initializeExtensionProcsIt allows to avoid an OpenGL error on Viewer initialization. +Tested on FirePro M7740 / Windows7 x64 Driver 8.85.7.2" -2008-07-24 13:25 robert - * src/osgPlugins/ive/ReaderWriterIVE.cpp: From Paul Martz, "Not - sure about the descriptions, so I left those blank. But at least - "osgconv --formats" will display the .ive options now." -2008-07-24 12:48 robert +Wed, 25 Jan 2012 15:38:31 +0000 +Checked in by : Robert OSFIELD +Changed the KeyEventToggleTexturing to 'e' to avoid conflict with 't' used for transparency. - * src/osgWrappers/osgUtil/CullVisitor.cpp: Updated wrappers +Tue, 24 Jan 2012 17:57:01 +0000 +Checked in by : Robert OSFIELD +Made the cursor state protected. -2008-07-24 12:47 robert +Tue, 24 Jan 2012 17:49:18 +0000 +Checked in by : Robert OSFIELD +From Tobias Ottenweller, "this is a fix for the problem where all input freezes for a quarter second when calling requestWarpPointer under Mac OS X (described here: http://forum.openscenegraph.org/viewtopic.php?t=3933 ).I used the latest version available via subversion. - * include/osgUtil/CullVisitor: Added - getCurrentCamera/getCurrentRenderStage methods +My fix is using some API only available on 10.4 and later. I used some preprocessor statements to gain compatibility with 10.3 and earlier using (now) deprecated API. -2008-07-24 12:18 robert +Only tested on OS X Lion (10.7). Please do some testing as well since I'm fairly new to OpenSceneGraph. Someone should also test the code for 10.3 and earlier." - * src/osgUtil/CullVisitor.cpp: Added a getCurrentRenderStage() and - getCurrentCamera() convninience methods, and - converted the CullVisitor::apply(OcclusionQueryNode&) - implementation to use the - new getCurrentCamera method. -2008-07-24 12:06 robert - * applications/osgconv/PluginQuery.cpp: Improved the feedback for - when a plugin isn't available. +Tue, 24 Jan 2012 17:47:04 +0000 +Checked in by : Robert OSFIELD +Fixed indentation and spaces at ends of lines. -2008-07-24 12:01 robert +Tue, 24 Jan 2012 17:40:31 +0000 +Checked in by : Robert OSFIELD +From Paulk Martz, "Looks like the ClipNode::setReferenceFrame comment block came from LightSource. Fixing the comment block to refer to ClipNode instead of light source." - * src/osgPlugins/obj/ReaderWriterOBJ.cpp: Added supportOptions() - entry docs +Tue, 24 Jan 2012 17:38:23 +0000 +Checked in by : Robert OSFIELD +Chris Denham, fixed type of parameters to ensure they are longs where appropriate. -2008-07-24 12:01 robert +Tue, 24 Jan 2012 17:30:44 +0000 +Checked in by : Robert OSFIELD +Moved setEndBarrierOperation(..) implementation into .cpp and added support for stoppig and starting threading if required. - * applications/osgconv/PluginQuery.cpp, - applications/osgconv/PluginQuery.h, - applications/osgconv/osgconv.cpp: Added --format extname and - --plugin pluginname extensions, and improved formating +Tue, 24 Jan 2012 17:21:14 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, Added ViewerBase::s/getEndBarrierOperation(..) method to allow user control of how viewers are sync'd. -2008-07-24 11:22 robert +Tue, 24 Jan 2012 15:44:58 +0000 +Checked in by : Robert OSFIELD +Fixed compile error - * src/osgPlugins/obj/obj.cpp: From Bob Kuehne, "fix for filenames - that have spaces within their name." - - Note form Robert, changed std::cout to osg::notify(osg::INFO) +Tue, 24 Jan 2012 14:34:02 +0000 +Checked in by : Robert OSFIELD +Added support for using GL_UNPACK_ROW_LENGTH in conjunction with texture's + osg::Image via new RowLength parameter in osg::Image. To support this Image::setData(..) now has a new optional rowLength parameter which defaults to 0, which provides the original behaviour, Image::setRowLength(int) and int Image::getRowLength() are also provided.With the introduction of RowLength support in osg::Image it is now possible to create a sub image where +the t size of the image are smaller than the row length, useful for when you have a large image on the CPU +and which to use a small portion of it on the GPU. However, when these sub images are created the data +within the image is no longer contiguous so data access can no longer assume that all the data is in +one block. The new method Image::isDataContiguous() enables the user to check whether the data is contiguous, +and if not one can either access the data row by row using Image::data(column,row,image) accessor, or use the +new Image::DataIterator for stepping through each block on memory assocatied with the image. -2008-07-23 22:19 robert +To support the possibility of non contiguous osg::Image usage of image objects has had to be updated to +check DataContiguous and handle the case or use access via the DataIerator or by row by row. To achieve +this a relatively large number of files has had to be modified, in particular the texture classes and +image plugins that doing writing. - * genwrapper.conf, src/osgWrappers/osgSim/OverlayNode.cpp: Updated - wrappers -2008-07-23 22:19 robert - * include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: - Refactored OverlayData so that its possible to subclass - OverlayNode/OverlayData. -2008-07-23 21:52 robert +Tue, 24 Jan 2012 14:27:17 +0000 +Checked in by : Robert OSFIELD +Refactored the click_to_run implementation to avoid bug associated with running the first click_to_run entry in a layer when subsequent click to run's are called. - * src/osgWrappers/osg/ImageSequence.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osgDB/ImagePager.cpp: Added wrappers +Mon, 23 Jan 2012 18:48:18 +0000 +Checked in by : Robert OSFIELD +Changed float QuicktimeImageStream::getCurrentTime() to double QuicktimeImageStream::getCurrentTime() to keep it consistent with the type of the virtual function ImageStream::getCurrentTime(), and with this fixing a compile and runtime error.Changed time variables all to use doubles rather than float to be consist with the change to getCurrentTime(). -2008-07-23 21:49 robert - * include/osgDB/ImagePager, src/osgDB/ImagePager.cpp: Moved helper - classes into Protected section -2008-07-23 21:25 robert - * src/osg/OcclusionQueryNode.cpp, src/osgUtil/CullVisitor.cpp: From - Paul Martz, typo fixes +Thu, 5 Jan 2012 14:07:56 +0000 +Checked in by : Robert OSFIELD +From Alberto Luacus, "The ffmpeg plugin fails to compile with the upcoming libav 0.8 because the required header mathematics.h is not being included explicitly.I have just included it, and verified that this also works with current +version 0.7, since the header is also available there." -2008-07-23 19:06 robert - * src/osgPlugins/svg/ReaderWriterSVG.cpp: Applied filename fix - suggested by Andrew Bettison. -2008-07-23 19:04 robert +Tue, 3 Jan 2012 15:59:19 +0000 +Checked in by : Robert OSFIELD +Fixed the return value of SlideEventHandler::selectLayer() so that the 'n' now works correctly. - * include/osg/ImageSequence, include/osg/NodeVisitor, - include/osgDB/ImagePager, src/osg/ImageSequence.cpp, - src/osgDB/ImagePager.cpp: Implemented ImagePager internals +Mon, 2 Jan 2012 16:54:05 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "Attached is a simple fix to osg::Sequence that allows it to load properly with the serializer formats (osgt/osgb). The problem was that the internal _nrepsRemain member was not being initialized properly if the number of repeats was equal to the default value of -1. When the number of repeats is explicitly set using setNumRepeats(), _nrepsRemain is set to the same value. However, in the constructor of osg::Sequence, it was not being initialized to the same value as _nreps. This fix simply changes the initial value of _nrepsRemain to the same as _nreps." -2008-07-23 15:42 robert +Mon, 2 Jan 2012 16:38:01 +0000 +Checked in by : Robert OSFIELD +From Chris Denham, Implementation of write functions in CURL plugin - * include/osg/PolygonMode, src/osg/PolygonMode.cpp: Fixed - unitialized variable +Fri, 23 Dec 2011 17:40:31 +0000 +Checked in by : Robert OSFIELD +From Paul Martz and David Glenn,"From David Glenn and Paul Martz. This change adds support for the NO_COLOR bit in the Vertex records' flags field. If NO_COLOR is set, and PACKED_COLOR is not set, the code will now properly default to using the face color at those vertices. See the osg-users thread "Open Flight characteristic not reflected in the current OSG" for more info." -2008-07-22 20:20 robert +and - * include/osg/ImageSequence, src/osg/ImageSequence.cpp: Further - work on ImageSequence +"In consultation with David Glenn, it appears we needed to change a second file to correct how OpenFlight handles transparency when vertices have NO_COLOR. " -2008-07-22 16:44 robert - * examples/osgimagesequence/osgimagesequence.cpp, - include/osg/ImageSequence, src/osg/ImageSequence.cpp, - src/osgPlugins/osg/ImageSequence.cpp: Added support for pruning - old images, recording the Duration in the .osg file, and -o - filename output support in osgimagesequence. -2008-07-22 15:58 robert - * examples/osgmovie/osgmovie.cpp: Improved position when multiple - videos are provided -2008-07-22 15:21 robert +Fri, 23 Dec 2011 17:34:07 +0000 +Checked in by : Robert OSFIELD +Gunnar Holm, "After upgrading from 2.8.3 to 3.0.1 we experienced a lock in the Mutex functionality when using Terrain::setVerticalScale. This was caused by the following call sequence resulting in a lockup:void Terrain::setVerticalScale(float scale) + CALLS dirtyRegisteredTiles(); - * src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/Texture.cpp: Updated wrappers -2008-07-22 14:47 robert +void Terrain::dirtyRegisteredTiles(int dirtyMask) + SETS LOCK OpenThreads::ScopedLock lock(_mutex); + and CALLS (on every tile) setDirtyMask(dirtyMask); - * examples/osgimagesequence/osgimagesequence.cpp, - src/osg/ImageSequence.cpp, src/osg/Texture.cpp, - src/osgPlugins/osg/ImageSequence.cpp, - src/osgPlugins/osg/TextureCubeMap.cpp: Fixed handling of - TextureCubeMap's with mipmapped/ImageSequence/PBO's. -2008-07-22 12:40 robert +void TerrainTile::setDirtyMask(int dirtyMask) + CALLS _terrain->updateTerrainTileOnNextFrame(this); - * src/osgPlugins/osg/ImageSequence.cpp, - src/osgPlugins/osg/Texture1D.cpp, - src/osgPlugins/osg/Texture2D.cpp, - src/osgPlugins/osg/Texture3D.cpp, - src/osgPlugins/osg/TextureCubeMap.cpp, - src/osgPlugins/osg/TextureRectangle.cpp: Added ImageSequence IO - support in Texture classes -2008-07-22 12:28 robert +void Terrain::updateTerrainTileOnNextFrame(TerrainTile* terrainTile) + SETS LOCK OpenThreads::ScopedLock lock(_mutex); +******* PROBLEM - since lock has already been set! ******** - * include/osg/ImageSequence, include/osg/StateAttribute, - include/osg/Texture, src/osg/ImageSequence.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp: Added - support for ImageSequence to all Texture classes -2008-07-22 10:13 robert +The suggested fix submitted changes from using Mutex to ReentrantMutex. +" - * src/osgUtil/Optimizer.cpp: Disabled the setting of - Texture::setUnrefImageOnApply(true) when the imagery is - an ImageStream. -2008-07-22 09:02 robert - * src/osgWidget/WindowManager.cpp: From Mario Valle, "The attached - osgWidget source solves three compilation warnings on VC 7.1 on - WindowsXP (OSG 2.5.5). - BTW the construct is absolutely legal C++, but VC 7.1 has a - different idea..." +Fri, 23 Dec 2011 17:21:59 +0000 +Checked in by : Robert OSFIELD +From Aurelien Albert, "I made a modification in the Dragger class :You can now set a "intersection mask" and it will be used when looking for intersections. -2008-07-21 23:42 robert +So you can now easily "hide" some objects from manipulators." - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/ScreenCaptureHandler.cpp, - src/osgWrappers/osgUtil/Tessellator.cpp, - src/osgWrappers/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Moved - osgViewer::ScreenCaptureHandler's WindowCaptureCallback from head - into .cpp - to clean up headers and avoid wrapper build issues. - - Updated wrappers -2008-07-21 22:38 robert - * include/osgUtil/TriStripVisitor: Removed the reducent non const - get methods +Fri, 23 Dec 2011 17:16:06 +0000 +Checked in by : Robert OSFIELD +From Brad Christiansen, "I have added an implementation for set/getVolume in the direct show plug-in." -2008-07-21 21:28 robert +Fri, 23 Dec 2011 17:15:06 +0000 +Checked in by : Robert OSFIELD +From Glenn Waldron, "Attached is a change to ClusterCullingCallback to make it work properly under an RTT camera with an INHERIT_VIEWPOINT reference frame." - * applications/osgviewer/osgviewer.cpp, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/ScreenCaptureHandler.cpp: From Jean-Sebastien Guay, - "Changes attached so that the CaptureOperation is passed in the - constructor of the ScreenCaptureHandler (default 0 = default - CaptureOperation). This way, you can do: - - viewer.addEventHandler(new osgViewer::ScreenCaptureHandler( - new osgViewer::WriteToFileCaptureOperation("filename", "jpg"))); - - and the filename will be what you want. The - WriteToFileCaptureOperation will add the context ID and the file - number (if in SEQUENTIAL_NUMBER mode) to the file name. - - (The attached also clarifies some notify messages, and corrects - the comment when adding the handler in osgviewer.cpp) - - I also remembered, the current architecture could allow a - different CaptureOperation for each context, but currently the - API only allows setting one CaptureOperation for all contexts. - This could be improved if need be. - - " +Fri, 23 Dec 2011 16:57:34 +0000 +Checked in by : Robert OSFIELD +From James Turner, "Testing FlightGear with Cocoa osgViewer, encountered some problems with hiding / re-showing the cursor. Attached version fixes this, by tracking the current cursor value, and ensuring we don't nest calls to [NSCursor hide] or [NSCursor unhide]." -2008-07-21 21:20 robert +Fri, 23 Dec 2011 16:29:51 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "attached is a patch for osgPlugins/mdl/MDLReader.cpp that improves its functionality on Unix filesystems. It also includes code cleanups/refactoring." - * include/osgUtil/Tessellator, include/osgUtil/TriStripVisitor: - From Ruth Lang, "using osg version 2.5.5 and compiling my program - under OpenSUSE 11.0 - with gcc (version 4.3.1) I got the following error message in - include/osgUtil/TriStripVisitor and Tessellator - - error: type qualifiers ignored on function return type - - The errors belong all to a INLINE function definition. Find - attached my - modified version." +Fri, 23 Dec 2011 16:27:25 +0000 +Checked in by : Robert OSFIELD +From Brad Christiansen, "Attached are some small changes to the ImageStream interface and the DirectShow and FFMPEG plugins to provide the current time being displayed in the image stream. I don’t have access to an OSX or Linux dev machine to make the changes required to the quick time plugin. This plugin will just default to returning 0." -2008-07-21 21:17 robert +Fri, 23 Dec 2011 16:14:51 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, typo fixes - * src/osgPlugins/lwo/Surface.cpp, src/osgPlugins/lwo/Surface.h: - From Mario Valle, signed/unsgined warning fix +Fri, 23 Dec 2011 12:42:18 +0000 +Checked in by : Robert OSFIELD +Added handling of an empty filename when writing out an image file. -2008-07-21 21:00 robert +Mon, 19 Dec 2011 16:18:18 +0000 +Checked in by : Robert OSFIELD +Removed inappropriate static usage - * examples/osgimagesequence/osgimagesequence.cpp, - include/osg/Image, include/osg/ImageSequence, - include/osg/NodeVisitor, include/osgDB/ImagePager, - src/osg/ImageSequence.cpp, src/osgDB/ImagePager.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/Viewer.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/NodeVisitor.cpp: Further work on - osg::ImageSequence/osgDB::ImagePager +Mon, 19 Dec 2011 09:37:57 +0000 +Checked in by : Robert OSFIELD +Moved the createSpotLightImage function into include/osg/ImageUtils -2008-07-21 20:44 robert +Mon, 19 Dec 2011 09:09:30 +0000 +Checked in by : Robert OSFIELD +Added --num-sm and --parallel-split and --cascaded command line options to set the appriopriate ViewDependentShadowMap settings. - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Upated version number for - dev release +Tue, 13 Dec 2011 21:14:33 +0000 +Checked in by : Robert OSFIELD +Moved osgshaders example across to use the new osgUtil::PerlinNoise example -2008-07-21 19:23 robert +Tue, 13 Dec 2011 21:12:00 +0000 +Checked in by : Robert OSFIELD +Created new PerlinNoise class from the Noise.h+Noise.cpp code in the osgshaders example. - * src/osgPlugins/OpenFlight/Record.cpp, - src/osgPlugins/OpenFlight/Record.h: Moved the ~Record body into - the .cpp to avoid a MipsPro compile error (due to a compiler bug) +Wed, 30 Nov 2011 19:14:14 +0000 +Checked in by : Robert OSFIELD +Fixed build under Tiny Core. -2008-07-21 17:45 robert +Fri, 25 Nov 2011 12:48:03 +0000 +Checked in by : Robert OSFIELD +To fix problems in tight bound computation of the shadow map made the ComputeLightSpaceBounds usage always used when the CastShadowMask is active. Changed the ComputeLightSpaceBounds to use just VIEW_FRUSTUM_CULLING. - * src/osgDB/ImagePager.cpp: Added call to - OpenThreads::Thread::cancel(); +Fri, 25 Nov 2011 09:24:50 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, fix for handling texture unit >= 8 and negative LigthNum. -2008-07-21 17:39 robert +Tue, 22 Nov 2011 21:55:30 +0000 +Checked in by : Robert OSFIELD +Added prelimanary support for parallel split shadow maps into ViewDependentShadowMap. - * src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osgDB/Registry.cpp: Updated wrappers +Fri, 18 Nov 2011 08:20:04 +0000 +Checked in by : Robert OSFIELD +From Trajce Nikolov, "Here is extended version of the osgforest example - technique with geometry shader added, was doing it for a project so I thought might be useful to update the example as well " -2008-07-21 17:28 robert +Fri, 18 Nov 2011 08:15:36 +0000 +Checked in by : Robert OSFIELD +Fixed indentation - * examples/osgimagesequence/osgimagesequence.cpp, - include/osg/Image, include/osg/ImageSequence, - include/osg/ImageStream, src/osg/ImageSequence.cpp, - src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageStream.cpp: Added basic image sequencing +Thu, 17 Nov 2011 18:45:18 +0000 +Checked in by : Robert OSFIELD +Added .get() to fix build -2008-07-21 17:27 robert +Fri, 11 Nov 2011 10:36:17 +0000 +Checked in by : Robert OSFIELD +Updated built in volume shaders to honour the osg::Matierial setting - * include/osgDB/Registry: Added non const getAuthenticationMap(). +Fri, 11 Nov 2011 10:25:20 +0000 +Checked in by : Robert OSFIELD +Enabled blending for the iso surface rendering to enable fade in/fade out of volume. -2008-07-21 16:17 robert +Thu, 10 Nov 2011 15:50:22 +0000 +Checked in by : Robert OSFIELD +Added handling of osgGA::GUIEventAdapter::getMouseYOrientation() in the orientation of mouse y position.Added updating of properties on both mouse move/drag and keydown. - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: Moved the if (!buffer) - check to infront of the memory initialization -2008-07-21 15:05 robert - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: Added - --login http authentication. +Mon, 7 Nov 2011 14:36:50 +0000 +Checked in by : Robert OSFIELD +Added a check against OSX 10.6 to enable better selection of when to provide custom cosf etc. definition. This change has been introduced to address recurcsion problems in 10.7 in the ac3d plugin. -2008-07-21 15:04 robert +Fri, 4 Nov 2011 12:50:05 +0000 +Checked in by : Robert OSFIELD +Implement presentation update feature that reloads the presentation on pressing 'u'. - * applications/osgviewer/osgviewer.cpp: Added --login url username - password http authentication option +Fri, 4 Nov 2011 12:47:24 +0000 +Checked in by : Robert OSFIELD +Improved the handling of setStartTick() being called mid app, such as when idirectly called when doing a Viewer::setSceneData(). Improved the setting the the initial event state. -2008-07-21 10:57 robert +Fri, 4 Nov 2011 12:45:32 +0000 +Checked in by : Robert OSFIELD +Improved handling of resetting of the EventQueue::startTick(). - * examples/CMakeLists.txt, examples/osgimagesequence, - examples/osgimagesequence/CMakeLists.txt, - examples/osgimagesequence/osgimagesequence.cpp, - include/osg/ImageSequence, src/osg/ImageSequence.cpp: Initial cut - of osgimagesequence example +Fri, 4 Nov 2011 12:44:01 +0000 +Checked in by : Robert OSFIELD +Added removeFromObjectCache method. -2008-07-21 10:48 shuber +Wed, 2 Nov 2011 10:57:17 +0000 +Checked in by : Robert OSFIELD +Add check to filter out the return of FILE_NOT_FOUND from archive results to prevent these from prematurely exiting the Registry::read(..) method bofore it loads plugins to try and load requested file. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgwidgetmenu-Info.plist: From Stephan - Huber: updated XCode-project +Tue, 1 Nov 2011 16:13:24 +0000 +Checked in by : Robert OSFIELD +Replaced the use of PrtScrn with 'm' for taking screenshots, replaced the use of 'm' with 'M' for taking movies. -2008-07-21 10:10 robert +Tue, 1 Nov 2011 13:41:48 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "A recent commit (https://github.com/openscenegraph/osg/commit/41e23f466d0749d0d9db7ca0b0ada996432a1ee1) for GraphicWindowsIOS.mm broke the compilation for OpenGL ES 1.x as GL_DEPTH_COMPONENT32_OES is not defined for 1.x. I added a #define-guard." - * include/osgDB/ImagePager, src/osgDB/ImagePager.cpp, - src/osgWrappers/osg/ImageStream.cpp, - src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Added - ImagePager first cut, and updated wrappers +Tue, 1 Nov 2011 13:36:07 +0000 +Checked in by : Robert OSFIELD +Added screen capture handler to present3D, with the PrtScn button used for a single frame capture and 'm' for continuous frame capture. The --screenshot filename command line option can be used to configure the name of the screen capture. -2008-07-21 09:55 robert +Tue, 1 Nov 2011 11:08:48 +0000 +Checked in by : Robert OSFIELD +Added setting of the sampleDensityWhenMovingProperty at the same time as when setting the sampleDensityProperty - * src/osgPlugins/osg/CMakeLists.txt, - src/osgPlugins/osg/ImageSequence.cpp: Added first cut of - ImageStream IO wrapper +Tue, 1 Nov 2011 10:30:18 +0000 +Checked in by : Robert OSFIELD +Fixed the use DCM_SeriesDescription -2008-07-21 09:47 robert +Tue, 1 Nov 2011 10:27:12 +0000 +Checked in by : Robert OSFIELD +Improved the handling of multiple datasets being read at once, with all the images in a series being group according to Series UID and SeriesDescription and orientation. - * include/osgViewer/Scene, include/osgViewer/View, - src/osgDB/CMakeLists.txt, src/osgDB/DatabasePager.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Scene.cpp, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: First cut of - osgDB::ImagePager for updating osg::ImageSequence +Mon, 31 Oct 2011 15:29:49 +0000 +Checked in by : Robert OSFIELD +Adding missing checks against View's Camera and SceneData for any update callbacks that need calling. -2008-07-21 09:46 robert +Fri, 28 Oct 2011 11:00:55 +0000 +Checked in by : Robert OSFIELD +Changed the notification level to INFO. - * include/osg/ImageSequence, include/osg/ImageStream, - src/osg/CMakeLists.txt, src/osg/ImageSequence.cpp: First cut of - osg::ImageSequence class +Fri, 28 Oct 2011 11:00:08 +0000 +Checked in by : Robert OSFIELD +Changed the setting of Traits::sampleBuffers so that it's set to 1 when DisplaySettings::getMultiSamples() is set to a non zero value. -2008-07-18 21:17 robert +Fri, 28 Oct 2011 10:36:29 +0000 +Checked in by : Robert OSFIELD +Changed the default for SampleBuffers to be 1 when set. - * src/osgWidget/CMakeLists.txt: From Adrain Elgi, added osgGA to - link list +Fri, 28 Oct 2011 09:45:51 +0000 +Checked in by : Robert OSFIELD +Removed OSX codepath for setting the depth value to 32 as this turned out to be unneccesary. -2008-07-18 11:39 robert +Fri, 28 Oct 2011 09:11:21 +0000 +Checked in by : Robert OSFIELD +Changed the default depth to 24. - * src/osgDB/Field.cpp: Introduce a custom atof function that always - assumes data comes in form 10.10 with - the full stop used as a decimal place. +Thu, 27 Oct 2011 16:33:18 +0000 +Checked in by : Robert OSFIELD +Updated volume shaders to use the GL_LIGHT 0 values to control the direction of the light source -2008-07-17 16:12 robert +Thu, 27 Oct 2011 13:11:20 +0000 +Checked in by : Robert OSFIELD +Reimplement the light direction controls so that they now work correctly with osgViewer::Viewer.Improved the computation of the light direction from non-dimensional mouse coords so that they now project onto a hemisphere making +the interaction more intuitive. - * applications/osgviewer/osgviewer.cpp, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/CMakeLists.txt, - src/osgViewer/ScreenCaptureHandler.cpp: From Jean-Sebastien Guay - and Robert Osfiled, osgViewer::ScreenCaptureHandler for - taking screenshots -2008-07-17 14:25 robert - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - version and AUTHORS.txt for 2.5.5 release -2008-07-17 14:18 robert +Thu, 27 Oct 2011 09:24:34 +0000 +Checked in by : Robert OSFIELD +Added support for ignore returns as white space. - * README.txt: Updated ChangeLog for 2.5.5 release +Thu, 27 Oct 2011 08:34:53 +0000 +Checked in by : Robert OSFIELD +Added support for American spelling of swap and add supportOptions(..) documentation for the new options. -2008-07-17 14:13 robert +Wed, 26 Oct 2011 14:25:56 +0000 +Checked in by : Robert OSFIELD +Added support into the .p3d format for specifying the osgDB::Options::OptionString via the .Added support into .vnc plugin for passing in the keywords "swap", "RGB", "RGBA", "BGR", "BGRA" as OptionString values to allow .p3d presentations to control +whether the pixelformat should be swapped or set to a specific format. - * src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers -2008-07-17 13:51 robert - * include/osg/View, include/osgViewer/ViewerBase, src/osg/View.cpp, - src/osgPlugins/normals/Normals.cpp, - src/osgPlugins/normals/ReaderWriterNormals.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/x/ReaderWriterDirectX.cpp: From Ulrich Hertlein, - "attached are some minor tweaks: - - - fixed typos in osgViewer/ViewerBase - - const-ness in include/osg/View findSlaveIndexForCamera - - supported options for STL reader, fixed return values to - reflect proper errors - - supported options for DirectX reader, fixed return values - - normals pseudo-loader: scaling normals to a const (but - variable) fraction of the bounding sphere radius - " -2008-07-17 13:32 robert - * ChangeLog: Updated ChangeLog +Wed, 26 Oct 2011 12:48:57 +0000 +Checked in by : Robert OSFIELD +Added password support into present3D's vnc support via the tag usage : hostname -2008-07-17 13:23 shuber +Wed, 26 Oct 2011 12:29:38 +0000 +Checked in by : Robert OSFIELD +Added password support into osgvnc example and vnc plugin - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project +Wed, 26 Oct 2011 09:34:50 +0000 +Checked in by : Robert OSFIELD +Implement a simply attempt at detecting when the pixel format needs to be swapped. -2008-07-17 12:26 robert +Tue, 25 Oct 2011 15:55:33 +0000 +Checked in by : Robert OSFIELD +Added support for 32bit depth buffer - * src/osgWrappers/osgDB/AuthenticationMap.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp: Updated wrappers +Tue, 25 Oct 2011 15:31:46 +0000 +Checked in by : Robert OSFIELD +Added hack of using a 32bit depth buffer default setting for Traits when compiling under Apple. -2008-07-17 12:13 robert +Mon, 24 Oct 2011 13:40:29 +0000 +Checked in by : Robert OSFIELD +Moved switching off of the cursor till after the slide event handler has had a chance to switch off the scene. - * include/osgDB/AuthenticationMap, include/osgDB/ReaderWriter, - src/osgDB/AuthenticationMap.cpp, src/osgDB/CMakeLists.txt, - src/osgDB/ReaderWriter.cpp: Moved - AuthenticalMap/AuthenticationDetails out in their own files +Mon, 24 Oct 2011 11:09:35 +0000 +Checked in by : Robert OSFIELD +Fixed handling of slide with no layers. -2008-07-17 11:55 robert +Sat, 22 Oct 2011 09:02:18 +0000 +Checked in by : Robert OSFIELD +Fixed build of StreamOperator - * include/osgDB/ReaderWriter, include/osgDB/Registry, - src/osgDB/ReaderWriter.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/curl/ReaderWriterCURL.h: Added - osgDB::AuthenticationMap/Details to osgDB and curl plugin to add - the ability - to authenticate http transfers +Fri, 21 Oct 2011 15:39:51 +0000 +Checked in by : Robert OSFIELD +Fixed handling of Vec3dArray in GLBeginEdnAdapter/ArrayDispatchers. -2008-07-16 19:07 robert +Fri, 21 Oct 2011 11:00:29 +0000 +Checked in by : Robert OSFIELD +Added support for using negative scale_x, scale_y and scale_z values in the tag to allow presentations to flip the imagery - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - Removed net plugin for Xcode projects +Fri, 21 Oct 2011 10:59:42 +0000 +Checked in by : Robert OSFIELD +Added flipDepth() method -2008-07-16 16:19 robert +Fri, 21 Oct 2011 09:31:56 +0000 +Checked in by : Robert OSFIELD +Fixed handling of scale.x, scale.y and scale.z paramters so that all of them now take an effect. - * src/osgDB/Registry.cpp, src/osgPlugins/CMakeLists.txt: Moved .net - plugin out into Deprecated section of osg svn repostitory +Thu, 20 Oct 2011 16:49:08 +0000 +Checked in by : Robert OSFIELD +Fixed handling of reading/writing of osgVolume::VolumeTile tiles -2008-07-16 16:19 robert +Thu, 20 Oct 2011 16:35:50 +0000 +Checked in by : Robert OSFIELD +Added support for calling throwException() from InputIterator and added a check for negative string sizes. - * src/osgWidget/WindowManager.cpp: Fixed path to font +Thu, 20 Oct 2011 11:50:04 +0000 +Checked in by : Robert OSFIELD +Added check against build type to avoid the build of the osgviewerWX example with debug build as this fails with unresolved symbols within the internals of WxWidgets. -2008-07-16 16:05 robert +Thu, 20 Oct 2011 10:52:32 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, fixed build problem due to cmake_policy CMP0017 being only available from cmake-2.8.4, added guard to prevent build problems - * src/osgFX/Cartoon.cpp: Set the default setting of LineWidth to - 2.0 to ensure that old default behavior - is maintained. +Thu, 20 Oct 2011 09:23:26 +0000 +Checked in by : Robert OSFIELD +Improved handling of recent Cmake versions -2008-07-16 16:04 robert +Thu, 20 Oct 2011 08:59:47 +0000 +Checked in by : Robert OSFIELD +Fixed typo in command line output, and add an explanation message for when createTexture3D fails to create an osg::Image from a list of input osg::Image. - * src/osgFX/Cartoon.cpp: From Vincent Bourdier, removed line with - setWidth(2.0) as this code prevents - user settings of line with. +Mon, 17 Oct 2011 15:39:46 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2008-07-16 15:58 robert +Mon, 17 Oct 2011 14:41:49 +0000 +Checked in by : Robert OSFIELD +Improvements to the compute near/far - * src/osgFX/MultiTextureControl.cpp: Cleaned up the updateStateSet - code +Mon, 17 Oct 2011 14:40:29 +0000 +Checked in by : Robert OSFIELD +Improvements to osgShadow::ViewDependentShadowMap and ShadowSettings -2008-07-16 15:58 robert +Mon, 17 Oct 2011 11:12:05 +0000 +Checked in by : Robert OSFIELD +Quitened down debug message - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: - Refactored the MultiTextureControl node callback so that the - update is now - done as an update callback, with the elevation aquired via a cull - callback +Mon, 17 Oct 2011 10:25:28 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, add --mapres size option to ViewDependentShadowMap settings. -2008-07-16 13:29 robert +Mon, 3 Oct 2011 15:57:06 +0000 +Checked in by : Robert OSFIELD +Add catch for when shadows are enabled between the update and draw traversals. - * src/osgWrappers/osg/KdTree.cpp: Updated wrappers +Mon, 3 Oct 2011 15:25:16 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, changed the border colour for the shadow map to be 1 rather the 0 used for debugging so that areas outside the shadow map default to being unshadowed rather than shadowed. changed the shadow map texture assigment to StateSet so that it doesn't use OVERRIDE, enabling subgraphs to use the same texture unit for other textures if they so required. tidied up indentation. -2008-07-16 13:26 robert +Mon, 3 Oct 2011 14:57:39 +0000 +Checked in by : Robert OSFIELD +Changed getVertical(..) so it uses the same coord scale as the getGlyph - * include/osg/KdTree, src/osg/KdTree.cpp: Changed int's to unsigned - int's to avoid warnings +Mon, 3 Oct 2011 14:56:38 +0000 +Checked in by : Robert OSFIELD +Fixed handling of ShadowSetting LightNum -2008-07-16 13:23 robert +Mon, 3 Oct 2011 10:36:18 +0000 +Checked in by : Robert OSFIELD +Added Font::getVertical(float& ascender, float& descender) methods. - * src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osg/TextureRectangle.cpp: Moved - the _textureObjectBuffer assignment to after the imagery has been - download to avoid crashes under multi-threaded compile of texture - objects (was causing a crash with 3D Textures, but is something - that would happen with other Texture types as well.) +Wed, 28 Sep 2011 11:52:27 +0000 +Checked in by : Robert OSFIELD +Added catch for NaN vertices that were being generated by osgText, these NaN vertices were causing glu tesselation functions to crash. -2008-07-16 12:53 shuber +Wed, 28 Sep 2011 10:54:30 +0000 +Checked in by : Robert OSFIELD +Added computation of the extents, in light space, of the shadow maps RenderStage contents and use of this to produce a tighter bound light space projection. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgWidget.plist: From Stephan Huber: updated - XCode-project, included osgWidget-Framework +Tue, 20 Sep 2011 11:46:45 +0000 +Checked in by : Robert OSFIELD +Added a half second sleep after calling system command when the command is run in the background so that this command has a chance to run and open a window before the calling present3D moves on to the next frame. -2008-07-16 11:40 robert +Tue, 20 Sep 2011 10:59:18 +0000 +Checked in by : Robert OSFIELD +Added better error reporting and handling when tag contents are not valid. - * src/osg/KdTree.cpp: Removed a division by precomputing the - associated values +Tue, 20 Sep 2011 10:01:07 +0000 +Checked in by : Robert OSFIELD +Added handling of tag and "" options. -2008-07-15 22:30 robert +Mon, 19 Sep 2011 10:42:54 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "attached is a patch that cleans up compiler warnings and common functionality." - * examples/osgwidgetaddremove/osgwidgetaddremove.cpp, - examples/osgwidgetframe/osgwidgetframe.cpp, - examples/osgwidgetinput/osgwidgetinput.cpp, - examples/osgwidgetlabel/osgwidgetlabel.cpp, - examples/osgwidgetmenu/osgwidgetmenu.cpp, - examples/osgwidgetnotebook/osgwidgetnotebook.cpp, - examples/osgwidgetscrolled/osgwidgetscrolled.cpp, - examples/osgwidgetshader/osgwidgetshader.cpp: From Jeremy Moles, - Updated file references to reflect new data in - OpenSceneGraph-Data +Mon, 19 Sep 2011 10:39:19 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, "There was a bug in reading modifier keys when focus to GraphicsWindowWin32 was restored. Handler of WM_SETFOCUS was reading pressed keys and sending WM_KEYDOWN messages to fill initial keyboard state. But WM_KEYDOWN messages sent had 0 on lParam and adaptKey method computing state of modifier mask was using lParam to find which modifier keys are down. Obviously when lParam was 0 it was not recording proper modifier masks.This patch fixes this code sending proper lParam and also makes sure LEFT_CONTROL will be not confused with RIGHT_CONTROL." -2008-07-15 22:13 robert - * src/osgWrappers/osgWidget, src/osgWrappers/osgWidget/Box.cpp, - src/osgWrappers/osgWidget/Canvas.cpp, - src/osgWrappers/osgWidget/EventInterface.cpp, - src/osgWrappers/osgWidget/Export.cpp, - src/osgWrappers/osgWidget/Frame.cpp, - src/osgWrappers/osgWidget/Input.cpp, - src/osgWrappers/osgWidget/Label.cpp, - src/osgWrappers/osgWidget/Lua.cpp, - src/osgWrappers/osgWidget/Python.cpp, - src/osgWrappers/osgWidget/ScriptEngine.cpp, - src/osgWrappers/osgWidget/StyleInterface.cpp, - src/osgWrappers/osgWidget/StyleManager.cpp, - src/osgWrappers/osgWidget/Table.cpp, - src/osgWrappers/osgWidget/Types.cpp, - src/osgWrappers/osgWidget/ViewerEventHandlers.cpp, - src/osgWrappers/osgWidget/Widget.cpp, - src/osgWrappers/osgWidget/Window.cpp, - src/osgWrappers/osgWidget/WindowManager.cpp: Added osgWidget - wrappers -2008-07-15 22:03 robert +Mon, 19 Sep 2011 10:34:31 +0000 +Checked in by : Robert OSFIELD +From Luc Frauciel, "You'll find attached a new option that allow, when using LOD in USER_DEFINED_CENTER mode to expand the radius of the node by the radius of loaded objets. Motivation ; When using PagedLODs, you don't always know the real size of loaded children, If it occurs that they are out of predefined bounds, picking on the parts that are out of bound will fail They also can be culled out too soon. The problem often occurs with long object (roads). I've modified LOD and ProxyNode to include this option."and later email: - * examples/osgwidgetaddremove/osgwidgetaddremove.cpp, - examples/osgwidgetframe/osgwidgetframe.cpp, - examples/osgwidgetinput/osgwidgetinput.cpp, - examples/osgwidgetlabel/osgwidgetlabel.cpp, - examples/osgwidgetmenu/osgwidgetmenu.cpp, - examples/osgwidgetnotebook/osgwidgetnotebook.cpp, - examples/osgwidgetscrolled/osgwidgetscrolled.cpp, - examples/osgwidgetshader/osgwidgetshader.cpp: Converted tabs to - four spaces - -2008-07-15 21:28 robert - - * src/osg/KdTree.cpp: Fixed typo - -2008-07-15 20:30 robert - - * include/osgWidget/Widget, include/osgWidget/Window: Moved the - private sections int protected to allow subclasses acces to all - methods/members. - Moved public section to top of the class definition to make it - more consistent with the rest of the OSG. - -2008-07-15 19:42 robert - - * src/osgPlugins/osgWidget/CMakeLists.txt: Fixed name of lib - -2008-07-15 19:28 robert - - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: Changed IMPORT to - "Import option", and "EXPORT:" to "Export option:" in - supportsOptions() docs make it a little more friendly and - understandable - -2008-07-15 19:26 robert - - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: From Paul Martz, - "Here's documentation for the export options of the FLT plugin. I - also labeled the import options as such." - -2008-07-15 19:24 robert - - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version number to - 2.5.5 in prep for dev release - -2008-07-15 19:24 robert - - * include/osgWidget/Version, src/osgWidget/Version.cpp: Changed the - version setup code to be consistent with the rest of the OSG - -2008-07-15 19:23 robert - - * examples/CMakeLists.txt, examples/osgwidgetversion: Removed now - redundent example - -2008-07-15 19:02 robert - - * src/osgPlugins/vrml/CMakeLists.txt: From Gino van den Bergen, - "The VRML plugin in the current 2.5.4 release will not compile - under VC8.0 when the project file is generated using CMake 2.6. - The attached CMakeLists.txt will fix this problem. The file - replaces the CMakeLists.txt file in src/osgPlugins/vrml. - NB: It is assumed that the antlr and regex libs are located in - $(OPENVRML_DIR)/lib. - " - -2008-07-15 18:53 robert - - * examples/osgwidgetaddremove/CMakeLists.txt, - examples/osgwidgetbox/CMakeLists.txt, - examples/osgwidgetcanvas/CMakeLists.txt, - examples/osgwidgetframe/CMakeLists.txt, - examples/osgwidgetinput/CMakeLists.txt, - examples/osgwidgetlabel/CMakeLists.txt, - examples/osgwidgetmenu/CMakeLists.txt, - examples/osgwidgetnotebook/CMakeLists.txt, - examples/osgwidgetscrolled/CMakeLists.txt, - examples/osgwidgetshader/CMakeLists.txt, - examples/osgwidgetstyled/CMakeLists.txt, - examples/osgwidgettable/CMakeLists.txt, - examples/osgwidgetversion/CMakeLists.txt, - examples/osgwidgetwindow/CMakeLists.txt: From Jean-Sebastian - Guay, "Here are the CMakeLists.txt files for the osgWidget - examples, changed to use SETUP_EXAMPLE like the other examples." - -2008-07-15 18:12 robert - - * examples/CMakeLists.txt: Fixed typo - -2008-07-15 17:21 robert - - * examples/CMakeLists.txt, examples/osgwidgetaddremove, - examples/osgwidgetaddremove/CMakeLists.txt, - examples/osgwidgetaddremove/osgwidgetaddremove.cpp, - examples/osgwidgetbox, examples/osgwidgetbox/CMakeLists.txt, - examples/osgwidgetbox/osgwidgetbox.cpp, examples/osgwidgetcanvas, - examples/osgwidgetcanvas/CMakeLists.txt, - examples/osgwidgetcanvas/osgwidgetcanvas.cpp, - examples/osgwidgetframe, examples/osgwidgetframe/CMakeLists.txt, - examples/osgwidgetframe/osgwidgetframe.cpp, - examples/osgwidgetinput, examples/osgwidgetinput/CMakeLists.txt, - examples/osgwidgetinput/osgwidgetinput.cpp, - examples/osgwidgetlabel, examples/osgwidgetlabel/CMakeLists.txt, - examples/osgwidgetlabel/osgwidgetlabel.cpp, - examples/osgwidgetmenu, examples/osgwidgetmenu/CMakeLists.txt, - examples/osgwidgetmenu/osgwidgetmenu.cpp, - examples/osgwidgetnotebook, - examples/osgwidgetnotebook/CMakeLists.txt, - examples/osgwidgetnotebook/osgwidgetnotebook.cpp, - examples/osgwidgetscrolled, - examples/osgwidgetscrolled/CMakeLists.txt, - examples/osgwidgetscrolled/osgwidgetscrolled.cpp, - examples/osgwidgetshader, - examples/osgwidgetshader/CMakeLists.txt, - examples/osgwidgetshader/osgwidgetshader.cpp, - examples/osgwidgetstyled, - examples/osgwidgetstyled/CMakeLists.txt, - examples/osgwidgetstyled/osgwidgetstyled.cpp, - examples/osgwidgettable, examples/osgwidgettable/CMakeLists.txt, - examples/osgwidgettable/osgwidgettable.cpp, - examples/osgwidgetversion, - examples/osgwidgetversion/CMakeLists.txt, - examples/osgwidgetversion/osgwidgetversion.cpp, - examples/osgwidgetwindow, - examples/osgwidgetwindow/CMakeLists.txt, - examples/osgwidgetwindow/osgwidgetwindow.cpp, include/osgWidget, - include/osgWidget/Box, include/osgWidget/Canvas, - include/osgWidget/EventInterface, include/osgWidget/Export, - include/osgWidget/Frame, include/osgWidget/Input, - include/osgWidget/Label, include/osgWidget/Lua, - include/osgWidget/Python, include/osgWidget/ScriptEngine, - include/osgWidget/StyleInterface, include/osgWidget/StyleManager, - include/osgWidget/Table, include/osgWidget/Types, - include/osgWidget/UIObjectParent, include/osgWidget/Util, - include/osgWidget/Version, include/osgWidget/ViewerEventHandlers, - include/osgWidget/Widget, include/osgWidget/Window, - include/osgWidget/WindowManager, src/CMakeLists.txt, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/osgWidget, - src/osgPlugins/osgWidget/Box.cpp, - src/osgPlugins/osgWidget/CMakeLists.txt, - src/osgPlugins/osgWidget/EmbeddedWindow.cpp, - src/osgPlugins/osgWidget/Frame.cpp, - src/osgPlugins/osgWidget/Input.cpp, - src/osgPlugins/osgWidget/Label.cpp, - src/osgPlugins/osgWidget/Table.cpp, - src/osgPlugins/osgWidget/Widget.cpp, - src/osgPlugins/osgWidget/WindowManager.cpp, src/osgWidget, - src/osgWidget/Box.cpp, src/osgWidget/CMakeLists.txt, - src/osgWidget/Canvas.cpp, src/osgWidget/Frame.cpp, - src/osgWidget/Input.cpp, src/osgWidget/Label.cpp, - src/osgWidget/Lua.cpp, src/osgWidget/Python.cpp, - src/osgWidget/StyleManager.cpp, src/osgWidget/Table.cpp, - src/osgWidget/Util.cpp, src/osgWidget/Version.cpp, - src/osgWidget/ViewerEventHandlers.cpp, src/osgWidget/Widget.cpp, - src/osgWidget/Window.cpp, src/osgWidget/WindowManager.cpp: From - Jeremy Moles, import of the osgWidget NodeKit, sourced from the - original http://osgwidget.googlecode.com/svn/trunk - - Notes from Robert Osfield, I've merged osgWidget trunk, and - added/changed CMakeLists.txt file to make it suitable for - inclusion in the core OSG, and moved imagery/scripts/shaders out - into OpenSceneGraph-Data - -2008-07-15 14:24 robert - - * src/osgWrappers/osg/FrameBufferObject.cpp: Updated wrappers - -2008-07-15 14:24 robert - - * include/osg/FrameBufferObject, src/osg/FrameBufferObject.cpp: - From Art Trevs, Removed GLeunm version setAttachment() to avoid - ambigiuity with - whether to enable MRT. - -2008-07-15 14:15 robert - - * include/osgDB/Archive, src/osgDB/Archive.cpp: Renamed - Archive::ArchiveStatus to ReaderWriter::ArchiveStatus - -2008-07-15 10:45 robert - - * src/osgWrappers/osgDB/Archive.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp: Updated wrappers - -2008-07-15 09:55 robert - - * include/osgDB/ReaderWriter, include/osgDB/Registry, - src/osgShadow/ShadowVolume.cpp: Missing check-ins - -2008-07-14 20:22 robert - - * applications/osgconv/PluginQuery.cpp, - applications/osgconv/PluginQuery.h, - applications/osgconv/osgconv.cpp: Added --plugins and --formats - query support into osgconv to help with querying the - available plugins and the file formats/protocols they support - -2008-07-14 20:11 robert - - * src/osgPlugins/ac/ac3d.cpp: Added missing ac3d - supportsExtensions() constructor - -2008-07-14 08:48 robert - - * applications/osgconv/CMakeLists.txt, - applications/osgconv/PluginQuery.cpp, - applications/osgconv/PluginQuery.h, - applications/osgconv/osgconv.cpp: Added initial cut at plugin - query code - -2008-07-13 22:18 robert - - * src/osgDB/ReaderWriter.cpp, - src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.h, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/bsp/ReaderWriterQ3BSP.cpp, - src/osgPlugins/cfg/ReaderWriterCFG.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/dxf/ReaderWriterDXF.cpp, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgPlugins/hdr/ReaderWriterHDR.cpp, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lws/ReaderWriterLWS.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/net/ReaderWriterNET.cpp, - src/osgPlugins/normals/ReaderWriterNormals.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/ogr/ReaderWriterOGR.cpp, - src/osgPlugins/osgShadow/ReaderWriterOsgShadow.cpp, - src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp, - src/osgPlugins/osgViewer/ReaderWriterOsgViewer.cpp, - src/osgPlugins/osga/ReaderWriterOSGA.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/rot/ReaderWriterROT.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/svg/ReaderWriterSVG.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp, - src/osgPlugins/txf/ReaderWriterTXF.cpp, - src/osgPlugins/txp/ReaderWriterTXP.h, - src/osgPlugins/vrml/ReaderWriterVRML2.h, - src/osgPlugins/x/ReaderWriterDirectX.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp: Converted plugins to use - the new supportsExtension()/supportsOptions/supportsProtocl() - methods - to help enable better querying of supported features - -2008-07-13 15:24 robert - - * include/osgDB/FileNameUtils, include/osgDB/ReaderWriter, - src/osgDB/FileNameUtils.cpp, src/osgDB/ReaderWriter.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/ive/ReaderWriterIVE.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp: Added new ReaderWriter - methods for recording what protocols, extensions and options are - support by ReaderWriters - -2008-07-13 12:34 robert - - * src/osgPlugins/osg/CMakeLists.txt: From Paul Martz, removed - uneccessary libraries from link line - -2008-07-12 17:44 robert - - * README.txt: Updated date for 2.5.4 release - -2008-07-12 17:30 robert - - * include/osg/KdTree: Added an OSG_EXPORT - -2008-07-12 16:11 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - Authors for dev release - -2008-07-12 15:29 robert - - * ChangeLog: Updated ChangeLog for dev release - -2008-07-12 12:00 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp: From Doug McCorkle, "Attached is - patch that corrects/improves the following issues with the OBJ - loader: - - 1. Added options to control wether the osgUtil::Tessellator or - osgUtil::TriStripVisitor are run. By default they still run just - as before. - 2. Added support for the Emissive material. The data was being - read from the mtl file but was never being applied to the model. - 3. This is the main bug addressed, when a model is read in with - an alpha value specified like: - - newmtl Material__8 - Ns 24 - d 0.33 - illum 2 - Kd 0.204 0.204 0.204 - Ks 0 0 0 - Ka 0.153 0.153 0.153 - - where the alpha value is d. The loader would then overwrite the - alpha value when reading the diffuse, specular, and ambient - colors. I have changed all the material color readers to only set - the values they read and to use the default colors specified in - the constructor of the obj class. With these changes, the obj - reader now handles opacity correctly if the alpha value is - specified before the material colo" - -2008-07-12 11:19 robert - - * examples/osgkdtree/CMakeLists.txt, - examples/osgkdtree/fixeddivision.cpp, - examples/osgkdtree/fixeddivision.h, - examples/osgkdtree/osgkdtree.cpp, - examples/osgkdtree/variabledivision.cpp, - examples/osgkdtree/variabledivision.h: Cleaned up osgkdtree - example - -2008-07-11 20:01 robert - - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version numbers - for dev release - -2008-07-11 19:52 robert - - * examples/osgmanipulator/osgmanipulator.cpp: From Adrain Egli, "i - added a default scene with 7 different draggers attached. it's - more easy to test the draggers." - -2008-07-11 19:43 robert - - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Christophe - Loustaunau, "For our application, we need to write tiff file in - floats. I have change a little bit the readerWritterTiff : - It check the data type of the image ( img.getDataType() ) and if - it's GL_FLOAT :It save the tiff with float values. - Otherwise it does the same thing as before." - -2008-07-11 19:23 robert - - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp: From Liang Aibin, " In - lastest svn version of OSG, the .ive plugin missing osg::Light, - it - does not process I/O for osg::Light. Now I have fixed it as - follows: - - 2. In DataInputStream.cpp, I add support code in - DataInputStream::readStateAttribute - for osg::Light. - - 3. In DataOutputStream.cpp, I add support code in - DataOutputStream::writeStateAttribute - for osg::Light. - " - -2008-07-11 17:46 robert - - * src/osgPlugins/OpenFlight/Opcodes.h, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: From Joakim - Simmonson, - "Opcodes.h: - * Added INVALID_OP as -1 in the Opcodes enum. Note that - INVALID_OP is not an actual opcode defined in the OpenFlight - format. The purpose of INVALID_OP is to mark an opcode variable - as invalid or uninitialized. - - ReaderWriterFLT.cpp: - * The header node is returned if it exists, even if the file does - not contain a node hierarchy. The old behaviour returned a - ERROR_IN_READING_FILE error. - * Changed opcodes initialized to -1 to the new enum value - INVALID_OP." - -2008-07-11 17:41 robert - - * src/osgPlugins/OpenFlight/AncillaryRecords.cpp, - src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/ExportOptions.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/Pools.h, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/VertexRecords.cpp, - src/osgPlugins/OpenFlight/expAncillaryRecords.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp: From Joakim - Simmonsson, fixed various spelling typos in comments +"Attached the UNION_OF_BOUNDING_SPHERE_AND_USER_DEFINED version +There are impacts on some serializers (dae, osgWrapper). +I haven't modified deprecated osg, since it's deprecated" -2008-07-11 17:35 robert - * src/osgPlugins/ac/ac3d.cpp: From Mathias Froehlich, "Due to the - recent data variance changes/discussion: - Change the ac3d loader that can as such only deliver static - models to set the - data variance to static for the returned model. - " -2008-07-11 17:07 robert +Mon, 19 Sep 2011 10:12:53 +0000 +Checked in by : Robert OSFIELD +Added removal of [..] from names returned from glGetActiveUniform results to avoid issues with name lookups when the driver add the [..] for uniform arrays. - * src/osgGA/DriveManipulator.cpp: Increased the buffer and fixed - the buffer calculation when moving backwards into objects +Mon, 19 Sep 2011 09:44:29 +0000 +Checked in by : Robert OSFIELD +Copya and Paste Anti-Pattern strikes again! Renamed FreeType usage to Revisions to correct previous mistake when copying and modifying the ReaderWriter. -2008-07-11 16:51 robert +Wed, 14 Sep 2011 10:45:11 +0000 +Checked in by : Robert OSFIELD +Fixed memory leak - * src/osgUtil/LineSegmentIntersector.cpp: Updated KdTree code to - refect new cleaned up API +Wed, 14 Sep 2011 10:22:04 +0000 +Checked in by : Robert OSFIELD +Added missing forward declaration -2008-07-11 16:50 robert +Wed, 14 Sep 2011 10:02:11 +0000 +Checked in by : Robert OSFIELD +Added asCamera() methods into osg::Camera and osg::Node - * src/osgViewer/View.cpp: Tweaked the KdTree intersection - performance testing code block +Wed, 14 Sep 2011 09:49:28 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "attached is a zipped OpenSceneGraph\src\osgPlugins\ffmpeg\FFmpegDecoderAudio.cppIt solves a wrong sample format being set for audiostreams type S32 and F32, for the +enum AVSampleFormat (in include/avutil/samplefmt.h) doesn't match +enum SampleFormat (in include/osg/AudioStream) for anything but +SAMPLE_FORMAT_U8 and SAMPLE_FORMAT_S16 +" -2008-07-11 16:48 robert +and follow up that address versioning issue - * src/osgWrappers/osg/KdTree.cpp: Updated wrappers +"I can find the change, avutil version 50.38.0 introduced a new header file: +libavutil/samplefmt.h +older versions use +libavcodec/avcodec.h +with the sampleformats without AV_ -2008-07-11 16:48 robert +an intermideate fix with the FF_API_OLD_SAMPLE_FMT is removed from ffmpeg 0.8.3 so +I think this is the correct fix: - * include/osg/KdTree, src/osg/KdTree.cpp: Moved the building and - intersecting of the KdTree into the .cpp, and cleaned up - the header to ready it for wider usage +#if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(50,38,0) +#define AV_SAMPLE_FMT_NONE SAMPLE_FMT_NONE +#define AV_SAMPLE_FMT_U8 SAMPLE_FMT_U8 +#define AV_SAMPLE_FMT_S16 SAMPLE_FMT_S16 +#define AV_SAMPLE_FMT_S32 SAMPLE_FMT_S32 +#define AV_SAMPLE_FMT_FLT SAMPLE_FMT_FLT +#define AV_SAMPLE_FMT_DBL SAMPLE_FMT_DBL +#define AV_SAMPLE_FMT_NB SAMPLE_FMT_NB +#endif +" -2008-07-10 15:50 robert - * include/osg/KdTree, src/osg/KdTree.cpp: Streamlined KdTree - implementation -2008-07-09 19:43 robert - * src/osgWrappers/osg/KdTree.cpp, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp: Updated wrappers -2008-07-09 19:42 robert - * src/osg/KdTree.cpp: Cleaned up KdTree implementation +Tue, 13 Sep 2011 13:38:26 +0000 +Checked in by : Robert OSFIELD +From Morten Hauknes, "I have been using the getLastVisiblePixelCount on pre 3.0 osg. I believe maybe this was a private function that we made public in our side. I use(d) this method to make a simple algorithm to tell how much visible an object was in percent.So with the 3.0 api change we propose the following change: +- put OSG_EXPORT on the QueryGeometry class so that we get access to the getNumPixels method. +- Create a function called getQueryGeometry that returns a casted _queryGeode->getDrawable(). Or a function called getQueryGeode that returns _queryGeode." -2008-07-09 19:41 robert - * include/osg/KdTree: Reordered KdLeaf/KdNode so that the first - element to be accessed is first in the data structure -2008-07-09 19:40 robert +Tue, 13 Sep 2011 13:33:41 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, removed unneccessary BUILD_QT_EXAMPLES cmake option - * include/osgUtil/IntersectionVisitor, - src/osgUtil/IntersectionVisitor.cpp, - src/osgUtil/LineSegmentIntersector.cpp: Introduced code for doing - dummy test traversals - used for benchmarking KdTree code. +Tue, 13 Sep 2011 11:48:06 +0000 +Checked in by : Robert OSFIELD +From Sukender, "I just fount that writing double precision values (eg. Vec3dArray for vertices) works with .osg but not .osgt/.osgx. So here is the fix (SVN trunk r12712). I suppose .osgb works as expected on this point and did not change anything. So, as for .osg, if you add "precision 16" (for instance) to the optionString, then you'll get double precision vertices written correctly. " -2008-07-09 19:28 robert +Tue, 13 Sep 2011 11:09:39 +0000 +Checked in by : Robert OSFIELD +From Robert Milharcic, "This will hopefully fix some issues with osgQt, more precisely with GLWidget event handling. There are at least two current GL context braking events, QEvent::Hide and QEvent::ParentChange. When running in a multithreaded mode they both try to change current GL context in a wrong thread (main GUI thread). The QEvent::ParentChange is also problematic when running in a single threaded model because Qt is going to release current contex then delete it, and then it will create new one, and as a result the osg will continue to render to an invalid deleted context. This changes workaround above problems by deferring execution of the problematic evens. These events has to be enqueued and executed later. The enqueued event processing is currently done right after swap in a swapBuffersImplementation of GraphicsWindowQt while code is running in a render thread by calling QGLWidget handler directly. In principle the deferred events queue should be executed while in GUI thread but I couldn't find any reliable way to do this, that is without risking a deadlock. For now it is assumed, Qt is not going to execute any GUI thread only operations inside the QGLWidget handler." - * examples/osgpick/osgpick.cpp: Added range of camera manipulators - and a center of screen test intersection that - is insticated by pressing 'c' key +Tue, 13 Sep 2011 10:15:07 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, " The osgUtil::CullVisitor class will display an OSG_INFO notification when attempting to clamp the projection matrix with invalid near/var values. This usually appears when the scene graph is empty or all objects are culled. I don't think this scenario warrants having this message appear every frame. It makes it very difficult to debug other issues when this notification floods the output window.I'd prefer to have the notification removed, but there might be legitimate cases where you want this displayed. Instead, I just disabled the output if the near/far values are equal to FLT_MAX (their initial values). This should at least prevent the notification for the common case where everything was culled." -2008-07-09 19:26 robert - * src/osgViewer/View.cpp: Introduce a intersecion performance - testing code path, #if def'd out for now. -2008-07-09 12:37 robert +Tue, 13 Sep 2011 09:59:21 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "Here's my proposed change regarding the osg-users post "small feature culling threshold". I've updated the comments and brought the default values into agreement, but didn't bother to add the environment variable support." - * src/osgWrappers/osg/KdTree.cpp: Updated wrappers +Tue, 13 Sep 2011 09:53:34 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, "I added a simple setting in OSG's CMakeLists.txt to be able to disable building anything related to Qt. It just skips the FindPackage(...) for Qt3 and Qt4, so since they are not found nothing related to Qt will be generated by CMake. The default is to build the Qt related stuff, so current behavior is unchanged." -2008-07-08 18:02 robert +Tue, 13 Sep 2011 09:46:22 +0000 +Checked in by : Robert OSFIELD +From Sukender, "I added a tiny check to avoid an integer divide-by-zero, when image is invalid (ie. all values are 0)." - * include/osgUtil/IntersectionVisitor: Fixed set method +Tue, 13 Sep 2011 09:43:45 +0000 +Checked in by : Robert OSFIELD +From Sukender, "I added a crash-guard against corrupted 3DS files, having faces indexes out of the range of existing vertices." -2008-07-08 17:35 robert +Tue, 13 Sep 2011 09:21:07 +0000 +Checked in by : Robert OSFIELD +From Farshild Lashkari, "Attached is a simple patch that avoids the depth write pass in Text::renderWithDelayedDepthWrites if the current osg::State object has GL_DEPTH_TEST disabled." - * include/osgUtil/IntersectionVisitor, - src/osgUtil/IntersectionVisitor.cpp, - src/osgUtil/LineSegmentIntersector.cpp: Added optional control of - whether to use KdTrees for intersections +Tue, 13 Sep 2011 09:17:21 +0000 +Checked in by : Robert OSFIELD +Reverted Paul Idstein warning fix as this was breaking the build -2008-07-07 20:27 robert +Mon, 12 Sep 2011 16:24:08 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, Added some error checks and memory cleanup. - * include/osg/KdTree, src/osg/KdTree.cpp, - src/osgUtil/LineSegmentIntersector.cpp: Implement hierachy - culling in KdTree::intersect(..) +Mon, 12 Sep 2011 16:20:45 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fixed build for OSX 10.6 and earlier -2008-07-07 14:27 robert +Mon, 12 Sep 2011 16:17:33 +0000 +Checked in by : Robert OSFIELD +From Johannes Baeuerle, opptimization of ES support of osg/BufferObject - * src/osgUtil/LineSegmentIntersector.cpp: Improved the handling of - KdTree intersections +Mon, 12 Sep 2011 12:38:41 +0000 +Checked in by : Robert OSFIELD +From Bjorn Blissing, "Found a minor (probably a copy & paste) bug in ViewerEventHandlers. Line 251: int getKeyEventWindowedResolutionDown() const { return _keyEventWindowedResolutionUp; }Should be replaced with: +int getKeyEventWindowedResolutionDown() const { return _keyEventWindowedResolutionDown; }" -2008-07-07 13:21 robert - * include/osg/KdTree, src/osg/KdTree.cpp, - src/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osg/KdTree.cpp: Implemented intial KdTree - triangle intersection code, but without culling implemented -2008-07-07 10:46 robert +Mon, 12 Sep 2011 12:26:55 +0000 +Checked in by : Robert OSFIELD +From Luc Frauciel, "When osgUtil::DelaunayTriangulator triangulate() function ends with no triangle generated, it crashes. This patch fixes that" - * src/osgDB/DatabasePager.cpp: Added KdTreeBuilder calls into - FindCompileableGLObjectsVisitor, and an alternative - path that explictly calls the KdTreeBuilde when required in cases - when no pre compile of GL objects is required. +Mon, 12 Sep 2011 12:14:17 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, documentation fixes -2008-07-07 09:40 robert +Mon, 12 Sep 2011 12:04:46 +0000 +Checked in by : Robert OSFIELD +Improved the clarity of doxygen comments - * include/osg/KdTree, src/osg/KdTree.cpp: Changed types to avoid - warnings under Windows +Mon, 12 Sep 2011 11:51:14 +0000 +Checked in by : Robert OSFIELD +Fixed typos in the documentation -2008-07-06 18:27 robert +Mon, 12 Sep 2011 11:28:14 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, from three submissions:"Here a patch that correct like the previous assign collada material name +to stateset." - * include/osg/KdTree, include/osgDB/DatabasePager, - include/osgDB/Registry, src/osg/KdTree.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/Registry.cpp, - src/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp: Changed the - DatabasePager so that it bypasses the Registry::readNode() method - and calls - readNodeImplementation() directly to avoid calling the - KdTreeBuilder. - - Updated wrappers. +and -2008-07-06 12:14 robert +"I changed how the collada reader set object name in osg. Current +implementation use collada ID to setup name. with this patch I use +collada name to setup name in osg object and if collada provide no name +I use as fallback ID. I am not sure we want this fallback. - * examples/osgkdtree/variabledivision.h, include/osg/KdTree, - src/osg/KdTree.cpp: Moved KdTree build code into osg::KdTree +The motivation of this change is that when an artist set names to its +objects and export to collada, I am not able to use those names in osg +to retrieve the node." -2008-07-05 17:29 robert +and - * src/osgUtil/LineSegmentIntersector.cpp: Added handling of - co-incident start and end points. +"Here the update of the file that fix the light id stuff" -2008-07-05 16:39 robert - * include/osgGA/DriveManipulator, include/osgGA/TerrainManipulator, - src/osgGA/DriveManipulator.cpp, src/osgGA/TerrainManipulator.cpp: - Ported intersection code to use new - osgUtil::LineSegmentIntersector/IntersectionVisitor. -2008-07-04 19:16 robert - * include/osgGA/TerrainManipulator, src/osg/KdTree.cpp, - src/osgGA/TerrainManipulator.cpp: Converted TerrainManipulator to - use osgUtil::InterectionVisitor rather than the - old IntersectVisitor +Mon, 12 Sep 2011 11:24:52 +0000 +Checked in by : Robert OSFIELD +From Bob Kuehne, build fix for OSX 10.7 SDK. -2008-07-04 17:02 robert +Mon, 12 Sep 2011 11:24:24 +0000 +Checked in by : Robert OSFIELD +From Paul Idstein, warning fixes for OSX 10.7 - * src/osgUtil/LineSegmentIntersector.cpp: Added KdTree intersection - support into LineSegmentIntersector +Mon, 12 Sep 2011 10:52:16 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, typo fixes -2008-07-04 15:57 robert +Mon, 12 Sep 2011 10:47:59 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I've encountered a strange problem that osgviewerMFC doesn't work well with the StatsHandler. When the 's' key is pressed, the rendering window will be halted. I tried solving the problem by commenting a line in CMFC_OSG_MDIView::OnKeyDown() and it seems to work now.Another improvement here is to use a thread class derived from +OpenThreads to replace the old _beginthread(). It helps a lot in +keeping a high frame rate when you open more than one MDI child +windows. And the application using OpenThreads in my opinion will be +more compatible and portable." - * examples/osgkdtree/osgkdtree.cpp, include/osg/KdTree, - include/osgDB/ReaderWriter, include/osgDB/Registry, - src/osg/CMakeLists.txt, src/osg/KdTree.cpp, - src/osgDB/Registry.cpp, src/osgTerrain/GeometryTechnique.cpp: - Added prelimnary KdTree data structure and automatic kdtree build - support - into osgDB::Registry/osgTerrain so that newly created subgraphs - can have - KdTree built on all osg::Geometry automatically on load/creation. -2008-07-04 11:51 robert - * include/osg/Geometry: Moved vertex indicies method into a single - block with deprecated doc lines +Mon, 12 Sep 2011 10:46:42 +0000 +Checked in by : Robert OSFIELD +Updated SO version number to 90 to allow for recent changes to the ABI, and to set the base for the 3.1.0 series. -2008-07-03 17:18 robert +Mon, 12 Sep 2011 10:43:24 +0000 +Checked in by : Robert OSFIELD +From Sukender, "I added private constructors to osg::ValueObject & TemplatedValueObject, to avoid allocation on the stack and ugly things like: TemplatedValueObject value(....); container->addUserObject(value);" - * examples/osgkdtree/variabledivision.cpp, - examples/osgkdtree/variabledivision.h: Introduced bounding boxes - to KDLeaf and KDNode structs +Wed, 7 Sep 2011 20:05:25 +0000 +Checked in by : Robert OSFIELD +Added handling the ShadowSettings::LightNum for selecting which light to use. -2008-07-03 15:49 robert +Wed, 7 Sep 2011 16:26:57 +0000 +Checked in by : Robert OSFIELD +Added handling of the case when RenderLeaf::_modelview matrix is NULL, such as when LightPointNode is used in the scene graph. - * examples/osgkdtree/CMakeLists.txt, - examples/osgkdtree/osgkdtree.cpp, - examples/osgkdtree/variabledivision.cpp, - examples/osgkdtree/variabledivision.h: Added new data structure + - build algorithm that places triangles into leaves - without being shared, but with varying the boundaries of leaves - so that they - may overlap. +Wed, 7 Sep 2011 15:55:54 +0000 +Checked in by : Robert OSFIELD +Moved ViewDependetShadowMap parameter settings into a dedicated ShadowSettings object in prep for making it possible to scale the API to handle multiple lights and multiple shadow maps per light. -2008-07-03 15:01 robert +Tue, 6 Sep 2011 17:26:27 +0000 +Checked in by : Robert OSFIELD +Added setting of the shadow map Camera's name to "ShadowCamera" to improve integration with osgOcean. - * src/osg/BufferObject.cpp: From Mario Valle, "xed the following - warning on Linux 64 bits Athlon: - - /users/mvalle/OSG/OpenSceneGraph/src/osg/BufferObject.cpp: In - member function `virtual void - osg::ElementBufferObject::compileBuffer(osg::State&) const': - /users/mvalle/OSG/OpenSceneGraph/src/osg/BufferObject.cpp:600: - warning: cast to pointer from integer of different size" +Tue, 6 Sep 2011 14:13:13 +0000 +Checked in by : Robert OSFIELD +Added optimization of the mutliple cessna shadow model to address peformance issues when rendering 100 cessna's. -2008-07-03 14:59 robert +Tue, 6 Sep 2011 11:42:54 +0000 +Checked in by : Robert OSFIELD +Added -5 model option using Wang Rui's test demo as a base - * src/osg/BufferObject.cpp: From Mario Valle, removed extraneous - spaces +Tue, 6 Sep 2011 11:11:38 +0000 +Checked in by : Robert OSFIELD +Fixed the heights of the trees and houses -2008-07-03 11:23 robert +Tue, 6 Sep 2011 10:12:45 +0000 +Checked in by : Robert OSFIELD +Added s/getPerspectiveShadowMapCutOffAngle() and use of this when setting up light space to avoid sigularaties when the light and view directions are co-incident. - * examples/osgkdtree/fixeddivision.h: Added header guards +Mon, 5 Sep 2011 12:36:47 +0000 +Checked in by : Robert OSFIELD +Added support for setting whether ViewDependentShadowMap should provide it's own vertex and fragment shaders. -2008-07-03 11:22 robert +Mon, 5 Sep 2011 12:27:20 +0000 +Checked in by : Robert OSFIELD +Replaced use of ShapeDrawable with osgTerrain for the terrain tile - * examples/osgkdtree/CMakeLists.txt, - examples/osgkdtree/fixeddivision.cpp, - examples/osgkdtree/fixeddivision.h, - examples/osgkdtree/osgkdtree.cpp: Refactored example so that the - example will be able to run different kdtree data - strucutres/algorithms. +Fri, 2 Sep 2011 10:16:16 +0000 +Checked in by : Robert OSFIELD +Added s/getTextureSize() method for setting the shadow map texture size. -2008-07-03 11:07 robert +Fri, 2 Sep 2011 07:46:08 +0000 +Checked in by : Robert OSFIELD +Disabled the use of the ReceivesShadowTraversalMask() mask - * CMakeLists.txt: From Eric Sokolowsky, "The check for Leopard to - build 4-way binaries by default was broken. Here is an updated - CMakeLists.txt file to fix the problem." +Thu, 1 Sep 2011 18:49:33 +0000 +Checked in by : Robert OSFIELD +Added test line for COMPUTE_NEAR_USING_PRIMITIVES -2008-07-03 10:24 robert +Thu, 1 Sep 2011 18:48:21 +0000 +Checked in by : Robert OSFIELD +Added fine grained computation of the far plane when using the COMPUTE_NEAR_FAR_USING_PRIMITIVES ComputeNearFarMode. Added COMPUTE_NEAR_FAR_USING_PRIMITIVES option that provides the original functionality where only the near plane is computed in a fine grained way, with the far plane being computed simply from bound volumes. - * examples/osgkdtree/osgkdtree.cpp: Implement an experiemental - triangle kdtree building support +Mon, 29 Aug 2011 16:01:02 +0000 +Checked in by : Robert OSFIELD +From Tony Horrobin, build fix -2008-07-03 10:03 robert +Mon, 29 Aug 2011 10:26:05 +0000 +Checked in by : Robert OSFIELD +Added fallback base texture - * src/osgText/FadeText.cpp: Set the DataVariance on FadeText to - DYNAMIC to reflect their nature +Mon, 29 Aug 2011 09:59:47 +0000 +Checked in by : Robert OSFIELD +Added support for setting the MinimumShadowMapNearFarRatio. -2008-07-02 10:00 robert +Fri, 26 Aug 2011 15:40:09 +0000 +Checked in by : Robert OSFIELD +Fixed bug in computaton of the min/max x/z ratios. - * src/osgWrappers/osgDB/SharedStateManager.cpp: Updated wrappers +Fri, 26 Aug 2011 15:36:33 +0000 +Checked in by : Robert OSFIELD +Added names to models to help with debugging. -2008-07-02 09:25 robert +Fri, 26 Aug 2011 10:52:25 +0000 +Checked in by : Robert OSFIELD +Added releaseGLObjects/resizeGLObjectBuffers support - * include/osgDB/SharedStateManager, - src/osgDB/SharedStateManager.cpp: Introduced support for - UNSCPECIFIED and STATIC DataVariance of StateSet/Textures +Thu, 25 Aug 2011 17:21:38 +0000 +Checked in by : Robert OSFIELD +Improved the handling of depth partitioning and orthographic datasets -2008-07-01 19:04 robert +Thu, 25 Aug 2011 15:39:09 +0000 +Checked in by : Robert OSFIELD +Added event handling for toggling on/off the light source animation. - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: From Colin McDonald, - "There is a problem reading bmp files containing a colour - palette, - due to an incorrect scan line length calculation. Attached is a - fix, - and a little bmp file which demonstrates the problem." +Wed, 24 Aug 2011 19:38:58 +0000 +Checked in by : Robert OSFIELD +Added support for user defined setting of the shadow texture unit -2008-07-01 18:37 robert +Wed, 24 Aug 2011 13:57:15 +0000 +Checked in by : Robert OSFIELD +Changed new ViewDependentShadowMap to default to a perspective shadow map with automatic detection of a spot light/perspetive light projection matrix to prevent inappropriate usage of perspective shadow map. - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/FadeText.cpp, src/osgPlugins/ive/FadeText.h, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/Text.cpp, src/osgPlugins/ive/Text3D.cpp, - src/osgPlugins/ive/Text3D.h: From Lilin Xiong, "I change ive - plugin a little for osgText inout, so the ive plugin supports - backdrop setting, - and Text3D, FadeText inout : - - 1. in DataInputStream.cpp, add 1286--1293 lines; - 2. in Text.cpp, add some code for text's Backdrop setting; - 3. in IveVersion.h, add line 39, increase the VERSION to - VERSION_028(line 41) - 4. in ReadWrite.h, add line 146,147 - 5. add file FadeText.h, FadeText.cpp, Text3D.h, Text3D.cpp." +Wed, 24 Aug 2011 12:32:03 +0000 +Checked in by : Robert OSFIELD +Imorovements to the new perspective/lispsm style shadow implementation. -2008-07-01 13:56 robert +Wed, 24 Aug 2011 12:31:35 +0000 +Checked in by : Robert OSFIELD +Quitened down and fixed warning - * examples/osgkdtree/osgkdtree.cpp: Added Vec3Array arrange pointer - to avoid dynamic cast +Fri, 19 Aug 2011 12:42:51 +0000 +Checked in by : Robert OSFIELD +Quitended down debug messages and added passing of RenderStage to LispSM code -2008-07-01 09:40 robert +Fri, 19 Aug 2011 10:43:38 +0000 +Checked in by : Robert OSFIELD +Improved the LispSM computation - * CMakeModules/CheckAtomicOps.cmake, src/osg/Referenced.cpp: From - Mathias Froehlich, "It appears not to be sufficient to set a - cmake variable to get a define in - such a config file. Instead set that variable to 1. Also included - a small compile fix, that appears to be required than ..." +Fri, 19 Aug 2011 10:43:15 +0000 +Checked in by : Robert OSFIELD +Changed the local variable near/far type -2008-06-30 16:53 robert +Wed, 17 Aug 2011 17:06:55 +0000 +Checked in by : Robert OSFIELD +Added back in control of the backface culling. - * src/osgUtil/RenderStage.cpp: Added guards against FBO not being - supported/setup +Wed, 17 Aug 2011 16:09:17 +0000 +Checked in by : Robert OSFIELD +intermin check-in of work on new LispSM implementation -2008-06-29 13:41 robert +Mon, 15 Aug 2011 14:37:16 +0000 +Checked in by : Robert OSFIELD +Added missing assignement of _simulationTime. - * README.txt: Updated README date for 2.5.3 dev release +Sat, 13 Aug 2011 19:09:58 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "Recent changes to osgShadow on trunk were apparently not yet tested with ref_ptr implicit casting disabled. Attached is a fix. " -2008-06-29 12:22 robert +Fri, 12 Aug 2011 20:29:14 +0000 +Checked in by : Robert OSFIELD +Added public interface for selecting use of perspective and light space perspective shadow maps. Implementation of backends not implemented yet so will follow. - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp: Changed the - Optimizer::StateVisitor so that it can individually decide - whether - to optimize away duplicate state with dynamic, static and - unspecified DataVarience. By default - the code now optimizes away duplicate state with either static - and unspecied state, previously - it was just handling static state. +Fri, 12 Aug 2011 14:53:40 +0000 +Checked in by : Robert OSFIELD +Implemented first pass at shaders for new ViewDepedentShadow map class -2008-06-28 16:59 robert +Tue, 9 Aug 2011 15:57:37 +0000 +Checked in by : Robert OSFIELD +Implemented ViewDependentShadowMap::setDebugDraw(bool) to allow osgshadow to enable/disable the debug display via the standard --debugHUD option. - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/ViewerBase.cpp: - Added realize of new graphics contexts to handle new views being - added with - unrealized windows - -2008-06-27 19:40 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Changed - back to use an std::vector<> rather than a std::list for - RequestQueue to - avoid member template problems under Solaris. - -2008-06-27 18:59 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: - Refactored the sort of the requestQueue so that there is single - code path for doing the sort. - -2008-06-27 16:47 robert - - * CMakeModules/CheckAtomicOps.cmake, src/osg/Image.cpp: From - Mathias Froehlich, "Update to the configure check for msvc 7.1. - MemoryBarrier() is used in the implementation, so it should be - checked. - This in effect disables the faster atomic ops on msvc 7.1 and - older, even if - only the MemoryBarrier() call is missing. But it ensures for the - fist cut - that it will build everywhere. If somebody cares for msvc 7.1 - enough and has - one for testing installed, he might provide the apropriate - defines to guard - that MemoryBarrier() call. - - I tested that msvc8 32/64bit still passes the configure tests and - compiles. - " - -2008-06-27 12:44 robert - - * include/osg/MixinVector, include/osg/Shape: Simplified the - MixinVector class so that it no longer supports custom - allocators, - instead just uses std::vector<>'s default allocators. - -2008-06-27 12:35 robert - - * include/osg/NodeVisitor, src/osg/NodeVisitor.cpp: Moved the - apply(&) default implementations from the header into the - NodeVisitor.cpp, - and changed the casts to use static_cast<>. - -2008-06-27 11:47 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - from Stephan Huber: updated XCode project - -2008-06-27 10:17 robert - - * include/osgShadow/ParallelSplitShadowMap, - include/osgUtil/Optimizer: From Andre Normann, "with version - 8504, I am not able to compile osgwrappers under Windows, because - there are some DLL export macros missing. I fixed it and put the - files in the attached zip file. - " - -2008-06-26 19:51 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - authors and osgversion - -2008-06-26 19:47 robert - - * ChangeLog: Updated ChangeLog - -2008-06-26 19:21 robert - - * genwrapper.conf, src/osgWrappers/OpenThreads/Atomic.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp: Updated wrappers - -2008-06-26 18:34 robert - - * src/osgUtil/IntersectionVisitor.cpp: From Paul Martz, "The method - IntersectionVisitor::apply(osg::PagedLOD&) appears to attempt to - identify a "highest res" child of the PagedLOD and only allow - intersection on that child. The implementation appears to be - flawed in two cases: - - 1) The "highest res" child is assumed to be the child with index - "getNumFileNames()-1" or "getNumChildren()-1". As a result, - PagedLODs that do not sort children from furthest to nearest will - intersect with the wrong child. (see attached "case1.osg" to - reproduce this problem.) - - 2) The code assumes there is only one highest res child. As a - result. PagedLODs with multiple children at the same highest res - range can only intersect one of those children. ("case2.osg" - demonstrates this issue; you can only pick the quad on the - right.) - - I've attached a modified IntersectionVisitor.cpp that attempts to - resolve these issues. It identifies a highest res range based on - the range mode, then continues traversal on all valid children - corresponding to that range description. Only in the case of a - malformed PagedLOD does the code fall back to getting the last - child in the list. - " - -2008-06-26 18:06 robert - - * src/osgParticle/ExplosionDebrisEffect.cpp, - src/osgParticle/ExplosionEffect.cpp, - src/osgParticle/FireEffect.cpp, - src/osgParticle/ParticleEffect.cpp, - src/osgParticle/SmokeEffect.cpp, - src/osgParticle/SmokeTrailEffect.cpp: From Morten Haukness, "When - cloning effects osg crashes because the copy constructur tries to - run av pure virtual method (setUpEmitterAndProgram). The right - thing to do when cloning an effect is to run the inherited - version og buildEffect and setUpEmitterAndProgram. - - " - -2008-06-26 16:45 robert - - * src/osg/GraphicsContext.cpp: Changed the removeCamera() method so - that it now actively calls releaseGLObjects() - on all children of a camera that aren't shared with other cameras - on that context. - - This change fixes problems with allocating and deleting views. - -2008-06-26 15:06 robert - - * src/OpenThreads/sproc/CMakeLists.txt, - src/OpenThreads/win32/CMakeLists.txt: From Mathias Froehlich, - updated CMakeLists.txt to build the Atomic.cpp - -2008-06-26 13:09 robert - - * CMakeLists.txt: From Eric Sokolowski, added enforcement of CMake - 2.6.0 under OSX. - -2008-06-26 13:08 robert - - * examples/osgviewerCocoa/CMakeLists.txt: From Eric Sokolowski, - Cmake support for osgviewerCocoa - -2008-06-26 12:08 robert - - * include/osg/CullSettings, src/osg/OcclusionQueryNode.cpp, - src/osgUtil/IntersectionVisitor.cpp: From Mathias Froehlich, - build fixes for various unices - -2008-06-26 10:33 robert - - * src/OpenThreads/common/Config.in, src/osg/Config.in: From Mathias - Froehlich, added do not edit comments to Config.in so that the - autogenerated - Config files have an appropriate warning notice - -2008-06-26 10:27 robert - - * CMakeModules/CheckAtomicOps.cmake, include/OpenThreads/Atomic, - include/osg/Referenced, src/OpenThreads/common/Atomic.cpp, - src/OpenThreads/pthreads/CMakeLists.txt, src/osg/Referenced.cpp: - From Mathias Froechlich, "Attached is a change to that atomic - stuff to move the win32, msvc - implementation of the atomic increment and decrement into a - implementation - file. - This way inlining and compiler optimization can no longer happen - for these - implementations, but it fixes compilation on win32 msvc targets. - I expect - that this is still faster than with with mutexes. - - Also the i386 gcc target gets atomic operations with this patch. - By using an - implementation file we can guarantee that we have the right - compiler flags - available." - -2008-06-23 15:11 robert - - * include/osgDB/ReaderWriter: Fixed pedantic warning - -2008-06-23 14:51 robert - - * CMakeModules/CheckAtomicOps.cmake, include/OpenThreads/Atomic: - From Mathias Froehlich, "fixed win32/win64 configure check and - win32/win64 - atomic related compile failures with msvs2005. Attached changes - to make win32 - really use the atomic stuff. There are pointer typecast problems - and some - historic alignment restrictions that I just took from a previous - similar - implementation of mine without looking deep enough. " - -2008-06-23 11:14 robert - - * CMakeLists.txt: From Mathieu Marache, "Suibject: CMakeList - ADD_DEFINITION for CMAKE_DEBUG_POSTFIX broken - I needed a -DCMAKE_DEBUG_POSTFIX="d" not a - -D"CMAKE_DEBUG_POSTFIX=d". - - This corrects the build for the CMake 2.4 and 2.6 series - - The error was in compiling osgDB/Registry.cpp - " - -2008-06-23 10:18 robert - - * CMakeLists.txt, src/OpenThreads/CMakeLists.txt: Commented out the - explict install of the Config files as including these files into - the header list allows the normal Cmake install support to - install them. - -2008-06-23 09:57 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake, - examples/CMakeLists.txt, examples/osgviewerCocoa/ViewerCocoa.mm, - src/osgPlugins/freetype/CMakeLists.txt: From Eric Sokolowsky, "I - have made a number of changes intended to get a few things - working better on OSX. However, since I'm still pretty new at Mac - development and cmake I'm not entirely certain that the changes I - have made are benign on other platforms. I have tested these - changes on Leopard with CMake 2.6 generating Xcode 3.0 projects, - compiling on ppc and i386 for 10.5 and 10.4, and on Linux - (CentOS) and everything still seems to work ok. Here are the - changes I made (against OSG svn as of this afternoon): - - - Added osgviewerCocoa example to APPLE builds - - Fixed corrupt Xcode project generation with CMake 2.6 dealing - with ADD_DEFINITIONS and CMake Policy CMP0005 on Leopard - - Resolved CMP0006 warning for examples and programs by setting - BUNDLE DESTINATION to same as RUNTIME DESTINATION with CMake 2.6 - - Fixed freetype plugin on Leopard to avoid OpenGL linking - problem - - Figured out how to use a custom Info.plist included in the - project (see osgviewerCocoa application CMakeLists.txt)" +Tue, 9 Aug 2011 15:20:25 +0000 +Checked in by : Robert OSFIELD +Changed RTT Camera to use depth. -2008-06-23 08:06 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/config, - Xcode/OpenSceneGraph/config/OpenThreads, - Xcode/OpenSceneGraph/config/OpenThreads/Config, - Xcode/OpenSceneGraph/config/osg, - Xcode/OpenSceneGraph/config/osg/Config: From Stephan Huber: added - missing config files and updated xcode-project +Tue, 9 Aug 2011 13:39:57 +0000 +Checked in by : Robert OSFIELD +Implemented caching of Camera, Texture and TexGen -2008-06-21 17:56 robert - - * src/osgPlugins/cfg/ReaderWriterCFG.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Quietened down debug info - -2008-06-21 17:50 robert +Tue, 9 Aug 2011 06:54:44 +0000 +Checked in by : Robert OSFIELD +Added replacement of the placeholder StateSet in the StateGraph with custom StateSet implemented just for the needs of that particular frame. - * include/osg/GraphicsContext, - src/osgPlugins/cfg/ReaderWriterCFG.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Added support for X11's - overrideRedirect functionality - -2008-06-21 11:34 robert - - * examples/osgviewerCocoa/Info.plist, - examples/osgviewerCocoa/ViewerCocoa.h, - examples/osgviewerCocoa/ViewerCocoa.mm: Converted tabs to four - spaces - -2008-06-20 19:52 robert - - * CMakeLists.txt, src/OpenThreads/CMakeLists.txt, - src/osg/CMakeLists.txt: Changed the include/osg/Config and - include/OpenThreads/Config references to use the assocaited CMake - variable for these headers - -2008-06-20 19:51 robert - - * ChangeLog: Updated ChangeLog - -2008-06-20 17:32 robert - - * src/osg/CMakeLists.txt: From Terry Welsh, added missing - MixinVector header - -2008-06-20 16:57 robert - - * src/osgViewer/CMakeLists.txt: Added OSG_WINDOWING_SYSTEM cmake - option string to allow toggling between X11 and Carbon under OSX. - -2008-06-20 15:50 robert - - * CMakeLists.txt, include/osg/BoundingBox, - include/osg/BoundingSphere, include/osg/Matrix, - include/osg/Plane, src/osg/CMakeLists.txt, src/osg/Config.in: - From Mathias Froehlich, moved optional config variables into - include/osg/Config file that - is automatically created by cmake according to its own settings. +Mon, 8 Aug 2011 17:00:55 +0000 +Checked in by : Robert OSFIELD +Further work on basic ViewDependentShadowMaps, adding implementation of RTT camera and texgen setup. -2008-06-20 15:49 robert +Sun, 7 Aug 2011 15:54:21 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebestien Guay and Robert Osfield, mixture of two sets of change - one from JS that adds more controls for specifying positional and spot lights, and from RO adding support for the new ViewDepedentShadowMap - * ChangeLog: Updated ChangeLog +Sun, 7 Aug 2011 15:51:54 +0000 +Checked in by : Robert OSFIELD +Preliminary work on new ViewDependentShadowMap base class -2008-06-20 15:28 robert +Fri, 29 Jul 2011 11:22:32 +0000 +Checked in by : Robert OSFIELD +Commented out the colorAmbientEmissive += gl_FrontLightProduct[0].ambient; line from the fragment shader as it was causing problems with the shadowed region being sporadically lit when using a spotlight. - * src/osgPlugins/Inventor/ConvertToInventor.cpp: Changed const - double* to const Matrix::value_type* to ensure changes in Matrix - type don't break the build +Fri, 29 Jul 2011 07:42:55 +0000 +Checked in by : Robert OSFIELD +Fixed comment on end barrier position. -2008-06-20 13:16 robert +Thu, 28 Jul 2011 16:40:28 +0000 +Checked in by : Robert OSFIELD +Improved handling of the scaling of dicom imagery. - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: From Terry - Welsh, new flatten static transforms visitor that duplicates - subgraphs that are shared beneath differnt static transforms - - From Robert Osfield, made a range of changes to Terry's visitor - integrating it into osgUtil::Optimizer and - changing the code to use a style more like the rest of the OSG. - -2008-06-20 11:16 robert - - * CMakeLists.txt: From Mathias Froehlich, made the include of bin - directory for include/OpenThreads/Config only used when doing out - of source builds - -2008-06-20 11:11 robert - - * CMakeLists.txt, include/OpenThreads/Version, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc, - packaging/pkgconfig/openthreads.pc, - src/OpenThreads/CMakeLists.txt: Updated version numbers for dev - releases - -2008-06-20 10:46 robert - - * src/osgSim/ShapeAttribute.cpp: From Mathias Froehlich, "Fixes a - compile of src/osgSim/ShapeAttribute.cpp on suse 10.2." +Thu, 28 Jul 2011 12:07:22 +0000 +Checked in by : Robert OSFIELD +Refectored the EGL setup so that it's honours the Traits values. -2008-06-20 09:46 robert +Thu, 28 Jul 2011 11:05:10 +0000 +Checked in by : Robert OSFIELD +Reverted the change to the default setting of _resizeNonPowerOfTwoHint back to true for all platforms to ensure the same behaivour across platforms, something that can be achieved now thanks to the integrated GLU library.Corrected the default of the ResizeNonPowerOfTwoHint to true to reflect the actual default setting set by the +Texture default constructor. - * include/OpenThreads/Atomic: From Melchior Franz, fixed typo on - variable name - -2008-06-20 09:42 robert - - * CMakeLists.txt: From Mathias Froehlich, add search path to enable - out of source builds to find include/OpenThreads/Config. - -2008-06-19 20:42 robert - - * genwrapper.conf, src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Updated wrappers - -2008-06-19 20:38 robert - - * include/osg/Array, include/osg/MixinVector, - include/osg/PrimitiveSet: From Neil Groves, - - "I have taken the liberty of updating a few files so that there - is no longer any derivation from std::vector. I have done this by - adding a new file osg/MixinVector and by updating only two - others: osg/PrimitiveSet and osg/Array. You will notice that this - actually removes what is acknowledged as a \u2018hack\u2019 in - osg/PrimitiveSet. - - With the original code I did manage to find memory leaks with - some compiler options on VC 8 and 9, as well as Intel compiler. I - determined the leak existence by instrumenting the destructor - code, and by use of a garbage collector as a leak detector (in a - similar manner to the Firefox project). Hence in contrast to what - I said originally, it is exhibiting symptoms on at least some - platforms. - - Since I am trying to be a good OSG citizen I got out my editor - and started hacking! I have built and tested on Linux (Ubuntu) - with GCC 4.x and Windows VC 8 SP1. It appears that nothing is - broken, and that I\u2019m using less memory J" - -2008-06-19 17:35 robert - - * src/osgDB/Registry.cpp: From Mathieu Marache, "submission for - inclusion to support mpg and avi files when using the quicktime - plugin on windows" - -2008-06-19 17:30 robert - - * include/osg/Referenced, src/osg/Referenced.cpp: From Mathias - Froehlich, added support for using OpenThreads::Atomic for thread - safe ref/unref. - -2008-06-19 14:57 robert - - * src/osgPlugins/ive/LineStipple.cpp, - src/osgPlugins/ive/LineStipple.h: from Andrew Bettison, - LineStipple support for .ive - -2008-06-19 14:45 robert - - * include/osgShadow/ParallelSplitShadowMap, - src/osgShadow/ParallelSplitShadowMap.cpp: From Adrian Egli, - "Improvements to the PSSM implementation" - -2008-06-19 14:35 robert - - * src/osgPlugins/OpenFlight/MaterialPaletteManager.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp: From Rudolf - Weidemann, "in the OpenFlight format materials can have editable - names. - In the OSG OpenFlight plugin these names are ignored when - reading, and - empty strings are written. - - As we need these names in the OSG scene graph by our application, - I - changed the plugin code, so the names are now stored in class - "osg::Material" (derived from "osg::Object") by - material->setName(); - (see "PaletteRecords.cpp, line 195) when reading the file, and - written - to file by - dos.writeString( m.Material->getName(), 12 ); - (see MaterialPaletteManager.cpp, line 80). - - As these names otherwise get lost when reading an OpenFlight file - and - writing it again e.g. by - osgconv example.flt converted_example.flt - these changes make the plugin more complete. - - The changes were made to OSG revision 8425, and were tested by - osgconv example.flt converted_example.flt - comparing the material palettes of both files inside Multigen - Creator." - -2008-06-19 14:29 robert - - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: From - Farshid Lashkari, "I noticed some problems when setting up - CameraNodes that inherit - viewport settings in stereo mode. It seems that the - SceneView::cull() - method will pass the full size viewport to the left/right - cullvisitors, instead of the modified stereo viewport. I made - quite a - few changes to SceneView to fix the issue. The - SceneView::cullStage() - method will now receive the viewport as an argument, instead of - using - the global viewport. The SceneView::cull() method will pass the - modifed viewport to cullStage when rendering in stereo. - - There are 2 new private methods computeLeftEyeViewport() and - computeRightEyeViewport() that will compute the stereo viewports. - I - also modified the draw() function so it applies the correct - viewport - to the prerender stages. These changes are only necessary for - horizontal/vertical split stereo." - -2008-06-19 14:14 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/ReadWrite.h: From Andrew Bettison, "Attached - are changes for src/osgPlugins/ive (version 2.4.0) that implement - LineStipple read/write support for the ive file format." - -2008-06-19 13:49 robert - - * examples/osgviewerWX/osgviewerWX.cpp, - examples/osgviewerWX/osgviewerWX.h: From Paul Melis, "Here is a - reworked version of the osgviewerWX example. It changes the - GraphicsWindowWX to only inherit from osgViewer::GraphicsWindow - and adds a standalone widget, called OSGCanvas, that derives from - wxGLCanvas. This solves a problem with the GraphicsWindowWX - instance being destructed twice (see "Crash in osgviewerWX" of - June 12th on osg-users). At program exit, the main frame deletes - all of its children widgets and therefore calls - GraphicsWindowWX's destructor, bypassing OSG's reference - counting. The GraphicsWindowWX instance is then later destructed - a second time when the reference held by osg::Camera goes to - zero. This bug isn't exposed by the example directly, but if - people are going to use the example as a basis (like the poster - in the mentioned thread) they very likely will run into this - problem. - " - -2008-06-19 13:28 robert - - * genwrapper.conf, include/OpenThreads/Atomic, - src/osgWrappers/OpenThreads/Atomic.cpp: Updated wrappers to fix - OpenThreads::Atomic build issues. - -2008-06-19 12:02 robert - - * include/osgUtil/CullVisitor: From Michael Platings, fixed typo - error in renderbin assignment - -2008-06-19 11:58 robert - - * include/osg/Program: In Program::PerContextProgram changed const - Uniform* to osg::ref_ptr to avoid the possibility - of a uniform being deleted - and another being created and assigned at the same address which - previously confused the uniform tracking code and introduced a - bug. - -2008-06-19 11:09 robert - - * include/osg/StateSet, include/osgUtil/CullVisitor, - src/osg/StateSet.cpp, src/osgUtil/CullVisitor.cpp, - src/osgWrappers/osg/StateSet.cpp: From Michael Platings and - Robert Osfield, added support for controlling, - via StateSet::setNestedRenderBin(bool) whether the new RenderBin - should be nested - with the existing RenderBin, or be nested with the enclosing - RenderStage. - -2008-06-18 20:27 robert - - * src/osgWrappers/osg/FrameBufferObject.cpp: Updated wrappers - -2008-06-18 20:24 robert - - * include/osg/FrameBufferObject, src/osg/FrameBufferObject.cpp: - From Michael Platings, implemented check against max number of - supported samples to ensure that the number of samples is safely - capped to what the hardware is capable of, avoiding GL errors and - graceful fallback - -2008-06-18 20:17 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/Fog.cpp, src/osgPlugins/ive/Fog.h, - src/osgPlugins/ive/ReadWrite.h, src/osgPlugins/osg/Fog.cpp: From - Liang Aibin: - - "1. Location: \src\osgPlugins\osg\Fog.cpp - Reason: ".osg" writter plugins output incorrected string for - osg::Fog's Mode. - How to Fix: - Line 138 in Fog.cpp: case(Fog::LINEAR): return "NERVER"; - Change to: case(Fog::LINEAR): return "LINEAR"; - 2. Location: \src\osgPlugins\ive\ - Reason: ".ive" writter plugins missing to process "osg::Fog". - How to Fix: - (1). Line 86 in ReadWrite.h: - Add: #define IVEFOG 0x00001133 - (2). In CMakeLists.txt - "SET(TARGET_SRC" section Add: Fog.cpp - "SET(TARGET_H" section Add: Fog.h - (3). In DataInputStream.cpp - Line 54,Add: #include "Fog.h" - Line 1185,Add: else if(attributeID == IVEFOG){ - attribute = new osg::Fog(); - ((ive::Fog*)(attribute))->read(this); - } - (4). In DataOutputStream.cpp - Line 57,Add: #include "Fog.h" - Line 832,Add: // This is a Fog - else if(dynamic_cast(attribute)){ - ((ive::Fog*)(attribute))->write(this); - } - (5). Add newly created ive::Fog Object in Fog.h and Fog.cpp. - " - -2008-06-18 16:46 robert - - * src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp: Updated wrappers - -2008-06-18 16:45 robert - - * include/osgDB/Output, src/osgDB/Output.cpp: Added a - wrapString(const char*) which automatically handles null strings. - -2008-06-18 16:28 robert - - * src/osgSim/ShapeAttribute.cpp: Convert string handling to use - strdup and free rather then awkward new char[] - code paths -2008-06-18 14:21 robert - * examples/osgprerender/osgprerender.cpp: Added --fbo-samples value - and --color-samples value command line paramters for enabling fbo - multisampling +Thu, 28 Jul 2011 08:19:29 +0000 +Checked in by : Robert OSFIELD +From Johannes Baeuerle, "in the file src/osgDB/ObjectWrapper.cpp, where the GlobalLookupTable for gl enums for serialization purposes is defined, some of the compressed texture formats are missing. I added enums for the pvr and etc formats." -2008-06-18 14:09 robert +Thu, 28 Jul 2011 07:46:05 +0000 +Checked in by : Robert OSFIELD +From Jason Beverage, "Here is a small fix for getCameraContainingPosition. getXMin was being used in a case where getYMin should be used instead." - * include/osg/Camera, include/osg/FrameBufferObject, - include/osgUtil/RenderStage, src/osg/Camera.cpp, - src/osg/FrameBufferObject.cpp, src/osgUtil/RenderStage.cpp: From - Michael Platings and Paul Palumbo, multi-sample FBO support +Mon, 25 Jul 2011 17:07:56 +0000 +Checked in by : Robert OSFIELD +Fixed stats bug where not all stats fields were being collected by the cull_draw() method used in the SingleThreaded and CullDrawThreadPerContext threading models. -2008-06-18 12:01 robert +Fri, 22 Jul 2011 09:27:41 +0000 +Checked in by : Robert OSFIELD +From Alexander Irion, "Texture borders are not supported in ES._isTextureBorderClampSupported is set to "TRUE" in Texture.cpp, because of the version number check (GL VERSION >= 1.3). - * src/osg/Uniform.cpp: From Jean-Sebastien Guay, "When copying a - node that had uniforms on it, the copy constructor of - osg::Uniform would not copy the array of the original uniform - (either _intArray or _floatArray) because none had been allocated - and the copy constructor checks that *both* this's array and - rhs's array are valid. - - I added a call to allocateDataArray() if rhs has (at least) one - valid array, which should allocate the right array according to - the type. Since the type was copied from rhs, it should create - the same array as rhs has, so then it should copy the data in the - following lines. - " +This leads to an invalid enum error, when GL_TEXTURE_BORDER_COLOR is tried to set. +" -2008-06-18 11:56 robert - * src/osgPlugins/lwo/Surface.cpp: From Bob Kuehne, "added - multi-texture support (alpha/trans images)" -2008-06-18 11:51 robert +Fri, 22 Jul 2011 08:25:29 +0000 +Checked in by : Robert OSFIELD +In the RecordCameraPathhandler fixed the handling of pressing 'Z' before 'z' which was causing the view to be reset to 0,0,0 by AnimationPathManipualtor with an empty AnimationPath. - * src/osgWrappers/osgText/Text3D.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2008-06-18 11:13 robert - - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/ViewerEventHandlers.cpp: From Bob Kuehne, "this - submission extends the osgViewer::RecordCameraPathHandler to have - an optionally-enabled auto-incrementing filename. default - behavior is still the same, but there's one new method to enable - autoincrementing filenames." - - From Robert Osfield, modified the above so that the number - increments come after the filename rather than before. +Thu, 21 Jul 2011 09:55:03 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2008-06-18 10:51 robert +Thu, 21 Jul 2011 09:07:22 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "I have attached an updated version of the VRML2 loader. That change is the result of the '[osgPlugins] VRML plugin - "file" url' discussion on osg-users.The attached change avoids rewriting file names into some kind of file urls +and then use the url for opening an fstream. Instead just use the given file +name to open the stream. +Also this change adds some Notify output for the error paths. +" - * src/osgPlugins/vrml/IndexedFaceSet.cpp, - src/osgPlugins/vrml/Primitives.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h: From Gino van den - Bergen, "Added support for vrml primitive caching" -2008-06-18 10:46 robert - * include/osgText/Text3D, src/osgText/Text3D.cpp: From David Callu, - "fixed bounding box bug" +Thu, 21 Jul 2011 08:52:02 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "This fixes a small problem in the FindFBX file. In CMake scripts, VS2010 is not marked as MSVC100 but MSVC10. And CMake defines MSVC_VERSION instead of MSVC_VER to indicate the version number. The modification can find fbx sdk for VS2010 automatically now. " -2008-06-17 17:43 robert +Wed, 20 Jul 2011 10:17:19 +0000 +Checked in by : Robert OSFIELD +From Claus Scheiblauer, fixed handling of horizontal mouse wheel events. - * CMakeModules/CheckAtomicOps.cmake, include/OpenThreads/Atomic, - src/OpenThreads/CMakeLists.txt, src/OpenThreads/common/Config.in: - From Mathias Froehlich, OpenThreads::Atomic support +Wed, 20 Jul 2011 09:10:32 +0000 +Checked in by : Robert OSFIELD +Introduced workaround for problem of text that is scaled in screen coords, but hasn't been rendered yet so doesn't have knowledge of screen space yet, so assume that scaling is 1 rather than 0 as was previously assumed in the previous handling of screen space text. -2008-06-16 20:22 robert +Mon, 18 Jul 2011 12:41:22 +0000 +Checked in by : Robert OSFIELD +Added doxygen comments explaining read file callback functionality. - * include/osg/Camera, src/osg/Camera.cpp, src/osg/View.cpp, - src/osgWrappers/osg/Camera.cpp: Added overriding of - CullSettings::inheritCullSettings() into osg::Camera to - properly inherit the clear colour. +Mon, 18 Jul 2011 09:40:58 +0000 +Checked in by : Robert OSFIELD +Changed the HAVE_CONFIG_H guard so that it uses #ifndef _MSC_VER rather than _WIN32 to avoid problems with Mingw and Cygwin builds of DCMTK. -2008-06-16 16:06 robert +Sun, 17 Jul 2011 16:24:47 +0000 +Checked in by : Robert OSFIELD +From Alberto Luacas, typo fixes - * include/osgDB/DatabasePager: Changed class to struct +Sun, 17 Jul 2011 10:30:40 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, improved the handling of the _preReadString within the readWrappedString method by factoring the reading of the next character into a dedicated getCharacter(..) method. -2008-06-16 13:20 robert +Fri, 15 Jul 2011 10:24:23 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I've found that the latest ffmpeg made some functions and macros deprecated, which led to compilation errors in the OSG plugin. I tried fixing them and tested with the version ffmpeg-git-5d4fd1d (ffmpeg version > 0.8, libavcodec = 53.7.0) under Windows. " - * src/osgPlugins/txp/TXPNode.cpp, src/osgPlugins/txp/TXPNode.h: - Added mutex to serialize access to the trpager +Fri, 15 Jul 2011 10:22:44 +0000 +Checked in by : Cedric Pinson +Fix crash in osgAnimation when keyframe container are empty -2008-06-16 09:32 robert +Fri, 15 Jul 2011 09:47:34 +0000 +Checked in by : Robert OSFIELD +From Sukender, Fix for compile errors "public: static char const * const osg::ValueObjectClassNameTrait< xxx >::s_className" already defined in xxx.obj" - * include/osgDB/DatabasePager: Checking in missing header changes +Fri, 15 Jul 2011 09:14:16 +0000 +Checked in by : Robert OSFIELD +From Wang Rui,"The files attached should be separately put into the directories src/osgPlugins/osg and src/osgWrappers/serializers/osgSim. They fix a serious infinite loop problem that may be caused by the stream buffer mechanism under Windows and some osgSim wrapper bugs pointed by Andreas. I've asked the community to help test them and hope now we can solve these recent .osgt file reading issues." -2008-06-12 16:33 robert +Fri, 15 Jul 2011 08:43:47 +0000 +Checked in by : Robert OSFIELD +From Ryan Pavlik, "Fix inventor state copy constructor. Clang warning: + In file included from src/osgPlugins/Inventor/ConvertToInventor.cpp:80: + src/osgPlugins/Inventor/ConvertToInventor.h:117:71: warning: field is uninitialized when used here [-Wuninitialized] + osgTexGenS(s.osgTexGenS), osgTexGenT(s.osgTexGenT), osgTexGen(osgTexGen), + ^" - * src/osgDB/DatabasePager.cpp: Refactored the management of the - request queues so that the appropraite mutex is locked when - DatabaseRequest objects are modified -2008-06-06 19:57 robert - * AUTHORS.txt, README.txt, src/osgWrappers/osg/Shape.cpp: Updated - wrappers, authors and readme for 2.5.2 dev release +Fri, 15 Jul 2011 08:32:04 +0000 +Checked in by : Robert OSFIELD +From Philip Lamp, submitted by Stephan Huber, "Modify the ReaderWriteImageIO_IOS to correctly handle relative paths when reading from a file. This means that no longer do all image files have to live at the root of the Resources folder inside the app bundle, but can now be organized inside folders. Also improved error handling and fixed a potential leak of a CGColorSpaceRef each once per image load." -2008-06-06 19:41 robert +Fri, 15 Jul 2011 08:16:58 +0000 +Checked in by : Robert OSFIELD +Converted tabs to four spaces - * ChangeLog: Updated ChangeLog +Tue, 28 Jun 2011 07:54:00 +0000 +Checked in by : Robert OSFIELD +Merged the OSG-3.0 branch versions of into svn/trunk. -2008-06-06 17:45 robert +Tue, 28 Jun 2011 07:23:52 +0000 +Checked in by : Robert OSFIELD +Added #if lib curl version check around #include as this header was deprecated and now removed entirely from libcurl-7.21.7. - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated versions for 2.5.2 - dev release +Tue, 28 Jun 2011 07:22:09 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I've found a small problem which causes crashes in the 3ds plugin while trying to load a model. The fix here will ensure that the texture map is valid and everything could work well then." -2008-06-06 16:45 robert +Mon, 27 Jun 2011 21:33:38 +0000 +Checked in by : Robert OSFIELD +Tweaked the comments - * examples/osgscreencapture/CMakeLists.txt: From Jean-Sebastien - Guay, "The new osgscreencapture example was being installed to - bin instead of to share/OpenSceneGraph/bin, this is because the - CMakeLists.txt used SETUP_APPLICATION instead of SETUP_EXAMPLE. - Corrected CMakeLists.txt attached. - " +Mon, 27 Jun 2011 21:32:20 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebestien Guay, workaround for bug under windows with the seek implementation when handling ascii files with unix file endings. -2008-06-06 16:41 robert +Mon, 27 Jun 2011 15:43:33 +0000 +Checked in by : Robert OSFIELD +Updated NEWS and fixed typo in Contributors. - * src/osgPlugins/osg/PagedLOD.cpp: From Stephane Lamoliatte, "fix - to reading of DatabasePath property" +Mon, 27 Jun 2011 10:20:37 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2008-06-06 16:28 robert +Mon, 27 Jun 2011 10:19:44 +0000 +Checked in by : Robert OSFIELD +Improved the setContextID doxygen comment. - * src/osgUtil/IntersectionVisitor.cpp: From Glenn Waldron, "I'm - using an IntersectionVisitor with a PagedLOD database, employing - a ReadCallback to allow the intersector to traverse the paged - nodes. I discovered that if the visitor is unable (for any - reason) to load a subtile via the ReadCallback, the intersection - fails. However, I had the requirement to "fall back" on the - lower-resolution parent tile and settle for that intersection. - - This was easy to implement simply by overriding - IntersectionVisitor::apply(PagedLOD). My question is: Are there - any opinions on whether this should be the default behavior? If - it makes sense, I will submit the change; if not, no worries." +Sat, 25 Jun 2011 20:51:58 +0000 +Checked in by : Robert OSFIELD +From Andreas Eskland, "I found that a binary PNM file couldn't be read by the PNM plugin in the 3.0 branch. Attached is a small fix in ReaderWriterPNM.cpp, simply opening the file in binary mode." -2008-06-06 16:25 robert +Sat, 25 Jun 2011 11:00:33 +0000 +Checked in by : Robert OSFIELD +Fixed memory growth issue when using Texture2D::SubloadCallbacks that don't set the TextureObjects sizes. - * include/osgText/Text3D: From Paul Melis, "Here's an updated - include/osgText/Text3D that forces recomputation of the glyph - repr when the character depth is updated, also when the rendering - mode is set. - This caused a Text3D object read from a .osg file to not have the - correct depth." +Sat, 25 Jun 2011 07:07:16 +0000 +Checked in by : Robert OSFIELD +Tightened up float usage. -2008-06-06 14:59 robert +Fri, 24 Jun 2011 19:17:25 +0000 +Checked in by : Robert OSFIELD +Tightened up the float/double usage - * src/osgPlugins/logo/ReaderWriterLOGO.cpp: From Mathieu Marache, - "I have made the logo plugin work again (a simple copy and paste - problem) and added the path of the logo file (if not empty) to - the data file path in order to be able to find images - relatively." +Fri, 24 Jun 2011 16:15:47 +0000 +Checked in by : Robert OSFIELD +Removed redundent assert and associated variables to fix warnings. -2008-06-06 14:10 robert +Fri, 24 Jun 2011 15:04:16 +0000 +Checked in by : Robert OSFIELD +Implemented missing writeShader - * examples/osgkdtree/osgkdtree.cpp: Cleaned up implementation to - only use simple structure +Fri, 24 Jun 2011 13:35:20 +0000 +Checked in by : Robert OSFIELD +From Martin Innus, fixed erroneous change of INTEGER to UNKNOWN, reverting back to INTEGER. -2008-06-06 13:21 robert +Fri, 24 Jun 2011 12:40:18 +0000 +Checked in by : Robert OSFIELD +Implemented missing Archive::readShader/writeShader, and added searching of the archive list in Registr::read() so that files that are stored in the archives can be found. - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: Renamed - _rendergraph to _stateGraph to better reflect its function +Fri, 24 Jun 2011 08:32:25 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "While we're on osgSim/ShapeAttribute, here's a fix that fixes the 'UNKNOW' typo and some doxygen" -2008-06-06 13:21 robert +Fri, 24 Jun 2011 08:13:58 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I've modified the code to handle -1.#IND and other kinds of infinite values. Please see the attachments for details" - * examples/osgkdtree/osgkdtree.cpp: Introduce a lower overhead data - structure for leaves. +Fri, 24 Jun 2011 08:05:54 +0000 +Checked in by : Robert OSFIELD +Added operator ==, != and < to fix VS build -2008-06-06 10:51 robert +Thu, 23 Jun 2011 19:58:52 +0000 +Checked in by : Robert OSFIELD +Fixed warnings generated by clang,src/osgAnimation/Skeleton.cpp:25:87: warning: addition of default argument on redeclaration makes this constructor a copy constructor [-Wdefault-arg-special-member] +Skeleton::UpdateSkeleton::UpdateSkeleton(const UpdateSkeleton& us, const osg::CopyOp& copyop= osg::CopyOp::SHALLOW_COPY) : osg::Object(us, copyop), osg::NodeCallback(us, copyop) - * examples/osgkdtree/osgkdtree.cpp: Added update traversal to run - prior to doing kdtree build to make sure that - costs in build osgTerrain databases isn't incurred during the - build traversal. +/src/OpenThreads/pthreads/PThread.cpp:1024:15: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] + if (cpunum<0) return -1; -2008-06-06 09:08 robert +src/osgDB/ExternalFileWriter.cpp:221:122: warning: expression result unused [-Wunused-value] + _objects.insert(ObjectsSet::value_type(&obj, ObjectData(absoluteDestinationPath, relativeDestinationPath, written))).first; - * src/osgViewer/ViewerBase.cpp: Quitened down the release context - message +src/osgManipulator/Dragger.cpp:175:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] + if (*itr = constraint) return; -2008-06-06 08:42 robert +src/osgManipulator/Dragger.cpp:187:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] + if (*itr = constraint) + + + + +Thu, 23 Jun 2011 18:24:07 +0000 +Checked in by : Robert OSFIELD +Warning fixes for:OpenSceneGraph/src/osgPlugins/Inventor/ConvertFromInventor.cpp: In member function ?virtual SbBool SoVRMLImageTextureOsg::readInstance(SoInput*, short unsigned int)?: +OpenSceneGraph/src/osgPlugins/Inventor/ConvertFromInventor.cpp:1264:16: warning: variable ?retval? set but not used [-Wunused-but-set-variable] +OpenSceneGraph/src/osgPlugins/ac/Geode.cpp: In member function ?void ac3d::Geode::ProcessGeometry(std::ostream&, unsigned int)?: +OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:806:35: warning: variable ?fRep_s? set but not used [-Wunused-but-set-variable] +OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:806:43: warning: variable ?fRep_t? set but not used [-Wunused-but-set-variable] +OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:807:35: warning: variable ?fOffset_s? set but not used [-Wunused-but-set-variable] +OpenSceneGraph/src/osgPlugins/ac/Geode.cpp:807:46: warning: variable ?fOffset_t? set but not used [-Wunused-but-set-variable] +OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp: In member function ?virtual void osgViewer::GraphicsWindowX11::checkEvents()?: +OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp:1181:10: warning: variable ?destroyWindowRequested? set but not used [-Wunused-but-set-variable] + + + + + +Thu, 23 Jun 2011 16:36:36 +0000 +Checked in by : Robert OSFIELD +Fixed virtual method mismtaches between subclasses and parent classes. + +Thu, 23 Jun 2011 15:42:45 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, build fix for OSX. + +Thu, 23 Jun 2011 15:37:35 +0000 +Checked in by : Robert OSFIELD +Added better handling of archives in ReaderWriterZip::readNode() so that if there is no master file definition it loads all the available nodes in the zip archive and returns an osg::Group containing all the nodes if there is more than one, or just returns the node if there is just one. Also implemented this functionality for ReaderWriterZip::readImage(). + +Thu, 23 Jun 2011 12:24:47 +0000 +Checked in by : Robert OSFIELD +Fixed typo in name + +Thu, 23 Jun 2011 11:27:23 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file + +Thu, 23 Jun 2011 11:26:51 +0000 +Checked in by : Robert OSFIELD +Fixed name typo + +Thu, 23 Jun 2011 11:09:49 +0000 +Checked in by : Robert OSFIELD +Fixed warnings.OpenSceneGraph/src/osgGA/NodeTrackerManipulator.cpp:32:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor +OpenSceneGraph/src/osgGA/TerrainManipulator.cpp:31:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor +OpenSceneGraph/include/osgSim/ShapeAttribute:99:9: warning: base class ?class std::vector? should be explicitly initialized in the copy constructor +OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::gi? +OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::byte_before_the_zipfile? +OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::num_file? +OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::pos_in_central_dir? +OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::current_file_ok? +OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::central_pos? +OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::size_central_dir? +OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::offset_central_dir? +OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::cur_file_info? +OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::cur_file_info_internal? +OpenSceneGraph/src/osgPlugins/zip/unzip.cpp:3102:14: warning: missing initializer for member ?unz_s::pfile_in_zip_read? +OpenSceneGraph/src/osgViewer/CompositeViewer.cpp:30:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor +OpenSceneGraph/src/osgViewer/View.cpp:159:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor +OpenSceneGraph/src/osgViewer/Viewer.cpp:196:1: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor +OpenSceneGraph/src/osgViewer/Viewer.cpp:196:1: warning: base class ?class osgViewer::ViewerBase? should be explicitly initialized in the copy constructor +OpenSceneGraph/include/osgManipulator/Dragger:47:9: warning: base class ?class osg::Object? should be explicitly initialized in the copy constructor + + + + +Thu, 23 Jun 2011 09:26:27 +0000 +Checked in by : Robert OSFIELD +From Ryan Pavlik, "I have successfully compiled OpenSceneGraph trunk using the Clang compiler (using a recent trunk build of llvm and clang, haven't tested an older release). The attached files contain the change shown in the diff below, which was required to finish the build with Clang. It fixes an issue with two-phase name lookup - there's more information here http://blog.llvm.org/2009/12/dreaded-two-phase-name-lookup.html " + +Thu, 23 Jun 2011 09:22:23 +0000 +Checked in by : Robert OSFIELD +From Dimi Christopoulos, "I attach a fixed version of mipmap.cpp which produced a lot of warning on my gcc compiler." + +Thu, 23 Jun 2011 07:13:13 +0000 +Checked in by : Robert OSFIELD +Converted tabs to four spaces + +Wed, 22 Jun 2011 16:18:34 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "I have recently installed the latest version of collada-dom on Linux, and found that the include path has changed. By default, collada-dom now installs its header files under /usr/local/include/collada-dom or/usr/include/collada- dom. The attached FindCollada.cmake has been updated to look for these locations in addition to the previous candidate locations." + +Wed, 22 Jun 2011 12:30:01 +0000 +Checked in by : Robert OSFIELD +Resolved warnings reported by g++ 4.6's -Wunused-but-set-variable.Warnings were: + +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp: In member function ‘void PrimitiveShapeVisitor::createHalfSphere(unsigned int, unsigned int, float, int, float, const Matrix&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp:1409:11: warning: variable ‘nzBase’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osg/ShapeDrawable.cpp:1410:11: warning: variable ‘nRatioBase’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp: In function ‘osgUtil::Triangle_list osgUtil::fillHole(osg::Vec3Array*, std::vector >)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp:569:27: warning: variable ‘ptest’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp: In member function ‘bool osgUtil::DelaunayTriangulator::triangulate()’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/DelaunayTriangulator.cpp:979:45: warning: variable ‘curp’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/RenderStage.cpp: In member function ‘void osgUtil::RenderStage::runCameraSetUp(osg::RenderInfo&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgUtil/RenderStage.cpp:631:18: warning: variable ‘stencilAttached’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp: In member function ‘void FadeTextPolytopeData::buildPolytope()’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp:74:20: warning: variable ‘edge23’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/FadeText.cpp:75:20: warning: variable ‘edge30’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/Text.cpp: In member function ‘void osgText::Text::computeBackdropPositions(unsigned int) const’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgText/Text.cpp:747:10: warning: variable ‘is_valid_size’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp: In member function ‘virtual bool osgGA::NodeTrackerManipulator::performMovementLeftMouseButton(double, double, double)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp:257:21: warning: variable ‘lookVector’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/NodeTrackerManipulator.cpp:259:21: warning: variable ‘upVector’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp: In member function ‘virtual bool osgGA::TerrainManipulator::performMovementMiddleMouseButton(double, double, double)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp:217:11: warning: variable ‘lookVector’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgGA/TerrainManipulator.cpp:219:11: warning: variable ‘upVector’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgVolume/FixedFunctionTechnique.cpp: In member function ‘virtual void osgVolume::FixedFunctionTechnique::init()’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgVolume/FixedFunctionTechnique.cpp:124:30: warning: variable ‘tf’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgParticle/FluidProgram.cpp: In member function ‘virtual void osgParticle::FluidProgram::execute(double)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgParticle/FluidProgram.cpp:38:23: warning: variable ‘velBefore’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgShadow/ParallelSplitShadowMap.cpp: In member function ‘virtual void osgShadow::ParallelSplitShadowMap::cull(osgUtil::CullVisitor&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgShadow/ParallelSplitShadowMap.cpp:593:22: warning: variable ‘bb’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp: In member function ‘virtual void osgTerrain::GeometryTechnique::generateGeometry(osgTerrain::GeometryTechnique::BufferData&, osgTerrain::Locator*, const osg::Vec3d&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp:777:12: warning: variable ‘i_sampleFactor’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgTerrain/GeometryTechnique.cpp:778:12: warning: variable ‘j_sampleFactor’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp: In function ‘osg::Image* ReadDDSFile(std::istream&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp:314:10: warning: variable ‘is3dImage’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp: In function ‘bool WriteDDSFile(const osg::Image*, std::ostream&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/dds/ReaderWriterDDS.cpp:721:10: warning: variable ‘is3dImage’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/hdr/hdrloader.cpp: In static member function ‘static bool HDRLoader::load(const char*, bool, HDRLoaderResult&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/hdr/hdrloader.cpp:101:10: warning: variable ‘cmd’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/vtf/ReaderWriterVTF.cpp: In function ‘osg::Image* ReadVTFFile(std::istream&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/vtf/ReaderWriterVTF.cpp:360:23: warning: variable ‘base’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/jp2/ReaderWriterJP2.cpp: In function ‘int putdata(jas_stream_t*, jas_image_t*, int)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/jp2/ReaderWriterJP2.cpp:41:13: warning: variable ‘linelen’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertToInventor.cpp: In member function ‘void ConvertToInventor::processGeometry(const osg::Geometry*, ConvertToInventor::InventorState*)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertToInventor.cpp:1639:10: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertFromInventor.cpp: In member function ‘virtual SbBool SoVRMLImageTextureOsg::readInstance(SoInput*, short unsigned int)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/Inventor/ConvertFromInventor.cpp:1264:16: warning: variable ‘retval’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp: In member function ‘virtual void flt::Face::readRecord(flt::RecordInputStream&, flt::Document&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp:369:19: warning: variable ‘secondaryPackedColor’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp: In member function ‘virtual void flt::Mesh::readRecord(flt::RecordInputStream&, flt::Document&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/GeometryRecords.cpp:942:19: warning: variable ‘secondaryPackedColor’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: In member function ‘virtual osgDB::ReaderWriter::ReadResult FLTReaderWriter::readNode(std::istream&, const Options*) const’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp:427:40: warning: variable ‘pos’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ive/ShapeAttributeList.cpp: In member function ‘void ive::ShapeAttributeList::write(ive::DataOutputStream*)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ive/ShapeAttributeList.cpp:31:48: warning: variable ‘it’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp: In member function ‘void ac3d::Geode::ProcessGeometry(std::ostream&, unsigned int)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:806:35: warning: variable ‘fRep_s’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:806:43: warning: variable ‘fRep_t’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:807:35: warning: variable ‘fOffset_s’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:807:46: warning: variable ‘fOffset_t’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/ac/Geode.cpp:932:38: warning: variable ‘primLength’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_geom.cpp: In member function ‘virtual bool trpgGeometry::Write(trpgWriteBuffer&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_geom.cpp:615:19: warning: variable ‘u’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_material.cpp: In member function ‘int trpgMatTable::AddMaterial(const trpgMaterial&, bool)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_material.cpp:103:10: warning: variable ‘spaceInTable’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_rarchive.cpp: In member function ‘virtual bool trpgr_Archive::ReadHeader(bool)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/txp/trpage_rarchive.cpp:261:14: warning: variable ‘headerHasTexTable’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp: In member function ‘ZRESULT TUnzip::Get(int, ZIPENTRY*)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:8: warning: variable ‘hidden’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:22: warning: variable ‘system’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/unzip.cpp:4055:36: warning: variable ‘archive’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/ZipArchive.cpp: In member function ‘virtual bool ZipArchive::getFileNames(osgDB::Archive::FileNameList&) const’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/zip/ZipArchive.cpp:91:37: warning: variable ‘iterEnd’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/pvr/ReaderWriterPVR.cpp: In member function ‘osgDB::ReaderWriter::ReadResult ReaderWriterPVR::readPVRStream(std::istream&) const’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/pvr/ReaderWriterPVR.cpp:155:14: warning: variable ‘hasAlpha’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp: In function ‘osg::Geometry* create3DSphericalDisplayDistortionMesh(const Vec3&, const Vec3&, const Vec3&, double, double, osg::Image*, const Matrix&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:737:15: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp: In function ‘osg::Geometry* createParoramicSphericalDisplayDistortionMesh(const Vec3&, const Vec3&, const Vec3&, double, double, osg::Image*, const Matrix&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:1130:19: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/View.cpp:1118:15: warning: variable ‘dx’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/GraphicsWindowX11.cpp: In member function ‘virtual void osgViewer::GraphicsWindowX11::checkEvents()’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgViewer/GraphicsWindowX11.cpp:1181:10: warning: variable ‘destroyWindowRequested’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/cfg/ConfigParser.cpp: In member function ‘bool osgProducer::CameraConfig::parseFile(const string&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/cfg/ConfigParser.cpp:2247:13: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgQt/QGraphicsViewAdapter.cpp: In member function ‘bool osgQt::QGraphicsViewAdapter::handlePointerEvent(int, int, int)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgQt/QGraphicsViewAdapter.cpp:344:17: warning: variable ‘viewportGeometry’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp: In function ‘osg::Node* createDistortionSubgraph(osg::Node*, const Vec4&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:125:19: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:126:19: warning: variable ‘texcoord’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp: In function ‘osg::Geometry* createDomeDistortionMesh(const Vec3&, const Vec3&, const Vec3&, osg::ArgumentParser&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgdistortion/osgdistortion.cpp:358:15: warning: variable ‘cursor’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgposter/osgposter.cpp: In function ‘int main(int, char**)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgposter/osgposter.cpp:253:31: warning: variable ‘outputTiles’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgthreadedterrain/osgthreadedterrain.cpp: In function ‘int main(int, char**)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgthreadedterrain/osgthreadedterrain.cpp:669:10: warning: variable ‘readParameter’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgtext3D/TextNode.cpp: In member function ‘virtual void osgText::Layout::layout(osgText::TextNode&) const’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgtext3D/TextNode.cpp:80:11: warning: variable ‘characterHeightScale’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgvolume/osgvolume.cpp: In function ‘int main(int, char**)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgvolume/osgvolume.cpp:678:38: warning: variable ‘internalFormatMode’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp: In function ‘bool windowMouseOver(osgWidget::Event&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp:27:24: warning: variable ‘xy’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp: In function ‘bool widgetMouseOver(osgWidget::Event&)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/examples/osgwidgetcanvas/osgwidgetcanvas.cpp:35:24: warning: variable ‘xy’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/p3d/ReaderWriterP3D.cpp: In member function ‘osg::Node* ReaderWriterP3DXML::parseXmlGraph(osgDB::XmlNode*, bool, osgDB::Options*) const’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/src/osgPlugins/p3d/ReaderWriterP3D.cpp:2121:10: warning: variable ‘readSlide’ set but not used [-Wunused-but-set-variable] +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/applications/present3D/present3D.cpp: In function ‘int main(int, char**)’: +/home/stephan/Dev/LibSources/OpenSceneGraph-3.0.0-rc2/applications/present3D/present3D.cpp:639:10: warning: variable ‘sizesSpecified’ set but not used [-Wunused-but-set-variable] + + + + + + +Wed, 22 Jun 2011 09:12:12 +0000 +Checked in by : Robert OSFIELD +Fixed regression in --run-on-demand feature + +Tue, 21 Jun 2011 17:26:40 +0000 +Checked in by : Robert OSFIELD +Removed assert() that always evaluated to true. + +Tue, 21 Jun 2011 13:01:23 +0000 +Checked in by : Robert OSFIELD +From Torben Dannhauer, "originally I posted the addendum of 'freetype244MT', but that was wrong. I updated it to the correct addendum of 'freetype244' yesterday, but supposedly that was not forwarded to you by the forum-to-mail-gateway.Find attached the corrected CMake module. " + + + +Tue, 21 Jun 2011 10:15:03 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog + +Tue, 21 Jun 2011 09:54:57 +0000 +Checked in by : Robert OSFIELD +Added returns to end of files + +Tue, 21 Jun 2011 09:54:23 +0000 +Checked in by : Robert OSFIELD +Added return to end of file + +Tue, 21 Jun 2011 09:53:34 +0000 +Checked in by : Robert OSFIELD +Conveted tabs to four spaces and added a return to end of file + +Tue, 21 Jun 2011 09:29:32 +0000 +Checked in by : Michael PLATINGS +Fixed redundant "enumeration not handled in switch" warnings. Fixed a warning about a comparison between different enums - EUnifiedMappingType was being compared with EMappingType. In general the FBX SDK is moving away from Get & Set functions to giving direct access to properties, so I have changed GetMappingType() to CurrentMappingType.Get() + +Tue, 21 Jun 2011 09:00:01 +0000 +Checked in by : Robert OSFIELD +Disabled VisualStudio warning warning C4611: interaction between '_setjmp' and C++ object destruction is non-portable + +Mon, 20 Jun 2011 19:15:53 +0000 +Checked in by : Robert OSFIELD +Fixed a range of issues reported by cppcheck:[examples/osgphotoalbum/PhotoArchive.cpp:56]: (error) Memory leak: fileIndentifier +[examples/osgphotoalbum/PhotoArchive.cpp:257]: (error) Deallocating a deallocated pointer: newData +[examples/osgphotoalbum/PhotoArchive.cpp:318]: (error) Deallocating a deallocated pointer: newData +[src/osg/ImageUtils.cpp:116]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/ImageUtils.cpp:307]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/ImageUtils.cpp:312]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/ImageUtils.cpp:367]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/ImageUtils.cpp:399]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/ImageUtils.cpp:400]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/ImageUtils.cpp:482]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/ImageUtils.cpp:483]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/ImageUtils.cpp:484]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/ImageUtils.cpp:519]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/ImageUtils.cpp:536]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/OcclusionQueryNode.cpp:71]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/OcclusionQueryNode.cpp:74]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/OcclusionQueryNode.cpp:77]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/OcclusionQueryNode.cpp:82]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/OcclusionQueryNode.cpp:102]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/OcclusionQueryNode.cpp:107]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/OcclusionQueryNode.cpp:599]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/OcclusionQueryNode.cpp:600]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/OcclusionQueryNode.cpp:601]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/OcclusionQueryNode.cpp:602]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/OcclusionQueryNode.cpp:603]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/OcclusionQueryNode.cpp:604]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/OcclusionQueryNode.cpp:605]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osg/OcclusionQueryNode.cpp:606]: (portability) Extra qualification 'osg::' unnecessary and considered an error by many compilers. +[src/osgDB/ExternalFileWriter.cpp:134]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. +[src/osgDB/ExternalFileWriter.cpp:135]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. +[src/osgDB/ExternalFileWriter.cpp:136]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. +[src/osgDB/ExternalFileWriter.cpp:137]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. +[src/osgDB/ExternalFileWriter.cpp:139]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. +[src/osgDB/ExternalFileWriter.cpp:177]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. +[src/osgDB/ExternalFileWriter.cpp:178]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. +[src/osgDB/ExternalFileWriter.cpp:195]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. +[src/osgDB/ExternalFileWriter.cpp:198]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. +[src/osgDB/ExternalFileWriter.cpp:203]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. +[src/osgDB/ExternalFileWriter.cpp:205]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. +[src/osgDB/ExternalFileWriter.cpp:253]: (portability) Extra qualification 'osgDB::' unnecessary and considered an error by many compilers. +[src/osgDB/InputStream.cpp:553]: (error) Memory leak: data +[src/osgDB/OutputStream.cpp:393]: (error) Memory leak: data +[src/osgPlugins/Inventor/ConvertToInventor.cpp:656]: (error) Mismatching allocation and deallocation: tmpArray +[src/osgPlugins/Inventor/ReaderWriterIV.cpp:237]: (error) Common realloc mistake: 'buf' nulled but not freed upon failure +[src/osgPlugins/OpenFlight/expGeometryRecords.cpp:167]: (portability) Extra qualification 'flt::' unnecessary and considered an error by many compilers. +[src/osgPlugins/OpenFlight/expGeometryRecords.cpp:373]: (portability) Extra qualification 'flt::' unnecessary and considered an error by many compilers. +[src/osgPlugins/cfg/CameraConfig.cpp:635]: (error) Unusual pointer arithmetic +[src/osgPlugins/freetype/FreeTypeLibrary.cpp:122]: (error) Memory leak: buffer +[src/osgPlugins/geo/ReaderWriterGEO.cpp:210]: (error) Possible null pointer dereference: gfd - otherwise it is redundant to check if gfd is null at line 211 +[src/osgPlugins/geo/ReaderWriterGEO.cpp:227]: (error) Possible null pointer dereference: gfd - otherwise it is redundant to check if gfd is null at line 228 +[src/osgPlugins/geo/ReaderWriterGEO.cpp:903]: (error) Possible null pointer dereference: gfd - otherwise it is redundant to check if gfd is null at line 904 +[src/osgPlugins/geo/osgGeoNodes.h:180]: (error) Memory leak: geoHeaderGeo::intVars +[src/osgPlugins/geo/osgGeoNodes.h:181]: (error) Memory leak: geoHeaderGeo::useVars +[src/osgPlugins/geo/osgGeoNodes.h:182]: (error) Memory leak: geoHeaderGeo::extVars +[src/osgPlugins/md2/ReaderWriterMD2.cpp:180]: (error) Memory leak: mapbase +[src/osgPlugins/md2/ReaderWriterMD2.cpp:166]: (error) Resource leak: file_fd +[src/osgPlugins/pic/ReaderWriterPIC.cpp:152]: (error) Mismatching allocation and deallocation: tmpbuf +[src/osgPlugins/pic/ReaderWriterPIC.cpp:153]: (error) Mismatching allocation and deallocation: buffer +[src/osgPlugins/ply/plyfile.cpp:843]: (error) Memory leak: plyfile +[src/osgPlugins/pvr/ReaderWriterPVR.cpp:179]: (error) Memory leak: imageData +[src/osgPlugins/shp/ESRIShapeParser.cpp:29]: (error) Resource leak: fd +[src/osgPlugins/shp/XBaseParser.cpp:96]: (error) Resource leak: fd +[src/osgPlugins/zip/unzip.cpp:3158]: (error) Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 3159 +[src/osgPlugins/zip/unzip.cpp:4155]: (error) Dangerous usage of 'rd' (strncpy doesn't always 0-terminate it) +[src/osgShadow/MinimalCullBoundsShadowMap.cpp:334]: (error) Possible null pointer dereference: rl - otherwise it is redundant to check if rl is null at line 331 +[src/osgViewer/ScreenCaptureHandler.cpp:617]: (error) Possible null pointer dereference: camera - otherwise it is redundant to check if camera is null at line 611 +[src/osgViewer/ScreenCaptureHandler.cpp:632]: (error) Possible null pointer dereference: camera - otherwise it is redundant to check if camera is null at line 626 +[src/osgVolume/Locator.cpp:209]: (error) Dangerous iterator usage after erase()-method. +[src/osgVolume/RayTracedTechnique.cpp:274]: (error) Possible null pointer dereference: imageLayer - otherwise it is redundant to check if imageLayer is null at line 259 +[src/osgVolume/RayTracedTechnique.cpp:275]: (error) Possible null pointer dereference: imageLayer - otherwise it is redundant to check if imageLayer is null at line 259 +[src/osgWrappers/serializers/osg/ShaderBinary.cpp:28]: (error) Mismatching allocation and deallocation: data + + + + +Mon, 20 Jun 2011 14:09:49 +0000 +Checked in by : Robert OSFIELD +Removed unneccesary namespace qualifiers, and issue picked out by cppcheck. + +Mon, 20 Jun 2011 12:36:53 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, BGR write support for BMP, PNG and TGA + +Mon, 20 Jun 2011 11:25:52 +0000 +Checked in by : Robert OSFIELD +Added catch for window manager doesn't set the window size to full screen. + +Mon, 20 Jun 2011 09:28:39 +0000 +Checked in by : Robert OSFIELD +Added check against Traits::overrideRedirct to prevent the fullscreen workaround being run when overrideRedirect is on as overrideRedirect switches off the window managers ability to manage the fullscreen so the problem doesn't need working around. + +Mon, 20 Jun 2011 09:22:57 +0000 +Checked in by : Robert OSFIELD +Introduced a workaround for fullscreen toggle issues under modern X11 window managers. + +Mon, 20 Jun 2011 09:20:39 +0000 +Checked in by : Robert OSFIELD +Added sleep before window resizing to make it less likely that the previous frames rendering traversal is still running when the window(s) is resized, something that creates what looks like a glitch in rendering. + +Sun, 19 Jun 2011 19:16:49 +0000 +Checked in by : Robert OSFIELD +From Torben Dannhauer, "Just in time for OSG 3.0 I will present an updated 3rdParty package for VS2008 , which includes some updated libraries (libcurl, freetype, jpeg). It also provides now all debug databases (*.pdb), so all the annoying compile warnings about missing .pdb files are gone.I extended the CMAKE module to find the new library." + + + +Fri, 17 Jun 2011 16:55:49 +0000 +Checked in by : Robert OSFIELD +Updated version to 3.1.0 in prep for the first developer release for 3.x series + +Fri, 17 Jun 2011 12:57:31 +0000 +Checked in by : Robert OSFIELD +Added extern "C" to fix build issues under OSX + +Fri, 17 Jun 2011 12:31:07 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, NEWS and READE for 3.0.0-rc1 + +Fri, 17 Jun 2011 11:47:47 +0000 +Checked in by : Robert OSFIELD +Updated version number + +Fri, 17 Jun 2011 11:47:33 +0000 +Checked in by : Robert OSFIELD +Fixed Jorge Izquierdo name. + +Fri, 17 Jun 2011 11:02:40 +0000 +Checked in by : Robert OSFIELD +Updated OpenThreads version number for stable release + +Fri, 17 Jun 2011 10:35:00 +0000 +Checked in by : Robert OSFIELD +Tempory fix for static build of Present3D which disables the use of ffmpeg when compiling static, will need to look into unresolved symbols assoiated with FFMPEG at a later date. + +Fri, 17 Jun 2011 09:20:57 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS file for 3.0.0-rc1 + +Fri, 17 Jun 2011 09:19:11 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog + +Fri, 17 Jun 2011 09:05:48 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, "sending updated version of StencilTwoSided. It supports now even GL_ATI_separate_stencil extension and there are more OSG_INFOs to see, which API is used." - * include/osgDB/DatabasePager: Added OSGDB_EXPORT +Fri, 17 Jun 2011 09:02:22 +0000 +Checked in by : Robert OSFIELD +Updated version number of 3.0.0-rc1 -2008-06-05 18:52 robert +Fri, 17 Jun 2011 08:47:36 +0000 +Checked in by : Robert OSFIELD +Added GLES version checks to prevent build problems under GLES1 and GLES2 - * examples/osgkdtree/osgkdtree.cpp: Added timing code +Fri, 17 Jun 2011 08:42:54 +0000 +Checked in by : Robert OSFIELD +Refined the version checking -2008-06-05 17:28 robert +Fri, 17 Jun 2011 08:41:56 +0000 +Checked in by : Robert OSFIELD +Build fix - * examples/osgkdtree/osgkdtree.cpp: Basic implementation of kdtree - generation based on vertices +Fri, 17 Jun 2011 08:26:51 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "the OS X/Cocoa implementation logs some debug junk on every key stroke. The attached patch removes this." -2008-06-05 13:46 robert +Fri, 17 Jun 2011 08:15:18 +0000 +Checked in by : Robert OSFIELD +From Jorge Ciges, "This is one of those bugs that you don't find until you try to compile under another pc that doesn't have Cmake 2.8." - * include/osg/Shape: Added accep(Shape&) +Fri, 17 Jun 2011 06:22:01 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2008-06-04 17:59 robert +Fri, 17 Jun 2011 06:09:25 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * examples/osgkdtree/osgkdtree.cpp: Further work on fleshing out - basic classes +Fri, 17 Jun 2011 05:57:29 +0000 +Checked in by : Robert OSFIELD +Added disabling of VisualStudio warning C4324 : structure was padded due to __declspec(align()) -2008-06-04 16:53 robert +Thu, 16 Jun 2011 18:43:58 +0000 +Checked in by : Robert OSFIELD +Fixed warnings. - * src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers +Thu, 16 Jun 2011 18:25:46 +0000 +Checked in by : Robert OSFIELD +Added support for new InternalTextureFormatModes -2008-06-04 16:46 robert +Thu, 16 Jun 2011 18:12:55 +0000 +Checked in by : Robert OSFIELD +Added wider file extension support to ExternalFileWriter::generateObjectName - * include/osgViewer/ViewerBase, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp: Added - support for optionally calling releaseContext at the end of each - renderinTraversals() to help with cases where uses are driving - multiple - contexts from mulitple viewers in a single threaded frame loop. +Thu, 16 Jun 2011 16:02:27 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "Attached is a small patch that adds support for writing BGR images to the DDS plugin." -2008-06-03 17:29 robert +Thu, 16 Jun 2011 16:00:33 +0000 +Checked in by : Robert OSFIELD +From John Cummings, "While testing recent OSG developer releases and the subversion trunk, I have noticed that on my 64-bit Linux machines, all of the OSG libraries get installed into the "lib64" directory as I would expect. However, the OpenThreads library gets installed into the "lib" directory when selecting "Build OpenThreads with Qt threading support." That is, with the BUILD_OPENTHREADS_WITH_QT set to ON.I am attaching the a fix for this issue in the file: - * examples/osgkdtree/osgkdtree.cpp: Fleshed out some basic kd-tree - data structures. +src/OpenThreads/qt/CMakeLists.txt -2008-06-03 16:13 robert +It simply adds ${LIB_POSTFIX} to the destination as in done with all +other CMakeLists.txt with libraries in OSG. I have tested it on both +32-bit and 64-bit Linux." - * examples/CMakeLists.txt, examples/osgkdtree, - examples/osgkdtree/CMakeLists.txt, - examples/osgkdtree/osgkdtree.cpp: First cut of osgkdtree example, - this will be used as a base of the development of - native kdtree support to help speed up intersection testing. -2008-06-03 15:49 robert - * src/osgDB/DatabasePager.cpp: Added missing updateBlock() +Thu, 16 Jun 2011 15:57:40 +0000 +Checked in by : Robert OSFIELD +Windows warning fixes -2008-06-03 13:07 robert +Thu, 16 Jun 2011 13:00:28 +0000 +Checked in by : Robert OSFIELD +Fixed indentation issues - * src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_print.h: From Mario Valle, fixed - warnings +Thu, 16 Jun 2011 10:05:49 +0000 +Checked in by : Robert OSFIELD +Improved indentation. -2008-06-03 13:06 robert +Thu, 16 Jun 2011 08:59:48 +0000 +Checked in by : Robert OSFIELD +Replaced tabs with four spaces - * src/osgPlugins/txp/trpage_print.cpp, - src/osgPlugins/txp/trpage_print.h: Ran merge to get rid of tabs +Thu, 16 Jun 2011 08:46:30 +0000 +Checked in by : Robert OSFIELD +From Jean-Christophe Lombardo, "On Fedora 14, dcmtk libs are under /usr/lib/dcmtk. I've added a PATH_SUFFIX to take that into account" -2008-06-03 11:31 robert +Wed, 15 Jun 2011 18:31:11 +0000 +Checked in by : Robert OSFIELD +Improved the handling of compiling vs flushing deleted objects - * src/osg/Notify.cpp: From Marco Lehmann and Robert Osfield, this - fix was implemented by Robert but - is based on suggested fix from Marco for fixing a crash due to - lack of - thread safety in std::ofstream("/dev/null"); The fix is to use a - custom stream - buffer that just discards all data. The implementation is also - twice as fast - as the old /dev/null based approach. +Wed, 15 Jun 2011 17:00:44 +0000 +Checked in by : Robert OSFIELD +Changed the key handling code to use EventQueue::getTime() rather then the theEvent timestamp. -2008-06-03 11:28 robert +Wed, 15 Jun 2011 09:36:34 +0000 +Checked in by : Robert OSFIELD +Fixed blitting of FBO's with multiple render targets. - * examples/osgunittests/osgunittests.cpp: Added unit test to smoke - out a thread issue with using ofstream("/dev/null") inside - osg::notify() +Wed, 15 Jun 2011 09:35:25 +0000 +Checked in by : Robert OSFIELD +From Anthousis Andreadis, added multiple sampling test for multiple rendering targets which is activated by the --ms command line option. -2008-06-02 17:34 robert +Tue, 14 Jun 2011 18:10:27 +0000 +Checked in by : Robert OSFIELD +From Jorge Ciges, "Update to FindAndroidNDK to make it use the latest Ndk (r5c) automatically.That fixes compatibilities with some 2.1 devices. And it looks like all goes well." - * include/osgGA/EventQueue, include/osgGA/GUIEventAdapter, - include/osgViewer/GraphicsWindow, include/osgViewer/View, - src/osgGA/GUIEventAdapter.cpp, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/View.cpp: - Added support for assigning GraphicsContext to individual - GUIEventAdapter events, - and use of this within osgViewer::View to better track the - sources of events. -2008-05-31 08:47 robert - * CMakeLists.txt: Changed FIND_PACKAGE(PkgConfig) to - INCLUDE(FindPkgConfig OPTIONAL) as per - suggestion from Philip Lowman. +Tue, 14 Jun 2011 16:54:20 +0000 +Checked in by : Robert OSFIELD +Replaced .osg with .osgt file usage -2008-05-30 21:23 robert +Tue, 14 Jun 2011 16:50:40 +0000 +Checked in by : Robert OSFIELD +Improved the handling of command line parameters - * AUTHORS.txt, README.txt, applications/osgversion/osgversion.cpp: - Updated authors and version file for 2.5.1 dev release +Tue, 14 Jun 2011 15:55:36 +0000 +Checked in by : Robert OSFIELD +Updated version -2008-05-30 21:12 robert +Tue, 14 Jun 2011 15:48:27 +0000 +Checked in by : Robert OSFIELD +Added support osg::State::drawQuad(..) for number of vertices in quads to uint range rather than just ushort range. - * ChangeLog: Updated ChangeLog +Tue, 14 Jun 2011 12:44:44 +0000 +Checked in by : Robert OSFIELD +Fixed issue with events having a negative delta of time between them. -2008-05-30 21:08 robert +Tue, 14 Jun 2011 10:15:12 +0000 +Checked in by : Robert OSFIELD +Added GLBufferObject::computeBufferAlignment(..) method to enable buffer entries to be aligned along specified buffer alignment boundaries, currently defaulting to 4. - * CMakeLists.txt: Added version check on FIND_PACKAGE(PkgConfig) to - attempt to fix build with older versions of CMake +Tue, 14 Jun 2011 09:16:44 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find a fix for the non-working useCursor()-method for Windows. With the old code you can switch off the cursor, but not back on." -2008-05-30 20:15 robert +Tue, 14 Jun 2011 09:11:58 +0000 +Checked in by : Robert OSFIELD +Removed executable permission. - * include/osg/Camera: Added applyMaskAction(CLEAR_COLOR) to - Camera::setClearColor() to enable proper inheritance +Tue, 14 Jun 2011 09:01:54 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find some tweaks for the FindQuicktime and > FindQTKit-cmake-plugins, so they get disabled for ios-builds." -2008-05-30 17:03 robert +Mon, 13 Jun 2011 15:20:48 +0000 +Checked in by : Robert OSFIELD +Fixed wild card search when wild card filename includes a path. - * ChangeLog: Updated ChangeLog +Mon, 13 Jun 2011 08:52:11 +0000 +Checked in by : Robert OSFIELD +From Jeremy Moles, fixed style == operator. -2008-05-30 16:53 robert +Mon, 13 Jun 2011 08:45:25 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, build fix for IOS - * CMakeLists.txt: From Jean-Sebastien Guay, "This is a fix for the - warning we've been discussing on osg-users. CMake 2.6.0 allows - quotes to be unescaped in strings in ADD_DEFINITIONS statements, - where we had to escape them before (CMake 2.4.x). Setting CMake - policy CMP0005 to OLD removes the warning for 2.6.0, and the - quotes are still escaped, so it still works with 2.4.x. - " +Fri, 10 Jun 2011 11:42:02 +0000 +Checked in by : Robert OSFIELD +Added handling of s/gUserValue() directly on a UserDataContainer. -2008-05-30 12:59 robert +Thu, 9 Jun 2011 14:20:46 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file for 2.9.16 dev release - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Layer.cpp, - src/osgPlugins/ive/Layer.h, src/osgPlugins/ive/ReadWrite.h: From - Luc Frauciel, Added support for osgTerrain::ValidDataOperator. - - From Robert Osfield, added versioning to the above. +Thu, 9 Jun 2011 14:11:04 +0000 +Checked in by : Robert OSFIELD +From Jorge Ciges, "two clean example viewers (GLES1/2) that permit load models withouth recompiling by options in the menu and some basic options. basic options.As Rafa and I told you earlier this can't be integrated in the CMAKE chain. It needs to be compiled by the user out of the OSG standard compilation. It could be stored in the examples. That way users will not come here asking for the examples. -2008-05-30 11:44 robert +Main characteristics are: - * packaging/pkgconfig/openscenegraph.pc: Updated packgage number - for 2.5.1 developer release +-Menu with loading and unloading by path. +-Return to home view +-Keyboard capabilities with manipilator switch and basic state changing. +-Change color screen. +-Osg log bypassed to LogCat (This comes practically straight from Marcin Hajder example I've only added personal TAG) +-Earmbi / Earmbi V7 +-Install to SD (if the device supports the feature) -2008-05-30 11:43 robert +And that's all. Now I'm looking to fix the environmental mapping with true GLES (it does not work well in Android) I will try to make it in time for 3.0. The other work that i'm studying Dynamic build with Android but that will need a lot of time to test. - * include/osg/PagedLOD, include/osgDB/DatabasePager, - src/osg/PagedLOD.cpp, src/osgDB/DatabasePager.cpp: Fixed cirular - reference in DatabaseRequest -2008-05-29 13:54 robert - * include/osg/Texture, src/osgWrappers/osg/Texture.cpp: Moved enum - to public scope and rebuilt wrappers to fix wrapper build error -2008-05-29 11:45 robert - - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp: Added code to catch - erroneous Dof axis settings - -2008-05-29 11:13 robert - - * src/osgUtil/CullVisitor.cpp: Improved the NaN depth detection - within CullVisitor and debug output. - -2008-05-29 11:09 robert - - * src/osgUtil/CullVisitor.cpp, src/osgUtil/RenderBin.cpp: Improved - the NaN error detection and reporting. - -2008-05-28 17:56 robert - - * src/osgUtil/RenderBin.cpp: Added catch for NaN depth values - -2008-05-28 16:14 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Wojiech Lewandowski, - Workaround for wglMakeCurrent bug in NVidia drivers by - calling wglMakeCurrent twice. - - This bug has been reported to NVidia, confirmed and fixed by - NVidia but awaits verifiaction and release if a driver which - fixes this bug. - -2008-05-28 14:37 robert - - * src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp: Updated - wrappers - -2008-05-28 14:11 robert - - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ParallelSplitShadowMap, - src/osgShadow/ParallelSplitShadowMap.cpp: From Adrian Egli, - improvements to ParallelSplitShadowMap implementation - -2008-05-28 13:51 robert - - * src/osgPlugins/png/ReaderWriterPNG.cpp: From Thibault Genessay, - "The PNG plugin crashes when you try to read a malformed file - (attached - is an example). This can happen in circumstances that are not - manageable by the OSG itself (e.g. 3rd party buggy program) but - one - would expect the plugin to be able to recover by returning - ReadResult::ERROR_IN_READING_FILE. - - libpng provides two callbacks for warnings and errors - those are - currently unused. By default, they point to function that call - exit() - or something similar (the default error callback never returns). - This - patch registers the callbacks using libpng's mechanisms, makes - the - warning callback emit an osg::notify(osg::WARN) message and the - error - callback throw an error. The reading process is enclosed in a - try...catch block. Upon error, the memory is freed and - ReadResult::ERROR_IN_READING_FILE is returned. - " - -2008-05-28 13:45 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Thibault Genessay, - "On Windows, when setting a cursor through - osgViewer::GraphicsWindow::setCursor() the new cursor type is - recorded - but not applied until windows sends another WM_SETCURSOR message. - This - delays the application of the cursor to the next mouse event. - - The attached file fixes this by setting the new cursor with a - call to - ::SetCursor() immediately. - " - -2008-05-28 13:01 robert - - * src/osg/Texture.cpp: From Michael Platings, "Yes it's definitely - a driver problem - I submitted a bug report to - nvidia 6 months ago and the issue is still "in progress". I've - given up - waiting for them! - - Platform - various Intel Windows XP SP2 PCs with various nvidia - cards - including GeForce 8800 GTS and Quadro FX 4500, and various driver - versions including the latest WHQL 175.16. - - I investigated your concerns about glGenerateMipmapEXT being - slower than - GL_GENERATE_MIPMAP_SGIS, and for power-of-two textures, to my - surprise - it is. For a 512*512 texture, glGenerateMipmapEXT takes on - average 10ms, - while GL_GENERATE_MIPMAP_SGIS takes on average 6ms. Therefore I - have - modified the code to only use glGenerateMipmapEXT if the texture - has a - non-power-of-two width or height. I am resubmitting all the files - previously submitted (only "Texture.cpp" has significant changes - since - my previous submission, I've also replaced tabs with spaces in - "Texture"). - " - -2008-05-28 12:49 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake, - src/osgDB/Registry.cpp: From Mathieu Marache, - - first post: - - "I had the problem that debug and release version of the plugins - had the same name under linux. These minors modification to - Registry and the CMake support files enable to have both Release - and Debug version of the plugins to coexist and be found by there - respective runtimes." - - follow up post: - - "I've gone ahead and added a preprocessor directive with the - editable CMAKE_DEBUG_POSTFIX. I modified Registry.cpp to take - this new preprocessor directive called OSG_DEBUG_POSTFIX while - looking for libraries in Debug mode for the windows (msvc) and - the linux platforms. - - MinGW, cygwin and Apple are still left out this proposal." - - - Notes from Robert Osfield, completed the work in change d entries - to use OSG_DEBUG_POSTFIX - -2008-05-28 11:58 robert - - * src/osgWrappers/osg/Texture.cpp: Updated wrappers - -2008-05-28 11:19 robert - - * include/osg/Texture, src/osg/Texture.cpp, src/osg/Texture2D.cpp, - src/osg/TextureCubeMap.cpp: From Michael Platings, "On nvidia - cards mipmap generation for non-power-of-two textures with - GL_GENERATE_MIPMAP_SGIS is very slow (over half a second for a - 720*576 - texture). However, glGenerateMipmapEXT() performs well (16ms for - the - same texture), so I have modified the attached files to use - Texture::generateMipmap() if glGenerateMipmapEXT is supported, - instead - of enabling & disabling GL_GENERATE_MIPMAP_SGIS." - - Notes, from Robert Osfield, I've tested the out of the previous - path using - GL_GENERATE_MIPMAP_SGIS and non power of two textures on NVidia - 7800GT and - Nvidia linux drivers with the image size 720x576 and only get - compile times - of 56ms, so the above half second speed looks to be a driver bug. - With - Muchael's changes the cost goes done to less than 5ms, so it's - certainly - an effective change, even given that Michael's poor expereiences - with - GL_GENERATE_MIP_SGIS do look to be a driver bug. - -2008-05-27 20:53 robert - - * src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/txp/TXPIO.cpp, src/osgPlugins/txp/TXPNode.cpp, - src/osgPlugins/txp/TXPNode.h, src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgPlugins/txp/TXPParser.cpp: From Brad Anderegg, "This - submission fixes two bugs and helps some performance problems we - have been having with txp databases. - - - - The first bug is that the terrain tiles will page out to a lower - LOD when they are right in front of you. The issue appears to be - with the blacklisting heuristic which forces a tile to LOD 1, - commenting out the usage of blacklisting with the LOD Nodes fixes - our problem. This code change was made to line 29 of - TXPPageLOD.cpp. - - - - The second bug we were experiencing is that the database reader - options never make it through to the archive loader. The use case - for us appeared when the FID codes for the terrain were no longer - on the materials. As it turns out the archive was being created - twice, once by TXPNode and once by the ReaderWriterTXP on - getArchive() so the options never actually got set on the archive - that was being loaded. The fix is to first create the archive by - calling getArchive on the ReaderWriterTXP, which stores it in a - map for reference later, and then passing that archive into the - TXPNode for it to set its internal member. With this code change - we only create one archive (not sure what creating two did) and - our options flags get set properly on the database. - - - - The changes made are in TXPNode.h line 72 where the TXPArchive is - now passed in. In the TXPNode.cpp the loadArchive(TXPArchive*) - was changed to have the default behavior if NULL is passed in, if - an archive is passed in then it does not load it since all the - loading is done in the ReaderWriterTXP::getArchive(). The only - other place that loadArchive is called is in TXPIO.cpp where a - modification was made to pass in NULL which will have the same - behavior as it used to. The last change is the little block of - code starting on line 57 of ReaderWriterTXP.cpp, this was changed - so that it first calls getArchive() which caches the archives in - a map does some loading stuff and returns a pointer to it which - is then passed in as a parameter to TXPNode::loadArchive(). - - - - The performance changes were made to TXPParser.cpp line 163 where - we use to osgUtil::Optimizer on the node before passing it off, - and on line 1456 we changed the geometry to use display lists. - These small changes actually made drastic performance increases - for us, as much as 1000% on certain laptops. - - - - As far as testing goes, we have tested these changes with at - least 5 txp databases on a variety of different computers - including Mac OS and Linux. The base version used is 2.4." - -2008-05-27 17:42 robert - - * CMakeLists.txt: From Cedric Pinson, "By default it's the normal - behaviour, it means it's "d" extension for debug library and - executable. But if you want to change that you can. - The reason is if you want to build an application that use a - library that use openscenegraph you have to build the full chain - in debug or in release. - On windows you have no choice, but on linux you can link with - both version without rebuilding everything ... - - The patch consist only to change the line on one line - SET(CMAKE_DEBUG_POSTFIX "d") - with - SET(CMAKE_DEBUG_POSTFIX "d" CACHE STRING "add a postfix, usually - d on windows")" - -2008-05-27 17:32 robert - - * src/osgSim/Sector.cpp: From Lars Nilson, bug fix to - Sector::computeMatrix() - -2008-05-27 16:32 robert - - * src/osgDB/FieldReader.cpp, src/osgDB/Output.cpp: Added handling - of \ within srings by using \\ - -2008-05-27 15:42 robert - - * src/osgWrappers/osg/Texture2DArray.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/Terrain.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/osgTerrain/TerrainTile.cpp: Updated wrappers - -2008-05-27 15:30 robert - - * include/osgTerrain/GeometryTechnique, - include/osgTerrain/TerrainTechnique, - include/osgTerrain/TerrainTile, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp: Reorginized the - TerrainTile/TerrainTechnique dirty mechanism so that TerrainTile - now holds the dirty flag and enables/disables event traversal in - response dirty - being set/unset. This allows terrain to be automatically updated - in response - to Terrain scale and sample ratio changes. - -2008-05-27 15:28 robert - - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: - Introduced a TerrainHandler that adjust the sameple ratio and - vertical scale - of terrain interactively using the 'r','R' and 'v','V' keys - respecitvely. - -2008-05-27 13:11 robert - - * include/osgTerrain/Terrain, src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/Terrain.cpp: From John Vidar Larring, "Added - vertical scale as a property of osgTerrain::Terrain. Lets you - configure vertical scale when initializing the terrain model. - E.g: - - osgTerrain::Terrain* terrain = - findTopMostNodeOfType(model.get()); - if (!terrain) - { - terrain = new osgTerrain::Terrain; - terrain->addChild(model.get()); - terrain->setVerticalScale(2.0f); - model = terrain; - } - viewerWindow->setSceneData(model.get()); - " - -2008-05-27 12:07 robert - - * CMakeLists.txt, include/osg/Version: Updated version numbers in - prep for 2.5.1 release - -2008-05-27 12:06 robert - - * src/osgPlugins/vrml/CMakeLists.txt, - src/osgPlugins/vrml/IndexedFaceSet.cpp, - src/osgPlugins/vrml/Primitives.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.h: From Gino van den - Bergen, "I've refactored the single ReadedWriterVRML2.cpp into - multiple files. The reason for doing this was to break up the - horribly long function - - osg::ref_ptr - ReaderWriterVRML2::convertFromVRML(openvrml::node *obj) - - The fixes are: - - * Added the source's parent directory as search directory for - image files. - * The material properties are now set in the stateset of the - Geode rather than the Geometry. This will allow geometries to be - reused with different material properties in future updates. - - NB: I planned for a caching scheme in which multiple occurences - of the same primitive (e.g., Cylinders with radius 0.8 and height - 1.2), would use the same Geometry object. Unfortunately, my - planning moved me to other areas, but I might still finish the - caching scheme in a quiet hour. For the time being I decided it - would be a good thing to already submit my current changes. - " - -2008-05-27 11:13 robert - - * src/osgViewer/PixelBufferX11.cpp: From Mathias Froehlich, - "Included a fix for my past pbuffer change. The version test fo - 'need at least - glx 1.1' was broken, even if no implementation had yet a chance - to trigger - that :) - - Attached a fix for that broken test. - Based on rev 8358" - -2008-05-27 11:07 robert - - * src/osgPlugins/osg/LineStipple.cpp: From Andrew Bettison, - "Problem: the LineStipple pattern when read from an OSG node file - is always 0xFFFF, even though specified otherwise in the OSG - file. - - Cause: possibly a copy/paste typo in - src/osgPlugins/osg/LineStipple.cc, line 61: - if (fr[0].matchWord("functionMask") && fr[1].getUInt(mask)) - - Solution: change to: - if (fr[0].matchWord("pattern") && fr[1].getUInt(mask))" - -2008-05-27 11:04 robert - - * src/osgUtil/GLObjectsVisitor.cpp: From Stephane Lamoliatte, "Here - is a patch that fix the strange bug describe on the osg-user - group. - Finally it seems to not come from the empty geode. The origin of - the problem seems to be the uniform initialization during the - building of the program which call a glUseProgram. - If your scene never display the node that contains the shader and - if there is no other shader on the scene, this "glUseProgram" is - the only one that is called during your simulation. So, this - shader is applied on all the scene. - - I fix this bug by switching off the shader (by calling - glUseProgram(0) ) during the compilation of a state which does - not contain the shader. - " - -2008-05-27 10:50 robert - - * src/osgPlugins/gif/ReaderWriterGIF.cpp: From Wang Rui, "I have - just done some changes on the classic osgdb_gif plugin (based on - OSG 2.5.0). I wish our developers may use the newly written GIF - reading plugin to attach animate GIF files as textures now! In my - opinion, a GIF is much smaller than AVI and MOVs, and much more - efficient sometimes. - - Changes includes: - 1. A new GifImageStream class (inherit from osg::ImageStream and - OpenThreads::Thread) have already been added to implement - different operations of a GIF movie, such like playing, pausing, - rewinding, setting time and so on. - 2. Some small changes to decode_row() and gif_read_stream(), - which make the transparency of GIF images correctly. - 3. Just a few changes to the ReaderWriterGIF::readGIFStream() - function, which ensure that animate GIFs are loaded by - GifImageStream (and the function returns GifImageStream objects) - and static GIFs unchanged (still use the old method and returns - osg::Image objects!). - - Attachments are the cpp file and an animate GIF file for further - test. Just rebuild the osgdb_gif project and use osgviewer or - osgmovie to view it. - The plugin has been tested on Windows and Arch Linux." - -2008-05-26 22:36 robert - - * CMakeLists.txt, CMakeModules/Find3rdPartyDependencies.cmake, - CMakeModules/OsgMacroUtils.cmake, - src/OpenThreads/pthreads/CMakeLists.txt, - src/osgPlugins/CMakeLists.txt: From Philip Lowman, post 1: - - "Here is a collection of changes which should fix issues building - the OSG with CMake 2.6.0 (along with some other changes) - - CMakeLists.txt: - * Set CMP0003 to supress warning about linking against -lpthread - (which is a - non-absolute library location). (CMake 2.6.x fix) - * Modified the WIN32_USE_MP and a couple of other Visual Studio - specific flags - to be in an IF(MSVC) block (minor tweak to reduce exposing this - stuff on MinGW builds) - * Includes my second set of glu tesselator autodetection changes - that you - seemed to want but haven't committed yet. - - src/OpenThreads/pthreads/CMakeLists.txt: - * Eliminates warning when compiling on Linux about spaces in link - line (CMake 2.6.x fix) - - CMakeModules/OsgMacroUtils.cmake: - * Tweaks to make the macros behave properly under CMake 2.6.0 - (doesn't change behavior under CMake 2.4.x) - - CMakeModules/Find3rdPartyDependencies.cmake: - * Adds the NO_DEFAULT_PATH option to all of the search options so - that things in C:\Program Files\OpenSceneGraph aren't accidently - picked up during configure time and instead only things in the - "3rdParty" folder are discovered. (general bugfix) - " - - post 2: - "Ok, hold the presses. I just discovered that for some odd reason - the osgdb_* plugins under Linux aren't getting put under the - osgPlugins-2.5.0 folder. Not exactly sure why this broke, the - folder was there, just empty. I'll have to look into it this - evening." - - post 3: - - "Fixed, was caused by the switch to - CMAKE_LIBRARY_OUTPUT_DIRECTORY and some code in - osgPlugins/CMakeLists.txt that effectively overrides - LIBRARY_OUTPUT_PATH on non-MSVC compilers to dump the plugins in - the plugins folder. I tweaked it to override - CMAKE_LIBRARY_OUTPUT_DIRECTORY as well. Seems to work fine." - -2008-05-26 22:34 robert - - * src/osgPlugins/dae/daeWGeometry.cpp: From Paul Martz, "When - exporting a DrawArrays PrimitiveSet, the DAE plugin computes an - incorrect nbVerticesPerPoly if the first index is not zero. The - issue can be reproduced easily with: - osgconv cessna.osg cessna.dae - - Examination of the resulting .dae file reveals several - out-of-range tristrip indices; viewing the .dae file in osgviewer - causes a crash when OSG tries to lookup those indices. - - Attached resolves this issue." - -2008-05-26 21:53 robert - - * include/osg/Texture2DArray, src/osg/Texture2DArray.cpp: From Art - Tevs, "I've attached a patch for the Texture2DArray which solves - problems of loading image data into the texture array. So here - are a small description: - - - Solves issues of loading image data into the texture memory - - Print a warning if images are of different dimensions or have - different internal formats (GL specification requires images to - be the same) - - - Patch is tested and seems to work fine. It shouldn't break any - other functionality. It should go into include/osg and src/osg - " - -2008-05-26 21:44 robert - - * include/osg/CullSettings: Fixed copyright notice typo - -2008-05-26 21:33 robert - - * src/osg/StateSet.cpp: From Paul Martz, "The attached code changes - StateSet::merge() so that it copies RenderBin data such as the - rendering hint and RenderBin details from rhs into "this", only - if "this" has RenderBin mode set to INHERIT. - - It replaces a comment by you indicating something along these - lines should be done. To me, this seems like the right thing to - do." - -2008-05-26 21:32 robert - - * src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeWMaterials.cpp: From Gino, "According to - the 1.4.1 COLLADA spec (2nd ed) the standard behavior for - fx_sampler_wrap_common is as follows - - CLAMP ->GL_CLAMP_TO_EDGE - NONE->GL_CLAMP_TO_BORDER - - The current 2.5.0 daePlugin assumes the following binding - - CLAMP ->GL_CLAMP - NONE->GL_REPEAT - - Notably the GL_CLAMP binding will result in visible black seams - on input files that use otherwise matching textures. Replacing - GL_CLAMP by GL_CLAMP_TO_EDGE solves this problem. I've updated - both the read and write functions. - " - -2008-05-26 21:18 robert - - * CMakeLists.txt: From Philip Lowman, "I changed the test name to - be a little easier to understand and defaulted Linux & Windows - builds to false and to skip the compile check as you desired. - " - -2008-05-26 21:10 robert - - * src/osgWrappers/osg/AnimationPath.cpp: Updated wrappers - -2008-05-26 21:09 robert - - * examples/osgviewerWX/osgviewerWX.cpp, - examples/osgviewerWX/osgviewerWX.h: From Paul Melis, "Here is an - update to the osgviewerWX example. Keyboard events were not - always received because the GraphicsWindowWX wasn't receiving - focus. It now receives focus when the mouse enters the window. - * I split the mouse handling from a monolithic method to separate - ones, slightly cleaner than a whole bunch of if()'s, especially - with another case of the mouse entering the canvas. - * I changed the EVT_KEY_DOWN handler to an EVT_CHAR handler, - although that now makes the up and down handler assymetric. The - new down-handler returns translated key codes, so when you press - the S key (without anything else), it actually returns 's' and - not 'S' as the EVT_KEY_DOWN did. This means that statistics can - be called up in the viewer window, while the example previously - only printed a "Stats output:" line to the console. I'm not truly - happy that the up handler returns _untranslated_ key codes. But - solving this completely would probably mean adding some table - that translated from wxWidgets' untranslated key codes to OSG's - internal ones. This might be interesting to add, as anyone using - OSG + wxWidgets in any serious manner would also have to add - this. - * I commented out the evt.Skip()'s in the keyboard handlers as - these would only be necessary if there were some key events that - are not handled. But currently all key events are simply - forwarded. - * I changed the handling of a mouse drag to a more general mouse - move" +Thu, 9 Jun 2011 12:57:14 +0000 +Checked in by : Robert OSFIELD +Refactored the UserDataContainer so that the osg::UserDataContainer is now a pure virtual base class, with a osg::DefaultUserDataContainer subclassed from this. The user object access methods have now all been moved from osg::Object into the UserDataContainer class, except for the set/getUserData() methods that are left in osg::Object for backwards compatibility, and the description list access methods have been moved back into osg::Node.main UserObject access methods are now all def -2008-05-26 21:04 robert - * src/osgPlugins/OpenFlight/FltWriteResult.h: From Colin McDonald, - "I had to tighten a declaration in OpenFlight/FltWriteResult.h, - as the Solaris SunStudio 11 compiler was being picky and wouldn't - compile." -2008-05-26 20:46 robert +Thu, 9 Jun 2011 11:07:27 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "the attached patch adds an additional null pointer check" - * src/osgViewer/ViewerBase.cpp: Added debug block to output the - location of the master camera for each View in a Viewer. +Thu, 9 Jun 2011 11:05:36 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "The attached patch adds the polygon primitive to the TangentSpace computation. As far as I understand, this should just work for the polygon as well as with the tristrip primitive. " -2008-05-26 17:30 robert +Thu, 9 Jun 2011 10:48:19 +0000 +Checked in by : Robert OSFIELD +Changed the defaults volume setting to not enable the SampleDensityWhenMoving property. - * include/osg/AnimationPath, include/osgViewer/ViewerEventHandlers, - src/osg/AnimationPath.cpp, src/osgViewer/ViewerEventHandlers.cpp: - Added continuous recording of the animation path to the - RecordAnimationPathHandler +Wed, 8 Jun 2011 17:45:24 +0000 +Checked in by : Robert OSFIELD +Cleaned up example to use the new ImageUtils functions for creating a 3D image from a list of images. -2008-05-26 16:25 robert +Wed, 8 Jun 2011 16:10:46 +0000 +Checked in by : Robert OSFIELD +Added support for creating a 3D Image from an image list.Added support for reading a list of images in the Present3D tag. - * examples/osgscreencapture/osgscreencapture.cpp: Introduce - --pbuffer-only width height option, and added fps reporting to - stats output -2008-05-26 15:41 robert - * examples/osgscreencapture/osgscreencapture.cpp: Added basic - --pbuffer width height support +Wed, 8 Jun 2011 09:28:59 +0000 +Checked in by : Robert OSFIELD +Removed OSG_EXPORT -2008-05-26 14:30 robert +Wed, 8 Jun 2011 09:24:50 +0000 +Checked in by : Robert OSFIELD +Introduced a less conservative near ratio. - * examples/osgscreencapture/osgscreencapture.cpp: Added better - stats reporting +Wed, 8 Jun 2011 09:24:29 +0000 +Checked in by : Robert OSFIELD +Simplified the osgdepthpartion example to use the osgView::View::setUpDepthPartition(..) feature -2008-05-26 12:01 robert +Tue, 7 Jun 2011 20:24:49 +0000 +Checked in by : Robert OSFIELD +Added support for reading .osg, .osgb, .osgx, .osgt and .ive models that contain volumes from within the volume tag. - * examples/osgscreencapture/osgscreencapture.cpp: Added feedback of - pixel format chosen for read back +Tue, 7 Jun 2011 16:17:35 +0000 +Checked in by : Robert OSFIELD +Added support for .osgt, .osgb and .osgx plugins to osgvolume example -2008-05-26 11:59 robert +Tue, 7 Jun 2011 15:33:35 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file for release - * examples/osgscreencapture/osgscreencapture.cpp: Added automatic - selection of the pixel type according to the window type +Tue, 7 Jun 2011 14:28:58 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Lastest change (update to FBX 2012.1) introduced a regression. It didn't take materials' order into consideration. The line lMaterialLayer->GetDirectArray().SetAt(it->second.getIndex(), lMaterial); has been replaced by _curFbxNode->AddMaterial(lMaterial); because KFbxLayerElementMaterial::GetDirectArray() is now private and we can't access to it. However, pushing back the material at the end of the vector is wrong. We can use the (now) public attribute KFbxLayerElementMaterial::mDirectArray, as in this submission. " -2008-05-26 11:53 robert +Tue, 7 Jun 2011 14:26:13 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, build fixes for legacy unix systems - * examples/osgscreencapture/osgscreencapture.cpp: Added option for - doing triple buffering, and set the default read format - to GL_RGBA +Tue, 7 Jun 2011 13:02:20 +0000 +Checked in by : Robert OSFIELD +Added ability to subclass from osg::Object to provide custom user data functionality. A new UserDataContainer provides the default implementation of the user data functionality. -2008-05-25 22:06 robert +Tue, 7 Jun 2011 09:28:38 +0000 +Checked in by : Robert OSFIELD +Added the return of the index position of the added UserObject - * examples/osgscreencapture/osgscreencapture.cpp: Switch to using - an inital draw callback when use --start-frame +Tue, 7 Jun 2011 08:53:03 +0000 +Checked in by : Robert OSFIELD +Added support for searching for user objects from a given startPosition in the UserDataContainer object. -2008-05-25 21:52 robert +Mon, 6 Jun 2011 11:48:32 +0000 +Checked in by : Robert OSFIELD +From Frida Schlaug, "Imageio for ios had a poorly implemented function for reading from streams (always returning null). In this patch I copied some code from the non-ios imageio file and adjusted it to work on ios. " - * examples/osgscreencapture/osgscreencapture.cpp: Added option for - setting whether the front or back buffer should be read using - --front and --back command line options. +Mon, 6 Jun 2011 11:45:25 +0000 +Checked in by : Robert OSFIELD +From Jorge Ciges, Minor tweaks in Android makefiles that make possible to compile for armeabi v7 with neon -2008-05-25 21:35 robert +Mon, 6 Jun 2011 11:44:21 +0000 +Checked in by : Robert OSFIELD +From Jorge Ciges, Minor tweaks in Android makefiles that make possible to compile for armeabi v7 with neon - * examples/osgscreencapture/osgscreencapture.cpp: Added option for - controlling whether the front buffer is read at the start of the - frame or the back buffer at the end of the frame. +Fri, 3 Jun 2011 15:58:36 +0000 +Checked in by : Robert OSFIELD +Added support for --tf-255 transfer function files -2008-05-25 11:21 robert +Fri, 3 Jun 2011 13:47:59 +0000 +Checked in by : Robert OSFIELD +Added support for using the sampleDensityWhenMoving tag with all techniques - * CMakeLists.txt: Added check for pkg-config so that build only use - related package checks when - it's supported +Thu, 2 Jun 2011 22:49:29 +0000 +Checked in by : Robert OSFIELD +Added extra check to make sure that _userDataContainer was available before copying it -2008-05-24 11:05 robert +Thu, 2 Jun 2011 22:07:16 +0000 +Checked in by : Robert OSFIELD +Add new macro's to help with serialization of new user objects - * include/osg/BufferObject, include/osg/Camera: Added #define's for - PixelBufferObject extensions. - - Added docs for Camera::DrawCallback +Thu, 2 Jun 2011 22:06:56 +0000 +Checked in by : Robert OSFIELD +Added new osguserdata example as a guide to the new user object API and as a testbed -2008-05-24 09:24 robert +Thu, 2 Jun 2011 22:05:10 +0000 +Checked in by : Robert OSFIELD +Added support for new osg::Object user objects. - * src/osgUtil/CullVisitor.cpp: Added RenderStage::setClear*() - methods from Camera::getClear*() sources +Thu, 2 Jun 2011 22:04:08 +0000 +Checked in by : Robert OSFIELD +Introduced new user object support into osg::Object that allows assignment of a list of user objects to an osg::Object.Refactored original UserData and Descriptions strings to be managed alongside the new user object suppport within +a single osg::Object::UserDataContainer. -2008-05-24 08:13 robert - * examples/osgscreencapture/osgscreencapture.cpp: Changed default - format to GL_BGR -2008-05-23 16:26 robert +Thu, 2 Jun 2011 21:32:03 +0000 +Checked in by : Robert OSFIELD +Updated version - * examples/osgscreencapture/osgscreencapture.cpp: Added single - buffered and double buffered PBO support, and --no-pbo, - --single-pbo and --double-pbo command line parameters +Thu, 2 Jun 2011 20:38:13 +0000 +Checked in by : Robert OSFIELD +Added ref_ptr<> usage to avoid possible memory leak. -2008-05-22 17:50 robert +Thu, 2 Jun 2011 14:42:21 +0000 +Checked in by : Robert OSFIELD +Updated version and so number for next dev release - * examples/osgscreencapture/osgscreencapture.cpp: Added basic - glReadPixels code +Mon, 30 May 2011 15:43:18 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS and ChangeLog for 2.9.15 dev release -2008-05-22 15:43 robert +Mon, 30 May 2011 13:02:13 +0000 +Checked in by : Robert OSFIELD +From Dimi Christop, build fix for RHEL 4. - * examples/osgscreencapture/osgscreencapture.cpp: Added camera - final callback attachment code. +Mon, 30 May 2011 09:26:24 +0000 +Checked in by : Robert OSFIELD +Added closing of the _eventDisplay on failure of initializing the context properly. -2008-05-22 13:11 robert +Mon, 30 May 2011 09:25:11 +0000 +Checked in by : Robert OSFIELD +Fixed X11 related crash that occured when GraphicsWindow::setCursor was called right after viewer.realize(); The fix was to simply move the setting of the thread that has done the makeCurrent to right before the makeCurrent() rather than right after. - * examples/osgscreencapture/osgscreencapture.cpp, - examples/osgscreencapture/osgscreenscapture.cpp: Fixed name of - source file +Mon, 30 May 2011 08:26:43 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "The submission fixes the spelling bug we discussed in osg-users. It replaces the variable ACTUAL_3DPARTY_DIR to ACTUAL_3RDPARTY_DIR with back compatibility. Please find it in attachment. " -2008-05-22 13:10 robert +Mon, 30 May 2011 08:24:34 +0000 +Checked in by : Robert OSFIELD +From Terry Welsh, "I was having a small culling problem with osgText... new TextBase.cpp that fixes it." - * examples/CMakeLists.txt, examples/osgscreencapture, - examples/osgscreencapture/CMakeLists.txt, - examples/osgscreencapture/osgscreenscapture.cpp: Added new - osgscreencapture example folder, implementation to follow +Fri, 27 May 2011 16:04:18 +0000 +Checked in by : Robert OSFIELD +Reverted part of revision r12294 that introduced threading related problems under X11 due to checking the _display Display member variable assigned to the graphics thread from the main thread. -2008-05-22 12:38 robert +Fri, 27 May 2011 11:22:43 +0000 +Checked in by : Robert OSFIELD +From Ryan Pavlik, "Existing osgconv behavior is to transform the model bounding sphere center to the world origin before performing transformations specified on the command line, and translating back after rotation and scaling unless an alternate translation is specified. This patch adds a setting to the OrientationConverter class in osgconv to disable this extra transformation, which has the effect of applying specified transforms with respect to the input world coordinate system, rather than to the center of the bounding sphere. It also adds a command line argument "--use-world-frame" to enable this behavior. When this command line argument is not passed, behavior is unchanged from before the patch. The usage text has been updated to reflect this additional option, and the comments in OrientationConverter are also updated."Note from Robert Osfield, tweaked the OrientationConverter.cpp a little to improve readability. - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: - Reorginaized the DatabaseQueue's to avoid warnings under Windows -2008-05-22 11:21 robert - * src/osgDB/DatabasePager.cpp: Fixed warning by adding in missing - return +Fri, 27 May 2011 11:18:44 +0000 +Checked in by : Robert OSFIELD +Fixed indentation -2008-05-22 08:31 robert +Fri, 27 May 2011 11:07:04 +0000 +Checked in by : Robert OSFIELD +Fixed the searchAndReplace function so that it correctly skips over the newly inserted replacement strings. - * src/osgPlugins/curl/ReaderWriterCURL.h: Checking in missed header +Fri, 27 May 2011 09:08:48 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, "I like the recent addition that adds folders in the solution tree to better organize the numerous examples, libraries, plugins etc.I added two folders that were missing IMHO: packaging and documentation. +" -2008-05-21 21:09 robert - * include/osg/NodeVisitor, include/osg/PagedLOD, - include/osg/ProxyNode, include/osgDB/DatabasePager, - include/osgDB/ReaderWriter, src/osg/PagedLOD.cpp, - src/osg/ProxyNode.cpp, src/osgDB/DatabasePager.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/curl/CMakeLists.txt, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/osg/PagedLOD.cpp, - src/osgPlugins/txp/TXPPagedLOD.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgViewer/ViewerBase.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/PagedLOD.cpp, - src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp: Refactored DatabasePager - and related classes to introduce support for - multi-threaded paging, where the Pager manages threads of reading - local - and http files via seperate threads. This makes it possible to - smoothly - browse large databases where parts of the data are locally cached - while - others are on a remote server. Previously with this type of - dataset - the pager would stall all paging while http requests were being - served, - even when parts of the models are still loadable virtue of being - in the - local cache. - - Also as part of the refactoring the DatabaseRequest are now - stored in the - ProxyNode/PagedLOD nodes to facilitate quite updating in the cull - traversal, - with the new code avoiding mutex locks and searches. Previous on - big - databases the overhead involved in make database requests could - accumulate - to a point where it'd cause the cull traversal to break frame. - The overhead - now is negligable. - - Finally OSG_FILE_CACHE support has been moved from the curl - plugin into - the DatabasePager. Eventually this functionality will be moved - out into - osgDB for more general usage. - -2008-05-20 09:28 robert - - * src/osgViewer/Renderer.cpp: Moved the compile to after the - updateSceneView - -2008-05-14 20:22 robert - - * src/osgWrappers/osgDB/ReaderWriter.cpp: Updated wrappers - -2008-05-14 17:03 robert - - * include/osgDB/ReaderWriter, src/osgDB/DatabasePager.cpp, - src/osgPlugins/curl/ReaderWriterCURL.cpp: Introduced preliminary - support for asynchronous file read requests, - - ReaderWriter::ReadResult now has a FILE_REQUEST enum. - ReaderWriter::Options now has a s/getAsynchronousFileReadHint() - parameter methods. - - libcurl based plugin now detects enabing of the - AsynchronousFileReadHint, but - as yet does not handle async requests - handling everything - syncronously. - - DatabasePager now by default will enable AsynchronousFileReadHint - for http - based file requests - - -2008-05-14 14:59 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Moved the cache file - writing into StreamObject so that the cache file is only - created once data is being read. - -2008-05-14 13:16 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Introduced a thread - safe map which manages a single EasyCurl object per thread. - -2008-05-14 12:47 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Refactor curl usage so - that a new EasyCurl class wraps up the curl handle and - reading from curl. - -2008-05-13 18:28 robert - - * applications/osgfilecache/osgfilecache.cpp: Fixed lat/long - ordering - -2008-05-13 17:27 robert - - * applications/osgfilecache/osgfilecache.cpp: Added support for -e - level minX minY maxX maxY extents controls - -2008-05-13 14:08 robert - - * src/osgDB/ReadFile.cpp: Added --file-cache directoryname command - line option support to readNodeFiles(ArgumentParser&) - to make it easier to specify a local file cache, in place of the - default OSG_FILE_CACHE - env var. - -2008-05-13 12:36 robert - - * applications/osgfilecache/osgfilecache.cpp: Further work on - computing of lat/long range of PagedLOD subgraphs - -2008-05-13 10:56 robert - - * src/osgPlugins/dae/ReaderWriterDAE.cpp: From Steven Thomas, - "Subject: Collada fix - There was a problem converting a file to Collada by using osgconv - like this: - - osgconv file.osg file.dae - - You would get an error message: - - I/O error : Permission denied - I/O error : Permission denied - error : xmlNewTextWriterFilename : out of memory! - Error: daeLIBXMLPlugin::write(file://cessna.dae) failed - Warning: Error in writing to "cessna.dae". - - This was due to some bad URI processing code in the Collada - plugin. The attached file fixes this by using the Collada DOM's - URI processing functions. After this change the file will convert - successfully in the local directory. - " -2008-05-12 16:59 robert +Fri, 27 May 2011 09:05:20 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky, "Attached is an updated PNM plugin for inclusion in both the trunk and for release version 2.8.5. The attached file fixes numerous bugs in reading 8-bit and 16-bit images, including loading the images upside-down. This file also incorporates trunk patch r12220 which updated the plugin for reading and writing images through streams instead of C-style FILE I/O."Note from Robert Osfield, previous revision was in error due to an incomplete merge, this revision completes the job. - * applications/osgfilecache/CMakeLists.txt, - applications/osgfilecache/osgfilecache.cpp: Added signal handling - code, and prelimary lat/long computation -2008-05-12 15:42 robert - * src/osgViewer/ViewerBase.cpp: Added missing getBound() method - -2008-05-12 12:16 robert - - * ChangeLog, src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osgViewer/Renderer.cpp: Update ChangeLog and - wrappers for 2.5.0 dev release - -2008-05-12 12:16 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS for 2.5.0 release - -2008-05-12 11:39 robert - - * src/osgUtil/RenderStage.cpp: From Mathias Froehlich, Fixed - FrameBufferObject attachement code to handle cases - where no texture or image is attached +Fri, 27 May 2011 09:00:53 +0000 +Checked in by : Robert OSFIELD +From Laurens Voerman, "While working on the osg exporter for 3dsmax I found a bug in the TriStripVisitor. I created a small example (attached), and a modified version of src\osgUtil\TriStripVisitor.cpp where the problem is removed." -2008-05-12 11:01 robert +Fri, 27 May 2011 08:55:37 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky, "Attached is an updated PNM plugin for inclusion in both the trunk and for release version 2.8.5. The attached file fixes numerous bugs in reading 8-bit and 16-bit images, including loading the images upside-down. This file also incorporates trunk patch r12220 which updated the plugin for reading and writing images through streams instead of C-style FILE I/O." - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version number for - 2.5.0 dev release +Fri, 27 May 2011 08:22:16 +0000 +Checked in by : Robert OSFIELD +Reverted Bryce Eldrige submission. -2008-05-12 10:55 robert +Thu, 26 May 2011 16:52:08 +0000 +Checked in by : Robert OSFIELD +Form Jorge Ciges, improved GL version detection code. - * applications/osgviewer/osgviewer.cpp, - include/osg/ApplicationUsage, include/osg/ArgumentParser, - src/osg/ArgumentParser.cpp, src/osgViewer/Viewer.cpp: From Eric - Sokolowski and Robert Osfield, moved command line option usage - setup - from osgviewer example into osg::ArgumentParser and - osgViewer::Viewer to make - them more universally available. +Thu, 26 May 2011 16:34:33 +0000 +Checked in by : Robert OSFIELD +From Dietmar Funck, "I've noticed an issue when writing arrays of type Vec2D and Vec3D to a .osgb file. A number is written to the output stream to identify the array type. In case of Vec2D and Vec3D arrays Vec4D is written as array type - I guess this is a copy and paste mistake. Writing the correct array types fixes the issue - in my case it fixes writing and afterwards reading geometry instances." -2008-05-12 10:18 robert +Thu, 26 May 2011 16:26:50 +0000 +Checked in by : Robert OSFIELD +From Bryce Eldridge, "Here is an update for the TIFF plugin that includes the following features when writing out TIFF files:- Support for writing unsigned 16-bit images (GL_UNSIGNED_SHORT) +- Code to parse the options string for the following options: +-- Flag to turn off the compression. The PACKBITS compression type causes issues for me with some programs on Windows (Picasa for example). +-- Options to set the XRESOLUTION and YRESOLUTION tags (DPI) in the TIFF file. - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp, src/osgPlugins/obj/obj.h: From Bob - Kuehne, "* add easy multiple texture targets support for obj by - refactoring texture - load into it's own method. - - * use new method from step 1 to load 'map_opacity' textures from - .mtl files" +Existing behavior (PACKBITS compression, DPI tags left at default) is preserved if the options string is not set. +" -2008-05-12 10:16 robert - * include/osg/Hint: From Mathias Froehlich, fixed typo - -2008-05-11 14:26 robert - - * src/osgPlugins/CMakeLists.txt: Added CARIO_FOUND into svg plugins - checks - -2008-05-11 14:23 robert - - * CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/svg, src/osgPlugins/svg/CMakeLists.txt, - src/osgPlugins/svg/ReaderWriterSVG.cpp: From Miguel Escriva, Here - you will find a SVG Image Reader. It renders a SVG file as an - osg::Image using cairo and rsvg. - -2008-05-10 17:25 robert - - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp: From Paul - Martz, "This change adds support for osg::Billboards to the - OpenFlight exporter. - - It might seem odd that the change actually removes the stub - apply(Billboard&) method, but it turns out Billboards are easily - supported in subordinate routines of the existing apply(Geode&) - method with s dynamic_cast, so there's no need for a separate - apply(Billboard&)." - -2008-05-10 17:23 robert - - * src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp: From Paul Martz, - "Another round of plugin enhancements. - - 3DC: Output now uses osg::notify. - JPEG: Now returns correct error code for empty input file. - FreeType: Prevent possible crash if Options is NULL." - -2008-05-10 17:04 robert - - * include/osgViewer/Renderer, src/osgViewer/Renderer.cpp, - src/osgViewer/View.cpp, src/osgViewer/ViewerBase.cpp: Moved - compile setup from osgViewer::ViewerBase into osgViewer::Renderer - to - avoid threading issues associated with compile running in a - parallel with - update/cull on the first frame. - - Also added automatic recompile when a new SceneData is applied to - a View. - -2008-05-09 17:22 robert - - * applications/osgfilecache/osgfilecache.cpp: Added --file-cache - command line option to compliment -c - -2008-05-09 17:08 robert - - * applications/CMakeLists.txt, applications/osgfilecache, - applications/osgfilecache/CMakeLists.txt, - applications/osgfilecache/osgfilecache.cpp: Initial cut of file - cache population app - -2008-05-09 11:54 robert - - * src/osg/Program.cpp: From Art Trevs, set the _geometryVerticesOut - to default to 1 as a workaround - for OpenGL driver bug that incorrectly reports a warning when - value is 0. - -2008-05-09 11:27 robert - - * src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp: From Paul Martz, - "Attached are some minor plugin fixes. PNM, RGB, and JPEG would - all crash if attempting to read an empty file, and FLT would go - into an infinite loop. All are fixed with this change. - - I also fixed some return values for a couple of these, changing - FILE_NOT_HANDLED to ERROR_IN_READING_FILE where appropriate." - -2008-05-09 10:27 robert - - * examples/osgviewerGTK/osggtkdrawingarea.cpp, - examples/osgviewerGTK/osggtkdrawingarea.h, - examples/osgviewerGTK/osgviewerGTK.cpp: From Jeremy Moles, fixed - window resize problem - -2008-05-08 17:02 robert - - * src/osg/BoundingSphere.cpp: Added missing check against handling - invalid bounding sphere's - -2008-05-08 16:48 robert - - * src/osgPlugins/Inventor/ConvertToInventor.cpp: From Eric - Sokolowsky, "I found one compilation error in OSG 2.4 in the - Inventor plugin, where one node (SoTextureCoordinate3) was - assumed to be available in all versions of Inventor but is - actually only available in Coin. The use of the node is now - protected by #ifdef __COIN__ constructs. The attachment is based - on OSG 2.4, not SVN." - -2008-05-08 16:45 robert - - * include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: From Melchior Franz, "In KDE - I switch desktops with Super-Tab, and occasionally I - get an excess Tab key report when switching back to an OSG - application (usually FlightGear :-). Although KDE has consumed - the Tab, it's sometimes still in the XKeymapEvent's key_vector, - and followed by a Tab KeyRelease event. - - Avoid this artifact by - - asking for a "fresh" keymap (via XQueryKeymap()), rather than - using the unreliable(?) XKeymapEvent's key_vector, and by - - flushing all key events on focus-in (to avoid the KeyRelease) - - After Super-press, Tab-press, Super-release, Tab-release (note - the wrong release order!) I still get an extra Tab event. But - this is not surprising and not exactly wrong either. Also it's - hard to avoid, as we can't see what happened to the keyboard - before we regained focus. - - Files changed: - src/osgViewer/GraphicsWindowX11.cpp - include/osgViewer/api/X11/GraphicsWindowX11" - -2008-05-08 16:39 robert - - * CMakeLists.txt, examples/CMakeLists.txt, examples/osgviewerGTK, - examples/osgviewerGTK/CMakeLists.txt, - examples/osgviewerGTK/osggtkdrawingarea.cpp, - examples/osgviewerGTK/osggtkdrawingarea.h, - examples/osgviewerGTK/osgviewerGTK.cpp: From Jeremy Moles, - osgviewerGTK example - -2008-05-08 15:17 robert - - * src/osgPlugins/shp/ESRIShape.cpp, src/osgPlugins/shp/ESRIShape.h: - From Sebastien Messerschmidt, "attached you'll find a patch for - the shp-plugin. - I've spotted huge memory leaks int ShapeParser and fixed them. - Also, there was a missing destructor (PolygonM) and a missing - member initialization (PolygonZ) - Would be nice if someone could test the changes. - - To release the memory just if no reading error happened (and - therefore the arrays would be valid) I've added an macro to - release and reset the pointers at once. I'm not using macros - myself very often as I don't like them, but I think it doesn't - hurt in this code. - - " - -2008-05-08 15:14 robert - - * ChangeLog, applications/osgversion/osgversion.cpp: Updated - ChangeLog and osgversion to catch Raymond de Vries name correctly - -2008-05-08 14:00 robert - - * src/osgParticle/PrecipitationEffect.cpp: From Raymond de Vries, - "This fix tests the right variable before it is allocated. - Fortunately, until now it tested another variable - (_particleSizeUniform, which is, at that moment, not allocated as - well) and everything went ok. So it does not fix a crash or so, - it is a matter of correct code. - - Line 353 is changed from - - if (!_particleSizeUniform) - - to - - if (!_particleColorUniform) - " - -2008-05-08 13:56 robert - - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp: From Paul - Martz, "As I discovered prior to the 2.4 release, the FLT export - geometry backend was using some old turn-on code, originally - written just to enable other development but not intended for - actual release. Sadly, my OSG training commitments prevented me - from fixing this prior to 2.4. - - In essence, the FLT exporter was emitting a full set of Mesh - records each time it encountered a PrimitiveSet. - - Attached is a fix. The code now emits the Mesh set up records, - then iterates over all PrimitiveSets and emits a Mesh Primitive - record per PrimitiveSet. - - It also loops over PrimitiveSets twice, first writing Face - records according to the mode, the writing Mesh records (again - according to the mode). - - The final change included here is support for GL_POINTS as - single-vertex Face records. - - Billboards are still to come." - -2008-05-08 13:46 robert - - * src/osgWrappers/osg/Camera.cpp: Updated wrappers - -2008-05-08 13:22 robert - - * include/osg/Camera: From Roland Smeenk, "Small typo and - implementation fix for setInitialDrawCallback." - -2008-05-08 12:55 robert - - * CMakeLists.txt: From Philip Lowman, "Attached is a patch to the - toplevel CMakeLists.txt which adds an automated test for - OSG_GLU_TESS_CALLBACK_TRIPLEDOT. This should help ease initial - configuration on OS X systems." - -2008-05-08 12:36 robert - - * CMakeModules/FindCOLLADA.cmake, - src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/dae/daeRGeometry.cpp, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWriter.cpp: From Garrett Potts and Robert - Osfield, changes to build against Collada DOM 2.x - -2008-05-08 09:16 robert - - * include/osgUtil/SceneView: Updated the doxygen docs to explain - the deprecated status of SceneView - -2008-05-07 17:06 robert - - * src/osgPlugins/cfg/ReaderWriterCFG.cpp: Commented out checking of - DISPLAY env var - -2008-05-07 14:32 robert - - * src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/osgViewer/View.cpp: Updated wrappers - -2008-05-07 14:30 robert - - * include/osgDB/ReaderWriter: From Bob Kuehne, Added doxygen docs - clarification of ReadResult enum values - -2008-05-07 14:24 robert - * include/osgIntrospection/ReflectionMacros: From Donald Cipperly, - "This is a fix to eliminate >> errors in VS 7.1" +Thu, 26 May 2011 16:19:54 +0000 +Checked in by : Robert OSFIELD +Fixed default setting of texture_no_tile to match the flags seet in lib3ds_material.cpp initialize_texture_map(..). -2008-05-07 14:17 robert +Thu, 26 May 2011 16:16:11 +0000 +Checked in by : Robert OSFIELD +From Oliver Neumann,"I checked your solution and found one missing point which makes it still produce the tif error: +The very first seek_set on the empty stream with zero offset." - * include/osgViewer/View, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: From Miguel Escriva, "Attached to this - mail you will find some files to work with the Philips WOWvx - displays. - - It's implemented in the same way that 3D Spherical Display and - Panoramic Spherical Display. - - You can test it running: - osgviewer --wowvx-20 cow.osg - osgviewer --wowvx-42 cow.osg - depending on the size of your Philips WOWvx display (20" or 42") - - Other arguments you can use to control the 3D effect are: - - --wow-content - This value defines the kind of content that can be: - 0: No depth - 1: Signage - 2: Movie - 3: CGI - 4: Still - - --wow-factor - Percentage of the display recommended depth value. Default 64, - Range [0-255] - - --wow-offset - Amount of range behind the screen. Default 128, Range [0-255] - 0: Range is shifted in the direction of the viewer. - 128: Range is equally divided in front and behind the screen. - 255: Range is shifted away from the viewer. - " +"This means that the empty stream is seeked again resulting in the fail bit to be set. Your code does not check this case, furthermore you use t_off instead of std::ostream::streampos for the tellp() calls. In this special case (empty stream) tellp() returns -1 which is cast to 0xFFFFFFFFFF as t_off is unsigned. I suggest this addition to your code (within the switch statement)" -2008-05-07 13:49 robert - * include/osgUtil/LineSegmentIntersector: From Terry Welsh, fixed - typo of getEnd() -2008-05-07 13:46 robert - * examples/CMakeLists.txt, examples/osgfont, - examples/osgfont/CMakeLists.txt, examples/osgfont/osgfont.cpp: - From Jeremy Moles,"Here's a small example I us to test text - rendering in osgWidget; I - figured it might be helpful to folks in OSG who need to do the - same. - " -2008-05-07 13:42 robert +Thu, 26 May 2011 16:13:04 +0000 +Checked in by : Robert OSFIELD +Fixed indentation - * src/osg/Texture3D.cpp: From Farshid Lashkari, "I've added - hardware mipmap support to Texture3D." +Thu, 26 May 2011 15:47:20 +0000 +Checked in by : Robert OSFIELD +Fixed handling of changes in gl buffer object size so that when a gl buffer object is resized all the buffer data is recompiled. -2008-05-07 11:59 robert +Wed, 25 May 2011 12:41:49 +0000 +Checked in by : Robert OSFIELD +From Bradley Anderegg, "Ok, I am re-submitting this with the changes we discussed. That is, there is a default implementation of osgDB::Archive::getDirectoryContents() that uses getFileNames(), and the osgDB::ArchiveExtended header was removed as it is now unnecessary.Here is a quick list of the modified files: - * include/osg/Camera: Added doxygen comments for attach +Archive - getDirectoryContents() no longer pure virtual +Archive.cpp - default getDirectoryContents() implementation +unzip.cpp - modified to fix a bug where the same file will not load twice in a row +ZipArchive.h / ZipArchive.cpp - extends osgDB::Archive and provides support for random access loading within a .zip file +ReaderWriterZip.cpp - modified to use the ZipArchive class" -2008-04-26 11:13 robert - * packaging/pkgconfig/openscenegraph.pc, - packaging/pkgconfig/openthreads.pc: Updated package numbers for - OSG-2.4, OT-2.2.1 release -2008-04-25 13:10 robert +Wed, 25 May 2011 09:34:53 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Update - AUTHORS file for 2.4 release +Wed, 25 May 2011 09:34:02 +0000 +Checked in by : Robert OSFIELD +From Olaf Flebbe, fixes for OSX AGL build -2008-04-25 12:58 robert +Wed, 25 May 2011 09:13:26 +0000 +Checked in by : Robert OSFIELD +Removed now redundent local implementation of getDirectoryContexts() - * ChangeLog: Updated ChangeLog for 2.4 release +Wed, 25 May 2011 09:04:44 +0000 +Checked in by : Robert OSFIELD +From Bradley Anderegg, "Ok, I am re-submitting this with the changes we discussed. That is, there is a default implementation of osgDB::Archive::getDirectoryContents() that uses getFileNames(), and the osgDB::ArchiveExtended header was removed as it is now unnecessary.Here is a quick list of the modified files: -2008-04-25 12:40 robert +Archive - getDirectoryContents() no longer pure virtual +Archive.cpp - default getDirectoryContents() implementation +unzip.cpp - modified to fix a bug where the same file will not load twice in a row +ZipArchive.h / ZipArchive.cpp - extends osgDB::Archive and provides support for random access loading within a .zip file +ReaderWriterZip.cpp - modified to use the ZipArchive class" - * NEWS.txt, README.txt: Update NEWS and README to 2.4 stable - release -2008-04-25 09:46 robert - * CMakeLists.txt, include/osg/Version: Updated Version number for - 2.4 stable release -2008-04-25 09:35 robert +Tue, 24 May 2011 13:05:44 +0000 +Checked in by : Robert OSFIELD +From Olaf Flebbe, "build out-of-the box on MacOSX. The default windowing system is carbon and it needs the AGL OpenGL Windowing binding framework, which is missing. osgViewer does not link therefore. Cocoa does not use AGL.The fix adds the AGL Framework to the Carbon link line for osgViewer" - * include/osg/BoundingBox: From Stephane Lamoliatte, "Here is the - fix of a very little typed error in BoundingBox : I replace - "doulbe" by "double"." -2008-04-25 08:34 robert - * src/osgTerrain/GeometryTechnique.cpp: Added cast to avoid warning -2008-04-24 16:50 robert +Tue, 24 May 2011 10:20:36 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity issues.CID 11669: Uninitialized pointer field (UNINIT_CTOR) +Non-static class member _glAttachShader is not initialized in this constructor nor in any functions that it calls. +Non-static class member _glBindAttribLocation is not initialized in this constructor nor in any functions that it calls. +... - * NEWS.txt: Updated date of 2.4 release -2008-04-24 16:49 robert +CID 11699: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _areTessellationShadersSupported is not initialized in this constructor nor in any functions that it calls. - * AUTHORS.txt: Updated AUTHORS file for release -2008-04-24 16:48 robert - * ChangeLog: Updated ChangeLog for 2.3.11 release -2008-04-24 16:24 robert +Tue, 24 May 2011 10:19:22 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity issue.CID 12328: Resource leak (RESOURCE_LEAK) +Calling allocation function "osg::KdTree::cloneType() const". (The virtual call resolves to "osg::Object * osg::KdTree::cloneType() const".) [show details] +Failing to save storage allocated by "this->_kdTreePrototype->cloneType()" leaks it. - * examples/osgprerender/osgprerender.cpp: From Wojchiech - Lewandowski, add missing setDataVariance(DYNAMIC) and extra event - handlers -2008-04-24 14:46 robert - * src/osgDB/CMakeLists.txt, src/osgDB/Registry.cpp: From Colin - Dunlop, added alias for .live to quicktime plugin mapping. -2008-04-24 11:34 robert +Tue, 24 May 2011 10:18:47 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity issue.CID 11692: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _allocationMode is not initialized in this constructor nor in any functions that it calls. - * src/OpenThreads/pthreads/CMakeLists.txt, src/osg/CMakeLists.txt, - src/osgDB/CMakeLists.txt, src/osgFX/CMakeLists.txt, - src/osgGA/CMakeLists.txt, src/osgIntrospection/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, src/osgShadow/CMakeLists.txt, - src/osgSim/CMakeLists.txt, src/osgTerrain/CMakeLists.txt, - src/osgText/CMakeLists.txt, src/osgUtil/CMakeLists.txt, - src/osgViewer/CMakeLists.txt: Reverted the changes for ill fated - tweaks for Apple build -2008-04-24 10:09 robert - * CMakeModules/Find3rdPartyDependencies.cmake: From Mattias - Helsing, "I just made Find3rdPartyDependencies search for curllib - if it can't - find libcurl. Mike's 3rdParty only has curllib. - - I realize now that the in appended file I have earlier removed - searching for freetype219 since I have it but it will break the - build - of osg." -2008-04-23 21:07 robert +Tue, 24 May 2011 10:18:05 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity issue.CID 11668: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _primitiveMode is not initialized in this constructor nor in any functions that it calls. - * AUTHORS.txt: Updated authors file for 2.3.11 release -2008-04-23 21:07 robert - * ChangeLog: Updated ChangeLog -2008-04-23 20:54 robert +Tue, 24 May 2011 10:16:12 +0000 +Checked in by : Robert OSFIELD +Fixed 3 Coverity issues.CID 11697: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _type is not initialized in this constructor nor in any functions that it calls. - * CMakeLists.txt, include/osg/Version: Updated version number - 2.3.11 +CID 11698: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _type is not initialized in this constructor nor in any functions that it calls. -2008-04-23 20:50 robert +CID 12329: Resource leak (RESOURCE_LEAK) +Calling allocation function "osg::Object::clone(osg::CopyOp const &) const". (The virtual call resolves to "osg::Object * GDALPlugin::DataSetLayer::clone(osg::CopyOp const &) const".) [show details] +Failing to save storage allocated by "this->getVertexArray()->clone(struct osg::CopyOp const(128U))" leaks it. - * src/OpenThreads/pthreads/CMakeLists.txt, src/osg/CMakeLists.txt, - src/osgDB/CMakeLists.txt, src/osgFX/CMakeLists.txt, - src/osgGA/CMakeLists.txt, src/osgIntrospection/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, src/osgShadow/CMakeLists.txt, - src/osgSim/CMakeLists.txt, src/osgTerrain/CMakeLists.txt, - src/osgText/CMakeLists.txt, src/osgUtil/CMakeLists.txt, - src/osgViewer/CMakeLists.txt: Refactored the inclusion of the - headers in the ADD_LIBRARY so that they aren't - added under OSX. -2008-04-23 20:49 robert - * include/osg/Texture2D, include/osg/TextureRectangle: Removed the - mutable from the _image variable -2008-04-23 14:10 robert +Tue, 24 May 2011 10:15:39 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity issue.CID 11696: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _simulationTime is not initialized in this constructor nor in any functions that it calls. - * src/osg/TextureRectangle.cpp: Added mutex to object creation to - avoid a race condition when using threaded multiple graphics - context -2008-04-22 14:31 robert - * src/osgTerrain/Layer.cpp: Added return. -2008-04-22 14:15 robert +Tue, 24 May 2011 10:15:17 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity issue.CID 11695: Uninitialized pointer field (UNINIT_CTOR) +Non-static class member _ximpl is not initialized in this constructor nor in any functions that it calls. - * src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, "the - support for the new mightymouse and new touchpads was incomplete - in GraphicsWindowCarbon. Attached is a fixed version." -2008-04-22 13:00 robert - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS file -2008-04-22 12:52 robert +Tue, 24 May 2011 10:14:45 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity issue.CID 11694: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _isARBOcclusionQuerySupported is not initialized in this constructor nor in any functions that it calls. - * ChangeLog, NEWS.txt, README.txt: Updated ChangeLog, NEWS and - READE for 2.3.10 pre release of 2.4. -2008-04-22 11:47 robert - * CMakeLists.txt, include/osg/Version: Updated version number for - 2.3.10 dev release -2008-04-22 11:41 robert +Tue, 24 May 2011 10:14:03 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity issue.CID 11666: Uninitialized pointer field (UNINIT_CTOR) +Non-static class member _glMultiTexCoord1dv is not initialized in this constructor nor in any functions that it calls. +Non-static class member _glVertexAttrib1dv is not initialized in this constructor nor in any functions that it calls. - * src/osgWrappers/osgTerrain/Terrain.cpp: Updated wrappers -2008-04-22 11:39 robert - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - include/osgTerrain/Terrain, src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/Terrain.cpp: Removed hardware down sampling hack - from GeoemtryTechnique and replaced with - Terrain::g/setSampleRatio() - usage. -2008-04-22 10:10 robert +Tue, 24 May 2011 10:13:07 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity issue.CID 11691: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _isPBOSupported is not initialized in this constructor nor in any functions that it calls. +Non-static class member _isUniformBufferObjectSupported is not initialized in this constructor nor in any functions that it calls. - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - authors -2008-04-22 09:43 robert - * applications/osgversion/osgversion.cpp: Fixed name -2008-04-21 16:31 robert +Tue, 24 May 2011 10:08:40 +0000 +Checked in by : Robert OSFIELD +Fixed build error - * NEWS.txt: Updated NEWS for 2.4 release +Mon, 23 May 2011 16:58:49 +0000 +Checked in by : Robert OSFIELD +Removed unused numX, numY member variables, and added initializer for firstHeaderWrite. -2008-04-21 14:51 robert +Mon, 23 May 2011 08:17:02 +0000 +Checked in by : Robert OSFIELD +Added CullVisitor::setCalculatedNearPlane() and setCalculatedFarPlane(() methods to enable 3rd party code to manage the compute of the near/far planes. - * src/osgPlugins/curl/CMakeLists.txt: From Luigi Calori, Added - CURL_IS_STATIC option to help hint to the libcurl's plugin build - so that it can be select as static build +Thu, 19 May 2011 13:25:03 +0000 +Checked in by : Robert OSFIELD +Uppded the default acceleration as it was too slow for reasonable sized models -2008-04-18 16:21 robert +Tue, 17 May 2011 12:57:46 +0000 +Checked in by : Robert OSFIELD +From Sukender, "There was a stupid parameter inversion in ExternalFileWriter.cpp. Sorry for this. Here is the fix." - * AUTHORS.txt: Updated AUTHORS file for release +Tue, 17 May 2011 09:21:32 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, added close button hint -2008-04-18 16:20 robert +Mon, 16 May 2011 12:44:39 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "proposed changes allows the user to add a osgGraphicsWindowIOS as an UIView, respecting the sizes via GraphicsContext::Traits. This helps users, who want to integrate osg into an existing ios-app with multiple UIViews. Additinally a view-controller gets only created if needed, set IGNORE_ORIENTATION via the WindowData-struct. " - * ChangeLog: Updated ChangeLog +Mon, 16 May 2011 10:07:20 +0000 +Checked in by : Robert OSFIELD +From Sukender, I wrapped my change about non-empty texture units in an off-by-default option, so that it doesn't break any existing code. But AFAIK, other readers (except OSGx) generate contiguous texture units, so I guess this option to be useful for users.Other changes in this sumbission include the added ability to tessellate polygons in Collada reader, with appropriate options. + - No tessellation + - Tessellate as triangle fan (previous behaviour, kept as default for backward-compatibility) + - Full tessellation -2008-04-18 15:52 robert +I also put auto_ptr<> for RAII of DAE structure (as discussed), and moved reader options in a structure, as for the writer. - * README.txt: Updated date on readem +Code also make use of osgDB::ExternalFileWriter I submitted, so please merge this submission after the PluginImageWriter one. -2008-04-18 15:01 robert - * src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp: Updated wrappers -2008-04-18 14:57 robert - * src/osgPlugins/osg/Camera.cpp: Added support for COLOR_BUFFER - entries up to 15 -2008-04-18 14:51 robert +Mon, 16 May 2011 09:17:30 +0000 +Checked in by : Robert OSFIELD +Renamed example from osgviewerQtContext to osgviewerQt. - * include/osg/Camera: Updated BufferComponent enum to list - COLOR_BUFFERi entries up to 15. +Mon, 16 May 2011 09:16:22 +0000 +Checked in by : Robert OSFIELD +Updated example to use new GraphicsWindowQt::getGLWidget() method instead of deprecated getGraphWidget() method -2008-04-18 14:33 robert +Mon, 16 May 2011 09:15:02 +0000 +Checked in by : Robert OSFIELD +Added support for setting threading model from command line and changed default threading model to CullDrawThreadPerContext. New command line options are: osgviewerQtContext --SingleThreaded + osgviewerQtContext --CullDrawThreadPerContext + osgviewerQtContext --DrawThreadPerContext + osgviewerQtContext --CullDrawThreadPerContext - * src/osgUtil/RenderStage.cpp: Fixed bug in FBO colour attachement - code -2008-04-18 14:14 robert - * src/osgUtil/CullVisitor.cpp: Added optional compiled in debugging - output to CullVisitor::apply(osg::Camera&) -2008-04-18 13:57 robert +Mon, 16 May 2011 09:06:06 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, I have improved GraphicsWindowQt:- renamed osgQt::GraphWidget to osgQt::GLWidget +as it better fits to Qt naming (osgQt::GLWidget is derived from QGLWidget +while recent GraphWidget... it is unclear, maybe QGraphicsView, +QGraphicsScene,....) +- added the code to properly manage ON_DEMAND rendering scheme +(involves osgQt::setViewer() and internal HeartBeat class) +- added forward key events functionality. It allows to not eat the key events +by GLWidget, but it forwards them to Qt processing as well. +- destroying GLWidget before GraphicsWindowQt and vice versa does not crash +the application +- it is possible to request particular QGLFormat in GLWidget constructor +- added QtWindowingSystem class +- multithread OSG rendering improvements/fixes - * include/osg/CullSettings, src/osg/CullSettings.cpp: Added - write(ostream&) method to allow one to print out the current - state +-- -2008-04-18 13:25 robert +From Robert Osfield, added back in getGraphWidget() method for backwards compatibility. - * include/osg/FrameBufferObject, src/osg/FrameBufferObject.cpp, - src/osgUtil/RenderStage.cpp: Changed the - FrameBufferObject::setAttachment() methods so it now use - osg::Camera::BufferComponent - to enable it to distinguish between MRT and non MRT paths -2008-04-18 11:09 robert - * src/osg/State.cpp: Introduce OSG_GL_ERROR_CHECKING env var - checking to osg::State constructor so that you - can enable fine grained check via env vars o.e. - - export OSG_GL_ERROR_CHECKING=ONCE_PER_ATTRIBUTE - - -2008-04-17 15:30 robert +Mon, 16 May 2011 08:59:10 +0000 +Checked in by : Robert OSFIELD +Fixed traling spaces - * src/osgPlugins/quicktime/CMakeLists.txt, - src/osgPlugins/quicktime/QTImportExport.cpp, - src/osgPlugins/quicktime/QTImportExport.h, - src/osgPlugins/quicktime/QTtexture.cpp, - src/osgPlugins/quicktime/QTtexture.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Stephan Huber, - "attached you'll find a refactored and improved quicktime-plugin. - I moved all code related to the image-loading, swizzling etc into - an extra class. The quicktime plugin supports now reading and - writing images from/to streams and the code is less cluttered - than previous versions. - - I removed QTtexture.h/.cpp and added QTImportExport.h/.cpp. I - updated the CMake-files, I hope they are alright. I used the - submitted code in my own apps since two months or so and it seems - pretty stable, but as always the migration to the osg-quicktime - plugin may have introduced new bugs, so perfect for developer - release :)" +Mon, 16 May 2011 08:50:59 +0000 +Checked in by : Robert OSFIELD +From Rafa Gata, I've been playing around with serializers in order to use it as a "generic" property mechanism for osg::Object.The main problem I have found is that InputStream and OutputStream +only takes the stream when you call start method, and in that case it +attaches to the stream buffer some stuff, useful for files but not for +runtime/gui usage. I have added a simple setInputIterator and +setOutputIterator to the classes so now you can easily serialize +values without version and other stuff. -2008-04-17 11:12 robert +Writing matrix: +osgDB::OutputStream os(0); +std::stringstream sstream; +os.setOutputIterator(new AsciiOutputIterator(&sstream)); +os << matrix; +std::string value = sstream.str(); - * examples/osgviewerQT/AdapterWidget.cpp: From John Shue, build fix - for QT 3.x +Reading matrix: +osgDB::InputStream is(0); +std::stringstream sstream(value); +is.setInputIterator(new AsciiInputIterator(&sstream)); +osg::Matrixf mat2; +is >> mat2; -2008-04-17 09:04 shuber +From Robert Osfield, added doxygen comments to clarify the role of the methods. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated XCode project -2008-04-16 18:13 robert - * include/osgViewer/Renderer, src/osgViewer/Renderer.cpp, - src/osgWrappers/osgViewer/Renderer.cpp: Added new computation of - time to allocate to flushing deleted and compiling OpenGL objects - per frame. -2008-04-16 15:23 robert - * include/osg/CopyOp, include/osgDB/ReaderWriter, - include/osgGA/GUIEventAdapter: From Bob Kuehne, "he attached are - conversions of the 3 main places i found in osg where tokens are - used to represent bitmasks with 'magic' numbers, like 32. i've - changed these to a more representative bitshift representation, - showing clearly in which bit you can expect this token to - manifest. ie, converted things like: - - from: DEEP_COPY_STATESETS = 8, - to: DEEP_COPY_STATESETS = 1<<3, - - showing clearly that this isn't the _value_ 8, but the _bit_ 8. - this is an old pattern i see (and like to promulgate) to make - code a bit more readable and maintainable. - " +Sun, 15 May 2011 08:27:04 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, build fix -2008-04-16 15:22 robert +Fri, 13 May 2011 19:19:00 +0000 +Checked in by : Robert OSFIELD +Updated SO version as the osgText and osgQt libraries API have changed, albeit only by a small amount. - * CMakeLists.txt, include/osg/Version: Updated version number for - nex dev release +Fri, 13 May 2011 19:08:04 +0000 +Checked in by : Robert OSFIELD +Fixed handling of Font implementations that don't handle multiple font resolutions. -2008-04-16 10:01 robert +Fri, 13 May 2011 11:20:48 +0000 +Checked in by : Robert OSFIELD +Improved the size, advance and bearing settings - * include/osgViewer/api/Win32/GraphicsWindowWin32: From Jason - Beverage, cursor inheritance support +Thu, 12 May 2011 18:52:18 +0000 +Checked in by : Robert OSFIELD +Warning and build fixes -2008-04-15 20:27 robert +Thu, 12 May 2011 18:40:18 +0000 +Checked in by : Robert OSFIELD +Added newline to end of file - * AUTHORS.txt: Updated AUTHORS.txt for release +Thu, 12 May 2011 14:07:15 +0000 +Checked in by : Robert OSFIELD +From Sukender, ported across to use the new osgDB::ExternalFileWriter -2008-04-15 20:16 robert +Thu, 12 May 2011 13:27:14 +0000 +Checked in by : Robert OSFIELD +From Sukender, new ExternalFileWriter helper class that helps the management of writing out external files to disk avoid writing out of duplicates. - * ChangeLog: Updated ChangeLog +Thu, 12 May 2011 13:12:07 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Here is a tiny fix which adds missing virtual methods in osgUtil::TransformAttributeFunctor, to handle Vec3d." -2008-04-15 19:46 robert +Thu, 12 May 2011 13:08:02 +0000 +Checked in by : Robert OSFIELD +Removed unused parameter - * src/osgViewer/GraphicsWindowWin32.cpp: From Jason Beverage, "The - following changes fix the flickering issue I'm seeing when trying - to externally manage my cursor in Win32. If you set the cursor to - InheritCursor, GraphicsWindowWin32 ignores WM_SETCURSOR and - assumes you will set the cursor yourself." +Thu, 12 May 2011 12:28:43 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "A Chinese engineer (named Beilei Geng) reports a possible bug in the osg2cpp application to me today. The conversion result may become incorrect if there are quotation marks ( " ) in the shader file, which will mostly appear in comment lines.Replace all " into \" before writing to cpp files will solve the +problem, as the attached file shows." -2008-04-15 19:36 robert - - * include/osg/FrameBufferObject, include/osgUtil/RenderStage, - src/osg/FrameBufferObject.cpp, src/osgUtil/RenderStage.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp: From Art Trevs, moved - multile render targets support from RenderStage into - FrameBufferObject. - - From Robert Osfield, refactored the - FrameBufferObejcts::_drawBuffers set up so that its done - within the setAttachment method to avoid potential - threading/execution order issues. - -2008-04-15 12:52 robert - - * src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp: Updated wrappers - -2008-04-15 11:50 robert - - * examples/osgdepthpartition/DistanceAccumulator.cpp: From Tim - Moore, compile fix for gcc 4.3 - -2008-04-14 10:38 robert - - * include/osg/CoordinateSystemNode: Added docs explaining units -2008-04-13 19:31 robert - * include/osgUtil/Optimizer, src/osgUtil/Optimizer.cpp: Added - subdivision of Goedes +Thu, 12 May 2011 11:45:29 +0000 +Checked in by : Robert OSFIELD +From Rene Molenaar, "I have found a problem regarding manifest in the plugins, see http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/src/CMakeLists.txt the option OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS is set to ON only after the subdirectories are added, this causes /MANIFEST:NO while the option is ON after the first configure, generate.if this option is moved (i.e. above the ADD_SUBDIRECTORY statement) results are as expected. -2008-04-13 14:32 robert +attached you will find the correct CMakeLists.txt +" - * src/osgText/Text.cpp: From Christian Kaser, "I discovered a bug - that lead to a space being displayed at the start of the new line - after an automatic line break (through setMaximumWidth()). The - fix simply skips all spaces at the end of the line, before - skipping a line break which was done already. - - osgText/Text.cpp: Line 502 - ... - else - { - ++itr; - } - - if (itr!=_text.end()) - { - // skip over spaces and return. - while (*itr==' ') ++itr; // New - if (*itr=='\n') ++itr; - } - - // move to new line. - switch(_layout) - { - .." - -2008-04-13 14:29 robert - - * runexamples.bat: From Paul Martz, added osgocclussionquery and - osgthirdpersonview examples - -2008-04-12 10:02 robert - - * include/osg/CullSettings: Changed bias parameter to scale - -2008-04-11 14:52 robert - - * AUTHORS.txt: Updadated authors file for dev release - -2008-04-11 14:43 robert - - * CMakeLists.txt, ChangeLog, include/osg/Version, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp: Updated wrappers, and - version numbers in prep for next release - -2008-04-11 14:33 robert - - * applications/osgversion/osgversion.cpp: Fixed J.P. Delports name - -2008-04-11 14:14 robert - - * examples/osgsimulation/osgsimulation.cpp: Added --unit entry for - controlling which texture unit the overlay works on. - -2008-04-11 13:43 robert - - * src/osgPlugins/OpenFlight/DataOutputStream.cpp, - src/osgPlugins/OpenFlight/DataOutputStream.h, - src/osgPlugins/OpenFlight/MaterialPaletteManager.cpp, - src/osgPlugins/OpenFlight/MaterialPaletteManager.h, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.h, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp: From Paul - Martz,"Several misc changes, but the major fixes include: - - * Support for Vec4ubArray for color data - * Support for material transparency - - Thanks to Neil Hughes, Jason Daly, yourself, and others for - testing and reporting issues." - -2008-04-11 13:28 robert - - * include/osgGA/EventQueue, include/osgGA/GUIEventAdapter, - src/osgGA/EventQueue.cpp, src/osgGA/GUIEventAdapter.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp: From Philipp Machler, "We - have extended the support for Wacom Tablet devices: - - - Mac OS X - - not only pressure, but tilt and z-rotation is supported now - " - -2008-04-11 13:04 robert - - * examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp, - examples/osgstereomatch/README.txt: Added reference to - osgstereomatch example to osgmultiplerendertargets. - - Added usage example use OpenSceneGraph-Data/Images examples - -2008-04-11 13:03 robert - - * CMakeLists.txt: From Sherman Wilcox, "Here is a patch for - cmakelists.txt to add support for the /MP option - in Microsoft compilers as discussed in osg-users. There is now an - advanced option called WIN32_USE_MP (which defaults to OFF) that - will - enable the /MP switch for all builds. I tucked this code block - safely - within a IF(WIN32) branch." - -2008-04-11 11:58 robert - - * examples/CMakeLists.txt, examples/osgstereomatch, - examples/osgstereomatch/CMakeLists.txt, - examples/osgstereomatch/README.txt, - examples/osgstereomatch/StereoMultipass.cpp, - examples/osgstereomatch/StereoMultipass.h, - examples/osgstereomatch/StereoPass.cpp, - examples/osgstereomatch/StereoPass.h, - examples/osgstereomatch/osgstereomatch.cpp: From Jose Delport, a - MRT example implementing stereo matching. - -2008-04-11 11:19 robert - - * src/osgWrappers/osg/BoundingBox.cpp, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osg/LOD.cpp, src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp: Updated wrappers - -2008-04-11 11:10 robert - - * examples/osgkeyboard/osgkeyboard.cpp, - include/osgGA/GUIEventAdapter, src/osgGA/EventQueue.cpp, - src/osgViewer/GraphicsWindowX11.cpp: From Melchior Franz, "The - GUIEventAdapter header file had KeySymbols for the super and - hyper keys defined already, but these modifiers were missing in - GUIEventAdapter::ModKeyMask, and the EventQueue ingored them as - well. - - The attached diff/archive adds the missing parts for Super/Hyper - modifier key support. - - - I'm aware that this might not be supported on all - systems/keyboards - out of the box, but decided to submit it anyway because: - - - developers are aware of differences between input devices - (Some mice have scroll wheels, others don't. Some have five or - more buttons, some have only one. Some keyboards don't have - numpads, some have AltGr, some don't etc.) - - - even if someone relies on Hyper/Super in distributed software, - this is easy to fix and doesn't create lock-in conditions - - - while the names Hyper/Super may only be common on X11, they are - just symbol names and not OS-specific - - - even though some systems might not offer these additional - modifiers - by default, it's likely that all of them have at least 8 modifier - levels internally, so it should only be a matter of OS - configuration - to make them work - - - having super/hyper available is useful to offer a user ways - to define local key definitions that are safe from collisions - with - predefined "official" key assignments" - -2008-04-11 10:58 robert - - * src/osgPlugins/curl/CMakeLists.txt: From Sherman Wilcox, - "Modified the cmakelists.txt file for the curl plugin so the - proper - linker directories are set in Win32. The old cmakelists.txt would - set - the lib release folder for debug builds as well. This should - correct - that." - -2008-04-11 10:31 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From Colin McDonald, fixed - typo. - -2008-04-11 10:30 robert - - * src/osgDB/DynamicLibrary.cpp, src/osgDB/FileUtils.cpp, - src/osgPlugins/cfg/CameraConfig.cpp, - src/osgPlugins/net/sockstream.h: From Benoit Laniel, "I use mingw - to cross-compile openscenegraph to win32. However, linux - filesystem is case-sensitive. Here are the modifications needed - to make - the compiler happy. These are only some include lines rewritten - (Io.h to - io.h, Windows.h to windows.h etc.) for version 2.3.7." - -2008-04-11 10:16 robert - - * applications/osgconv/osgconv.cpp: From Bob Kuehne, "1) add - simplifier command "--simplifier .5" to reduce complexity - 2) complementarily add a "--overallNormal" to replace - per-vert/per-facet normals with an overall. simplifier doesn't - work - in certain cases without less complex normals. this gets that - done. - 3) add env var output with full verbose output so people realize - it's - active when the app is run - i see this all the time in training - where - people run osgconv, with unintended data transformations due to - osgUtil:;Optimzer, for example" - -2008-04-11 10:10 robert - - * examples/osgmovie/osgmovie.cpp: Added --mouse option to enable - mouse tracking, and fixed bug in assumption - that nv is not null. - -2008-04-03 18:36 robert - - * CMakeLists.txt, applications/osgversion/osgversion.cpp, - include/osg/BoundingBox, include/osg/BoundingSphere, - include/osg/LOD, include/osg/ProxyNode, include/osg/Vec4d, - src/osg/BoundingSphere.cpp, src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp: Introduced CMake - build option for compiling double or float versions of - osg::BoundingSphere and osg::BoundingBox. - - Introduced code in BoundgingSphere, BoundingBox, ProxyNode and - LOD to utilise the above settings. - - Added Matrix::value_type, Plane::value_type, - BoundingSphere::value_type and BoundingBox::value_type command - line - options that report where the types of floats or doubles. - -2008-04-03 18:06 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From Colin McDonald, "The - X11WindowingSystemInterface in osgViewer/GraphicsWindowX11.cpp - unconditionally sets the X11 error handler routine, replacing - anything - that was previously set. This is a bit unfriendly, as the X11 - error - handler is a global attribute which the application, or the GUI - toolkit - being used, may well have set itself. - - So I have modified X11WindowingSystemInterface to only replace - the error - handler if it is the default i.e. if the application has not set - it." - -2008-04-03 10:26 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Mattias Helsing, - "While using the dds plugin (via osgdem) it was able to write - 24bit - images with BGR order but not read them. My 2-liner fixed it for - me - but it may be that someone with more knowledge of the plugin want - to - insert more pixel formats in the reading part of the plugin." - -2008-04-02 17:08 robert - - * include/osgUtil/RenderStage, src/osgUtil/RenderStage.cpp: From - Jose Delport, added support for MRT via glDrawBuffers - -2008-04-02 13:57 robert - - * src/osgPlugins/osga/OSGA_Archive.cpp: From Mattias Helsing, - "Subject: osga reading slash mismatch - requests for files in a archive are made with unix style paths. - So to - be able to match an entry in map(_indexMap) it's keys needs to be - stored in unix style even on Win32" - - Note from Robert Osfied, simplified this submission so that the - added conversion to - unix slahes is done on all platforms as this should be safe and - simpler to maintain. -2008-04-02 13:55 robert - - * src/osgUtil/RenderStage.cpp: Updated to reflect new COLOR_BUFFER0 - value -2008-04-02 13:48 robert +Thu, 12 May 2011 10:28:47 +0000 +Checked in by : Robert OSFIELD +Removed redundent method - * examples/CMakeLists.txt, examples/osgmultiplerendertargets, - examples/osgmultiplerendertargets/CMakeLists.txt, - examples/osgmultiplerendertargets/osgmultiplerendertargets.cpp: - From Jose Delport, introduced osgmultiplerendertargets example +Thu, 12 May 2011 10:10:49 +0000 +Checked in by : Robert OSFIELD +Added setting of size. -2008-04-02 13:47 robert +Mon, 9 May 2011 10:54:50 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11812: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _lastFrameUsed is not initialized in this constructor nor in any functions that it calls. +Non-static class member _s is not initialized in this constructor nor in any functions that it calls. +Non-static class member _t is not initialized in this constructor nor in any functions that it calls. - * include/osg/Camera, src/osgPlugins/osg/Camera.cpp: Changed the - Camera::BufferComponent::COLOR_BUFFER0 from being equal to - COLOR_BUFFER - to being COLOR_BUFFER+1 to enable differentation between non MRT - and MRT paths. -2008-04-02 11:28 robert - * src/osgUtil/RenderStage.cpp: From Jose Delport, typo fixes -2008-04-01 17:22 robert +Mon, 9 May 2011 10:54:10 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11813: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _endian is not initialized in this constructor nor in any functions that it calls. - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog, osgversion and AUTHOR.txt for 2.3.7 dev - release -2008-04-01 14:52 robert - * .: Removed svn:externals property -2008-04-01 14:28 robert +Mon, 9 May 2011 10:53:38 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11814: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _updateCamera is not initialized in this constructor nor in any functions that it calls. - * README.txt: Updated data for 2.3.7 dev release -2008-04-01 11:03 robert - * include/OpenThreads/Version, src/OpenThreads/CMakeLists.txt: - Updated OpenThreads version to 2.2.1 with the switch of - sources/svn:externals from OpenThreads to OpenSceneGraph. -2008-04-01 10:49 robert +Mon, 9 May 2011 10:53:12 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11815: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _cosMaxElevation is not initialized in this constructor nor in any functions that it calls. +Non-static class member _cosMaxFadeElevation is not initialized in this constructor nor in any functions that it calls. +Non-static class member _cosMinElevation is not initialized in this constructor nor in any functions that it calls. +Non-static class member _cosMinFadeElevation is not initialized in this constructor nor in any functions that it calls. - * ., include/OpenThreads, src/OpenThreads: Moved OpenThreads - directly into OpenSceneGraph/trunk rather than being introduced - via svn:externals. - - This change has been done to make it easier for OpenSceneGraph - users to check out the svn via https - without any conflicts introduced with a http externals. - -2008-04-01 10:33 robert - - * CMakeLists.txt, include/osg/Version: Updated version numbers for - 2.3.7 dev release - -2008-04-01 10:11 robert - - * src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp: From Paul - Martz, "Two changes: - - Handle DrawArrays first/count correctly (fixes problem reported - by Jason Daly) - - Display warning if non-Geometry Drawable is encountered." -2008-04-01 10:00 robert - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: From Tatsuhiro Nishioka - and Stephan Huber, bug fixes and enhancement of cursor suppoort. -2008-03-31 16:23 robert +Mon, 9 May 2011 10:52:34 +0000 +Checked in by : Robert OSFIELD +Fixed 6 Coverity reported issues.CID 11820: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _azAngle is not initialized in this constructor nor in any functions that it calls. +Non-static class member _elevAngle is not initialized in this constructor nor in any functions that it calls. - * src/osgViewer/Viewer.cpp: Added checks for a valid scene graph - before doing various ops on it. +CID 11819: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _BoundaryAngle is not initialized in this constructor nor in any functions that it calls. +Non-static class member _planeOrientation is not initialized in this constructor nor in any functions that it calls. -2008-03-31 14:00 robert +CID 11818: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _BoundaryAngle is not initialized in this constructor nor in any functions that it calls. +Non-static class member _planeOrientation is not initialized in this constructor nor in any functions that it calls. - * src/osgPlugins/OpenFlight/LightSourcePaletteManager.cpp: From - Andy Skinner, build fix for Solaris +CID 11817: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _distance is not initialized in this constructor nor in any functions that it calls. -2008-03-31 11:44 robert +CID 11817: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _distance is not initialized in this constructor nor in any functions that it calls. - * include/osg/Camera, include/osgUtil/RenderStage, - include/osgUtil/SceneView, src/osg/Camera.cpp, - src/osgUtil/SceneView.cpp, src/osgWrappers/osg/Camera.cpp: Added - Camera::s/getClearAccum, s/getClearStencil and s/getClearDepth. +CID 11816: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _leftRightSurfaces is not initialized in this constructor nor in any functions that it calls. -2008-03-31 09:43 robert - * src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgTerrain/Terrain.cpp: Updated wrappers -2008-03-29 09:59 robert - * src/osgText/Font.cpp: From Sherman Wilcox with a little - reorganisation from Robert Osfield, added - test for 0 sized subloads, ignoring them to prevent a divide by - zero error occuring on some buggy drivers. - -2008-03-28 19:56 robert - - * src/osgPlugins/OpenFlight/ExportOptions.cpp, - src/osgPlugins/OpenFlight/FltWriteResult.h, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp: From Paul - Martz, "Some small changes and code cleanup. Biggest change is an - improvement to the WriteResult return." - -2008-03-28 18:42 robert - - * src/osgTerrain/GeometryTechnique.cpp: Set - Texture::setMaxAnisotropy() to 16.0f for better quality terrain - when looking at shallow angle. - -2008-03-28 17:53 robert - - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Improved the error - capture and reporting - -2008-03-28 15:52 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: Rewrote - the DatabasePager::removeExpiredSubgraphs(double) routine as it - as not expiring subgraphs quick enough to enable reasonable load - balancing. - - New version isn't perfect and will need further work, but does at - least reduce - the memory footprint by as much as half on test paths on big - databases. - - The rewritten method no longer uses the the - MaximumNumOfRemovedChildPagedLODs - and MinimumNumOfInactivePagedLODs variables so these and - associated methods - for accessing them have been removed. - - - /** Set the maximum number of PagedLOD child to remove per - frame */ - - void setMaximumNumOfRemovedChildPagedLODs(unsigned int number) - { _maximumNumOfRemovedChildPagedLODs = number; } - - - - /** Get the maximum number of PagedLOD child to remove per - frame */ - - unsigned int getMaximumNumOfRemovedChildPagedLODs() const { - return _maximumNumOfRemovedChildPagedLODs; } - - - - /** Set the minimum number of inactive PagedLOD child to keep - */ - - void setMinimumNumOfInactivePagedLODs(unsigned int number) { - _minimumNumOfInactivePagedLODs = number; } - - - - /** Get the minimum number of inactive PagedLOD child to keep - */ - - unsigned int getMinimumNumOfInactivePagedLODs() const { return - _minimumNumOfInactivePagedLODs; } - -2008-03-28 15:31 robert - - * include/osgTerrain/Terrain, include/osgTerrain/TerrainTechnique, - src/osgTerrain/Terrain.cpp: Introduced mutex into Terrain node to - manage the tile system data structures - -2008-03-28 15:28 robert - - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: - Reordered set up of scene and event handlers to prevent warning - -2008-03-28 13:22 robert - - * src/osgPlugins/OpenFlight/opcodes.h, - src/osgPlugins/OpenFlight/types.h: Removed old lower case - versions - -2008-03-28 12:44 robert - - * src/osgPlugins/OpenFlight/AttrData.cpp, - src/osgPlugins/OpenFlight/AttrData.h, - src/osgPlugins/OpenFlight/CMakeLists.txt, - src/osgPlugins/OpenFlight/DataInputStream.h, - src/osgPlugins/OpenFlight/DataOutputStream.cpp, - src/osgPlugins/OpenFlight/DataOutputStream.h, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/ExportOptions.cpp, - src/osgPlugins/OpenFlight/ExportOptions.h, - src/osgPlugins/OpenFlight/FltExportVisitor.cpp, - src/osgPlugins/OpenFlight/FltExportVisitor.h, - src/osgPlugins/OpenFlight/FltWriteResult.h, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.cpp, - src/osgPlugins/OpenFlight/LightSourcePaletteManager.h, - src/osgPlugins/OpenFlight/MaterialPaletteManager.cpp, - src/osgPlugins/OpenFlight/MaterialPaletteManager.h, - src/osgPlugins/OpenFlight/Opcodes.h, - src/osgPlugins/OpenFlight/Pools.h, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.cpp, - src/osgPlugins/OpenFlight/Registry.h, - src/osgPlugins/OpenFlight/TexturePaletteManager.cpp, - src/osgPlugins/OpenFlight/TexturePaletteManager.h, - src/osgPlugins/OpenFlight/Types.h, - src/osgPlugins/OpenFlight/Utils.h, - src/osgPlugins/OpenFlight/VertexPaletteManager.cpp, - src/osgPlugins/OpenFlight/VertexPaletteManager.h, - src/osgPlugins/OpenFlight/expAncillaryRecords.cpp, - src/osgPlugins/OpenFlight/expControlRecords.cpp, - src/osgPlugins/OpenFlight/expGeometryRecords.cpp, - src/osgPlugins/OpenFlight/expPrimaryRecords.cpp: From Paul Martz, - "Here's the mods to the OpenFlight plugin to support FLT export. - The ZIP file contains the new .cpp/h files as well as existing - files that I modified. - - Changes to existing files: - ReaderWriter.cpp -- to support writeNode() of course. - ReaderWriterATTR.cpp -- to support writeObject -- we write .attr - files for textures, if they don't already exist. - AttrData.cpp/.h -- Minor fixes. - CMakeLists.txt -- to include the new files in the build." - - From Robert Osfield, port to non Windows platforms just required - fixing of header capitilization errors - that windows lets through the net due to having a case - insensitive file system. - - -2008-03-27 13:21 robert - - * include/osgTerrain/Terrain, include/osgTerrain/TerrainTile, - include/osgTerrain/TileSystem, src/osgTerrain/CMakeLists.txt, - src/osgTerrain/Terrain.cpp, src/osgTerrain/TerrainTile.cpp, - src/osgTerrain/TileSystem.cpp, - src/osgWrappers/osgTerrain/Terrain.cpp, - src/osgWrappers/osgTerrain/TerrainTile.cpp, - src/osgWrappers/osgTerrain/TileSystem.cpp: Removed TileSystem - class, and added support for TerrainTile's automatically - registering and unregistering themseles with the enclosing - Terrain node. - -2008-03-27 11:56 robert - - * src/osgWrappers/osgTerrain/TerrainTile.cpp: Added wrapper for - TerrainTile - -2008-03-27 11:55 robert - - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - include/osgTerrain/Terrain, include/osgTerrain/TerrainSystem, - include/osgTerrain/TerrainTechnique, - include/osgTerrain/TerrainTile, src/osgTerrain/CMakeLists.txt, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainSystem.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp, - src/osgWrappers/osgTerrain/Terrain.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/osgTerrain/TileSystem.cpp: Renamed - osgTerrain::TerrainSystem to osgTerrain::Terrain - -2008-03-27 10:55 robert - - * examples/osgterrain/osgterrain.cpp, include/osgTerrain/Terrain, - include/osgTerrain/TerrainSystem, - include/osgTerrain/TerrainTechnique, - include/osgTerrain/TerrainTile, include/osgTerrain/TileSystem, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/CompositeLayer.h, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/HeightFieldLayer.h, - src/osgPlugins/ive/ImageLayer.h, src/osgPlugins/ive/Layer.h, - src/osgPlugins/ive/ReadWrite.h, src/osgPlugins/ive/Terrain.cpp, - src/osgPlugins/ive/Terrain.h, src/osgPlugins/ive/TerrainTile.cpp, - src/osgPlugins/ive/TerrainTile.h, - src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgTerrain/Locator.cpp, - src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp, - src/osgPlugins/osgTerrain/TerrainTile.cpp, - src/osgTerrain/CMakeLists.txt, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainTechnique.cpp, - src/osgTerrain/TerrainTile.cpp: Renamed Terrain to TerrainTile - -2008-03-26 20:06 robert - - * examples/osgmultitexturecontrol/CMakeLists.txt, - examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp, - include/osgTerrain/Terrain, include/osgTerrain/TerrainSystem, - include/osgTerrain/TileSystem, src/osgDB/DatabasePager.cpp, - src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Terrain.cpp, - src/osgTerrain/CMakeLists.txt, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainSystem.cpp, src/osgTerrain/TileSystem.cpp: - Introduce TerrainSystem node which decorates a complete terrain - model made up of Terrain tiles. - -2008-03-26 20:03 robert - - * src/osgPlugins/curl/CMakeLists.txt, - src/osgPlugins/curl/ReaderWriterCURL.cpp: From Carlo Camporesi, - "I have made some changes in order to allow the using of proxies - via env variables and options. - I have modified also the cmakelist. In this way osg is able to - find the library in 3rdParty directory." - -2008-03-26 20:01 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From Carlo - Comporesi, adding support of finding libcurl in 3rd party - dependencies - -2008-03-25 15:21 robert - - * examples/osgviewerQT/AdapterWidget.cpp: From Tomas Hnilica, " - Attached is modified source of AdapterWidget.cpp file from - osgviewerQT - example. Original was token today from SVN - trunk. (2.3.6). - --mdi option needs to be set to run MDI version. - - Few notes: - - tested on Windows box (Win XP) - - using QT4 - - I was not able to execute the example with QOSGWidget - had - same - error like described in [osg-users] "fate error using QOSGWidget - in - develop release - 2.3.0" thread from Shuxing Xiao, 2008-01-08. - - problems are described in source - - -- - - And Later post: - - The problem of keypress events was solved by QT community, - attached is - repaired AdapterWidget.cpp file. - In the AdapterWidget class constructor following line was added: - setFocusPolicy(Qt::ClickFocus); - Scene disappearing by resizing to minimum still needs to be - fixed..." - -2008-03-25 13:14 robert - - * src/osgDB/FileNameUtils.cpp, src/osgDB/Registry.cpp: Moved - include of c headers to top, and remove using std::strlen in an - attempt to solve gcc4.3 compile problems - -2008-03-25 13:06 robert - - * src/osgViewer/ViewerEventHandlers.cpp: Added limits.h to try and - avoid gcc 4.3 compile problems - -2008-03-25 13:01 robert - - * src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Added #include - to fix gcc 4.3 build problem - -2008-03-25 12:26 robert - - * src/osgUtil/Optimizer.cpp: Fixed LessGeode operator. - -2008-03-25 11:50 robert - - * examples/osgshadow/osgshadow.cpp: From Wojciech Leandowski, "I - removed few lines of code that were setting Threading mode and - Screen mode. I believe they are now not neccessary because the - same does osgViewer::Viewer argument parser. In fact argument - list does not contain these args after they were parsed by - osgViewer::Viewer constructor. - - I also allowed myself to add ThreadingHandler to the example." - -2008-03-24 18:06 robert - - * src/osgTerrain/GeometryTechnique.cpp: Added sampling down to - 32x32 mesh for 64x64 height fields as a workaround to - memory consumption issues with high res whole earth paged - databases. - -2008-03-24 18:03 robert +Mon, 9 May 2011 10:51:52 +0000 +Checked in by : Robert OSFIELD +Fixed 2 Coverty reported issues.CID 11821: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _traversalNumber is not initialized in this constructor nor in any functions that it calls. - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: Added - mutex to prevent multiple cull threads changing the - MultiTextureControl at one time. +CID 11822: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _traversalNumber is not initialized in this constructor nor in any functions that it calls. -2008-03-24 10:53 robert - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: Added - full range of cameras manipulators to osgmultitexturecontrol - example -2008-03-23 18:28 robert - * src/osgGA/AnimationPathManipulator.cpp: Added < and > key - bindings to allow the speed to be animation speed to be increased - or decreased. +Sun, 8 May 2011 12:06:25 +0000 +Checked in by : Robert OSFIELD +Updated version number to 2.9.15 after dev release -2008-03-21 18:35 robert +Sun, 8 May 2011 11:57:53 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS for 2.9.14 dev release - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Added preliminary file - cache support. Enabled by setting the OSG_FILE_CACHE variable. +Sun, 8 May 2011 11:56:23 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog -2008-03-21 18:31 robert +Fri, 6 May 2011 16:46:13 +0000 +Checked in by : Robert OSFIELD +Added osg::ref_ptr osgDB::Registry::getRefFromArchiveCache() and osg::ref_ptr osgDB::Registry::getRefFromObjectCache(). - * src/osgPlugins/net/ReaderWriterNET.cpp: Added missing break; at - end of each case entry. +Fri, 6 May 2011 12:32:23 +0000 +Checked in by : Robert OSFIELD +Removed trailing spaces -2008-03-21 15:43 robert +Fri, 6 May 2011 12:30:58 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11828: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member distance is not initialized in this constructor nor in any functions that it calls. +Non-static class member maxDistance is not initialized in this constructor nor in any functions that it calls. +Non-static class member numIntersectionPoints is not initialized in this constructor nor in any functions that it calls. +Non-static class member primitiveIndex is not initialized in this constructor nor in any functions that it calls. - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Fixed push/popping of - filepath, removed verbose debug messages -2008-03-21 13:20 robert - * src/osgPlugins/curl/ReaderWriterCURL.cpp: Added better detection - and error reporting of files without proper server address -2008-03-21 13:08 robert +Fri, 6 May 2011 12:30:21 +0000 +Checked in by : Robert OSFIELD +Moved constructor implementation into .cpp - * CMakeLists.txt, src/osgDB/Registry.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/curl, - src/osgPlugins/curl/CMakeLists.txt, - src/osgPlugins/curl/ReaderWriterCURL.cpp, - src/osgPlugins/net/ReaderWriterNET.cpp: Added initial cut of - libcurl based plugin +Fri, 6 May 2011 12:27:19 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11838: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _alphaFuncKey is not initialized in this constructor nor in any functions that it calls. +Non-static class member _cyleBackwardKey is not initialized in this constructor nor in any functions that it calls. +Non-static class member _cyleForwardKey is not initialized in this constructor nor in any functions that it calls. +Non-static class member _sampleDensityKey is not initialized in this constructor nor in any functions that it calls. +Non-static class member _transparencyKey is not initialized in this constructor nor in any functions that it calls. +Non-static class member _updateAlphaCutOff is not initialized in this constructor nor in any functions that it calls. +Non-static class member _updateSampleDensity is not initialized in this constructor nor in any functions that it calls. +Non-static class member _updateTransparency is not initialized in this constructor nor in any functions that it calls. -2008-03-20 10:24 robert - * README.txt: Updated date for 2.4.6 release -2008-03-19 21:05 robert - * include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: From Melchoir Franz, - "osgViewer toggled the NumLock state correctly when pressing the - NumLock - key, but it didn't pick up the initial state. So, if NumLock was - on for - the OS at startup (LED on), it was still off for OSG. And the - first - keypress turned the LED off, and NumLock on for OSG. The attached - fix - picks up the state on every FocusIn, just like it was done in the - last - commits for CapsLock. The difference is, that the NumLock mask - isn't - standardized (e.g. 0x10 for Linux, and 0x80 for AIX), so we have - to do - a reverse lookup (::rescanModifierMapping()). - - Note that I could not reproduce the problem on my system, but - someone - else confirmed it twice on his, and the patch fixed it for him. - - Changed files: - ./include/osgViewer/api/X11/GraphicsWindowX11 - ./src/osgViewer/GraphicsWindowX11.cpp - - " +Fri, 6 May 2011 12:26:13 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11827: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _plane_mask is not initialized in this constructor nor in any functions that it calls. -2008-03-19 17:11 robert - * AUTHORS.txt: Update AUTHOR file -2008-03-19 17:10 robert - * CMakeLists.txt, ChangeLog, README.txt, include/osg/Version: - Updated version and ChangeLog for 2.3.6 dev release. +Fri, 6 May 2011 12:25:34 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11826: Uninitialized scalar field (UNINIT_CTOR) +Class member declaration for _recordHeightsAsAttributes. -2008-03-19 12:30 robert - * src/osgWrappers/osgShadow/ShadowMap.cpp: Updated wrappers -2008-03-19 12:09 robert - * include/osgShadow/ShadowMap, src/osgShadow/ShadowMap.cpp: From - Sebastian Messerschimdt, Added polygon offset controls +Fri, 6 May 2011 12:25:02 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11830: Uninitialized pointer field (UNINIT_CTOR) +Non-static class member _geometry is not initialized in this constructor nor in any functions that it calls. -2008-03-19 11:41 robert - * src/osgWrappers/osg/CullSettings.cpp: Updated wrappers -2008-03-19 11:41 robert - * src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/ShadowMap.cpp, src/osgShadow/ShadowTexture.cpp: - Revert the Camera::setInheritanceMask(0x) calls that were added - as workaround to a bug introduced by a bug fix to the way the - inhertiance mask was handled in CullVisito::apply(Camera&) +Fri, 6 May 2011 12:24:19 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11825: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _primitiveIndex is not initialized in this constructor nor in any functions that it calls. +Non-static class member _ratio is not initialized in this constructor nor in any functions that it calls. -2008-03-19 11:40 robert +CID 11824: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _hit is not initialized in this constructor nor in any functions that it calls. +Non-static class member _index is not initialized in this constructor nor in any functions that it calls. +Non-static class member _length is not initialized in this constructor nor in any functions that it calls. +Non-static class member _ratio is not initialized in this constructor nor in any functions that it calls. - * include/osg/CullSettings, src/osg/CullSettings.cpp: Introduced - InheritanceMaskActionOnAttributeSetting member to CullSettings, - and associated applyMaskAction method that is - now used in all CullSettings::set*() methods, which by default - helps disable the inheritance mask associated - with settings that are made locally. -2008-03-18 17:44 robert - * src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/ShadowMap.cpp, src/osgShadow/ShadowTexture.cpp, - src/osgShadow/SoftShadowMap.cpp: Set the - CullSettings::InhertianceMask to 0x0 as temporary measure till we - work out the best scheme to use w.r.t inhertiance of CullSettins. -2008-03-18 15:48 robert +Fri, 6 May 2011 12:23:45 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11829: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _primitiveMode is not initialized in this constructor nor in any functions that it calls. - * src/osgWrappers/osg/AutoTransform.cpp: Updated wrappers -2008-03-18 15:37 robert - * examples/osgautotransform/osgautotransform.cpp, - include/osg/AutoTransform, src/osg/AutoTransform.cpp, - src/osgPlugins/ive/AutoTransform.cpp, - src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/osg/AutoTransform.cpp: To osg::AutoTransform added - support for MinimumScale, MaximumScale and - AutoScaleTransitionWidth parameters - and a new scheme for computing the scaling when using autoscale - that introduces smooth - transitions to the scaling of the subgraph so that it looks more - natural. -2008-03-18 10:45 robert +Fri, 6 May 2011 12:22:49 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11836: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _fullscreen is not initialized in this constructor nor in any functions that it calls. - * examples/osgautotransform/osgautotransform.cpp: Added example - code showing how to set the minimum and maximum scales -2008-03-18 09:17 robert - * src/osgSim/CMakeLists.txt: Added ObjectRecordData to include list -2008-03-17 15:22 robert +Fri, 6 May 2011 12:22:10 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11831: Uninitialized pointer field (UNINIT_CTOR) +Non-static class member _context is not initialized in this constructor nor in any functions that it calls. +Non-static class member _dc is not initialized in this constructor nor in any functions that it calls. +Non-static class member _handle is not initialized in this constructor nor in any functions that it calls. +Non-static class member _instance is not initialized in this constructor nor in any functions that it calls. - * include/osg/AutoTransform, src/osg/AutoTransform.cpp, - src/osgPlugins/osg/AutoTransform.cpp: Added minimum and maximum - scale support to osg::AutoTransform -2008-03-17 12:23 robert - * examples/osgparticleeffects/osgparticleeffects.cpp: Fixed moving - model bug where the moving model code was looking for a transform - with DataVariance set to DYNAMIC, but the scene graph set up code - was leaving the setting to default to STATIC. Fix involved - setting DataVariance on moving transoforms to DYNAMIC. -2008-03-17 12:13 robert +Fri, 6 May 2011 12:21:11 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11835: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _startTick is not initialized in this constructor nor in any functions that it calls. - * src/osgWrappers/osgParticle/ParticleSystem.cpp: Updated wrappers -2008-03-17 12:11 robert - * include/osgParticle/ParticleSystem: Added doxygen docs -2008-03-17 12:09 robert +Fri, 6 May 2011 12:20:48 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issues.CID 11834: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _tickLastUpdated is not initialized in this constructor nor in any functions that it calls. +Non-static class member _tmpText is not initialized in this constructor nor in any functions that it calls. - * include/osgParticle/ParticleSystem, - src/osgParticle/ParticleEffect.cpp, - src/osgParticle/ParticleSystem.cpp, - src/osgPlugins/osgParticle/IO_ParticleSystem.cpp: Introduce - osgParticle::ParticleSystem::s/getParticleScaleReferenceFrame() - to - help manage the scaling of particles, whether they should be - relative to the - local coordiante frame of the particle system, or be in world - coordinates. +CID 11833: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _tmpText is not initialized in this constructor nor in any functions that it calls. -2008-03-17 10:29 robert - * examples/osgsimulation/CMakeLists.txt, - examples/osgsimulation/osgsimulation.cpp: Added fire effect, - enabled by --fire command line option. The new fire effect - has been introduced to reproduce the scaling of paricle effects -2008-03-15 19:27 robert - * src/osgPlugins/net/ReaderWriterNET.cpp: Added better error - reporting +Fri, 6 May 2011 10:30:23 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issues.CID 11843: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _inexp is not initialized in this constructor nor in any functions that it calls. +Non-static class member _outexp is not initialized in this constructor nor in any functions that it calls. -2008-03-14 16:51 robert +CID 11842: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _inexp is not initialized in this constructor nor in any functions that it calls. +Non-static class member _outexp is not initialized in this constructor nor in any functions that it calls. - * examples/osgshadow/osgshadow.cpp: From Paul Melis, "typo fix : - NVidea -> NVidia (including option --Nvidea)" -2008-03-14 16:24 robert - * AUTHORS.txt, ChangeLog: Update ChangeLog and AUTHORS.txt file for - 2.3.5 release -2008-03-14 15:33 robert +Fri, 6 May 2011 10:29:47 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issues.WindowManager.cpp +CID 11841: Uninitialized pointer field (UNINIT_CTOR) +Non-static class member _lastEvent is not initialized in this constructor nor in any functions that it calls. +Non-static class member _lastPush is not initialized in this constructor nor in any functions that it calls. +Non-static class member _view is not initialized in this constructor nor in any functions that it calls. - * src/osgWrappers/osgGA/StateSetManipulator.cpp: Updated wrappers +Frame.cpp +CID 11840: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _flags is not initialized in this constructor nor in any functions that it calls. -2008-03-14 15:33 robert +Window.cpp +CID 11839: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _index is not initialized in this constructor nor in any functions that it calls. - * CMakeModules/clean_directories: Added utilty script for cleaning - up build files/directories. -2008-03-14 15:32 robert - * src/osg/StateSet.cpp: Fixed indenting -2008-03-14 15:13 robert +Fri, 6 May 2011 10:28:24 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issueCID 11441: Non-array delete for scalars (DELETE_ARRAY) +"_dwobj::readOpenings(_iobuf *, int)" allocates "obj.fc1". [show details] - * include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: From Melchior Franz, - "Attached is a fix for remaining problems in capslock handling: - It sets osgGA's keymask when restoring keys on FocusIn, according - to the state values of XKeyEvent and XCrossingEvent. (These are - the only source for X11's current capslock state that avoids - pulling in the XKB extension.) - " +"_dwobj::~_dwobj()" uses delete on "obj.fc1" which is an array. It should be deleted with operator delete[]. [show details] -2008-03-14 15:00 robert - * include/osgGA/StateSetManipulator: Missing checkin -2008-03-14 14:35 robert - * examples/osgviewerWX/osgviewerWX.cpp: Added iostream include +Fri, 6 May 2011 10:27:59 +0000 +Checked in by : Robert OSFIELD +Fixed Covertiy reported issues. CID 11394: Resource leak in object (CTOR_DTOR_LEAK) Allocating memory by calling "new osg::IntArray". Assigning: "this->colorindices" = "new osg::IntArray". The constructor allocates field "colorindices" of "struct vertexInfo" but there is no destructor.CID 11395: Resource leak in object (CTOR_DTOR_LEAK) +Allocating memory by calling "new osg::IntArray". +Assigning: "this->coordindices" = "new osg::IntArray". +The constructor allocates field "coordindices" of "struct vertexInfo" but there is no destructor. -2008-03-14 13:21 robert +CID 11396: Resource leak in object (CTOR_DTOR_LEAK) +Allocating memory by calling "new osg::IntArray". +Assigning: "this->normindices" = "new osg::IntArray". +The constructor allocates field "normindices" of "struct vertexInfo" but there is no destructor. - * src/osgGA/StateSetManipulator.cpp: Added cloning of the StateSet - before modification to work around threading issue - relating to the StateSet being modified by the event/update - thread and read from - the draw thread at the same time. +CID 11397: Resource leak in object (CTOR_DTOR_LEAK) +Allocating memory by calling "new osg::IntArray". +Assigning: "this->txindices" = "new osg::IntArray". +The constructor allocates field "txindices" of "struct vertexInfo" but there is no destructor. -2008-03-14 12:03 robert +CID 11398: Resource leak in object (CTOR_DTOR_LEAK) +Allocating memory by calling "new osg::Vec2Array". +Assigning: "this->txcoords" = "new osg::Vec2Array". +The constructor allocates field "txcoords" of "struct vertexInfo" but there is no destructor. - * include/osgSim/ObjectRecordData, - src/osgWrappers/osgSim/ObjectRecordData.cpp: Converted static - const unsigned int definitio to enum. +CID 11399: Resource leak in object (CTOR_DTOR_LEAK) +Allocating memory by calling "new osg::Vec3Array". +Assigning: "this->norms" = "new osg::Vec3Array". +The constructor allocates field "norms" of "struct vertexInfo" but there is no destructor. -2008-03-14 11:53 robert +CID 11400: Resource leak in object (CTOR_DTOR_LEAK) +Allocating memory by calling "new osg::Vec3Array". +Assigning: "this->coords" = "new osg::Vec3Array". +The constructor allocates field "coords" of "struct vertexInfo" but there is no destructor. - * AUTHORS.txt, ChangeLog, README.txt, - applications/osgversion/osgversion.cpp: Updated version/author - type fixes, authors, readme and changelog for 2.3.5 dev release +CID 11401: Resource leak in object (CTOR_DTOR_LEAK) +Allocating memory by calling "new osg::Vec4Array". +Assigning: "this->colors" = "new osg::Vec4Array". +The constructor allocates field "colors" of "struct vertexInfo" but there is no destructor. -2008-03-14 11:07 robert +CID 11402: Resource leak in object (CTOR_DTOR_LEAK) +Allocating memory by calling "new osg::Vec4Array". +Assigning: "this->polycols" = "new osg::Vec4Array". +The constructor allocates field "polycols" of "struct vertexInfo" but there is no destructor. - * src/osgWrappers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp: Updated wrappers -2008-03-14 11:06 robert - * include/osg/Version: Improved the indenting -2008-03-14 11:06 robert - - * include/osg/observer_ptr: Changed the const get(), operator*() - and operator->() methods to return non const T versions - -2008-03-14 11:01 robert - - * include/osgViewer/api/X11/GraphicsWindowX11: From Andy Skinner, - build fix for Solaris - -2008-03-13 19:48 robert - - * include/osgUtil/SceneGraphBuilder: Fixed doc comment - -2008-03-13 19:44 robert - - * CMakeLists.txt, include/osg/Version, - include/osgUtil/SceneGraphBuilder, - src/osgUtil/SceneGraphBuilder.cpp, - src/osgWrappers/osgUtil/SceneGraphBuilder.cpp: Removed gl and glu - prefixes from SceneGraphBuilder methods to avoid problems under - Solaris - -2008-03-13 16:40 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Gino van den - Bergen, "I've added a few fixes to the VRML 2.0 plugin: - - 1) Full DOS paths are now correctly opened by OpenVRML. A URL - containing - a DOS path should be "file:///C:data/blah" rather than - "file://C:data/blah". - - 2) The last primitive defined in "coordIndex" is now added if the - "coordIndex" is not terminated by -1. - - 3) Smoothed normals are computed if no normal field is provided. - Currently, there is no support for "creaseAngle", so all edges - (even the - ones sharper than the creaseAngle) are smoothed. I might add this - in the - future if demand rises. - - 4) If an IndexedFaceSet contains only triangles or quads then the - primitive type is set to TRIANGLES or QUADS, and the primset - becomes - DrawArrays rather than DrawArrayLengths. - - Question: I noticed that for DrawArrays you can still provide an - index - array. Would the rendering be faster if I'd create DrawElements - primsets - rather than DrawArrays? Phrased differently, what is the benefit - of - using DrawElements over DrawArrays, as there is clearly not a - one-to-one - mapping of these concepts to their OpenGL counterparts? - - 5) Objects are added to the transparent bin and blend mode is - enabled - only if the transparency is nonzero. Rendered transparent objects - no - longer write the depth buffer." - -2008-03-13 16:38 robert - - * examples/osgunittests/osgunittests.cpp: From Jose Delport, - "attached is a version of osgunittests that does not give false - alarms - for the case where q1 = -q2. The output of 'osgunittests quat' is - now - much cleaner. - " - -2008-03-13 16:22 robert - - * examples/osgviewerWX/osgviewerWX.cpp: From Paul Melis, "Here is - an updated osgviewerWX example to bring it more in line with the - other GUI toolkit examples. It now takes a model file as - command-line - argument (complaining if there isn't one), and its startup window - size - is now actually applied (it used to be too small). I tested this - with a - unicode-build of wxWidgets, as that is the recommended build type - on - Linux with GTK. I'm pretty sure this version of the example will - work - for the ANSI build as well, but I have no way of testing." - -2008-03-13 16:18 robert - - * src/osgPlugins/ac/ac3d.cpp: From Melchoir Franz, "ac3d.cpp does - currently strip everything but the file name in - "texture" paths. This is to drop absolute paths that some - 3d editors export (even AC3D itself!). But this also strips - directories of relative paths, which is wrong and contradicts - the ac3d reference implementation. (The reference implementation - doesn't strip anything, though, and so takes the absolute paths - as they are. Definitely not what we want.) - - The attached solution checks absolute paths and only strips - those: - - (1) A:\\foo\\bar.png -> bar.png (as before) - (2) /foo/bar.png -> bar.png (as before) - - (3) foo/bar.png -> foo/bar.png (new) - (4) ../foo/bar.png -> ../foo/bar.png (new) - - " - -2008-03-13 16:12 robert - - * include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: From Melchoir Franz, Caps - lock support under X11 - -2008-03-13 16:05 robert - - * include/osg/LineSegment, src/osg/LineSegment.cpp: Added double - versions of intersect methods - -2008-03-13 16:05 robert - - * src/osgWrappers/osg/LineSegment.cpp, - src/osgWrappers/osgSim/ObjectRecordData.cpp: Updated wrappers - -2008-03-13 15:23 robert - - * src/osg/LineSegment.cpp: From Andy Skinner, "I've taken this - another step, to use value_type inside the intersect calls. I did - choose to use sqrt() instead of sqrtf()." - -2008-03-13 15:21 robert - - * include/osgSim/ObjectRecordData, - src/osgPlugins/osgSim/IO_ObjectRecordData.cpp: From Paul Martz, - files for adding ObjectRecordData support into OpenFlight - -2008-03-13 14:09 robert - - * src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/osgSim/CMakeLists.txt: From Paul Martz, "The - attached preserves OpenFlight Object record data as UserData in - the osg::Group corresponding to the Object record. - - The files are: - include/osgSim/ObjectRecordData -- The new class. Derives from - Object to support .osg IO. - src/osgPlugins/OpenFlight/PrimaryRecords.cpp -- Reads data into - that class. - src/osgPlugins/osgSim/IO_ObjectRecordData.cpp -- .osg IO - support." - - From Robert Osfield, made the OpenFlight read object record data - optional via the -O readObjectRecordData ReaderWriter option. +Fri, 6 May 2011 09:26:14 +0000 +Checked in by : Robert OSFIELD +Updated SO version number for dev release -2008-03-13 13:44 robert +Fri, 6 May 2011 09:22:17 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11388: Resource leak in object (CTOR_DTOR_LEAK) +Allocating memory by calling "new char[numBytes]". +Assigning: "this->_startPtr" = "new char[numBytes]". +The constructor allocates field "_startPtr" of "struct DataConverter" but there is no destructor. +Assigning: "this->_currentPtr" = "new char[numBytes]". +The constructor allocates field "_currentPtr" of "struct DataConverter" but there is no destructor. - * include/osgUtil/SceneGraphBuilder, - src/osgUtil/SceneGraphBuilder.cpp: Added support for assigning - state to created drawables, implemented gluDisk. - -2008-03-13 13:43 robert - - * examples/osgforest/osgforest.cpp: From Alberto Luaces, "Here I - send minor corrections to the text output by the osgforest - example when - building its graphs. The message "Creating billboard based - forest" appears - four times regardless of the actual type of the graph being - built. - " - -2008-03-12 20:20 robert - - * src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osgUtil/SceneGraphBuilder.cpp: Updated wrappers - -2008-03-12 20:15 robert - - * include/osg/LineStipple, include/osg/Point, - include/osg/PolygonStipple, src/osg/Point.cpp, - src/osg/PolygonStipple.cpp: Added extra constructors - -2008-03-12 20:15 robert - - * include/osgUtil/SceneGraphBuilder, - src/osgUtil/SceneGraphBuilder.cpp: Added proper implementations - of OpenGL 1.0 calls to OSG object representation methods in - SceneGraphBuilder. - -2008-03-12 15:28 robert - - * src/osgPlugins/osgTerrain/CompositeLayer.cpp: Fixed bug in output - of ProxyLayer's MinLevel/MaxLevel - -2008-03-11 13:29 robert - - * include/osgUtil/SceneGraphBuilder, src/osgUtil/CMakeLists.txt, - src/osgUtil/SceneGraphBuilder.cpp: Added default implementations - of new SceneGraphBuilder class - -2008-03-11 13:23 robert - - * src/osg/Geometry.cpp: From Mathias Froehlich, "it appears to me - that sun CC cannot use static functions from template - functions. The attached change is required to make it compile - with sun CC." - -2008-03-11 13:19 robert - - * CMakeModules/FindGDAL.cmake: From Jose Delport, added support for - finding and using GDAL 1.5 - -2008-03-11 12:10 robert - - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: Added - extra event handlers to make viewer more functional - -2008-03-10 20:30 robert - - * applications/osgversion/osgversion.cpp: Added commandline help - options - -2008-03-05 13:54 robert - - * src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp: From Andreas - Ekstrand and Lars Nilsson, fix for reading Texture Attribute file - -2008-03-05 12:05 robert - - * src/osgWrappers/osgGA/StateSetManipulator.cpp: Updated wrappers - -2008-03-05 11:52 robert - - * src/osg/State.cpp: From Atr Trevs, added missinging initializers - -2008-03-05 11:33 robert - - * include/osgGA/StateSetManipulator, - src/osgGA/StateSetManipulator.cpp: From Jean-Sebastien Guay, "I - changed osgGA::StateSetManipulator to mirror the - osgViewer::StatsHandler and other handlers which allow you to - change the - key(s) you would press to get them to do something. Pretty simple - change - but useful in our context and possibly in others too." - -2008-03-04 17:57 robert - - * src/osgViewer/CompositeViewer.cpp: From Jean-Sebastien Guay, " - The problem can be reproduced by simply changing the osgpick - example to - use a CompositeViewer with a single view initialized using - setUpViewAcrossAllScreens(). I have attached a modified - osgpick.cpp so - you can test it out quickly (please don't check this file in - though :-) - ) The eventState is then incorrect and picking does not work. The - only - changes are in CompositeViewer.cpp (eventTraversal() method), and - fix - the problem for me. - " - -2008-03-04 16:39 robert - - * include/osgViewer/api/Win32/PixelBufferWin32, - src/osg/GraphicsThread.cpp, src/osgViewer/PixelBufferWin32.cpp: - From Colin McDonald, "Attached is an updated to - osgViewer::PixelBufferWin32. - - The win32 pbuffer implementation returned an error unless both - the - WGL_ARB_pbuffer and the WGL_ARB_render_texture functions were - present. - This was too restrictive, as a pbuffer can usefully be created - without - render-to-texture, e.g. for use with glReadPixels. The osg - 1.2/Producer - pbuffers worked without RTT, and osgUtil::RenderStage has all the - code to - handle both RTT and non-RTT pbuffers, doing a read and copy in - the - latter case. - - With these changes I have successfully tested the osgprerender - example - on a graphics card which supports RTT, and one which doesn't. - Plus - tested in my own application. - - In order to aid diagnostics I have also added more function - status - return checks, and associated error messages. I have included the - win32 - error text in all error messages output. And there were some - errors - with multi-threaded handling of "bind to texture" and a temporary - window - context which I have corrected. - - These is one (pre-existing) problem with multi-threaded use of - pbuffers - in osgViewer & osgprerender, which I have not been able to fix. A - win32 - device context (HDC) can only be destroyed from the thread that - created - it. The pbuffers for pre-render cameras are created in - osgUtil::RenderStage::runCameraSetUp, from the draw thread. But - closeImplementation is normally invoked from the destructor in - the main - application thread. With the additional error messages I have - added, - osgprerender will now output a couple of warnings from - osgViewer::PixelBufferWin32::closeImplementation() at exit, after - running multi-threaded on windows. I think that is a good thing, - to - highlight the problem. I looked into fixing it in - osgViewer::Renderer & - osgUtil::RenderStage, but it was too involved for me. My own - application requirements are only single-threaded. - - Unrelated fix - an uninitialised variable in - osg::GraphicsThread::FlushDeletedGLObjectsOperation(). - " - -2008-03-04 16:22 robert - - * src/osgShadow/ShadowMap.cpp: From Wojciech Lewandowski, "Attached - is modified osgShadow::ShadowMap. I changed following things: - - 1: - Shadow map camera sets ABSOLUTE_RF_INHERIT_VIEWPOINT refernce - frame. - - 2: - Light Direction by matrix multiplications replaced with - transform3x3 multiplication. - - 3: - I made DebugingHUD functional by adding special draw callback. - Former version was simply drawing pale square. - - 4: - I was tempted to make 4 th change but decided to not do it. - Instead I put it whith #if VIEW_DEPNDENT_TEXGEN. If you decide - you may let it go. - - When objects are not centered at 0,0,0 coord but in some distant - location (for example at surface of earth ellipsoid) shadow - texgen suffers from inadequate precision of float matrices. I - changed that by premultiplying Texgen matrix (using OSG double - matrices) with inverse modelview and applying it later with - ModelView identity matrix. This tweak may be appropriate for - OverlayNode texgen as well. - - I left former version because I suspect that this change will - make osgShadow::ShadowMap view dependant. Currently texgen matrix - remains the same no matter what View displays it. With my change - it wuld be different for each view. This touches the subject of - View Dependent Shadow Techniques that J-S asked recently." - -2008-03-04 16:03 robert - - * src/osgUtil/CullVisitor.cpp: Refactored the way that the camera - settings are inhertied - -2008-03-04 15:29 robert - - * src/osg/FrameBufferObject.cpp: From Art Trevs, "in the current - implementation of the FrameBufferObject - there is a bug. The header file do specify something - like this: - - FrameBufferAttachment(Texture3D* target, int zoffset, - int level = 0); - - However in the .cpp file we have: - - FrameBufferAttachment::FrameBufferAttachment(Texture3D* - target, int level, int zoffset) - - - Which means that the meaning of level and zoffset is - interchanged. - - The file with the corrected line is attached. Should - go into src/osg/ - " - -2008-03-04 15:10 robert - - * src/osgDB/FileNameUtils.cpp: From Philip Lowman, "A missing - _WIN32_WINNT declaration causes MinGW compilation to fail when - reaching FileNameUtils.cpp and the Windows 2000 function - GetLongPathName() is called." - -2008-03-04 14:19 robert - - * examples/osgpick/osgpick.cpp: From Jean-Sebastien Guay and Robert - Osfield, added optional --CompositeViewer path into osgpick to - illustrate how to do picking in both viewers and as unit test for - picking. - -2008-03-04 14:04 robert - - * include/osg/Shader, include/osgDB/Input, include/osgDB/Output, - include/osgDB/ReadFile, include/osgDB/ReaderWriter, - include/osgDB/Registry, include/osgDB/WriteFile, - src/osg/Shader.cpp, src/osgDB/Input.cpp, src/osgDB/Output.cpp, - src/osgDB/ReadFile.cpp, src/osgDB/ReaderWriter.cpp, - src/osgDB/Registry.cpp, src/osgDB/WriteFile.cpp, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/glsl, - src/osgPlugins/glsl/CMakeLists.txt, - src/osgPlugins/glsl/ReaderWriterGLSL.cpp, - src/osgPlugins/osg/Shader.cpp, src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osgDB/Input.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp: From Art Trevs, add support - for saving external shader files. - From Robert Osfield, adding missing member variable initializes - and Output::getShaderFileNameForOutput() implementation - -2008-03-04 13:30 robert - - * examples/CMakeLists.txt, examples/osgthirdpersonview, - examples/osgthirdpersonview/CMakeLists.txt, - examples/osgthirdpersonview/osgthirdpersonview.cpp: From Paul - Martz, a third person view CompositeViewer example - -2008-03-04 11:53 robert - - * include/osg/Camera, src/osg/Camera.cpp, - src/osgWrappers/osg/Camera.cpp: Change the setViewAsLookAt method - to use Vec3d rather than Vec3 for better precision - -2008-03-04 11:52 robert - - * src/osgFX/MultiTextureControl.cpp: Changed the updateStateSet - code so that it creates a new StateSet each update - rather than clear and reuse the existing one, this change fixes a - threading - issue that occured when the viewer is in DrawThreadPerContext. -2008-03-04 11:50 robert - * examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: - Removed single threaded setting -2008-03-03 18:12 robert +Fri, 6 May 2011 09:21:40 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 12263: Missing break in switch (MISSING_BREAK) +This case (value 8) is not terminated by a 'break' statement. - * examples/osgmultitexturecontrol/CMakeLists.txt, - examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: - Implemented fade between layers using MultiTextureControl node +CID 12262: Missing break in switch (MISSING_BREAK) +This case (value 7) is not terminated by a 'break' statement. -2008-03-03 14:17 robert +CID 12261: Missing break in switch (MISSING_BREAK) +This case (value 6) is not terminated by a 'break' statement. - * examples/CMakeLists.txt, examples/osgmultitexturecontrol, - examples/osgmultitexturecontrol/CMakeLists.txt, - examples/osgmultitexturecontrol/osgmultitexturecontrol.cpp: Added - beginings of new osgmultitexturecontrol example -2008-03-01 13:42 robert - * src/osgWrappers/osg/Camera.cpp: Updated wrappers -2008-03-01 13:40 robert +Fri, 6 May 2011 09:21:04 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issues.CID 10392: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. +Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls. - * include/osg/Camera: Added OSG_EXPORT +CID 10454: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. +Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls. -2008-03-01 12:50 robert +CID 10505: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. +Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls. - * include/osg/Camera: Fixed typo +CID 10919: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. +Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls. -2008-03-01 12:29 robert +CID 10920: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _maxIndex is not initialized in this constructor nor in any functions that it calls. +Non-static class member _minIndex is not initialized in this constructor nor in any functions that it calls. - * examples/osghud/osghud.cpp: Fixed naming -2008-02-29 16:09 robert - * src/osg/GraphicsContext.cpp: Disabled the resizing of Camera's - with FBO's -2008-02-29 15:25 robert +Fri, 6 May 2011 09:20:06 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issues.CID 11389: Resource leak in object (CTOR_DTOR_LEAK) +Allocating memory by calling "new bsp::VBSPData". +Assigning: "this->bsp_data" = "new bsp::VBSPData". +The constructor allocates field "bsp_data" of "struct bsp::VBSPReader" but the destructor and whatever functions it calls do not free it. - * examples/osghud/osghud.cpp, include/osg/Camera, - include/osg/RenderInfo, src/osg/Camera.cpp, - src/osgUtil/RenderStage.cpp, src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Added - Camera::g/setIntialDrawCallback and g/setFinalDrawCallback(), and - added - screen snapshot example code to osghud. -2008-02-28 20:02 robert - * applications/osgviewer/osgviewer.cpp, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/ViewerEventHandlers.cpp: Added LODScaleHandler - -2008-02-28 18:08 robert - - * src/osgDB/DatabasePager.cpp: Added OSG_EXPIRY_DELAY env var - option. - -2008-02-28 17:59 robert - - * src/osgViewer/Renderer.cpp: Moved the delete operations to before - of the compile operations to ensure that - delete operations don't get pushed out by allocations - -2008-02-28 10:56 robert - - * examples/osgvolume/osgvolume.cpp: From He Sicong, "fixed shader - calculation of ray tracing" - -2008-02-27 12:11 robert - - * src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/LightPointNode.cpp, - src/osgPlugins/osgSim/IO_LightPointNode.cpp: From Wojciech - Lewandowski and Robert Osfield, Support from - LightPointNode::s/getPointSprite parameter. - -2008-02-27 11:46 robert - - * include/osg/Matrixd, include/osg/Matrixf: From Paul Martz, "Per - the discussion in osg-users, this change adds code comments to - the Matrix* headers to document assumptions in the getRotate() - method." - -2008-02-27 11:43 robert - - * examples/osgocclusionquery/osgocclusionquery.cpp, - include/osg/OcclusionQueryNode, src/osg/OcclusionQueryNode.cpp, - src/osgWrappers/osg/OcclusionQueryNode.cpp: From Paul Martz, - fixed get/set methods API - -2008-02-27 11:43 robert - - * src/osgPlugins/net/ReaderWriterNET.cpp: Added debug message to - track cache usage - -2008-02-25 17:30 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From Melchior Franz, fixed - handling of modified keys when entering/leaving window - -2008-02-25 16:50 robert - - * include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: From Franz Melchior, "When - switching virtual desktops or minimizing a window, keys - remain in pressed state after revealing, even if they are no - longer pressed on the keyboard. This can have bad effects, - especially if the stuck keys are modifier keys. One has to - press and release the stuck keys again to reset the wrong state. - - The fix keeps track of all key presses and releases. On FocusOut - and UnmapNotify it releases all keys that are in pressed state, - and on KeymapNotify (following a FocusIn), it sets the currently - pressed keys again. To avoid confusion in the OSG-using - application - normal keys are always reported released /before/ and pressed - /after/ modifier keys. - - As current key states are returned as char[32] keymap by - XQueryKeymap and XKeymapEvent, this format is also used to - recognize modifier keys and for maintaining the current - internal key state. Functions to set/clear/query bits in - such a keymap are added. - - The patch was extensively tested with osgkeyboard and - FlightGear under KDE and fvwm2. It was not tested on a - Xinerama setup or with multiple windows, but as _eventDisplay - is used throughout, there should be no problems. The patch also - makes the following changes: - - - removes old and obsolete handling of modifier keys in - ::adaptKey(). - This wasn't only unused, but also wrong (and for that reason - commented - out in revision 7066). The modifier states are actually handled - in ./src/osgGA/EventQueue.cpp (EventQueue::keyPress/keyRelease). - - fixes some spelling" - -2008-02-25 16:26 robert - - * include/osgIntrospection/CustomAttributeProvider, - include/osgIntrospection/PropertyInfo, - include/osgIntrospection/Reflection, - include/osgIntrospection/Type, - src/osgIntrospection/Reflection.cpp, - src/osgIntrospection/Type.cpp: From Emmanuel Roche, "I'm joining - two zip files to this mail for the modified sources and include - files of osgIntrospection. - - The modifications I made are very small but they are absolutely - usefull to use osgIntrospection with visual studio 7.1 or 8 in - debug modes. - This should also solve other minor common problems (converter - memory leak, virtual destructor for PropertyInfo, etc...). - - I choosed two function names : Reflection::uninitialize() and - Type::reset(), this can of course be changed if someone has a - better idea... - - I made the changes against OSG 2.2.0 public release. I tested the - result with VS 7.1, VS 7.1 SP1, VS 8.0 SP1 and AQTime 5.0 on - Windows XP SP2... All 4 seem to agree : they detected memory - leaks before and don't anymore. - - Sorry I haven't take the time to test that on linux but the - changes are so small I doubt there could be a problem... I let - you check that on your side :-). - - I hope this will help making OSG an even more wonderfull - library." - -2008-02-25 16:05 robert - - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, "I - missed a refactoring of the handling of modifier-keys, so they - did not - work on OS X. Attached you'll find the missing implementation for - OS X." - -2008-02-25 15:09 robert - - * src/osgPlugins/osg/StateSet.cpp: From Paul Martz, "This change - adds "GL_NORMALIZE" and "GL_RESCALE_NORMAL" to .osg IO in place - of the hex equivalents." - -2008-02-25 15:08 robert - - * src/osgWrappers/osg/Plane.cpp, src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp: Updated wrappers - -2008-02-25 15:07 robert - - * include/osg/ProxyNode, src/osg/ProxyNode.cpp, - src/osgPlugins/osg/ProxyNode.cpp: From Robert Osfield and Carlo - Camporesi, took submission from Carlo for adding - LoadingExternalReferenceMode to ProxyNode and extended it - to include a wider range of options, also completed - implementation - -2008-02-25 14:27 robert - - * include/osgManipulator/Dragger: Changed method parameter to use - const & - -2008-02-25 14:15 robert - - * include/osg/Plane, src/osgSim/OverlayNode.cpp: From Wojciech - Lewandowski, "----1---- - - Attached is a fixed version of OverlayNode.cpp. I fixed - CustomPolytope::cut( osg::Plane ) method. Bug was apparent in - such scenario: - - Let P1 be some random frustum polytope - Let P2 be the polytope that was created from P1 bounding box (P2 - contains P1 entirely) - - Then ignoring precision errors: P1.cut( P2 ) == P2.cut( P1 ) == - P1. But this condition was not always met. Cut failed when some - of the polytope reference points happened to lie exactly on some - intersecting planes in both P1 & P2 (plane distance was = 0). - - I only use CustomPolytope for my shadowing stuff so I did not - test how this affects rest of OverlayNode.cpp. - - ----2---- - - Also attached is a minor precision improvement for osg::Plane - intersect method (double version). - - ----3---- - - I have also one observation regarding osg::Plane - There are two - intersect vertices methods (float and double flavour): - - inline int intersect(const std::vector& vertices) const - inline int intersect(const std::vector& vertices) const - - I guess osg::Plane won't compile when someone changes default - vec3 typedef to vec3d. Shouldn't the first method be changed to - use vec3f explicitly ? Ie: - - inline int intersect(const std::vector& vertices) const" - -2008-02-25 13:25 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Glenn Waldron, "As - you may recall, we discussed adding ReaderWriter::readObject() - overrides to all the image plugins in order to facilitate future - archive support. Attached are the necessary modifications. I - tested JPEG, but not all the others... the code is identical - though. Note that the DDS plugin already contained the - readObject() implementations." - -2008-02-25 13:17 robert - - * include/osg/CoordinateSystemNode: From Wojciech Lawandowski, - "Fixed EllipsoidModel::computeLocalUpVector to use Vec3d instead - of Vec3 for - normal computation. Its really small issue, maybe not even worth - submitting - ;-). But one never knows when inadequate precision hits him. - " - -2008-02-25 13:16 robert - - * src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/Font3D.cpp: Updated wrappers - -2008-02-25 13:07 robert - - * examples/osgtext/osgtext.cpp: Reverted back to previous version - of osgtext - -2008-02-25 12:54 robert - - * examples/osgtext/osgtext.cpp, include/osgText/Font, - include/osgText/Font3D, src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, src/osgText/Font.cpp, - src/osgText/Font3D.cpp, src/osgText/Text3D.cpp: Refactored the - mutex usage in osgText and freetype plugin to prevent - multi-thread crash - -2008-02-22 18:38 robert - - * include/osg/GLExtensions, - include/osgViewer/api/X11/PixelBufferX11, - src/osg/GLExtensions.cpp, src/osgViewer/PixelBufferX11.cpp: From - Mathias Froehlich, "I have extended the X11 pbuffer code to use - either the complete set of glx 1.3 - pbuffer functions or exactly ask for the extensions we need to - call the - apropriate glx extension functions for and around pbuffers - extensions. - The glx 1.3 version of this functios are prefered. If this is not - pressent we - are looking for the glx extensions and check for them. - Prevously we just used some mix of the glx 1.3 functions or the - extension - functions without making sure that this extension is present. - " - -2008-02-22 11:52 robert - - * examples/osgterrain/osgterrain.cpp, include/osg/TransferFunction, - include/osgTerrain/GeometryTechnique, include/osgTerrain/Layer, - include/osgTerrain/Terrain, src/osg/TransferFunction.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h, - src/osgPlugins/ive/Layer.cpp, src/osgPlugins/ive/Terrain.cpp, - src/osgPlugins/osgTerrain/Layer.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp, - src/osgTerrain/Terrain.cpp, src/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/osg/TransferFunction.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgTerrain/Terrain.cpp: Refactored osgTerrain so - that the interface for setting up layer is more straight forward, - and added support into GeometryTechnique for handling multiple - layers - -2008-02-20 12:34 robert - - * include/osg/TransferFunction, include/osgTerrain/Layer, - src/osg/TransferFunction.cpp, src/osgPlugins/ive/IveVersion.h, - src/osgPlugins/ive/Layer.cpp, - src/osgPlugins/osgTerrain/Layer.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp, - src/osgWrappers/osg/TransferFunction.cpp, - src/osgWrappers/osgTerrain/Layer.cpp: Added TextureUnit entry to - osg::TransferFunction and osgTerrain::Layer - -2008-02-19 16:02 robert - - * src/osgParticle/ParticleSystem.cpp: Removed erroneous ; - -2008-02-19 12:26 robert - - * src/osg/GraphicsContext.cpp: Changed the updating of the - contextID so that the - DisplaySetting::MaxNumberOfGrapicsContexts() - is updated on each new graphics context creation, in keeping with - how osgProducer used to do things. - -2008-02-19 11:30 robert - - * src/osgParticle/ParticleSystem.cpp: Refactor the rendering code - to not use iterators, instead using indices as means of avoiding - using < and += on STL iterators that have shown to be problematic - under Windows - -2008-02-19 09:49 robert - - * examples/osgtext/osgtext.cpp: From Philip Lowman, workaround for - gcc 3.2.3 bug - -2008-02-18 15:30 robert - - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, - "Attached you'll find some enhancements by Adrian Egli and me for - the - carbon-implementation of GraphicsWindow. Now you can use an - AGLDrawable - in conjunction with osgViewer/osgCompositeViewer." - - Changes from Robert Osfield, changed std::cout to - osg::notify(osg::INFO) - -2008-02-18 15:26 robert - - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake, - src/osgWrappers/CMakeLists.txt: From Rene Molenaar, "Using - commandline build system nmake on windows does not work. - - This is caused by the OSG_MSVC_VERSIONED_DLL hack. - there are hard-coded paths to place the dll's in the bin /dir - that normally would go - in the lib/config (release/debug) dirs. Nmake has different - locations for the files (no config dir). - - fix: change the macro's in OsgMacroUtils.cmake for the IF(NOT - MSVC_IDE) situation. - Libs go in lib/, and DLLs and executables go in bin/ - To accopmplish this for MSVC_IDE the targets get a "../../bin" - prefix, - for nmake this should be "../bin" (because there are no config - folders). - - This fix mimics the behaviour of the MSCV_IDE (visual studio) - build system when building with nmake. - - Note: - A change in the main CMakeLists.txt creates the needed plugin - directory in the binary dir. - - see included files for the changes: - r7885fix-v2/CMakeModules/OsgMacroUtils.cmake - r7885fix-v2/osgWrappers/CMakeLists.txt - r7885fix-v2/CMakeLists.txt - - - The behaviour of visual studio projects (and other build systems) - remain unchanged. - Tested building and installing with nmake and visual studio 8 - debug and release. - " - -2008-02-18 15:17 robert - - * src/osgPlugins/obj/obj.cpp: From Bob Kuehne, "Subject: obj - material parse fix - this fix strips whitespace off externally referenced material - files. - fixes a bug where the obj listed something like: - - mtllib FR_PARIS_ESPACE_UNESCO_S.MTL - - and then that caused failures in the load later: - - FindFileInPath() : trying /Users/rpk/Downloads/ - FR_PARIS_ESPACE_UNESCO_S.MTL ... - - this fix simply strips whitespace around that filename before - passing - it on to the remainder of the loader." - - Changes from Robert Osfield, change std::cout to - osg::notify(osg::INFO) - -2008-02-18 15:10 robert - - * src/osgPlugins/freetype/FreeTypeLibrary.cpp: From Thibault - Genessay, "On Dec 16 you introduced a fix to remove internal use - of ref_ptr<>'s. - It contained a bug that would cause freed memory to be written - again. - Specifically, in FreeTypeLibrary::~FreeTypeLibrary(), calling - font->setImplementation(0); deletes the content pointed to by the - fontImplementation pointer, while the line the immediately - follows - tries to access it. - - My fix is to make the second instruction part of an else clause - rather - than always executed. This way, the fontImplementation->_facade = - 0 - instruction is only executed when the font implementation is not - set - to 0 before (although I have no idea what it is here for and if - this - code path is ever followed, since I don't know the plugin's - internals - very well). - - Attached is the modified FreeTypeLibrary.cpp file." - -2008-02-18 15:02 robert - - * src/osgWrappers/osg/LineSegment.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/Projector.cpp: Updated wrappers - -2008-02-18 14:51 robert - - * include/osg/LineSegment, include/osgManipulator/Command, - include/osgManipulator/Projector, src/osg/LineSegment.cpp, - src/osgManipulator/Command.cpp, src/osgManipulator/Projector.cpp: - Introduced typedef vec_type and value_type into LineSemgment - class to allow easier - switching between double and float versions. - -2008-02-18 14:14 robert - - * src/osgPlugins/dae/daeWMaterials.cpp: From Bob Kuehne, build fix - for OSX/gcc 4.0.1 - -2008-02-18 13:52 robert - - * src/osgPlugins/OpenFlight/ControlRecords.cpp: From Brede - Johansen, "Here's a fix to the changes regarding the new - dispose() function. The - last primary node inside a push-pop level would not get the - dispose() - call. This would result in information from some ancillary - records, - like the matrix (transform), being lost. - - Changes are made to the latest version in the repository. - - Thanks to Terry for the help to find and fix the bug and test the - changes." - -2008-02-18 13:47 robert - - * src/osgViewer/Renderer.cpp: From Bryan Thrall, "moved the prints - to a higher notify level - (DEBUG_FP) so they are only printed at the most verbose level." - -2008-02-18 13:44 robert - * src/osg/OcclusionQueryNode.cpp: From Paul Martz, "Attached is a - modification to OcclusionQueryNode. The copy constructor was - failing to initialize all member variables. This change resolves - the issue. Thanks to Doug McCorkle for testing and finding the - bug." +Fri, 6 May 2011 09:19:27 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issues by using ref_ptr<> for object.ID 11390: Resource leak in object (CTOR_DTOR_LEAK) +Allocating memory by calling "new osg::Vec3Array". +Assigning: "this->vertices" = "new osg::Vec3Array". +The constructor allocates field "vertices" of "struct prims" but the destructor and whatever functions it calls do not free it. -2008-02-15 14:09 robert +CID 11391: Resource leak in object (CTOR_DTOR_LEAK) +Allocating memory by calling "new osg::Vec3Array". +Assigning: "this->normals" = "new osg::Vec3Array". +The constructor allocates field "normals" of "struct prims" but the destructor and whatever functions it calls do not free it. - * include/osg/PrimitiveSet, src/osgWrappers/osg/PrimitiveSet.cpp: - Changed constructors to take const pointers +CID 11392: Resource leak in object (CTOR_DTOR_LEAK) +Allocating memory by calling "new osg::Vec3Array". +Assigning: "this->txc" = "new osg::Vec3Array". +The constructor allocates field "txc" of "struct prims" but the destructor and whatever functions it calls do not free it. -2008-01-29 22:14 robert +CID 11393: Resource leak in object (CTOR_DTOR_LEAK) +Allocating memory by calling "new osg::Vec3Array". +Assigning: "this->txcoords" = "new osg::Vec3Array". +The constructor allocates field "txcoords" of "struct prims" but the destructor and whatever functions it calls do not free it. - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Update - AUTHORS list for release +CID 11747: Uninitialized pointer field (UNINIT_CTOR) +Non-static class member gset is not initialized in this constructor nor in any functions that it calls. -2008-01-29 21:34 robert - * ChangeLog: Updated logs for release -2008-01-29 20:45 robert - * src/osgWrappers/osgViewer/View.cpp: Updated wrappers +Fri, 6 May 2011 09:00:46 +0000 +Checked in by : Robert OSFIELD +Fixed build problem -2008-01-29 12:24 robert +Thu, 5 May 2011 12:40:03 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11845: Structurally dead code (UNREACHABLE) +This code cannot be reached: ".basic_string("");". - * src/osg/OcclusionQueryNode.cpp: Reorganized the static vector - used for buffering extensions to prevent an crash on exit. -2008-01-29 10:28 robert - * CMakeLists.txt, README.txt, include/osg/Version: Updated versions - for OSG-2.3.4 release -2008-01-28 20:54 robert +Thu, 5 May 2011 12:39:35 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11855: Use after free (USE_AFTER_FREE) +"operator delete[](void *)" frees "buffer". - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Mike Weiblen, "1) - best practices suggest that values passed by-reference should be - initialized. - 2) explanatory comments are handy when available as notify() - messages." -2008-01-28 20:52 robert - * examples/osglogo/osglogo.cpp: From Mike Weiblen, "an aesthetic - enhancement for displaying important version information." -2008-01-28 20:31 robert +Thu, 5 May 2011 12:38:48 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue. This fix addresses a memory leak.CID 11847: Unused pointer value (UNUSED_VALUE) +Pointer "node" returned by "lib3ds_node_new(LIB3DS_NODE_CAMERA)" is never used. - * src/osgPlugins/cfg/Camera.cpp: From Roger James, "A small fix for - compiling with OSG_USE_FLOAT_MATRIX" -2008-01-28 20:27 robert - * applications/osgarchive/osgarchive.cpp: From Rainer Oder, removed - duplicate conditional -2008-01-28 19:54 robert +Thu, 5 May 2011 12:37:00 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11844: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _defaultValue is not initialized in this constructor nor in any functions that it calls. +Index: ../include/osgDB/Serializer - * CMakeLists.txt: Fixed BUILD_REF_DOCS_SEARCHENGINE conditional -2008-01-28 19:42 robert - * src/osgViewer/View.cpp: Added explict casts to double to prevent - VS compiler error -2008-01-28 18:29 robert +Thu, 5 May 2011 11:31:12 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * CMakeLists.txt, doc/Doxyfiles/doxyfile.cmake: From - Jean-Christophe Lombardo and Robert Osfield, added - BUILD_REF_DOCS_SEARCHENGINE and BUILD_REF_DOCS_TAGFILE options - for being - doxygen docs. +Thu, 5 May 2011 11:27:34 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11864: Wrapper object use after free (WRAPPER_ESCAPE) +Assigning: "szFilename" = "path.c_str()", which extracts wrapped state from local "path". -2008-01-28 17:00 robert - * src/osgPlugins/osga/ReaderWriterOSGA.cpp: From Glen Waldon, "This - change patches ReaderWriterOSGA.cpp so that it passes along the - ReaderWriter::Options to files loaded from inside the archive. - Previously it was discarding them. - - example: - osgviewer -O noLoadExternalReferenceFiles archive.osga" -2008-01-28 16:38 robert - * src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, added - support for double click event for OSX. +Thu, 5 May 2011 10:31:34 +0000 +Checked in by : Robert OSFIELD +Fixed 4 Coverity reported issuesCID 11851: Unused pointer value (UNUSED_VALUE) +Pointer "gfd" returned by "gr->getField(26)" is never used. -2008-01-28 16:13 robert +CID 11850: Unused pointer value (UNUSED_VALUE) +Pointer "gfd" returned by "gr->getField(80)" is never used. - * src/osgPlugins/ogr/ReaderWriterOGR.cpp: From Cedric Pinson, - "default white behaviour : osgviewerd -e ogr yourFile - randomize color by feature: osgviewerd -e ogr -O - UseRandomColorByFeature - yourFile" +CID 11849: Unused pointer value (UNUSED_VALUE) +Pointer "gfd" returned by "gr->getField(3)" is never used. -2008-01-28 15:41 robert +CID 11848: Unused pointer value (UNUSED_VALUE) +Pointer "gfd" returned by "grec->getField(3)" is never used. - * include/osgViewer/View, src/osgPlugins/osgViewer/View.cpp, - src/osgViewer/View.cpp: Added projectorMatrix parameter support - to *SphericalDisplay setup functions and .view, this allows one - to flip, rotate, or turn up side the position of the projector. - Note, projector at base of display is the default. -2008-01-28 15:36 robert - * src/osgViewer/ViewerBase.cpp: Added include RenderLeaf to make - sure #define's are defined correctly -2008-01-26 20:03 shuber +Thu, 5 May 2011 10:28:34 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updated XCode project +Wed, 4 May 2011 16:36:35 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, build fix for gcc 4.6 -2008-01-24 10:04 robert +Wed, 4 May 2011 16:01:21 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find a small enhancement for GraphicsWindowCocoa to implement the recently introduced setSyncToVBlank-method.Additionally I added a ToggleSyncToVBlank-eventhandler to osgViewer. I +used it to test the code, perhaps you'll find it useful and include it +in the distribution." - * src/osg/DeleteHandler.cpp: Removed duplicate declaration of - DeleteHandlerPointer -2008-01-22 11:13 robert - * AUTHORS.txt, ChangeLog, README.txt, - applications/osgversion/osgversion.cpp: Updated ChangeLog, - Authors and readme for 2.3.3 release +Wed, 4 May 2011 09:53:11 +0000 +Checked in by : Robert OSFIELD +Removed unncessary references to FREETYPE -2008-01-22 10:28 robert +Wed, 4 May 2011 09:48:10 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, fix for build with cmake 2.6.x - * src/osgTerrain/GeometryTechnique.cpp: Added missing checks for - null pointers +Tue, 3 May 2011 12:43:00 +0000 +Checked in by : Robert OSFIELD +Added OSGVIEWER_EXPORT -2008-01-21 18:06 robert +Tue, 3 May 2011 10:14:34 +0000 +Checked in by : Robert OSFIELD +Added missing break; - * PlatformSpecifics/Windows/VisualStudio_Syntax_Highlighting.txt: - From Jean-Sebastien Guay, notes on how to enable syntax - highlighting in VS. +Tue, 3 May 2011 09:58:31 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, "I've updated the FBX plugin to use the latest FBX SDK (2012.1). Please apply the attached .cmake which finds the correct SDK headers & libraries." -2008-01-21 17:04 robert +Tue, 3 May 2011 09:11:04 +0000 +Checked in by : Michael PLATINGS +Updated to use FBX SDK 2012.1 - * CMakeModules/FindInventor.cmake: Fixed debug build of Inventor - plugin +Fri, 29 Apr 2011 16:50:45 +0000 +Checked in by : Robert OSFIELD +Improved the handling of different combinations of slashes and dirNames. -2008-01-21 14:42 robert +Fri, 29 Apr 2011 16:34:26 +0000 +Checked in by : Robert OSFIELD +Added following methods to osgDB::Archive in support of work by Fradley Anderegg on .zip archive support: /** Get the file name which represents the archived file.*/ + virtual std::string getArchiveFileName() const = 0; - * src/osgPlugins/ac/ac3d.cpp: From Drederic Bouvier, "I noticed the - AC3D loader resets database path given as Options, - preventing users to put textures in another directory. This patch - adds - the model path to the path list instead of replacing it." + /** return type of file. */ + virtual FileType getFileType(const std::string& filename) const = 0; -2008-01-21 14:41 robert + /** return the contents of a directory. + * returns an empty array on any error.*/ + virtual DirectoryContents getDirectoryContents(const std::string& dirName) const = 0; - * CMakeLists.txt: Introduced BUILD_REFERENCE_DOCS option to make it - a bit clearer how to enable and build the DoxygenDocs +Added implementations of these new methods into src/osgPlugins/osga/OSGA_Archive.h src/osgPlugins/osga/OSGA_Archive.cpp -2008-01-21 12:01 robert - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/ogr, - src/osgPlugins/ogr/CMakeLists.txt, - src/osgPlugins/ogr/ReaderWriterOGR.cpp: From Cedric Pinson, "you - can find as attachement a readerwriter for ogr files (.tab, .gml, - .shp ...) ogr is a part of gdal so i added the build of ogr - plugin if - gdal is found. - - to test it - osgviewerd -e ogr file.tab - or - osgviewerd -e ogr file.gml - or - osgviewerd -e ogr file.shp - " -2008-01-21 12:00 robert - * src/osg/Geometry.cpp: Fixed Geometry::removePrimitiveSet method - so that it no longer emits a warning when - removing 0 elements form an empty primtive set list. +Fri, 29 Apr 2011 14:31:45 +0000 +Checked in by : Robert OSFIELD +Refactored the libtiffOStreamSeekProc function so that it extendeds the stream when the requested file position is beyond the current end of the stream. This fix addresses a bug that occurred when writting to a streamstream. -2008-01-21 11:47 robert +Fri, 29 Apr 2011 09:16:47 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog - * src/osg/CMakeLists.txt, src/osg/GL2Extensions.cpp, - src/osg/Program.cpp: From Mike Weiblen, restructured - GL2Extensions so that they now live in their own - GL2Extensions.cpp file rather than in Program.cpp +Thu, 28 Apr 2011 16:33:14 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11447: Unchecked dynamic_cast (FORWARD_NULL) +Dynamic cast to pointer "dynamic_cast (nc->clone(this))" can return null. +Assigning null: "first" = "dynamic_cast (nc->clone(this))". -2008-01-21 11:40 robert +The clone() implementation is written using macro's so that it always returns the type of Object +being cloned so it's normally safe to assume that a dynamic_cast<> will always return a valid pointer as long +as the new T that involves creates a valid object. However, if the class being cloned doesn't correctly +implement the clone() method then their potential for the dynamic_cast to fail and will return a NULL and will +result in a memory leak of the object of paraent class that the clone would have defaulted to. - * CMakeLists.txt, include/osg/Version: Updated version number for - 2.3.3 release +I've tightened up the CopyOp.cpp code to check the return type and added better handling of the clone in the +osg::clone() methods so thay don't have any potential mememory leaks and report warnings to OSG_WARN when +problems are encountered. It may be more apporpriate to throw an exception so will need to ponder this +issue further. -2008-01-21 11:39 robert - * src/osgWrappers/osg/Drawable.cpp: Updated wrappers -2008-01-21 11:37 robert - * src/osgDB/DatabasePager.cpp: Fixed debugged code path and set the - minimum number of display lists to retain in cache to the same - amount as the number of textures +Thu, 28 Apr 2011 10:23:50 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11403: Logically dead code (DEADCODE) +After this line, the value of "needspace" is equal to 0. +Assigning: "needspace" = "false". -2008-01-21 11:36 robert +Technically the report is correct, but the code is just debugging code that was there just in case +the code needed to be reviewed. This code is long since through it's debugging stage so the code +is no longer really worth keeping so I've removed it for cleanness sake. - * include/osg/Drawable, src/osg/BufferObject.cpp, - src/osg/Drawable.cpp, src/osg/GLObjects.cpp: Removed redundental - vertex buffer object flush methods -2008-01-21 11:27 robert - * PlatformSpecifics, PlatformSpecifics/Windows, - PlatformSpecifics/Windows/collect_mangled_names.bat, - PlatformSpecifics/Windows/collect_mangled_names.js, - PlatformSpecifics/Windows/icons, - PlatformSpecifics/Windows/osgShell.bat, VisualStudio: Moved - useful elements of the old VisualStudio directory into a new - PlatformSpecifics/Windows directory -2008-01-19 18:26 robert +Thu, 28 Apr 2011 10:23:28 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.ID 11667: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _useVertexAttribAlias is not initialized in this constructor nor in any functions that it calls. - * src/osg/Referenced.cpp: Added thread safe debugging checking of - allocation/deallocations +Member variable should have been initialized but this varaible will have always been initialized in later code +before it was used anyway so wouldn't have resulted in a runtime bug. -2008-01-19 18:25 robert - * src/osgTerrain/GeometryTechnique.cpp: Added use of ref_ptr<> - throughout geometry setup code to prevent memory leaks -2008-01-19 13:41 robert - * src/osgDB/DatabasePager.cpp: Added debugging messages to help - monitor expiry of inactive children. Debug - messages current #if 0'd out, but added now for future tests when - required. +Thu, 28 Apr 2011 10:22:20 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11414: Logically dead code (DEADCODE) +After this line, the value of "vboMemory" is equal to 0. +Assigning: "vboMemory" = "NULL". -2008-01-19 13:31 robert +Another case of debugging code paths being picked out. I have chosen to just delete these paths as the code +looks to be working fine and less code is better than more code when it comes to maintenance. - * src/osgTerrain/Terrain.cpp: Disabled the default enabling of - update traversal on osgTerrain::Terrain as this was preventing - PagedLOD subgraphs from expiring inactive subgraphs -2008-01-18 21:29 robert - * src/osgWrappers/osg/OperationThread.cpp: Updated wrappers -2008-01-18 21:08 robert +Wed, 27 Apr 2011 16:37:25 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue. Issue is benign as all the member variables are initialized in after construction, but I've moved this initialization into the constructor to make the code more managable.CID 11686: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member cnt is not initialized in this constructor nor in any functions that it calls. +Non-static class member maxcnt is not initialized in this constructor nor in any functions that it calls. +Non-static class member phase is not initialized in this constructor nor in any functions that it calls. - * src/osg/ClipNode.cpp: Removed erroneous const in method parameter -2008-01-18 21:07 robert - * examples/osgdepthpeeling/DePee.cpp, - examples/osgdepthpeeling/Utility.cpp, - examples/osghangglide/GliderManipulator.cpp: From Andy Skinner, - build fixes for Solaris. -2008-01-18 21:01 robert +Wed, 27 Apr 2011 16:35:34 +0000 +Checked in by : Robert OSFIELD +Fixed 2 Coverity reported issues. Both issues are benign, but I've addressed then as with the changes the code is clean and more mantainable.CID 11676: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member cancelMode is not initialized in this constructor nor in any functions that it calls. +Non-static class member cpunum is not initialized in this constructor nor in any functions that it calls. +Non-static class member detached is not initialized in this constructor nor in any functions that it calls. +Non-static class member isRunning is not initialized in this constructor nor in any functions that it calls. +Non-static class member stackSize is not initialized in this constructor nor in any functions that it calls. +Non-static class member threadPolicy is not initialized in this constructor nor in any functions that it calls. +Non-static class member threadPriority is not initialized in this constructor nor in any functions that it calls. +Non-static class member uniqueId is not initialized in this constructor nor in any functions that it calls. - * include/osg/ClipPlane: Moved the setting of _clipPlaneNum from - the {} body to the intializer list to - avoid reading from an unitialized variable. +CID 11564: Unsigned compared against 0 (NO_EFFECT) +This less-than-zero comparison of an unsigned value is never true. "cpunum < 0U". -2008-01-18 20:55 robert - * src/osgShadow/ShadowMap.cpp: From Paul Martz, Hi Robert -- "as - you and J-S and I have been discussing on osg-users, this - submission changes the clamp mode for the fake white texture - applied to non-textured geometry. CLAMP_TO_EDGE will keep the - geometry a consistent color across the entire texture coordinate - range." -2008-01-18 16:36 robert - * src/osgTerrain/GeometryTechnique.cpp: Added support for rendering - skirts into osgTerrain::GeometryTechinque -2008-01-18 09:17 robert +Wed, 27 Apr 2011 16:06:32 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11677: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _minimumNumberAccumAlphaBits is not initialized in this constructor nor in any functions that it calls. +Non-static class member _minimumNumberAccumBlueBits is not initialized in this constructor nor in any functions that it calls. +Non-static class member _minimumNumberAccumGreenBits is not initialized in this constructor nor in any functions that it calls. +Non-static class member _minimumNumberAccumRedBits is not initialized in this constructor nor in any functions that it calls. - * include/osg/OperationThread: Added getNumOperationsInQueue() - method -2008-01-17 22:26 robert - * src/osgTerrain/GeometryTechnique.cpp: Commented out debug message +Wed, 27 Apr 2011 16:06:10 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11690: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _frameLastUsed is not initialized in this constructor nor in any functions that it calls. -2008-01-17 22:25 robert - * src/osgTerrain/GeometryTechnique.cpp: Added computation of skirt - height for osgTerrain::Terrain height fields. -2008-01-17 17:10 robert +Wed, 27 Apr 2011 16:05:37 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11689: Uninitialized pointer field (UNINIT_CTOR) +Non-static class member _glBlendColor is not initialized in this constructor nor in any functions that it calls. - * src/osgTerrain/Terrain.cpp: Added call to ClusterCullingCallback - to determine if the Terrain node is culled - by cluster culling. -2008-01-17 16:41 robert - * src/osgPlugins/osgTerrain/Terrain.cpp: Added Node to Terrain - serialization -2008-01-17 15:37 robert +Wed, 27 Apr 2011 16:05:13 +0000 +Checked in by : Robert OSFIELD +Fixed 2 Coverity reported issues.CID 11681: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _previousHeight is not initialized in this constructor nor in any functions that it calls. +Non-static class member _previousWidth is not initialized in this constructor nor in any functions that it calls. - * include/osgTerrain/Layer, src/osgTerrain/Layer.cpp, - src/osgTerrain/Terrain.cpp, src/osgWrappers/osgTerrain/Layer.cpp: - Fixed the computation of terrain bounding volume so that it - properly accounts for - elevation layers +CID 11688: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _previousHeight is not initialized in this constructor nor in any functions that it calls. +Non-static class member _previousWidth is not initialized in this constructor nor in any functions that it calls. -2008-01-16 15:05 robert - * src/osgTerrain/GeometryTechnique.cpp: Changed the Texture clamp - mode to CLAMP_TO_EDGE -2008-01-14 14:53 robert - * src/osgWrappers/osgTerrain/Layer.cpp: Updated wrappers +Wed, 27 Apr 2011 16:04:37 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue, in this case it's a unused member variable so could just be deleted.CID 11687: Uninitialized pointer field (UNINIT_CTOR) +Non-static class member _glBeginEndAdapter is not initialized in this constructor nor in any functions that it calls. -2008-01-14 14:53 robert - * include/osgTerrain/Layer, src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/DataSetLayer.h, - src/osgPlugins/osgTerrain/CompositeLayer.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp, src/osgTerrain/Layer.cpp: - Refactor osgTerrain::ProxyLayer so that it is now a pure Proxy, - defering implementations - to an Implementation rather than a subclass of ProxyLayer. - Updating the osgTerrain and GDAL plugins - to comply with this refactor. -2008-01-14 13:14 robert - * CMakeModules/FindGDAL.cmake: Added back in checks for various - verions of gdal +Wed, 27 Apr 2011 16:03:37 +0000 +Checked in by : Robert OSFIELD +Fixed 3 Coverity reported issues. CID 11622 is a bit of false positive as for valid settings no leak would happen.CID 11810: Uninitialized scalar field (UNINIT_CTOR) +Non-static class member _setMaxFarDistance is not initialized in this constructor nor in any functions that it calls. -2008-01-14 12:14 robert +CID 11811: Uninitialized pointer field (UNINIT_CTOR) +Non-static class member _displayTexturesGroupingNode is not initialized in this constructor nor in any functions that it calls. - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS file and osgversion for 2.3.2 release +CID 11622: Resource leak (RESOURCE_LEAK) +Calling allocation function "operator new(unsigned long long)". +Variable "" is not freed or pointed-to in function "osg::StateSet::StateSet()". [show details] +Assigning: "sharedStateSet" = storage returned from "new osg::StateSet". + 282 osg::StateSet* sharedStateSet = new osg::StateSet; +Variable "sharedStateSet" is not freed or pointed-to in function "osg::Object::setDataVariance(osg::Object::DataVariance)". [show details] -2008-01-14 11:44 robert - * src/osg/Program.cpp: Added geometry shader extension supported - check to geometry shader parameter calls -2008-01-14 11:30 robert - * src/osg/State.cpp: From Colin McDonald, "Multi-texturing fails - with recent osg on older graphics cards, due to - use of parameter GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS which is - only part - of the standard from 2.0 onwards. I've updated src/osg/State.cpp, - so - that it attempts to be more rigorous regarding OpenGL version and - extension checking." +Wed, 27 Apr 2011 16:02:10 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11588: Resource leak (RESOURCE_LEAK) +Calling allocation function "operator new[](unsigned long long)". +Assigning: "dataPtr" = storage returned from "new unsigned char[newTotalSize]". -2008-01-14 11:22 robert - * CMakeLists.txt, ChangeLog, README.txt, include/osg/Version: - Updated ChangeLog, date and version number for 2.6.2 release -2008-01-14 11:07 robert - * src/osgWrappers/osg/OcclusionQueryNode.cpp: Updated wrappers +Wed, 27 Apr 2011 16:01:43 +0000 +Checked in by : Robert OSFIELD +Fixed 2 Coverity reported issues.Following are both false positives as the the scope they are in will always assign the object to a ref counted +structure. I've modified the code to use ref_ptr<> to just make it clear that it's underscope, although +this is not strictly neccessary as the code is OK, I introduced this for clarity and robustness in +presence of exceptions. -2008-01-14 10:14 robert +CID 11586: Resource leak (RESOURCE_LEAK) +Calling allocation function "operator new(unsigned long long)". +Variable "" is not freed or pointed-to in function "osg::VertexBufferObject::VertexBufferObject()". [show details] +Assigning: "vbo" = storage returned from "new osg::VertexBufferObject". - * src/osg/Group.cpp: From Daniel Stien, "When removing a child from - a osg::Group, childRemoved is called after the - node has already been erased from the node list, causing - childRemoved to be - performed on the consecutive node. - - Lines 180 and 182 are swapped in the attached Group.cpp. - " -2008-01-11 12:16 robert +CID 11587: Resource leak (RESOURCE_LEAK) +Calling allocation function "operator new(unsigned long long)". +Variable "" is not freed or pointed-to in function "osg::ElementBufferObject::ElementBufferObject()". [show details] +Assigning: "ebo" = storage returned from "new osg::ElementBufferObject". - * src/osgGA/TerrainManipulator.cpp: From Adrian Egli, made the - getHandled() functionality consistent with the rest of the - osgGA::MatrixManipulators -2008-01-10 11:08 robert - * include/osgUtil/ReversePrimitiveFunctor: From Jean-Sebastien - Guay, added OSGUTIL_EXPORT for Windows build -2008-01-10 11:02 robert +Wed, 27 Apr 2011 16:00:32 +0000 +Checked in by : Robert OSFIELD +Fixed Coverity reported issue.CID 11636: Allocation size mismatch (SIZECHECK) +"my_alloc(sizeof (struct PlyProperty) /*36*/ * elem->nprops, 1292, "..\\..\\..\\..\\src\\osgPlugins\\ply\\plyfile.cpp")" allocates memory. [show details] +Allocating a multiple of 36 bytes to pointer "other->props", which needs 8 bytes. - * include/osg/OcclusionQueryNode, src/osg/GLObjects.cpp, - src/osg/OcclusionQueryNode.cpp: From Paul Martz, "his pretty much - wraps up the OcclusionQueryNode work. I might make some - additional modifications if testing reveals any issues, otherwise - it's ready for 2.4." -2008-01-09 21:17 robert - * include/osg/CoordinateSystemNode, - src/osgPlugins/osgTerrain/CompositeLayer.cpp, - src/osgTerrain/GeometryTechnique.cpp: Indentation/bracket fixes - and change of default size -2008-01-09 21:00 robert +Tue, 26 Apr 2011 19:31:04 +0000 +Checked in by : Robert OSFIELD +Fixed 1 Coverity Low Impact issue "Unused pointer value (UNUSED_VALUE) Pointer "indices" returned by "this->_vertexAttribList[0ULL].indices.get()" is never used."Report highlighted the fact that later code wasn't using the indices variable when it should have been, so +potentially a higher impact that the severity suggested by Coverity. - * src/osgPlugins/ive/ImageLayer.cpp: Simplified the image - reading/writing -2008-01-09 16:56 robert - * src/osgPlugins/ive/HeightFieldLayer.cpp, - src/osgPlugins/ive/HeightFieldLayer.h: Adding missing files -2008-01-09 16:35 robert +Tue, 26 Apr 2011 19:29:22 +0000 +Checked in by : Robert OSFIELD +Fixed 3 Coverity Low Impact performance issues relating to "Big parameter passed by value". - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/CompositeLayer.cpp, - src/osgPlugins/ive/CompositeLayer.h, - src/osgPlugins/ive/CoordinateSystemNode.cpp, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/ImageLayer.cpp, - src/osgPlugins/ive/ImageLayer.h, src/osgPlugins/ive/Layer.cpp, - src/osgPlugins/ive/Layer.h, src/osgPlugins/ive/Locator.cpp, - src/osgPlugins/ive/Locator.h, src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/ive/Terrain.cpp, src/osgPlugins/ive/Terrain.h: - Added support for reading and writing osgTerrain objects +Tue, 26 Apr 2011 15:24:21 +0000 +Checked in by : Robert OSFIELD +Updated version after 2.9.13 dev release -2008-01-09 14:22 robert +Tue, 26 Apr 2011 14:55:19 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS for 2.9.13 dev release - * src/osgViewer/CompositeViewer.cpp: Added setting of - UpdateVisitor's FrameStamp and TraversalNumber in - updateTraversal() +Tue, 26 Apr 2011 12:07:37 +0000 +Checked in by : Robert OSFIELD +From Mattias Helsing, "Fixes two of the osgWidget examples that were broken due to changed virtual function prototypes in osgWidget/EventInterface" -2008-01-09 11:42 robert +Tue, 26 Apr 2011 12:05:57 +0000 +Checked in by : Robert OSFIELD +From Craig Bosma,"Please find attached a fix for shared contexts on OS X, with the Cocoa backend. The NSOpenGLContext* _context member of GraphicsHandleCocoa was never set on successfully creation, so even if the dynamic_cast to GraphicsHandleCocoa succeeds, we get a bogus (NULL) pointer on retrieving the actual NSOpenGLContext* (line 1013).This should fix the problem, as well as cause GraphicsWindowCocoa to report the correct name "GraphicsWindowCarbon" -> "GraphicsWindowCocoa". +" - * include/osgDB/DatabasePager: From Mike Weiblen, build fix for - VS8. -2008-01-08 23:20 ewing - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - Updates to resync Xcode project with current state of repository. - - Added several missing plugins (e.g. osgdb_osgShadow, - osgdb_osgViewer, osgdb_Terrain). - - Added dependency information hoping that the Xcode 3 parallel - target building will work now. +Tue, 26 Apr 2011 11:51:21 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I believe their is small error in how OutputStream handles the WriteImageHint. In the "writeImage" method, it converts the WriteImageHint to an internal "decision" flag. During this conversion, it seems to be swapping the behavior for WRITE_EXTERNAL_FILE and WRITE_USE_EXTERNAL. I've attached what I believe to be the correct conversion." -2008-01-08 18:13 robert +Thu, 21 Apr 2011 17:16:27 +0000 +Checked in by : Robert OSFIELD +From Mattias Helsing, "Fixes installation of the osgViewer headers that got broken with rev 12208 and 12231.The windowing system specific headers under +include/osgViewer/api/ are again installed under +include/osgViewer/api/ - * CMakeModules/FindFreeType.cmake, include/osgDB/DatabasePager, - src/osg/Geometry.cpp, src/osg/GraphicsContext.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgUtil/Tessellator.cpp: From Colin McDonald, build fixes for - Solaris. +Works in recent ubuntu with cmake-2.8.4 and msvc2010 with cmake-2.8.2" -2008-01-08 17:18 robert - * include/osgUtil/EdgeCollector, - src/osgPlugins/freetype/FreeTypeFont.cpp: From Jean-Sebastien - Guay, Warning fixes -2008-01-08 16:09 robert +Thu, 21 Apr 2011 17:04:50 +0000 +Checked in by : Robert OSFIELD +From Johannes Baeuerele, "I have extended the pvr reader plugin to support etc1 compression(GL_ETC1_RGB8_OES). The changes attached to this submission are based on today's trunk.The pvr format which can be used as a wrapper for different compressed and uncompressed formats supports this compression algorithm. The original pvr compression uses the pvrtc format. The handling of pvrtc is already implemented in the pvr plugin. PVR provides wrapper functionality for some formats, e.g. etc or even dxt/dds. - * src/osgPlugins/osgTerrain/HeightFieldLayer.cpp, - src/osgPlugins/osgTerrain/ImageLayer.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp: Added support for reading - and writing the Terrain's Locator +Our target system (gles2) is able to use the etc compression format. With minor changes in the submitted files, there is no need to write a separate plugin. However the original pvr texture compression formats are not supported on our target, which is the reason for this extension. -2008-01-08 15:20 robert +The changes mainly consist in the definition on new enum values in the classes and headers of ReaderWriterPVR,Image and Texture. I also found some locations where the handling of the original pvr textures was not implemented. These are also part of this submission." - * src/osgPlugins/osgTerrain/HeightFieldLayer.cpp: Added writing and - reading of inlined HeightField -2008-01-08 14:38 robert - * include/osg/GL2Extensions, include/osg/Program, - include/osg/Shader, include/osg/Uniform, src/osg/Program.cpp, - src/osg/Shader.cpp, src/osg/Uniform.cpp: Removed non standard and - redundent /*EOF*/ +Thu, 21 Apr 2011 13:34:03 +0000 +Checked in by : Robert OSFIELD +From Marius Heise, "here is a patch that implements Win32 HW-synced swapping using wglJoinSwapGroupNV, wglBindSwapBarrierNV and the existing traits. It was tested with multiple ATI FirePro S400 cards.I also fixed the vsync implementation introduced with rev.11357 that was crashing with the Windows Error #170. So I removed your temporary /* */ around the vsync condition..." -2008-01-08 14:37 robert - * src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/Program.cpp, src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/Uniform.cpp: Updated wrappers - -2008-01-08 14:29 robert - - * examples/CMakeLists.txt, examples/osggeometryshaders, - examples/osggeometryshaders/CMakeLists.txt, - examples/osggeometryshaders/osggeometryshaders.cpp, - include/osg/GL2Extensions, include/osg/Program, - include/osg/Shader, include/osg/Uniform, src/osg/Program.cpp, - src/osg/Shader.cpp, src/osg/Uniform.cpp: From Mike Weiblen, - support for geometry shaders, and osgeometryshaders example to - demonstrate them. - -2008-01-08 14:22 robert - - * examples/osgdepthpeeling/Utility.cpp, - examples/osgdepthpeeling/Utility.h: Fixed warning - -2008-01-08 13:56 robert - - * src/osgPlugins/osgTerrain/CompositeLayer.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp: Added support for MinLevel - and MaxLevel for ProxyLayer - -2008-01-08 13:24 robert - - * include/osg/BufferObject, include/osg/Drawable, - include/osg/FragmentProgram, include/osg/FrameBufferObject, - include/osg/GLObjects, include/osg/Program, include/osg/Shader, - include/osg/Texture, include/osg/VertexProgram, - src/osg/BufferObject.cpp, src/osg/Drawable.cpp, - src/osg/FragmentProgram.cpp, src/osg/FrameBufferObject.cpp, - src/osg/GLObjects.cpp, src/osg/GraphicsContext.cpp, - src/osg/Program.cpp, src/osg/Shader.cpp, src/osg/Texture.cpp, - src/osg/VertexProgram.cpp, src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/Program.cpp, src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/VertexProgram.cpp: Introduced new - osg::discardDeletedOpenGLObjects() methods, and usage of it in - GrpahicsContext::close() to handle cases where - deletingOpenGLObjects is no possible, - such as when GraphicsWindowEmbedded is used. - -2008-01-08 13:22 robert - - * src/osgPlugins/osgTerrain/CompositeLayer.cpp: Removed debug info - -2008-01-08 13:10 robert - - * src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgTerrain/CompositeLayer.cpp, - src/osgPlugins/osgTerrain/HeightFieldLayer.cpp, - src/osgPlugins/osgTerrain/ImageLayer.cpp, - src/osgPlugins/osgTerrain/Layer.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp: Reorganised the .osg - support for osgTerrain NodeKit to make it more extensible - -2008-01-07 09:47 robert - - * include/osgUtil/EdgeCollector: Added OSGUTIL_EXPORTs - -2008-01-06 17:53 robert - - * include/osgUtil/DrawElementTypeSimplifier: Added missing #include - -2008-01-06 10:52 robert +Thu, 21 Apr 2011 13:01:11 +0000 +Checked in by : Robert OSFIELD +From Fred Smith, "GraphicsWindowWin32::setWindow currently creates a context with no regards to the Traits, like createWindow does.That is, it calls ::wglCreateContext to create a context, not the member method createContextImplementation(), which takes into an account the Traits. - * include/osgUtil/DrawElementTypeSimplifier: Added exports for - Windows build - -2008-01-04 20:03 robert - - * README.txt: Fixed date - -2008-01-04 20:00 robert - - * CMakeModules/FindFreeType.cmake, CMakeModules/FindGDAL.cmake, - CMakeModules/FindGIFLIB.cmake, - CMakeModules/FindOpenThreads.cmake, - CMakeModules/FindQuickTime.cmake: From Eric Wing, "Attached are a - few Find modules with updates. Among other things, they - contain better support for environmental variables to pre-empt - the - autodection default search path order which is very helpful for - people - who do automated builds. (I recommend that the remaining modules - consider adding the same system to make things consistent and - easier - for those people that want to do the automated builds.) - - The CMAKE_PREFIX_PATH has also been added to help people. I don't - recommend adding this to the other modules because it looks like - CMake - agreed with my idea and will be adding the support in 2.6. So - when - that ships, people will get it for free. (In the meantime, my - modules - that do have it, it can be used.) - - Finally, I've submitted all of these modules to official CMake - plus - more so they will be in the next version of CMake. It looks like - I may - need to sort some compatibility issues out with the KDE people - who - seem to have conflicting modules, but this is unrelated to the - updates - submitted here as OSG already has these conflicts. I figured I - would - just sync OSG up with my current/best versions. - - Also of note, I added the large batch of Findosg*.cmake modules - to - CMake so people building against OpenSceneGraph can use these - without - writing their own. I wasn't sure if I should submit them here or - not - since they are for building against OSG and not for building OSG - itself. So they are not included. - " - -2008-01-04 15:33 robert - - * src/osg/Sequence.cpp: From Glenn Waldron, "I found that - osg::Sequence::setDuration(speed,reps) was not changing the - animation speed factor as expected. The one-line fix (line 312) - is attached" - -2008-01-04 15:30 robert - - * src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp: From Paul Martz, - "Correction to size of reserved filed in .attr file, Spec says - "149*4" bytes, not "149"" - -2008-01-04 15:15 robert - - * src/osgWrappers/osg/GraphicsContext.cpp: Updated wrappers - -2008-01-04 13:57 robert - - * include/osg/GraphicsContext, src/osg/GraphicsContext.cpp: Added - catch for handling cases where undefined settings for dislayNum - and screenNum are used - -2008-01-04 12:03 robert - - * README.txt: Updated data on readme - -2008-01-04 12:03 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS file for 2.3.1 release - -2008-01-04 11:45 robert - - * CMakeLists.txt, include/osg/Version: Updated version number for - 2.3.1 release - -2008-01-04 11:44 robert - - * ChangeLog: Updated logs for 2.3.1 releae - -2008-01-04 11:26 robert - - * src/osgPlugins/OpenFlight/ControlRecords.cpp, - src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/LightPointRecords.cpp, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/Record.cpp, - src/osgPlugins/OpenFlight/Record.h, - src/osgPlugins/OpenFlight/RoadRecords.cpp: From Brede Johansen, - support for contiuation records. - -2008-01-04 11:14 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/OcclusionQueryNode.cpp, - src/osgPlugins/ive/OcclusionQueryNode.h, - src/osgPlugins/ive/ReadWrite.h, - src/osgPlugins/osg/OcclusionQueryNode.cpp: From Paul Martz, - completion of .ive and .osg support for OcclusionQueryNode - -2007-12-26 22:00 robert - - * examples/osgocclusionquery/osgocclusionquery.cpp, - include/osg/OcclusionQueryNode, src/osg/OcclusionQueryNode.cpp, - src/osgWrappers/osg/OcclusionQueryNode.cpp: From Paul Martz, "The - osgocclusionquery example contained some duplicate code that was - also in the core OSG occlusion query code. This change removes - the need for that." - -2007-12-26 21:43 robert - - * src/osgWrappers/osgUtil/DrawElementTypeSimplifier.cpp: Updated - wrappers - -2007-12-26 21:39 robert - - * include/osgUtil/DrawElementTypeSimplifier, - include/osgUtil/EdgeCollector, - include/osgUtil/OperationArrayFunctor, - include/osgUtil/ReversePrimitiveFunctor, - src/osgUtil/CMakeLists.txt, - src/osgUtil/DrawElementTypeSimplifier.cpp, - src/osgUtil/EdgeCollector.cpp, - src/osgUtil/ReversePrimitiveFunctor.cpp, - src/osgWrappers/osgUtil/EdgeCollector.cpp, - src/osgWrappers/osgUtil/ReversePrimitiveFunctor.cpp: From David - Callu, further work in support of shapefile support in - VirtualPlanetBuilder - -2007-12-26 21:38 robert - - * genwrapper.conf, - src/osgWrappers/osgUtil/OperationArrayFunctor.cpp: Suppressed - reflection of problem templates/typedefs - -2007-12-25 21:11 robert - - * src/osgViewer/ViewerEventHandlers.cpp: Replaced values.h with - float.h is avoid Windows compile issues - -2007-12-24 15:37 robert - - * src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/Font3D.cpp, - src/osgWrappers/osgText/KerningType.cpp, - src/osgWrappers/osgUtil/Statistics.cpp: Updated wrappers - -2007-12-24 15:32 robert - - * src/osgPlugins/OpenFlight/AncillaryRecords.cpp, - src/osgPlugins/OpenFlight/AttrData.cpp, - src/osgPlugins/OpenFlight/AttrData.h, - src/osgPlugins/OpenFlight/ControlRecords.cpp, - src/osgPlugins/OpenFlight/DataInputStream.cpp, - src/osgPlugins/OpenFlight/DataInputStream.h, - src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/GeometryRecords.cpp, - src/osgPlugins/OpenFlight/LightPointRecords.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/Pools.cpp, - src/osgPlugins/OpenFlight/Pools.h, - src/osgPlugins/OpenFlight/PrimaryRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/Record.cpp, - src/osgPlugins/OpenFlight/Record.h, - src/osgPlugins/OpenFlight/RecordInputStream.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.h, - src/osgPlugins/OpenFlight/Registry.cpp, - src/osgPlugins/OpenFlight/Registry.h, - src/osgPlugins/OpenFlight/ReservedRecords.cpp, - src/osgPlugins/OpenFlight/RoadRecords.cpp, - src/osgPlugins/OpenFlight/Vertex.cpp, - src/osgPlugins/OpenFlight/Vertex.h, - src/osgPlugins/OpenFlight/VertexRecords.cpp, - src/osgPlugins/OpenFlight/opcodes.h, - src/osgPlugins/OpenFlight/types.h: Fom Brede Johansen, "I have - added the OSGPL license to the OpenFlight source files" - -2007-12-24 15:19 robert - - * src/osg/Image.cpp, src/osg/Notify.cpp, src/osgDB/Field.cpp, - src/osgDB/FileNameUtils.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/x/directx.cpp, src/osgPlugins/x/mesh.cpp, - src/osgPlugins/x/types.cpp, src/osgText/DefaultFont.cpp, - src/osgViewer/ViewerEventHandlers.cpp: From Sid Byce, fixes for - compiling with gcc 4.3 - -2007-12-24 14:47 robert - - * src/osgPlugins/quicktime/QTLiveUtils.cpp, - src/osgPlugins/quicktime/QTLiveUtils.h, - src/osgPlugins/quicktime/QuicktimeLiveImageStream.h, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Rafa Gaitan, "I - have corrected some includes of the quicktime plugin - from Quicktime/Quicktime.h to QuickTime/QuickTime.h. - MacOsX filesystem is normally case insensitive, but in - my case I changed that option and the quicktime headers - were not found. Now compiles fine and on case insesitive - file systems should work correctly too. " - -2007-12-24 14:45 robert - - * include/osg/Sequence, src/osg/Sequence.cpp: From Jason Daly, "I'm - still having a problem with SWING animations on sequences. Here's - the fix again, merged with this morning's svn (including the - other - Sequence fixes from J-S)." - -2007-12-24 12:56 robert - - * CMakeLists.txt, doc/Doxyfiles/doxyfile.cmake: Based on - Suggestions from "Harald A" fixed CMake setup of Doxygen docs - -2007-12-23 18:15 robert - - * include/osgText/Font, include/osgText/Font3D, - include/osgText/KerningType, include/osgText/TextBase, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/txf/TXFFont.cpp, src/osgPlugins/txf/TXFFont.h, - src/osgText/DefaultFont.cpp, src/osgText/DefaultFont.h, - src/osgText/Font.cpp, src/osgText/Text.cpp, - src/osgText/TextBase.cpp: Convert osgText and freetype plugin - across to keeping the font size as state that - is passed into the getGlyph and getKerning methods rather than a - current state of the font itself. - -2007-12-23 13:45 robert - - * include/osgText/Font, include/osgText/TextBase, - src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/txf/ReaderWriterTXF.cpp, - src/osgPlugins/txf/TXFFont.cpp, src/osgPlugins/txf/TXFFont.h, - src/osgText/Font.cpp, src/osgText/Text.cpp, - src/osgText/TextBase.cpp: Moved Font code across to using - FontSizePair internally and on Font methods, but - still using original implemetations. - -2007-12-23 13:18 robert - - * examples/osgtext/osgtext.cpp, include/osgText/Font, - include/osgText/KerningType, src/osgText/DefaultFont.cpp, - src/osgText/Font.cpp: Renamed osgText::Font::SizePair to - osgText::FontSizePair in prep for use this more - widely within osgText/freetype plugin. - - Added support for inserting loading models into --mt - multithreaded implementation. - -2007-12-23 13:08 robert - - * include/osg/GraphicsContext: Fixed indentation - -2007-12-21 17:56 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From Jean-Sebastien - Guay, added new version of feetype into search list - -2007-12-21 17:33 robert - - * genwrapper.conf, include/osgUtil/OperationArrayFunctor: Added - copyright notice and tweaked genwrapper - -2007-12-21 17:26 robert - - * src/osgWrappers/osgUtil/OperationArrayFunctor.cpp: Updated - wrappers - -2007-12-21 16:18 robert - - * src/osgUtil/ReversePrimitiveFunctor.cpp: From Paul Martz, "added - include to prevent VS8 compile error" - -2007-12-21 15:54 robert - - * src/osgWrappers/osgUtil/OperationArrayFunctor.cpp: Removed - OperationArrayFunctor for wrappers to avoid compile errors - assocaited with them - -2007-12-21 15:46 robert - - * include/osgUtil/EdgeCollector: Removed inappropriate inline - -2007-12-21 15:04 robert - - * src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/OcclusionQueryNode.cpp, - src/osgWrappers/osgUtil/ConvertVec.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/EdgeCollector.cpp, - src/osgWrappers/osgUtil/OperationArrayFunctor.cpp, - src/osgWrappers/osgUtil/ReversePrimitiveFunctor.cpp: Updated - wrappers - -2007-12-21 14:49 robert - - * src/osgPlugins/osg/OcclusionQueryNode.cpp: From Paul Martz, .osg - support for OcclusionQueryNode +In my situation, this prevents a GL 3.x context from being created. +" -2007-12-21 14:45 robert - - * examples/CMakeLists.txt, examples/osgocclusionquery, - examples/osgocclusionquery/CMakeLists.txt, - examples/osgocclusionquery/osgocclusionquery.cpp, - include/osg/NodeVisitor, include/osg/OcclusionQueryNode, - include/osgUtil/CullVisitor, src/osg/CMakeLists.txt, - src/osg/OcclusionQueryNode.cpp, - src/osgPlugins/osg/CMakeLists.txt, src/osgUtil/CullVisitor.cpp: - From Paul Martz, Introduced osg::OcclusionQueryNode with support - for OpenGL occlusion query extension - -2007-12-21 14:21 robert - - * include/osgGA/UFOManipulator, src/osgGA/UFOManipulator.cpp: From - Bryan Thrall, "UFOManipulator ignores any attached - CoordinateFrameCallback; the - attached files fix this (based on 2.2 release). - " -2007-12-21 14:16 robert - * src/osgText/Font.cpp: From Mathias Froehlich, "Something to - extend the texture subloading blacklist. - ... we have problems with that on solaris." +Thu, 21 Apr 2011 12:53:22 +0000 +Checked in by : Robert OSFIELD +From Jorge Ciges, "1rst - Changes in Cmake: They make possible "make install" with the android building.2nd - Script to use a 3rd party directory with basic libraries: libjpeg,libpng,libtiff,giflib,freetype,curl,gdal. -2007-12-21 14:13 robert - - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Sequence.cpp: - From John Kelso,"Attached is the ive reader/writer for the 2.x - version of the osg::Sequence - node. " - -2007-12-21 13:32 robert - - * src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowX11.cpp: From Jeremy Moles, "Here is - a implementation of setScreeResolution and - setScreenRefreshRate for systems support Xrandr. The include - CMakeFile - makes this optional, and turns it OFF by default, in which case - any - person trying to use these functions under Linux will be - instructed to - build osgViewer w/ Xrandr support. - " - -2007-12-21 13:31 robert - - * applications/osgviewer/osgviewer.cpp: Added return - -2007-12-21 13:18 robert - - * src/osg/Sequence.cpp: From Jean-Sebastien Guay, "When using - osg::Sequence you can stop the sequence by setting the mode - to STOP. Subsequently, you can restart it from the beginning by - setting the mode to START. This does not work as expected. The - _now - time is not updated while the mode is STOP, which causes the - items in - the sequence to flash by very quickly when the mode is set to - START. - - For example, if the mode was set to STOP and left that way for 30 - seconds, and there are 10 items in the sequence, when the mode is - set - to START all the items will flash by (in 3 loops) while the _now - time - catches up with the real time, and then the sequence will go on - at the - rate it should. - - This is a simple fix for that, which updates the _now time - regardless - of the mode the sequence is in." - -2007-12-21 13:07 robert - - * include/osgUtil/ConvertVec, include/osgUtil/EdgeCollector, - include/osgUtil/OperationArrayFunctor, - include/osgUtil/ReversePrimitiveFunctor, - src/osgUtil/CMakeLists.txt, src/osgUtil/EdgeCollector.cpp, - src/osgUtil/ReversePrimitiveFunctor.cpp: From David Callu, - various classes in support of VirtualPlanetBuilder - -2007-12-21 12:36 robert - - * src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataInputStream.h, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/DataOutputStream.h: From David Callue, added - support for reading/writing Vec*dArray to .ive plugin - -2007-12-20 17:30 robert - - * src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp: Updated wrappers - -2007-12-20 15:51 robert - - * include/osgTerrain/Layer, src/osgPlugins/osgTerrain/Terrain.cpp, - src/osgTerrain/Layer.cpp: Added support for min to max level - ranges for Layers in support of VirtualPlanetBuilder usage of - this. - -2007-12-20 15:50 robert - - * include/osgUtil/Simplifier, src/osgUtil/Simplifier.cpp: Added an - optional use of doubles for computing error metrics to help - investigate precision issues seen in VPB when working with small - segments of geographic data. - -2007-12-20 15:40 robert - - * src/osgText/TextBase.cpp: Reset the the _lineSpacing to 0.0f to - fix the line spacing when word wrapping takes place - -2007-12-20 14:40 robert - - * src/osgSim/OverlayNode.cpp: From Wojciech Lewandowski, "By - complete coincidence I just have read an old OSG submission mail - related - to bugfixes in osg::Polytope.setToUnitFrustum and - setToBoundingBox It was - sent at beginning of december. I read it when purging my Thrash - emails and - found it there this because it was wrongly classified as SPAM. - - What stroke me in this email was the fact that there was once an - error in - Polytope class. Since I adopted CustomPolytope (osgSim - OverlayNode.cpp) for - my minimal shadow area computations I checked my code for this - error. And I - found it in CustomPolytope::setToUnitFrustum method. - CustomPolytope::setToBoundingBox seemed OK. - - So I went back to the origin and fixed this error in - OverlayNode.cpp as - well. I have not tested it in OverlayNode though (I don't know - how) so - please look at this carefully. But it seems to work fine with my - shadow - calculations." - -2007-12-20 10:48 robert - - * src/osgPlugins/cfg/Camera.h, src/osgPlugins/cfg/CameraConfig.cpp, - src/osgPlugins/cfg/CameraConfig.h: Reorder includes in an attempt - to avoid compile problems under Cygwin. - -2007-12-17 21:52 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS files - -2007-12-17 21:35 robert - - * ChangeLog, README.txt: Updated ChangeLog for 2.3.0 release - -2007-12-17 21:08 robert - - * CMakeLists.txt, include/osg/Version: Updated version number for - 2.3.0 dev release - -2007-12-17 18:38 robert - - * CMakeModules/OsgMacroUtils.cmake, src/osgShadow/Version.cpp: From - Paul Obermeier, "Please find enclosed the following 2 bug fixes: - - File osgShadow/Version.cpp, Line 25: - - const char* osgShaodowGetLibraryName() - - should be: - - const char* osgShadowGetLibraryName() - - - File CMakeModules/OsgMacroUtils.cmake, Line 224: - - SET_TARGET_PROPERTIES(${TARGET_TARGETNAME} PROPERTIES - DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX}) - - should be: - - SET_TARGET_PROPERTIES(${TARGET_TARGETNAME} PROPERTIES - DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}") - - Otherwise setting CMAKE_DEBUG_POSTFIX to an empty string instead - of "d" in - the main CMakeLists.txt does not work under Linux. - " - -2007-12-17 17:43 robert - - * include/osg/Vec2s, include/osg/Vec3s, include/osg/Vec4s: From - David Cullu, added various mathematical operators - -2007-12-17 10:24 robert - - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, - "attached you'll find an updated carbon-implementation, which - implements - the missing functionality for setWindowName and useCursor - " - -2007-12-17 10:22 robert - - * src/osgWrappers/osgSim/ShapeAttribute.cpp, - src/osgWrappers/osgTerrain/Locator.cpp: Updated wrappers - -2007-12-17 09:58 robert - - * src/osgPlugins/osga/OSGA_Archive.cpp: From Wojiech Leandowski, "I - earlier wrote about my hassles with archives under Windows. I - implemented - 64 bit binary compatible OSGA archive reader/writer using mixed - stdio/iostream calls. But during this work I learned that it can - be made in - much simpler way. - - Attached is result of this new attempt. I hope its appropriate - for inclusion - into OSG codebase. It was compiled and tested with latest SVN - OSG, Windows - XP 32 bit and Windows Vista business 64 bit. OSG was built using - VS 2005 - Express SP1 for 32 bit environment and VS 2005 Std for 64 bit. - --- - Solution description (there were two problems involved): - --- - Problem 1: implicit conversions beetween file positions and 32 - bit int. This - could be considered a MS compiler bug because this 32 bit int was - additionally implicitly converted to/from 64 bit. As far as I - know compiler - is allowed to make only one implict conversion (but maybe this - rule does not - refer to simple types). - - Its actually possible to address OSGA files above 4 GiB range - using 32 bit - windows iostreams. MS Iostreams in practice offer the same level - of - functionality as stdio functions. There are functions fsetpos and - fgetpos in - stdio lib which use 64 bit file pointers (fpos_t). These - functions are - internally called by seekp( streampos ), seekg( streampos ), - tellp(), and - tellg() methods. So its also possible to change and retrieve file - postions - using iostream calls. But the problem lies in implicit handling - of streampos - type. - - streampos type is actually a template class used as seekp, seekg - parameter - and returnd from tellp, tellg. Its capable of storing 64 bit file - pointers. - But streampos can be also converted to/from simple type - streamoff. It has - proper constructor and cast operator. In Win 32 environment - streamoff is - defined as long (~32 bit int). So when seekp, and tellp arent - used with - exact streampos objects but OSGA_Archive::pos_type complier makes - implicit - casts to 32 bit int types loosing important bits of information. - - So above problem could be easily handled by making conversion - calls - explicit. My code defines 2 functions used to convert back and - forth beetwen - 64 bit OSGA_Archive::pos_type and std::streampos objects: - - OSGA_Archive::pos_type ARCHIVE_POS( const std::streampos & pos ); - std::streampos STREAM_POS( OSGA_Archive::pos_type & pos ); - - Rest of the OSGA implementation code was modified to call these - conversions - explicitly with seekp, seekg, tellp, tellg. - - --- - Problem 2: seekp and seekg have two variants. Only one of these - variants is - actually 64 bit proof. - - When I solved my first problem and made use of explicit streampos - conversion - functions, OSGA archive was able to read my example 11 GiB - archive. But - there were still problems with write and append. I found that the - reason for - this was pair of seekp( 0, std::ios_base::end ) and tellp() - calls. It turned - out that use of seekp, seekg( offset, direction ) function - variants was - setting file pos pointer to EOF when file was larger than 4GiB. - But I - noticed that one arg seekp, seekg ( streampos ) versions worked - correctly. - So the solution was to change OSGA write logic a little, and - replace - seekp( offset, direction ) with seekp( absolute_pos ) calls. - I achieved this by modifing IndexBlock write method to record and - restore - file pos after IndexBlock was written. This modification has the - effect that - put pointer is generally kept at the end of file, so there is no - need to - repostion to the end before writing the files. This allowed me to - get rid of - those problematic seekp( 0, std::ios_base::end ) calls. - - There was one place where I could not easily get rid of seekp( 0, - std::ios_base::end ). It was situation where existing OSGA was - opened for - appending. I resolved this by computing file length by finding - max position - from index block and file block endings. Then I replaced former - seekp( 0, - std::ios_base::end ) with seekp( STREAM_POS( found_file_length ). - --- - - Description of these changes may sound bit hacky but in practice - these were - fairly simple and straightforward modifications. I hope they pass - your - review. There is one complex preprocessor condition which I based - on few - lines taken from boost positioning.hpp. Boost licence does allow - such - reproduction. In case of problems this condition may be easily - simplified to - windows only implementation. - " - -2007-12-16 17:57 robert - - * src/osg/ShapeDrawable.cpp: From Jean-Sebastien Guay, "Some - clients at my new job noticed that picking did not work with the - osg::Capsule subclass of osg::Shape in an osg::ShapeDrawable. - Other - shapes worked fine. So I have fixed this. Code attached. - - My modification is in the PrimitiveShapeVisitor, and is based on - the - DrawShapeVisitor - I added methods called createCylinderBody and - createHalfSphere, and used them in apply(Cylinder&) and - apply(Capsule&). In my testing they work fine, tested even with - transforms and moving around the scene. - " - -2007-12-16 17:53 robert - - * src/osgPlugins/ive/BlinkSequence.cpp: Added check to make set up - a sequencegroup only happen when required. - -2007-12-16 17:46 robert - - * src/osgPlugins/ive/BlinkSequence.cpp: From Wojciech Lewandowski, - "osgSim::BlinkSequence has sequenceGroup unitialized by default - (=NULL ref_ptr). By looking at the code I figured out that unset - sequenceGroup is completely correct and thus allowed. - - But writing BlinkSequence with empty sequence group caused a - crash when IVE was accessing baseTime from NULL address. - - Atttached is a fix for this situation. - " - -2007-12-16 17:41 robert - - * src/osgShadow/ShadowMap.cpp: From Wojiech Lewandowski, "There was - a bug in ShadowMap camera view matrix computation. View matrix - was wrong when light was directional and shadowed scene was not - centered at zero coord. I fixed that and also modified cast - distance to much smaller value. With former range it was possible - to generate shadows with lowest LODs. " - -2007-12-16 17:33 robert - - * src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Fixed HeightField - coordinates set up - -2007-12-16 17:01 robert - - * include/osgText/Font, include/osgText/Font3D, - src/osgText/Font.cpp: Added intializers. - -2007-12-16 16:18 robert - - * src/osgPlugins/shp/CMakeLists.txt, - src/osgPlugins/shp/ESRIShapeReaderWriter.cpp: Added support for - automatically setting the coordinate system of a shapefile by - reading associate .prj file +3rd - Change in the GLES library loading for Android. That should make GLES2 work properly. -2007-12-16 13:29 robert +4rth- Included two defines RGB8_OES and RGBA8_OES as a substitute in GLES for RGB8 and RGBA8 - * examples/osgforest/osgforest.cpp: Added parsing of parameters to - Viewer constructor. +5th - OpenGL and GLSL version identification changed to recognize GLES versions properly +" -2007-12-16 13:25 robert - * examples/osgforest/osgforest.cpp: Added StateSetManipulator for - testing purposes, and fixed typo -2007-12-16 13:20 robert +Thu, 21 Apr 2011 12:12:40 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, "I have tried some model that produces crashes in the dae plugin because of empty node:if (GetFloat4Param(cot->getParam()->getRef(), f4)) {...} - * src/osgPlugins/freetype/FreeTypeLibrary.cpp: Removed used of - ref_ptr<>'s internally to avoid ciricular calls on destruction. +in the model I have tested cot->getParam()->getRef() return 0x0 and make +it crahes inside GetFloat4Param. -2007-12-16 12:36 robert +I have added a test before calling GetFloat4Param +if (cot->getParam()->getRef() != 0 && +GetFloat4Param(cot->getParam()->getRef(), f4)) {...} +" - * src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/FreeTypeFontBase.cpp, - src/osgPlugins/freetype/FreeTypeFontBase.h: Added initilizers of - variables to FreeTypeFont3D constructors. - - Removed unused FreeTypeFontBase class -2007-12-15 17:16 robert - * src/osgPlugins/cfg/ReaderWriterCFG.cpp: Fixed handling of DISPLAY - variable, and mapped the rest of Producer config settings +Thu, 21 Apr 2011 12:06:06 +0000 +Checked in by : Robert OSFIELD +From Tomas Hogarth, "Attached are the complete changed files GraphicsWindowIOS and GraphicsWindowIOS.mm. The change is in regard to the ability to adapt to device orientation. We did just have a bool indicating the window would adapt to all orientations. I have changed this to a bit mask allowing the user to specify individual orientations or combinations. enum DeviceOrientation{ -2007-12-15 17:15 robert + PORTRAIT_ORIENTATION = 1<<0, - * src/osgDB/Registry.cpp: Commented out rendendent warnings + PORTRAIT_UPSIDEDOWN_ORIENTATION = 1<<1, -2007-12-15 17:15 robert + LANDSCAPE_LEFT_ORIENTATION = 1<<2, - * src/osgViewer/Viewer.cpp: commented out rendudent warning + LANDSCAPE_RIGHT_ORIENTATION = 1<<3, -2007-12-15 15:22 robert + ALL_ORIENTATIONS = PORTRAIT_ORIENTATION | PORTRAIT_UPSIDEDOWN_ORIENTATION | LANDSCAPE_LEFT_ORIENTATION | LANDSCAPE_RIGHT_ORIENTATION - * src/osgShadow/ShadowMap.cpp: Added setting of ambient bias - uniform + }; -2007-12-15 15:19 robert + typedef unsigned int DeviceOrientationFlags; - * include/osgShadow/ShadowMap: Added separate unform variable to - keep track of abmient contribution. +The main motivation for this is to easily allow the user to specifiy that the device is in a horizontal orientation rather then having to rotate the view matrix. All flags have been tested individually as well as in combinations. The default is ALL_ORIENTATIONS to keep the exiting functionality for anyone who hasn't specified WindowData for their context traits. +" -2007-12-15 15:17 robert - * src/osgShadow/ShadowMap.cpp: Tweaked the abmient lighting - contribution so that the OpenGL vertex lighting has - the ambient light source switched off, and use the fragment - shader to add this - contribution back in. -2007-12-14 17:40 robert +Wed, 20 Apr 2011 19:20:28 +0000 +Checked in by : Robert OSFIELD +From Sukender, Here is a tiny update to FileNameUtils. It brings getPathRoot() and isAbsolutePath() to the public side of the lib. - * src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgTerrain/Locator.cpp: Refectored the loading of - Locator out into its own separate file +Wed, 20 Apr 2011 17:15:58 +0000 +Checked in by : Robert OSFIELD +From Guillaume Taze, "This is a fix for the error popups which appeared when reading a corrupted file on windows. Errors are redirected to std::err instead."Note from Robert Osfield, changed jpeg error report output from stderr to standard OSG notification system using OSG_WARN. -2007-12-13 17:51 robert - * include/osgTerrain/Locator, - src/osgPlugins/osgTerrain/Terrain.cpp, - src/osgTerrain/Locator.cpp: Added - Locator::s/getTransformScaledByResolution(bool) to assist with - VPB integration -2007-12-13 16:06 robert +Wed, 20 Apr 2011 11:45:01 +0000 +Checked in by : Robert OSFIELD +Added releaseGLObjects(State*) support into osg::FrameBufferObject, osg::RenderBin and osg::RenderStage to ensure proper clean up of FBO's on closing a graphics context. - * src/osgPlugins/cfg/CameraConfig.h, - src/osgPlugins/cfg/ConfigParser.cpp: Warning fixes +Tue, 19 Apr 2011 14:19:06 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "A few minor fixes in the documentation strings of ReaderWriterFLT.cpp" -2007-12-13 15:24 robert +Tue, 19 Apr 2011 14:11:13 +0000 +Checked in by : Robert OSFIELD +From Bradley Anderegg, "The first change just exposes the archive extension list so that external applications can determine if an archive extension is valid.The second change is a bug fix in Registry::read(const ReadFunctor&) +where if you pass in valid options they get wiped out after the archive +is loaded but before being passed along to the plugin." - * src/osgPlugins/cfg/CameraConfig.cpp, - src/osgPlugins/cfg/ConfigParser.cpp, - src/osgPlugins/shp/XBaseParser.cpp: From Andy Skinner, build - fixes for Solaris -2007-12-13 15:23 robert - * src/osgPlugins/cfg/ConfigParser.cpp: Convert tabs to four spaces +Tue, 19 Apr 2011 13:32:25 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, "To summarize the fix: OpenGL eye coords are negative outside Cartesian quadrant 1. As a result, the center of projection is eye coord (0,0), which (when used as st tex coords) looks up the lower left corner of the texture. However, in projective texturing, you usually want eye coord (0,0) to look up the center of the texture. Accomplishing this mapping requires not just a lookat and perspective transform, but also a translate and scale." -2007-12-13 14:26 robert +Tue, 19 Apr 2011 12:01:38 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, "please find attached proposed fix for ON_DEMAND rendering. The biggest issue was that the windows did not act on repaint request (WM_PAINT, EXPOSE,...)Detailed explanation: +- I implemented requestRedraw using the push approach (not using +GraphicsWindow::_requestRedraw flag that I was considering) as there may be +multiple viewers reading the flag and fighting to reset it after the paint +request, while some viewers may not spot the request to redraw +- I made windows call GraphicsWindow::requestRedraw when they receive +appropriate message (WM_PAINT, EXPOSE, RESIZE,...) +- There were issues on Linux that windows did not want to close using x +button. Resolved by moving the test for DeleteWindow event from +swapBuffersImplementation() to GraphicsWindowX11::checkEvents(). The difficulty +was that DeleteWindow event is not coming using _eventDisplay, but through +_display. +- The last difficulty was that it is necessary to call +ViewerBase::checkWindowStatus() to set _done to true when all windows are +closed. This did not happened recently in ON_DEMAND run scheme. I put the call +to checkWindowStatus() to eventTraversal. +" - * src/osgPlugins/shp/XBaseParser.cpp: Fixed memory leak -2007-12-13 14:16 robert - * src/osgPlugins/osgSim/IO_ShapeAttribute.cpp: Updated the - shapefile attribute IO so that its more streamlined. +Tue, 19 Apr 2011 11:46:05 +0000 +Checked in by : Robert OSFIELD +Removed spaces from end of lines -2007-12-13 12:30 robert +Tue, 19 Apr 2011 11:40:22 +0000 +Checked in by : Robert OSFIELD +Ran svn propset -R svn:eol-style native . on the OpenSceneGraph - * include/osgSim/ShapeAttribute, src/osgSim/ShapeAttribute.cpp: - Added copy operator to ShapeAttribute to prevent problems when - assigned them or use within a vector +Tue, 19 Apr 2011 09:54:14 +0000 +Checked in by : Robert OSFIELD +Improved the handling of unitialized bounding box -2007-12-12 17:59 robert +Tue, 19 Apr 2011 09:53:34 +0000 +Checked in by : Robert OSFIELD +Cleaned up example - * include/osgViewer/View, src/osgViewer/View.cpp, - src/osgWrappers/osgViewer/View.cpp: Added a - osgViewer::setSceneData(ref_ptr) method. +Mon, 18 Apr 2011 12:58:28 +0000 +Checked in by : Robert OSFIELD +Updated SO version number -2007-12-12 17:48 robert +Mon, 18 Apr 2011 12:35:19 +0000 +Checked in by : Robert OSFIELD +Added IncrementalCompileOperation::compileAllForNextFrame(uint) method and supporting functionality that tell the IncrementalCompileOperation to compile all pending objects during next draw traversal, for specified number of frames. - * include/osgText/Text, include/osgText/Text3D, - src/osgText/Text.cpp, src/osgText/Text3D.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgText/Text3D.cpp: Added new setFont(ref_ptr<>) - variants to Text and Text3D +Thu, 14 Apr 2011 15:47:29 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find some enhancements for the iphone-part of the readme." -2007-12-12 17:04 robert +Thu, 14 Apr 2011 15:45:14 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "The standard width for the windows cmd and terminals on many Unix systems is 80 columns. I reorganized some of the help strings to make the output of osgconv --help --all - * include/osgDB/DatabasePager, include/osgDB/ReadFile, - include/osgText/Font, include/osgText/Font3D, - src/osgDB/DatabasePager.cpp, src/osgDB/ReadFile.cpp, - src/osgText/Font.cpp, src/osgText/Font3D.cpp, - src/osgText/Text.cpp, src/osgText/Text3D.cpp: From Serge Lages, - introduce readRef*File() methods which pass back ref_ptr<> rather - than C pointers. +fit to 80 columns. This avoids difficult to read line breaks added by the +terminal program itself." -2007-12-12 16:56 robert - * include/osgSim/ShapeAttribute, src/osgSim/ShapeAttribute.cpp: - Updated copyright notices -2007-12-12 16:55 robert +Thu, 14 Apr 2011 15:22:43 +0000 +Checked in by : Robert OSFIELD +Cleaned up DXT1 support - * include/osgSim/ShapeAttribute, src/osgSim/ShapeAttribute.cpp: - From Andy Skinner, build fixes for Solaris. +Thu, 14 Apr 2011 15:21:53 +0000 +Checked in by : Robert OSFIELD +Added IF (WIN32) around OSG_USE_UTF8_FILENAME -2007-12-12 11:57 robert +Thu, 14 Apr 2011 10:44:37 +0000 +Checked in by : Robert OSFIELD +Added osgDB::Option string entries: supportsOption("dds_dxt1_rgb","set the pixel format of DXT1 encoded images to be RGB"); + supportsOption("dds_dxt1_rgba","set the pixel format of DXT1 encoded images to be RGBA"); + supportsOption("dds_dxt1_detect_rgba","For DXT1 encode images set the pixel format according to presence of transparent pixels."); - * src/osgDB/DatabasePager.cpp: Added std:: infront of sort call +And set the default not to modify and detect the RGB or RGBA pixel format for DXT images. -2007-12-12 10:47 robert - * include/osgDB/SharedStateManager: Added const to operators. -2007-12-12 10:35 robert - * src/osgDB/DatabasePager.cpp: Added std:: in front of find enties -2007-12-12 09:48 robert +Thu, 14 Apr 2011 09:16:09 +0000 +Checked in by : Robert OSFIELD +Added setting of the internal texture format - * src/CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgWrappers/CMakeLists.txt: From Serge Lages, "Here is a new - modification to CMake adding an option - (OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS) to specify if - we want to generate or not the manifest files under VS8 for the - plugins and the wrappers. It seems that the manifests are needed - if we try to load dynamically a core OSG dll." +Wed, 13 Apr 2011 19:28:30 +0000 +Checked in by : Robert OSFIELD +quitened down debug output -2007-12-12 09:45 robert +Wed, 13 Apr 2011 19:26:35 +0000 +Checked in by : Robert OSFIELD +Introduced new code for detecting DXT1 images catogoriesed as RGB that actually have a 1 bit alpha, therefore re-interpreting these as RGBA. - * include/osgDB/DatabasePager: From Paul Martz, "Function - declaration returns a bool, function body was returning a - pointer. Changed body to return (pointer != NULL)." +Wed, 13 Apr 2011 10:44:36 +0000 +Checked in by : Robert OSFIELD +Added handling of DXT1 in osg::Image::isImageTranslucent() -2007-12-11 17:19 robert +Mon, 11 Apr 2011 19:11:25 +0000 +Checked in by : Robert OSFIELD +Added support for explitly requesting DXT1a and DXT1c compression - * src/osgPlugins/ive/DataTypeSize.h: From Cyril Brulebois, removed - redundent typedef. +Mon, 4 Apr 2011 10:16:46 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "Attached you'll find a fixed GraphicsWindowCocoa-implementation which should fix the reported bugs.the osgkeyboard-example works now, but not the numbers of the keypad, as +they hilight only for KEY_KP_Left, KEY_KP_Right, KEY_KP_Up, KEY_KP_DOWN +etc and not for KEY_KP_0 - KEY_KP_9." -2007-12-11 17:01 robert - * src/osgWrappers/osg/View.cpp, src/osgWrappers/osgViewer/View.cpp: - Updated wrappers -2007-12-11 16:42 robert +Thu, 31 Mar 2011 14:57:18 +0000 +Checked in by : Robert OSFIELD +Added OPENTHREADS_ATOMIC_USE_MUTEX Cmake options that allows you to override the default detection of atomic implementatition, making it possible to force the use of Mutex for OpenThreads::Atomic, and as a consequence for use of Mutex for Referenced::ref/unref() counting. - * src/osgPlugins/OpenFlight/DataInputStream.cpp, - src/osgPlugins/OpenFlight/DataInputStream.h, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.cpp, - src/osgPlugins/OpenFlight/RecordInputStream.h, - src/osgPlugins/OpenFlight/VertexRecords.cpp: From Brede - Johnansen, support for continuation records. - -2007-12-11 16:34 robert - - * include/osg/View, include/osgViewer/View: From Karl Heijdenberg, - moved set/getFrameStamp() from osgViewer::View to osg::View. - -2007-12-11 15:55 robert - - * examples/CMakeLists.txt, examples/osgsharedarray, - examples/osgsharedarray/CMakeLists.txt, - examples/osgsharedarray/osgsharedarray.cpp, include/osg/Array, - src/osg/Geometry.cpp, src/osgDB/FileNameUtils.cpp: From Mike - Garrity, "There was an on again/off again thread on OSG users - about - creating subclasses of osg::Array that referenced data - stored an application's internal data structures. I took - a stab at implementing that and ran into a couple of - downcasts in Geometry.cpp. Enclosed is my take at fixing - those along with a simple example of how to do this." - -2007-12-11 14:48 robert - - * src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/DataSetLayer.h, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Added missing copyright - notices - -2007-12-11 14:39 robert - - * src/osgViewer/PixelBufferX11.cpp: From Mathias Froehlich, - "Attached is a change to the PBuffer initialsation code that - checks for the GLX - version before issuing commands that require GLX-1.3. - - This prevents a crash with open source drivers on linux. - " - -2007-12-11 14:06 robert - - * src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/ReaderWriterDAE.h, - src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h, - src/osgPlugins/dae/daeWGeometry.cpp, - src/osgPlugins/dae/daeWMaterials.cpp, - src/osgPlugins/dae/daeWriter.cpp, src/osgPlugins/dae/daeWriter.h: - From Roger James, "The changes are as follows:- - - 1. DAE object no longer held onto by plugin. - 2. Filename to URI conversion now handled internally by plugin. - 2. User can supply an external DAE object for use by the plugin. - 3. User can supply a std:string object for the plugin to return - the URI of - the document just processed. - 4. User can supply a std::string to receive the unit name - information from - the document just read in. (e.g. meters, inches, etc.) - 5. User can supply a float to receive the metric conversion - factor from the - document just read in. - 6. User can supply an enum to receive the up axis orientation - information - from the document just read in. - 7. Material transparency can be both read and written. - 8. User can supply an experimental GoogleMode option on output. - The plugin - will try to emulate the way Sketchup specifies transparency (i.e. - the - inverse of what it should be!). I am still struggling to get GE - to - understand transparency, anyone know what it expects? - 9. Rudimentary support for Collada effect parameters (newparam, - setparam, - param) on input. Basic nVidia FX Composer dae documents can now - be read. - - " - -2007-12-11 12:35 robert - - * src/osgWrappers/osg/Program.cpp, src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/SharedStateManager.cpp, - src/osgWrappers/osgParticle/BoxPlacer.cpp: Updated wrappers - -2007-12-11 12:32 robert - - * include/osgDB/DatabasePager, include/osgDB/SharedStateManager, - src/osgDB/DatabasePager.cpp, src/osgDB/SharedStateManager.cpp: - From Tim More, "This submission tries to optimize redundant - compilation of StateSets and Drawables - in the DatabasePager. The practical effects of these are to - greatly reduce startup time - and the time to load an individual scenery tile in FlightGear. - - - From my log message: - - Minimize the number of StateSets and drawables that are compiled - by checking - if they have already been compiled or will be elminated by the - SharedStateManager. - - Move the sorting of the dataToCompile queue out of - compileGLObjects - into the man pager run function. - - Change the SharedStateManager to use maps instead of vectors." - - -2007-12-11 11:57 robert - - * src/osg/State.cpp: From Joseph Steel, "he change is to - initializeExtensionProcs() to - verify the version of the OpenGL implementation before attempting - to get the - MaxTextureCoords parameter." - -2007-12-11 11:55 robert - - * src/osg/ClipNode.cpp: From Mathias Froelich, "I have cleaned up - the state set handling of the osg::ClipNode. - Previously the complete StateSet was cleared, even the non - clipping releted - state attributes and modes in this stateset on a call to - setLocalSetateSetModes. - With this change only those modes/attributes are changed that - need to be - changed. That is, if a clip plane is removed from the ClipNode, - only this - assiciated mode is removed from the state set, instead of - throwing away the - whole state set. - - In this way we have less surprising results if the state set of a - clip node is - used for more state than just the clip state. - " - -2007-12-11 11:42 robert - - * include/osg/StateSet, src/osg/StateSet.cpp: From Mathias - Froechlich, "I have extended the StateSet api with a - - StateSet::removeAssociatedModes(const StateAttribute*) - - and a - - StateSet::removeAssociatedTextureModes(unsigned, const - StateAttribute*) - - call. These funktions are just missing for a complete api IMO." - -2007-12-11 11:37 robert - - * include/osgParticle/BoxPlacer: From Alberto Luaces, "it seems - that include/osgParticle/BoxPlacer was created from the - SectorPlacer - file. The code works well but the SectorPlacer comments stayed in - the new - file. I have altered those comments so they now contain valid - information for - the BoxPlacer class and the doxygen generated documentation is - correct. - - " - -2007-12-11 11:21 robert - - * include/osg/Program, include/osg/Shader, src/osg/Program.cpp, - src/osg/Shader.cpp: From Per Fahlberg, "Attached is a fix - allowing removal of shaders from a program after it is - first compiled. It will also allow new shaders to be attached - after the - program is first compiled." - -2007-12-10 20:56 robert - - * src/osgPlugins/shp/ESRIShapeParser.cpp: From Sherman Wilcox, "In - ESRIShapeParser.cpp, wasn't closing the file handle. Added: - - if(fd) - { - close(fd); - fd = 0; - } - - - to the constructor." - -2007-12-10 20:36 robert - - * examples/osgviewerCocoa/ViewerCocoa.h, - examples/osgviewerCocoa/ViewerCocoa.mm: From Eric Wing, "For - osgviewerCocoa, a very simple change to allow toggling between - fullscreen mode and back between views. (To activate, double - click on - the view to toggle.) It demonstrates/uses the new one-liner - fullscreen - method introduced in Leopard. Code will still compile and run in - pre-Leopard (thanks to Obj-C dynamic/late binding), but code path - is - treated as a no-op in those cases." - -2007-12-10 20:35 robert - - * src/osgText/Text.cpp, src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BoundingBox.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/CameraView.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/DeleteHandler.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/Geode.cpp, src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/Group.cpp, src/osgWrappers/osg/LOD.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Object.cpp, src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture2DArray.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Timer.cpp, src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/Uniform.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/Viewport.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/osgSim/ElevationSlice.cpp, - src/osgWrappers/osgSim/HeightAboveTerrain.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/LineOfSight.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/Locator.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/osgText/String.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers - -2007-12-10 20:33 robert - - * src/osg/Material.cpp: From Richard Schmidt, fix on ordering to be - standard OpenGL way. - -2007-12-10 20:30 robert - - * include/osgUtil/CullVisitor, src/osgUtil/CullVisitor.cpp, - src/osgUtil/SceneView.cpp: From Richard Schmidt, "attached you - will find a set of small fixes and features. - - - - CullVisitor/SceneView: - - *Feature: This version supports multiple clearnodes in the graph, - one per renderstage. - - - - Text: - - *Feature: Performance Enhancement when calling SetBackdropColor - - - - Material: - - *Fix: OpenGL calls are now made according to the OpenGL Standard - - " - -2007-12-10 20:27 robert - - * src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/obj/obj.cpp, src/osgPlugins/obj/obj.h: From Ulrich - Hertlein, "attached are some fixes and tweaks I made to the .obj - loader: - - Material class contained both 'shininess' and 'Ns' member - variables - - 'Ns' and 'Ni' are initialized to 0 ('Ni' is unused at the - moment) - - only 'Ns' was read from .mtl file but 'shininess' was used for - osg::Material - - 'illum' was read from .mtl file but never used; it is now used - as follows - -- illum==0 -> no osg::Material created/attached therefore no - lighting - -- illum==1 -> osg::Material specular is set to black - -- illum==2 (default) -> specular read from .mtl file is used - - 'map_Kd' and 'map_Ks' may contain additional arguments (e.g. - '-s 1 1 1'), - these are now skipped over and the texture filename is properly - extracted - " - -2007-12-10 19:51 robert - - * src/osgPlugins/osgText/IO_TextBase.cpp: From David Callu, IO - support for Text3D - -2007-12-10 19:49 robert - - * include/osgText/Text3D: From David Callu, Text3D - -2007-12-10 17:30 robert - - * applications/osgarchive/osgarchive.cpp, - applications/osgconv/osgconv.cpp, examples/osgcatch/osgcatch.cpp, - examples/osgdelaunay/osgdelaunay.cpp, - examples/osgdepthpeeling/DePee.cpp, - examples/osgdepthpeeling/osgdepthpeeling.cpp, - examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osgimpostor/osgimpostor.cpp, - examples/osglogo/osglogo.cpp, examples/osgmovie/osgmovie.cpp, - examples/osgpagedlod/osgpagedlod.cpp, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgplanets/osgplanets.cpp, - examples/osgpoints/osgpoints.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgslice/osgslice.cpp, - examples/osgspheresegment/osgspheresegment.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgunittests/osgunittests.cpp, - examples/osgvolume/osgvolume.cpp, include/osg/ApplicationUsage, - include/osg/ArgumentParser, include/osg/Billboard, - include/osg/BlendColor, include/osg/BlendEquation, - include/osg/BlendFunc, include/osg/BoundingBox, - include/osg/BufferObject, include/osg/Camera, - include/osg/CameraView, include/osg/ClampColor, - include/osg/CollectOccludersVisitor, include/osg/CullSettings, - include/osg/DeleteHandler, include/osg/Depth, - include/osg/Drawable, include/osg/Export, include/osg/Fog, - include/osg/FragmentProgram, include/osg/FrameStamp, - include/osg/FrontFace, include/osg/Geode, include/osg/Geometry, - include/osg/GraphicsContext, include/osg/GraphicsThread, - include/osg/Group, include/osg/Hint, include/osg/LOD, - include/osg/Light, include/osg/LightModel, include/osg/Math, - include/osg/Matrixd, include/osg/Matrixf, - include/osg/Multisample, include/osg/Node, - include/osg/NodeVisitor, include/osg/Object, include/osg/Plane, - include/osg/Point, include/osg/PolygonMode, - include/osg/PolygonOffset, include/osg/Polytope, - include/osg/PrimitiveSet, include/osg/ProxyNode, - include/osg/Referenced, include/osg/Sequence, include/osg/Shader, - include/osg/ShadowVolumeOccluder, include/osg/ShapeDrawable, - include/osg/State, include/osg/StateAttribute, - include/osg/StateSet, include/osg/StencilTwoSided, - include/osg/TemplatePrimitiveFunctor, include/osg/TexEnvFilter, - include/osg/TexGen, include/osg/Texture, include/osg/Texture1D, - include/osg/Texture2D, include/osg/Texture2DArray, - include/osg/Texture3D, include/osg/TextureRectangle, - include/osg/Timer, include/osg/Transform, - include/osg/TriangleFunctor, include/osg/Uniform, - include/osg/Vec2b, include/osg/Vec2d, include/osg/Vec2s, - include/osg/Vec3b, include/osg/Vec3d, include/osg/Vec3f, - include/osg/Vec3s, include/osg/Vec4b, include/osg/Vec4d, - include/osg/Vec4f, include/osg/Vec4s, include/osg/Vec4ub, - include/osg/VertexProgram, include/osg/Viewport, - include/osg/io_utils, include/osgDB/DatabasePager, - include/osgDB/Export, include/osgDB/FileUtils, - include/osgDB/Registry, include/osgDB/SharedStateManager, - include/osgGA/AnimationPathManipulator, include/osgGA/EventQueue, - include/osgGA/GUIActionAdapter, include/osgGA/GUIEventAdapter, - include/osgGA/GUIEventHandler, - include/osgGA/KeySwitchMatrixManipulator, - include/osgGA/MatrixManipulator, - include/osgGA/NodeTrackerManipulator, - include/osgGA/TerrainManipulator, - include/osgGA/TrackballManipulator, include/osgGA/UFOManipulator, - include/osgShadow/ShadowTechnique, include/osgSim/ElevationSlice, - include/osgSim/HeightAboveTerrain, include/osgSim/ImpostorSprite, - include/osgSim/LineOfSight, include/osgTerrain/Locator, - include/osgTerrain/Terrain, include/osgTerrain/TerrainTechnique, - include/osgText/Font, include/osgText/String, - include/osgText/Text, include/osgUtil/IntersectionVisitor, - include/osgUtil/LineSegmentIntersector, - include/osgUtil/PlaneIntersector, - include/osgUtil/PolytopeIntersector, - include/osgViewer/CompositeViewer, include/osgViewer/Export, - include/osgViewer/GraphicsWindow, include/osgViewer/Scene, - include/osgViewer/View, include/osgViewer/Viewer, - include/osgViewer/ViewerBase, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/Win32/PixelBufferWin32, - src/osg/AnimationPath.cpp, src/osg/ApplicationUsage.cpp, - src/osg/ClipNode.cpp, src/osg/CullingSet.cpp, - src/osg/DeleteHandler.cpp, src/osg/DrawPixels.cpp, - src/osg/Drawable.cpp, src/osg/FrameBufferObject.cpp, - src/osg/Geode.cpp, src/osg/Geometry.cpp, - src/osg/GraphicsContext.cpp, src/osg/GraphicsThread.cpp, - src/osg/Node.cpp, src/osg/OperationThread.cpp, - src/osg/PolygonOffset.cpp, src/osg/PolygonStipple.cpp, - src/osg/Program.cpp, src/osg/Referenced.cpp, - src/osg/ShapeDrawable.cpp, src/osg/State.cpp, - src/osg/StateSet.cpp, src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureRectangle.cpp, - src/osg/View.cpp, src/osg/dxtctool.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/DotOsgWrapper.cpp, - src/osgDB/Registry.cpp, src/osgGA/DriveManipulator.cpp, - src/osgGA/TerrainManipulator.cpp, - src/osgManipulator/Projector.cpp, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/ive/DrawArrayLengths.cpp, - src/osgPlugins/ive/DrawElementsUByte.cpp, - src/osgPlugins/ive/DrawElementsUInt.cpp, - src/osgPlugins/ive/DrawElementsUShort.cpp, - src/osgPlugins/normals/Normals.cpp, - src/osgPlugins/osgViewer/View.cpp, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/ShadowMap.cpp, src/osgShadow/ShadowTexture.cpp, - src/osgShadow/SoftShadowMap.cpp, src/osgSim/Impostor.cpp, - src/osgSim/LineOfSight.cpp, src/osgSim/SphereSegment.cpp, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp, - src/osgTerrain/TerrainTechnique.cpp, src/osgText/DefaultFont.cpp, - src/osgText/Font.cpp, src/osgText/String.cpp, - src/osgText/Text.cpp, src/osgUtil/IntersectVisitor.cpp, - src/osgUtil/IntersectionVisitor.cpp, src/osgUtil/Optimizer.cpp, - src/osgUtil/PlaneIntersector.cpp, src/osgUtil/RenderBin.cpp, - src/osgUtil/RenderStage.cpp, src/osgUtil/Simplifier.cpp, - src/osgUtil/Tessellator.cpp, src/osgUtil/TriStripVisitor.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerEventHandlers.cpp: - From Roland Smeenk, "Attached you will find a large set of small - typo fixes (mainly in the comments)." - -2007-12-10 16:21 robert - - * src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/Font3D.cpp, - src/osgWrappers/osgText/KerningType.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgText/Text3D.cpp, - src/osgWrappers/osgText/TextBase.cpp: Updated wrappers - -2007-12-10 16:14 robert - - * applications/osgconv/osgconv.cpp: Added osgViewerGetVersion() - usage to force Windows to link osgViewer. - -2007-12-10 15:15 robert - - * examples/CMakeLists.txt, examples/osgtext3D, - examples/osgtext3D/CMakeLists.txt, - examples/osgtext3D/osgtext3D.cpp, include/osgText/Font, - include/osgText/Font3D, include/osgText/KerningType, - include/osgText/Text, include/osgText/TextBase, - src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeFont3D.cpp, - src/osgPlugins/freetype/FreeTypeFont3D.h, - src/osgPlugins/freetype/FreeTypeFontBase.cpp, - src/osgPlugins/freetype/FreeTypeFontBase.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/osgText/CMakeLists.txt, - src/osgPlugins/osgText/IO_Text.cpp, - src/osgPlugins/osgText/IO_Text3D.cpp, src/osgText/CMakeLists.txt, - src/osgText/Font.cpp, src/osgText/Font3D.cpp, - src/osgText/Text.cpp, src/osgText/Text3D.cpp, - src/osgText/TextBase.cpp: From David Callu, added support of 3D - text to osgText and associated plugins. - -2007-12-10 12:45 robert - - * src/osgPlugins/shp/ESRIShapeReaderWriter.cpp: From David Callu, - added support for automatically reading associate dbase files - -2007-12-10 12:00 robert - - * src/osgPlugins/shp/XBaseParser.cpp: Char char[] to char* with new - allocation. - -2007-12-10 11:34 robert - - * src/osgPlugins/shp/XBaseParser.cpp: Refactored record allocation - to fix build errors under Windows. - -2007-12-10 11:20 robert - - * include/osgSim/ShapeAttribute: Added export macro for windows - build - -2007-12-10 10:16 robert - - * src/osg/DisplaySettings.cpp, src/osg/Image.cpp: Added - include to fix compile errors under gcc 4.3 - -2007-12-09 16:38 robert - - * src/osgPlugins/shp/ESRIShape.cpp, src/osgPlugins/shp/ESRIShape.h, - src/osgPlugins/shp/ESRIShapeParser.cpp: From Gustavo Wagner, - fixed bugs in reading M records from shapefile - -2007-12-09 16:29 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Gino van den - Bergen, "I've added the following features to the OSG VRML - plugin: - * Support for Box, Sphere, Cone, and Cylinder. These nodes are - converted - to osg::Geometry conform the VRML97 spec. - * Backface culling is enabled/disabled according to the "solid" - flag for - geometries that are converted from IndexFaceSets. - * PROTO instances can now be used for "appearance" and "geometry" - fields - in a Shape node. - - The file ReaderWriterVRML2.cpp is adapted for the latest stable - public - release: - - http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.2.0 - - The changes where needed for being able to read VRML file which - are - output by VMD (http://www.ks.uiuc.edu/Research/vmd/). A sample - VRML file - is enclosed in this submission. - - The plugin has been tested against a number of VRML samples that - include - texturing. The texturing is found to be VRML97 compliant for all - added - geometry nodes. - " - -2007-12-09 16:23 robert - - * include/osgSim/OpenFlightOptimizer, src/osgSim/CMakeLists.txt, - src/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp: Removed redundent - OpenFlightOptimizer - -2007-12-09 16:14 robert - - * src/osg/Texture2DArray.cpp: From Ralf Karn, fixed "invalid - enumerant" warning on TEXTURE_2D_ARRAY_EXT initialization - -2007-12-09 16:06 robert - - * src/osgShadow/ShadowMap.cpp: From Mihai Radu, "After someone - asked for a fix for non-textured object appearing black - with the shader for textured objects. This works very well in - cases - where there could be a mix of textured and non-textured objects - in the - scene, and it makes the initialization more robust. - The idea is from PSSM, to add a 1pixel texture to the main - rendering as - to provide white for any objects missing textures." - -2007-12-09 16:01 robert - - * src/osgWrappers/osgSim/ShapeAttribute.cpp: Updated wrappers - -2007-12-09 15:43 robert - - * include/osgSim/ShapeAttribute, - src/osgPlugins/osgSim/CMakeLists.txt, - src/osgPlugins/osgSim/IO_ShapeAttribute.cpp, - src/osgPlugins/shp/CMakeLists.txt, - src/osgPlugins/shp/ESRIShape.h, src/osgPlugins/shp/ESRIType.h, - src/osgPlugins/shp/XBaseParser.cpp, - src/osgPlugins/shp/XBaseParser.h, src/osgSim/CMakeLists.txt, - src/osgSim/ShapeAttribute.cpp: From David Callu, added DBase - attribute support for shapefiles - -2007-12-09 14:54 robert - - * include/osg/Hint, src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/ClipPlane.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/Light.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/osgUtil/PolytopeIntersector.cpp, - src/osgWrappers/osgUtil/Statistics.cpp: Updated wrappers - -2007-12-09 12:19 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Aderian Egli, changed - the window dimension clamping code to work independantly for - width and height. - -2007-12-08 17:10 robert - - * src/osg/StateSet.cpp: From Mario Guimaraes, "Currently, in the - StateSet::merge method, the rhs state attributes and - modes are not merged into the lhs state when the rhs is - PROTECTED. The - changes I'm providing here address this problem." - -2007-12-08 17:04 robert - - * src/osgPlugins/CMakeLists.txt, src/osgWrappers/CMakeLists.txt: - From Serge Lages, "Hi Robert, - - You were right about the CMAKE_MODULE_LINKER_FLAGS option for - CMake, so here is a modification allowing to not generate the - manifest files for the plugins making them a lot more easy to - redistribute. I have also made the same modification to the - wrappers as they are also put into the osgPlugin folder when - generated. - " - -2007-12-08 17:00 robert - - * src/osg/Geometry.cpp: from Paul Matz, "Understood. Well, I think - it's reasonable to assume that the non-env var - case is the more tested case, and therefore it is correct to set - _supportsVertexBufferObjects to the same value as _fastPath. So - here's a - change that does the same thing for the env var case." - -2007-12-08 16:52 robert - - * src/osgPlugins/dae/CMakeLists.txt: From Jeremy Moles, Anders - Backman and Robert Osfield, - - both Jeremy and Anders added static build support as an option, - but one was - for Unix and one for Windowsm, but the two mods were also - inconsitent in naming - and implementation. I have had a bash at merging them both, but - don't know yet - if these changes will work yet on either configuration... user - testing will tell... - -2007-12-08 16:37 robert - - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - include/osgUtil/PolytopeIntersector, - src/osgUtil/PolytopeIntersector.cpp: From Peter Hrenka, "Due to - popular demand I would like to submit this - enhanced version of PolytopeIntersector. - - - New features of PolytopeIntersector : - - * Dimension mask: The user may specify the dimensions of the - primitives to be tested. Checking polytope-triangle and - polytope-quad intersections is rather slow so this can - be turned off. - * Reference plane: The resulting intersections are sorted - by the distance to this plane. - - New memebers of PolytopeIntersector::Intersection : - - * distance: Distance of localIntersectionPoint to the reference - plane - * maxDistance: Maximum distance of all intersectionPoints to the - reference plane. - * intersectionPoints: The points intersecting the planes of the - polytope - or points completely inside the polytope. - * localIntersectionPoint: arithmetic mean of all intersection - points - * primitiveIndex: Index of the primitive that intersected - - - I added some more output to the example osgkeyboardmouse." - -2007-12-08 15:46 robert - - * examples/osgviewerQT/AdapterWidget.cpp, - examples/osgviewerQT/CMakeLists.txt, - examples/osgviewerQT/QOSGWidget.cpp, - examples/osgviewerQT/osgviewerQT.cpp: From David Cullu and Robert - Osfield, David addded a new style of OSG integration with QT by - sublcassing from QTWidget and using osgViewer to create the - graphics context, Robert added integration of this codes - with the original AdapterWidget implementation still available by - default. The new implementation can be accessed by running: - - osgviewerQT cow.osg --QOSGWidget - - -2007-12-08 15:32 robert - - * src/osgPlugins/quicktime/QTUtils.h: From Daniel Larimer, "There - was a error with QTUtils.h when compiling on HFS case-sensitive - file system. The #include line needs to be - replaced with #include to avoid compile problems on some systems. - -2007-12-07 13:28 robert - - * src/osgPlugins/OpenFlight/RoadRecords.cpp: From Tony Horrobin, - "Attached is a small fix for the openflight loader with regard to - road - segment and construction records. - - It just uses the id field to set the name of the osg node as with - other - types." - -2007-12-07 13:19 robert - - * src/osgDB/DatabasePager.cpp: From Paul Martz, minor typo fixes in - notify messages - -2007-12-06 17:53 robert - - * examples/osgmovie/osgmovie.cpp: From Bob Kuehne, added extra - event handlers - -2007-12-06 17:44 robert - - * src/osgPlugins/bmp/ReaderWriterBMP.cpp: From Farshid Lashkari, - "The bmp writer crashes in certain cases. It happens when the - computed - size of the image data is greater than the actual image size. - This - causes the memcpy call to go out of the array bounds. I modified - the - code so that it copies the data during the iteration, instead of - memcpy'ing. This fixes the problems i was having. - - If you are curious, the writer was crashing when trying to write - an - RGB image that was 2050 x 1280. You might be able to reproduce it - by - allocating an empty image of that size and writing it to a file." - -2007-12-06 17:41 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Hautio Jari, "Current - version of GraphicsWindowWin32 allows resize to zero height - window. This breaks rendering in for example MFC SDI applications - and in - MFC MDI applications if user resizes the window so that client - area has - zero height. Current safeguard for minimized window: - - LRESULT GraphicsWindowWin32::handleNativeWindowingEvent( HWND - hwnd, UINT - uMsg, WPARAM wParam, LPARAM lParam ) - ... - ///////////////// - case WM_MOVE : - case WM_SIZE : - ///////////////// - ... - if (clientRect.bottom==0 && clientRect.right==0) - ... - - does not cover this situation. In these situations - clientRect.bottom = 0 - and clientRect.right > 0. - - Quick fix to this is relax condition: - if (clientRect.bottom==0 || clientRect.right==0) - - Modified file is attached. - - Tested with osgviewerMFC from 2.2.0 release (Windows XP sp2) - - Before fix: - - execute from command line osgviewerMFC.exe cow.osg. - - the cow is rendered nicely. - - resize window to zero height by dragging from bottom border - upwards. - - resize window back to original height - - just blue screen, no cow - - After fix: - - execute from command line osgviewerMFC.exe cow.osg. - - the cow is rendered nicely. - - resize window to zero height by dragging from bottom border - upwards. - - resize window back to original height - - the cow is where it is supposed to be. - " - -2007-12-06 17:31 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp: From - Serge Lages, "Here are some modifications to the DatabasePager, - with the possibility to : - - - Get or set the target number of PagedLOD children to remove per - frame. - - Get or set the minimum number of inactive PagedLOD to keep. - - Corresponding environment variables have been added too. - The default values reproduce the previous DatabasePager - behavior." - -2007-12-06 17:28 robert - - * include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: From Cedric Pinson, fixes - for toggle fullscreen on gnome desktop - -2007-12-06 17:07 robert - - * examples/osgfadetext/CMakeLists.txt: From Mathias Froehlich, "n - examples/osgfadetext/CMakeLists.txt osgSim as dependency is - missing." - -2007-12-06 17:03 robert - - * src/osgPlugins/hdr/hdrwriter.cpp, src/osgPlugins/hdr/hdrwriter.h: - From Mathias Froehlich, "Add missing includes. Fails on hp-ux." - -2007-12-06 17:01 robert - - * examples/osgunittests/osgunittests.cpp: From Mathias Froehlich, - "Attached is a changed version of osgunittests.cpp. The - __FUNCTION__ - macro/string value is not portable. Instead the functions name is - just put - into the string." - -2007-12-06 16:50 robert - - * src/osgDB/Registry.cpp: From Wojiech Leandowski, fixed the - hardwiring of archive extensions to 4 charaters - -2007-12-06 10:04 robert - - * src/osgPlugins/cfg/ReaderWriterCFG.cpp: Fixed crash in cfg by - rearranging the code blocks so the codes that use the graphics - context are only called when a graphics context is successfully - aquired. - -2007-12-06 09:22 robert - - * src/osgPlugins/cfg/CMakeLists.txt: From Ulrich Hertlein, added - osgViewer dependency for OSX build - -2007-12-05 18:32 robert - - * src/osgPlugins/cfg/RenderSurface.cpp: Changed WIN32 guard to - _WIN32_IMPLEMENTATION to attempt to avoid Win32 build error - -2007-12-05 11:29 robert - - * src/osgPlugins/cfg/ReaderWriterCFG.cpp: Removed debugging line. - -2007-12-05 11:23 robert - - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/cfg, - src/osgPlugins/cfg/CMakeLists.txt, src/osgPlugins/cfg/Camera.cpp, - src/osgPlugins/cfg/Camera.h, src/osgPlugins/cfg/CameraConfig.cpp, - src/osgPlugins/cfg/CameraConfig.h, - src/osgPlugins/cfg/ConfigLexer.cpp, - src/osgPlugins/cfg/ConfigLexer.l, - src/osgPlugins/cfg/ConfigParser.cpp, - src/osgPlugins/cfg/ConfigParser.h, - src/osgPlugins/cfg/ConfigParser.y, - src/osgPlugins/cfg/FlexLexer.h, - src/osgPlugins/cfg/ReaderWriterCFG.cpp, - src/osgPlugins/cfg/RenderSurface.cpp, - src/osgPlugins/cfg/RenderSurface.h, - src/osgPlugins/cfg/VisualChooser.cpp, - src/osgPlugins/cfg/VisualChooser.h: From Cedric Pinson, first cut - at Producer .cfg camera configuration file support. +Wed, 30 Mar 2011 15:15:07 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, Fixes to race in DatabasePager where a parent PagedLOD of newly loaded subgraph has been expired.Clean up of visitor naming to make it clearer what role it has. -2007-12-04 14:46 robert - * include/osg/Drawable, include/osg/PrimitiveSet, - include/osg/TemplatePrimitiveFunctor, - include/osg/TriangleFunctor, include/osg/TriangleIndexFunctor, - include/osgUtil/Statistics, src/osg/Drawable.cpp, - src/osg/Geometry.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.cpp, - src/osgUtil/Optimizer.cpp: Added support for new double Vec*Array - classes in various functors. -2007-12-04 14:46 robert - * src/osgPlugins/shp/ESRIShapeParser.cpp, - src/osgPlugins/shp/ESRIShapeParser.h, - src/osgPlugins/shp/ESRIShapeReaderWriter.cpp: Added optional - double support via new Vec3dArray support in osg::Geometry. - - To enable double usage set the option string "double" i.e. - - osgviewer myshapefile.shf -O "double" - -2007-12-04 14:44 robert +Wed, 23 Mar 2011 14:01:58 +0000 +Checked in by : Robert OSFIELD +Added m4v as a handled movie file extension - * src/osgPlugins/osg/Geometry.cpp: Added support for double - Vec*Array objects +Mon, 21 Mar 2011 21:28:35 +0000 +Checked in by : Robert OSFIELD +Added dciimage library to DCMTK libs -2007-12-04 14:44 robert +Mon, 21 Mar 2011 21:28:02 +0000 +Checked in by : Robert OSFIELD +Improved handling of RGB data. - * include/osg/Array, src/osg/Array.cpp: Added double Vec*Array - support +Sat, 19 Mar 2011 16:25:01 +0000 +Checked in by : Robert OSFIELD +Added .get() to fix build -2007-12-04 14:43 robert +Fri, 18 Mar 2011 12:21:58 +0000 +Checked in by : Robert OSFIELD +Adde an isFileADicom(..) method to enable the loader to automatically identifier dicom files without making any assumptions about the file extension - * examples/osgunittests/osgunittests.cpp: Added testPolytope entry +Fri, 18 Mar 2011 11:23:39 +0000 +Checked in by : Robert OSFIELD +Added extra DCMTK libraries to search and link line to enable build against new DCMTK-3.6.0 release -2007-12-01 15:30 robert +Thu, 17 Mar 2011 17:33:02 +0000 +Checked in by : Robert OSFIELD +Added support for new SampleDensityWhenMovingProperty into .p3d format, with it default to 0.02.One can override this value via the sampleDensityWhenMoving="value" property in the volume tag, i.e. - * include/osg/Polytope: Fixed the Polytop::setFrustum and - setBoundingBox method + CardiacCT -2007-11-21 10:18 robert +To switch the feature off set the value to 0, i.e. - * src/osg/GraphicsContext.cpp: Added a check against the - makeCurrent() return type to make sure that OpenGL - calls are only made if the makeCurrent() is successful. + CardiacCT -2007-11-17 11:50 robert - * examples/osgmovie/osgmovie.cpp: From Colin Dunlop, add --devices - support. -2007-11-13 17:03 robert - * src/osgPlugins/osgTerrain/Terrain.cpp: Added support for filename - only setup of CompositeLayer on reading/writing. +Thu, 17 Mar 2011 15:37:39 +0000 +Checked in by : Robert OSFIELD +Added SampleDensityWhenMovingProperty to control LOD property of osgVolume. -2007-11-10 03:43 ewing +Thu, 17 Mar 2011 13:56:27 +0000 +Checked in by : Robert OSFIELD +Changed the view movement detection code so that it uses the new CullVisitor::Identifier to indentifier cull traversals, this enables the code to properly detect movement when osgViewer::Renderer uses double buffering of SceneView. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - Added missing files for qt plugin +Thu, 17 Mar 2011 13:54:54 +0000 +Checked in by : Robert OSFIELD +Added set up of CulLVisitor::Identifier so that the double buffered SceneView/CullVisitor share the same Identifier. -2007-11-09 20:04 ewing +Thu, 17 Mar 2011 13:54:14 +0000 +Checked in by : Robert OSFIELD +Added CullVisitor::Identifier to help with cull operations that require a consistent identifier for cull traveresals when osgViewer::Renderer uses double buffering. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - For osgdb_freetype: - Ugh. Another fix for the cycle problem. It seems that the SDKROOT - didn't necessarily solve the problem, but there were some - unneeded library dependencies that weren't in my test fork which - allowed my test to work, but caused SVN to fail. - I have removed some of the excess libraries and it seems to build - without the Q&A fix. +Thu, 17 Mar 2011 11:49:22 +0000 +Checked in by : Robert OSFIELD +First cut at LOD support in RayTracedTechnique, which lowers the number of samples taken when the view of the volume is changing. -2007-11-09 13:16 ewing +Wed, 16 Mar 2011 13:48:09 +0000 +Checked in by : Robert OSFIELD +From Torben Dannhauer, "adds an additional library name of libpng ( libpng15 ) to search fo" - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - OpenThreads Version header was mistakenly in Resources. - - osg Texture2DArray header was mistakenly in Resources. +Wed, 16 Mar 2011 13:41:39 +0000 +Checked in by : Robert OSFIELD +From Alan Dickinson,"I tested out my changes against the trunk and everything worked fine... except I noticed that the CMAKE_BUILD_POSTFIX is set incorrectly for a undefined or blank BUILD_TYPE.So here is the one line change to the CMakeLists.txt to rectify this omission." -2007-11-09 02:21 ewing - * Xcode/OSX_OSG_README.rtf: Lots of Leopard information added. -2007-11-08 10:30 robert - * src/osgPlugins/quicktime/QuicktimeLiveImageStream.h: From Colin - Dunlop, added missing header (note from Robert Osfield, this - submission was extracted from an inline submission so may be - prone to errors). +Wed, 16 Mar 2011 10:51:42 +0000 +Checked in by : Robert OSFIELD +Added hud and billboard support to image, stereo_image, pdf, browser and vnc image placement -2007-11-08 10:30 ewing +Tue, 15 Mar 2011 19:54:57 +0000 +Checked in by : Robert OSFIELD +Added support hud property for title, bullets and paragraph tags - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - For Leopard freetype, path is $(SDKROOT)/usr/X11/lib not X11R6. +Tue, 15 Mar 2011 14:04:50 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Fixed a case where getUniqueName() does not work properly" -2007-11-06 12:07 robert +Tue, 15 Mar 2011 14:02:39 +0000 +Checked in by : Robert OSFIELD +From Torben Dannhauer, update to reflect addition of NVTT to Windows 3rdPartyPackage - * src/osgPlugins/quicktime/CMakeLists.txt, - src/osgPlugins/quicktime/QTLiveUtils.cpp, - src/osgPlugins/quicktime/QTLiveUtils.h, - src/osgPlugins/quicktime/QuicktimeLiveImageStream.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp: From Colin Dunlop, - add live video stream support +Tue, 15 Mar 2011 13:53:59 +0000 +Checked in by : Robert OSFIELD +Added checked against GL version number for enabled _isTexture3DSupported. -2007-11-04 16:08 robert +Tue, 15 Mar 2011 13:40:13 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * examples/osgmovie/osgmovie.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp: Added support for - setting volume in xine plugin, manual adjustment of volume - in osgmove example, and clamping to 0 to 1.0 range in quicktime - plugin +Tue, 15 Mar 2011 13:30:27 +0000 +Checked in by : Robert OSFIELD +Added OSG_EXPORT to declaration of View::Slave. -2007-11-04 15:21 robert +Tue, 15 Mar 2011 12:48:40 +0000 +Checked in by : Robert OSFIELD +Re-enabled the fallback compute of bounding volume. - * src/osgPlugins/txp/CMakeLists.txt: Changed the include definition - so that it works under Cygwin. +Tue, 15 Mar 2011 12:26:16 +0000 +Checked in by : Robert OSFIELD +Fixed updating of text position when PositionData.position is not modified by tag but other elements of PositionData are - such as when billboarding -2007-11-03 10:32 robert +Mon, 14 Mar 2011 21:36:32 +0000 +Checked in by : Robert OSFIELD +Implemented billboard="on" option for image, bullet and paragraph tags - * src/osg/View.cpp: Fixed bug in addSlave +Mon, 14 Mar 2011 11:29:08 +0000 +Checked in by : Robert OSFIELD +Added support for placing comments at end of each line. -2007-10-31 12:55 robert +Mon, 14 Mar 2011 10:07:15 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "Another update. I added a LIMIT_NEAREST enum which implements your previous suggestion of rejecting bounding volumes further from the nearest existing intersection. I only implemented this for LineSegmentIntersector. I'd appreciate it if you could double check the math I added to LineSegmentIntersector::intersects() for checking if the bounding sphere is further away. The results of this are promising. I'm getting noticeable performance increase for line intersections with scenes containing many drawables. " - * src/osgViewer/View.cpp: Changed the spherical display intensity - map set up to use colours rather than - a second texture unit. +Mon, 14 Mar 2011 09:59:32 +0000 +Checked in by : Robert OSFIELD +From Torben Dannhauer, warning fix for a false positive warning generated by VS about "not all control pathes return a value". -2007-10-31 12:55 robert +Fri, 11 Mar 2011 17:20:24 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, removal of redundent spaces at the end of lines. - * include/osg/Image, src/osg/Image.cpp: Added getColor method to - allow easy reading of individual pixels. +Fri, 11 Mar 2011 16:31:01 +0000 +Checked in by : Robert OSFIELD +From Benjamin Wasty and David Guthrie, "currently, non-alpha-numeric keys are not recognized (except as modifiers) in osgQt, so I added the mapping code from my Qt integration to GraphicsWindowQt (which is based on Delta3D code from David Guthrie - he gave me permission to submit it under OSGPL)." -2007-10-31 11:06 robert +Fri, 11 Mar 2011 11:25:19 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Added support for texcoords scale and offset (UV scaling and offset in Lib3DS Materials), for texture unit 0." - * src/osgViewer/View.cpp: Fixed wrap mode for panoramic display. +Fri, 11 Mar 2011 11:20:30 +0000 +Checked in by : Robert OSFIELD +Fixed the case insenstive search under unices -2007-10-30 14:17 robert +Fri, 11 Mar 2011 10:24:12 +0000 +Checked in by : Robert OSFIELD +From Mourad Boufarguine, "There is a redundant cmake code at the end of osgViewer cmake script. The install command is issued in SETUP_LIBRARY macro." "I spotted this when i tried a make install on the android port :) I saw some weird copy commands of osgViewer headers. I managed to get all osg headers copied to cmake_install_prefix/include upon make install, but i can't (yet) get the libraries to be copied to cmake_install_prefix/lib (see attached files)" - * src/osgPlugins/osgTerrain/Terrain.cpp: Changed debug message from - NOTICE to INFO. +Fri, 11 Mar 2011 10:18:43 +0000 +Checked in by : Robert OSFIELD +From Alan Dickinson, "I modified the CPack and CMake files to utilze the CMAKE_INSTALL_PREFIX when building RPM packages.I also modified the CMake and pkgconfig files to append the _POSTFIX extenstion based on the CMAKE_BUILD_TYPE. -2007-10-29 00:36 ewing +Additionally I fixed packaging/ld.so.conf.d/openscenegraph.conf.in to add a '/' betweeen the arguments since the CMAKE_INSTALL_PREFIX can't end with a '/'. +" - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - Fix for freetype plugin to be aware of SDKs (i.e. use SDKROOT). -2007-10-25 09:00 robert - * src/osgPlugins/osgFX/CMakeLists.txt: Fixed the capitilization of - the osgdb_osgfx plugin - -2007-10-19 09:58 robert - - * src/osg/Geometry.cpp: Fixed errors is setup of VBO/EBO's. - -2007-10-19 08:42 robert - - * src/osg/View.cpp: Fix for setting scene data after slaves have - been added. - -2007-10-19 08:39 robert - - * src/osg/Geometry.cpp: Fixed getOrCreateVertexBufferObject(). - -2007-10-17 19:01 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Removed redundent - X11/Intrinsic include - -2007-10-16 19:04 robert - - * src/osgDB/Registry.cpp: Added flv to accepted list video format - for the quicktime and xine-lib plugins - -2007-10-16 19:03 robert - - * src/osgPlugins/quicktime/ReaderWriterQT.cpp: Added flv to - accepted list of formats - -2007-10-16 19:01 robert - - * src/osgPlugins/xine/ReaderWriterXine.cpp: Added flv to the list - of accepted movie types - -2007-10-05 11:48 ewing - - * Xcode/OpenSceneGraph/os-Info.plist, - Xcode/OpenSceneGraph/osg-Info.plist, - Xcode/OpenSceneGraph/osgDB-Info.plist, - Xcode/OpenSceneGraph/osgFX-Info.plist, - Xcode/OpenSceneGraph/osgGA-Info.plist, - Xcode/OpenSceneGraph/osgGL2-Info.plist, - Xcode/OpenSceneGraph/osgGLUTkeyboardmouse-Info.plist, - Xcode/OpenSceneGraph/osgGLUTsimple-Info.plist, - Xcode/OpenSceneGraph/osgManipulator-Info.plist, - Xcode/OpenSceneGraph/osgParticle-Info.plist, - Xcode/OpenSceneGraph/osgShadow-Info.plist, - Xcode/OpenSceneGraph/osgSim-Info.plist, - Xcode/OpenSceneGraph/osgTerrain-Info.plist, - Xcode/OpenSceneGraph/osgText-Info.plist, - Xcode/OpenSceneGraph/osgUtil-Info.plist, - Xcode/OpenSceneGraph/osgViewer-Info.plist, - Xcode/OpenSceneGraph/osganimate-Info.plist, - Xcode/OpenSceneGraph/osgarchive-Info.plist, - Xcode/OpenSceneGraph/osgautotransform-Info.plist, - Xcode/OpenSceneGraph/osgbillboard-Info.plist, - Xcode/OpenSceneGraph/osgblendequation-Info.plist, - Xcode/OpenSceneGraph/osgcallback-Info.plist, - Xcode/OpenSceneGraph/osgcamera-Info.plist, - Xcode/OpenSceneGraph/osgcameragroup-Info.plist, - Xcode/OpenSceneGraph/osgcatch-Info.plist, - Xcode/OpenSceneGraph/osgclip-Info.plist, - Xcode/OpenSceneGraph/osgcluster-Info.plist, - Xcode/OpenSceneGraph/osgcompositeviewer-Info.plist, - Xcode/OpenSceneGraph/osgconv-Info.plist, - Xcode/OpenSceneGraph/osgcopy-Info.plist, - Xcode/OpenSceneGraph/osgcubemap-Info.plist, - Xcode/OpenSceneGraph/osgdb_freetype-Info.plist, - Xcode/OpenSceneGraph/osgdb_freetype2-Info.plist, - Xcode/OpenSceneGraph/osgdb_osgText-Info.plist, - Xcode/OpenSceneGraph/osgdelaunay-Info.plist, - Xcode/OpenSceneGraph/osgdepthpartition-Info.plist, - Xcode/OpenSceneGraph/osgdepthshadow-Info.plist, - Xcode/OpenSceneGraph/osgdistortion-Info.plist, - Xcode/OpenSceneGraph/osgfadetext-Info.plist, - Xcode/OpenSceneGraph/osgforest-Info.plist, - Xcode/OpenSceneGraph/osgfxbrowser-Info.plist, - Xcode/OpenSceneGraph/osggeometry-Info.plist, - Xcode/OpenSceneGraph/osghangglide-Info.plist, - Xcode/OpenSceneGraph/osghud-Info.plist, - Xcode/OpenSceneGraph/osgimposter-Info.plist, - Xcode/OpenSceneGraph/osgintrospection-Info.plist, - Xcode/OpenSceneGraph/osgkeyboard-Info.plist, - Xcode/OpenSceneGraph/osgkeyboardmouse-Info.plist, - Xcode/OpenSceneGraph/osglauncher-Info.plist, - Xcode/OpenSceneGraph/osglightpoint-Info.plist, - Xcode/OpenSceneGraph/osglist-Info.plist, - Xcode/OpenSceneGraph/osglogicop-Info.plist, - Xcode/OpenSceneGraph/osglogo-Info.plist, - Xcode/OpenSceneGraph/osgmanipulatorexample-Info.plist, - Xcode/OpenSceneGraph/osgmotionblur-Info.plist, - Xcode/OpenSceneGraph/osgmovie-Info.plist, - Xcode/OpenSceneGraph/osgmultitexture-Info.plist, - Xcode/OpenSceneGraph/osgocculder-Info.plist, - Xcode/OpenSceneGraph/osgpagedlod-Info.plist, - Xcode/OpenSceneGraph/osgparametric-Info.plist, - Xcode/OpenSceneGraph/osgparticleExample-Info.plist, - Xcode/OpenSceneGraph/osgparticleeffects-Info.plist, - Xcode/OpenSceneGraph/osgphotoalbum-Info.plist, - Xcode/OpenSceneGraph/osgpick-Info.plist, - Xcode/OpenSceneGraph/osgplanets-Info.plist, - Xcode/OpenSceneGraph/osgpoints-Info.plist, - Xcode/OpenSceneGraph/osgpointsprite-Info.plist, - Xcode/OpenSceneGraph/osgprecipitation-Info.plist, - Xcode/OpenSceneGraph/osgprerender-Info.plist, - Xcode/OpenSceneGraph/osgprerendercubemap-Info.plist, - Xcode/OpenSceneGraph/osgreflect-Info.plist, - Xcode/OpenSceneGraph/osgscalarbar-Info.plist, - Xcode/OpenSceneGraph/osgscribe-Info.plist, - Xcode/OpenSceneGraph/osgsequence-Info.plist, - Xcode/OpenSceneGraph/osgshaders-Info.plist, - Xcode/OpenSceneGraph/osgshaderterrain-Info.plist, - Xcode/OpenSceneGraph/osgshadowexample-Info.plist, - Xcode/OpenSceneGraph/osgshadowtexture-Info.plist, - Xcode/OpenSceneGraph/osgshape-Info.plist, - Xcode/OpenSceneGraph/osgsimplifier-Info.plist, - Xcode/OpenSceneGraph/osgsimulation-Info.plist, - Xcode/OpenSceneGraph/osgslice-Info.plist, - Xcode/OpenSceneGraph/osgslideshow-Info.plist, - Xcode/OpenSceneGraph/osgspacewarp-Info.plist, - Xcode/OpenSceneGraph/osgspheresegment-Info.plist, - Xcode/OpenSceneGraph/osgspotlight-Info.plist, - Xcode/OpenSceneGraph/osgstereoimage-Info.plist, - Xcode/OpenSceneGraph/osgteapot-Info.plist, - Xcode/OpenSceneGraph/osgtessellate-Info.plist, - Xcode/OpenSceneGraph/osgtextexample-Info.plist, - Xcode/OpenSceneGraph/osgtexture1D-Info.plist, - Xcode/OpenSceneGraph/osgtexture2D-Info.plist, - Xcode/OpenSceneGraph/osgtexture3D-Info.plist, - Xcode/OpenSceneGraph/osgtexturerectangle-Info.plist, - Xcode/OpenSceneGraph/osgunittests-Info.plist, - Xcode/OpenSceneGraph/osgversion-Info.plist, - Xcode/OpenSceneGraph/osgvertexprogram-Info.plist, - Xcode/OpenSceneGraph/osgviewerApplication-Info.plist, - Xcode/OpenSceneGraph/osgviewerGLUT-Info.plist, - Xcode/OpenSceneGraph/osgviewerSDL-Info.plist, - Xcode/OpenSceneGraph/osgvolume-Info.plist, - Xcode/OpenSceneGraph/osgwindows-Info.plist, - Xcode/OpenThreads/Info.plist: Forgot to bump version numbers to - 2.2.0. - -2007-10-05 11:28 ewing - - * Xcode/OSX_OSG_README.rtf, Xcode/XcodeTemplates/OSG - Application/osgApp_Prefix.pch: Needed to remove dead header from - precompiled header file. - Minor fixes to readme. - -2007-10-05 10:46 robert - - * include/osg/Texture: From Mathias Froehlich, "since we patched - our hp to an other patchlevel, I need the following to - include/osg/Texture" - -2007-10-05 09:10 robert - - * src/osgPlugins/hdr/hdrwriter.cpp, src/osgViewer/ViewerBase.cpp: - From Andy Skinner, build fixes for Solaris. - -2007-10-05 09:03 robert - - * examples/osgphotoalbum/osgphotoalbum.cpp: Changed the threading - model to single threaded. - -2007-10-04 11:24 robert - - * ChangeLog: Updated ChangeLog for 2.2 release - -2007-10-04 11:20 robert - - * include/osgGA/GUIActionAdapter, include/osgViewer/View, - src/osgWrappers/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/osgViewer/View.cpp: Added asView() method to - GUIActionAdapter to help out with .NET wrappers. Updated wrappers - -2007-10-04 10:05 robert - - * AUTHORS.txt, CMakeLists.txt, NEWS.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc, - packaging/pkgconfig/openthreads.pc: Updated version for 2.2 - release - -2007-10-04 08:54 robert - - * src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/DataSetLayer.h, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp: From Trajce Nikolov, - added support for extract a region for geospatial imagery - -2007-10-03 23:44 robert - - * AUTHORS.txt, ChangeLog, NEWS.txt, - applications/osgversion/osgversion.cpp: Updated ChangeLog, NEWS - and AUTHORS file for 2.1.15 release - -2007-10-03 23:27 robert - - * CMakeLists.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version for 2.1.15 - dev release - -2007-10-03 23:03 robert - - * src/osgText/Text.cpp: From Panagiotis Papadakos, "Setting the - maximum height of osgText doen't seem to work. If the text is - big enough, it exceeds the height that I gave as input to - setMaximumHeight. So check if cursor is out of -_maximumHeight." - -2007-10-03 23:01 robert - - * CMakeLists.txt: Added support for defining an option - OSG_GLU_TESS_CALLBACK_TRIPLEDOT within the - CMake build system, enabling this option will build the OSG - against the (...) version - of the tesselation callback functions. - - One can also set the default value of this option via the - DEFAULT_GLU_TESS_CALLBACK_TRIPLEDOT - variable that is set locally to OFF for all platforms except AIX - and OSX, but can - be overriden by setting it via command line option i.e. - - cmake . -DDDEFAULT_GLU_TESS_CALLBACK_TRIPLEDOT=ON - +Thu, 10 Mar 2011 14:53:39 +0000 +Checked in by : Robert OSFIELD +From Mourad Boufarguine, "I gave osg android port a try on Windows using cygwin, and it worked like a charm (only a tiny problem with osgViewer, when cross compiling for android using cygwin, the windows path in osgViewer/CMakeLists.txt is used rather than the android one, fix attached). " -2007-10-03 21:12 shuber +Thu, 10 Mar 2011 14:44:49 +0000 +Checked in by : Robert OSFIELD +From Mourad Boufarguine, "I gave projects folders in VS a try, it works for applications, plugins and examples but not for the osg core libraries. Attached OsgMacroUtils.cmake is a tiny fix for this. OpenThreads is addressed seperately." - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated XCode projects +Thu, 10 Mar 2011 10:56:12 +0000 +Checked in by : Robert OSFIELD +From Rafa Gaitan, "Attached the fix to remove the symlinks created with make install." -2007-10-03 20:21 robert +Thu, 10 Mar 2011 10:52:47 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, "I'm guessing that the stack corruption was caused by calling GetFullPathNameW with the nBufferLength argument as the number of bytes in the buffer, rather than the number of characters. I've attached code that uses GetFullPathNameW et al. with _countof() rather than sizeof() and this works fine." - * CMakeLists.txt, include/osg/GLU: Added - GLU_TESS_CALLBACK_TRIPLEDOT path into include/osg/GLU and enabled - this - for AIX as reading the old paths this was required. This looks - like it is needed - under Xcode build as well. +Wed, 9 Mar 2011 17:35:30 +0000 +Checked in by : Robert OSFIELD +Quitened down timing stats -2007-10-03 19:54 robert +Wed, 9 Mar 2011 16:30:48 +0000 +Checked in by : Robert OSFIELD +From Johannes Baeuerle, fix for memory leak - * src/osgDB/Registry.cpp: Removed double return error +Wed, 9 Mar 2011 15:55:35 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, "please, find attached updates to Inventor plugin:- improved transparency +- do not treat 32-bit textures as transparent textures unless they really +contain transparent pixels +- error messages forwarded to osg::notify" -2007-10-03 12:49 robert - * AUTHORS.txt, CMakeLists.txt, README.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc: Updated version, authors - and change log for the 2.1.14 release -2007-10-03 12:48 robert - * examples/osgshadow/osgshadow.cpp, src/osgShadow/ShadowMap.cpp: - From Mahai Radu, improvements to handling of spotlights +Wed, 9 Mar 2011 14:44:14 +0000 +Checked in by : Robert OSFIELD +From Sukender, "1. Made code a bit more readable/cleaner. 2. Removed unecessary code. Also made sure the images names are not truncated in the middle of an UTF8 character. You'll find there a function called utf8TruncateBytes(), which may be moved in core OSG (osgDB/ConvertUTF I guess). Feel free to do it if you feel it that way. " -2007-10-03 12:04 robert +Wed, 9 Mar 2011 14:15:04 +0000 +Checked in by : Robert OSFIELD +From Piotr Gwiazdowski, "So there's config setting OSG_DISABLE_MSVC_WARNINGS which should disable pragmas that turn off specific warnings for MSVC. Unfortunately it's presence is only checked in osg/Export header, making other Export headers disable warnings no matter what, which is kind of incoherent.My fix adds #include to every Export header. I've also +unified checking whether to disable warnings to current osg/Export +way: +#if defined(_MSC_VER) && defined(OSG_DISABLE_MSVC_WARNINGS). - * src/osgDB/Registry.cpp: Refactored the plugin and library naming - to fix Cygwin plugin loaded issues. +Attachment contains all changed Export files in their original locations." -2007-10-03 10:38 robert - * NEWS.txt: Added preliminary press release -2007-10-03 10:36 robert +Wed, 9 Mar 2011 13:10:38 +0000 +Checked in by : Robert OSFIELD +From Eric Sokolowsky, "I have updated the pnm plugin to use streams instead of C-style I/O. Attached is src/osgPlugins/pnm/ReaderWriterPNM.cpp" - * src/osgPlugins/net/sockstream.cpp: From Alberto Luaces, build fix - for Cygwin. +Wed, 9 Mar 2011 13:05:59 +0000 +Checked in by : Robert OSFIELD +From Tassilo Glander,"I patched the cmake configuration to support folders, which are really handy to organize the many projects in the OSG solution into examples, applications and core libs in the IDE. This feature has been introduced to cmake in 2.8.3, on older versions it should be ignored silently. I tested on Visual Studio 2008 with cmake 2.8.3 and 2.8.4.See the screenshots for comparison [img]osg_solution.png[/img] -2007-10-03 08:34 robert +This needs few changes: - * src/osgViewer/ViewerBase.cpp: Added return 0 to fix warning +activate on global cmakelist.txt: -2007-10-02 21:45 robert +[code]set_property(GLOBAL PROPERTY USE_FOLDERS On)[/code] - * src/osgWrappers/osgShadow/ShadowMap.cpp: Updated wrappers +set appropriate folder names for project type in osgMacroUtils.cmake: -2007-10-02 21:45 robert +[code]SET_TARGET_PROPERTIES(${CORELIB_NAME} PROPERTIES FOLDER "OSG Core")[/code] - * examples/osgshadow/osgshadow.cpp, include/osgShadow/ShadowMap, - src/osgShadow/ShadowMap.cpp: From Mihair Radu, "Most of the - additions are small utility methods: - - set the resolution of the shadow map; it calls dirty() to - re-initialize at next update - - keep a list of Shader objects to use instead of the default - ones, if - the list is empty, the default shaders are used - - explicitly create the Uniform variables, so that subsequent - additions - that require more Uniforms can put them in a central place - - set a Light or LightSource to use explicitly for shadow - casting, - allows multiple lights in the scene, with one casting shadows - - There are two additions that do not ( yet ) function correctly, - but in - the present usage they do not interfere with the regular usage of - the - techique: - - support for using spotlights, it's using Light.spotCutoff to - determine - if it's a spot-light and not point-light, - there is an error in the setup of either the shadow camera or the - texgen, most likely due to the direction of the spotlight, since - the - position is being used just like in point or directional lights. - - creation of a debugHUD - the hud is created properly, ( the example included shows it ), - but - it displays only white, there has been some discussion of - displaying the - shadow map, but I could not find it, the addition of a simple - fragment - shader with the appropriate color transform should get this - going." +similar for examples, applications" -2007-10-02 21:28 robert - * src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers -2007-10-02 21:26 robert - * CMakeLists.txt, examples/osgintrospection/osgintrospection.cpp, - src/osgDB/Registry.cpp, src/osgPlugins/CMakeLists.txt, - src/osgWrappers/CMakeLists.txt: Introduced a OSG_PLUGIN_PREFIX - variable into CMake build system with it set to - "" for all platforms except Cygwin where its set to "cygwin_" and - Mingw where - it is set to "mingw_". Updated osgDB::Registry to look for these - for the plugins. - Updated the osgintrospection example to search for these names as - well. -2007-10-02 21:24 robert +Wed, 9 Mar 2011 12:29:14 +0000 +Checked in by : Robert OSFIELD +From Piotr Gwiazdowski, "Recently I've been having some trouble with osgWidget::StyleManager (I'll omit osgWidget namespace from now on). It seems to me that there are some inconsistency in the code. In Style there are multiple applyStyle method overloads, applying style for different widgets/windows built-in in osgWidget. Plus you can do overrides. It's good so far.The problem lies in StyleManager::_applyStyleToObject (which calls +_coearceAndApply, which calls _applySpecificStyle, which calls +Style::applyStyle). With current implementation Style::applyStyle +variants for Input, Window, Frame::Corner, Frame::Border, +Window::EmbeddedWindow are never called, because their classes' names +are omitted in methods' if/else if block, making it impossible to use +styles with most than half of built-in widget/window types. - * examples/osgcompositeviewer/osgcompositeviewer.cpp: Updated to - reflect new CompositeViewer threading models +My fix simply adds couple else if blocks, making each +Style::applyStyle variant callable. By the way, I think that next +update should add Style::applyStyle overload for Table class and add +proper className overloads for Input and Window." -2007-10-02 21:23 robert - * include/osgViewer/CompositeViewer, include/osgViewer/Viewer, - include/osgViewer/ViewerBase, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp: Merged - the threading set up and rendering code from Viewer and - CompositeViewer - into ViewerBase to allow CompositeViewer to inherit the same - theading models - previously just supported by osgViewer::Viewer -2007-10-02 20:56 robert +Wed, 9 Mar 2011 12:15:39 +0000 +Checked in by : Robert OSFIELD +Removed the repeated called to jas_init() and jas_image_clearfmts() calls to make it possible to use the reading multi-threaded - * CMakeLists.txt: Changed the search for Qt version to prevent - problems when having both Qt3 and Qt4 installed on one machine. +Wed, 9 Mar 2011 11:22:20 +0000 +Checked in by : Robert OSFIELD +From Dietmar Funck, "I've noticed an issue with osgUtil::RenderStage::runCameraSetUp() if the number of buffer attachments of the camera decreases according to privous calls. This happens because RenderStage::_bufferAttachmentMap is updated only for the number of buffers the camera has when runCameraSetUp is called. For example if there were 4 attachments and now only 3, only the first three elements of _bufferAttachmentMap are changed. The fourth is just as before - however it shouldn't be there.Calling _bufferAttachmentMap.clear() before resolves this problem. +" -2007-10-02 20:55 robert - * src/osgGA/StateSetManipulator.cpp: Added a #ifdef 0 code block to - test setting of the StateSetManipulator's DataVariance to DYNAMIC - to solve a threading issue relating to mixing of - StateSetManipulator and - DrawThreadPerContext. -2007-10-02 20:54 robert +Wed, 9 Mar 2011 11:15:10 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, "I have just adjusted the FindCOLLADA function to let it find library on gnu/linux." - * include/osg/GLU: Changed the GLU_TESS_CALLBACK in an attempt to - avoid compile problems under OSX. +Wed, 9 Mar 2011 11:13:12 +0000 +Checked in by : Robert OSFIELD +From Sukender, "I fixed the writing but never thought about the reading part... Here is the fix for reading path containing %23 (= '#') characters." -2007-10-02 20:45 robert +Wed, 9 Mar 2011 11:06:36 +0000 +Checked in by : Robert OSFIELD +Updated versions for next OSG dev release - * applications/osgversion/CMakeLists.txt: From Andy Skinner, - changes the library linkage to just include osg and OpenThreads - -2007-10-01 15:11 robert - - * src/osgPlugins/hdr/hdrwriter.cpp: Removed redundent malloc. - -2007-10-01 11:02 robert - - * src/osgViewer/GraphicsWindowX11.cpp: From David Callu, various - fixes for window inheritance - -2007-10-01 10:23 robert - - * AUTHORS.txt: Updated AUTHORS for 2.1.13 release +Wed, 9 Mar 2011 10:35:00 +0000 +Checked in by : Robert OSFIELD +Changed the use of a viewer thread to be off by default because it was causing the application to crash when any users input was recieved -2007-10-01 10:21 robert +Tue, 8 Mar 2011 17:05:29 +0000 +Checked in by : Robert OSFIELD +Fixed error in X11 string name - * CMakeLists.txt, ChangeLog, README.txt, include/osg/Version, - packaging/pkgconfig/openscenegraph.pc, - packaging/pkgconfig/openthreads.pc: Updated Version number for - 2.1.13 and updated ChangeLog. +Tue, 8 Mar 2011 16:35:37 +0000 +Checked in by : Robert OSFIELD +From Rafa Gaitan and Jorge Izquierdo, build support for Android NDK."- In order to build against GLES1 we execute: +$ mkdir build_android_gles1 +$ cd build_android_gles1 +$ cmake .. -DOSG_BUILD_PLATFORM_ANDROID=ON -DDYNAMIC_OPENTHREADS=OFF +-DDYNAMIC_OPENSCENEGRAPH=OFF -DANDROID_NDK=/ +-DOSG_GLES1_AVAILABLE=ON -DOSG_GL1_AVAILABLE=OFF +-DOSG_GL2_AVAILABLE=OFF -DOSG_GL_DISPLAYLISTS_AVAILABLE=OFF -DJ=2 +-DOSG_CPP_EXCEPTIONS_AVAILABLE=OFF +$ make + If all is correct you will have and static OSG inside: +build_android_gles1/bin/ndk/local/armeabi. -2007-10-01 09:41 robert +- GLES2 is not tested/proved, but I think it could be possible build +it with the correct cmake flags. +- The flag -DJ=2 is used to pass to the ndk-build the number of +processors to speed up the building. +- make install is not yet supported." - * src/osgViewer/GraphicsWindowX11.cpp: Changed requestWarpPointer - to use _eventDislay to avoid crash in osghanglide example due - to async usage. -2007-10-01 08:50 robert - * include/osg/Image, include/osg/Math, src/osg/Image.cpp, - src/osg/Texture1D.cpp, src/osg/Texture2D.cpp, - src/osg/Texture2DArray.cpp, src/osg/Texture3D.cpp, - src/osg/TextureCubeMap.cpp, src/osgWrappers/osg/Image.cpp: - Removed log2 and replaced the places where is was used with a new - Image::computeNumberOfMipmapLevels method. -2007-09-30 20:16 shuber +Tue, 8 Mar 2011 15:31:49 +0000 +Checked in by : Robert OSFIELD +Fixed indentation - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated XCode-projects +Tue, 8 Mar 2011 13:51:13 +0000 +Checked in by : Robert OSFIELD +From Rafa Gaitan, "I have added the macro SETUP_LIBRARY, similar to SETUP_PLUGIN or SETUP_EXE, in order to have a unique entry point to build the libraries. With this changes the android integration will be less painful (currently is a big IF(ANDROID) for each CMakeLists.txt) and more maintainable in the future. I hope next submissions will be for supporting android from my colleague Jorge. " -2007-09-30 19:56 robert +Mon, 7 Mar 2011 14:42:47 +0000 +Checked in by : Robert OSFIELD +Added comments - * src/osgWrappers/osgDB/Registry.cpp: Updated wrappers +Mon, 7 Mar 2011 13:45:58 +0000 +Checked in by : Robert OSFIELD +Changed all .c++ to .cpp's -2007-09-30 19:53 robert +Mon, 7 Mar 2011 12:35:30 +0000 +Checked in by : Robert OSFIELD +Added --color r g b a, --wall-color r g b a, --back-color r g b a options for setting the colours of faces via materials. and --image filename, --wall-image filename, --back-image filename options to set the textures used, note, texcoords are not currently set up so texels used will be 0,0. - * applications/osgconv/osgconv.cpp, include/osgDB/Registry, - include/osgDB/WriteFile, src/osgDB/Registry.cpp, - src/osgDB/WriteFile.cpp: From Paul Martz, "here's the - osgDB::Registry changes to add Options to the read*File() - interface. As we discussed, this preserves the old interface for - backwards compatibility. - - osgconv also changed to use the new Registry::writeNode() - interface. No other applications or examples were affected." +Mon, 7 Mar 2011 12:33:11 +0000 +Checked in by : Robert OSFIELD +Enabled the settng/getting of the Text3D's WallStateSet and BackStateSet along with use of these in the rendering implementation to allow separate colour and other state to be assigned to the front, wall and back faces. -2007-09-30 19:39 robert +Thu, 3 Mar 2011 15:52:19 +0000 +Checked in by : Robert OSFIELD +Moved intial cut of depth partition support into osgViewer::View via two new methods: /** Convenience method for setting up multiple slave cameras that depth partition the specified camera.*/ + bool setUpDepthPartitionForCamera(osg::Camera* cameraToPartition, DepthPartitionSettings* dps=0); - * src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers + /** Convenience method for setting up multiple slave cameras that depth partition each of the view's active cameras.*/ + bool setUpDepthPartition(DepthPartitionSettings* dsp=0); -2007-09-30 19:27 robert - * examples/osgcompositeviewer/osgcompositeviewer.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Added support for - CompositeViewer to WindowSizeHandler, ThreadingHandler, - RecordCameraPathManipulator and HelpHandler. - -2007-09-30 19:15 robert - - * examples/osgcompositeviewer/osgcompositeviewer.cpp, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/HelpHandler.cpp: Changed HelpHandler so it supports - use with CompositeViewer and Viewer -2007-09-30 18:43 robert - * src/osgPlugins/hdr/CMakeLists.txt: Added hdwriter to CMake build - -2007-09-30 18:42 robert - - * src/osgPlugins/hdr/ReaderWriterHDR.cpp, - src/osgPlugins/hdr/hdrwriter.cpp, src/osgPlugins/hdr/hdrwriter.h: - From David Spilling, "Please find attached an extension of the - Radiance HDR (RGBE) image reader to support writing. - - The options are intended to match the existing read options. By - default it will only write RGB32F format; if the "RAW" option is - selected, it will output 8 bit RGBA as "raw" RGBE. Note also that - the writer inserts a flipVertical(); although the RGBE format, - according to spec, should support top-to-bottom or bottom-to-top - ordering, no software I've found, including that from the formats - originator, actually respects this." - -2007-09-30 18:33 robert - - * src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.h, - src/osgPlugins/Inventor/ReaderWriterIV.cpp: From Jan Peciva, "I - am submitting improved Inventor (iv) writer. - - List of changes: - - added support for Billboards and LOD - - improved Material handling - " - -2007-09-30 16:24 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated xcode-projects - -2007-09-30 15:24 robert - - * genwrapper.conf, src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp: Updated wrappers - -2007-09-30 15:07 robert - - * src/osgWrappers/osgText/Text.cpp: Updated wrappers - -2007-09-30 15:06 robert - - * include/osgText/Text, src/osgText/Text.cpp: From Dan Minor, - "osgText::Text does not currently have a getAxisAlignment method. - The - attached code adds this, along with a member variable to keep - track of - the setting. It is based on the latest subversion version, and - was - tested by creating a new text object with the same axis alignment - as an - existing one (e.g. - new_text->setAxisAlignment(old_text->getAxisAlignment()); )." - - From Robert Osfield, " I originally didn't add a - getAxisAlignment() - as all setAxisAlignment does is set the Rotation member variable, - and - potentially one could apply user defined Rotation setting after - the - setAxisAlignment() which would bring it out of sync with the - setAxisAlignment. - - Rather than reject your submission on the ground of potentially - getting out of sync and therefore misleading users I've added a - USED_DEFINED_ROTATION to AxisAlignment enum, and set this in the - serRotation and then override this setting of _axisAlignment in - the - setAxisAlingment method. I've also removed the lazy updating - optimization you've added to the top of setAxisAlignment to avoid - potential problems as well." - -2007-09-30 11:37 robert - - * include/osg/View, include/osgViewer/CompositeViewer, - include/osgViewer/View, include/osgViewer/Viewer, - include/osgViewer/ViewerBase, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/CMakeLists.txt, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgViewer/ViewerBase.cpp, - src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerBase.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Moved - ViewerBase class out into its own header and source file. - - Improved the support for stats collection in - CompositeViewer/StatsHandler. - -2007-09-29 16:46 robert - - * include/osg/View, include/osgViewer/CompositeViewer, - include/osgViewer/Export, include/osgViewer/View, - include/osgViewer/Viewer, include/osgViewer/ViewerEventHandlers, - src/osgPlugins/osgViewer/CompositeViewer.cpp, - src/osgPlugins/osgViewer/View.cpp, - src/osgPlugins/osgViewer/Viewer.cpp, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Refactor - Viewer/CompositeViewer so the both inherit from the a ViewerBase - class - -2007-09-29 11:41 robert - - * examples/osgcompositeviewer/osgcompositeviewer.cpp, - include/osgViewer/View, include/osgViewer/Viewer, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/CompositeViewer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: From Stephan Huber, add basic support - for CompositeViewer in StatsHandler - -2007-09-29 11:12 robert - - * include/osgDB/ReaderWriter, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dae/daeReader.h, src/osgPlugins/dae/daeWriter.h, - src/osgWrappers/osgDB/ReaderWriter.cpp: From Mattias Linde, - "Nice, this almost gets the job done, one way communication into - the plugin is possible. - I've done some additional small modification regarding constness - in ReaderWriter and added - mutable on _pluginData so passing data back would be possible - too. - - Have updated the collada plugin (ReaderWriterDAE.cpp) to use the - map to handle options and - have attached the changes. - - The stuff in daeReader.h and daeWriter.h are just cosmetic - changes to get rid of a warning." - -2007-09-28 13:42 robert - - * src/osgViewer/View.cpp: Fixed SphericalDisplay set up codes to - properly manage display host/num - -2007-09-28 13:38 robert - - * src/osgViewer/View.cpp: From Mathias Froehlich, "I had a chance - to look into the remote display problems. - The screen resolution was queried for the wrong display." - -2007-09-28 13:35 robert - - * include/osgDB/ReaderWriter: From Mattias Linde, "I've attached a - modified ReaderWriter header which has some additions - to osgDB::ReaderWriter::Options to handle PluginData." - -2007-09-28 08:53 robert - - * include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: Andre Garneau, three fixes - in one submissions: - - "This is a fix for the issue reported by Anders a week ago (see - \u201c[osg-users] BUG?: mouse coordinate changes after window - move\u201d discussion thread on Sept. 20). The issue was that the - initial implementation added a few months back was not converting - the window coordinates to client-area coordinates resulting in a - slight offset each time a decorated window was moved (caused by - the window border). This was also causing windows to move out of - their assigned screen." - - and - - "Attached is a fix for the taskbar repaint issue that occurs when - a graphics window is toggled from full-screen mode to windowed - mode (as identified by Gert van Maren a couple of weeks ago). - Also included is a fix derived from the \u201cEvents from the - past\u201d discussion thread that took place on July 11." - -2007-09-28 08:52 robert - - * examples/osgshadow/osgshadow.cpp: Added record path manipulator - -2007-09-27 13:49 robert - - * examples/osgshaderterrain/osgshaderterrain.cpp: Changed across to - using a GraphicsOperation as the base class for the - RealizeOperation. - -2007-09-27 12:47 robert - - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ParallelSplitShadowMap, - src/osgShadow/ParallelSplitShadowMap.cpp: From Adrian Egli, - "update the PSSM, i did some bug fixes and added new features to - move the camera virtual against the view direction by applaying a - simple distance factor (a), which is calculated camera eye - - camera center distance. and we can move the "light camera" - against the light direction (b). - - (a) some objects behind the camera can cast shadow - (b) object aboive the camera can cast shadow - - then i fixed the shadow map orientation, now screen x coordinate - alinged which improve the quality" - -2007-09-27 12:15 robert - - * src/osgDB/FileUtils.cpp: From Mathias Froehlich, compile fix for - HP-UX without large file support - -2007-09-27 10:47 robert - - * src/osgPlugins/obj/OBJWriterNodeVisitor.cpp: From Mathias - Froehlich, "Some more file that needs some adjustment because of - missing member templates - in suns stl." +Thu, 3 Mar 2011 12:33:57 +0000 +Checked in by : Robert OSFIELD +Introduced a new more generic function for settings up the depth partitioning of viewer cameras. -2007-09-27 10:42 robert - - * src/osg/GraphicsContext.cpp: Changed copy constrcutor to a - default constrcutor and std::copy to avoid - problems with dodge Sun compiler. +Wed, 2 Mar 2011 16:40:36 +0000 +Checked in by : Robert OSFIELD +Build fix -2007-09-27 10:22 robert +Wed, 2 Mar 2011 16:24:07 +0000 +Checked in by : Robert OSFIELD +Made parameter a little easier to adjust and commented out verbose debug info - * src/osgPlugins/osgViewer/View.cpp: Added support for selecting - internal texture format via the internalFormat entry in - the .osg file +Wed, 2 Mar 2011 16:09:50 +0000 +Checked in by : Robert OSFIELD +Implemented first cut of more flexible depth partitioning code. -2007-09-26 16:17 shuber +Tue, 1 Mar 2011 16:21:38 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - updated XCode project-files +Tue, 1 Mar 2011 15:04:56 +0000 +Checked in by : Robert OSFIELD +Added support for passing the --depth-partition distance, throw to the depth partition slave camera setup. -2007-09-26 14:44 robert +Tue, 1 Mar 2011 14:50:25 +0000 +Checked in by : Robert OSFIELD +Added experiment depth partioning support in the form of an slave camera configuration. - * CMakeModules/FindOpenVRML.cmake, - src/osgPlugins/vrml/CMakeLists.txt: From Jean-Sebastien Guay, - "Attached you will find an expanded FindOpenVRML.cmake file, as - well as a fixed CMakeLists.txt file for the VRML plugin ." +Tue, 1 Mar 2011 14:48:48 +0000 +Checked in by : Robert OSFIELD +Added support for an View::Slave::UpdateSlaveCallback -2007-09-26 14:31 robert +Sat, 26 Feb 2011 16:04:34 +0000 +Checked in by : Robert OSFIELD +Fixed handling of write and reading of straight Node objects in the scene graph. - * src/osgWrappers/osgDB/Input.cpp: Updated wrappers +Sat, 26 Feb 2011 15:52:51 +0000 +Checked in by : Robert OSFIELD +Changed the handling of unkown nodes on write so that the code now ignores the non supported nodes allows the overall write to continue. -2007-09-26 14:02 robert +Thu, 24 Feb 2011 11:54:44 +0000 +Checked in by : Robert OSFIELD +Removed TrapezoidalShadowMap due to discovery of patent on algorithm. - * include/osgDB/Input, src/osgDB/Input.cpp, - src/osgPlugins/osgViewer/View.cpp: Added IntensityMap reading in - .view files +Wed, 23 Feb 2011 22:52:01 +0000 +Checked in by : Cedric Pinson +Cedric Pinson: Fix divide by zero when Action has 0 frames, and add a warning message because it means something wrong on input data -2007-09-26 11:32 robert +Wed, 23 Feb 2011 16:49:38 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * genwrapper.conf, src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/View.cpp: Tweaked the wrapping of - osgViewer::Scene to fix build problems +Wed, 23 Feb 2011 16:46:34 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, intial cut at new TrapezoidalShadowMap ShadowTechnique -2007-09-26 10:58 robert +Wed, 23 Feb 2011 16:45:44 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, various tweaks to osgShadow shadow mapping classes to improve consistency and enable more debug info output - * src/osgPlugins/obj/CMakeLists.txt, - src/osgPlugins/obj/OBJWriterNodeVisitor.cpp, - src/osgPlugins/obj/OBJWriterNodeVisitor.h, - src/osgPlugins/obj/ReaderWriterOBJ.cpp: From Stephan Huber, - "attached you'll find a first implementation for the obj-plugin - to write - obj-files. It is not feature complete but usable. - - Known issues: - * not all materials are handled correctly (especially when using - osg::StateAttribute::OVERRIDE), not all properties are supported - * could not test point and lines, all of my programs which are - capable - to read obj-files only import triangle-meshes. - * only simple texture-handling" +Wed, 23 Feb 2011 14:09:29 +0000 +Checked in by : Robert OSFIELD +Inverted the orientation of the 't' transparency control so that it's full on at the bottom of the screen, and full transparent at the bottom. -2007-09-26 10:46 robert +Wed, 23 Feb 2011 13:56:41 +0000 +Checked in by : Robert OSFIELD +Added support for negative --xMultipler, --yMultiple and --zMultiplier values - * genwrapper.conf, src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/View.cpp: Added suprression of the - reflection of osgViewer::Scene to avoid build - issues associated with the class. +Wed, 23 Feb 2011 12:48:17 +0000 +Checked in by : Robert OSFIELD +Added support for positive values of --xMultiple --yMultiplier and --zMultiplier -2007-09-26 09:59 robert +Wed, 23 Feb 2011 12:13:43 +0000 +Checked in by : Robert OSFIELD +Changed the default number of components for a RGB to 4 so it appears as an RGBA - * src/osgWrappers/osgViewer/GraphicsWindow.cpp: Updated wrappers +Wed, 23 Feb 2011 11:43:30 +0000 +Checked in by : Robert OSFIELD +Added error reporting for old options -2007-09-26 09:50 robert +Wed, 23 Feb 2011 11:28:43 +0000 +Checked in by : Robert OSFIELD +Added -n option - * include/osgViewer/GraphicsWindow, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: From David Callu, adding - support for GraphicsWindowX11 window inhertance and - setWindowName() method. +Wed, 23 Feb 2011 10:37:51 +0000 +Checked in by : Robert OSFIELD +Added extra check for GL_BGR and GL_BGRA formats and messages describing image format loaded -2007-09-25 19:14 robert +Tue, 22 Feb 2011 14:21:34 +0000 +Checked in by : Robert OSFIELD +Added test code to explore problems with LightSpacePerspectiveShadowMap implementation handling of different datasets and camera settings. - * src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Added support - for intensityMap and fix naming of --panoramic-sd and --3d-sd - command line arguments +Tue, 22 Feb 2011 11:59:51 +0000 +Checked in by : Robert OSFIELD +Added support for GL_BGR and GL_BGRA pixel formats -2007-09-25 17:02 robert +Tue, 22 Feb 2011 10:53:58 +0000 +Checked in by : Robert OSFIELD +Changed the handling of erroneous dicom files so that the loading of a directory of dicom files is not abondonded when one or more erroneous files are encountered. - * examples/osgmovie/osgmovie.cpp: Added --flip argument docs. +Mon, 21 Feb 2011 12:29:13 +0000 +Checked in by : Robert OSFIELD +Added computePositions() call to Text3D::resizeGLObjectsBuffers(uint) -2007-09-25 17:01 robert +Mon, 21 Feb 2011 10:02:53 +0000 +Checked in by : Robert OSFIELD +Added missing Terrain.h reference - * examples/osgmovie/osgmovie.cpp: Added --flip option to allow one - to flip the source data about the x axis. +Sun, 20 Feb 2011 09:57:07 +0000 +Checked in by : Robert OSFIELD +Fixed build of various LiSPSM algorithms -2007-09-25 15:01 robert +Sun, 20 Feb 2011 09:55:20 +0000 +Checked in by : Robert OSFIELD +Added --fov and --light-pos and --light-dir command line parameters - * examples/osgmovie/osgmovie.cpp: Removed all dome distortion - correction code as this is now part of the core osgViewer. - - Added viewer mode where movies are made fullscreen. One can use - the old interactive - camera mode by using --interactive parameter on the command line. +Fri, 18 Feb 2011 11:04:01 +0000 +Checked in by : Michael PLATINGS +Disabled the RGB components of the opacity texture -2007-09-25 13:51 robert +Mon, 14 Feb 2011 16:24:12 +0000 +Checked in by : Robert OSFIELD +From Philipp Svehla, "We’ve added support for users to override the default values for child elements in asset tags (for the collada writer). This support was added for the following child elements: - contributor - * examples/osgmovie/osgmovie.cpp: Preliminary - PanoramicSphericalScreen support + - author -2007-09-25 12:34 robert + - authoring_tool - * applications/osgversion/osgversion.cpp: Added - --major/minor/path-number support + - comments -2007-09-25 11:26 robert + - copyright - * packaging/pkgconfig/openscenegraph.pc: Fixed version number + - source_data -2007-09-25 10:18 robert + - created - * examples/osgunittests/osgunittests.cpp: Added thread unit test to - test the create, start and destruction of threads + - keywords -2007-09-24 16:34 robert + - modified - * AUTHORS.txt, CMakeLists.txt, include/osg/Version: Updated Version - and AUTHORS for 2.1.12 dev release + - revision -2007-09-24 16:30 robert + - subject - * packaging/pkg_config, packaging/pkgconfig: Renamed packaging - directory to pkgconfig + - title -2007-09-24 16:28 robert + - unit - * ChangeLog, README.txt: Updated ChangeLog for release + - name -2007-09-24 16:25 robert + - meter - * src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers + - up_axis -2007-09-24 15:24 robert - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ParallelSplitShadowMap, - src/osgShadow/ParallelSplitShadowMap.cpp: From Adrian Egli, - further work on PSSM implementation. -2007-09-24 10:36 robert +With this support, users are able to include additional information in their models. Additionally, tools such as sketchup that support asset tags use the values appropriately within their imported models." - * include/osgViewer/GraphicsWindow: From Alberto Luaces, fixed typo - of valid() in warning message -2007-09-24 10:31 robert - * src/osgDB/Registry.cpp: Changed iterator name to avoid warning +Mon, 14 Feb 2011 16:09:51 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, "This patch fixes some performance problems with the DXF loader. It removes some unnecessary copies of vertex coordinates (which were causing an exponential explosion). It also replaces BIND_PER_PRIMITIVE normals with BIND_PER_VERTEX so that the resulting geometry will be on the fast path." -2007-09-24 09:39 robert +Mon, 14 Feb 2011 16:05:33 +0000 +Checked in by : Robert OSFIELD +Added copyop parameter to cloneOptions() method - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Mirko Viviani, "attacched you'll find the updated xcode - project for OpenSceneGraph - 2.1.11. The one supplied in the archive does not build due to - some missing - file references." +Mon, 14 Feb 2011 15:59:49 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, "The non-virtual cloneOptions() method, which is now used by DatabasePager, breaks derived classes of osgDB::Options. This patch uses the clone() method to clone Options." -2007-09-24 09:35 robert +Mon, 14 Feb 2011 15:43:41 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Here is an minor update for Jasper finder. It adds debug cache value for Windows/MSVC builds, and adds search paths." - * src/osgSim/OverlayNode.cpp: From Jose Delport: "have been using - the new VIEW_DEPENDENT_WITH_ORTHOGRAPHIC_OVERLAY mode - of the OverlayNode. - - I change the overlay subgraph dynamically and when I remove all - the - subgraph nodes that is inside the current main camera FOV (others - outside still exist), the overlay texture does not update because - of the - early return in the traversal. I then get a kind of ghost texture - moving - around the terrain. - - The attached file fixed the problem for me, but I'm not sure if - it is - the best way to address the problem." +Mon, 14 Feb 2011 15:04:40 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, "Improvements: - Use OSG routines to load images instead of simage library (removes dependency on 3rdParty simage library). Applies to Coin Inventor clone only. " -2007-09-24 09:26 robert +Mon, 14 Feb 2011 15:01:56 +0000 +Checked in by : Robert OSFIELD +Moved ProgramBinary into osg::Program scope - * src/osg/Image.cpp: From Art Tevs, "Following - two lines has to be included into the Image.cpp in the - computeNumComponents(...) method: - - case(GL_RGBA16F_ARB): return 4; - case(GL_RGBA32F_ARB): return 4;" +Mon, 14 Feb 2011 14:16:58 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Here are two sumbissions for DAE.1. daeRGeometry.cpp (rev 12132). A tiny sumbission which fixes a quite important bug: a parameter was forgotten in Collada ReaderWriter, and texture coordinates could not be loaded properly. So: +" +Added missing paramter when calling createGeometryData(). Fixes missing texture coordinates (in "bind_vertex_input"). +" -2007-09-24 09:05 robert +2. ReaderWriterDAE.cpp (rev 12132): +" +Added "baseImageDir" as a plugin string data, in order to manually specify base directory to use when relativising image file names. This is used to properly write files, when images are not located in a subdirectory (like "../images" for some software). +" - * include/osgDB/ReaderWriter: Made ReaderWriter and - ReaderWriter::Options use thread safe ref counting. -2007-09-22 17:39 robert - * src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Improved the - handling of OSG_CONFIG_FILE support. +Mon, 14 Feb 2011 13:54:15 +0000 +Checked in by : Robert OSFIELD +From Johannes Bauerle, "I experienced problems using binary shaders in osgt files (=the osg-serializer plugins). At runtime std::bad_alloc errors were thrown when using binary shaders.The reason is that the .osgt text files do not provide size information about the contained binary shader hence leading to a bad allocation when reading the shader data, probably size 0 ? The reader method in the responsible serializer class (serializers/osg/BinaryShader) is correct and does not need to be changed as it queries the size as expected. The writer method supports two paths(binary output .osgb and text output .osgt/.osgx). Only the text path is affected as the binary path writes the size. -2007-09-22 16:50 robert +I extended the writer in the text path by the size information. The results before and after the fix are shown below: - * include/osgViewer/Scene, src/osgViewer/Scene.cpp: From David - Callu, added getOrCreateScene method, made contractors protected. - - From Robert Osfield, made getOrCreateScene protected and made - View a friend - of Scene to all it to construct Scene objects itself. +Erroneous code for binary shader in osgt file before fix: -2007-09-22 16:46 robert +Data { + 0a + 0d + 0 + ... +} - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ParallelSplitShadowMap, - src/osgShadow/ParallelSplitShadowMap.cpp: From Adrian Egli, - update to ParallelSplitShadowMap. +Corrected code for binary shader in osgt file after fix: -2007-09-22 13:06 robert +Data 524 { + 0a + 0d + 0 + ... +} - * include/osgShadow/ParallelSplitShadowMap: Added EXPORT +After my fix the the thrown error disappeared." -2007-09-21 19:43 robert - * include/osg/View, src/osg/View.cpp: From David Callu, added - findSlaveIndexForCamera method -2007-09-21 19:04 robert +Mon, 14 Feb 2011 13:50:14 +0000 +Checked in by : Robert OSFIELD +From Jahannes Bauerle, "l discovered that the shader class(/src/osg/Shader.cpp) shows wrong behavior when using binary shaders . When shader objects are compared the reference pointer behind the _shaderBinary member is not included in the comparison.I included binary shaders into an osgt model file. These shaders only consists of the binary shader code, I did not supply the text version additionally. When loading the model the osg::Optimizer threw away all shaders except the first one. In the current trunk version of the file two shader objects are identical despite differing _shaderBinary members as the compare method of the Shader class does not include the comparison of that member. - * src/osgViewer/CompositeViewer.cpp: Added return +The fix in this submission adds the check for identity of the referenced binary shaders to the shader class. -2007-09-21 15:34 robert +When comparing two shader objects with text source shaders the new lines of comparison are not even executed as the comparison returns false in the previous lines when the text shaders differ. - * include/osg/View, include/osgViewer/View, - include/osgViewer/Viewer, src/osg/View.cpp, - src/osgPlugins/osgViewer/View.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Added support for basic viewer - configuration files +With this fix I get expected behavior, the Optimizer handles the different shaders correctly." -2007-09-21 13:30 robert - * include/osgViewer/CompositeViewer, include/osgViewer/Viewer, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osgViewer/CMakeLists.txt, - src/osgPlugins/osgViewer/CompositeViewer.cpp, - src/osgPlugins/osgViewer/ReaderWriterOsgViewer.cpp, - src/osgPlugins/osgViewer/View.cpp, - src/osgPlugins/osgViewer/Viewer.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Further steps towards reading coniguration files. -2007-09-21 09:02 robert +Mon, 14 Feb 2011 12:55:44 +0000 +Checked in by : Robert OSFIELD +Set debug message to INFO - * examples/osgstereoimage/osgstereoimage.cpp: From Luc Frauciel, "A - few improvements to osgstereoimage: - - When using a large numbrer of files, the command line was too - long; - Added a -files option that allow to store filenames in a file - (one file - per line) - - Added some more intuitive key bindings for controls (left, - right, + , - -) - - Set the texture wrapping to CLAMP_TO_EDGE (it's cleaner now) - " +Mon, 14 Feb 2011 12:54:21 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, I've added initial support to osg for glGetProgramBinary and glProgramBinary. This means that shader programs can now be cached to disk and later reloaded, which is much faster than linking shaders from source code. This should mean significantly shorter load times for people who use lots of combinations of shaders. -2007-09-20 10:14 robert +Mon, 14 Feb 2011 12:14:36 +0000 +Checked in by : Robert OSFIELD +Fixed typo - * src/osgWrappers/osgShadow/SoftShadowMap.cpp: Updated wrappers +Fri, 11 Feb 2011 12:11:17 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, event handler for controlling the field of view of the viewer's camera using 0, - and = keys. -2007-09-20 10:12 robert +Fri, 11 Feb 2011 11:08:00 +0000 +Checked in by : Robert OSFIELD +Update ChangeLog - * include/osgShadow/SoftShadowMap, src/osgShadow/SoftShadowMap.cpp: - From Anders Backman, added bias and texture size methods. - - From Robert Osfield, tweaks to the above for method parameters - and indenting. +Fri, 11 Feb 2011 09:18:36 +0000 +Checked in by : Robert OSFIELD +Added check against the NodePath being empty. -2007-09-19 16:53 robert +Thu, 10 Feb 2011 14:24:39 +0000 +Checked in by : Robert OSFIELD +Tweak to output details - * src/osgDB/Output.cpp: Added supoort for - OSG_WRITE_OUT_DEFAULT_VALUES env var +Thu, 10 Feb 2011 14:09:04 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS and Contributors.cpp files -2007-09-19 15:29 robert +Thu, 10 Feb 2011 12:23:18 +0000 +Checked in by : Robert OSFIELD +From Martin von Gagern, build fix for latest ffmpeg changes - * include/osg/ArgumentParser, include/osgDB/Input, - src/osg/ArgumentParser.cpp, src/osgDB/Input.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osgDB/Input.cpp: Added support for bool in - ArgumentParser::Parameter. - - Added support for using Input::read(...) methods using - ArgumentParser::Paramter - to adapter to multiple paramter types. +Tue, 8 Feb 2011 14:36:15 +0000 +Checked in by : Robert OSFIELD +Added const -2007-09-19 11:56 robert +Mon, 7 Feb 2011 14:19:58 +0000 +Checked in by : Robert OSFIELD +Implementated experimental reuse of PBO's after download - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ParallelSplitShadowMap, - src/osgShadow/CMakeLists.txt, - src/osgShadow/ParallelSplitShadowMap.cpp: From Adrian Egli, - ParallelSplitShadowMap implmentation. - - Changes by Robert Osfield - CMakeLists.txt and name change to - ParallelSplitShadowMap. +Fri, 4 Feb 2011 12:43:00 +0000 +Checked in by : Robert OSFIELD +Added support for enabling the assignment of PixelBufferObjects to loaded Images to aid the download of images to the GPU. Feature can be enabled/disabled (default) by setting the env : OSG_ASSIGN_PBO_TO_IMAGES to ON or OFF -2007-09-19 10:14 robert - * src/osgUtil/Simplifier.cpp: Changed the simplifier so that it - produces deterministic results, no longer - using memory pointers for sorting. -2007-09-19 09:00 robert +Fri, 4 Feb 2011 10:27:05 +0000 +Checked in by : Robert OSFIELD +Added support for getting the current screen refresh rate using the XrandR extension. - * src/osgSim/OverlayNode.cpp: Removed check for - shaders/overlay_perspective_main.vert +Thu, 3 Feb 2011 17:07:01 +0000 +Checked in by : Robert OSFIELD +Refactored NodeTrackerManipulator to use osg::ObserverNodePath rather than it's only local equivilant. -2007-09-18 16:00 robert +Thu, 3 Feb 2011 14:27:50 +0000 +Checked in by : Robert OSFIELD +Added call to GraphicsCostEstimator::calibrate. - * src/osgPlugins/net/sockinet.cpp: Commented out herror() as its - not called anywhere in the code. +Thu, 3 Feb 2011 12:42:23 +0000 +Checked in by : Robert OSFIELD +Moved GraphicsCostEstimator ref pointer into osg::State -2007-09-17 09:33 robert +Thu, 3 Feb 2011 12:22:09 +0000 +Checked in by : Robert OSFIELD +Moved GraphicsCostEstimator from osgUtil into core OSG library - * AUTHORS.txt, ChangeLog, README.txt, - applications/osgversion/osgversion.cpp: Updated ChangeLog, - AUTHORS and README for 2.1.11 release +Wed, 2 Feb 2011 17:23:12 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, build fix -2007-09-17 09:26 robert +Wed, 2 Feb 2011 16:44:21 +0000 +Checked in by : Michael PLATINGS +Updated information about the FBX SDK version - * CMakeLists.txt, include/osg/Version, - packaging/pkg_config/openscenegraph.pc: Updated version numbers - for 2.1.11 dev release +Tue, 1 Feb 2011 18:12:59 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Vertices in DOUBLE PRECISION were not handled by Remapper classes. I added missing virtual methods." -2007-09-16 17:48 robert +Tue, 1 Feb 2011 12:18:47 +0000 +Checked in by : Robert OSFIELD +Fixed the setting of the Drawable modes - * include/osgTerrain/Locator, src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgWrappers/osgTerrain/Locator.cpp: Fixed - Locator::setTransform method so it takes a const Matrixd&, and - improved - the setting of Locator in the gdal plugin. +Tue, 1 Feb 2011 12:18:22 +0000 +Checked in by : Robert OSFIELD +Added experimental timing and PBO usage into ICO+GCE classes -2007-09-16 17:46 robert +Tue, 1 Feb 2011 12:17:40 +0000 +Checked in by : Robert OSFIELD +Fixed bug in PixelBufferObject constructor for the case when a null Image is passed in to it. Added extra checks for NULL buffer data. - * src/osgDB/Output.cpp: Setting for new option for hinting whether - to write out default values +Mon, 31 Jan 2011 11:40:35 +0000 +Checked in by : Robert OSFIELD +Ran: svn propset svn:eol-style native include/*/* svn propset svn:keywords "Author Date Id Revision" include/*/* -2007-09-16 17:45 robert +Mon, 31 Jan 2011 11:35:50 +0000 +Checked in by : Robert OSFIELD +svn propset svn:keywords "Author Date Id Revision" include/OpenThreads/* - * include/osgDB/Output: Added option for controlling whether output - code should write out default values +Mon, 31 Jan 2011 10:41:17 +0000 +Checked in by : Robert OSFIELD +Set eol-style to native. -2007-09-16 17:43 robert +Fri, 28 Jan 2011 14:24:30 +0000 +Checked in by : Robert OSFIELD +Temporarily disabled the cost estimate code for the 2.9.11 release - * src/osgPlugins/osgTerrain/GeometryTechnique.cpp: Fixed warning +Fri, 28 Jan 2011 13:54:44 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "I adapted the Cocoa implementation so that it reports the unmodified key and the modified key as requested. Can other OS X developers please test the attached file, to make sure it works for everybody?I fixed the problem with the caps-lock-key, too." -2007-09-16 07:55 robert - * packaging, packaging/pkg_config, - packaging/pkg_config/openscenegraph.pc, - packaging/pkg_config/openthreads.pc: From Loic Dachary, - pkg_config files -2007-09-15 17:40 robert +Fri, 28 Jan 2011 12:34:49 +0000 +Checked in by : Robert OSFIELD +Fixed size of default font - * src/osgText/Font.cpp: Introduced the use of a ReentrantMutex to - avoid problems with findFontFile. +Fri, 28 Jan 2011 11:07:51 +0000 +Checked in by : Robert OSFIELD +From Per Fahlberg, warning fixes -2007-09-15 17:36 robert +Fri, 28 Jan 2011 10:59:50 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "Driven by the last qfontimplementation changes, I realized, that I never contributed my testcase/demo for the original implementation. This attached change is similar to osgtext but uses the QFontImplementation in a Qt based viewer. With that, it should be easier for all of us to test changes in qfontimplementation" - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From David Spilling, - "Given no replies to my recent "does anybody use the DDS writer" - query, I was emboldened to submit this very small patch. The - bitmasks for RGBA and RGB have been modified in the writer - portion of the code (line 765 onwards). This is now consistent - with what the DDS plugin reads. In terms of testing, note that - many 3rd party applications erroneously ignore the bitmasks in - the file, and assume a BGRA order." +Fri, 28 Jan 2011 10:53:49 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlien, "the changes from r12126 (see below) in dae/domSourceReader.h cause compiler errors on OS X with gcc-4.2.1:In file included from +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/daeRAnimations.cpp:3: +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:43: error: +explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:45: error: +explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:47: error: +explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:49: error: +explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/dae/domSourceReader.h:51: error: +explicit specialization in non-namespace scope 'class osgDAE::domSourceReader' +... -2007-09-14 11:26 robert +The attached file fixes this." - * src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers -2007-09-14 11:06 robert - * CMakeModules/OsgMacroUtils.cmake: From Andy Skinner, added - support for ot-soversion-OpenThreads.dll dll naming under Windows +Fri, 28 Jan 2011 10:50:24 +0000 +Checked in by : Robert OSFIELD +From Mourad Boufarguine, "This is a tiny fix for some typos in osg code." -2007-09-14 11:02 robert +Thu, 27 Jan 2011 18:49:22 +0000 +Checked in by : Robert OSFIELD +From Andreas Roth, "simple fix to support quad buffer stereo in osgQt" - * src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers +Thu, 27 Jan 2011 17:14:28 +0000 +Checked in by : Robert OSFIELD +From Eric Buehler, "I believe that the osgWidget::Window::HA_CENTER alignment should be center aligned rather than by the origin, as the osgWidget::Window::VA_TOP causes.The current setAnchorHorizontal() command doesn't center the center of the object, it just center's the object's origin. The following change to osgWidget::Window::update() will correct that behavior so that it is consistent with setAnchorVertical() behavior. +" -2007-09-14 11:01 robert - * include/osgDB/Registry: Added TemplateRegisterDotOsgWrapperProxy. -2007-09-14 11:00 robert +Thu, 27 Jan 2011 17:12:23 +0000 +Checked in by : Robert OSFIELD +From Sukender, "I found the bug I was chasing! Here is my "twin" submission, from latest trunk rev: 12124.1. DAE submission: +DAE plugin now correctly writes images URI in Collada file, when images are used twice. +I also greatly improved readability and maintenability of geometry reading (mainly daeRGeometry.cpp), by factorizing code, templatizing it (for double/single precision), and removing ugly macros. - * examples/osgviewerFOX/FOX_OSG.h, - examples/osgviewerFOX/FOX_OSG_MDIView.h: Ran conversion of tabs - to four spaces +2. osgDB submission: +I updated osgDB::getPathRelative(): it is now far more readable, it handles more cases (especially when you want to relativise "a/c" from "a/b", which results in "../c"), and I added comments to make it clearer to maintain." -2007-09-14 10:44 robert - * include/osgGA/GUIEventAdapter, include/osgGA/GUIEventHandler, - src/osgGA/GUIEventHandler.cpp, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp: - Introduce - GUIEventHandler::handleWithCheckAgainstIgnoreHandledEventsMask() - methods - to help make it easier to get event handles to ingore events that - have already been handled. -2007-09-14 10:26 robert - * include/osgGA/GUIEventAdapter, include/osgGA/GUIEventHandler: - From Ole-Morten Duesund, added IgnoreUsedEventsMask. +Thu, 27 Jan 2011 16:23:48 +0000 +Checked in by : Robert OSFIELD +From Alexander Sinditskiy, "reason of this changes described in http://forum.openscenegraph.org/viewtopic.php?t=7596and another problem is: +example osgkeyboard is not work (keys not highlight) if user have 2 keyboard layout native and english and current user layout is native -2007-09-14 10:00 robert +I try to explain my changes - * examples/osgdepthpeeling/DePee.cpp: Added - _hudText->setDataVariance(osg::Object::DYNAMIC); to prevent from - the - text being updated at the same time as being rendered. +we need something that is identify key without modifier keys and layout -> this is UnmodifedKey -2007-09-13 11:00 robert +I think osg must have its own UnmodifiedKeys table. Code must be run same on different platforms. This can de guaranteed by UnmodifiedKeys table. - * genwrapper.conf, src/osgWrappers/osg/Texture2DArray.cpp: Fix for - build error during aggressive warning build +Mikhail Izmestev helped me. He implemented VirtualKey changes in GraphicsWindowX11" -2007-09-13 10:42 robert - * genwrapper.conf, src/osgWrappers/osgDB/DotOsgWrapper.cpp: Fixed - warning in wrappers -2007-09-13 10:38 robert +Thu, 27 Jan 2011 09:41:37 +0000 +Checked in by : Robert OSFIELD +Removed the executable property from source files - * src/osgUtil/SceneView.cpp, src/osgUtil/TriStrip_tri_stripper.cpp: - Fixed warnigns +Wed, 26 Jan 2011 18:47:55 +0000 +Checked in by : Robert OSFIELD +Implement first pass at texture compile estimation -2007-09-13 10:33 robert +Wed, 26 Jan 2011 16:47:40 +0000 +Checked in by : Robert OSFIELD +Replaced CompileStats with GraphicsCostEstimator - * README.txt, src/osgWrappers/osg/Texture2DArray.cpp: Updated - wrappers and READEME +Wed, 26 Jan 2011 16:46:58 +0000 +Checked in by : Robert OSFIELD +From Mourad Biyfarguine, "This is a fix to some 'potentially uninitialized local variable' warnings in src/osg/glu/libutil/mipmap.cpp." -2007-09-13 10:32 robert +Wed, 26 Jan 2011 16:45:36 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, build fix for Solaris - * src/osgShadow/ShadowMap.cpp: From Paul Martsz, changed the - Texture clamping mode to CLAMP_TO_EDGE +Wed, 26 Jan 2011 16:10:42 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I've found a problem when using QFont (osgQt/QFontImplementation.cpp) to read fonts: only the first character of a whole text is correctly shown and others are disappeared. I haven't got into the font implementation so can't explain why this happened and how it should work under other platforms, but it seems to be fixed by specifying width and height of the glyph object. The source file is attached for future developments. At present it just works for my own project. :-) " -2007-09-13 10:21 robert +Wed, 26 Jan 2011 12:51:46 +0000 +Checked in by : Robert OSFIELD +Moved GraphicsCostEstimator into osgUtil. - * examples/osgdepthpeeling/DePee.cpp, - examples/osgdepthpeeling/osgdepthpeeling.cpp: From Blake - Williams, warning fixes +Wed, 26 Jan 2011 12:07:56 +0000 +Checked in by : Robert OSFIELD +Implemented first pass at geometry cost estimation. -2007-09-13 10:21 robert +Tue, 25 Jan 2011 16:48:53 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * src/osgViewer/GraphicsWindowWin32.cpp: Add static_cast to fix - warning. +Tue, 25 Jan 2011 11:11:47 +0000 +Checked in by : Robert OSFIELD +Further work on GraphicsCostEstimator classes -2007-09-13 10:16 robert +Mon, 24 Jan 2011 21:12:25 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, build fixes - * src/osg/Texture2DArray.cpp: Removed unncessary typedefs +Mon, 24 Jan 2011 20:45:02 +0000 +Checked in by : Robert OSFIELD +Added osggraphicscost example as a base of for developing and testing the new osgUtil::GraphicsCostEsimator class. -2007-09-13 10:15 robert +Mon, 24 Jan 2011 11:45:45 +0000 +Checked in by : Cedric Pinson +From Michael Platings, Fix animation duration when adding channel to animation - * include/osg/Texture2DArray, src/osg/Texture2DArray.cpp: Fixed - warnings of casting void* by refactoring the type and extensiosn - setup. +Fri, 21 Jan 2011 14:11:22 +0000 +Checked in by : Robert OSFIELD +Added #include to fix build -2007-09-13 10:10 robert +Fri, 21 Jan 2011 13:40:28 +0000 +Checked in by : Robert OSFIELD +From Sukender, " DAE plugin was linking ORIGINAL images in the Collada file, using image->getName() as a path (even if images were modified in memory!). As the behaviour was not the one of other plugins (3DS, FBX, and such), I made the plugin relativise images filenames (as those plugins) and write the image which is in memory. However, in order to avoid removing features, I kept the previous behaviour but moved it in an option. Here are the options of the plugin I changed: - daeForceTexture was unclear in this new context and removed in favor of two new options - daeLinkOriginalTexturesNoForce: Writes reference to the original image if found, instead of writing the image in memory - daeLinkOriginalTexturesForce: Writes reference to the original image even if not found, instead of writing the image in memory Of course, if you specify no option, images are written as for other plugins.Other thing I changed is the UTF8 support as I told you in a previous conversation. Now there is a simple option, "daeNamesUseCodepage", which makes all names except filenames (materials, animation, geometries...) be considered as encoded using current codepage. If so, they'll be converted to UTF8 when writing; else they are written directly. Of course, filenames follow OSG_USE_UTF8_FILENAME as usual. - * src/osg/Texture2DArray.cpp: Fixed uint/int comparison warning. +I did " -2007-09-13 09:30 robert - * src/osgViewer/PixelBufferX11.cpp: Created two - PixelBufferX11::closeImplementation() one the real implementation - and - a second non op one for GLX <1.3. -2007-09-12 17:01 robert +Fri, 21 Jan 2011 12:17:18 +0000 +Checked in by : Michael PLATINGS +From Sukender: I had to call code from the FBX plugin (to relativise paths). I thus extracted it from FBX and moved it in osgDB (FileNameUtils) - * include/osgViewer/api/X11/PixelBufferX11, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/PixelBufferX11.cpp: Added preliminary handling of - cases where GLX version < 1.3 +Fri, 21 Jan 2011 11:46:15 +0000 +Checked in by : Robert OSFIELD +From Sukender, getPathRelative() method. -2007-09-12 17:01 robert +Thu, 20 Jan 2011 12:34:41 +0000 +Checked in by : Robert OSFIELD +Added export to see if it address Mingw link problems - * src/osgPlugins/gdal/DataSetLayer.cpp: Removed debug messages +Thu, 20 Jan 2011 12:32:20 +0000 +Checked in by : Robert OSFIELD +From Matthew Johnson-Roberson, "Small fix for operation thread to protect the access to _operations vector by functions getNumOperationsInQueue() and empty(). It is simply an addition of OpenThreads::ScopedLock lock(_operationsMutex); to protect against accessing while writing which was segfaulting in VPB specifically in void ThreadPool::run(osg::Operation* op) in the waiting loopwhile (_operationQueue->getNumOperationsInQueue() >= _maxNumberOfOperationsInQueue) +" -2007-09-12 16:28 robert - * applications/CMakeLists.txt, - applications/osgversion/CMakeLists.txt: Moved the linking of - OpenThreads from osgversion/CMakeLists.txt into - applications/CMakeLists.txt -2007-09-12 16:20 robert +Thu, 20 Jan 2011 12:27:51 +0000 +Checked in by : Robert OSFIELD +From Per Fahlberg, warning fixes - * include/osg/Math: Rejigged the casting to avoid warnings under - Windows +Thu, 20 Jan 2011 12:23:04 +0000 +Checked in by : Robert OSFIELD +From Simon Julier, "I have been using the ply plugin to read files created by bundler and pmvs2 (http://grail.cs.washington.edu/software/pmvs/). This program generates models in the form of vertices only. However, the existing ply reader implementation was not able to handle the models generated in a satisfactory manner for two reasons:1. It did not support normals applied to individual vertices. +2. It would only support red / green / blue colour triples, but the pmvs models are generated with diffuse colours. (The PLY format, http://local.wasp.uwa.edu.au/~pbourke/dataformats/ply/, lists specular and ambient colour forms as well.) -2007-09-12 10:43 robert +To partially overcome these limitations, please find attached modified versions of - * AUTHORS.txt, CMakeLists.txt, ChangeLog, - applications/osgversion/osgversion.cpp, include/osg/Version: - Updated version, ChangeLog and AUTHORS file for 2.1.10 release +src/osgPlugins/ply/vertexData.cpp +src/osgPlugins/ply/vertexData.h -2007-09-12 10:04 robert +The changes I've made are: - * src/osgPlugins/Inventor/CMakeLists.txt: From Jan Peciva, build - fix +1. I have changed the boolean hasColor flag to a vertexField (which is a boolean operation on an enum) to indicate what fields are present in the ply file. (This is required because Turk's ply reader spits out warnings for every line where you try to read fields which do not exist.) +2. I have modified the code to apply valid normals to either triangles or vertices. +3. I have kludged in "support" for the various colour variants. Specifically, all the colour specified can be read from the file. However, they are all applied in the same way (namely as a colour array, bound to each vertex)." -2007-09-11 20:54 robert - * include/osg/Math: Added log2(int) and log2(uint) methods -2007-09-11 20:24 robert +Wed, 19 Jan 2011 10:57:58 +0000 +Checked in by : Robert OSFIELD +From Simon Julier, "I ran across linking errors with osgdb_exr. Specifically, I found it was necessary to link against libImlIlf, libImlThread, libHalf, libIex and libzip.I have attached a patch, against the trunk from 13:30 today, which consists of the following: - * include/osg/Math: Removed int version of log2 to avoid possible - errors in assuming log2(10) should ~= log2(10.0) +1. CMakeModules/FindOpenEXR.cmake: Look for libIlmThread and libIex as well. 2. src/osgPlugins/CMakeList.txt: Only include the exr subdirectory if both the OpenEXR and zip libraries were found. 3. src/osgPlugins/exr/CMakeLists.txt: Add ZIP_LIBRARY to TARGET_EXTERNAL_LIBRARIES." -2007-09-11 17:10 robert - * applications/osgversion/CMakeLists.txt: Added OpenThreads to - target libraries -2007-09-11 17:08 robert +Wed, 19 Jan 2011 10:38:39 +0000 +Checked in by : Robert OSFIELD +From Sukender, normalized option names - * include/osg/Math: From Art Tevs, Added log2 function. +Wed, 19 Jan 2011 10:31:49 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Added ability for writer to read from Vec3/4d/f. Plugin now warns if it finds another type of data" -2007-09-11 16:59 robert +Wed, 19 Jan 2011 09:53:34 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Factorized the depth loop ("while ( lastDepth >= _nodePath.size() )...") into a method called updateCurrentDaeNode(). Added missing calls into apply(osg::LightSource &) and daeWriter::apply(osg::Camera &) and daeWriter::apply(osg::CameraView &)" - * include/osg/GL2Extensions: From Art Tevs, build fix. +Wed, 19 Jan 2011 09:36:21 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Fixed ReaderWriterDAE::ConvertFilePathToColladaCompatibleURI(): It now handles paths containing '#' character as expected." -2007-09-11 16:56 robert +Wed, 19 Jan 2011 09:34:26 +0000 +Checked in by : Robert OSFIELD +From Sukender and Robert Osfield, clean up of options - * src/osg/TextureRectangle.cpp: Replaced allocateMipmap code with - warning message as mipmaps aren't support for TextureRectangle. +Tue, 18 Jan 2011 16:14:24 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, "I've attached a fix for a subtle bug that causes animations (and quite possibly other things) to be serialized incorrectly.For the following code: -2007-09-11 13:47 robert +#define MYMACRO(NAME) myOutputStream << #NAME; +MYMACRO(Group) - * src/osgPlugins/osg/Group.cpp, src/osgPlugins/osg/Object.cpp: - Removed the output num_children from Group .osg output and - removed the output of "DataVaraince UNSPECIFIED" as this is - redundent - considering the default value is UNSPECIFIED. +you would expect that "Group" would be output. However, as there are many overloaded operator<< functions, none of which take a const char* argument, the function that's actually called is operator<<(bool). Hence what actually gets output is "TRUE". +An actual example of this is in serializers\osgAnimation\Animation.cpp, WRITE_CHANNEL_FUNC2. -2007-09-11 13:42 robert +So the simple solution to this is to add operator<<(const char*), attached. +" - * src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp: Updated - wrappers -2007-09-11 13:39 robert - * src/osg/ClipNode.cpp: From Mathias Froenlich, "have a problem - with the SunOS CC. - It does not like that the prototype of - ClipNode::setStateSetModes() differs - from implementation of that function in the constness of the - second - parameter. - On SunOS it compiles fine, but I get link errors when the variant - that is - declared in the header is referenced. - - The attached src/osg/ClipNode.cpp file removes the const - qualifier from the - implementation to match exactly the prototype in the header file. - The file is based on revision 7386 as of today. - " - -2007-09-11 13:34 robert - - * include/osg/GL2Extensions, include/osg/Program, - src/osg/Program.cpp: From Art Trevs, "File Changes: - - GL2Extensions, Program and Program.cpp - - Features: - - Support for fragment output binding. (e.g. You can now specify - in the fragment shader varying out vec3 fragOut; fragOut = - vec3(1,0,1); to write to the fragOut variable. In your program - you call glBindFragDataLocation(program, 1, "fragOut") to bind - the fragOut variable with the MRT 1 - GL_COLOR_ATTACHMENT1_EXT) - - - new methods Program::add/removeBindFragDataLocation - Program::getFragDataBindingList - - " - -2007-09-11 13:32 robert - - * include/osgTerrain/GeometryTechnique, - src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgTerrain/GeometryTechnique.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp: Seperated out - GeometryTechnique .osg support. - -2007-09-11 12:28 robert - - * include/osg/Texture, src/osgWrappers/osg/Texture.cpp: Changed the - isTextureIntegerSupported method so that it no longer has the EXT - entry in it - for forward compatability reasons. - -2007-09-11 12:04 robert - - * include/osg/Texture, include/osg/Texture1D, - include/osg/Texture2D, include/osg/Texture2DArray, - include/osg/Texture3D, include/osg/TextureCubeMap, - include/osg/TextureRectangle, src/osg/Image.cpp, - src/osg/Texture.cpp, src/osg/Texture1D.cpp, - src/osg/Texture2D.cpp, src/osg/Texture2DArray.cpp, - src/osg/Texture3D.cpp, src/osg/TextureCubeMap.cpp, - src/osg/TextureRectangle.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture2DArray.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp: From Art Trevs, - "Features of the patch are: - - - Implementation of integer textures as in EXT_texture_integer - - - setBorderColor(Vec4) changed to setBorderColor(Vec4d) to pass - double values - as border color. (Probably we have to provide an overloading - function to - still support Vec4f ?) - - - new method Texture::getInternalFormatType() added. Gives - information if the - internal format normalized, float, signed integer or unsigned - integer. Can - help people to write better code ;-) - - " - - Futher changes to this submission by Robert Osfield, changed the - dirty mipmap - flag into a buffer_value<> vector to ensure safe handling of - multiple contexts. - -2007-09-11 10:16 robert - - * src/osg/Texture2DArray.cpp: From Rafa Giatan, "Changed int to - GLsizei in the input parameter of the method - osg::Texture2DArray::applyTexImage2DArray_subload inside - Texture2DArray (lines 214 and 257), Otherwise it gives a compile - error on MacOSX." - -2007-09-11 10:10 robert - - * applications/osgversion/osgversion.cpp, include/osg/Version, - src/osg/Version.cpp: From Mike Wittman and Robert Osfield, added - support for SO_VERSION number in - runtime version info. Added checks for OpenThreads version. - -2007-09-10 16:06 robert - - * CMakeLists.txt: Maded versioning under Windows the default. - -2007-09-10 15:19 robert - - * genwrapper.conf, include/osg/BlendColor, - include/osg/BlendEquation, include/osg/BlendFunc, - include/osg/ClampColor, include/osg/FragmentProgram, - include/osg/GLExtensions, include/osg/Multisample, - include/osg/Point, include/osg/Texture, src/osg/BlendColor.cpp, - src/osg/BlendEquation.cpp, src/osg/BlendFunc.cpp, - src/osg/BufferObject.cpp, src/osg/ClampColor.cpp, - src/osg/Drawable.cpp, src/osg/FragmentProgram.cpp, - src/osg/FrameBufferObject.cpp, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp, src/osg/Multisample.cpp, - src/osg/Point.cpp, src/osg/Texture.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Point.cpp, src/osgWrappers/osg/Texture.cpp: - Intoduced a new setGLExtensions template method to do a copy of - void* pointer to - local function pointer to avoid compiler warnings related to case - void*. - - Moved various OSG classes across to using setGLExtensions instead - of getGLExtensions, - and changed them to use typedef declarations in the headers - rather than casts in - the .cpp. - - Updated wrappers - -2007-09-08 07:21 robert - - * src/osgPlugins/osgViewer/View.cpp: Flesh out a bit more of the - view IO support - -2007-09-08 07:04 robert - - * src/osg/Image.cpp: Fixed typo - -2007-09-07 15:03 robert - - * examples/osgdepthpeeling/Utility.h, examples/osgtext/osgtext.cpp, - genwrapper.conf, include/osgManipulator/Dragger, - include/osgSim/OverlayNode, include/osgUtil/StateGraph, - src/osg/BufferObject.cpp, src/osg/Camera.cpp, - src/osg/Geometry.cpp, src/osgDB/Registry.cpp, - src/osgGA/EventQueue.cpp, - src/osgPlugins/Inventor/ConvertToInventor.h, - src/osgPlugins/Inventor/GroupSoLOD.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/old_Lwo2.cpp, src/osgPlugins/net/sockinet.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgSim/OverlayNode.cpp, src/osgTerrain/GeometryTechnique.cpp, - src/osgUtil/CullVisitor.cpp, - src/osgViewer/ViewerEventHandlers.cpp, - src/osgWrappers/osg/Array.cpp, src/osgWrappers/osg/StateSet.cpp: - From David Callu, warning fixes - -2007-09-07 13:54 robert - - * CMakeLists.txt: Removed warning type not support by gcc 4.1.x - -2007-09-07 13:37 robert - - * src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/Texture2DArray.cpp, - src/osgWrappers/osg/Uniform.cpp: Updated wrappers for new - Texture2DArray class - -2007-09-07 13:25 robert - - * include/osg/Texture, include/osg/Texture2DArray: Moved defined - from Texture2DArray into Texture - -2007-09-07 11:21 robert - - * include/osg/FrameBufferObject, include/osg/GL2Extensions, - include/osg/Texture, include/osg/Texture2DArray, - include/osg/Uniform, src/osg/CMakeLists.txt, - src/osg/FrameBufferObject.cpp, src/osg/Image.cpp, - src/osg/StateSet.cpp, src/osg/Texture2DArray.cpp, - src/osg/Uniform.cpp: From Art Tevs, - - "A new texture class Texture2DArray derived from - Texture extends the osg to support the new - EXT_texture_array extensions. Texture arrays provides - a feature for people interesting in GPGPU programming. - - - Faetures and changes: - - - Full support for layered 2D textures. - - - New uniform types were added (sampler2DArray) - - - FrameBufferObject implementation were changed to - support attaching of 2D array textures to the - framebuffer - - - StateSet was slightly changed to support texture - arrays. NOTE: array textures can not be used in fixed - function pipeline. Thus using the layered texture as a - statemode for a Drawable produce invalid enumerant - OpenGL errors. - - - Image class was extended to support handling of - array textures - - Tests: - I have used this class as a new feature of my - application. It works for me without problems (Note: - Texture arrays were introduced only for shading - languages and not for fixed function pipelines!!!). - RTT with Texture2DArray works, as I have tested them - as texture targets for a camera with 6 layers/faces - (i.e. replacement for cube maps). I am using the array - textures in shader programming. Array textures can be - attached to the FBO and used as input and as output." - -2007-09-07 10:50 robert - - * src/osgPlugins/zip/ReaderWriterZIP.cpp: From Daniel Sjolie, "I - patched the zip plugin to make use of my favorite - zip/pack-application for windows if it is installed in the - standard location..." - -2007-09-07 10:15 robert - - * CMakeModules/FindPerformer.cmake, - src/osgPlugins/pfb/CMakeLists.txt: From Guillaume Millet, "Please - find in attachment a small improvement to the pfb plugin - CmakeLists.txt and to the FindPerformer.cmake module. - - Under Windows libs are: libpf.lib (we need to add the lib prefix) - and - libpfdu-util.lib (libpfdu and libpfutil are compiled into one - lib) - We need to add PFROOT to the search path for libs and includes - (default - environment variable for Performer path) - And at last we need to put PFROOT/include and - PFROOT/include/Performer - as include dir for compiling." - -2007-09-07 09:53 robert - - * src/osgTerrain/Locator.cpp: From Maria Ten, fix lat/long usage. - -2007-09-07 09:49 robert - - * src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h: - From Mattias Linde, "Have made the updates now. Added a std::map - for easy lookup if a visual node - is targeted by a rigid body which is the reason why the .h-file - was changed too. - So now there'll be Group as often as possible, otherwise - PostitionAttitudeTransform." - -2007-09-06 08:23 robert - - * src/osgIntrospection/CMakeLists.txt: Added osg lib - -2007-09-05 17:12 robert - - * include/osgDB/Version, include/osgFX/Version, - include/osgGA/Version, include/osgIntrospection/Version, - include/osgManipulator/Version, include/osgParticle/Version, - include/osgShadow/Version, include/osgSim/Version, - include/osgTerrain/Version, include/osgText/Version, - include/osgUtil/Version, include/osgViewer/Version, - src/osgDB/Version.cpp, src/osgFX/CMakeLists.txt, - src/osgFX/Version.cpp, src/osgGA/Version.cpp, - src/osgIntrospection/CMakeLists.txt, - src/osgIntrospection/Version.cpp, - src/osgManipulator/CMakeLists.txt, - src/osgManipulator/Version.cpp, src/osgSim/Version.cpp, - src/osgUtil/Version.cpp, src/osgViewer/Version.cpp: From David - Callu, improved consistency of Version strings and add version - support - for osgIntrospection and osgManipulator. - -2007-09-05 17:03 robert - - * src/CMakeLists.txt, src/osgDB/CMakeLists.txt, - src/osgFX/CMakeLists.txt, src/osgGA/CMakeLists.txt, - src/osgIntrospection/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/gif/CMakeLists.txt, - src/osgPlugins/jpeg/CMakeLists.txt, - src/osgPlugins/png/CMakeLists.txt, - src/osgPlugins/quicktime/CMakeLists.txt, - src/osgSim/CMakeLists.txt, src/osgTerrain/CMakeLists.txt, - src/osgText/CMakeLists.txt, src/osgUtil/CMakeLists.txt, - src/osgWrappers/CMakeLists.txt: Changed tabs to four spaces to - make merges more straight forward - -2007-09-05 16:47 robert - - * src/osgPlugins/quicktime/ReaderWriterQT.cpp: Added automatic - removal of .qt extension that allows one to automatically select - the quicktime plugin. - -2007-09-05 16:36 robert - - * src/osgPlugins/osgTerrain/Terrain.cpp: Added setting of locator - source - -2007-09-05 14:15 robert - - * include/osgTerrain/Locator, src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp, - src/osgTerrain/Locator.cpp, - src/osgWrappers/osgTerrain/Locator.cpp: Added option to Locator - to help specify here the locator value was defined from. - - Update wrappers and Gdal plugin to use this new parameter - -2007-09-04 14:00 robert - - * src/osgPlugins/osgTerrain/Terrain.cpp: Improved Terrain IO - -2007-09-04 12:38 robert - - * src/osgText/DefaultFont.cpp: Added mutex to - DefaultFont::instance(). - -2007-09-04 12:32 robert - - * include/osgText/Font, src/osgText/Font.cpp: Added mutex into - osgText::Font::GlphTexture to marshel adding to and reading - from glyph list - -2007-09-04 09:00 robert - - * include/osgUtil/StateGraph: Rearrange _stateset member variable - to avoid compile warning - -2007-09-03 16:04 robert - - * AUTHORS.txt, README.txt: Updated AUTHORS and README to 2.1.9 dev - release - -2007-09-03 16:02 robert - - * ChangeLog: Updated ChangeLog - -2007-09-03 15:47 robert - - * src/osgWrappers/osg/Texture.cpp: Updated wrappers - -2007-09-03 15:43 robert - - * include/osg/Texture, src/osg/TextureRectangle.cpp: From Sherman - Wilcox, added extension checking support for compressed texture - subloading. - -2007-09-03 15:22 robert - - * src/osgPlugins/Inventor/CMakeLists.txt, - src/osgPlugins/Inventor/ConvertToInventor.cpp: From Jan Peciva, - build fix - -2007-09-03 14:05 robert - - * CMakeLists.txt, include/osg/Version: Updated version number for - 2.1.9 dev release - -2007-09-03 13:59 robert +Tue, 18 Jan 2011 15:00:36 +0000 +Checked in by : Robert OSFIELD +Moved the StateSet query and texcoord settings to within the if (vertices) block to avoid an attempt to dereferences geometry->getStateSet() when non Geometry drawable is intersected. - * CMakeModules/FindInventor.cmake, - src/osgPlugins/Inventor/CMakeLists.txt: From Jan Peciva, - improvement to the FindInventor. +Tue, 18 Jan 2011 11:20:53 +0000 +Checked in by : Robert OSFIELD +Fixed CompileSet so it returns true when there is nothing to compile at all. -2007-09-03 13:52 robert +Tue, 18 Jan 2011 09:54:47 +0000 +Checked in by : Robert OSFIELD +Build fix - * src/osgPlugins/Inventor/CMakeLists.txt, - src/osgPlugins/Inventor/ConvertFromInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.cpp, - src/osgPlugins/Inventor/ConvertToInventor.h, - src/osgPlugins/Inventor/README.txt, - src/osgPlugins/Inventor/ReaderWriterIV.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.h: From Jan Peciva, Added - write support into Inventor plugin. - - Note from Robert Osfield. A couple of lines of code in - ConvertToInventor.cpp - would not compile under g++ 4.1.2, so rather than hold back the - dev release till - this is resolved I've optional compiled out the problem section. - The #define DISABLE_PROBLEM_COMPILE_SECTIONS is used to compile - out the problem - section, this define is add via the CMakeLists.txt file. +Mon, 17 Jan 2011 17:17:19 +0000 +Checked in by : Robert OSFIELD +Implemented better coupling of DatabasePager and IcrementalCompileOperation, removing functional duplication and opening the door to dynamic enabling/disabling of pre compile based on load. -2007-09-03 12:27 robert +Mon, 17 Jan 2011 09:10:14 +0000 +Checked in by : Robert OSFIELD +Added getNum methods - * examples/CMakeLists.txt, examples/osgdepthpeeling, - examples/osgdepthpeeling/CMakeLists.txt, - examples/osgdepthpeeling/DePee.cpp, - examples/osgdepthpeeling/DePee.h, - examples/osgdepthpeeling/DePeePass.cpp, - examples/osgdepthpeeling/DePeePass.h, - examples/osgdepthpeeling/Utility.cpp, - examples/osgdepthpeeling/Utility.h, - examples/osgdepthpeeling/osgdepthpeeling.cpp: Added - osgdepthpeeling example +Sat, 15 Jan 2011 18:12:19 +0000 +Checked in by : Robert OSFIELD +First steps on the path to integrating ImageProcessor -2007-09-03 10:12 robert +Fri, 14 Jan 2011 14:30:19 +0000 +Checked in by : Robert OSFIELD +From Guy Volckaert, "Changes to the openflight plugin to support replacing double sided polygons by 2 opposite facing polygons. This is sometimes required to resolved lighting and intersection issues. A new import option was was added to activate this feature called "replaceDoubleSidedPolys". - * src/osgPlugins/tiff/ReaderWriterTIFF.cpp: From Ralf Kern, "the - attached color mapped TIFF file klink1_l.tif is incorrectly read - as - GL_LUMINANCE data instead of GL_RGB data. You can easily check - with - "osgViewer --image klink1_l.tif". - - The bug is in ReaderWriterTIFF.cpp function simage_tiff_load, - where - numComponents_ret is incorrectly set to 1 instead of 3 for color - mapped - data." +Fri, 14 Jan 2011 13:31:07 +0000 +Checked in by : Robert OSFIELD +From Sukender, "- Lowered one notify level (it's now coherent with the "if" just above)" -2007-09-03 10:04 robert +Fri, 14 Jan 2011 12:08:46 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I'd like to submit a small new feature to the osgmanipulator example which could fix the dragger size in screen, so that no matter how we zoom in/out the camera, the dragger will never be scaled.This is what 3D graphics software like 3dsmax and maya behave, which +helps users select and manipulate draggers more easily. - * examples/osgviewerMFC/MFC_OSG_MDIView.cpp, - examples/osgviewerMFC/MFC_OSG_MDIView.h: From Almalric Alexandre, - "I've noticed that all osgViewerMFC example from osg 2.x.x are - flickering when resizing 3D view, to avoid this only add - OnEraseBkgnd callback in CMFC_OSG_MDIView class and do nothing in - it. Just like the WxWidget example. - - Attached the modified version of MFC_OSG_MDIView.cpp and - MFC_OSG_MDIView.h." - - Note from Robert Osfield, submission came with wrong header file, - so have had - to guess at what it should be, fingers crossed it worn't break - windows build... :-) +You may turn on the feature with the new --fixedDraggerSize argument: -2007-09-03 09:56 robert +# osgmanipulator.exe --fixedDraggerSize --dragger TranslateAxisDragger +cessna.osg +" - * src/osg/PagedLOD.cpp: From Laurens Voerman, "I hit a bug when - making a copy of a PagedLOD node, the copy has lost - it's _databasePath and can no longer load it's childen. " - - Added _databasePath(plod._databasePath), in the copy copy - construcutor. -2007-09-03 09:54 robert - * src/osg/PagedLOD.cpp: Fixed spacing. +Fri, 14 Jan 2011 12:03:37 +0000 +Checked in by : Robert OSFIELD +From Sukender, "TIFF plugin now outputs messages coming from libtiff. " -2007-09-03 09:50 robert +Fri, 14 Jan 2011 11:49:55 +0000 +Checked in by : Robert OSFIELD +From Sukender, "Small submission: - 3DS reader now takes care to not create Texture2D duplicates" - * src/osg/TextureRectangle.cpp: From Sherman Wilcox, "I modified - texturerectangle.cpp to address this issue. I used a DXT5 DDS - file to test the change." +Fri, 14 Jan 2011 11:46:43 +0000 +Checked in by : Robert OSFIELD +Fixed for build with non autoatic ref_ptr<> to C pointer conversion -2007-09-03 09:47 robert +Fri, 14 Jan 2011 11:00:11 +0000 +Checked in by : Robert OSFIELD +From Brad Christiansen, "Attached is a fix which implements the lazy loading of optional layers (if requested) in the new osgb/osgt formats." - * src/osgWrappers/osg/OperationThread.cpp, - src/osgWrappers/osgViewer/View.cpp: Updated wrapper +Thu, 13 Jan 2011 18:49:12 +0000 +Checked in by : Robert OSFIELD +Updated so version number -2007-09-03 09:43 robert +Thu, 13 Jan 2011 18:05:59 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, added missing ImageProcessor header reference - * include/osg/OperationThread: Added default contructors to - Operation +Thu, 13 Jan 2011 14:59:29 +0000 +Checked in by : Robert OSFIELD +Added ImageProcessor interface class and plugin mechnanism for ImageProcessor implementations to osgDB::Registry.Add NVidiaTextureTools based plugin that provides an ImageProcessor implementation within an nvtt plugin. -2007-09-02 22:31 robert - * examples/osgtext/osgtext.cpp: Fixed cancel loop. -2007-09-01 16:56 robert +Wed, 12 Jan 2011 19:29:24 +0000 +Checked in by : Robert OSFIELD +Refactored the way that the DatabasePager passes the Terrain decorator node onto the TerrainTile.The DatabasePager now passes the Terrain pointer into the ReaderWriter's via osgDB::Options object, +rather than pushing a NodePath containing the Terrain onto NodeVisitor. This +change means that the DatabasePager nolonger needs to observer the whole NodePath and +will be lighter and quicker for it. - * include/osgViewer/View, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Added convinience methods for setting - up 3d spherical displays. +The change also means that ReadFileCallback can now run custom NodeVisitor's on the scene graph without +having to worry about TerrainTile's constructing scene graphs prior to the Terrain being assigned. -2007-09-01 15:24 robert +Also changed is the NodeVisitor::DatabaseRequestHandler which now requires a NodePath to the node that you wish +to add to rather than just the pointer to the node you wish to add to. This is more robust when handling scenes +with multiple parental paths, whereas previously errors could have occurred due to the default of picking the first +available parental path. This change means that subclasses of DatabasePager will need to be updated to use this new +function entry point. - * include/osgText/Font, src/osgText/Font.cpp, src/osgText/Text.cpp, - src/osgWrappers/osgText/Font.cpp: Changed Font's mutex to become - a static mutex shared between all instances of Font. - This ensures single threaded access of the freetype plugin. -2007-08-31 20:30 robert - * include/osgText/Font, src/osgText/Text.cpp, - src/osgWrappers/osgText/Font.cpp: Changed mutex reference to a - mutex pointer to avoid problems with wrappers -2007-08-31 20:21 robert +Wed, 12 Jan 2011 17:39:35 +0000 +Checked in by : Robert OSFIELD +Fixed comment - * src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osgText/Font.cpp: Updated wrappers +Tue, 11 Jan 2011 17:29:47 +0000 +Checked in by : Robert OSFIELD +From Sukender, "FBX plugin did not relay the osgDB::ReaderWriter::Options* when writing images (the writeImage() call). Now it does." -2007-08-31 20:16 robert +Tue, 11 Jan 2011 17:29:11 +0000 +Checked in by : Robert OSFIELD +Changed dos endings to unix line endings - * include/osgText/Font, src/osgText/Text.cpp: To solve creations - with multi-threaded creation of text, added mutex to Font, and - use of this mutex in Text, and added mutex to the reading - of fonts. +Tue, 11 Jan 2011 17:23:22 +0000 +Checked in by : Robert OSFIELD +From Mikhail Izmestev, "Current osgManipulator::AntiSquishCallback stops update traversal of childrens." -2007-08-31 20:14 robert +Tue, 11 Jan 2011 17:20:25 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, "We encountered a problem when we tried overloading StandardManipulator class. Linker was unable to find StandardManipulator::AnimationData methods. Prefixing AnimationData with OSGGA_EXPORT removed the issue.Fixed header is attached." - * include/osg/Referenced, src/osg/Drawable.cpp, src/osg/Node.cpp, - src/osg/StateSet.cpp: Added mutex locking add - addParents/removeParents in Drawable, Node and StateSet. -2007-08-31 18:56 robert - * src/osgText/Font.cpp: Added mutex to protect the readFontFile - calls +Tue, 11 Jan 2011 17:18:44 +0000 +Checked in by : Robert OSFIELD +From Chris Hanson, "As an extension to this excellent work: http://forum.openscenegraph.org/viewtopic.php?t=7285 This file adds the same string API wrapper to the State object for other older apps that +track Uniforms by string. The original comment about performance is preserved." -2007-08-31 16:59 robert - * examples/osgtext/osgtext.cpp: Added support for running multiple - text generation threads -2007-08-31 16:05 robert +Tue, 11 Jan 2011 17:05:24 +0000 +Checked in by : Robert OSFIELD +Changed debug messages to INFO - * include/osgUtil/CullVisitor, include/osgUtil/RenderLeaf, - include/osgUtil/StateGraph, src/osgSim/OverlayNode.cpp, - src/osgUtil/RenderLeaf.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/StateGraph.cpp: Changed RenderLeaf and - StateGraph so that they use ref_ptr<> by default for Drawable and - StateSet. +Tue, 11 Jan 2011 17:04:37 +0000 +Checked in by : Robert OSFIELD +From Glenn Waldron, "Attached is a fix to State::convertVertexShaderSourceToOsgBuiltIns. The method was incorrectly inserting new declarations before a GLSL "#version" directive, which must always be the first line in a shader. This patch detects the #version directive and ensures that new declarations are inserted after it.Attached is the modified State.cpp file. -2007-08-31 15:49 robert +I have also attached a sample transcript, showing the new code working properly. I ran it against osgEarth's shaders and it works as expected. - * src/osgWrappers/CMakeLists.txt: From Luigi Calori, fixed Windows - install of wrappers +" -2007-08-31 12:14 robert - * include/osgTerrain/TileSystem: Added export for Windows build -2007-08-31 11:04 robert +Tue, 11 Jan 2011 16:58:17 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, "This patch fixes a race condition in Renderer::ThreadSafeQueue that was causing some notifications of available SceneView objects to be missed. I saw a very noticeable performance problem (60 fps -> 8 fps) in DrawThreadPerContext mode in an osgEarth application before this patch. I had high hopes that this change might fix the much-discussed multiple GPU problem; no such luck, but I think the root cause of that is probably a similar threading issue." - * src/osgWrappers/CMakeLists.txt: From Luigi Calori, added support - for Win32 versioning/new buid placement. +Tue, 11 Jan 2011 16:18:49 +0000 +Checked in by : Robert OSFIELD +From Guy Volckaert, warning fixes -2007-08-30 19:26 robert +Tue, 11 Jan 2011 11:39:50 +0000 +Checked in by : Robert OSFIELD +Added more flexible testing of Text3D - * examples/osgterrain/osgterrain.cpp, include/osgTerrain/Locator, - src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp, - src/osgTerrain/Locator.cpp, - src/osgWrappers/osgTerrain/Locator.cpp: Further work on - osgTerrain::Locator and GDAL plugin +Tue, 11 Jan 2011 11:39:31 +0000 +Checked in by : Robert OSFIELD +Unified more of the 2D and 3D text setup, fixed bugs in Text3D setup which address the problems of black 3D text and the kerning causing problems with font positioning. -2007-08-30 12:18 robert +Mon, 10 Jan 2011 13:28:23 +0000 +Checked in by : Robert OSFIELD +Improved the handling of application argument output when the options are very long. - * src/osgPlugins/geo/CMakeLists.txt: From Luigi Calori, add osgText - to geo plugin build +Wed, 5 Jan 2011 11:43:37 +0000 +Checked in by : Robert OSFIELD +Added check for invalid face size to prevent a crash -2007-08-30 10:41 robert +Tue, 4 Jan 2011 10:21:50 +0000 +Checked in by : Robert OSFIELD +Added extra checks to osg::Geometry::verifyArrays(std::ostream&) - * CMakeLists.txt, CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgMacroUtils.cmake, src/CMakeLists.txt, - src/osgPlugins/CMakeLists.txt, src/osgPlugins/txp/CMakeLists.txt, - src/osgSim/CMakeLists.txt: From Luigi Calori, introduction of - versioning of dll's and placement of dll and plugins into bin - directory during build. +Mon, 3 Jan 2011 19:41:06 +0000 +Checked in by : Robert OSFIELD +Added osg::Geometry::verifyArray(std::ostream&) method to enable checks to be done on osg::Geometry to see if the arrays are big enough to handle the primitives used in the geometry.Added usage of verifyArray into osgfilecache so that it reports any problems on reading files in paged database. -2007-08-30 10:17 robert - * src/osgWrappers/osgTerrain/Layer.cpp: Updated wrappers -2007-08-30 10:15 robert +Fri, 24 Dec 2010 19:47:31 +0000 +Checked in by : Robert OSFIELD +Added iterator include - * include/osgTerrain/Layer, src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/DataSetLayer.h: Further refinement of - ProxyLayer API +Fri, 24 Dec 2010 19:19:48 +0000 +Checked in by : Robert OSFIELD +Refactored IncrementalCompileOperation to make it more flexible. -2007-08-29 16:29 robert +Thu, 23 Dec 2010 13:11:15 +0000 +Checked in by : Robert OSFIELD +Fixed warnings - * include/osgTerrain/Layer, include/osgTerrain/TileSystem, - src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/DataSetLayer.h, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgTerrain/CMakeLists.txt, src/osgTerrain/TileSystem.cpp, - src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgTerrain/TileSystem.cpp: Further work on new - ProxyLayer +Thu, 23 Dec 2010 10:45:43 +0000 +Checked in by : Robert OSFIELD +Deleted old makefile files that are no longer required now we have CMake -2007-08-29 12:18 robert +Thu, 23 Dec 2010 10:07:27 +0000 +Checked in by : Robert OSFIELD +From Per Fahlberg, "The FindCOLLADA.cmake module failed to find the static libs for the latest collada dom, attached is the fixed file." - * include/osgTerrain/Layer, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp, src/osgTerrain/Layer.cpp, - src/osgWrappers/osgTerrain/Layer.cpp: Added ProxyLayer support - into osgTerrain plugin +Thu, 23 Dec 2010 10:05:55 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein (applied by Robert Osfield), "OpenThreads/win32/Win32Condition.h is not used anymore and could be removed from the repository and win32/OpenThreads.mak and win32/CMakeLists.txt." -2007-08-29 11:51 robert +Thu, 23 Dec 2010 09:59:35 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien, "In my auto-build today there are 3 errors caused by using a ref_ptr in a function taking a T* when building without the implicit conversion." - * src/osgPlugins/gdal/CMakeLists.txt, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Added support for post - fixing filenames with .gdal to force use of gdal plugin. +Wed, 22 Dec 2010 20:11:05 +0000 +Checked in by : Robert OSFIELD +Converted FrameStamp::g/setFrameNumber from int to uint -2007-08-29 10:52 robert +Tue, 21 Dec 2010 12:54:06 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, Dereference the databaseRequest while the queue is locked. This prevents the request from being deleted at an unpredictable time within addLoadedDataToSceneGraph. - * include/osgTerrain/Layer, src/osgPlugins/gdal/CMakeLists.txt, - src/osgPlugins/gdal/DataSetLayer.cpp, - src/osgPlugins/gdal/DataSetLayer.h, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Added preliminary - ProxLayer and DataSetLayer in GDAL plugin to aid integration - of GDAL reading into osgTerrain. +Tue, 21 Dec 2010 12:51:15 +0000 +Checked in by : Robert OSFIELD +Introduced a local reference to the appropriate EasyCurl object to avoid seperate getEasyCurl() incurring a mutex lock overhead. -2007-08-28 16:12 robert +Tue, 21 Dec 2010 10:23:31 +0000 +Checked in by : Robert OSFIELD +Improved indentation to make it more readable and consistent with OSG. - * src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.cpp: Changed the error - code reporting to use hex to match up with freetype headers +Tue, 21 Dec 2010 09:36:03 +0000 +Checked in by : Robert OSFIELD +Cleaned up the frame number increment. -2007-08-28 15:35 robert +Tue, 21 Dec 2010 09:12:18 +0000 +Checked in by : Robert OSFIELD +From Paul Martz, Fix for "in expGeometryRecords.cpp lines 813-820, we write the UV list data incorrectly. According to the FLT spec, the data should be grouped per-vertex, not per-layer.We should have: + UV for vertex 0, layer 1 + UV for vertex 0, layer 2 + UV for vertex 1, layer 1 + UV for vertex 1, layer 2 + ...etc... - * src/osgPlugins/tiff/CMakeLists.txt: Improved formatting. +Instead, we have this: + UV for vertex 0, layer 1 + UV for vertex 1, layer 1 + ...etc... + UV for vertex 0, layer 2 + UV for vertex 1, layer 2 + ...etc..." -2007-08-28 15:35 robert - * src/osgPlugins/gdal/CMakeLists.txt: Removed the OSG_INCLUDE -2007-08-28 15:31 robert - * examples/osgtext/osgtext.cpp: Tweeked settings +Mon, 20 Dec 2010 17:04:59 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, "In this file I’ve changed TriangleFunctor to TemplatePrimitiveFunctor, and added operator() methods for:· points (just look at points in frustum) -2007-08-28 14:02 robert +· lines (simple line clip—replace the external point) - * examples/osgtext/osgtext.cpp: Added multi-threaded test path +· quadrilaterals (call operator() for triangles twice)" -2007-08-27 16:59 robert - * examples/osgterrain/osgterrain.cpp, include/osgTerrain/Locator, - src/osgPlugins/osgTerrain/Terrain.cpp, - src/osgTerrain/Locator.cpp, - src/osgWrappers/osgTerrain/Locator.cpp: Replaced CartesianLocator - and EllipsoidLocator by a single general purpose - Locator class -2007-08-27 13:33 robert - * examples/osgviewerWX/osgviewerWX.cpp, - examples/osgviewerWX/osgviewerWX.h: From Brandon Hamm, changed - WxWindows example to use double buffering +Mon, 20 Dec 2010 16:23:27 +0000 +Checked in by : Robert OSFIELD +From Andy Skinner, "We use a shared array for our OpenSceneGraph arrays, and the existing (deprecated) OSG plugin casts the Array to IntArray and FloatArray and the like. Because our arrays don’t use FloatArray, this crashes for us.Attached is src/osgWrappers/deprecated-dotosg/osg/Geometry.cpp. It gets the data pointer out and casts it to a pointer to the element type, rather than casting the array object itself. This seems to work." -2007-08-27 13:29 robert - * src/osg/GraphicsContext.cpp, src/osgViewer/HelpHandler.cpp, - src/osgViewer/StatsHandler.cpp: Added support for controlling the - draw order on Cameras on each GraphcisContext - via the Camera::setRenderOrder parameters -2007-08-27 10:37 robert +Mon, 20 Dec 2010 12:17:40 +0000 +Checked in by : Robert OSFIELD +Moved the GL3 include to within the code block that handles GL1/GL2 - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS file for - release +Mon, 20 Dec 2010 12:03:56 +0000 +Checked in by : Robert OSFIELD +Fixed memory leak by introducing use of ref_ptr<> -2007-08-27 10:29 robert +Mon, 20 Dec 2010 12:02:50 +0000 +Checked in by : Robert OSFIELD +From Kim Seokhwan, "Error fix in example/osganimationmorph/osganimationmorph.cppin this file, +function, +osg::Geometry* getShape(const std::string& name) +(line 51) - * README.txt: Updated date on READEME +tries to use null pointer when model is not provided. +I added simple comment in attached file." -2007-08-27 10:28 robert - * CMakeLists.txt, include/osg/Version: Updated version numbers for - 2.1.8 dev release -2007-08-27 10:00 robert - * src/osg/Matrix_implementation.cpp: Cleaned up the getRotate - implementation selection using #defines, and made the - COMPILE_getRotate_David_Spillings_Mk1 the default. -2007-08-27 09:51 robert +Mon, 20 Dec 2010 10:49:30 +0000 +Checked in by : Robert OSFIELD +From Trajce Nikolov, Fixes to avoid cracks in older archives, tested with archives 2.0, 2.1, 2.2 . - * examples/osgunittests/osgunittests.cpp: From David Spilling, - tweaked quat tests to reproduce getRotate errors. +Sun, 19 Dec 2010 13:25:45 +0000 +Checked in by : Robert OSFIELD +From Trajce Nicklov, "I went thru the TileMapper today very carefuly and I remove all the tileStack approach - it made everything simplier and I think more proper. Cleaned the code as well. It was tested on huge archive with many lods as well with variable lods. Fix attached." -2007-08-26 10:27 robert +Fri, 17 Dec 2010 13:43:41 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, fix for race conditions in takeOrGenerate() methods - * examples/osglauncher/osglauncher.cpp, src/osg/Array.cpp: From Jan - Ciger, warning fixes +Fri, 17 Dec 2010 11:46:42 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2007-08-26 10:24 robert +Fri, 17 Dec 2010 11:19:29 +0000 +Checked in by : Robert OSFIELD +Added --speed command line parameter to osgviewer to enable control of the speed that animation paths are played back at. - * src/osgDB/FileUtils.cpp: From Jean-Sebastien Guay, fixed comment +Fri, 17 Dec 2010 10:59:05 +0000 +Checked in by : Robert OSFIELD +Fixed the GLBufferObjectSet::deleteAllGLBufferObjets() and TextureObjectSet::deletaAllTextureObjects() methods and improved the checkConsistency() usage so it's now possible to switch if off completed from being compiled in. -2007-08-26 10:19 robert +Wed, 15 Dec 2010 19:44:29 +0000 +Checked in by : Robert OSFIELD +Fixed the size computation - * applications/osgconv/osgconv.cpp: Added - dynamic_cast and extra doc commented just to - force the - use of symbol from osgViewer so that it links properly and pulls - in the platform - specific GraphcisWindow* implementation. +Wed, 15 Dec 2010 16:30:48 +0000 +Checked in by : Robert OSFIELD +Removed no longer used static member variables -2007-08-26 09:59 robert +Wed, 15 Dec 2010 12:34:16 +0000 +Checked in by : Robert OSFIELD +Improvements to GLBufferObject and TextureObject pools - * src/osg/ApplicationUsage.cpp: Change char* to const char* to fix - warnings +Tue, 14 Dec 2010 20:22:34 +0000 +Checked in by : Robert OSFIELD +Added report of ration of current size to max target size for buffer. -2007-08-26 09:46 robert +Tue, 14 Dec 2010 20:07:41 +0000 +Checked in by : Robert OSFIELD +Added --speed option and output of buffer object and texture object pool stats at the end of the animation path. - * include/osgViewer/Renderer, src/osgViewer/Renderer.cpp, - src/osgWrappers/osgViewer/Renderer.cpp: Updated wrappers, and - change Renderer so that private: to proteccted:. +Tue, 14 Dec 2010 20:07:00 +0000 +Checked in by : Robert OSFIELD +Added AnimationCompletedCallback, s/getTimeScale and s/getTimeOffset() method to enable finer control of AnimationPathManipulator. -2007-08-26 09:45 robert +Tue, 14 Dec 2010 19:29:01 +0000 +Checked in by : Robert OSFIELD +Added methods for checking sizes of various buffer object/texture object pool sizes. - * README.txt: Updated links +Tue, 14 Dec 2010 15:28:31 +0000 +Checked in by : Robert OSFIELD +Removed redundent MinimumNumberOfTextureObjectsToRetainInCache static variable -2007-08-24 19:16 robert +Tue, 14 Dec 2010 14:32:16 +0000 +Checked in by : Robert OSFIELD +Improved the parsing of output filename - * src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp, - src/osgTerrain/GeometryTechnique.cpp: Changed debug comments to - output to notify level and tweaked the handling of the .terrain - file. +Tue, 14 Dec 2010 13:43:32 +0000 +Checked in by : Robert OSFIELD +Added GLBufferObjectManager::reportStats() -2007-08-24 19:16 robert +Tue, 14 Dec 2010 10:42:08 +0000 +Checked in by : Robert OSFIELD +From Alan Dickenson, "I modified the CPack CMake files to provide the ability to easily create packages of the OpenSceneGraph components.I modified the OsgCPackConfig.cmake.in and OsgCPack.cmake files to expose access to select the package generator mechanism through cmake CPACK_GENERATOR option. The user can specify the type of package generator (i.e. rpms. deb, NSIS, tar, zip, etc) that they would like to use from the CPack supported packages/installation methods. - * src/osgDB/Registry.cpp, src/osgPlugins/osg/ReaderWriterOSG.cpp: - Added support for reading a .osg style data from a file string - when trailed by a .osgs extension i.e. - - osgviewer "osgTerrain::Terrain { ElevationLayer { - CartesianLocator 0 0 1000000 1000000 Image ps_height_512.tif } - ColorLayer { CartesianLocator 0 0 1000000 1000000 Image - ps_texture_1k.tif } }".osgs +I also changed the CPACK_PACKAGE_FILE_NAME to use OSG_PACKAGE_FILE_NAME which contains the name of each component so all of the component packages can be generated without renaming the files. -2007-08-24 18:48 robert +This should make it even easier to create distribution packages for the various linux, windows and mac distribution methods supported by CPack." - * src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp: Added writing out of - Terrain, Layer and Locators, and reading in of .terrain string. -2007-08-24 16:16 robert - * src/osgTerrain/GeometryTechnique.cpp: Set the debug out to info - notification level -2007-08-24 16:12 robert +Tue, 14 Dec 2010 08:58:27 +0000 +Checked in by : Robert OSFIELD +Moved Performer and Inventor plugins into block protected to only compile when not using GLES. - * src/osgText/Font.cpp: Added better handling of - OSG_TEXT_INCREMENTAL_SUBLOADING env var. +Tue, 14 Dec 2010 08:53:20 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "A modified version is attached. The blank while generating is in fact used to avoid dual update traversals of the scene, which is not allowed in my application (but I forgot the reason ;-) Now the blank problem will disappear.Inactive mode is also available, using the --inactive mode and +--camera-eye and --camera-hpr to set camera position: -2007-08-24 16:10 robert +./osgposter --output-poster --poster output.bmp --tilesize 800 600 +--finalsize 8000 6000 cow.osg --inactive --camera-eye 0 0 20 +" - * src/osgText/Font.cpp: Added default disabling of incremental - subload for ATI cards. -2007-08-24 14:00 robert - * src/osgDB/DatabasePager.cpp: Added support for setting - DatabasePager thread priority via OSG_DATABASE_PAGER_PRIORITY. +Mon, 13 Dec 2010 17:54:27 +0000 +Checked in by : Robert OSFIELD +Renamed osgviewerQtContext to osgviewerQt, and removed deprecated examples from CMakeLists.txt -2007-08-24 13:33 robert +Mon, 13 Dec 2010 17:50:57 +0000 +Checked in by : Robert OSFIELD +Moved osgviewerQT and osgviewQtWidget to deprecated as osgviewerQtContext will no be the main Qt example - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp, - src/osgViewer/StatsHandler.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp: Cleaned up the thread - priority management in DatabasePager and added - support for paging stats. +Mon, 13 Dec 2010 17:50:00 +0000 +Checked in by : Robert OSFIELD +Moved osgbrowser into svn/trunk. -2007-08-24 10:58 robert +Mon, 13 Dec 2010 17:49:37 +0000 +Checked in by : Robert OSFIELD +Move osgcegui into deprecated - * include/osgViewer/Renderer, src/osgViewer/Renderer.cpp: Added - setting of block into the ThreadSafeQueue's contructor. - -2007-08-24 09:45 robert - - * examples/osgviewerFOX/FOX_OSG_MDIView.cpp: Disable the escape - sets done on the viewer - -2007-08-24 09:42 robert - - * examples/osgviewerFOX/FOX_OSG_MDIView.cpp, - examples/osgviewerWX/osgviewerWX.cpp: From Mario Valle, - - osgviewerWX: "To make the example compile using a wx build non - UNICODE based. - Tested on Linux with wxGTK 2.8.4" - - osgviewerFOX: "Added removeChore() call in the FOX_OSG_MDIView - destructor to get rid of a Trace/BPT trap - error on exit on Linux. BTW this is suggested also in the FOX - documentation." - -2007-08-23 16:56 robert - - * src/osgPlugins/osgFX/CMakeLists.txt, - src/osgPlugins/osgParticle/CMakeLists.txt, - src/osgPlugins/osgSim/CMakeLists.txt, - src/osgPlugins/osgText/CMakeLists.txt, - src/osgPlugins/osgViewer/CMakeLists.txt: Made plugin build names - lowercase - -2007-08-23 16:33 robert - - * src/osgPlugins/OpenFlight/CMakeLists.txt: Changed the plugin name - to openflight instead of OpenFlight to avoid problems - with osgDB looking for just lower case plugin names - -2007-08-23 15:36 robert - - * AUTHORS.txt, CMakeLists.txt, ChangeLog, - applications/osgversion/osgversion.cpp, include/osg/Version: - Updated for 2.1.7 dev release - -2007-08-23 14:35 robert - - * src/osgViewer/Renderer.cpp: From Stephan Huber, fix for crash on - exit - -2007-08-23 14:31 robert - - * include/osg/DisplaySettings, src/osg/DisplaySettings.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/View.cpp, - src/osgWrappers/osg/DisplaySettings.cpp: From Galen Faidley," - Please find attached the modifications to get the new - checkerboard - stereo format to work. It's a good thing I tested these on a TV - before submitting them since I did indeed have a bug. One thing I - did not test was to see how this would work in windowed mode. - Does - the interlaced stereo code have support for 'absolute' positions? - For example a given pixel on the screen is always shown in a - given - eye no matter where the graphics context is placed? - " - -2007-08-23 14:10 robert - - * src/osgDB/FileUtils.cpp: From Jean-Sebastien Guay,"As discussed - yesterday on the osg-users list, I have altered - src/osgDB/FileUtils.cpp to implement the official Windows DLL - search - order as described on the page - http://msdn2.microsoft.com/en-us/library/ms682586.aspx . As - mentioned, - the search order is now: - 1. The directory from which the application loaded. - 2. The system directory. (C:\Windows\System32 by default, gotten - using the - GetSystemDirectory function) - 3. The 16-bit system directory. (C:\Windows\System by default, - gotten by - adding "\System" to the path gotten in the next step...) - 4. The Windows directory. (C:\Windows by default, gotten using - the - GetWindowsDirectory function) - 5. The current directory. (".") - 6. The directories that are listed in the PATH environment - variable. (as - before) - - The first four directories are obtained using Win32 API calls, so - they - should work correctly even on non-standard Windows installs. - - The changes are well commented and should be clear, even to - someone - not familiar with the Win32 API. - - I have tested in a few scenarios and it works as expected. Serge - Lages - has also tested the changes and confirmed they worked as - described. I - have not had any other reports though (positive or negative). - - I also fixed the issue with a trailing semicolon on the PATH - adding an - empty string to the end of the search paths, as this was an - inconsistent side effect rather than a desirable effect. This - change - will take effect on other platforms as well, but since it tests - for an - empty string in the last item added to the search paths, it - should - have no adverse effect. - " - -2007-08-23 11:06 robert - - * src/osgWrappers/osg/DisplaySettings.cpp: Updated wrappers - -2007-08-23 11:00 robert - - * include/osg/DisplaySettings, include/osgViewer/Renderer, - src/osg/DisplaySettings.cpp, src/osgViewer/Renderer.cpp: Addd - control for serializing draw dispatch. - -2007-08-22 19:31 robert - - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Jean-Sebastien - Guay, "After a bit more testing, it was still not 100% robust, so - this fix - will bring the change in line with what is done on other OSes - (Linux) - and works in all tested cases. - - For reference, this was tested with: - - osgviewer .wrl (file in current directory) - osgviewer \.wrl (file in child directory, relative) - osgviewer .\\.wrl (file in child directory, specify - current) - osgviewer :\\.wrl (absolute path) - " +Mon, 13 Dec 2010 17:37:42 +0000 +Checked in by : Robert OSFIELD +Have moved FindXUL.cmake to deprecated -2007-08-22 19:26 robert +Mon, 13 Dec 2010 17:36:02 +0000 +Checked in by : Robert OSFIELD +Have moved gecko plugin to deprecated - * include/osgViewer/Renderer, - src/osgWrappers/osgViewer/Renderer.cpp: Updated wrappers +Mon, 13 Dec 2010 17:09:31 +0000 +Checked in by : Robert OSFIELD +Added resizeGLObjectBuffers(uint) and relaseGLObjects(State*) to BufferData. -2007-08-22 17:18 robert +Mon, 13 Dec 2010 16:25:50 +0000 +Checked in by : Robert OSFIELD +Moved GraphicsWindowQt from osgviewerQtContext into osgQt. - * src/osgWrappers/osgViewer/Renderer.cpp: Updated wrappers +Mon, 13 Dec 2010 13:41:42 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2007-08-22 17:17 robert +Mon, 13 Dec 2010 13:37:37 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "Attachment is an example of rendering 3D scenes to high resolution screenshots.I uses a queue of Camera objects to do offscreen rendering with the Camera::attach() function. The entire picture is split into many tiles and it will take a few seconds while attaching and detaching cameras with tiles. You may select to output every tile as an image file, or combine them together to create a large poster, for example, a 12800 x 9600 image. - * include/osgViewer/Renderer, src/osgViewer/Renderer.cpp: - Refactored the implementation of cull/draw for - DrawThreadPerContex and CullThreadPerCameraDrawThreadPerContex - and added an experimental draw serialization. +Start the program like this: -2007-08-22 14:32 ewing +./osgposter --output-poster --poster output.bmp --tilesize 800 600 --finalsize 8000 6000 cow.osg - * Xcode/OSX_OSG_README.rtf: Documentation updates. +Adjust the scene camera to a suitable position and press 'p' or 'P' on the keyboard. Wait until sub-cameras dispatching is finished. And the poster file will be created while closing window. A 8000 x 6000 output.bmp will be created to show a fine-printed cow. :) -2007-08-22 12:33 robert +The command below may also help: - * src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers +./osgposter --help + " -2007-08-22 12:21 robert - * src/osgViewer/Viewer.cpp: Cleaned up the thread setup and fixed - the CullThreadPerCameraDrawThreadPerContext path -2007-08-22 12:14 robert +Mon, 13 Dec 2010 12:16:57 +0000 +Checked in by : Robert OSFIELD +Form Richard Schmidt, "The following features were added:* the glsl plugin now supports processing #includes. The file extension sets the shader type. - * include/osgText/Font, src/osgText/Font.cpp: Added thread safe - ref/unref by default. +* the registry releases gl objects of the shared state manager + " -2007-08-22 11:04 ewing - * Xcode/Misc/ArrangeDMG.sh, Xcode/Misc/DSStoreForDMG: Fixes to DMG - script to reflect removal of GDAL and external OpenThreads. - - Support for OpenSceneGraph-Data repo aside OpenSceneGraph repo. - - Added background image support to DMG. Pre-laid-out .DS_Store - included. -2007-08-22 10:56 ewing +Mon, 13 Dec 2010 11:34:33 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I implemented a customized viewer event traversal here to read state changes from the DirectInput devices and add events to the event queue. I've tested with the keyboard and joystick supports. Because of only having a very old 6-button gamepad, I can't do more experiments. Hope this will bring more ideas to those who face similar problems, especially simulation game designers. :)I didn't map all DirectInput key values to GUIEventAdapter key +symbols. Users may add more in the buildKeyMap() function freely. The +mouse handling operations are also ignored, but will be easily +improved in the same way of creating keyboard and joystick devices. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - Removed missing shadow examples from Xcode project. +Please add a line: -2007-08-22 10:34 robert +FIND_PACKAGE(DirectInput) - * include/osg/StateAttribute, src/osg/Drawable.cpp, - src/osg/Image.cpp, src/osg/Node.cpp, src/osg/StateAttribute.cpp, - src/osg/View.cpp: Set main scene graph elements to use thread - safe ref/unref by default +in the CMakeLists of root directory. And in the examples/CMakeLists.txt: -2007-08-22 09:50 robert +IF(DIRECTINPUT_FOUND) + ADD_SUBDIRECTORY(osgdirectinput) +ENDIF(DIRECTINPUT_FOUND) - * src/osgUtil/SceneView.cpp: Cleaned up copy constructor and - switched on thread safe ref/unref. +DirectX SDK 2009 is used here, but an older version like DX8 should +also work in my opinion. +" -2007-08-22 09:48 robert - * src/osg/Referenced.cpp: Added debug ENFORCE_THREADSAFE paths into - osg::Referenced, these are off by default. -2007-08-22 09:46 robert +Mon, 13 Dec 2010 10:46:18 +0000 +Checked in by : Robert OSFIELD +From Eduardo Poyart, "The attached patch fixes a race condition that caused OSG to try to render the scene before the window is realized. It works ok in my osgviewerWX-derived application under Linux." - * include/osgViewer/Viewer, src/osgViewer/Viewer.cpp: Simplified - the thread set up. +Sun, 12 Dec 2010 10:00:57 +0000 +Checked in by : Robert OSFIELD +Added TODO notes -2007-08-22 09:45 robert +Sun, 12 Dec 2010 09:58:45 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, added docs on Swap Method env vars and command line options - * src/osg/View.cpp: Added thread safe ref/unref +Sun, 12 Dec 2010 09:52:29 +0000 +Checked in by : Robert OSFIELD +From Trajce Nikolov, "attached is a fix for the txp loader (in TileMapper). The code was giving wrong parent tile ids using the stack - I implemented differnt approach for that" -2007-08-22 09:44 robert +Sun, 12 Dec 2010 09:40:16 +0000 +Checked in by : Robert OSFIELD +From David Fries, "The ffmpeg lockmanager was introduced in ffmpeg 52 30 1, but later backported to 52 20 1, so add that to the version check in ReaderWriterFFmpeg.cpp." - * src/osgViewer/View.cpp: Added debug message to destructor +Sun, 12 Dec 2010 09:37:14 +0000 +Checked in by : Robert OSFIELD +From David Fries, "Avoid a terrapage crash with outstanding requests to a removed archive file. ReaderWriterTXP::getArchiveName will create an archive if it doesn't exist. This is causing a crash if the terrain is removed and there are outstanding database requests in the database pager. The request will create a new archive, and as the archive is newly create doesn't have the materials etc to support the subtile that was just loaded. To fix the problem getArchiveName will only return existing archives. createArchiveName was added to create archives. " -2007-08-22 09:43 robert +Sun, 12 Dec 2010 09:22:09 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, "As suggested I have added missing method to PerContextProgram. Tested with our programs.I see that we should expect some performance penalty for using this method. It won’t be painful in my current case because I have only a few animated characters. But I suspect some day I will have to fix osgCal to use int UniformIds natively for larger crowds." - * src/osg/State.cpp: Added setting of thread safe ref/unref. -2007-08-22 09:42 robert - * include/osg/DisplaySettings, include/osg/NodeVisitor, - src/osg/DisplaySettings.cpp, src/osg/FrameStamp.cpp, - src/osg/NodeVisitor.cpp: Added default setting of use of thread - safe ref/unref. +Sun, 12 Dec 2010 08:56:58 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I've found a possible bug in the new SmoothingVisitor implementation (with a great 'crease angle' feature), which will crash if the normal array is already set but without BIND_PER_VERTEX. I just believe that we should reallocate the normal array in these cases, as the old implementation does. " -2007-08-22 09:05 robert +Sun, 12 Dec 2010 08:54:58 +0000 +Checked in by : Robert OSFIELD +Introuced a local typedef of the index array type to keep the functor parameters consistent - * include/osgDB/Registry: Changed ReadFileCallback and - WriteFileCallback to use virtual inhertinace. +Sat, 11 Dec 2010 15:12:09 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, "Here a small fix about gdal plugin used to read dem file, if you dont setup the log level to INFO it does not work. It's because of this line: OSG_INFO << " GetGeoTransform == "<< dataset->GetGeoTransform(geoTransform)<<"I have just put the function outside of an stream stuff, and it works. +It's possible we have other code like that in other plugins, I guess +it's a side effect of the MACRO stuff about notification." -2007-08-21 09:32 robert - * src/osgTerrain/Layer.cpp: Added missing clear() implementation -2007-08-20 13:09 robert +Fri, 10 Dec 2010 15:27:19 +0000 +Checked in by : Robert OSFIELD +Refactor of DatabasePage/IncrementalCompileOperation to use the IncrementalCompileOperator for compiling objects - * CMakeModules/OsgMacroUtils.cmake: Fixed the install path of - plugins under Windows. +Fri, 10 Dec 2010 13:22:21 +0000 +Checked in by : Robert OSFIELD +Build fixes to keep up with changes in head inclusions/API in osgDB -2007-08-20 10:15 robert +Thu, 9 Dec 2010 12:16:11 +0000 +Checked in by : Robert OSFIELD +Added handling of CoordinateSystemNode when they decorate a loaded model, copying the contents of the CoordinateSystemNode across to the Terrain node - * README.txt: Updated README date +Wed, 8 Dec 2010 11:01:37 +0000 +Checked in by : Robert OSFIELD +Updated version number for 2.9.11 dev release -2007-08-20 10:14 robert +Wed, 8 Dec 2010 10:34:29 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "attached are patches to osgTerrain that fix some typos and add a bit of documentation. " - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS file for 2.1.6 release +Wed, 8 Dec 2010 09:54:23 +0000 +Checked in by : Robert OSFIELD +Added protection against the Registry from being deleted prior to the proxy objects unregistering themselves -2007-08-20 10:06 robert +Wed, 8 Dec 2010 09:52:58 +0000 +Checked in by : Robert OSFIELD +Fixes for benign threading memory contentions. - * ChangeLog: Updated ChangeLog +Mon, 6 Dec 2010 10:35:02 +0000 +Checked in by : Robert OSFIELD +Renamed YES and NO enums with more description names that don't overlap with iOS #define's -2007-08-20 09:28 robert +Fri, 3 Dec 2010 19:04:50 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS for release - * CMakeLists.txt, include/osg/Version, - src/osgWrappers/osgTerrain/Layer.cpp: Updated version number for - 2.1.6 release and updated wrappers +Fri, 3 Dec 2010 17:50:38 +0000 +Checked in by : Robert OSFIELD +From Johannes Bauerle, "When trying to use the osgText functionality in an osg application built without support for the fixed function pipeline I got a lot of warning messages about invalid calls. I found two indirect calls to the glTexEnv in the file Text.cpp:state.applyTextureAttribute(0,getActiveFont()->getTexEnv()); -2007-08-20 09:27 robert +In the attached fix I surrounded these calls with #ifdef's checking for OSG_GL_FIXED_FUNCTION_AVAILABLE to ensure that the above function is only called when the fixed function pipeline is available. +" - * examples/osgviewerFOX/Makefile: Removed Makefile as this is - autogenerated. -2007-08-19 19:22 robert - * src/osgDB/Registry.cpp: From Antione Hue and Robert Osfield, - moved prepend in front of lib entry. +Fri, 3 Dec 2010 17:20:32 +0000 +Checked in by : Robert OSFIELD +Removed redundent call. -2007-08-17 16:10 robert +Fri, 3 Dec 2010 14:24:23 +0000 +Checked in by : Robert OSFIELD +Commented out debug message - * include/osgUtil/CullVisitor: Fixed zfar setting +Fri, 3 Dec 2010 14:18:16 +0000 +Checked in by : Robert OSFIELD +Introduced bool Texture2D::textureObjectValid(State) and bool SubloadCallback::textureObjectValid(Texture2D&,State&) method to make it tell Texture2D::apply() whether the texture object is still valid or whether it's no longed valid for the any changes to the image attached to the Texture -2007-08-17 09:37 robert +Thu, 2 Dec 2010 14:20:52 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "Attached; here's a summary of the changes: - CMakeLists.txt -- don't look for GL when compiling for iOS (device or simulator), look for OGLES instead -- use architecture i386 for simulator -- removed iphoneos-version-min for simulator- examples/osgviewerIPhone/CMakeLists.txt +-- added build dependencies for osgdb_osg, osgdb_freetype, osgdb_imageio +-- added framework QuartzCore link dependency - * src/osg/Image.cpp: Changed ++_modifedCount cases to dirty(). +- src/osgDB/CMakeLists.txt +-- don't link against Carbon on iOS (device or simulator) -2007-08-16 18:49 robert +- src/osgPlugins/freetype/CMakeLists.txt +-- don't link against OpenGL on iOS device or simulator - * include/osgTerrain/Layer, src/osgDB/Registry.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp, src/osgTerrain/Layer.cpp: - Changed the tolower of the file extension into the plugin name - construction code. - - Added support for CompositeLayer. +- src/osgViewer/CMakeLists.txt +-- link against OpenGLES on iOS (device or simulator) -2007-08-16 15:29 robert +- src/osgPlugins/imageio/CMakeLists.txt +-- compile ReaderWriterImageIO_IOS.cpp as Objective-C++ - * include/osgTerrain/GeometryTechnique, - src/osgShadow/SoftShadowMap.cpp, - src/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp: Updated - wrappers +" -2007-08-16 14:13 robert - * include/osgTerrain/GeometryTechnique, - src/osgTerrain/GeometryTechnique.cpp: From Maria Ten, "I divide - the init method of the - geometrytechnique in submethods to made more easy the inheritance - between the user and osg-class. This is a first step to add more - functions in osgTerrain. Maybe the subdivision of the method have - to - be in the terraintechnique because is the base class of - GeometryTechnique. If Robert or anyone think that this is better - i - change this class too." -2007-08-15 15:11 robert +Thu, 2 Dec 2010 14:13:54 +0000 +Checked in by : Robert OSFIELD +From Mathias Froehlich, "Attached are most of the fixes that are required to build osg on solaris and hpux. I have skipped irix this time as irix is too dead to keep osg building there.As usual, solaris does not like member templates in stl containers. +Some headers missing and link problems due to missing libraries." - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Jan Ciger, "I am - attaching a little hack from Jean-Sebastien Guay which allows - absolute paths to work on Windows." -2007-08-15 15:07 robert - * src/osgShadow/SoftShadowMap.cpp: From Stephan Huber, "the - softshadowmap-implementation does not compile on os x, to be more - precise, the shader does not compile on os x because of some - type-conflicts ala "can not convert from const int to const - float" - - So I changed the offending lines to force the type of the vars. - It works - now on OS X (albeit very slowly, 3fps on a 7300), perhaps you - find the - changes useful. Note: perhaps there is a better way in shaders to - cast/convert from int to float and viceversa." -2007-08-15 15:03 robert +Thu, 2 Dec 2010 14:01:54 +0000 +Checked in by : Robert OSFIELD +Ran dos2unix to fix line endings - * src/osgViewer/Viewer.cpp: From Brede Johansen, "The attached file - updates the framestamp and traversal number of the - updatevisitor in osgViewer::Viewer. - - The bug prevented DOF animations because osgSim::DOFTransform - checks - the traversal number before doing any updates." +Thu, 2 Dec 2010 13:53:10 +0000 +Checked in by : Robert OSFIELD +From Brad Christiansen, commented out debug messages -2007-08-14 17:13 robert +Thu, 2 Dec 2010 09:39:31 +0000 +Checked in by : Robert OSFIELD +Removed redudent makeCurrentImplementation() that was causing a crash in osgscreencapture. - * src/osgPlugins/osgShadow/CMakeLists.txt, - src/osgPlugins/osgTerrain/CMakeLists.txt: Changed the plugin name - to lower case to be consistent with the way that osgDB::Registry - searches for only lower case plugin names. +Wed, 1 Dec 2010 20:14:34 +0000 +Checked in by : Robert OSFIELD +Updated AUTHORS and Contributors.cpp to reflect new ChangeLog correctly -2007-08-14 17:04 robert +Wed, 1 Dec 2010 19:49:03 +0000 +Checked in by : Robert OSFIELD +From Jason Daly, "OK, I dug a bit into the CMake scripts and found a fairly obvious solution to the QtWebkit issue on RHEL 6 (see my other message on osg-users). I just moved the osgQtWidgets example in examples/CMakeLists.txt under the check for QtWebKit.Fix is attached:" - * src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp: Added - string to keyword map parser. -2007-08-14 13:08 shuber - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Stephan Huber: updating the XCode-project-files +Wed, 1 Dec 2010 14:03:10 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog -2007-08-14 12:47 robert +Wed, 1 Dec 2010 13:33:31 +0000 +Checked in by : Robert OSFIELD +From Fabien Lavignotte, "I use Texture2D::copyTexImage2D to generate some textures at each frame on a PagedLOD databases. There was some performance problems after a long run, because textures created with copyTexImage2D were not reused. After investigation, there is a problem with the Texture Pool when a texture object is created with an empty profile, and then move after creation to TextureObjectSet with good profile using setAllocated method. I have just changed a little bit the code of Texture2D::copyTexImage2D, to generate the texture object with the good profile at the start." - * applications/osgversion/osgversion.cpp: Added Ben van Basten to - list of authors. +Tue, 30 Nov 2010 16:22:37 +0000 +Checked in by : Robert OSFIELD +From "Matthew Roberso, I've attached a small fix to the src/osgWrappers/serializers/osg/Texture2DArray.cpp against the svn head r11965 it simply calls setTextureDepth before attempting to load the individual textures into the array. Currently without that the loading fails with the following printout "Warning: Texture2DArray::setImage(..) failed, the given layer number is bigger then the size of the texture array." and the texture array is empty if loaded from an osga/b." -2007-08-14 08:41 robert +Tue, 30 Nov 2010 14:36:37 +0000 +Checked in by : Robert OSFIELD +Fixed the readObject method so it could handle reading from a file contains any valid type of osg::Object - * src/osgShadow/SoftShadowMap.cpp: Replaced uint with unsigned int +Tue, 30 Nov 2010 12:34:06 +0000 +Checked in by : Robert OSFIELD +Added passing of existingObj parameter -2007-08-13 14:02 robert +Tue, 30 Nov 2010 11:34:33 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, compile fix for iOS - * examples/CMakeLists.txt: Removed osgdepthshadow and - osgshadowtexture from build list +Tue, 30 Nov 2010 09:26:18 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein and Stephan Huber, improves to iOS build -2007-08-13 11:59 robert +Tue, 30 Nov 2010 08:12:06 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, Compile fixes - * AUTHORS.txt, ChangeLog, README.txt, - applications/osgversion/osgversion.cpp: Updated ChangeLog, - AUTHORS and README files +Mon, 29 Nov 2010 17:43:27 +0000 +Checked in by : Robert OSFIELD +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; -2007-08-13 11:45 robert +* 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; - * CMakeLists.txt, include/osg/Version: Updated version for 2.1.5 - dev release +* 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." -2007-08-13 10:31 robert - * examples/osgstereoimage/osgstereoimage.cpp: From Luc Frauciel, - "I've done 2 main modifications : - 1) added texture->setResizeNonPowerOfTwoHint(false); when loading - an - image. It speeds up by 10 the loading of large images. - 2) added a --disk option : only a filelist is read, images are - only - loaded when needed. It allows to handle very large set of very - large - images that would not fit in memory. Nothing change when the - option is - not set." -2007-08-13 10:27 robert - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp: From Jan Ciger, "I am - attaching an improved version of the OpenVRML plugin. It still - uses - OpenVRML 0.14.3 and is without the Boost dependency. - - The changes: - - - Fixed loading of textures and normals when no corresponding - indices - are specified. It uses vertex indices now, compliant with the - VRML spec. - - - Added colour per vertex support. - - - Added group node support. - - - Changed the code to use osg::ref_ptr instead of naked - pointers to - avoid memory leaks. - - - Fixed breakage for loading files specified by relative path." -2007-08-13 10:20 robert +Mon, 29 Nov 2010 09:32:43 +0000 +Checked in by : Robert OSFIELD +Removed deperecated variables that are no longer used. - * CMakeModules/FindGDAL.cmake: From J.P. Delport, fix of GDAL - location search +Fri, 26 Nov 2010 18:19:28 +0000 +Checked in by : Robert OSFIELD +From Tomas Holgarth and Stephan Huber, " attached you'll find the second part of the IOS-submission. It contains* GraphicsWindowIOS, which supports external and "retina" displays, + multisample-buffers (for IOS > 4.0) and multi-touch-events +* an ios-specific implementation of the imageio-plugin +* an iphone-viewer example +* cMake support for creating a xcode-project +* an updated ReadMe-file describing the necessary steps to get a + working xcode-project-file from CMake -2007-08-13 10:17 robert +Please credit Thomas Hogarth and Stephan Huber for these changes. - * include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: From Brad - Christiansen, "I added the ability to set the render target - implementaion on the - osgSim::OverlayNode. The attached changes were made against the - 2.0 - release." +This brings the ios-support in line with the git-fork on github. It +needs some more testing and some more love, the cmake-process is still a +little complicated. -2007-08-13 09:13 robert +You'll need a special version of the freetype lib compiled for IOS, +there's one bundled in the OpenFrameworks-distribution, which can be used." - * CMakeModules/FindGDAL.cmake: Added gdal/gdal.h to header search - path, and gdal1.4.1 to the lib search path. +Notes, from Robert Osfield, modified CMakeLists.txt files so that the IOS specific paths are within IF(APPLE) blocks. -2007-08-12 13:30 robert - * src/osgWrappers/osgShadow/SoftShadowMap.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp: Updated - wrappers - -2007-08-12 13:18 robert - - * include/osgUtil/LineSegmentIntersector: Added getStart()/getEnd() - -2007-08-12 13:17 robert - - * include/osgUtil/LineSegmentIntersector: From Jean-Sebastien Guay, - "adds osgUtil::LineSegmentIntersector::setStart(osg::Vec3d) and - setEnd(osg::Vec3d)." - -2007-08-12 13:10 robert - - * examples/osgdepthshadow, examples/osgshadowtexture, - runexamples.bat: Removed now redundent osgshadowtexture and - osgdepthshadow examples - -2007-08-12 12:15 robert - - * examples/osgshadow/osgshadow.cpp: Added support for SoftShadowMap - into osgshadow example - -2007-08-12 12:15 robert - - * applications/osgversion/osgversion.cpp: Added fix for typo of - name in submission - -2007-08-12 12:12 robert - - * include/osgShadow/SoftShadowMap, src/osgShadow/CMakeLists.txt, - src/osgShadow/SoftShadowMap.cpp: From Bruno Hebelin, - - "I have adapted to osgShadow the soft shadow map technique - described in "Efficient Soft-Edged Shadows Using Pixel Shader - Branching" by Yury Uralsky, Chapter 17 of GPU Gems 2 (Matt Pharr - ed. Addison-Wesley). - - Here is my code in attachment: basically, it works in the same - way as osgShadow/ShadowMap (core code is copied from it) but - implements a specific GLSL shader for the soft rendering of - penumbra. - - I have tested it under Linux with a NVidia graphic card, but - there should be no dependency on platform nor on the graphics - driver (as far as they support GLSL 2). Screenshots attached show - the current results (frame rate bound to v-sync, but the shader - takes actually not much time)." - -2007-08-11 17:44 robert - - * src/osgDB/FileUtils.cpp, src/osgDB/Registry.cpp: Added - preprending of osgPlugins-version to plugin names - -2007-08-11 14:49 robert - - * applications/osgviewer/osgviewer.cpp, - examples/osgterrain/osgterrain.cpp, include/osg/DisplaySettings, - src/osg/DisplaySettings.cpp, src/osgDB/Registry.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osg/DisplaySettings.cpp: Added - DisplaySetting::s/getCompileContextHint() and use of this hint in - osgViewer::Viewer/CompositeViewer. - - Removed the CustomViewer in osgterrain example as the above now - removes the need for it. - -2007-08-11 12:43 robert - - * examples/osgterrain/osgterrain.cpp: Refactored the use of the - MasterOperation so that it now gets attached to the - Viewer via the new Viewer::addUpdateOperation() method, rather - than need a - custom Viewer::updateTraversal(). - -2007-08-11 10:28 robert - - * include/osg/OperationThread, include/osgViewer/CompositeViewer, - include/osgViewer/Viewer, src/osg/OperationThread.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osg/OperationThread.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Added support for an update - OperationQueue to Viewer and CompositeViewer to allow asyncrnous - adding of operations to be added - to the view to be done during syncronous updateTraversal(). - - This feature can be used for doing things like merging subgraphs - that have been loaded - in a background thread. - -2007-08-10 17:44 robert - - * include/osg/CullSettings, include/osg/CullStack, - src/osg/CullSettings.cpp, src/osg/CullStack.cpp, - src/osgViewer/Renderer.cpp, - src/osgWrappers/OpenThreads/Condition.cpp, - src/osgWrappers/OpenThreads/Mutex.cpp, - src/osgWrappers/OpenThreads/ReentrantMutex.cpp, - src/osgWrappers/OpenThreads/Thread.cpp, - src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/ColorMask.cpp, - src/osgWrappers/osg/CullFace.cpp, - src/osgWrappers/osg/CullStack.cpp, src/osgWrappers/osg/Depth.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/FrontFace.cpp, src/osgWrappers/osg/Geode.cpp, - src/osgWrappers/osg/Geometry.cpp, src/osgWrappers/osg/Group.cpp, - src/osgWrappers/osg/Hint.cpp, src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/LOD.cpp, src/osgWrappers/osg/LightModel.cpp, - src/osgWrappers/osg/LightSource.cpp, - src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/LineWidth.cpp, - src/osgWrappers/osg/LogicOp.cpp, - src/osgWrappers/osg/Material.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Object.cpp, src/osgWrappers/osg/PagedLOD.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/ProxyNode.cpp, - src/osgWrappers/osg/Scissor.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, - src/osgWrappers/osg/Stencil.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/Switch.cpp, src/osgWrappers/osg/TexEnv.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osg/TexEnvFilter.cpp, - src/osgWrappers/osg/TexGen.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/Uniform.cpp, src/osgWrappers/osg/Vec2d.cpp, - src/osgWrappers/osg/Vec2f.cpp, src/osgWrappers/osg/Vec3d.cpp, - src/osgWrappers/osg/Vec3f.cpp, src/osgWrappers/osg/Vec4d.cpp, - src/osgWrappers/osg/Vec4f.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/Viewport.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/osgFX/BumpMapping.cpp, - src/osgWrappers/osgFX/Cartoon.cpp, - src/osgWrappers/osgFX/Effect.cpp, - src/osgWrappers/osgFX/Scribe.cpp, - src/osgWrappers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/osgFX/Technique.cpp, - src/osgWrappers/osgFX/Validator.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/CommandManager.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/Projector.cpp, - src/osgWrappers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/osgManipulator/Selection.cpp, - src/osgWrappers/osgParticle/AccelOperator.cpp, - src/osgWrappers/osgParticle/Emitter.cpp, - src/osgWrappers/osgParticle/FluidProgram.cpp, - src/osgWrappers/osgParticle/Operator.cpp, - src/osgWrappers/osgParticle/Particle.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/Shooter.cpp, - src/osgWrappers/osgSim/ColorRange.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/Tessellator.cpp, - src/osgWrappers/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers - -2007-08-10 10:58 robert - - * src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers - -2007-08-10 10:57 robert - - * include/osgViewer/View, src/osgViewer/View.cpp: Added - View::setDatabasePager(..) - -2007-08-10 10:52 robert - - * include/osg/GraphicsThread, include/osgViewer/CompositeViewer, - include/osgViewer/Scene, include/osgViewer/View, - include/osgViewer/Viewer, src/osg/GraphicsThread.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/Scene.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Refactored the way the Scene is used in - Viewer and CompositeViewer to ensure - that only on Scene exists per scene graph. - -2007-08-09 08:19 robert - - * include/osgUtil/CullVisitor, include/osgViewer/Renderer: Compile - fix - -2007-08-09 08:15 robert - - * examples/osgterrain/CMakeLists.txt, - examples/osgterrain/ReaderWriterTerrain.cpp: Removed now - redundent ReaderWriterTerrain.cpp - -2007-08-08 09:12 robert - - * src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp: Updated wrappers - -2007-08-08 08:10 robert - - * include/osgDB/DatabasePager, include/osgUtil/CullVisitor, - src/osgDB/DatabasePager.cpp, src/osgUtil/CullVisitor.cpp, - src/osgUtil/SceneView.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/Scene.cpp: Added new statc prototype() and create() - methods to CullVisitor and DatabasePager to allow overriding of - the default implementations - -2007-08-08 05:59 robert - - * src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp: Removed - unneeeded includes - -2007-08-07 22:56 robert - - * src/osgWrappers/osgTerrain/Terrain.cpp, - src/osgWrappers/osgTerrain/TerrainNode.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp: Updated wrappers - -2007-08-07 22:31 robert - - * src/osgTerrain/CMakeLists.txt: Updated CMakeLists.txt to reflect - renaming of TerrainNode. -2007-08-07 19:53 robert - * examples/osgterrain/osgterrain.cpp, include/osgTerrain/Terrain, - include/osgTerrain/TerrainNode, - include/osgTerrain/TerrainTechnique, - src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp, - src/osgPlugins/osgTerrain/Terrain.cpp, - src/osgTerrain/CMakeLists.txt, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Terrain.cpp, - src/osgTerrain/TerrainNode.cpp, - src/osgTerrain/TerrainTechnique.cpp: Renamed - osgTerrain::TerrainNode to osgTerrain::Terrain and introduced - basic - .osg read support for osgTerrain::Terrain. - +Fri, 26 Nov 2010 17:37:42 +0000 +Checked in by : Robert OSFIELD +From Katharina Plugge, fix for regression in handling of multitexturing. -2007-08-07 15:51 robert +Fri, 26 Nov 2010 17:35:06 +0000 +Checked in by : Robert OSFIELD +From Eduardo Poyart, OSG patch: made it read ancillary IndexedStrings into MultiSwitch - * src/osgPlugins/osgTerrain/CMakeLists.txt: Removed TerrainNode.cpp - from CMakeLists.txt +Fri, 26 Nov 2010 17:32:10 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog -2007-08-07 15:30 robert +Fri, 26 Nov 2010 13:54:11 +0000 +Checked in by : Robert OSFIELD +From Marin Platings and Robert Osfield, fix of Uniform unique ID by making osg::Object::setName() virtual. - * src/osgPlugins/CMakeLists.txt, src/osgPlugins/osgTerrain, - src/osgPlugins/osgTerrain/CMakeLists.txt, - src/osgPlugins/osgTerrain/ReaderWriterOsgTerrain.cpp: Added - preliminary shell of osgTerrain plugin +Fri, 26 Nov 2010 12:44:53 +0000 +Checked in by : Robert OSFIELD +From Martin Beck, " recently we noticed a little mistake for 3DS files using instances of the same meshs: Every groupnode gets the same name instead of the (correct) instance name of the object. The fix only consists of two additional lines which check whether an instance_name is given for the object and then uses this one instead of the node name." -2007-08-07 14:49 robert +Fri, 26 Nov 2010 12:23:56 +0000 +Checked in by : Robert OSFIELD +From Fabien Lavignotte, "There was a small bug when using the new serializer with AnimationPath. The serializer assumes NO_LOOPING is the defaut for LoopMode, but in fact it is LOOP. The new serializer avoids to write default values in text mode, so the loop mode is not always correctly set." - * src/osgPlugins/gdal/ReaderWriterGDAL.cpp: From Luc Fruciel, "Gdal - plugins reads lots of information that is not taken into account - in ReadHeigthField for example. - Attached a modification that read the HeigthField position and - X,Yintervals. - I also removed the limitation to 1024*1024 to 4096*4096, because - when you are preprocessing your data with OSG, it can be useful - to read large images/heigthfields. Is there a reason (other than - hardware limitations for textures) for this limit ?" +Fri, 26 Nov 2010 12:22:06 +0000 +Checked in by : Robert OSFIELD +Removed debug messages -2007-08-07 10:37 robert +Fri, 26 Nov 2010 10:31:34 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "Typo in usage string of examples/osganalysisplease specifies -> please specify" - * src/osgPlugins/gdal, src/osgPlugins/gdal/CMakeLists.txt, - src/osgPlugins/gdal/ReaderWriterGDAL.cpp: Re-introduceed GDAL - plugin -2007-08-07 10:33 robert - * CMakeLists.txt, CMakeModules/FindGDAL.cmake, - src/osgPlugins/CMakeLists.txt: Re-introduced GDAL plugin. +Thu, 25 Nov 2010 16:06:04 +0000 +Checked in by : Robert OSFIELD +From Thomas Hogarth and Stephan Huber, "attached you'll find part one of iphone-support. It includes* support for NPOT-textures on IOS +* support for FBOs (only renderToTexture for now) on IOS (should work +for other OpenGL ES 1/2 targets, too) +* FileUtils-support for IOS" -2007-08-07 10:31 robert - * include/osg/GLU: Added preliminary code to allow build - specification of glu tesscallback with ... parameter -2007-08-07 08:18 robert - * src/osg/GraphicsContext.cpp: From Andy Skinner, The attached file - adds #include to GraphicsContext.cpp, so that it - compiles with the solaris compiler we use. -2007-08-06 11:52 robert +Thu, 25 Nov 2010 13:00:24 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, fix to stats timing - * README.txt: Updated README +Thu, 25 Nov 2010 12:30:38 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, To address performance bottleneck that occurs when using large number of uniforms introduced a name to uniqued ID scheme for Uniforms so comparisons can be done on a uint rather than a string. -2007-08-06 11:50 robert +Thu, 25 Nov 2010 12:07:59 +0000 +Checked in by : Robert OSFIELD +From Hartwig Wiesmann, "in the files Image, Observer and TerrainTechnique unused parameters exist resulting in a couple of compiler warnings (depending on the compiler settings though). The attached patches comment out the unused parameter names. " - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp, - src/osgViewer/Viewer.cpp: Updated ChangeLog, and AUTHORS file for - release +Thu, 25 Nov 2010 11:59:33 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "applications/osgconv: fix typo in tool optionstransprent -> transparent" -2007-08-06 11:24 robert - * CMakeLists.txt, include/osg/Version: Updated version numbers for - release -2007-08-06 09:28 robert +Thu, 25 Nov 2010 11:40:09 +0000 +Checked in by : Robert OSFIELD +Removed default assignement of GeometryTechnique as the TerrainTechniquePrototype. - * src/osgSim/OverlayNode.cpp: Changed debug message to INFO level +Wed, 24 Nov 2010 20:26:08 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I'd like to provide a quick updates of the new tessellation shader serializers and dotosgwrappers. It includes reading/writing supports for the two new shader types and the GL_PATCHES enum. The setParameterfv() method is not wrapped at present because it is still not finished.Enum serialziers don't require back-compatibility checks if only +add/remove enum items, so I'm not going to use the new +UPDATE_TO_VERSION macro this time." -2007-08-05 17:06 robert - * src/osgViewer/View.cpp: Added support for enabling the stencil - buffer when horizontal and vertical split stereo are used. -2007-08-05 14:59 robert +Wed, 24 Nov 2010 20:20:57 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, build fixes for windows. - * src/osgViewer/GraphicsWindowX11.cpp: From Tim More, "This patch - causes GraphicsWindowX11 to not send key release events when a - key - press / release is caused by auto-repeat. This is consistent with - Windows and Mac - behavior, as well as other toolkits such as SDL." +Wed, 24 Nov 2010 17:01:09 +0000 +Checked in by : Robert OSFIELD +Added workaround for AMD/ATI driver bug -2007-08-05 14:51 robert +Wed, 24 Nov 2010 10:38:28 +0000 +Checked in by : Robert OSFIELD +From Tim Moore, Fix for drivers that don't properly support timer extensions."" - * src/osg/CullSettings.cpp, src/osg/Referenced.cpp, - src/osgGA/DriveManipulator.cpp, src/osgPlugins/txp/TXPParser.cpp, - src/osgUtil/Optimizer.cpp, src/osgUtil/RenderBin.cpp, - src/osgViewer/ViewerEventHandlers.cpp: From Andy Skinner, fixes - for avoiding warnings about mixing c and c++ versions of c libs. -2007-08-04 17:04 robert - * src/osgViewer/Viewer.cpp: Disable the selection of - CullPerCameraDrawPerContext until I am able to fix this - threading model +Wed, 24 Nov 2010 10:09:04 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, "1: fix for a issue with MinimalShadowMap and LightSpacePerspectiveShadowMapVB techniques ignoring minLightMargin parameter. 2: minor tweak for a DebugHUD drawn improperly case when multiple slave views shared one window. It now uses slave view viewport to correctly position DebugHUD. 3: deactivated ConvexPolyhedron notifications (they were accidentaly activated when you replaced osg::notify calls with OSG_NOTIFY macro). These warnings are useful only for shadow map developer working on shadow volume optimizations. So there is no sense in having them active all the time." -2007-08-04 10:30 robert +Tue, 23 Nov 2010 17:33:43 +0000 +Checked in by : Robert OSFIELD +Moved TextNode from osgText into example/osgtext3D in prep for 3.0 - * src/osgPlugins/net/sockinet.cpp, - src/osgPlugins/net/sockstream.cpp: From John Shue, "Recent - changes to sockstream.cpp and sockinet.cpp to better deal with - various operating system differences between socklen_t and int - have - broken the FreeBSD build. Change was to add __FreeBSD__ to the - list of - defines that are checked." +Tue, 23 Nov 2010 14:50:31 +0000 +Checked in by : Robert OSFIELD +From Holger Helmich, Tessellation shader support -2007-08-03 16:08 robert +Tue, 23 Nov 2010 11:11:58 +0000 +Checked in by : Robert OSFIELD +From David Callu, "Here a fix for pssm.Problem 1 : +With GLSL, multi pass to apply each shadow map is not required. - * src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/View.cpp: Updated wrappers -2007-08-03 14:50 robert +Problem 2 : +GLSL code use "shadow2DProj" build-in function to look up in shadow texture. +Projection is orthogonal so "shadow2D" build-in function is sufficient. - * include/osg/GraphicsContext, include/osg/View, - src/osg/GraphicsContext.cpp, src/osgViewer/View.cpp: Added - perlimnary support for reading the DISPLAY variable. +Problem 3: +Bad calcul in +osgShadow::ParallelSplitShadowMap::calculateLightViewProjectionFormFrustum(..) +provide some visual error in specific configuration. -2007-08-02 16:23 robert - * src/osgViewer/StatsHandler.cpp: Changed the projection matrix - resize policy. +to reproduce pssm_bug.jpg, you need to add a light direction in osgshadow.cpp example (done in joint osgshadow.cpp file) +then "osgshadow --noUpdate --pssm --maxFarDist 500 --minNearSplit 500 --mapcount 6 --debug-color model_test.3ds" -2007-08-02 12:36 robert - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Martin Lavery, XCode updates for the new Renderer class +As you can see in pssm_bug.jpg and pssm_fix.jpg, performance is really better when Problem 1 is fixed. +" -2007-08-02 12:27 robert - * include/osg/View: Added return 0; -2007-08-02 11:02 robert +Mon, 22 Nov 2010 19:38:18 +0000 +Checked in by : Robert OSFIELD +Build fixes for building OSG with OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION set to OFF - * include/osg/Camera, include/osg/GraphicsThread, - include/osg/State, include/osg/View, - include/osgViewer/CompositeViewer, include/osgViewer/Renderer, - include/osgViewer/View, include/osgViewer/Viewer, - src/osg/Camera.cpp, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp, src/osg/View.cpp, - src/osgViewer/CMakeLists.txt, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/HelpHandler.cpp, src/osgViewer/Renderer.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp, src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/State.cpp, src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Renderer.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Introduce new - osgViewer::Renderer class for implementing of the rendering - of cameras in viewers +Mon, 22 Nov 2010 19:18:00 +0000 +Checked in by : Robert OSFIELD +Fixed typo -2007-08-02 08:50 robert +Mon, 22 Nov 2010 17:39:43 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, "the attached cmake file recognises the latest version of the FBX SDK, and now works correctly on 64 bit Windows." - * src/osgUtil/CullVisitor.cpp: Added save and restoring of the cull - mask to Camera handling code +Mon, 22 Nov 2010 17:37:35 +0000 +Checked in by : Robert OSFIELD +From Michael Platings, "the build is broken if you have the OSG_REF_PTR_IMPLICIT_OUTPUT_CONVERSION turned off - the attached files fix this." -2007-07-31 17:28 robert +Mon, 22 Nov 2010 17:30:44 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find a proposal for handling multi-touch-events with osgGA. My approach is to bundle all touchpoints into one custom data structure which is attached to an GUIEventAdapter.The current approach simulates a moving mouse for the first touch-point, +so basic manipulators do work, sort of. - * include/osg/GLExtensions: From Andy Skinner,adding c includes to - avoid problems with mixing c and c++ versions - of c functions. +I created a MultiTouchTrackballManipulator-class, one touch-point does +rotate the view, two touch-points pan and zoom the view as known from +the iphone or other similar multi-touch-devices. A double-tap (similar +to a double-click) resets the manipulator to its home-position. -2007-07-30 16:02 robert +The multi-touch-trackball-implementation is not the best, see it as a +first starting point. (there's a demo-video at http://vimeo.com/15017377 )" - * AUTHORS.txt: Updated AUTHORS file for release -2007-07-30 15:56 robert - * ChangeLog: Updated ChangeLog for release -2007-07-30 15:25 robert - - * CMakeLists.txt, include/osg/Version: Updated version number for - 2.1.3 dev release - -2007-07-30 10:52 robert - - * include/osgUtil/GLObjectsVisitor, - src/osgUtil/GLObjectsVisitor.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp: Ported across - Viewer's to use osgUtil::GLObjectOperation, added second option - in GLObjectOperation to handle cases when no subgraph is - registered, in these - case the code now compile all Camera subgraphs. +Mon, 22 Nov 2010 15:52:20 +0000 +Checked in by : Robert OSFIELD +Fixed indentation -2007-07-28 10:44 robert +Mon, 22 Nov 2010 11:31:35 +0000 +Checked in by : Robert OSFIELD +From Johan Nouvel, "I've attached ReaderWriterVRML2.h. It is the same as the previous one, I've just add supportsOption() calls." - * src/osg/ApplicationUsage.cpp, src/osg/ArgumentParser.cpp, - src/osg/Geometry.cpp, src/osg/LightModel.cpp, - src/osg/PolygonOffset.cpp, src/osg/Uniform.cpp, - src/osg/Version.cpp, src/osgPlugins/obj/obj.cpp, - src/osgSim/OpenFlightOptimizer.cpp, - src/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgViewer/StatsHandler.cpp, src/osgViewer/Viewer.cpp: From - Andy Skinner, adding C includes to avoid issues when mixing C and - C++ standard includes +Mon, 22 Nov 2010 11:22:03 +0000 +Checked in by : Robert OSFIELD +Fixed typo of commercial -2007-07-28 10:28 robert +Mon, 22 Nov 2010 10:41:04 +0000 +Checked in by : Robert OSFIELD +From Hartwig Wiesmann, fix to font search path under OSX. - * examples/osgviewerFOX/CMakeLists.txt, include/osg/Camera, - include/osgUtil/SceneView, src/osg/Camera.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgUtil/CullVisitor.cpp, src/osgUtil/SceneView.cpp, - src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Introduce - Camera::s/getRenderer(). +Mon, 22 Nov 2010 10:37:49 +0000 +Checked in by : Robert OSFIELD +From Brad Christiansen, "Attached is a very small change to allow the Collada libs for VS 2010 to be found automatically." -2007-07-27 17:16 robert +Fri, 19 Nov 2010 18:26:02 +0000 +Checked in by : Robert OSFIELD +From Katherina Plugge, "if using multitexturing and converting osg files to OpenFlight texture coordinates get corrupted. The texture coordinates for slot 1 and following are not computed correctly (see thread http://forum.openscenegraph.org/viewtopic.php?t=6993).The attached files solve the problem. +" - * include/osgIntrospection/Reflector, - src/osgIntrospection/Reflector.cpp: From David Callu, "After the - mail of Emmanuel Roche to convert a void * in a known pointer - (for example osg::Geode *), I has searched an elegant way to - introduce this feature. - - I just add ReinterpretCastConverter in the Reflector to convert - void* in T* and T* in void* - - - files joint : - - OpenSceneGraph/include/osgIntrospection/Reflector // modified - file - OpenSceneGraph/src/osgIntrospection/Reflector.cpp // modified - file - - " - -2007-07-27 17:14 robert - - * src/osg/Drawable.cpp: From Bryan Thrall, added copying of - boundingbox callback to copy constructor. - -2007-07-27 17:07 robert - - * src/osgViewer/Viewer.cpp: From Stephan Huber, added reset of - _currentContext when graphics context is closed. - -2007-07-27 16:48 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, - "attached you'll find a fix for the dead locks when closing a - window - under OS X." - -2007-07-27 15:26 robert - - * .: Updated svn::externals - -2007-07-26 19:31 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Thibault Genessay, - "Attached is an unitialized variable fix I spotted with Purify. - The _currentCursor (of type HCURSOR) member of the graphics - window was not properly initialized, causing potential problems - if setCursor() was called before anything else set it." - -2007-07-25 10:12 robert - - * src/osgPlugins/dae/daeRMaterials.cpp: From Parag Chaudhur, "In - daeRMaterials.cpp in the COLLADA plugin, in the processTexture - function, Lines 519-522 - of the source file: - - The "delete [] path" appears before the "osg::notify", causing - the data pointed to by - "filename" to be deleted before access causing an access - violation. - - ... - - I have put a comment on - line 521 where I have moved the "delete []path" below. - " - -2007-07-24 14:52 robert - - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - AUTHORS - -2007-07-24 14:47 robert - - * ChangeLog: Updated ChangeLog - -2007-07-24 14:43 robert - - * CMakeLists.txt, include/osg/Version: Updated version for dev - release - -2007-07-24 14:30 robert - - * examples/osgviewerFOX/FOX_OSG_MDIView.cpp: Fixed warning - -2007-07-24 14:02 robert - - * CMakeLists.txt, CMakeModules/FindFOX.cmake, - examples/CMakeLists.txt, examples/osgviewerFOX, - examples/osgviewerFOX/CMakeLists.txt, - examples/osgviewerFOX/FOX_OSG.cpp, - examples/osgviewerFOX/FOX_OSG.h, - examples/osgviewerFOX/FOX_OSG_MDIView.cpp, - examples/osgviewerFOX/FOX_OSG_MDIView.h, - examples/osgviewerFOX/Makefile, - examples/osgviewerFOX/osgviewerFOX.cpp, - examples/osgviewerFOX/osgviewerFOX.h, include/osgTerrain/Locator, - src/osgTerrain/Locator.cpp: From Alexandre Amalric, Fox example - - From Robert Osfield, CMake build support for FOX example - -2007-07-23 20:37 robert - - * examples/osgviewerMFC/MFC_OSG.cpp, - examples/osgviewerMFC/MFC_OSG.h, - examples/osgviewerMFC/MFC_OSG_MDIView.cpp, - examples/osgviewerMFC/MFC_OSG_MDIView.h: From Michael Hartman, - "Here is an update for the closing issue with the example - osgviewerMFC where the MFC rendering thread would not exit before - the application and the thread would be left running in the - background and the user would have to use TaskManager to kill the - process. - - Changes: - - MFC_OSG.cpp: - - Removed pixelformatdesciptor from the class initialization. - - Used setInheritedWindowPixelFormat to true so it will setup the - pixelformat for the window. - - Added class destructor code. - - MFC_OSG.h: - - Removed the ref_ptr on osgViewer::Viewer - - MFC_OSG_MDIViewer.cpp: - - Changed the OnDestroy function code. - - Added WaitforSingleObject with thread handle for the MFC render - handle. - - MFC_OSG_MDIView.h: - - Added class variable for MFC Render Thread Handle for use with - the WaitforSingleObject. - " - -2007-07-23 20:10 robert - * src/osgDB/FileNameUtils.cpp, src/osgPlugins/txp/trpage_swap.cpp: - From Andy Skinner, addition of standard c library includes to - avoid issues with using STLport on some platforms. +Fri, 19 Nov 2010 18:07:17 +0000 +Checked in by : Robert OSFIELD +From Sukender, fix for precision of Plane::asVec4() -2007-07-23 20:08 robert +Fri, 19 Nov 2010 17:47:53 +0000 +Checked in by : Robert OSFIELD +Commented out debug output - * src/osgPlugins/txp/trpage_swap.cpp: Converted tabs to four spaces +Fri, 19 Nov 2010 17:47:30 +0000 +Checked in by : Robert OSFIELD +Update SOVERSION -2007-07-23 18:19 robert +Fri, 19 Nov 2010 09:57:56 +0000 +Checked in by : Robert OSFIELD +Update Text wrappers to handle new Color member - * genwrapper.conf, src/osgWrappers/OpenThreads/Block.cpp, - src/osgWrappers/osg/GraphicsThread.cpp: Updated wrappers +Fri, 19 Nov 2010 09:57:34 +0000 +Checked in by : Robert OSFIELD +Updated SO version to reflect changes in API of osgText -2007-07-23 18:13 robert +Thu, 18 Nov 2010 17:59:55 +0000 +Checked in by : Robert OSFIELD +Moved text color into TextBase, added support for colour into Text3D - * src/osgPlugins/net/sockinet.cpp, - src/osgPlugins/net/sockstream.cpp: From Mathias Froehlich, - compile fix for OSX. +Thu, 18 Nov 2010 17:18:31 +0000 +Checked in by : Robert OSFIELD +Added resetting of the freetype size when getting Glyph3D glyph's as otherwise use of 2D and 3D Text would cause incorrect text sizing. -2007-07-23 16:42 robert +Thu, 18 Nov 2010 12:03:06 +0000 +Checked in by : Robert OSFIELD +Improved handling of pending orphaned texture objects and max texture pool size. - * include/osg/GraphicsThread, src/osg/GraphicsThread.cpp: Added - FlushDeletedGLObjectsOperation. +Wed, 17 Nov 2010 14:06:26 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, Changed debug info in State::frameCompleted() to OSG_INFO -2007-07-22 20:33 robert +Wed, 17 Nov 2010 10:19:25 +0000 +Checked in by : Robert OSFIELD +Added texture pool handler to print out results from texture pool - * src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added support for using the CompileContext to do GL object - deletion. +Wed, 17 Nov 2010 10:16:45 +0000 +Checked in by : Robert OSFIELD +Added quite size test. -2007-07-21 20:11 robert +Mon, 15 Nov 2010 17:21:30 +0000 +Checked in by : Robert OSFIELD +From Sherman Wilcox, "added the following to the ADD_LIBRARY list -- ${OPENSCENEGRAPH_VERSIONINFO_RC}" - * examples/osgterrain/osgterrain.cpp: Converted usleep call to - OpenThreads::Thread::microSleep() to avoid VS build problems +Fri, 12 Nov 2010 11:04:53 +0000 +Checked in by : Robert OSFIELD +Fixed warnings -2007-07-19 18:59 robert +Fri, 12 Nov 2010 09:48:21 +0000 +Checked in by : Robert OSFIELD +Fixed crash on intialization of static applications by moving the static mutexes inside singleton methods. - * examples/osgterrain/osgterrain.cpp: Added reset it to set block - correctly before use. +Thu, 11 Nov 2010 16:51:46 +0000 +Checked in by : Robert OSFIELD +Moved finding of RSVG, Poppler-glib and GtkGl out into their own Find*.cmake modules to enable easier specialization. -2007-07-19 17:02 robert +Thu, 11 Nov 2010 11:47:24 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I've finally completed the static build support for dotosg wrapper and serialization libraries. My submission mainly includes: 1. Add two new macros USE_DOTOSGWRAPPER_LIBRARY and USE_SERIALIZER_WRAPPER_LIBRARY. Applications using static OSG must include corresponding static-link libraries and use these two macros to predefine native format wrappers. Please see osgstaticviewer and present3D in the attachment for details.2. Add a LibraryWrapper.cpp file in each +osgWrappers/deprecated-dotosg/... and osgWrappers/serializers/... +subfolder, which calls all USE_...WRAPPERS macros inside. The +LibraryWrapper file is automatically generated by the +wrapper_includer.cpp (with some slight fixes), which is also attached +for your reference. The deprecated-dotosg/osgAnimation is not included +because it doesn't us REGISTER_DOTOSGWRAPPER to define its wrappers. - * examples/osgterrain/osgterrain.cpp: Improved the filtering of - changes to master file to prevent using reading from - files that are still under going changes. +3. Modify the ReaderWriterOSG.cpp to prevent calling loadWrappers() +when static build. -2007-07-19 16:42 robert +4. An uncorrelated fix to Serializer and ObjectWrapper.cpp, which +ensures version variables of serialziers are initialized, and +serializers out-of-version are not written to model files. +" - * src/osgWrappers/OpenThreads/Block.cpp, - src/osgWrappers/osg/OperationThread.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp: Updated - wrappers -2007-07-19 15:24 robert - * examples/osgterrain/osgterrain.cpp, include/osg/OperationThread: - Added osg::RefBlockCount subclassed from the new - OpenThreads::BlockCount and used it into osgterrain example +Thu, 11 Nov 2010 10:53:23 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "The latest modification of osg/State uses the GLuint64EXT type, which belongs to GL_EXT_timer_query and should be decalared to avoid compiling errors if the extension is not supported. I've attached this small fix." -2007-07-19 12:09 robert +Thu, 11 Nov 2010 10:42:41 +0000 +Checked in by : Robert OSFIELD +From Mark Sciabica, "It's not Windows API calls that are causing the problem. It's a new templated constructor of std::pair not being able to automatically convert 0 to a pointer. Rather than use preprocessor checks and #defines, I think a cleaner solution is to cast the std::pair arguments to the appropriate types to help the compiler out. I attached an updated version of the file implementing this." - * examples/osgterrain/osgterrain.cpp: Added support for using - multiple load threads as a thread pool used by the - MasterOperation +Wed, 10 Nov 2010 16:58:58 +0000 +Checked in by : Robert OSFIELD +From Tim More and Robert Osfield, implementation of ARB_timer_query based GPU timing stats syncronization.Initial email from Tim : "I've implemented using a timestamp, available with ARB_timer_query and OpenGL 3.3, to gather GPU stats. This is nice because it can accurately fix the GPU draw time with respect to the other times on the stats graph, rather than having to estimate the wall time of the end of GPU drawing. This also prevents anomalies like the GPU phase starting before the draw phase..." +Changes to Tim's submission by Robert: Removal of need for swap buffer callback in ViewerBase.cpp, by +integrating a osg::State::frameCompleted() method that does the stats timing collection. Introduction of a +GraphicsContext::swapBuffersCallbackOrImplementation() method that calls the State::frameCompleted() and +the swap buffers callback or the swapImplementation as required. -2007-07-18 16:48 robert - * src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/TerrainNode.cpp, - src/osgTerrain/TerrainTechnique.cpp: Added setting of - ThreadSafeRefUnref to true. -2007-07-18 16:17 robert - * examples/osgterrain/osgterrain.cpp: Refactored the viewer setup - code to use a CustomViewer subclass of Viewer which - wraps up the set up of compile contexts and merging of changes. +Wed, 10 Nov 2010 12:50:06 +0000 +Checked in by : Robert OSFIELD +From Mourad Boufarguine, "This is a small fix to osg::createGeodeForImage to adapt Tex coords to image origin." -2007-07-18 16:14 robert - * src/osgUtil/GLObjectsVisitor.cpp: Commented out debug messages -2007-07-18 14:54 robert +Tue, 9 Nov 2010 17:17:13 +0000 +Checked in by : Robert OSFIELD +Added traversal of salve camera subgraphs when the slave camera doesn't share it's scene graph wiht the View's master scene graph. - * src/osg/GraphicsContext.cpp, src/osg/GraphicsThread.cpp: Added - call to State::initializeExtensionsProcs() to prevent crashes - before - these variables are initialized. +Tue, 9 Nov 2010 15:48:46 +0000 +Checked in by : Robert OSFIELD +From Wang Rui with small tweak from Robert Osfield, fix of memory leak in gif plugin when using GifImageStream -2007-07-18 09:05 robert +Tue, 9 Nov 2010 14:57:20 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I'm now testing static building of OSG and found a possible bug in the present3D application. As static-link present3d should depend on freetype, png, pdf and some other plugins, any mis-compiling of these plugins will make present3d fail to be built. Some lirbaries like poppler and cairo are not popular under Windows, so it is very common that we don't have osgdb_pdf compiled and thus get errors when building present3d. I've modified the CMakeLists and present3d.cpp to avoid this problem." - * include/osgUtil/GLObjectsVisitor: Added missing export symbol. +Tue, 9 Nov 2010 14:39:32 +0000 +Checked in by : Robert OSFIELD +From Sukender, "As discussed in osg-users, I found output directories with CMake >= 2.8.1 are wrong under MSVC (As Chuck said, it's to be related to CMake, and not MSVC).But I also found rev. 11354 (from Wang Rui) added a change in OsgMacroUtils which adresses a similar issue: Wang told the "../../bin" prefix wasn't working. However I think the fix isn't correct because it checks the MSVC version instead of the CMake version. Here is my fix, against latest trunk (root CMakeLists.txt, and CMakeModules/OsgMacroUtils.cmake). -2007-07-17 17:36 robert +Tests I made: + | Unix Makefiles | MSVC 9 | MSVC 10 x64 +--------------------------------------------------- +CMake 2.4 | | OK | N/A +CMake 2.6.4 | | OK | N/A +CMake 2.8.0 | | OK | broken support? +CMake 2.8.2 | | OK | OK +" - * include/osgTerrain/GeometryTechnique, - src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/TerrainTechnique.cpp: Added traverse method - implementation into GeometryTechnique. -2007-07-17 16:18 robert - * examples/osgterrain/osgterrain.cpp: Merged the new master - operation/operation thread code with older standard - terrain set up code. -2007-07-17 10:54 robert +Tue, 9 Nov 2010 13:23:43 +0000 +Checked in by : Robert OSFIELD +Refactored the versioning of serializers so it now uses a _firstVersion and _lastVersion make it possible to specify what range of versions support each serializer. - * applications/osgviewer/osgviewer.cpp, - examples/osgterrain/osgterrain.cpp, src/osg/GraphicsContext.cpp: - Fixed GraphcicsContext::getMaxContextID so it properly returns - the current max contextID. - - Fixed the osgviewer's compile context code to account for the - above fix. - - Added compile context support into osgterrain example. +Tue, 9 Nov 2010 12:41:55 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I'd like to submit my latest modification of the serialization IO functionalities. It includes two main parts: a version checking macro for handling backward-compatiblity since 3.0, and enhencement of current schema mechanism. I also change the option handling process to use getPluginStringData(), and add new USE_SERIALIZER_WRAPPER macro in the Registry header to allow for static-link usage as well.The enhencement of schema machanism just tells the type of each +serializer while outputting them, such as: +osg::Group = Children:1 -2007-07-17 09:15 robert +The meaning of the number can be found in the osgDB/Serializer header, +BaseSerializer::Type enum. It may help 3rdparty utilities understand +the structure of the wrapper and do some reflection work in the +future. - * examples/osgterrain/osgterrain.cpp: Fixed typo +The new macro UPDATE_TO_VERSION can help indicate the InputStream (no +affect on the writer) that a serializer is added/removed since certain +OSG version. An example wrapper file is also attached. The +Geode_modified.cpp is based on the serializers/osg/Geode.cpp file +(hey, don't merge it :-), but assumes that a new user serializer +'Test' is added since version 65 (that is, the OSG_SOVERSION): -2007-07-16 21:39 robert +REGISTER_OBJECT_WRAPPER( Geode, ... ) +{ + ADD_USER_SERIALIZER( Drawables ); // origin ones - * examples/osgterrain/osgterrain.cpp: Work in progress on support - for dynamically reading a master file in a background thread + UPDATE_TO_VERSION( 65 ) + { + ADD_USER_SERIALIZER( Test ); // a serializer added from version 65 + } +} -2007-07-16 17:40 robert +All kinds of ADD_... macros following UPDATE_TO_VERSION will +automatically apply the updated version. The braces here are only for +typesetting! +While reading an osgt/osgb/osgx file, OSG will now check if the file +version (recorded as the writer's soversion, instead of previous +meaningless "#Version 2") is equal or greater than Test's version, and +try reading it, or just ignore it if file version is lesser. - * examples/osgterrain/osgterrain.cpp: Added MasterOperation to do - file querry and loading and background thread. +And we also have the REMOVE_SERIALIZER macro will mark a named +serializer as removed in some version, with which all files generated +by further versions will just ignore it: -2007-07-16 15:47 robert +UPDATE_TO_VERSION( 70 ) +{ + REMOVE_SERIALIZER( Test ); +} - * examples/osgterrain/ReaderWriterTerrain.cpp: Added custom colour - support to TransferFunction setup. +This means that from version 70, the serializer Test is removed (but +not actually erased from the list) and should not be read anymore. If +the read file version is less than 70 (and equal or greater than 65), +Test will still be handled when reading; otherwise it will be ignored +to keep compatiblity on different OSG versions. +" -2007-07-16 15:13 robert - * examples/osgterrain/ReaderWriterTerrain.cpp, - examples/osgterrain/osgterrain.cpp: Improvements to the .terrain - file support -2007-07-16 12:37 robert +Mon, 8 Nov 2010 15:49:30 +0000 +Checked in by : Robert OSFIELD +From Johan Nouvel, "Some times ago, I have coded an osg to vrml2 writer. Today, I have updated our writer to osg 2.9.9. As it works (for our needs at least) I've done and attached a tar.gz file for the VRML2 plugin with a new part to write a VRML2 file from an osg one.The read part is the same as in osg 2.9.9. - * examples/osgterrain/CMakeLists.txt, - examples/osgterrain/ReaderWriterTerrain.cpp, - examples/osgterrain/osgterrain.cpp: First steps at provide a - .terrain file format to experiment with file - definitions of terrain subgraphs +The write part code is in convertToVRML.cpp and .h files. It works for some osg nodes (group, geode, matrixTransform, positionAttitudeTransform and geometry). Textures are converted to jpeg (if not translucent) or png (if translucent). +There are some options that could be given to the writer (with -O switch) : -2007-07-14 17:16 robert +convertTextures=0 to copy textures without converting them to jpeg or png +convertTextures=-1 do not copy textures, keep them in their original format and location +convertTextures=-2 do not use textures, parse only geometry +convertTextures=-3 (default) convert textures to jpeg or png ones. - * src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/RenderInfo.cpp: Updated wrappers +textureUnit=X in case of multiple textures, X= texture unit to use (default value=0) -2007-07-14 17:07 robert +directoryTexture=aPath when texture will be copied, it will be in this directory, not in the current one." - * include/osg/RenderInfo, include/osgUtil/RenderStage, - src/osgUtil/RenderStage.cpp: Added support into osg::RenderInfo - for a stack of Cameras that allow querries - of which camera is currently active to be querried from within - the draw traversal. -2007-07-14 09:17 robert - * include/osg/GraphicsThread, src/osg/GraphicsThread.cpp: Changed - BarrierOperation so that it isn't limited to jut working within - GraphicsContexts. +Mon, 8 Nov 2010 12:28:31 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, "As promised, here is the fix for the background size. I also added another instance variable _lineHeight to clean up the code a bit more.Also I've done the osguserstats example. I've kept the "toy example" that was in the modified osgviewer.cpp I had sent you, because they show different uses of custom stats lines (a value displayed directly, a value without bars and a value with bars and graph). I also added a function and a thread that will sleep for a given number of milliseconds and record this time in the stats. I think it clearly shows how to record the time some processing takes and add that to the stats graph, whether the processing takes place on the same thread as the viewer or on another thread. -2007-07-13 19:24 robert +BTW, feel free to modify the colors I've given to each user stats line... I'm not very artistic. :-) - * include/osgViewer/View, src/osgViewer/Viewer.cpp: Converted - Operations to GraphicsOperations where apporpriate. +I've also added more doc comments to the addUserStats() method in ViewerEventHandlers, so hopefully the arguments are clear and the way to get the results you want is also clear. Maybe I went overboard, but the function makes some assumptions that may not be obvious and has many arguments, so I preferred to be explicit." -2007-07-13 19:22 robert - * src/osgPlugins/CMakeLists.txt: Removed all the plugins - BUILD_OSG_* options as these just get in the way of - browsing standard CMake options. -2007-07-13 17:25 robert +Fri, 5 Nov 2010 17:31:25 +0000 +Checked in by : Robert OSFIELD +From David Fries and Robert Osfield, fix for handling remote GLX server that declares GL 3.0 support but doesn't actually implement it correctly. - * include/osg/GraphicsThread, include/osg/OperationThread, - include/osgDB/DatabasePager, include/osgUtil/GLObjectsVisitor, - src/osg/GraphicsThread.cpp, src/osgDB/DatabasePager.cpp, - src/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp: Introduce - GraphicsOperation subclass from osg::Operation, and - osgUtil::GLObjectOperation - for compiling subgraphs. +Fri, 5 Nov 2010 17:24:50 +0000 +Checked in by : Robert OSFIELD +From Javier Taibo, "ere is the new code with Billboard "rotate around axis" functionality. A new AutoRotateMode was added. I named it ROTATE_TO_AXIS to be +consistent with the other AutoRotateModes, even though it changes from +how is called in Billboard (AXIAL_ROT). -2007-07-13 11:49 robert - - * src/osgWrappers/osgGA/EventQueue.cpp: Updated wrappers - -2007-07-13 11:42 robert + Setters and getters for rotation axis and normal were also added to the +AutoTransform class interface. - * src/osgViewer/GraphicsWindowX11.cpp: From Mathias Froehlich, - "This patch removes the X11/Xmu/WinUtil.h header from - GraphicsWindowX11.cpp. - That one is not used and appears not to be present on every - platform we - compile on." + The implementation is mainly a copy-paste from Billboard code. +" -2007-07-13 11:39 robert - * src/osgPlugins/net/sockinet.cpp, - src/osgPlugins/net/sockstream.cpp: From Mathias Froehlich, "This - change makes the net plugin compile on hp-ux. - It tries to unify some partly ugly ifdefs in the socket classes. - The change is also tested on a solaris 8, irix 6.5 and suse 9.0 - machine." -2007-07-13 11:31 robert +Fri, 5 Nov 2010 17:09:58 +0000 +Checked in by : Robert OSFIELD +From Alexander Irion, "Please find another bugfix for the ReaderWriterGZ. This time, the writing did not work for me - the created output file could not be deflated by zip. " - * include/osgGA/EventQueue: Added setCurrentEventState method +Fri, 5 Nov 2010 17:07:17 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "attached is a tiny cleanup for ReaderWriterFFmpeg that provides more accurate descriptions for some extensions and also adds 'm2ts' for MPEG-2 transport streams. " -2007-07-13 11:22 robert +Fri, 5 Nov 2010 17:04:08 +0000 +Checked in by : Robert OSFIELD +From Sukender, "1. More handled cases in MergeGeometryVisitor - Algorithm doesn't try to merge double and single precision arrays together - Algorithm doesn't try to merge incompatible geometries (ex: one with "vertices + texoords", and another with only vertices)2. Better TextureAtlasBuilder +Algorithm is still sub-optimal, but it now tries to fill more blanks, using "unused space in the current line". +(Don't know if I already submitted it, but I guess not) +One day, someone should try to find a good solution to this NP-problem... For instance : http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.140.200&rep=rep1&type=pdf +" - * src/osgWrappers/osgGA/GUIEventAdapter.cpp: Updated wrappers -2007-07-13 11:17 robert - * examples/osgkeyboard/osgkeyboard.cpp, - include/osgGA/GUIEventAdapter, src/osgGA/GUIEventAdapter.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Introduced new - GUIEventAdatper singleton for sharing the current state between - multiple GraphicsWindows, this singleton is accessable via - GUIEventEvent::getAccumulatedEventState(). - - Added use of this new singleton in GraphicsWindow* - implementations. - - Added WindowSizeHandler to osgkeyboard to help with debugging of - event state - between windows. - -2007-07-12 20:12 robert - - * include/osgTerrain/GeometryTechnique, - src/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osg/OperationThread.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp: Removed - redundent TerrainGeometry classes, and adding double buffer of - internal data within GeometryTechinque in prep for support - multi-threaded - set up and rendering of terrain. - -2007-07-12 20:10 robert - - * examples/osgterrain/osgterrain.cpp: Fixed spelling of cartesian. - -2007-07-12 16:37 robert - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/Packaging/Package.sh, - Xcode/Packaging/Packages/Applications.pmproj, - Xcode/Packaging/Packages/ApplicationsBundles.pmproj, - Xcode/Packaging/Packages/ApplicationsCmdline.pmproj, - Xcode/Packaging/Packages/Examples.pmproj, - Xcode/Packaging/Packages/Frameworks.pmproj, - Xcode/Packaging/Packages/PlugIns.pmproj, - Xcode/Packaging/Resources/welcome.rtf: From Martin Lavery, - updates to Xcode projects - -2007-07-12 15:54 robert - - * ChangeLog, include/osg/Camera, include/osg/GraphicsContext, - include/osg/GraphicsThread, include/osg/OperationThread, - include/osg/OperationsThread, include/osgTerrain/TerrainNode, - include/osgViewer/Viewer, src/osg/CMakeLists.txt, - src/osg/Camera.cpp, src/osg/GraphicsContext.cpp, - src/osg/GraphicsThread.cpp, src/osg/OperationThread.cpp, - src/osg/OperationsThread.cpp, src/osgDB/DatabasePager.cpp, - src/osgTerrain/TerrainNode.cpp, src/osgUtil/RenderStage.cpp, - src/osgViewer/Viewer.cpp, src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/OperationThread.cpp, - src/osgWrappers/osg/OperationsThread.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgTerrain/TerrainNode.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Renamed - include/osg/OperationsThread to OperationThread. - - Created a new GraphicsThread subclass from OperationThread which - allows the - GraphicsContext specific calls to be moved out of the base - OperationThread class. - - Updated the rest of the OSG to respect these changes. - -2007-07-12 12:15 robert - - * include/osg/OperationsThread, src/osg/OperationsThread.cpp: - Renamed OperationsThread to OperationThread and add two way link - between OperationQueue and OperationThread - -2007-07-12 09:03 robert - - * Xcode/Packaging/Package.sh: From Martin Lavery, Update to - Packaging files for Xcode build - -2007-07-12 08:29 robert - - * include/osg/TransferFunction: Added better description of - TransferFunction. - -2007-07-11 16:06 robert - - * src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgTerrain/Locator.cpp: Updated wrappers - -2007-07-11 16:06 robert - - * include/osg/NodeTrackerCallback, - include/osgGA/NodeTrackerManipulator, include/osgViewer/View, - src/osg/NodeTrackerCallback.cpp, src/osg/View.cpp, - src/osgGA/NodeTrackerManipulator.cpp, src/osgViewer/View.cpp: - Fixed typo - -2007-07-11 15:51 robert +Fri, 5 Nov 2010 11:21:55 +0000 +Checked in by : Robert OSFIELD +From Peter Bear, "Attached is a fix for the detection of GDAL 1.7.0. The previous CMake file only supported up to 1.6, this fix supports 1.7." - * examples/osgterrain/osgterrain.cpp, include/osg/BufferObject, - include/osg/DisplaySettings, include/osg/TexEnvCombine, - include/osgGA/AnimationPathManipulator, - include/osgParticle/FluidProgram, - include/osgParticle/PrecipitationEffect, - include/osgTerrain/Locator, include/osgUtil/SceneView, - src/osg/BufferObject.cpp, src/osg/TexEnvCombine.cpp, - src/osgGA/AnimationPathManipulator.cpp, - src/osgParticle/FluidProgram.cpp, - src/osgParticle/PrecipitationEffect.cpp, - src/osgPlugins/CMakeLists.txt, src/osgTerrain/Locator.cpp, - src/osgUtil/SceneView.cpp: From Paul Melis, fixes to spelling - mistakes/typos. +Fri, 5 Nov 2010 10:29:18 +0000 +Checked in by : Robert OSFIELD +From Alaxandre Irion, "Trying to load the attached texture file "texture.dds.gz" fails and causes the following warning on the console:ReadDDSFile warning: couldn't read mipmapData -2007-07-11 15:50 robert +The issue is caused, when the last block of data is read from the file (less than chunk size of 16384 bytes). The read operation in ReaderWriterGZ::read() then sets the eof and fail bit in the stream and the lines - * CMakeLists.txt, include/osg/Version: Updated version number in - prep for 2.1.1 dev release +if (fin.fail()) +{ + (void)inflateEnd(&strm); + return false; +} -2007-07-11 15:30 robert +causes the reading to be aborted with the last read data not beeing inflated. - * CMakeLists.txt, src/osgText/Font.cpp: From Andre Garneau, minor - warning fixes +Please find the attached fix for this problem." -2007-07-11 14:16 robert - * examples/osgdistortion/osgdistortion.cpp: Added support for - --sky-light and headlight with local position at 0,0,0 -2007-07-11 13:48 robert +Fri, 5 Nov 2010 09:12:28 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "Attached is a fix to the latest PVR plugin to make it compile under MSVC. I've added definition to uint_32 and replaced std::max() with osg::maximum(), because it is not supported by some VisualStudio versions." - * src/osgViewer/CompositeViewer.cpp: Added setting of the Scene's - FrameStamp on each CompositeViewer::updateTraversal() call to fix - animation path issue. +Thu, 4 Nov 2010 17:53:58 +0000 +Checked in by : Robert OSFIELD +From Fabien Lavingotte and Robert Osfield, Fixed handling of texture pool size when TextureObject::setAllocate(..) is called. -2007-07-11 09:00 robert +Thu, 4 Nov 2010 15:24:00 +0000 +Checked in by : Robert OSFIELD +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. " - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Martin Lavery, update of Xcode projects to meet the latest - SVN revision -2007-07-10 19:29 robert - * src/osgWrappers/osg/OperationsThread.cpp: Added OperationsThread +Thu, 4 Nov 2010 13:53:31 +0000 +Checked in by : Robert OSFIELD +From Jason Beverage, "Here is a small change to the DirectShow plugin to support finding the video and sound pins by type rather than searching for them by name since the names of the pins can change based on what kind of file you are opening. This also removes the need for an explicit check to see if the file is a .wmv file.Also changes to the directshow plugin's CMakeLists.txt. + It is not necessary to link against d3dx9 to build the plugin. +" -2007-07-10 17:36 robert - * examples/osgterrain/osgterrain.cpp: Added test code path which - stress tests new thread pool support in OperationsThread -2007-07-10 17:36 robert +Thu, 4 Nov 2010 11:39:47 +0000 +Checked in by : Robert OSFIELD +From Sukender, "I replaced std::min() with osg::minimum() in RandomRateCounter, to avoid including the STL header (Or else it doesn't compile under MSVC 10)." - * include/osg/OperationsThread, src/osg/OperationsThread.cpp: Wired - up OperationsThread to use the new OperationQueue and thereby - support - thread pooling where multiple OperationsThreads share a single - OperationsQueue +Thu, 4 Nov 2010 11:05:47 +0000 +Checked in by : Robert OSFIELD +From David Callu, fix in FrameBufferObject when using Texture2Darray and GeometryShader. -2007-07-09 19:04 robert +Thu, 4 Nov 2010 11:02:37 +0000 +Checked in by : Robert OSFIELD +From Per Fahlberg, "I have added support for PowerVR texture compression. osg::Texture and osg::Image have been modified to support the texture formats and I have added a plugin to load pvr files. All modified files are in the attached zip. " - * include/osg/GraphicsThread, include/osg/OperationsThread, - include/osgParticle/range, src/osg/CMakeLists.txt, - src/osg/GraphicsThread.cpp, src/osg/OperationsThread.cpp, - src/osgUtil/RenderStage.cpp, src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgTerrain/TerrainNode.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Separated OperationsThread - out from the GraphicsThread header and introduced - new OperationQueue class. +Wed, 3 Nov 2010 10:37:32 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "additional FFmpegParameters class in the ffmpeg plugin for setting parameters before opening the video file, which benefits from getPluginStringData() as shown in the ReaderWriter implementation.Now we can use ffmpeg to render webcam video (using the vfwcap device) under Windows: -2007-07-09 15:02 robert +osgmovie 0 -e ffmpeg -O "format=vfwcap frame_rate=25" - * include/osg/DeleteHandler, src/osg/DeleteHandler.cpp: Fixed - unitialized variables. +The number 0 just indicates a default device number in ffmpeg. -2007-07-09 11:37 robert +I think this can work under Linux, too, and should be a bit better than comparing the filename with a '/dev/' string. Just type: - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog, osgversion and AUTHORS.txt for 2.1 dev release +./osgmovie /dev/yourcam -e ffmpeg -O "format=video4linux2 frame_rate=30 size=320x240"" -2007-07-09 11:05 robert - * CMakeLists.txt, README.txt, include/osg/Version: Updated version - number for 2.1.0 dev release -2007-07-09 11:05 robert +Wed, 3 Nov 2010 10:37:02 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "a new parsePluginStringData() method in the osgDB::Options class which will be automatically executed to parse option string to the string data map" - * src/osg/GraphicsThread.cpp: Added OpertionQueue - -2007-07-09 11:03 robert - - * include/osg/GraphicsThread: Added OperationQueue class for future - work on support thread pools that share - a single OpeationQueue. - -2007-07-09 10:48 robert - - * src/osgWrappers/osg/GraphicsThread.cpp: Updated wrappers - -2007-07-09 10:47 robert - - * src/osgText/Text.cpp: Improved the consistency of setting of - rotation and auto rotate modes in setAxisAlingment method - -2007-07-09 10:12 robert - - * src/osgViewer/CompositeViewer.cpp: Fixed missinged intialization - of the _threadsRunning variable. +Wed, 3 Nov 2010 10:04:34 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, "For a long time now I've wanted to be able to add custom values into the stats handler's graph. Here is my proposal of how I'd do this. It's surely not perfect and I'm open to suggestions, but I've already made more changes than I wanted to in order to be able to implement this...The user calls statsHandler->addUserStatsLine() providing: -2007-07-07 16:05 robert +- the label they want for that line in the graph +- the text and bar colors they want in the graph +- the stats names they want queried (one for time taken, one for begin and one for end time) and a few settings for how these will be displayed. - * src/osgPlugins/vrml/ReaderWriterVRML2.cpp: From Jean-Sebastien - Guay and Jan Ciger, added search path can improved handling of - backslashes/forward slashes - -2007-07-06 20:00 robert - - * src/osgWrappers/osgTerrain/Layer.cpp: Updared wrappers - -2007-07-06 16:54 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp: Added include of - DeleteHandler - -2007-07-06 16:47 robert - - * examples/osgterrain/osgterrain.cpp, include/osgTerrain/Layer, - src/osgTerrain/Layer.cpp: Added dirty count support to - osgTerrain::Layer clases. - - Added LayerHandler to osgterrain example that modifies the layers - in - response to pressing the 's' and 'q' keys - -2007-07-06 14:07 robert - - * src/osgPlugins/vrml/CMakeLists.txt: From Jea-Sebastien Guay and - Robert Osfield, build fixes for Windows - -2007-07-06 13:54 robert - - * examples/osgstaticviewer/CMakeLists.txt, - examples/osgstaticviewer/osgstaticviewer.cpp, - src/osgPlugins/3dc/ReaderWriter3DC.cpp, - src/osgPlugins/3ds/ReaderWriter3DS.cpp, - src/osgPlugins/Inventor/ReaderWriterIV.cpp, - src/osgPlugins/OpenFlight/ReaderWriterATTR.cpp, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp, - src/osgPlugins/ac/ac3d.cpp, - src/osgPlugins/bmp/ReaderWriterBMP.cpp, - src/osgPlugins/bsp/ReaderWriterQ3BSP.cpp, - src/osgPlugins/dae/ReaderWriterDAE.cpp, - src/osgPlugins/dds/ReaderWriterDDS.cpp, - src/osgPlugins/dw/ReaderWriterDW.cpp, - src/osgPlugins/dxf/ReaderWriterDXF.cpp, - src/osgPlugins/geo/ReaderWriterGEO.cpp, - src/osgPlugins/gif/ReaderWriterGIF.cpp, - src/osgPlugins/hdr/ReaderWriterHDR.cpp, - src/osgPlugins/jp2/ReaderWriterJP2.cpp, - src/osgPlugins/jpeg/ReaderWriterJPEG.cpp, - src/osgPlugins/logo/ReaderWriterLOGO.cpp, - src/osgPlugins/lwo/ReaderWriterLWO.cpp, - src/osgPlugins/lws/ReaderWriterLWS.cpp, - src/osgPlugins/md2/ReaderWriterMD2.cpp, - src/osgPlugins/net/ReaderWriterNET.cpp, - src/osgPlugins/normals/ReaderWriterNormals.cpp, - src/osgPlugins/obj/ReaderWriterOBJ.cpp, - src/osgPlugins/osg/ReaderWriterOSG.cpp, - src/osgPlugins/osgShadow/ReaderWriterOsgShadow.cpp, - src/osgPlugins/osgViewer/ReaderWriterOsgViewer.cpp, - src/osgPlugins/osga/ReaderWriterOSGA.cpp, - src/osgPlugins/osgtgz/ReaderWriterOSGTGZ.cpp, - src/osgPlugins/pfb/ReaderWriterPFB.cpp, - src/osgPlugins/pic/ReaderWriterPIC.cpp, - src/osgPlugins/png/ReaderWriterPNG.cpp, - src/osgPlugins/pnm/ReaderWriterPNM.cpp, - src/osgPlugins/quicktime/ReaderWriterQT.cpp, - src/osgPlugins/rgb/ReaderWriterRGB.cpp, - src/osgPlugins/rot/ReaderWriterROT.cpp, - src/osgPlugins/scale/ReaderWriterSCALE.cpp, - src/osgPlugins/shp/ESRIShapeReaderWriter.cpp, - src/osgPlugins/stl/ReaderWriterSTL.cpp, - src/osgPlugins/tga/ReaderWriterTGA.cpp, - src/osgPlugins/tgz/ReaderWriterTGZ.cpp, - src/osgPlugins/tiff/ReaderWriterTIFF.cpp, - src/osgPlugins/trans/ReaderWriterTRANS.cpp, - src/osgPlugins/txf/ReaderWriterTXF.cpp, - src/osgPlugins/txp/ReaderWriterTXP.cpp, - src/osgPlugins/vrml/ReaderWriterVRML2.cpp, - src/osgPlugins/x/ReaderWriterDirectX.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp, - src/osgPlugins/zip/ReaderWriterZIP.cpp: From Rudolf Wiedemann, "I - need to link OpenSceneGraph statically to my application, so I - completed the new registration of the plugin-readerwriters - ("REGISTER_OSGPLUGIN") according to your osgstaticviewer-example - (see - attachment, based on today's svn)." - -2007-07-06 13:33 robert - - * src/osgPlugins/OpenFlight/Pools.cpp: From Brede Johansen, - "Attached is a fix that returns a default color (white) if an - invalid - index to the color palette is used." - -2007-07-06 13:08 robert - - * applications/osgviewer/osgviewer.cpp, - examples/osgteapot/osgteapot.cpp, include/osg/GLObjects, - include/osgDB/DatabasePager, src/osg/CMakeLists.txt, - src/osg/GLObjects.cpp, src/osg/GraphicsContext.cpp, - src/osgDB/DatabasePager.cpp, src/osgUtil/SceneView.cpp, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp: Added - include/osg/GLObjects + .cpp which provide - osg::flush*DeletedGLObjects() methods. - - Added and cleaned up DeleteHandler calls in osgViewer to help - avoid crashes on exit. - - Changed DatabasePager across to dynamically checcking - osg::getCompileContext(..) - - Updated wrappers. - -2007-07-06 09:06 robert - - * src/osg/GraphicsContext.cpp: Added #include - -2007-07-05 18:41 robert - - * src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osgTerrain/TerrainNode.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp: Updated wrappers. - -2007-07-05 18:33 robert - - * applications/osgviewer/osgviewer.cpp, include/osg/DeleteHandler, - include/osg/GraphicsContext, src/osg/DeleteHandler.cpp, - src/osg/GraphicsContext.cpp, src/osg/View.cpp, - src/osgViewer/GraphicsWindowX11.cpp, src/osgViewer/Viewer.cpp: - Added support for managing a CompileContext. Rearranged the - DeleteHandler::flushAll call. - -2007-07-05 18:32 robert - - * examples/osgkeyboard/osgkeyboard.cpp: Added debug messages to - catch key modified state - -2007-07-05 18:30 robert - - * src/osgSim/OverlayNode.cpp: Improved the computation of the side - vector - -2007-07-05 18:30 robert - - * include/osgTerrain/TerrainNode, - src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/TerrainNode.cpp, - src/osgTerrain/TerrainTechnique.cpp: Improved the mapping of - update and cull traversal - -2007-07-05 10:57 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Adndre Garneau, - "Attached is a fix to prevent a cursor being shown in graphics - windows when - traits specify that none should be used (a recent change forced a - left-pointer cursor as the default). " - -2007-07-05 10:51 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: Commented out "fix" that - explictly sets the key modifier state as this change - actually broke the key modifier state management. - -2007-07-03 17:32 robert - - * examples/osgwindows/osgwindows.cpp: 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'). - I've also added a little offset to the windows' positions so that - their decoration falls inside the desktop and we can manipulate - them - it looks a bit less "made out of wood"." - -2007-07-03 13:26 robert - - * examples/osgkeyboard/osgkeyboard.cpp, - src/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgGA/StateSetManipulator.cpp, src/osgViewer/HelpHandler.cpp, - src/osgViewer/StatsHandler.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Added checking of - GUIEventAdpter::getHandled(). - -2007-07-03 10:00 robert - - * applications/osgconv/OrientationConverter.cpp: From Roger James, - added GL_NORMALIZE mode to scaled models - -2007-07-02 13:17 robert - - * include/osgUtil/SceneView, src/osgUtil/SceneView.cpp: Changed the - way that computeNearFar is computed to avoid inconsistencies when - in stereo mode - -2007-07-02 13:16 robert - - * src/osgWrappers/osgUtil/SceneView.cpp: Updated wrappers - -2007-07-02 12:43 robert - - * src/osgPlugins/freetype/FreeTypeFont.cpp, - src/osgPlugins/freetype/FreeTypeFont.h, - src/osgPlugins/freetype/FreeTypeLibrary.cpp, - src/osgPlugins/freetype/FreeTypeLibrary.h, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp: From Csaba - Halasz, support reading "monochrome" option string and use of - monocrhome FreetType support - -2007-07-02 12:30 robert - - * include/osgText/Font, src/osgText/Font.cpp: From Csaba Halasz and - Robert Osfield, support for passing in ReaderWriter::Options - object into readFontFile - -2007-06-30 16:19 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Mike Connell, "This - is a tiny fix for win32. - - The current code takes the mouse cursor position and adds it to - the - window (left,top) position, and sends the mouse cursor there. But - this - doesn't take into account the window decoration. - - The new code converts the given (x,y) coordinates from the client - area - coordinate system to the screen instead using ClientToScreen. I - think - this is the natural windows way to do it. - - Tested on XP with osgviewer - " - - Note from Robet Osfield, made a few changes to layout to make it - more consistent - with the rest of the OSG and used #if 0 instead if (0) blocks. - -2007-06-30 15:40 robert - - * src/osgPlugins/3ds/material.cpp: From Stephan Huber, "attached - you'll find a small fix for the 3ds-plugin, so 3ds-files - exported from cinema 4d are imported correctly. It's not cinema's - fault, - because the 3ds-files show up correctly in 3dStudio Max." - -2007-06-30 14:30 robert - - * src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/ImageStream.cpp, - src/osgWrappers/osg/Point.cpp: Updated wrappers - -2007-06-30 14:30 robert - - * include/osg/BufferObject: Added s/getUsage() method - -2007-06-30 14:30 robert - - * src/osgUtil/RenderStage.cpp: Added balancing of stack size on - entry/exit from rendering nested camera. - -2007-06-30 14:28 robert - - * examples/osgteapot/osgteapot.cpp: Added debug path that creates - the viewer on the heap. - -2007-06-30 14:21 robert - - * include/osgIntrospection/Converter, - include/osgIntrospection/Reflection, - src/osgIntrospection/Reflection.cpp, - src/osgIntrospection/Reflector.cpp, - src/osgIntrospection/Value.cpp: From David Callu, - - " - Found in the join file the fix for the bug found by Rafa. - - - Problem : - - osgIntrospection::Value grp(new osg::Group); - - osgIntrospection::ValueList vlcall; - vlcall.push_back(osgIntrospection::Value("toto")); - - const osgIntrospection::MethodInfo *m = - grp->getType.getCompatibleMethod("setName", vlcall, true); - - if (m) - { - m->invoke(grp, vlcall); // ** SEGFAULT here - } - - - - - - Algorithm explanation : - - The "invoke" method try to convert "grp", which reflect an - "osg::Group*", in a - "osgIntrospection::Value", which reflect a "osg::Node*". - This because - the "setName(const char *)" method found by - "grp->getType.getCompatibleMethod" - is an "osg::Object" type method. - - When osgIntrospection do this conversion it try : - - to found a "osgIntrospection::Converter" to convert - from "osg::Group*" to "osg::Node*" - - to found a chain of "osgIntrospection::Converter" to convert - from "osg::Group*" to "one or many type" to "osg::Node*" - - to converte an Enum to int or unsigned int - - to convert the value in its "value string representation", - then converte this string in the destination value - - Else it throw a "TypeConversionException". - - - - - - - - Bug : - - 1) - When osgIntrospection try to found a chain of - "osgIntrospection::Converter" - It could do any downcast or (Type to SuperType) or upcast - (SuperType to Type). - This mean the the chain could be : - osg::Group to osg::Transform to osg::Camera to - osg::CullSettings to osg::CullStack to - osg::CollectOccludersVisitor to - osg::NodeVisitor to osg::Referenced to osg::Object - - During the convertion with this chain, A METTRE failed and - the pointer in - "grp" is set NULL. But the "grp" is always a valid - "osgIntrospection::Value" - and so, osgIntrospection accept the conversion. Then it try - to use this pointer - to call the "setName" function. And Bing SEGFAULT. - - - 2) - In "bool Reflection::accum_conv_path( ... )" - the convection path isn't accumulate in the recursive loop. - this cause multi request of a conversion path, and a - slowdown in the - conversion algorithm. - - 3) - Use of the last conversion way in a conversion from - pointer to pointer - this mean you can do this : - "osg::Node*" to " value string representation" to - "osg::Material*" - What a bad thing !!! - - - - - Solution : - - 1) - Introduce the concept of dynamic_cast and static_cast. - now, to do a conversion, osgIntrospection does this : - - - to found a "osgIntrospection::Converter" to convert - from "osg::Group*" to "osg::Node*" - - to found a chain of "osgIntrospection::Converter" to convert - from "osg::Group*" to "one or many type" to "osg::Node*" - only with static_cast, downcast (Type to SuperType) - - - to found, if the source and the destination are two pointer, - a chain of "osgIntrospection::Converter" to convert - from "osg::Group*" to "one or many type" to "osg::Node*" - only with dynamic_cast, upcast (SuperType to Type) - - - to convert an Enum to int or to unsigned int - - to convert the value in its "value string representation", - then convert this string in the destination value - - Else it throw a "TypeConversionException". - - - Add the "enum CastType" to distinguish the static_cast or - dynamic_cast converter. - Add file OpenSceneGraph/include/osgIntrospection/CastType - - 2) - add a line to accumulate converter in converter Path. - - 3) - add a line to check if source and destination are pointer. - " - -2007-06-30 09:27 robert - - * src/osgUtil/CullVisitor.cpp: From Sherman Wilcox, added check for - Drawable cull callbck into apply(Billboard) - -2007-06-30 07:09 robert - - * Xcode/XcodeTemplates/OSG Application/osgApp_Prefix.pch: Removed - the old references to files now removed - -2007-06-29 17:01 robert - - * include/osg/Point, src/osg/Point.cpp, src/osg/PointSprite.cpp: - Added Point::Extension::isPointSpriteCoordOriginSupported() - method - -2007-06-29 16:37 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From Sherman Wilcox, - added serach for freetype234 - -2007-06-29 16:10 robert - - * src/osg/CMakeLists.txt: From Paul Martz, "Attached is - src/osg/CMakeLists.txt. Adding TemplatePrimitiveFunctor to the - source code list for the project. This makes this header file - show up in the VS IDE as part of this project, and therefore - facilitates IDE searching of project-related files, as well as - making other tasks easier." - -2007-06-29 16:09 robert - - * src/osg/CMakeLists.txt: Fixed indenting to use 4 spaces instead - of tabs - -2007-06-29 16:06 robert - - * src/osgPlugins/dae/CMakeLists.txt: From Jan Ciger, "I am - attaching a fix for the COLLADA plugin on non-windows systems. - The - COLLADA modules STLDatabase, LIBXMLPlugin and stdErrPlugin are - statically included in the main COLLADA library on Linux and - shouldn't - be linked separately - those libraries do not exist in the - default Linux - build and the compilation will fail. - - Second issue - the current version of the COLLADA plugin (both - current - HEAD in Subversion and the one in stable 2.0) do not work right - with the - stable COLLADA DOM 1.4.1. I am getting the following error: - " - -2007-06-29 16:00 robert - - * src/osgPlugins/ac/ac3d.cpp: From Roger James, bug fix to counting - of number geode with drawables - -2007-06-28 20:56 robert - - * src/osgPlugins/quicktime/QuicktimeImageStream.cpp: From Brad - Colbert, get/setVolume methods - -2007-06-28 14:19 robert - - * include/osg/ImageStream, src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QuicktimeImageStream.h: From Brad - Colbert with ammendments by Robert Osfield, add set/getVolume - support - -2007-06-28 12:59 robert - - * src/osgViewer/PixelBufferWin32.cpp: From Trajce Nikolov, fixes to - pbuffer setup - -2007-06-28 09:51 robert - - * src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/ive/DataInputStream.cpp, - src/osgPlugins/ive/DataOutputStream.cpp, - src/osgPlugins/ive/Multisample.cpp, - src/osgPlugins/ive/Multisample.h, src/osgPlugins/ive/ReadWrite.h: - From Nikolaus Hanekamp, added support for osg::Multisample - -2007-06-27 20:44 robert - - * include/osgViewer/api/Carbon/PixelBufferCarbon, - src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/PixelBufferCarbon.cpp: From Stephan Huber, - "attached you'll find a first implementation of pbuffer-support - for os x. - - I used osgprerender --pbuffer to test the carbon-implementation, - for now - it works :) - " - -2007-06-27 20:36 robert - - * include/osg/BlendColor, include/osg/BlendEquation, - include/osg/BufferObject, include/osg/ClampColor, - include/osg/CollectOccludersVisitor, include/osg/Drawable, - include/osg/FragmentProgram, include/osg/Multisample, - include/osg/Point, include/osg/Referenced, - include/osg/StencilTwoSided, include/osg/TextureCubeMap, - include/osg/VertexProgram, include/osgDB/Input, - include/osgDB/Registry, include/osgParticle/ModularEmitter, - include/osgShadow/OccluderGeometry, - include/osgTerrain/GeometryTechnique, include/osgText/Text, - src/osg/BlendColor.cpp, src/osg/BlendEquation.cpp, - src/osg/BufferObject.cpp, src/osg/ClampColor.cpp, - src/osg/Drawable.cpp, src/osg/FragmentProgram.cpp, - src/osg/Multisample.cpp, src/osg/Point.cpp, - src/osg/Referenced.cpp, src/osg/StencilTwoSided.cpp, - src/osg/TextureCubeMap.cpp, src/osg/VertexProgram.cpp, - src/osgDB/DatabasePager.cpp, src/osgDB/Input.cpp, - src/osgDB/Registry.cpp, src/osgParticle/FireEffect.cpp, - src/osgParticle/SmokeEffect.cpp, src/osgPlugins/osg/Geometry.cpp, - src/osgShadow/OccluderGeometry.cpp, src/osgText/Text.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osgDB/Input.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgText/Text.cpp: From Paul Melis, "Here is a - list of fixes to misspelled APIs. Unfortunately, more than one - of these are public APIs and therefore will break linkage to - existing - shared libraries." - - Note from Robert Osfield, updated wrappers. - -2007-06-27 20:34 robert - - * src/osgUtil/RenderStage.cpp: Added temporary reset of the - RenderLeaf pointer for any internal calls to other graphics - contexts. - -2007-06-27 19:51 ewing - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - Minor build fixes. Changed/fixed GraphicsWindowCarbon to go into - api/Carbon instead of just api/ - -2007-06-27 17:01 robert - - * src/osgViewer/PixelBufferX11.cpp: From Andy Skinner, fixed return - value. - -2007-06-27 11:14 robert - - * src/osgWrappers/osg/GraphicsContext.cpp: Updated wrappers - -2007-06-27 10:37 robert - - * src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/PixelBufferWin32.cpp: From Rajce Nickolov, - improvements to PixelBufferWin32 and GraphicsWindowWin32 - -2007-06-27 10:12 robert - - * include/osg/GraphicsContext, src/osgUtil/RenderStage.cpp: Added - texture format into Traits. - -2007-06-27 09:44 robert - - * src/osgUtil/RenderStage.cpp: Fixed target setting bug in - PixelBuffer RTT set up. - -2007-06-26 17:12 robert - - * CMakeModules/FindGDAL.cmake, CMakeModules/FindOSG.cmake: Added - missing cmake macros - -2007-06-26 11:31 robert - - * src/osgSim/OverlayNode.cpp: Reverted to using non silhouette - computation. - -2007-06-25 13:48 robert - - * src/osgSim/OverlayNode.cpp: Changed the RTT Camera so that it - doesn't automatically recompute the near and far planes - -2007-06-25 11:32 robert - - * src/osgViewer/PixelBufferWin32.cpp: From Trajce Nickolov, - improvements to PixelBufferWin32. - -2007-06-25 08:35 robert - - * CMakeLists.txt, CMakeModules/Find3rdPartyDependencies.cmake, - CMakeModules/FindCOLLADA.cmake, CMakeModules/FindFLTK.cmake, - CMakeModules/FindFreeType.cmake, CMakeModules/FindGIFLIB.cmake, - CMakeModules/FindInventor.cmake, CMakeModules/FindJasper.cmake, - CMakeModules/FindOpenThreads.cmake, - CMakeModules/FindOpenVRML.cmake, - CMakeModules/FindPerformer.cmake, - CMakeModules/FindQuickTime.cmake, CMakeModules/FindXine.cmake, - CMakeModules/FindZLIB.cmake, CMakeModules/ListHandle.cmake, - CMakeModules/ModuleInstall.cmake, - CMakeModules/OsgMacroUtils.cmake, - CMakeModules/UtilityMacros.cmake, - CMakeModules/cmake_uninstall.cmake.in, - applications/CMakeLists.txt, - applications/osgarchive/CMakeLists.txt, - applications/osgconv/CMakeLists.txt, - applications/osgversion/CMakeLists.txt, - applications/osgviewer/CMakeLists.txt, examples/CMakeLists.txt, - examples/osganimate/CMakeLists.txt, - examples/osgautotransform/CMakeLists.txt, - examples/osgbillboard/CMakeLists.txt, - examples/osgblendequation/CMakeLists.txt, - examples/osgcallback/CMakeLists.txt, - examples/osgcamera/CMakeLists.txt, - examples/osgcatch/CMakeLists.txt, - examples/osgclip/CMakeLists.txt, - examples/osgcompositeviewer/CMakeLists.txt, - examples/osgcopy/CMakeLists.txt, - examples/osgcubemap/CMakeLists.txt, - examples/osgdelaunay/CMakeLists.txt, - examples/osgdepthpartition/CMakeLists.txt, - examples/osgdepthshadow/CMakeLists.txt, - examples/osgdistortion/CMakeLists.txt, - examples/osgfadetext/CMakeLists.txt, - examples/osgforest/CMakeLists.txt, - examples/osgfxbrowser/CMakeLists.txt, - examples/osggeodemo/CMakeLists.txt, - examples/osggeometry/CMakeLists.txt, - examples/osghangglide/CMakeLists.txt, - examples/osghud/CMakeLists.txt, - examples/osgimpostor/CMakeLists.txt, - examples/osgintersection/CMakeLists.txt, - examples/osgintrospection/CMakeLists.txt, - examples/osgkeyboard/CMakeLists.txt, - examples/osgkeyboardmouse/CMakeLists.txt, - examples/osglauncher/CMakeLists.txt, - examples/osglight/CMakeLists.txt, - examples/osglightpoint/CMakeLists.txt, - examples/osglogicop/CMakeLists.txt, - examples/osglogo/CMakeLists.txt, - examples/osgmanipulator/CMakeLists.txt, - examples/osgmotionblur/CMakeLists.txt, - examples/osgmovie/CMakeLists.txt, - examples/osgmultitexture/CMakeLists.txt, - examples/osgoccluder/CMakeLists.txt, - examples/osgpagedlod/CMakeLists.txt, - examples/osgparametric/CMakeLists.txt, - examples/osgparticle/CMakeLists.txt, - examples/osgparticleeffects/CMakeLists.txt, - examples/osgphotoalbum/CMakeLists.txt, - examples/osgpick/CMakeLists.txt, - examples/osgplanets/CMakeLists.txt, - examples/osgpoints/CMakeLists.txt, - examples/osgpointsprite/CMakeLists.txt, - examples/osgprecipitation/CMakeLists.txt, - examples/osgprerender/CMakeLists.txt, - examples/osgprerendercubemap/CMakeLists.txt, - examples/osgreflect/CMakeLists.txt, - examples/osgscalarbar/CMakeLists.txt, - examples/osgscribe/CMakeLists.txt, - examples/osgsequence/CMakeLists.txt, - examples/osgshaders/CMakeLists.txt, - examples/osgshaderterrain/CMakeLists.txt, - examples/osgshadow/CMakeLists.txt, - examples/osgshadowtexture/CMakeLists.txt, - examples/osgshape/CMakeLists.txt, - examples/osgsimplifier/CMakeLists.txt, - examples/osgsimulation/CMakeLists.txt, - examples/osgslice/CMakeLists.txt, - examples/osgspacewarp/CMakeLists.txt, - examples/osgspheresegment/CMakeLists.txt, - examples/osgspotlight/CMakeLists.txt, - examples/osgstaticviewer/CMakeLists.txt, - examples/osgstereoimage/CMakeLists.txt, - examples/osgteapot/CMakeLists.txt, - examples/osgterrain/CMakeLists.txt, - examples/osgtessellate/CMakeLists.txt, - examples/osgtext/CMakeLists.txt, - examples/osgtexture1D/CMakeLists.txt, - examples/osgtexture2D/CMakeLists.txt, - examples/osgtexture3D/CMakeLists.txt, - examples/osgtexturerectangle/CMakeLists.txt, - examples/osgunittests/CMakeLists.txt, - examples/osgvertexprogram/CMakeLists.txt, - examples/osgviewerFLTK/CMakeLists.txt, - examples/osgviewerGLUT/CMakeLists.txt, - examples/osgviewerMFC/CMakeLists.txt, - examples/osgviewerQT/CMakeLists.txt, - examples/osgviewerSDL/CMakeLists.txt, - examples/osgviewerWX/CMakeLists.txt, - examples/osgvolume/CMakeLists.txt, - examples/osgwindows/CMakeLists.txt, src/CMakeLists.txt, - src/osg/CMakeLists.txt, src/osgDB/CMakeLists.txt, - src/osgFX/CMakeLists.txt, src/osgGA/CMakeLists.txt, - src/osgIntrospection/CMakeLists.txt, - src/osgManipulator/CMakeLists.txt, - src/osgParticle/CMakeLists.txt, - src/osgPlugins/3dc/CMakeLists.txt, - src/osgPlugins/3ds/CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/Inventor/CMakeLists.txt, - src/osgPlugins/OpenFlight/CMakeLists.txt, - src/osgPlugins/ac/CMakeLists.txt, - src/osgPlugins/bmp/CMakeLists.txt, - src/osgPlugins/dae/CMakeLists.txt, - src/osgPlugins/dds/CMakeLists.txt, - src/osgPlugins/dw/CMakeLists.txt, - src/osgPlugins/dxf/CMakeLists.txt, - src/osgPlugins/freetype/CMakeLists.txt, - src/osgPlugins/geo/CMakeLists.txt, - src/osgPlugins/gif/CMakeLists.txt, - src/osgPlugins/hdr/CMakeLists.txt, - src/osgPlugins/ive/CMakeLists.txt, - src/osgPlugins/jp2/CMakeLists.txt, - src/osgPlugins/jpeg/CMakeLists.txt, - src/osgPlugins/logo/CMakeLists.txt, - src/osgPlugins/lwo/CMakeLists.txt, - src/osgPlugins/lws/CMakeLists.txt, - src/osgPlugins/md2/CMakeLists.txt, - src/osgPlugins/net/CMakeLists.txt, - src/osgPlugins/normals/CMakeLists.txt, - src/osgPlugins/obj/CMakeLists.txt, - src/osgPlugins/osg/CMakeLists.txt, - src/osgPlugins/osgFX/CMakeLists.txt, - src/osgPlugins/osgParticle/CMakeLists.txt, - src/osgPlugins/osgShadow/CMakeLists.txt, - src/osgPlugins/osgSim/CMakeLists.txt, - src/osgPlugins/osgText/CMakeLists.txt, - src/osgPlugins/osgViewer/CMakeLists.txt, - src/osgPlugins/osga/CMakeLists.txt, - src/osgPlugins/osgtgz/CMakeLists.txt, - src/osgPlugins/pfb/CMakeLists.txt, - src/osgPlugins/pic/CMakeLists.txt, - src/osgPlugins/png/CMakeLists.txt, - src/osgPlugins/pnm/CMakeLists.txt, - src/osgPlugins/quicktime/CMakeLists.txt, - src/osgPlugins/rgb/CMakeLists.txt, - src/osgPlugins/rot/CMakeLists.txt, - src/osgPlugins/scale/CMakeLists.txt, - src/osgPlugins/shp/CMakeLists.txt, - src/osgPlugins/stl/CMakeLists.txt, - src/osgPlugins/tga/CMakeLists.txt, - src/osgPlugins/tgz/CMakeLists.txt, - src/osgPlugins/tiff/CMakeLists.txt, - src/osgPlugins/trans/CMakeLists.txt, - src/osgPlugins/txf/CMakeLists.txt, - src/osgPlugins/txp/CMakeLists.txt, - src/osgPlugins/vrml/CMakeLists.txt, - src/osgPlugins/x/CMakeLists.txt, - src/osgPlugins/xine/CMakeLists.txt, - src/osgPlugins/zip/CMakeLists.txt, src/osgShadow/CMakeLists.txt, - src/osgSim/CMakeLists.txt, src/osgTerrain/CMakeLists.txt, - src/osgText/CMakeLists.txt, src/osgUtil/CMakeLists.txt, - src/osgViewer/CMakeLists.txt, src/osgWrappers/CMakeLists.txt: Set - the eol style on CMake .txt files to native - -2007-06-24 10:55 robert - - * src/osgWrappers/osgDB/DatabasePager.cpp: Updated wrappers - -2007-06-24 10:18 robert - - * include/osgViewer/api/Win32/PixelBufferWin32, - src/osgViewer/PixelBufferWin32.cpp: From Trajce Nikolov, - PixelBufferWin32 implementation - -2007-06-23 21:55 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Simplified decoration code - and added support for reading Traits::supportsResize - -2007-06-23 21:54 robert - - * include/osg/GraphicsContext: Set the Traits::supportsResize flag - to true in default constructor. - -2007-06-23 11:24 robert - - * examples/osgviewerQT/osgviewerQT.cpp: Reorder the - setProjectionMatrix.. mathod - -2007-06-23 11:21 robert - - * examples/osgspheresegment/osgspheresegment.cpp, - examples/osgviewerFLTK/osgviewerFLTK.cpp, - examples/osgviewerQT/osgviewerQT.cpp, src/osgViewer/Viewer.cpp: - Added setting of the Camera's projection matrix to fit the - windowing aspect ratio. - -2007-06-22 14:48 robert - - * applications/osgviewer/osgviewer.cpp: Added optional set up of - pbuffers for background compilation of the OpenGL objects - when database paging. - -2007-06-22 14:48 robert - - * include/osgDB/DatabasePager, src/osgDB/DatabasePager.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added ability to compile OpenGL objects via pbuffers in the - DatabasePager/Viewer +Then all they have to do is call viewer->getViewerStats()->setAttribute(framenumber, name, value) for their three attributes each frame and they'll have their stats in the graph. -2007-06-21 16:14 robert +They can also give only a time taken attribute (or some other numerical value they want printed, which can be averaged or not), or only begin+end attributes, and the graph will accordingly display only the (average or not) numerical value or only the bars. - * examples/osglauncher/osglauncher.cpp: Added explicit setting of - updateText to have DYNAMIC data variance. +Along the way I cleaned up the existing code a bit: -2007-06-21 11:20 robert +* Each time the setUpScene() or createCameraTimeStats() methods added a line to the graph, they did pretty much the same thing, so I moved that into a separate method called createTimeStatsLine() which is called by setUpScene() and createCameraTimeStats(). - * include/osgViewer/api/Win32/PixelBufferWin32, - src/osgViewer/PixelBufferWin32.cpp: From Trajce Nikolov, windows - build fixes +* I moved the font, characterSize, startBlocks and leftPos variables to member variables, since they were being passed around everywhere but were set only once at the beginning. -2007-06-20 12:34 robert +* The geode on which stats lines are added is also kept in a member variable, and createCameraTimeStats() adds the per-camera lines to this geode instead of returning a new Group with a new Geode. This further reduces the number of variables the createCameraTimeStats() method needs as input. - * src/osgViewer/PixelBufferWin32.cpp: Added dummy init method +" -2007-06-20 12:29 robert - * include/osgViewer/api/Win32/PixelBufferWin32, - src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/PixelBufferWin32.cpp: Added placeholder for - PixelBufferWin32 -2007-06-20 12:01 robert +Wed, 3 Nov 2010 09:51:12 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, "For a while now I've been bugged (pun) by a problem in the stats graph I submitted a long time ago. When it scrolled, sometimes it would scroll too little, leading to an empty space at the left that would grow as time went by. I was in that code today for something else so I fixed it. " - * applications/osgconv/osgconv.cpp: Corrected graphics context - creation message +Wed, 3 Nov 2010 09:28:28 +0000 +Checked in by : Robert OSFIELD +From David Fries, "Fix remote X11 crash querying GL_NUM_EXTENSIONSIn osg::isGLExtensionOrVersionSupported in src/osg/GLExtensions.cpp when +using indirect X11 rendering, +glGetIntegerv( GL_NUM_EXTENSIONS, &numExt ); +is leaving numExt uninitilized causing the following glGetStringi to +return NULL when the extension number isn't present. Passing NULL to +std::string() then crashes. This is with the following nVidia driver. +OpenGL version string: 3.3.0 NVIDIA 256.35 -2007-06-20 12:00 robert +I went ahead and initialized some of the other variables before +glGetInitegerv in other files as well. I don't know for sure +which ones can fail, so I don't know which are strictly required. +" - * include/osgTerrain/GeometryTechnique, - src/osgTerrain/GeometryTechnique.cpp: Added code of support for - contouring shaders -2007-06-20 11:59 robert - * src/osgWrappers/osgTerrain/GeometryTechnique.cpp: Updated - wrappers +Tue, 2 Nov 2010 14:00:50 +0000 +Checked in by : Robert OSFIELD +From Chuck Seberino, "Here is a minor fix for the vrml plugin when building with Visual Studio 2010. 2010 has updated STL/TR1 libraries that create a naming conflict with the current source. The fix is to remove the 'using boost::next' line and use the fully-qualified boost::next to get rid of the ambiguity. Here is the patch and attached changes." -2007-06-20 11:59 robert +Tue, 2 Nov 2010 12:15:18 +0000 +Checked in by : Robert OSFIELD +From Brad Christiansen and Robert Osfield, "I have added the new function as suggested. The change was made against trunk from an hour or so ago. I haven't tested the performance yet (and probably won't get a chance till next week) but I have checked my terrains still work. I defaulted the equalization to off as I thought this was best until we can look into why there is the performance hit. ", note from Robert, tweaked the names and enabled the code path. - * include/osgViewer/api/X11/PixelBufferX11, - src/osgViewer/PixelBufferX11.cpp: Completed implementation of - PixelBufferX11. +Tue, 2 Nov 2010 11:44:20 +0000 +Checked in by : Robert OSFIELD +From Mikhail Izmestev, "There is bug in GLBufferObject::compileBuffer when changed not first buffer entry, then generated new wrong offset. " -2007-06-19 17:12 robert +Tue, 2 Nov 2010 11:27:38 +0000 +Checked in by : Robert OSFIELD +Fixed function name - * include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/X11/GraphicsWindowX11, - include/osgViewer/api/X11/PixelBufferX11, - src/osgViewer/CMakeLists.txt, - src/osgViewer/GraphicsWindowX11.cpp, - src/osgViewer/PixelBufferX11.cpp: Added beginnings of - osgViewer::PixelBufferX11 +Tue, 2 Nov 2010 11:19:17 +0000 +Checked in by : Robert OSFIELD +From Javier Taibo, " In current SVN code, when exporting an osgParticle::Particle object to the .osg file format, it crashes if no drawable was set in the particle. In the attached file (src/osgWrappers/deprecated-dotosg/osgParticle/IO_Particle.cpp) I have added a check for the existence of the drawable before writing it to the file. +" -2007-06-19 16:19 robert - * examples/osgprerender/osgprerender.cpp: Added passing of - arguments into constructor. -2007-06-19 09:16 robert +Mon, 1 Nov 2010 17:19:39 +0000 +Checked in by : Robert OSFIELD +From John Ivar Haugland & Robert Osfield, fix for bug in VisualStudio where it adds an redundent '/n' on the end of the command line arguments for no reason. - * examples/osgterrain/osgterrain.cpp: Removed OSGVIEWER_EXPORT +Mon, 1 Nov 2010 17:05:53 +0000 +Checked in by : Robert OSFIELD +From Alexander Irion, "When a osg::Geometry node is loaded from a ".osgb" file, there is no element buffer object created for the primitives element indices, although _useVertexBufferObjects is enabled. This bug decreases the rendering performance." -2007-06-18 12:10 robert +Mon, 1 Nov 2010 17:02:48 +0000 +Checked in by : Robert OSFIELD +From Sukender, fix for incorrect for loop test. - * examples/osgterrain/osgterrain.cpp, - include/osgTerrain/GeometryTechnique, - src/osgTerrain/GeometryTechnique.cpp: Added use of GLSL filters +Mon, 1 Nov 2010 13:57:44 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, "attaching Matrix_implementation fix for two problems:- using m.getPerspective( fovy, tmp, tmp, tmp ) to get only FOV does not work. +The reason is that getPerspective is taking tmp as reference - thus all the three variables points to the same memory location. Then, zNear (third parameter) is used inside the method, while zNear content was spoiled by zFar that was written to the same place, resulting in fovy set to nan. I consider that it is the right of programmers to use 3 times tmp as parameter and I fixed the code in the method. I have done the same for getFrustum and getLookAt. -2007-06-15 17:47 robert +- I fixed makeFrustum to accept infinite zFar. (Some graphics techniques like shadow volumes require placing zFar to infinity to avoid visual artifacts.)" - * Xcode/Packaging/OpenSceneGraph.pmproj, - Xcode/Packaging/Package.sh, - Xcode/Packaging/Packages/Examples.pmproj, - Xcode/Packaging/Packages/Frameworks.pmproj, - Xcode/Packaging/Packages/PlugIns.pmproj, - Xcode/Packaging/Resources/OSX_OSG_README.rtf, - Xcode/Packaging/Resources/welcome.rtf: From Martin Lavery, - Updates to Packages +Note from Robert Osfield, change the local near & far variable names to temp_near and temp_far MS Visual Studio has a record of using near and far names. -2007-06-15 16:17 robert - * NEWS.txt: Updated ChangeLog -2007-06-15 16:08 robert +Mon, 1 Nov 2010 11:06:12 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, osgDB functions to expand wildcards - required to aid windows consule usage as this doesn't not automatically expand * usage. - * include/osgSim/OpenFlightOptimizer, - src/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp: Fixed namespace +Mon, 1 Nov 2010 10:52:20 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay and Robert Osfield, cleaned up the way that unix/windows file separators are managed. -2007-06-15 14:57 robert +Mon, 1 Nov 2010 10:31:30 +0000 +Checked in by : Robert OSFIELD +From Mathias Goldau, "Added very brief documentation when to use the triangle mesh class. I generated the make doc_openscenegraph target to verify that this change does not break something. " - * src/osgShadow/ShadowMap.cpp: Added default values for ambientBias +Fri, 29 Oct 2010 15:18:34 +0000 +Checked in by : Robert OSFIELD +From Mikhail Izmestev, "I have discovered problem with draggers from osgManipulator in HUD.This problem caused because osgManipulator::Dragger uses matrices of top camera instead last +absolute Camera in NodePath. -2007-06-15 14:26 robert +I attached modified osgManipulator/Dragger.cpp file, where added code for finding last absolute +camera. With this changes draggers works in HUD. - * Xcode/Packaging/OpenSceneGraph.pmproj, - Xcode/Packaging/Resources/OSX_OSG_README.rtf, - Xcode/Packaging/Resources/welcome.rtf: From Martin Lavery, Update - to Packaging +Example for demonstrate this problem you can find in osg-users list [1]. -2007-06-15 14:02 robert +Mikhail. - * src/osgPlugins/ToPortToCmake.txt: Removed now redundent file +[1] http://thread.gmane.org/gmane.comp.graphics.openscenegraph.user/62636 +" -2007-06-15 13:43 robert - * examples/CMakeLists.txt: For Win32 added BUILD_MFC_EXAMPLE - option, default to OFF to try and avoid - issues with users without MFC installed. - --This line, and -2007-06-15 13:12 robert +Fri, 29 Oct 2010 09:56:09 +0000 +Checked in by : Robert OSFIELD +From Sherman Wilcox, "there's a bug in the cmake file for the tiff plugin. See attached. The problem was that the output files were not properly setting the debug/release libs due to this cmake bug. What occurred was the release lib was set in all configurations." - * src/osgSim/HeightAboveTerrain.cpp, src/osgSim/LineOfSight.cpp: - Fixed handling of cases when no matrix is attached to - intersections +Fri, 29 Oct 2010 09:35:54 +0000 +Checked in by : Robert OSFIELD -2007-06-15 12:59 robert - * NEWS.txt, include/osgShadow/ShadowMap, - src/osgShadow/ShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowMap.cpp: Added - ShadowMap::s/getAmbientBias, updated NEWS and wrappers +Fri, 29 Oct 2010 08:33:10 +0000 +Checked in by : Robert OSFIELD +Added X11_X11_LIB to LIB_EXTRA_LIBS when build X11 version of osgViewer to enable use of Mesa's GLES/EGL implementation -2007-06-15 12:48 robert +Fri, 29 Oct 2010 08:31:54 +0000 +Checked in by : Robert OSFIELD +Fixed warning - * README.txt: Updated README. +Thu, 28 Oct 2010 15:52:52 +0000 +Checked in by : Robert OSFIELD +Commented out unused ElapsedTimer -2007-06-15 12:41 robert +Thu, 28 Oct 2010 14:04:57 +0000 +Checked in by : Robert OSFIELD +Added use ObjectWrapper's FinishObjectReadCallback to fix VertexBufferObject handling in osg::Geometry and a call to the TileLoaded callback in osgTerrain. - * src/osg/Version.cpp: Changed the version format. +Thu, 28 Oct 2010 14:04:07 +0000 +Checked in by : Robert OSFIELD +Added FinishedObjectReadCallback to ObjectWrapper which allows wrappers to register their own handling of post processing of objects once they have been read. -2007-06-15 10:15 robert +Thu, 28 Oct 2010 14:01:47 +0000 +Checked in by : Robert OSFIELD +Added handling of vertex buffer objects into osg::Geometry copy constructor. - * CMakeLists.txt, include/osg/Version: Updated version numbers for - 2.0 release +Thu, 28 Oct 2010 14:01:10 +0000 +Checked in by : Robert OSFIELD +Improved code style consistency -2007-06-15 10:12 robert +Thu, 28 Oct 2010 14:00:25 +0000 +Checked in by : Robert OSFIELD +Quitened down debug messages - * src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: Added handling of when mouse - delta is too high, indicating a inconsitency in the - the events. These changes prevent irratic high speed spinning - when releasing the - mouse point in a different screen from when the mouse event - started. +Wed, 27 Oct 2010 13:49:16 +0000 +Checked in by : Robert OSFIELD +Fixed getEnableDepthWrites() naming. -2007-06-15 09:29 robert +Tue, 26 Oct 2010 14:59:12 +0000 +Checked in by : Robert OSFIELD +Added command line options:--tristripper +--no-tristripper +--smoother +--no-smoother - * src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: Fixed null pointer derefence - bug +--remove-duplicate-vertices / --rdv +--optimize-vertex-cache / --ovc +--optimize-vertex-order / --ovo -2007-06-15 08:36 robert - * include/osgUtil/SceneView, src/osgWrappers/osgUtil/SceneView.cpp: - Addded missing namespace -2007-06-14 22:22 robert - * Xcode/Packaging/OpenSceneGraph.pmproj: From Martin Lavery, - Packaging Update +Mon, 25 Oct 2010 13:42:01 +0000 +Checked in by : Robert OSFIELD +Added number of primitive sets to on screen stats -2007-06-14 21:03 robert +Sat, 23 Oct 2010 09:51:11 +0000 +Checked in by : Robert OSFIELD +Added -o postfile option to allow the output of processed filesDisabled tri-stripping when simplifing to fix performance issue that introduces. - * include/osgSim/OverlayNode: Updated wrappers -2007-06-14 20:58 robert - * src/osgSim/OverlayNode.cpp: Included shaders directly into - source, added support for toggle lighting on/off +Fri, 22 Oct 2010 16:44:52 +0000 +Checked in by : Robert OSFIELD +Added StateSetManipulator usage -2007-06-14 20:49 robert +Fri, 22 Oct 2010 16:35:28 +0000 +Checked in by : Robert OSFIELD +Added support for enable VBO's and doing simplification. - * Xcode/Packaging/Packages/Applications.pmproj, - Xcode/Packaging/Packages/Applictions.pmproj: From Martin Lavery, - Packaging Updates +Fri, 22 Oct 2010 12:28:50 +0000 +Checked in by : Robert OSFIELD +Cleaned up main loop, so it's more readable, seperating out the paging and non paging implementations -2007-06-14 20:48 robert +Fri, 22 Oct 2010 12:19:22 +0000 +Checked in by : Robert OSFIELD +Added paging support to osganalysis example - * Xcode/Packaging/OpenSceneGraph.pmproj: From Martin Lavery, - Packaging Updates +Thu, 21 Oct 2010 16:29:23 +0000 +Checked in by : Robert OSFIELD +Integrated IncementalCompileOperation into DatabasePager.Improved various facilities in IncrementalCompileOperation. -2007-06-14 20:22 robert - * Xcode/OpenSceneGraph/install.sh: From Martin Lavery, Install - script for the Xcode build -2007-06-14 19:17 robert +Thu, 21 Oct 2010 16:28:23 +0000 +Checked in by : Robert OSFIELD +Added new osganalysis example as a testbed for profiling peformance of various aspects of OSG/OpenGL and scene graphs. - * include/osgViewer/GraphicsWindow, - src/osgWrappers/osgViewer/GraphicsWindow.cpp: Fixed typo +Thu, 14 Oct 2010 18:16:03 +0000 +Checked in by : Robert OSFIELD +Introduction of IncrementalCompileOperation support to DatabasePager. -2007-06-14 16:09 robert +Thu, 14 Oct 2010 13:35:36 +0000 +Checked in by : Robert OSFIELD +Introduced SubloadCallback::generatdTextureObject() method. - * Xcode/Packaging/Packages/Applictions.pmproj, - Xcode/Packaging/Packages/Examples.pmproj, - Xcode/Packaging/Packages/Frameworks.pmproj, - Xcode/Packaging/Packages/PlugIns.pmproj: From Martin Lavery, Fix - to packaging +Thu, 14 Oct 2010 12:20:51 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, warning fix. -2007-06-14 15:51 robert +Thu, 14 Oct 2010 11:10:16 +0000 +Checked in by : Robert OSFIELD +From Brad Christiansen, fix function entry points under Windows to address crash - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/Packaging, Xcode/Packaging/Binary, - Xcode/Packaging/Binary/Applications, - Xcode/Packaging/Binary/Examples, - Xcode/Packaging/Binary/Frameworks, - Xcode/Packaging/Binary/Plugins, - Xcode/Packaging/OpenSceneGraph.pmproj, - Xcode/Packaging/Package.sh, Xcode/Packaging/Packages, - Xcode/Packaging/Packages/Applictions.pmproj, - Xcode/Packaging/Packages/Examples.pmproj, - Xcode/Packaging/Packages/Frameworks.pmproj, - Xcode/Packaging/Packages/PlugIns.pmproj, - Xcode/Packaging/Resources, Xcode/Packaging/Resources/LICENSE.txt, - Xcode/Packaging/Resources/instlogo.pdf: From Martin Lavery, - addition of Packaging directory +Thu, 14 Oct 2010 09:31:09 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, QT based OpenThreads implementation -2007-06-13 21:15 robert +Wed, 13 Oct 2010 15:03:02 +0000 +Checked in by : Robert OSFIELD +Added support for using a custom osg::Geometry that attempts to force the OpenGL driver to download the texture object to graphics card.Calling IncrementalCompileOperation::assignForceTextureDownloadGeometry() assigns a geometry +to the job. - * AUTHORS.txt, ChangeLog, README.txt, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrapers, changelog, README and AUTHORS files for 1.9.9 release -2007-06-13 21:00 robert - * CMakeLists.txt, include/osg/Version, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers and Version numbers for 1.9.9 release -2007-06-13 20:56 robert +Sat, 9 Oct 2010 11:51:24 +0000 +Checked in by : Robert OSFIELD +Changed the _ARB cube map defines to non ARB versions. - * README.txt: From Paul Mellis, "Here's an updated README.txt with - a few spelling and grammer mistakes - fixed. I changed the wording slightly here and there. - Hope you don't mind me fiddling with this one... - - " +Sat, 9 Oct 2010 11:27:45 +0000 +Checked in by : Robert OSFIELD +Removed redudent set up of GL_ cubemap defines as these are now also in include/osg/Texture -2007-06-13 20:52 robert +Fri, 8 Oct 2010 18:53:16 +0000 +Checked in by : Robert OSFIELD +Tempory fix for regression due to remove of glPushAttrib/glPopAttrib - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/ViewerEventHandlers.cpp: Added ability to set the - keyboard bindings in the RecordaAnimationPathHandler +Fri, 8 Oct 2010 18:13:10 +0000 +Checked in by : Robert OSFIELD +Disabled the build of Qt examples when building against GLES1 & 2 as Qt GL includes OpenGL headers itself that cause conflict. -2007-06-13 20:34 robert +Fri, 8 Oct 2010 17:13:59 +0000 +Checked in by : Robert OSFIELD +Build fixes for GLES1, GLES2 and GL3 - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/ViewerEventHandlers.cpp: From Jeremy Moles & Robert - Osfield, Added support for playback of animation paths using 'Z' - key +Fri, 8 Oct 2010 11:20:56 +0000 +Checked in by : Robert OSFIELD +Refactored the Texture3D extension setup in osg::Texture3D and gluBuild3DMipmaps and gluBuild3DMipmapLevels. -2007-06-13 19:54 robert +Thu, 7 Oct 2010 11:53:28 +0000 +Checked in by : Robert OSFIELD +Introduced osg namespace to new local GLU functions - * include/osg/AnimationPath: Added clear() +Thu, 7 Oct 2010 10:51:22 +0000 +Checked in by : Robert OSFIELD +Introduced new gluScaleImage function that uses a PixelStorageModes structure to pass in details on image packing, rather than relying upon glGet's to get the values. -2007-06-13 19:53 robert +Wed, 6 Oct 2010 19:09:48 +0000 +Checked in by : Robert OSFIELD +Added #define GL_PROXY_TEXTURE_3D - * include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: Added new - shader support +Wed, 6 Oct 2010 18:51:53 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2007-06-13 19:44 robert +Wed, 6 Oct 2010 18:37:43 +0000 +Checked in by : Robert OSFIELD +Changed tabs to 8 spaces - * src/osgPlugins/jp2/CMakeLists.txt: From John Shue, fixed typo in - CMakeLists.txt +Wed, 6 Oct 2010 18:34:36 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay and Robert Osfield, build fix for Windows -2007-06-13 15:32 robert +Wed, 6 Oct 2010 18:29:23 +0000 +Checked in by : Robert OSFIELD +Added #define for Windows build - * examples/osgsimulation/osgsimulation.cpp: Added passing of - arugments into viewer constructor +Wed, 6 Oct 2010 17:19:01 +0000 +Checked in by : Robert OSFIELD +Added #define GLAPIENTRY to attempt to resolve some Windows build issues -2007-06-13 14:42 robert +Wed, 6 Oct 2010 16:36:30 +0000 +Checked in by : Robert OSFIELD +Added #define's and local include to fix Windows GL 1.1 build against - * CMakeLists.txt: Removed SunOS hack as it didn't work.. +Wed, 6 Oct 2010 16:29:16 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebasien Guay, fix windows compile error -2007-06-13 14:05 robert +Wed, 6 Oct 2010 15:33:43 +0000 +Checked in by : Robert OSFIELD +Removed gluois.h reference - * src/osgSim/OverlayNode.cpp: Wired up new shaders +Wed, 6 Oct 2010 15:14:01 +0000 +Checked in by : Robert OSFIELD +Removed usage gluos.h and redundent gluint.h -2007-06-13 13:41 robert +Wed, 6 Oct 2010 14:44:52 +0000 +Checked in by : Robert OSFIELD +Copied libutil and libtess implementations in form Mesa 7.9/src/glu into the src/osg/glu, changed extensions from .c to .cpp and got compiling as C files as part of the osg core library.Updated and cleaned up the rest of the OSG to use the new internal GLU. - * include/osg/CoordinateSystemNode, - src/osg/CoordinateSystemNode.cpp: Added better handling of 0,0,0 - values -2007-06-13 11:09 robert - * src/osgViewer/Viewer.cpp: Added OSG_SCREEN and OSG_WINDOW env var - checking in the Viewer::realize() +Mon, 4 Oct 2010 15:23:19 +0000 +Checked in by : Robert OSFIELD +Improved the handling of matrices in serialization so that it's more reliable, change was to use doubles for reading and writing matrices regardless of type of Matrix being serialized.Change does break backwards compatibility though, so code +path supporting original format has been left in for the +time being. However, this code is not reliable enough and +is over complicated compared to the simplified handling. Once +the new code has been bedded down for a while I'll remove this code block. -2007-06-13 10:45 robert - * src/osgWrappers/osgViewer/View.cpp: Updated wrappers -2007-06-13 10:38 robert - * applications/osgviewer/osgviewer.cpp, include/osgViewer/View, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Added - osgViewer::View::setUpViewInWindow(...) method and command line - option into - osgViewer::Viewer to allow you to specify the window dimentions - and screen for - the window on startup. +Mon, 4 Oct 2010 11:29:39 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "just a follow-up: I looked at the code of osg/Referenced.cpp and notice a discrepancy in getOrCreateObserverSet. For the atomic- and mutex-codepaths the newly created observerset gets manually ref'ed, but not in the codepath used when OPENTHREADS_ATOMIC_USE_MUTEX is defined. I added the manual ref and tadaaa, the crash went away." -2007-06-13 10:31 robert +Mon, 4 Oct 2010 11:24:54 +0000 +Checked in by : Robert OSFIELD +Added glMultMatrixf path for GLES1 - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Martin Lavery, osgShadow plugin added to Xcode project. +Mon, 4 Oct 2010 11:19:41 +0000 +Checked in by : Robert OSFIELD +Added checks for NULL images to prevent crashes when no valid images are created -2007-06-13 10:12 robert +Fri, 1 Oct 2010 18:02:24 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski, "As promised I prepared a patch to expose WGL_SWAP_METHOD / PFD_SWAP_METHOD selection via GraphicsContext::Traits. Since Traits don't define any enums (I guess to be simple to use) I tried to keep it that way and have added two boolean values: swapCopy & swapExchange. It is somewhat similar approach to GDI PixelFormatDescription were both options can be present together. Feel free to replace it with enum if you find it more appropriate.I also uderstand that there is a need to select system wide default method and have also modified DisplaySettings to contain swapMethod parameter. Swap method in Traits uses value set in DisplaySettings as default. Proper environment and command line args were added. Its possible to define default DeisplaySettings swap method in standard way via system flags or with comand line. - * src/osgGA/CMakeLists.txt: Fixed versioning +Env Vars: + OSG_SWAP_METHOD = DEFAULT | COPY | EXCHANGE +or Command Line: + --swap-method DEFAULT | COPY | EXCHANGE -2007-06-13 09:56 robert +I also added handling of WM_ERASEBKGND in GraphicsWindowWin32. It may be unneccessary but code should be safer this way than without handling it. I have placed a comment explaining the reason above the change. - * examples/osgshadow/osgshadow.cpp, - include/osgShadow/ParallelSplitShadowMap, - src/osgPlugins/osgShadow/CMakeLists.txt, - src/osgPlugins/osgShadow/ParallelSplitShadowMap.cpp, - src/osgPlugins/osgShadow/ReaderWriterOsgShadow.cpp, - src/osgShadow/CMakeLists.txt, - src/osgShadow/ParallelSplitShadowMap.cpp, - src/osgShadow/ShadowMap.cpp, src/osgShadow/ShadowTexture.cpp, - src/osgShadow/ShadowVolume.cpp, - src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp: Removed - ParallelSplitShadowMap as its currently a non op. +Changes were made against today trunk. -2007-06-13 08:56 robert +PS. I tested only Windows code. I briefly checked X11 & Cocoa files but have not noticed SwapMethod to be used there. +" - * CMakeLists.txt: Added -lrt in for SunOS build -2007-06-12 19:46 robert - * src/osgWrappers/osg/Image.cpp: Updated wrappers +Fri, 1 Oct 2010 17:07:27 +0000 +Checked in by : Robert OSFIELD -2007-06-12 18:58 robert - * examples/osgmovie/osgmovie.cpp: Added StatsHandler +Fri, 1 Oct 2010 15:58:49 +0000 +Checked in by : Robert OSFIELD +From Magnes Kessler, "Attached are some fixes for the environment variable help strings in DisplaySettings. They contain spelling fixes and an attempt to use consistent expressions throughout." -2007-06-12 18:56 robert +Fri, 1 Oct 2010 15:37:35 +0000 +Checked in by : Robert OSFIELD +From Wojciech Lewandowski,"These are our changes to DatabasePager. To check if parent PLOD is registered, I resurrected PagedLODList::containsPagedLOD() method. This method was available some time ago, but got removed and was not currently present in trunk. To add this method I had to also modify the DatabasePager header. " - * examples/osgmovie/osgmovie.cpp: Refactored the dome correction - code to support movie flipping. +Thu, 30 Sep 2010 16:57:02 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "After a closer look at this particular issue, I used some grep and sed magic to fix all occurrences of "macro's" and "paramter". " -2007-06-12 16:55 robert - - * examples/osgmovie/osgmovie.cpp, include/osg/Image, - src/osg/Image.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/xine/ReaderWriterXine.cpp: Added - Image::g/setOrigin to help movie plugins tell applications that - the imagery - is not the usual OpenGL BOTTOM_LEFT orientation, but with the - origin TOP_LEFT. This - allows geometry setup code to flip the t tex coord to render the - movie the correct way up. - -2007-06-12 15:57 robert - - * examples/osgviewerQT/osgviewerQT.cpp: Added in QT4 keyboard event - adaption - -2007-06-12 15:52 robert - - * src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp: UPdated wrappers - -2007-06-12 15:38 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, - "while porting my own code to the new osgViewer I discover more - and more - bugs in the Carbon-implementation of GraphicsWindow, so here's - another - fix for setWindowDecorationImplementation, now updates the - titlebar-height, and fixes some display-issues when switching the - decoration on/off. - " - -2007-06-12 15:32 robert - - * include/osg/GraphicsContext, include/osgViewer/GraphicsWindow, - include/osgViewer/api/Carbon/GraphicsWindowCarbon, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/X11/GraphicsWindowX11: Moved the className, - libraryName and isSameAs into public. - -2007-06-12 14:43 robert - - * src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.h: Changed _data to - _movieData to avoid possible confusion - -2007-06-12 14:20 robert - - * examples/osganimate/osganimate.cpp, - examples/osgautotransform/osgautotransform.cpp, - examples/osgbillboard/osgbillboard.cpp, - examples/osgblendequation/osgblendequation.cpp, - examples/osgcallback/osgcallback.cpp, - examples/osgcamera/osgcamera.cpp, examples/osgcatch/osgcatch.cpp, - examples/osgclip/osgclip.cpp, - examples/osgcluster/broadcaster.cpp, - examples/osgcluster/broadcaster.h, - examples/osgcluster/osgcluster.cpp, - examples/osgcluster/receiver.cpp, examples/osgcluster/receiver.h, - examples/osgcompositeviewer/osgcompositeviewer.cpp, - examples/osgcopy/osgcopy.cpp, examples/osgcubemap/osgcubemap.cpp, - examples/osgdelaunay/osgdelaunay.cpp, - examples/osgdepthpartition/DepthPartitionNode.cpp, - examples/osgdepthpartition/DepthPartitionNode.h, - examples/osgdepthpartition/DistanceAccumulator.cpp, - examples/osgdepthpartition/DistanceAccumulator.h, - examples/osgdepthpartition/osgdepthpartition.cpp, - examples/osgdepthshadow/osgdepthshadow.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgfadetext/osgfadetext.cpp, - examples/osgforest/osgforest.cpp, - examples/osgfxbrowser/Frame.cpp, examples/osgfxbrowser/Frame.h, - examples/osgfxbrowser/osgfxbrowser.cpp, - examples/osggeodemo/osggeodemo.cpp, - examples/osggeometry/osggeometry.cpp, - examples/osghangglide/GliderManipulator.cpp, - examples/osghangglide/GliderManipulator.h, - examples/osghangglide/base.cpp, examples/osghangglide/hat.cpp, - examples/osghangglide/hat.h, - examples/osghangglide/osghangglide.cpp, - examples/osghangglide/sky.cpp, examples/osghangglide/tank.cpp, - examples/osghangglide/terrain.cpp, - examples/osghangglide/terrain_coords.h, - examples/osghangglide/terrain_normals.h, - examples/osghangglide/terrain_texcoords.h, - examples/osghangglide/trees.cpp, examples/osghud/osghud.cpp, - examples/osgimpostor/TestManipulator.cpp, - examples/osgimpostor/TestManipulator.h, - examples/osgimpostor/osgimpostor.cpp, - examples/osgintersection/osgintersection.cpp, - examples/osgintrospection/osgintrospection.cpp, - examples/osgkeyboard/osgkeyboard.cpp, - examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - examples/osglauncher/osglauncher.cpp, - examples/osglight/osglight.cpp, - examples/osglightpoint/osglightpoint.cpp, - examples/osglogicop/osglogicop.cpp, examples/osglogo/osglogo.cpp, - examples/osgmanipulator/osgmanipulator.cpp, - examples/osgmotionblur/osgmotionblur.cpp, - examples/osgmovie/osgmovie.cpp, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgpagedlod/osgpagedlod.cpp, - examples/osgparametric/osgparametric.cpp, - examples/osgparticle/osgparticle.cpp, - examples/osgparticleeffects/osgparticleeffects.cpp, - examples/osgphotoalbum/ImageReaderWriter.cpp, - examples/osgphotoalbum/ImageReaderWriter.h, - examples/osgphotoalbum/PhotoArchive.cpp, - examples/osgphotoalbum/PhotoArchive.h, - examples/osgphotoalbum/osgphotoalbum.cpp, - examples/osgpick/osgpick.cpp, examples/osgplanets/osgplanets.cpp, - examples/osgpoints/osgpoints.cpp, - examples/osgpointsprite/osgpointsprite.cpp, - examples/osgprecipitation/osgprecipitation.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgprerendercubemap/osgprerendercubemap.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgscalarbar/osgscalarbar.cpp, - examples/osgscribe/osgscribe.cpp, - examples/osgsequence/osgsequence.cpp, - examples/osgshaders/GL2Scene.cpp, examples/osgshaders/GL2Scene.h, - examples/osgshaders/Noise.cpp, examples/osgshaders/Noise.h, - examples/osgshaders/osgshaders.cpp, - examples/osgshaderterrain/osgshaderterrain.cpp, - examples/osgshadow/osgshadow.cpp, - examples/osgshadowtexture/CreateShadowedScene.cpp, - examples/osgshadowtexture/CreateShadowedScene.h, - examples/osgshadowtexture/osgshadowtexture.cpp, - examples/osgshape/osgshape.cpp, - examples/osgsimplifier/osgsimplifier.cpp, - examples/osgsimulation/osgsimulation.cpp, - examples/osgslice/osgslice.cpp, - examples/osgspacewarp/osgspacewarp.cpp, - examples/osgspheresegment/osgspheresegment.cpp, - examples/osgspotlight/osgspotlight.cpp, - examples/osgstaticviewer/osgstaticviewer.cpp, - examples/osgstereoimage/osgstereoimage.cpp, - examples/osgteapot/osgteapot.cpp, - examples/osgterrain/osgterrain.cpp, - examples/osgtessellate/osgtessellate.cpp, - examples/osgtext/osgtext.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgtexture2D/osgtexture2D.cpp, - examples/osgtexture3D/osgtexture3D.cpp, - examples/osgtexturerectangle/osgtexturerectangle.cpp, - examples/osgunittests/UnitTestFramework.cpp, - examples/osgunittests/UnitTestFramework.h, - examples/osgunittests/UnitTests_osg.cpp, - examples/osgunittests/osgunittests.cpp, - examples/osgunittests/performance.cpp, - examples/osgunittests/performance.h, - examples/osgvertexprogram/osgvertexprogram.cpp, - examples/osgviewerCocoa/ViewerCocoa.h, - examples/osgviewerCocoa/ViewerCocoa.mm, - examples/osgviewerCocoa/main.m, - examples/osgviewerFLTK/osgviewerFLTK.cpp, - examples/osgviewerGLUT/osgviewerGLUT.cpp, - examples/osgviewerQT/osgviewerQT.cpp, - examples/osgviewerSDL/SDLMainForMacOSX.h, - examples/osgviewerSDL/SDLMainForMacOSX.m, - examples/osgviewerSDL/osgviewerSDL.cpp, - examples/osgvolume/osgvolume.cpp, - examples/osgwindows/osgwindows.cpp: From Martin Lavery and Robert - Osfield, Updated examples to use a variation of the MIT License - -2007-06-12 11:31 robert - - * Xcode/OpenSceneGraph/OpenSceneGraph-Data, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Martin Lavery, fix to Xcode Resources - -2007-06-12 10:37 robert - - * Xcode/OpenSceneGraph/OpenSceneGraph-Data, - Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Martin Lavery, Fix of OpenSceneGraph-Data linking - -2007-06-12 10:19 robert - - * examples/osgviewerQT/CMakeLists.txt, - examples/osgviewerQT/osgviewerQT.cpp: Build fixes for QT4 - -2007-06-12 09:55 robert - - * src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: Changed the throw dection - time to 0.02 - -2007-06-12 08:30 robert - - * src/osgSim/OverlayNode.cpp: Work in progress on perspective view - dependant codes - -2007-06-12 08:29 robert - - * examples/osgmovie/osgmovie.cpp: Added screen number, and flip - support into dome correction codes. - -2007-06-12 08:28 robert - - * src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, "the - computation of the windowtitlebar-height was wrong, attached - you'll - find a fixed version for GraphicsWindowCarbon.cpp - " - -2007-06-10 20:46 robert - - * examples/osgsimulation/osgsimulation.cpp: Added support for - specifying external overlay file. - -2007-06-10 20:12 robert - - * src/osgWrappers/osgViewer/GraphicsWindow.cpp: Updated wrappers - -2007-06-10 19:53 robert - - * include/osgViewer/GraphicsWindow, - include/osgViewer/api/Carbon/GraphicsWindowCarbon, - include/osgViewer/api/Win32/GraphicsWindowWin32, - include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowCarbon.cpp, - src/osgViewer/GraphicsWindowWin32.cpp, - src/osgViewer/GraphicsWindowX11.cpp: From Stephan Huber and - Robert Osfield, - - Stephan: "attached you'll find some modifications to the - GraphicsWindow-class and - their platform-dependant implementations. - - The problem: - setWindowRectangle and setWindowDecoration do not update the - traits-object, so, if you call setWindowRectangle on a - not-realized-window it will open with another size when realized - later. - getWindowRectangle reports possible wrong sizes if - setWindowRectangle - called before. - - My solution: - split the implementation in two parts: - GraphicsWindow::setWindowRectangle will update its traits-object - and - call afterwards the virtual method - setWindowRectangleImplementation - (which is implemented by the derived platformspecific classess). - For - setWindowDecoration I am useing a similar mechanism. - - I hope you'll find the submission useful, the Win32 and X11 - changes are - not tested but should work." - - Changes to this made by Robert are call of resized in - setWindowRectangle - instead of setting of Traits, and use of a bool return type. - -2007-06-10 19:22 robert - - * src/osg/Image.cpp: From Vladimir Shabanov, - "osg::Image::isImageTranslucent() now handles - GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_1_5_5_5_REV, - GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_4_4_4_4_REV, - GL_UNSIGNED_INT_10_10_10_2, GL_UNSIGNED_INT_2_10_10_10_REV and - GL_HALF_FLOAT_NV pixel formats." - -2007-06-10 19:18 robert - - * src/osgPlugins/dds/ReaderWriterDDS.cpp: From Vladimir Shabanov, - "DDS plugin now works with these formats: - R3G3B2, R5G6B5, A1R5G5B5, X1R5G5B5, A4R4G4B4, X4R4G4B4, R8G8B8 - (now - without swaping of red and blue), A8R8G8B8 (also w/o swapping), - X8R8G8B8, A8B8G8R8, X8B8G8R8, A2R10G10B10, A2B10G10R10, L4A4 (not - work - on my machine), L16A16, L16, A16B16G16R16, A16B16G16R16F, - Q16W16V16U16, R32F, R16F and A32B32G32R32F. - - And these ones are correctly detected, but prints "unsupported" - using - osg::notify(osg::WARN) and are not loaded: - A8R3G3B2, G16R16, G16R16F, G32R32F and CxV8U8. - - Also added checking of not supported DDPF_BUMPDUDV (V8U8, V16U16, - Q8W8U8L8, A2W10U10V10 etc.) and DDPF_BUMPLUMINANCE (L6V5U5, - X8L8V8U8, - etc.) pixel formats. - - Mipmap handling is slightly modified and now support all - additional formats. - " - -2007-06-10 18:17 robert - - * CMakeModules/Find3rdPartyDependencies.cmake: From Olaf Flebbe, - "support current zlib and libpng library names for win32 3rdParty - builds." - -2007-06-10 09:51 robert - - * examples/osgcamera/osgcamera.cpp, - examples/osgstaticviewer/CMakeLists.txt, - examples/osgstaticviewer/osgstaticviewer.cpp, - include/osgDB/Registry, include/osgViewer/GraphicsWindow, - src/osgPlugins/freetype/ReaderWriterFreeType.cpp: Improved the - set up of static build, added freetype plugin to plugins that - support static usage - -2007-06-09 19:18 robert - - * examples/osgcamera/osgcamera.cpp: Added default file in case no - file arguments are provided. Changed to use - standard ThreadingHandler by default. - -2007-06-09 17:58 robert - - * src/osgGA/NodeTrackerManipulator.cpp, - src/osgGA/TrackballManipulator.cpp: Improved the detection of - throwing of the mouse. - -2007-06-09 10:18 robert - - * src/osgWrappers/osg/Camera.cpp: Updated wrappers - -2007-06-09 10:07 robert - - * runexamples.bat: Removed the command line parameters form the - examples that now have a default - file built into them. - -2007-06-09 10:06 robert - - * include/osg/Camera, src/osg/Camera.cpp, src/osg/View.cpp, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Added DisplaySettings to osg::Camera, - and support into osg::View for initializing - the Camera to the DisplaySettings ScreenWidth/Height/Distance. - Added support - for dual screen horizontal split stereo. - -2007-06-08 20:11 robert - - * src/osgPlugins/freetype/FreeTypeLibrary.cpp: Added debug code - path that prints out font details. - -2007-06-08 16:47 robert - - * examples/osgviewerCocoa/English.lproj/MainMenu.nib, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/classes.nib, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/info.nib, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/keyedobjects.nib: - From Eric Wing, interface files - -2007-06-08 16:05 robert - - * include/osgViewer/api/Fox: Removed empty directory - -2007-06-08 16:05 robert - - * include/osgViewer/api/FLTK, include/osgViewer/api/GLUT, - include/osgViewer/api/Motif, include/osgViewer/api/Qt, - include/osgViewer/api/SDL, include/osgViewer/api/WxWidgets: - Removed empty directory - -2007-06-08 15:37 robert - - * examples/osgdistortion/osgdistortion.cpp, - examples/osghud/osghud.cpp, examples/osglight/osglight.cpp, - examples/osglogicop/osglogicop.cpp, - examples/osgmotionblur/osgmotionblur.cpp, - examples/osgmultitexture/osgmultitexture.cpp, - examples/osgoccluder/osgoccluder.cpp, - examples/osgpick/osgpick.cpp, - examples/osgprerender/osgprerender.cpp, - examples/osgreflect/osgreflect.cpp, - examples/osgscribe/osgscribe.cpp, - examples/osgsimplifier/osgsimplifier.cpp, - examples/osgtexture1D/osgtexture1D.cpp, - examples/osgwindows/osgwindows.cpp: From Martin Lavery and Robert - Osfield, added fallbacks for when now command line args are - provided. - -2007-06-08 15:29 robert - - * examples/osgstereoimage/osgstereoimage.cpp: Added fallback for - when no command line args are provied. - -2007-06-08 15:11 robert - - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp: Added default - file when no command line options are supplied. - -2007-06-08 15:06 robert - - * examples/osgsequence/osgsequence.cpp: Added fallback for when no - command line args are passed in. - -2007-06-08 15:03 robert - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Martin Lavery, Linking of example Data files for the Xcode - Projects - -2007-06-08 12:16 robert - - * runexamples.bat: Removed command line args for examples ported - across to not need them. - -2007-06-08 12:15 robert - - * examples/osgfxbrowser/osgfxbrowser.cpp: Added default command - line arg - -2007-06-08 12:13 robert - - * examples/osgblendequation/osgblendequation.cpp, - examples/osgcallback/osgcallback.cpp, - examples/osgclip/osgclip.cpp, examples/osgcubemap/osgcubemap.cpp, - examples/osgdistortion/osgdistortion.cpp: Added default file load - to avoid the need for command line option. - -2007-06-08 11:04 robert - - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, - "attached you'll find a new GraphicsWindowCarbon-header and .cpp, - the - changes I made: - - + put a warning in the console if a nonexistant screen is - requested - + add getters for the aglcontext and pixelformat -- I need access - to - them in my own code. - " - -2007-06-08 10:58 robert - - * src/osgPlugins/OpenFlight/PrimaryRecords.cpp: From Jason Daly, - "We have a few OpenFlight files that used to display properly - with the - old loader, but appear very, very wrong with the new one. I - traced the - problem to the handling of the palette override flags in the - external - reference records. The current behavior for handling the palette - override flags for external references has different offsets for - different OpenFlight version (2 bytes for 14.2-15.1 and 4 bytes - for 15.2 - and later). However, I believe this behavior is incorrect. - - I know that the original 14.2 OpenFlight spec (dated April 1995) - specifies 2 bytes between the filename and the override flags, - and the - 15.4 and later specs specify 4 bytes. However, I also found a - 14.2.4 - OpenFlight spec (dated January 1996) that changes the - specification to 4 - bytes. Also, the databases in question were created using an old - IRIX - version of MultiGen II, which wrote OpenFlight 14.2 files - natively. - These files also have 4 bytes between the filename and flags. - Furthermore, these databases have always worked properly under - earlier - versions of OSG, under Performer, and in every MultiGen product - we've used. - - This leads me to believe that the original 14.2 spec was - incorrect (the - 14.2.4 spec corrected this error), and there should be 4 bytes - between - the filename and flags for all OpenFlight files version 14.2 and - later. - - The attached fix modifies the OpenFlight loader to behave in this - way." - -2007-06-08 10:43 robert - - * examples/osgviewerCocoa/English.lproj/InfoPlist.strings: From - Eric Wing, build fix - -2007-06-08 10:43 robert - - * examples/osgviewerCocoa/English.lproj/Localizable.strings: From - Eric Wing, build fix - -2007-06-08 10:42 robert - - * src/osgWrappers/OpenThreads/Barrier.cpp, - src/osgWrappers/OpenThreads/Block.cpp, - src/osgWrappers/OpenThreads/Condition.cpp, - src/osgWrappers/OpenThreads/Mutex.cpp, - src/osgWrappers/OpenThreads/ReadWriteMutex.cpp, - src/osgWrappers/OpenThreads/ReentrantMutex.cpp, - src/osgWrappers/OpenThreads/Thread.cpp, - src/osgWrappers/osg/AlphaFunc.cpp, - src/osgWrappers/osg/AnimationPath.cpp, - src/osgWrappers/osg/ApplicationUsage.cpp, - src/osgWrappers/osg/ArgumentParser.cpp, - src/osgWrappers/osg/Array.cpp, - src/osgWrappers/osg/AutoTransform.cpp, - src/osgWrappers/osg/Billboard.cpp, - src/osgWrappers/osg/BlendColor.cpp, - src/osgWrappers/osg/BlendEquation.cpp, - src/osgWrappers/osg/BlendFunc.cpp, - src/osgWrappers/osg/BoundingBox.cpp, - src/osgWrappers/osg/BoundingSphere.cpp, - src/osgWrappers/osg/BufferObject.cpp, - src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/CameraView.cpp, - src/osgWrappers/osg/ClampColor.cpp, - src/osgWrappers/osg/ClearNode.cpp, - src/osgWrappers/osg/ClipNode.cpp, - src/osgWrappers/osg/ClipPlane.cpp, - src/osgWrappers/osg/ClusterCullingCallback.cpp, - src/osgWrappers/osg/CollectOccludersVisitor.cpp, - src/osgWrappers/osg/ColorMask.cpp, - src/osgWrappers/osg/ColorMatrix.cpp, - src/osgWrappers/osg/ComputeBoundsVisitor.cpp, - src/osgWrappers/osg/ConvexPlanarOccluder.cpp, - src/osgWrappers/osg/ConvexPlanarPolygon.cpp, - src/osgWrappers/osg/CoordinateSystemNode.cpp, - src/osgWrappers/osg/CopyOp.cpp, src/osgWrappers/osg/CullFace.cpp, - src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/CullStack.cpp, - src/osgWrappers/osg/CullingSet.cpp, - src/osgWrappers/osg/DeleteHandler.cpp, - src/osgWrappers/osg/Depth.cpp, - src/osgWrappers/osg/DisplaySettings.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, src/osgWrappers/osg/Endian.cpp, - src/osgWrappers/osg/Fog.cpp, - src/osgWrappers/osg/FragmentProgram.cpp, - src/osgWrappers/osg/FrameBufferObject.cpp, - src/osgWrappers/osg/FrameStamp.cpp, - src/osgWrappers/osg/FrontFace.cpp, - src/osgWrappers/osg/GL2Extensions.cpp, - src/osgWrappers/osg/Geode.cpp, src/osgWrappers/osg/Geometry.cpp, - src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osg/GraphicsThread.cpp, - src/osgWrappers/osg/Group.cpp, src/osgWrappers/osg/Hint.cpp, - src/osgWrappers/osg/Image.cpp, - src/osgWrappers/osg/ImageStream.cpp, src/osgWrappers/osg/LOD.cpp, - src/osgWrappers/osg/Light.cpp, - src/osgWrappers/osg/LightModel.cpp, - src/osgWrappers/osg/LightSource.cpp, - src/osgWrappers/osg/LineSegment.cpp, - src/osgWrappers/osg/LineStipple.cpp, - src/osgWrappers/osg/LineWidth.cpp, - src/osgWrappers/osg/LogicOp.cpp, - src/osgWrappers/osg/Material.cpp, - src/osgWrappers/osg/MatrixTransform.cpp, - src/osgWrappers/osg/Matrixd.cpp, src/osgWrappers/osg/Matrixf.cpp, - src/osgWrappers/osg/Multisample.cpp, - src/osgWrappers/osg/Node.cpp, - src/osgWrappers/osg/NodeCallback.cpp, - src/osgWrappers/osg/NodeTrackerCallback.cpp, - src/osgWrappers/osg/NodeVisitor.cpp, - src/osgWrappers/osg/Notify.cpp, src/osgWrappers/osg/Object.cpp, - src/osgWrappers/osg/OccluderNode.cpp, - src/osgWrappers/osg/PagedLOD.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Point.cpp, - src/osgWrappers/osg/PointSprite.cpp, - src/osgWrappers/osg/PolygonMode.cpp, - src/osgWrappers/osg/PolygonOffset.cpp, - src/osgWrappers/osg/PolygonStipple.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osg/PositionAttitudeTransform.cpp, - src/osgWrappers/osg/PrimitiveSet.cpp, - src/osgWrappers/osg/Program.cpp, - src/osgWrappers/osg/Projection.cpp, - src/osgWrappers/osg/ProxyNode.cpp, src/osgWrappers/osg/Quat.cpp, - src/osgWrappers/osg/Referenced.cpp, - src/osgWrappers/osg/RenderInfo.cpp, - src/osgWrappers/osg/Scissor.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osg/ShadeModel.cpp, - src/osgWrappers/osg/Shader.cpp, - src/osgWrappers/osg/ShadowVolumeOccluder.cpp, - src/osgWrappers/osg/Shape.cpp, - src/osgWrappers/osg/ShapeDrawable.cpp, - src/osgWrappers/osg/State.cpp, - src/osgWrappers/osg/StateAttribute.cpp, - src/osgWrappers/osg/StateSet.cpp, src/osgWrappers/osg/Stats.cpp, - src/osgWrappers/osg/Stencil.cpp, - src/osgWrappers/osg/StencilTwoSided.cpp, - src/osgWrappers/osg/Switch.cpp, src/osgWrappers/osg/TexEnv.cpp, - src/osgWrappers/osg/TexEnvCombine.cpp, - src/osgWrappers/osg/TexEnvFilter.cpp, - src/osgWrappers/osg/TexGen.cpp, - src/osgWrappers/osg/TexGenNode.cpp, - src/osgWrappers/osg/TexMat.cpp, src/osgWrappers/osg/Texture.cpp, - src/osgWrappers/osg/Texture1D.cpp, - src/osgWrappers/osg/Texture2D.cpp, - src/osgWrappers/osg/Texture3D.cpp, - src/osgWrappers/osg/TextureCubeMap.cpp, - src/osgWrappers/osg/TextureRectangle.cpp, - src/osgWrappers/osg/Timer.cpp, - src/osgWrappers/osg/TransferFunction.cpp, - src/osgWrappers/osg/Transform.cpp, - src/osgWrappers/osg/Uniform.cpp, src/osgWrappers/osg/Vec2b.cpp, - src/osgWrappers/osg/Vec2d.cpp, src/osgWrappers/osg/Vec2f.cpp, - src/osgWrappers/osg/Vec2s.cpp, src/osgWrappers/osg/Vec3b.cpp, - src/osgWrappers/osg/Vec3d.cpp, src/osgWrappers/osg/Vec3f.cpp, - src/osgWrappers/osg/Vec3s.cpp, src/osgWrappers/osg/Vec4b.cpp, - src/osgWrappers/osg/Vec4d.cpp, src/osgWrappers/osg/Vec4f.cpp, - src/osgWrappers/osg/Vec4s.cpp, src/osgWrappers/osg/Vec4ub.cpp, - src/osgWrappers/osg/VertexProgram.cpp, - src/osgWrappers/osg/View.cpp, src/osgWrappers/osg/Viewport.cpp, - src/osgWrappers/osg/observer_ptr.cpp, - src/osgWrappers/osgDB/Archive.cpp, - src/osgWrappers/osgDB/DatabasePager.cpp, - src/osgWrappers/osgDB/DotOsgWrapper.cpp, - src/osgWrappers/osgDB/DynamicLibrary.cpp, - src/osgWrappers/osgDB/Field.cpp, - src/osgWrappers/osgDB/FieldReader.cpp, - src/osgWrappers/osgDB/FieldReaderIterator.cpp, - src/osgWrappers/osgDB/FileUtils.cpp, - src/osgWrappers/osgDB/ImageOptions.cpp, - src/osgWrappers/osgDB/Input.cpp, - src/osgWrappers/osgDB/Output.cpp, - src/osgWrappers/osgDB/ParameterOutput.cpp, - src/osgWrappers/osgDB/ReaderWriter.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgDB/SharedStateManager.cpp, - src/osgWrappers/osgFX/AnisotropicLighting.cpp, - src/osgWrappers/osgFX/BumpMapping.cpp, - src/osgWrappers/osgFX/Cartoon.cpp, - src/osgWrappers/osgFX/Effect.cpp, - src/osgWrappers/osgFX/MultiTextureControl.cpp, - src/osgWrappers/osgFX/Registry.cpp, - src/osgWrappers/osgFX/Scribe.cpp, - src/osgWrappers/osgFX/SpecularHighlights.cpp, - src/osgWrappers/osgFX/Technique.cpp, - src/osgWrappers/osgFX/Validator.cpp, - src/osgWrappers/osgGA/AnimationPathManipulator.cpp, - src/osgWrappers/osgGA/DriveManipulator.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/EventVisitor.cpp, - src/osgWrappers/osgGA/FlightManipulator.cpp, - src/osgWrappers/osgGA/GUIActionAdapter.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgGA/GUIEventHandler.cpp, - src/osgWrappers/osgGA/KeySwitchMatrixManipulator.cpp, - src/osgWrappers/osgGA/MatrixManipulator.cpp, - src/osgWrappers/osgGA/NodeTrackerManipulator.cpp, - src/osgWrappers/osgGA/StateSetManipulator.cpp, - src/osgWrappers/osgGA/TerrainManipulator.cpp, - src/osgWrappers/osgGA/TrackballManipulator.cpp, - src/osgWrappers/osgGA/UFOManipulator.cpp, - src/osgWrappers/osgManipulator/AntiSquish.cpp, - src/osgWrappers/osgManipulator/Command.cpp, - src/osgWrappers/osgManipulator/CommandManager.cpp, - src/osgWrappers/osgManipulator/Constraint.cpp, - src/osgWrappers/osgManipulator/Dragger.cpp, - src/osgWrappers/osgManipulator/Projector.cpp, - src/osgWrappers/osgManipulator/RotateCylinderDragger.cpp, - src/osgWrappers/osgManipulator/RotateSphereDragger.cpp, - src/osgWrappers/osgManipulator/Scale1DDragger.cpp, - src/osgWrappers/osgManipulator/Scale2DDragger.cpp, - src/osgWrappers/osgManipulator/ScaleAxisDragger.cpp, - src/osgWrappers/osgManipulator/Selection.cpp, - src/osgWrappers/osgManipulator/TabBoxDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneDragger.cpp, - src/osgWrappers/osgManipulator/TabPlaneTrackballDragger.cpp, - src/osgWrappers/osgManipulator/TrackballDragger.cpp, - src/osgWrappers/osgManipulator/Translate1DDragger.cpp, - src/osgWrappers/osgManipulator/Translate2DDragger.cpp, - src/osgWrappers/osgManipulator/TranslateAxisDragger.cpp, - src/osgWrappers/osgManipulator/TranslatePlaneDragger.cpp, - src/osgWrappers/osgParticle/AccelOperator.cpp, - src/osgWrappers/osgParticle/AngularAccelOperator.cpp, - src/osgWrappers/osgParticle/BoxPlacer.cpp, - src/osgWrappers/osgParticle/CenteredPlacer.cpp, - src/osgWrappers/osgParticle/ConnectedParticleSystem.cpp, - src/osgWrappers/osgParticle/ConstantRateCounter.cpp, - src/osgWrappers/osgParticle/Counter.cpp, - src/osgWrappers/osgParticle/Emitter.cpp, - src/osgWrappers/osgParticle/ExplosionDebrisEffect.cpp, - src/osgWrappers/osgParticle/ExplosionEffect.cpp, - src/osgWrappers/osgParticle/FireEffect.cpp, - src/osgWrappers/osgParticle/FluidFrictionOperator.cpp, - src/osgWrappers/osgParticle/FluidProgram.cpp, - src/osgWrappers/osgParticle/ForceOperator.cpp, - src/osgWrappers/osgParticle/Interpolator.cpp, - src/osgWrappers/osgParticle/LinearInterpolator.cpp, - src/osgWrappers/osgParticle/ModularEmitter.cpp, - src/osgWrappers/osgParticle/ModularProgram.cpp, - src/osgWrappers/osgParticle/MultiSegmentPlacer.cpp, - src/osgWrappers/osgParticle/Operator.cpp, - src/osgWrappers/osgParticle/Particle.cpp, - src/osgWrappers/osgParticle/ParticleEffect.cpp, - src/osgWrappers/osgParticle/ParticleProcessor.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/ParticleSystemUpdater.cpp, - src/osgWrappers/osgParticle/Placer.cpp, - src/osgWrappers/osgParticle/PointPlacer.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgParticle/Program.cpp, - src/osgWrappers/osgParticle/RadialShooter.cpp, - src/osgWrappers/osgParticle/RandomRateCounter.cpp, - src/osgWrappers/osgParticle/SectorPlacer.cpp, - src/osgWrappers/osgParticle/SegmentPlacer.cpp, - src/osgWrappers/osgParticle/Shooter.cpp, - src/osgWrappers/osgParticle/SmokeEffect.cpp, - src/osgWrappers/osgParticle/SmokeTrailEffect.cpp, - src/osgWrappers/osgParticle/VariableRateCounter.cpp, - src/osgWrappers/osgParticle/range.cpp, - src/osgWrappers/osgShadow/OccluderGeometry.cpp, - src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowMap.cpp, - src/osgWrappers/osgShadow/ShadowTechnique.cpp, - src/osgWrappers/osgShadow/ShadowTexture.cpp, - src/osgWrappers/osgShadow/ShadowVolume.cpp, - src/osgWrappers/osgShadow/ShadowedScene.cpp, - src/osgWrappers/osgSim/BlinkSequence.cpp, - src/osgWrappers/osgSim/ColorRange.cpp, - src/osgWrappers/osgSim/DOFTransform.cpp, - src/osgWrappers/osgSim/ElevationSlice.cpp, - src/osgWrappers/osgSim/GeographicLocation.cpp, - src/osgWrappers/osgSim/HeightAboveTerrain.cpp, - src/osgWrappers/osgSim/Impostor.cpp, - src/osgWrappers/osgSim/ImpostorSprite.cpp, - src/osgWrappers/osgSim/InsertImpostorsVisitor.cpp, - src/osgWrappers/osgSim/LightPoint.cpp, - src/osgWrappers/osgSim/LightPointNode.cpp, - src/osgWrappers/osgSim/LightPointSystem.cpp, - src/osgWrappers/osgSim/LineOfSight.cpp, - src/osgWrappers/osgSim/MultiSwitch.cpp, - src/osgWrappers/osgSim/OpenFlightOptimizer.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgSim/ScalarBar.cpp, - src/osgWrappers/osgSim/ScalarsToColors.cpp, - src/osgWrappers/osgSim/Sector.cpp, - src/osgWrappers/osgSim/SphereSegment.cpp, - src/osgWrappers/osgSim/VisibilityGroup.cpp, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgTerrain/Locator.cpp, - src/osgWrappers/osgTerrain/TerrainNode.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp, - src/osgWrappers/osgTerrain/ValidDataOperator.cpp, - src/osgWrappers/osgText/FadeText.cpp, - src/osgWrappers/osgText/Font.cpp, - src/osgWrappers/osgText/String.cpp, - src/osgWrappers/osgText/Text.cpp, - src/osgWrappers/osgUtil/CubeMapGenerator.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp, - src/osgWrappers/osgUtil/DelaunayTriangulator.cpp, - src/osgWrappers/osgUtil/DisplayRequirementsVisitor.cpp, - src/osgWrappers/osgUtil/GLObjectsVisitor.cpp, - src/osgWrappers/osgUtil/HalfWayMapGenerator.cpp, - src/osgWrappers/osgUtil/HighlightMapGenerator.cpp, - src/osgWrappers/osgUtil/IntersectVisitor.cpp, - src/osgWrappers/osgUtil/IntersectionVisitor.cpp, - src/osgWrappers/osgUtil/LineSegmentIntersector.cpp, - src/osgWrappers/osgUtil/Optimizer.cpp, - src/osgWrappers/osgUtil/PlaneIntersector.cpp, - src/osgWrappers/osgUtil/PolytopeIntersector.cpp, - src/osgWrappers/osgUtil/PositionalStateContainer.cpp, - src/osgWrappers/osgUtil/ReflectionMapGenerator.cpp, - src/osgWrappers/osgUtil/RenderBin.cpp, - src/osgWrappers/osgUtil/RenderLeaf.cpp, - src/osgWrappers/osgUtil/RenderStage.cpp, - src/osgWrappers/osgUtil/SceneView.cpp, - src/osgWrappers/osgUtil/Simplifier.cpp, - src/osgWrappers/osgUtil/SmoothingVisitor.cpp, - src/osgWrappers/osgUtil/StateGraph.cpp, - src/osgWrappers/osgUtil/Statistics.cpp, - src/osgWrappers/osgUtil/TangentSpaceGenerator.cpp, - src/osgWrappers/osgUtil/Tessellator.cpp, - src/osgWrappers/osgUtil/TransformAttributeFunctor.cpp, - src/osgWrappers/osgUtil/TransformCallback.cpp, - src/osgWrappers/osgUtil/TriStripVisitor.cpp, - src/osgWrappers/osgUtil/UpdateVisitor.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/Scene.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2007-06-08 10:22 robert - - * src/osgPlugins/OpenFlight/PaletteRecords.cpp: From Jason Daly, - "This changes the handling of textures in the OpenFlight loader. - Currently, if the texture attribute file doesn't explicitly - specify an - internal format, the loader will force it to use GL_RGB, which - keeps - translucent textures (eg. GL_RGBA textures) from showing up - properly. - - This patch changes the default behavior to simply use the image's - format - instead of forcing a particular format." - -2007-06-08 10:16 robert - - * examples/osgviewerCocoa/ViewerCocoa.h, - examples/osgviewerCocoa/ViewerCocoa.mm: From Eric Wing, "So, - something strange happened to the repo and some of this project's - files got messed up, most notiably the Nib and also the Localized - strings file. I didn't notice the latter until now so Martin is - missing this file. - - Anyway, the attached tar contains all new versions of all the - necessary files. There are cleanups and fixes to a lot of things. - Martin did a good job porting the thing to osg::Viewer so most of - the - code changes I made address other areas. - - Two things I noticed in the new port you might want to consider - as - feedback. First, there might be a bug with osgViewer when the - view - size goes to 0. If you play with the splitviews in this program - and - shrink the view until it is closed, and then re-expand it, the - model - doesn't come back, not even after a home() call. SimpleViewer - didn't - have this problem. - - Second, a more minor thing, this program has a - take-screenshot--and-copy-to-clipboard feature via Cmd-C (or Menu - item). I achieve this by using osg::Camera to render to an FBO - and - then copy the contents to Cocoa. To insert the camera, I - manipulate - the scenegraph so I can get the camera node in and out. I end up - calling setSceneData at the end of eveything to restore - everything to - the original state before I started mucking with the scenegraph. - This - unfortunately, triggers a home() reset. So in this particular - case, it - make Copy look like it's changing the scene. The old SimpleViewer - had - the same problem, but I was able to work around it by directly - invoking the underlying SceneView's setSceneData so the home() - mechanism was bypassed. The viewer design seems to protect this - data - more carefully so the bypass trick won't work. My feedback is - that - maybe a flag or extra parameter can be introduced so a reset is - not - triggered if not desired. - - I have checked in a ton of Xcode fixes for the entire build - process in - general so once this piece gets checked in, hopefully everything - will - build cleanly." - -2007-06-08 10:11 robert - - * include/osgIntrospection/ReflectionMacros, - include/osgIntrospection/Reflector, - include/osgIntrospection/Type: From Mike Wittman, "This change to - genwrapper and osgIntrospection gives access to - the declaring file for a given type via the new member function - osgIntrospection::Type::getDeclaringFile. This information is - useful - in order to know what header to include when auto-generating - wrappers - for a given type. - - During the C# wrapper generator development I've been keeping the - declaring file configuration state up-to-date manually with - changes - to OSG, and it's proven to require substantial effort. So it - would be - extremely valuable to get this change in before 2.0 to reduce - maintenance - during the lifetime of the release. It'll also be equally useful - to - others looking to create wrapper generators using - osgIntrospection. - - This is a fairly simple change and was tested with a fresh - rebuild of the - entire suite of osgWrapper libraries, so it should be relatively - low risk - (fingers crossed)." - -2007-06-08 09:45 robert - - * examples/osgviewerGLUT/osgviewerGLUT.cpp: Added clean up of the - view before destruction of the window - -2007-06-08 09:17 robert - - * include/osgUtil/IntersectionVisitor: Added const get*Matrix() - methods - -2007-06-08 05:03 ewing - - * Xcode/OpenSceneGraph/os-Info.plist, - Xcode/OpenSceneGraph/osg-Info.plist, - Xcode/OpenSceneGraph/osgDB-Info.plist, - Xcode/OpenSceneGraph/osgFX-Info.plist, - Xcode/OpenSceneGraph/osgGA-Info.plist, - Xcode/OpenSceneGraph/osgGL2-Info.plist, - Xcode/OpenSceneGraph/osgGLUTkeyboardmouse-Info.plist, - Xcode/OpenSceneGraph/osgGLUTsimple-Info.plist, - Xcode/OpenSceneGraph/osgManipulator-Info.plist, - Xcode/OpenSceneGraph/osgParticle-Info.plist, - Xcode/OpenSceneGraph/osgShadow-Info.plist, - Xcode/OpenSceneGraph/osgSim-Info.plist, - Xcode/OpenSceneGraph/osgTerrain-Info.plist, - Xcode/OpenSceneGraph/osgText-Info.plist, - Xcode/OpenSceneGraph/osgUtil-Info.plist, - Xcode/OpenSceneGraph/osgViewer-Info.plist, - Xcode/OpenSceneGraph/osganimate-Info.plist, - Xcode/OpenSceneGraph/osgarchive-Info.plist, - Xcode/OpenSceneGraph/osgautotransform-Info.plist, - Xcode/OpenSceneGraph/osgbillboard-Info.plist, - Xcode/OpenSceneGraph/osgblendequation-Info.plist, - Xcode/OpenSceneGraph/osgcallback-Info.plist, - Xcode/OpenSceneGraph/osgcamera-Info.plist, - Xcode/OpenSceneGraph/osgcameragroup-Info.plist, - Xcode/OpenSceneGraph/osgcatch-Info.plist, - Xcode/OpenSceneGraph/osgclip-Info.plist, - Xcode/OpenSceneGraph/osgcluster-Info.plist, - Xcode/OpenSceneGraph/osgconv-Info.plist, - Xcode/OpenSceneGraph/osgcopy-Info.plist, - Xcode/OpenSceneGraph/osgcubemap-Info.plist, - Xcode/OpenSceneGraph/osgdb_freetype-Info.plist, - Xcode/OpenSceneGraph/osgdb_freetype2-Info.plist, - Xcode/OpenSceneGraph/osgdb_osgText-Info.plist, - Xcode/OpenSceneGraph/osgdelaunay-Info.plist, - Xcode/OpenSceneGraph/osgdepthpartition-Info.plist, - Xcode/OpenSceneGraph/osgdepthshadow-Info.plist, - Xcode/OpenSceneGraph/osgdistortion-Info.plist, - Xcode/OpenSceneGraph/osgfadetext-Info.plist, - Xcode/OpenSceneGraph/osgforest-Info.plist, - Xcode/OpenSceneGraph/osgfxbrowser-Info.plist, - Xcode/OpenSceneGraph/osggeometry-Info.plist, - Xcode/OpenSceneGraph/osghangglide-Info.plist, - Xcode/OpenSceneGraph/osghud-Info.plist, - Xcode/OpenSceneGraph/osgimposter-Info.plist, - Xcode/OpenSceneGraph/osgintrospection-Info.plist, - Xcode/OpenSceneGraph/osgkeyboard-Info.plist, - Xcode/OpenSceneGraph/osgkeyboardmouse-Info.plist, - Xcode/OpenSceneGraph/osglauncher-Info.plist, - Xcode/OpenSceneGraph/osglightpoint-Info.plist, - Xcode/OpenSceneGraph/osglist-Info.plist, - Xcode/OpenSceneGraph/osglogicop-Info.plist, - Xcode/OpenSceneGraph/osglogo-Info.plist, - Xcode/OpenSceneGraph/osgmanipulatorexample-Info.plist, - Xcode/OpenSceneGraph/osgmotionblur-Info.plist, - Xcode/OpenSceneGraph/osgmovie-Info.plist, - Xcode/OpenSceneGraph/osgmultitexture-Info.plist, - Xcode/OpenSceneGraph/osgocculder-Info.plist, - Xcode/OpenSceneGraph/osgpagedlod-Info.plist, - Xcode/OpenSceneGraph/osgparametric-Info.plist, - Xcode/OpenSceneGraph/osgparticleExample-Info.plist, - Xcode/OpenSceneGraph/osgparticleeffects-Info.plist, - Xcode/OpenSceneGraph/osgphotoalbum-Info.plist, - Xcode/OpenSceneGraph/osgpick-Info.plist, - Xcode/OpenSceneGraph/osgplanets-Info.plist, - Xcode/OpenSceneGraph/osgpoints-Info.plist, - Xcode/OpenSceneGraph/osgpointsprite-Info.plist, - Xcode/OpenSceneGraph/osgprecipitation-Info.plist, - Xcode/OpenSceneGraph/osgprerender-Info.plist, - Xcode/OpenSceneGraph/osgprerendercubemap-Info.plist, - Xcode/OpenSceneGraph/osgreflect-Info.plist, - Xcode/OpenSceneGraph/osgscalarbar-Info.plist, - Xcode/OpenSceneGraph/osgscribe-Info.plist, - Xcode/OpenSceneGraph/osgsequence-Info.plist, - Xcode/OpenSceneGraph/osgshaders-Info.plist, - Xcode/OpenSceneGraph/osgshaderterrain-Info.plist, - Xcode/OpenSceneGraph/osgshadowexample-Info.plist, - Xcode/OpenSceneGraph/osgshadowtexture-Info.plist, - Xcode/OpenSceneGraph/osgshape-Info.plist, - Xcode/OpenSceneGraph/osgsimplifier-Info.plist, - Xcode/OpenSceneGraph/osgsimulation-Info.plist, - Xcode/OpenSceneGraph/osgslice-Info.plist, - Xcode/OpenSceneGraph/osgslideshow-Info.plist, - Xcode/OpenSceneGraph/osgspacewarp-Info.plist, - Xcode/OpenSceneGraph/osgspheresegment-Info.plist, - Xcode/OpenSceneGraph/osgspotlight-Info.plist, - Xcode/OpenSceneGraph/osgstereoimage-Info.plist, - Xcode/OpenSceneGraph/osgteapot-Info.plist, - Xcode/OpenSceneGraph/osgtessellate-Info.plist, - Xcode/OpenSceneGraph/osgtextexample-Info.plist, - Xcode/OpenSceneGraph/osgtexture1D-Info.plist, - Xcode/OpenSceneGraph/osgtexture2D-Info.plist, - Xcode/OpenSceneGraph/osgtexture3D-Info.plist, - Xcode/OpenSceneGraph/osgtexturerectangle-Info.plist, - Xcode/OpenSceneGraph/osgunittests-Info.plist, - Xcode/OpenSceneGraph/osgversion-Info.plist, - Xcode/OpenSceneGraph/osgvertexprogram-Info.plist, - Xcode/OpenSceneGraph/osgviewerApplication-Info.plist, - Xcode/OpenSceneGraph/osgvolume-Info.plist, - Xcode/OpenSceneGraph/osgwindows-Info.plist: Changed the version - to 2.0.0 in the Info.plist in anticipation of the official - release. - I don't know what the OpenThreads version number will be, so that - has been left alone. - -2007-06-08 04:57 ewing - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/OpenThreads-Info.plist: Lots of various - fixes to Xcode project. - - - Adding missing header files and making sure they are marked - public. - - - Support to copy headers in Viewer/api into the proper location - in framework - - - Internalized OpenThreads build so cross-project dependency is - not needed. Can now delete copy of OpenThreads project. - Frameworks use native Xcode linking mechanism. Plugins/Examples - still use explicit -framework OpenThreads. Could potentially be - problem is old OpenThreads is on the system. This can be changed - to use native mechanism too, but requires some patience because - it is tedious to change. - - - Lots of fixes to osgViewerCocoa (something got messed up pretty - badly...files are missing from repo). Another submission will - need to readd these files back. - -2007-06-07 21:43 shuber - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - Stephan Huber: fixed deploy-build for osgViewer - -2007-06-07 21:07 robert - - * src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2007-06-07 20:26 robert - - * include/osgViewer/ViewerEventHandlers, - src/osgViewer/StatsHandler.cpp, src/osgViewer/Viewer.cpp: - Commented out the Scene Stats entry as its not implemented yet. - -2007-06-07 20:22 robert - - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - examples/osgviewerCocoa/English.lproj, - examples/osgviewerCocoa/ViewerCocoa.mm: From Martin Lavery, - StatsHandler added to the ViewerCocoa example - -2007-06-07 13:49 robert - - * examples/osgviewerCocoa/English.lproj/MainMenu.nib/info.nib, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/keyedobjects.nib: - From Martin Lavery, update of *.nib files - -2007-06-07 13:48 robert - - * examples/osgviewerCocoa/English.lproj/MainMenu.nib/classes.nib, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/info.nib, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/keyedobjects.nib: - From Martin Lavery, update of *.nib files - -2007-06-07 13:44 robert +Thu, 30 Sep 2010 16:31:22 +0000 +Checked in by : Robert OSFIELD +From Craig Bosma, "Attached is an updated Image.cpp that fixes a very specific compatability regression that was introduced almost 2 years ago in r8834. The IVE version number was bumped to 32 because of the change in binary layout, but the guard for reading/writing the new field was checked against 31. Of course this only causes a problem (as for us) when you've produced IVE files at version 31, which no longer load (or crash) when loaded by newer OSG/IVE versions." - * examples/osgviewerCocoa/English.lproj/MainMenu.nib: From Martin - Lavery, update of *.nib files +Thu, 30 Sep 2010 16:03:04 +0000 +Checked in by : Robert OSFIELD +From Chuck Seberino, "Here is a small optimization in osgDB/Serializer that only uses a single accessor call when retrieving serializable values during writing. This is a sizable win for some of my code since the getter() methods are non-trivial. I also removed some explicit namespace qualifiers to be consistent with the rest of the codebase." -2007-06-07 13:31 robert +Thu, 30 Sep 2010 14:25:27 +0000 +Checked in by : Robert OSFIELD +From WojciechLewandowski, Added DispaySettings::SwapMethod and support for it in GraphicsContext::Traits - * examples/osgviewerCocoa/English.lproj/MainMenu.nib/keyedobjects.nib: - From Martin Lavery, update of *.nib files +Thu, 30 Sep 2010 09:40:48 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, fixed build under OSX 10.5. -2007-06-07 13:25 robert +Thu, 30 Sep 2010 09:34:41 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I've fixed the problem that osgx format doesn't read the Font property and wrapped string correctly. The first problem happened because the matchString() made a mistake in comparing two strings with the same start but different size. The second just needs complete rewriting of writeWrappedString() and readWrappedString() in src/osgPlugins/osg/XmlStreamOperator.hI also fixed a possible bug in osgDB::XmlParser that doesn't handle control characters (like " to ") when reading node attributes, because the writeWrappedString() and readWrappedString() now depend heavily on control characters. An additional improvement is that osgx now supports comments." - * examples/osgviewerCocoa/English.lproj/MainMenu.nib/classes.nib, - examples/osgviewerCocoa/English.lproj/MainMenu.nib/info.nib: From - Martin Lavery, update of *.nib files -2007-06-07 12:55 robert - * examples/osgviewerCocoa/ViewerCocoa.h, - examples/osgviewerCocoa/ViewerCocoa.mm: From Martin Lavery, port - of ViewerCocoa and updates to Xcode projects +Wed, 29 Sep 2010 13:21:34 +0000 +Checked in by : Robert OSFIELD +Fixed Text3D's handling of character aspect ratio. -2007-06-07 12:47 robert +Wed, 29 Sep 2010 12:45:35 +0000 +Checked in by : Robert OSFIELD +Moved handling of character aspect ratio into osgText::Style. - * examples/osgviewerCocoa/SimpleViewerCocoa.h, - examples/osgviewerCocoa/SimpleViewerCocoa.mm: Removed the old - SimpleView version of the Cocoa example +Wed, 29 Sep 2010 12:38:56 +0000 +Checked in by : Robert OSFIELD +Added command line option for writing out the scene graph to file. -2007-06-07 12:46 robert +Wed, 29 Sep 2010 11:34:55 +0000 +Checked in by : Robert OSFIELD +Moved set/getFont from Text/Text3D into TextBase - * examples/osgviewerCocoa/SimpleViewer, - examples/osgviewerCocoa/SimpleViewer.cpp: Removed now not need - SimpleViewer +Wed, 29 Sep 2010 11:09:32 +0000 +Checked in by : Robert OSFIELD +Removed getScale() parameter from osgText::Font -2007-06-07 12:23 robert +Wed, 29 Sep 2010 10:54:53 +0000 +Checked in by : Robert OSFIELD +Fixed type of numberical constant - * src/osgGA/DriveManipulator.cpp, src/osgGA/FlightManipulator.cpp, - src/osgGA/TrackballManipulator.cpp, src/osgGA/UFOManipulator.cpp: - Added automatic stopping of animation when home() is called +Mon, 27 Sep 2010 17:11:12 +0000 +Checked in by : Robert OSFIELD +Moved Text3D across to using Style for character thickness. Quitened down debug messages in 3D text geometry creation. Improved the Text3D implementation of the new 3D text geometry. -2007-06-07 12:05 robert +Mon, 27 Sep 2010 16:18:20 +0000 +Checked in by : Robert OSFIELD +Added support for osgText::Style into osgText::Text3D. Refactored Text3D implementation to use new GlyphGeometry class. Implemented GlyphGeometry backend and cleaned up Glyph3D interface. - * src/osgPlugins/pfb/CMakeLists.txt: From Per Fahlberg, "To get the - pfb (Performer) plugin to compile I had to remove some of the - libraries listed under TARGET_EXTERNAL_LIBRARIES. - The removed libraries are not needed when linking the plugin, - they are - loaded during runtime by Performer. - The modified file is attached." +Mon, 27 Sep 2010 09:58:07 +0000 +Checked in by : Robert OSFIELD +Changed the reading of animation paths so that it's always done without using the osgDB object cache. This fixes a bug of reusing the animination path in an P3D file. -2007-06-07 11:19 robert +Sun, 26 Sep 2010 11:02:03 +0000 +Checked in by : Robert OSFIELD +Added include to fix compile error - * include/osgDB/Registry, src/osgDB/Registry.cpp: Introduced a - destruct method to help clean up the Registry. +Fri, 24 Sep 2010 14:53:10 +0000 +Checked in by : Robert OSFIELD +From Alexander Wiebel, "I did some spell checking in my spare time. Here come 20 files." -2007-06-07 11:06 robert +Fri, 24 Sep 2010 14:40:56 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, "Changeset 10833 renames discardAllDeletedGLObjects() to discardAllGLObjects() in src/osg/GLObjects.cpp, but the declaration of the function in include/osg/GLObjects remained. So an app using an old version of OSG that called this function would now fail with a linker error instead of a compile error as it should.Removed the declaration. Also fixed a small typo in the following doxygen comment." - * src/osg/Matrix_implementation.cpp: Revert the signOrZero cade - path in the getRotate() to fix bugs. -2007-06-07 11:05 robert - * examples/osgunittests/UnitTests_osg.cpp, - examples/osgunittests/osgunittests.cpp: Added support for using - quat_scaled sx sy sz for testing getting quats from scaled - matrices. Removed broken Matrixd/quat test +Fri, 24 Sep 2010 14:38:01 +0000 +Checked in by : Robert OSFIELD +From Mikhail Izmestev, "This patch fixes operator >> used with std::istream without std::ios::skipws flag. This allow using boost::lexical_cast with osg vectors types, because boost's lexical_cast disable std::ios::skipws flag of std::istream before using operator >>. " -2007-06-07 09:58 robert +Fri, 24 Sep 2010 12:59:37 +0000 +Checked in by : Robert OSFIELD +From Eric Wing, QTKit plugin for reading movies under OSX using QTKit + CoreVideo - * include/osgViewer/View, src/osgViewer/View.cpp, - src/osgWrappers/osgViewer/View.cpp: Added View::home() method and - updated wrappers +Fri, 24 Sep 2010 12:57:55 +0000 +Checked in by : Robert OSFIELD +Moved Style and Bevel classes out into their own include/osgText/Style header.Introduced GlyphGeometry class for handling the geometry data for rendering 3D text -2007-06-07 09:24 robert - * src/osgWrappers/osgViewer/HelpHandler.cpp, - src/osgWrappers/osgViewer/StatsHandler.cpp: Removed redundent - files -2007-06-07 08:52 robert +Thu, 23 Sep 2010 16:12:05 +0000 +Checked in by : Robert OSFIELD +Refactored the handling of readImage/writeImage/readObject/writeObject to avoid double setting of unique ID's, fixing the problem in reading/writing files with images - * src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers +Wed, 22 Sep 2010 09:50:07 +0000 +Checked in by : Robert OSFIELD +Added deprecated notices. -2007-06-06 21:57 robert +Tue, 21 Sep 2010 11:40:50 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog and AUTHORS file for release - * AUTHORS.txt, ChangeLog, README.txt: Updated ChangeLog, AUTHORES - and README to 1.9.8 release +Tue, 21 Sep 2010 10:28:50 +0000 +Checked in by : Robert OSFIELD +From David Guthrie, "The cocoa version of the window for Mac OS X doesn't implement the requestWarpPointer function, but it turns out that the code from the Carbon version of the window is the same because it uses the windowing interface, so it this version, based on 2.8.3 GraphicsWindowCocoa, I copied the function over. The trunk version it also missing the function and the code looks to be very similar, so I assume it will transfer simply enough. " -2007-06-06 21:43 robert +Mon, 20 Sep 2010 16:04:22 +0000 +Checked in by : Robert OSFIELD +From Per Fahlberg, "imageio was not spelled correctly when registering the plugin, attached is a fixed version of ReaderWriterImageIO.cpp." - * CMakeLists.txt, include/osg/Version, src/osgSim/OverlayNode.cpp: - Updated version numbers for release +Mon, 20 Sep 2010 11:50:24 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, reverted changes to osgPartcile that caused problems with osgparticleeffects. -2007-06-06 17:01 robert +Mon, 20 Sep 2010 11:02:40 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "attached is a fix that addresses these compiler warnings from the 64-bit OS X build:/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp: In +function ?std::string getFileName(const std::string&)?: +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:88: +warning: comparison is always false due to limited range of data type - * src/osgViewer/Viewer.cpp: Revert the setting of SingleThreaded - under Windows in suggestBestThreadingModel() +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp: In +function ?bool is83(const std::string&)?: +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:102: +warning: comparison is always false due to limited range of data type -2007-06-06 16:27 robert +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp: In +function ?bool is3DSpath(const std::string&, bool)?: +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:118: +warning: comparison is always false due to limited range of data type +/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/3ds/WriterNodeVisitor.cpp:121: +warning: comparison is always true due to limited range of data type - * examples/osgshadow/osgshadow.cpp: Added #include +The code was using 'unsigned int' in places where it should've used 'size_t' for correct +comparison with 'std::string::npos' (which is size_t). +" -2007-06-06 16:23 robert - * examples/osgparametric/osgparametric.cpp, - examples/osgshadow/osgshadow.cpp, - examples/osgterrain/osgterrain.cpp, - examples/osgviewerFLTK/osgviewerFLTK.cpp, - examples/osgviewerGLUT/osgviewerGLUT.cpp, - examples/osgviewerMFC/MFC_OSG.h, - examples/osgviewerQT/osgviewerQT.cpp, - examples/osgviewerSDL/osgviewerSDL.cpp, - examples/osgviewerWX/osgviewerWX.cpp: Fixed includes -2007-06-06 15:22 robert +Fri, 17 Sep 2010 15:41:55 +0000 +Checked in by : Robert OSFIELD +From Mathieu Marache, "This modified version of FindCOLLADA finds it correctly when installed with macports as in 'port install collada-dom'" - * CMakeLists.txt, CMakeModules/FindZLIB.cmake: From Ulrich - Hertlein, "on my MacOS X/cmake setup the zlib plugin isn't built - by default. This may be because zlib.h is - installed in /opt/local/include on my system (courtesy of - DarwinPorts). I've added a CMakeModule to - look for zlib.h and the library in various places. The files are - attached." +Fri, 17 Sep 2010 15:39:53 +0000 +Checked in by : Robert OSFIELD +Add clamping of the maximum number of particles per frame to avoid too many particles being introduced at once when the particle system comes back on screen. -2007-06-06 14:51 robert +Fri, 17 Sep 2010 14:26:27 +0000 +Checked in by : Robert OSFIELD +Updated ChangeLog, AUTHORS for 2.9.9 dev release - * src/osgViewer/HelpHandler.cpp, src/osgViewer/StatsHandler.cpp: - Fixed includes +Fri, 17 Sep 2010 13:33:09 +0000 +Checked in by : Robert OSFIELD +Build fixes for when OSG_USE_REF_PTR_IMPLICIT_OUTPUT_CONVERSION is disabled -2007-06-06 13:45 robert +Fri, 17 Sep 2010 13:09:23 +0000 +Checked in by : Robert OSFIELD +Reverted changes from Vivien Delage as there were some regressions discovered. Will need to revist this code to deal with bugs that Vivien was tackling. - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - examples/osgviewerCocoa/SimpleViewer.cpp, - examples/osgviewerCocoa/SimpleViewerCocoa.mm: From Martin Lavery, - Updates to Xcode project +Fri, 17 Sep 2010 11:20:11 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "I've added a command line switch '--testOcclusion' that enables display of other models in front and behind the outlined object." -2007-06-06 11:34 robert +Thu, 16 Sep 2010 13:04:55 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "Changes to the quicktime plugin to remove unused variables and an unused static function." - * src/osgPlugins/ac/Geode.cpp, src/osgPlugins/ac/Geode.h, - src/osgPlugins/ac/ac3d.cpp: From Roger James, "These fix a couple - of problems in the ac3d writer. - - 1. Number of child node of the world object set incorrectly in - when scene contains shape drawables. - - 2. Incorrect handling of line primitives." +Thu, 16 Sep 2010 10:33:51 +0000 +Checked in by : Robert OSFIELD +From Alexander Wiebel, "I came across some functions in Vec* that I thought could benefit from some doxygen documentation. Additionally, I made the comment on value_type more meaningful (in my opinion)." -2007-06-06 11:28 robert +Thu, 16 Sep 2010 09:49:22 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "I'm resubmitting a slightly different version of the changes you left out for osg/Camera. The ::glName issue masked the fact that the "(..)" isn't handled well in doxygen and leads to "(." in the generated files.I'm also submitting a minor documentation fix to osgGA/DriveManipulator to get +it out of my patch queue ;)" - * include/osgViewer/api/Win32/GraphicsWindowWin32, - src/osgViewer/GraphicsWindowWin32.cpp: From Olaf Flebbe, "an - implementation of GraphicsWindow::setCursor for WIN32." -2007-06-06 11:21 robert - * applications/osgviewer/osgviewer.cpp, - examples/osgdistortion/osgdistortion.cpp, - examples/osgsimulation/osgsimulation.cpp, - examples/osgstaticviewer/osgstaticviewer.cpp, - include/osgViewer/HelpHandler, include/osgViewer/StatsHandler, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/CMakeLists.txt: Moved HelpHandler and StatsHandler - classes into ViewerEventHandlers header, removed HelpHandler and - StatsHandler headers +Thu, 16 Sep 2010 09:09:43 +0000 +Checked in by : Robert OSFIELD +From March Sciabica, "Here is the solution I coded up over the weekend. For improved performance option, I added a flag to control whether the depth writing pass is performed.Since text is alpha-blended when rendering, it is placed in the +transparent bin and rendered back to front. Writing to the depth buffer +should therefore be unnecessary. Indeed, rendering something behind text +(or any blended object) after that object is drawn will give incorrect +results whether the depth buffer is written or not. I therefore think it +is safe to keep this option off by default. Users can turn it on for any +special needs they have. -2007-06-06 11:10 robert +I did not fix the existing backdrop implementations to work with the new +code since this new method of rendering intrinsically handles backdrops +correctly. Its results are more accurate than all of the existing +backdrop implementations. Its only downside is that it requires two +passes if depth buffer updates are desired, whereas DEPTH_RANGE and +POLYGON_OFFSET achieve their (less accurate) results in one pass. The +NO_DEPTH_BUFFER method also only uses one pass, but it disables depth +tests and not depth writes so will have serious problems if anything is +drawn in front of the text before OR after the text is drawn. - * src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/SimpleViewer.cpp, - src/osgWrappers/osgViewer/View.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers +Given the better all-around behavior of the new method, I believe the +other backdrop implementations can be safely removed. Code that adjusts +the backdrop implementation will of course be broken if the member +functions are removed. For this reason I left them in, but set the new +rendering method as the default backdrop implementation. At the very +least I think the old backdrop implementations should be deprecated and +removed at a later date. +" -2007-06-06 10:58 robert +Note from Robert Osfield, testing this submission with osgtext I found that the +text would not render correctly when different text labels were overlapping +in deth and screen space. I change _enableDepthWrites to default to true and +found the that which artifacts still occurred around the alpha blended edges +the artifacts where better than issue with occlusion of nearer pixels that was +happening with _enableDepthWrites set to false.I therefore set the +_enableDepthWrites to true as I feel it's the lesser of the two artefacts. - * examples/osgviewerCocoa/SimpleViewer, - examples/osgviewerCocoa/SimpleViewer.cpp, - include/osgViewer/SimpleViewer, src/osgViewer/SimpleViewer.cpp: - Moved SimpleViewer from osgViewer into the osgviewerCocoa example - directory as this - is the only place in the OSG that now relies upon SimpleViewer. -2007-06-06 10:57 robert - * applications/osgviewer/osgviewer.cpp, - include/osgViewer/CompositeViewer, include/osgViewer/Viewer, - src/osgViewer/CompositeViewer.cpp, src/osgViewer/Viewer.cpp: - Added support for passing in ArgumentParser in Viewer and - CompositeViewer constructor -2007-06-06 08:59 robert +Thu, 16 Sep 2010 08:46:38 +0000 +Checked in by : Robert OSFIELD +From Mathias Fielder, "i found an issue with the serializer writing shared arrays. At OutputStream::writeArray(), if the currently latest array is shared the full array content will be written. The following code snippet will reproduce this issue:Code: - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj, - Xcode/OpenSceneGraph/osgcompositeviewer-Info.plist, - Xcode/OpenSceneGraph/osgmultiplecameras-Info.plist, - Xcode/OpenSceneGraph/osgsimple-Info.plist, - Xcode/OpenSceneGraph/osgsimplepager-Info.plist, - Xcode/OpenSceneGraph/osgsimpleviewerGLUT-Info.plist, - Xcode/OpenSceneGraph/osgsimpleviewerSDL-Info.plist, - Xcode/OpenSceneGraph/osgviewerGLUT-Info.plist, - Xcode/OpenSceneGraph/osgviewerSDL-Info.plist: From Marin Lavery - and Robert Osfield, XCode build fixes +osg::Vec2 vec(0.f, 0.f); +osg::Array* sharedArray = new osg::Vec2Array(1, & vec); -2007-06-05 20:42 robert +// create 2 geometries sharing same array +osg::Geometry* geom0 = new osg::Geometry; +osg::Geometry* geom1 = new osg::Geometry; +geom0->setVertexArray(sharedArray); +geom1->setVertexArray(sharedArray); - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Martin Lavery, XCode build fixes +osg::ref_ptr geode = new osg::Geode; +geode->addDrawable(geom0); +geode->addDrawable(geom1); -2007-06-05 19:44 robert +std::stringstream buffer; - * examples/CMakeLists.txt, - examples/osgcompositeviewer/CMakeLists.txt, - examples/osgcompositeviewer/osgcompositeviewer.cpp, - examples/osgcompositeviewer/osgmultiplecameras.cpp: Renamed - osgmultiplecameras to osgcompositeviewer +// write node +osg::ref_ptr options = new osgDB::Options("Ascii"); +osgDB::ReaderWriter* rw = osgDB::Registry::instance()->getReaderWriterForExtension("osgt"); +osgDB::ReaderWriter::WriteResult wr = rw->writeNode(*geode, buffer, options.get()); -2007-06-05 19:41 robert +// print result; array will be written twice with full content, though with same ID +std::cout << buffer.str() << std::endl; - * examples/osgcompositeviewer, examples/osgmultiplecameras: Renamed - osgmultiplecamrea to osgcompositeviewer +// trying to read back node will print warnings about unmatched properties +osgDB::ReaderWriter::ReadResult rr = rw->readNode(buffer, options.get()); -2007-06-05 19:40 robert - * examples/osgviewerFLTK/osgviewerFLTK.cpp: Added CompositeViewer - support into FLTK example -2007-06-05 19:36 shuber - * Xcode/OpenThreads/OpenThreads.xcodeproj/project.pbxproj: from - Stephan Huber: fixed build path for OpenThreads, so osg builds - cleanly +To fix this i made a change in OutputStream::writeArray(). +I think the same issue applies to OutputStream::writeObject(). So i made the same change there. +" -2007-06-05 19:10 robert - * examples/osgviewerQT/osgviewerQT.cpp: Added support for - CompositeViewer -2007-06-05 17:19 robert +Wed, 15 Sep 2010 13:24:37 +0000 +Checked in by : Robert OSFIELD +From Paul de Repentigny, Commented out section of code that didn't work properly - * README.txt: Improved the wording of CMake instructions +Wed, 15 Sep 2010 13:04:35 +0000 +Checked in by : Robert OSFIELD +Fixed warning -2007-06-05 17:18 robert +Wed, 15 Sep 2010 12:50:16 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "Fix a small typo in present3D usage string" - * Xcode/OpenSceneGraph/OpenSceneGraph.xcodeproj/project.pbxproj: - From Martin Lavery, build fixes fo latest file additions +Wed, 15 Sep 2010 12:00:12 +0000 +Checked in by : Robert OSFIELD +From Magnus Kessler, "Attached are a number of files where I have tried to fix up some of the documentation. I have accumulated them over some time, but rebased onto the subversion trunk." -2007-06-05 14:37 robert +Wed, 15 Sep 2010 11:36:45 +0000 +Checked in by : Robert OSFIELD +From Laura Cerritelli, "I modified TXPPagedLOD::traverse to prevent the terrain from inappropriately unloading the higher level of detail tiles. It wasn?t updating the frame number of the tile or the range it was traversing, causing PagedLOD::removeExpiredChildren to always consider the range expired." - * include/osgManipulator/Dragger, - src/osgWrappers/osgManipulator/Dragger.cpp: Change interator to - const_iterator to try and avoid Solaris build failure +Wed, 15 Sep 2010 11:32:51 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I've fixed some pen-slips in SharedStateManager.cpp, which writing the last few examples for my to-be-finished book. I also do a minor fix to the share() method to make it work for geodes, too." -2007-06-05 11:18 robert +Wed, 15 Sep 2010 11:27:31 +0000 +Checked in by : Robert OSFIELD +From Lukasz Izdebski, "I made some changes in OcclusionQueryNode file. I move declaration of classes TestResult, QueryGeometry from cpp to header file and made a void createSupportNodes() a virtual method.Now is possible to inherit from class OcclusionQueryNode." - * src/osgPlugins/OpenFlight/AttrData.h, - src/osgPlugins/OpenFlight/PaletteRecords.cpp: From Per Fahlberg, - "added use of the internal format specified in the OpenFlight - format attr files." -2007-06-05 08:46 robert - * include/osgManipulator/Dragger: Removed const to try and avoid - Sun compiler error +Wed, 15 Sep 2010 11:10:10 +0000 +Checked in by : Robert OSFIELD +Renamed file3ds and options member variables to _file3ds and _options to avoid confusion and keep the code consistent with the rest of the class/OSG.Added _option parameter to writeImageFile(..) call. -2007-06-05 08:30 robert - * include/osg/StateAttribute: Removed redundent comma -2007-06-04 21:32 robert - * README.txt: Updated READEME +Wed, 15 Sep 2010 10:50:24 +0000 +Checked in by : Robert OSFIELD +From Todd Furlong, "I made a couple of changes to the osgFX::Outline class (SVN patch attached). I had a couple of issues with it that I was trying to resolve:1. When an outline object was occluded by another object, the backfacing wireframe was exposed. To fix that, I removed the disabling of GL_DEPTH_TEST. -2007-06-04 21:31 robert +2. In some cases, the outline color was the same color as the geometry being drawn instead of the specified color. I'm not sure I have completely fixed this issue, but I did make some changes to match up to how we do a scribe effect." - * AUTHORS.txt, ChangeLog, applications/osgversion/osgversion.cpp: - Updated ChangeLog and AUTHORS.txt for 1.9.7 release -2007-06-04 21:02 robert - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake: Introduce - OSG_BUILD_APPLICATION_BUNDLES option for OSX, defaulting to OFF. +Wed, 15 Sep 2010 10:24:59 +0000 +Checked in by : Robert OSFIELD +Added https, ftp and ftps to list of supported server protocols, and add ability for curl plugin to ignore the need for a server address when .curl extension is used. -2007-06-04 20:32 robert +Wed, 15 Sep 2010 09:56:16 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, "please, find attached improved Stencil and StencilTwoSided classes.Goals: +- to handle INCR_WRAP values nicely if not supported by OpenGL (old hardware) +- to support two side stenciling of OpenGL 2.0. Current implementation does not work on ATI as it uses Nvidia extension. - * README.txt, src/osgPlugins/dae/README.txt: From Jeremy Moles and - Rbert Osfeild, added extra details about CMake build options. +Ready for commit: +- Stencil and Stencil.cpp - please, review them -2007-06-04 19:33 robert +Ready with "hack": +- StencilTwoSided.cpp: please, see the line 113 in apply(): - * examples/osgfxbrowser/osgfxbrowser.cpp: Removed setting of font - resolutions and added control of threading, with the default - theading set to SingleThreading to avoid crashes associated with - non thread safe - sections of osgFX - the need to be fixed!!! + glEnable(GL_STENCIL_TEST_TWO_SIDE); -2007-06-04 17:11 robert +This line used to be in getModeUsage() as - * examples/osgstereoimage/osgstereoimage.cpp: Added control of - threading model, setting default to SingleThreaded to avoid crash - associated with mixing useCursor(false) and multi-threading. + usage.usesMode(GL_STENCIL_TEST_TWO_SIDE); -2007-06-04 16:20 robert +but it produces OpenGL errors on ATI as it is unknown value there (it is Nvidia extension). +Problems with my "glEnable" solution: +- it enables two side stenciling forever, and it will disturb any other single-side stenciling in the scene graph. +" - * CMakeLists.txt, include/osg/Version: Updated version for 1.9.7 - release -2007-06-04 15:11 robert - * examples/osgviewerQT/osgviewerQT.cpp: Fixed stray control - character +Wed, 15 Sep 2010 09:24:45 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "I've changed it back to _alive, _current_size and _current_alpha, and placed them one by one for setTexCoordPointer() to use.All size() methods are now renamed to volume(). At present only the CompositePlacer will use it for randomly choose a place according to the volumes of all children. + " -2007-06-04 15:05 robert - * src/osgViewer/GraphicsWindowCarbon.cpp: Warning fix -2007-06-04 14:47 robert +Tue, 14 Sep 2010 15:47:29 +0000 +Checked in by : Robert OSFIELD +Form Wang Rui, "An initial GLSL shader support of rendering particles. Only the POINT type is supported at present. The attached osgparticleshader.cpp will show how it works. It can also be placed in the examples folder. But I just wonder how this example co-exists with another two (osgparticle and osgparticleeffect)?Member variables in Particle, including _alive, _current_size and +_current_alpha, are now merged into one Vec3 variable. Then we can +make use of the set...Pointer() methods to treat them as vertex +attribtues in GLSL. User interfaces are not changed. - * examples/osgviewerQT/osgviewerQT.cpp: Cleaned up example +Additional methods of ParticleSystem are introduced, including +setDefaultAttributesUsingShaders(), setSortMode() and +setVisibilityDistance(). You can see how they work in +osgparticleshader.cpp. -2007-06-04 14:46 robert +Additional user-defined particle type is introduced. Set the particle +type to USER and attach a drawable to the template. Be careful because +of possible huge memory consumption. It is highly suggested to use +display lists here. - * examples/osgviewerFLTK/osgviewerFLTK.cpp: From Martin Lavery and - Robert Osfield, ported fltk example to osgViewer::Viewer +The ParticleSystemUpdater can accepts ParticleSystem objects as child +drawables now. I myself think it is a little simpler in structure, +than creating a new geode for each particle system. Of course, the +latter is still compatible, and can be used to transform entire +particles in the world. -2007-06-04 13:45 robert +New particle operators: bounce, sink, damping, orbit and explosion. +The bounce and sink opeartors both use a concept of domains, and can +simulate a very basic collision of particles and objects. - * CMakeModules/FindFLTK.cmake, - examples/osgviewerFLTK/CMakeLists.txt: Added local FindFLTK.cmake - to avoid problems with FLTK no being found by standard - CMake FindFLTK.cmake. +New composite placer. It contains a set of placers and emit particles +from them randomly. The added virtual method size() of each placer +will help determine the probability of generating. -2007-06-04 11:47 robert +New virtual method operateParticles() for the Operator class. It +actually calls operate() for each particle, but can be overrode to use +speedup techniques like SSE, or even shaders in the future. - * src/osgPlugins/dae/daeRMaterials.cpp, - src/osgPlugins/dae/daeReader.cpp, src/osgPlugins/dae/daeReader.h: - From Roger James, "Here are my fixes for transparency in the - Collada DAE reader." +Partly fix a floating error of 'delta time' in emitter, program and +updaters. Previously they keep the _t0 variable seperately and compute +different copies of dt by themseleves, which makes some operators, +especially the BounceOperator, work incorrectly (because the dt in +operators and updaters are slightly different). Now a getDeltaTime() +method is maintained in ParticleSystem, and will return the unique dt +value (passing by reference) for use. This makes thing better, but +still very few unexpected behavours at present... -2007-06-04 11:14 robert +All dotosg and serialzier wrappers for functionalities above are provided. - * src/osgViewer/GraphicsWindowCarbon.cpp: From Martin Lavery and - Robert Osfield, added use of hardwarded value kCGLCEMPEngine - to fix build failure on slightly older versions of OSX. +... -2007-06-04 10:56 robert +According to some simple tests, the new shader support is slightly +efficient than ordinary glBegin()/end(). That means, I haven't got a +big improvement at present. I think the bottlenack here seems to be +the cull traversal time. Because operators go through the particle +list again and again (for example, the fountain in the shader example +requires 4 operators working all the time). - * src/osgWrappers/osg/Hint.cpp, - src/osgWrappers/osg/StateAttribute.cpp: Updated wrappers +A really ideal solution here is to implement the particle operators in +shaders, too, and copy the results back to particle attributes. The +concept of GPGPU is good for implementing this. But in my opinion, the +Camera class seems to be too heavy for realizing such functionality in +a particle system. Myabe a light-weight ComputeDrawable class is +enough for receiving data as textures and outputting the results to +the FBO render buffer. What do you think then? -2007-06-04 10:47 robert +The floating error of emitters +(http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2009-May/028435.html) +is not solved this time. But what I think is worth testing is that we +could directly compute the node path from the emitter to the particle +system rather than multiplying the worldToLocal and LocalToWorld +matrices. I'll try this idea later. +" - * include/osg/Hint, include/osg/StateAttribute, - src/osg/CMakeLists.txt, src/osg/Hint.cpp: Added osg::Hint class -2007-06-04 08:38 robert - * examples/osgshadow/osgshadow.cpp, - examples/osgshadowtexture/osgshadowtexture.cpp, - include/osgShadow/ShadowedScene, src/osgShadow/ShadowTexture.cpp, - src/osgShadow/ShadowedScene.cpp, - src/osgWrappers/osgShadow/ShadowedScene.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Fixed spelling of Receives +Tue, 14 Sep 2010 13:19:55 +0000 +Checked in by : Robert OSFIELD +From Ulrich Hertlein, "not sure how severe this is but I believe there's a bug in Texture.cpp:applyTexImage2D_subload: +unsigned char* data = = (unsigned char*)image->data(); +if (needImageRescale) { + // allocates rescale buffer + data = new unsigned char[newTotalSize]; -2007-06-03 10:00 robert + // calls gluScaleImage into the data buffer +} - * include/osgViewer/Viewer, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers +const unsigned char* dataPtr = image->data(); +// subloads 'dataPtr' -2007-06-03 09:34 robert +// deletes 'data' + - * examples/osgviewerGLUT/osgviewerGLUT.cpp, - examples/osgviewerSDL/osgviewerSDL.cpp, include/osgViewer/Viewer, - src/osgViewer/Viewer.cpp: Added - Viewer::setUpViewerAsEmbeddedInWindow convinience method +In effect, the scaled data would never be used. -2007-06-03 09:11 robert +I've also replaced bits of duplicate code in Texture1D/2D/2DArray/3D/Cubemap/Rectangle +that checks if the texture image can/should be unref'd with common functionality in +Texture.cpp. - * examples/CMakeLists.txt, examples/osgsimple: Removed osgsimple - example +" -2007-06-03 09:09 robert - * examples/CMakeLists.txt, examples/osgviewerQT, - examples/osgviewerQT/CMakeLists.txt, - examples/osgviewerQT/osgsimpleviewerQT3.cpp, - examples/osgviewerQT/osgviewerQT.cpp, examples/osgviewerQT3, - examples/osgviewerQT4: Merged the osgviewerQT3 and QT4 examples - into a single osgviewerQT example, and - ported across from SimpleViewer to using Viewer -2007-06-03 08:58 robert +Tue, 14 Sep 2010 13:19:12 +0000 +Checked in by : Robert OSFIELD +Moved GL_RED and associated GL defines that aren't defined by GLES into the include/osg/Image to aid portability. - * examples/osgviewerFLTK/CMakeLists.txt: Changed external library - specication +Thu, 9 Sep 2010 16:49:10 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, "osgWidget::WindowManager did nothing in its keyUp event, and in particular didn't call any callbacks. Since I wanted to have callbacks on keyUp, I copied what it does on keyDown, which works for me. I could have just used keyDown and saved myself the trouble, but you know me... :-)osgWidget::Input: -2007-06-02 16:23 robert +[Functional changes] +- Previously, the field would be filled with spaces up to its max length, and typing would just replace the spaces. Also, there was a _textLength variable that kept track of the real length of text in the field, since the osgText::Text's length just reflected the length of spaces+text entered. This was not great, as you could still select the spaces with the mouse and it just feels hacky. So I changed it to only contain the text entered, no spaces, and _textLength was removed since it's now redundant (the osgText::Text's length is used instead). +- Fixed the selection size which (visually only) showed one more character selected than what was really selected. +- Fixed selection by dragging the mouse, it would sometimes not select the last character of the string. +- Cursor will now accurately reflect whether insert mode is activated (block cursor) or we're in normal mode (line cursor) like in most editors. +- Implemented Ctrl-X (cut) +- Added a new clear() method that allows the field to be emptied correctly. Useful for a command line interface, for example (hint, hint). +- Mouse and keyboard event handler methods would always return false, which meant selecting with the mouse would also rotate the trackball, and typing an 's' would turn on stats. - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp: Ported across - from SimpleViewer to using Viewer +[Code cleanup] +- Renamed the (local) _selectionMin and _selectionMax variables which are used in a lot of places, as the underscores would lead to think they were members. Either I called them selection{Min|Max} or delete{Min|Max} where it made more sense. +- Fixed some indenting which was at 3 spaces (inconsistently), I'm sure I didn't catch all the lines where this was the case though. +- Put spaces between variable, operator and value where missing, especially in for()s. Again I only did this where I made changes, there are probably others left. -2007-06-02 16:01 robert +The result is that delete, backspace, Ctrl-X, Ctrl-C, Ctrl-V, and typing behaviour should now be consistent with text editor conventions, whether insert mode is enabled or not. I hope. :-) - * examples/osgviewerQT3/CMakeLists.txt, - examples/osgviewerQT3/osgviewerQT3.cpp: Ported QT3 example across - to use osgViewer::Viewer, and made it possible to use the same - source for both QT3 and QT4 - -2007-06-02 15:31 robert - - * examples/osgviewerGLUT/osgviewerGLUT.cpp, - examples/osgviewerSDL/osgviewerSDL.cpp, - examples/osgviewerWX/osgviewerWX.cpp, - examples/osgviewerWX/osgviewerWX.h, - include/osgViewer/GraphicsWindow: Added - osgViewer::GraphicsWindowEmbedded and ported GLUT, SDL and WX - examples across from SimpleViewer to Viewer. - -2007-06-02 12:03 robert - - * examples/osgviewerGLUT/osgviewerGLUT.cpp: Ported GLUT example to - using osgViewer::Viewer rather than SimpleViewer by using - a local GraphicsWindowEmbedded class to help the adaption. - -2007-06-01 22:41 robert - - * examples/osgviewerFLTK/CMakeLists.txt, - examples/osgviewerFLTK/osgsimpleviewerFLTK.cpp, - examples/osgviewerFLTK/osgviewerFLTK.cpp, - examples/osgviewerGLUT/CMakeLists.txt, - examples/osgviewerGLUT/osgsimpleviewerGLUT.cpp, - examples/osgviewerGLUT/osgviewerGLUT.cpp, - examples/osgviewerQT3/CMakeLists.txt, - examples/osgviewerQT3/osgsimpleviewerQT3.cpp, - examples/osgviewerQT3/osgviewerQT3.cpp, - examples/osgviewerQT4/CMakeLists.txt, - examples/osgviewerQT4/osgsimpleviewerQT4.cpp, - examples/osgviewerQT4/osgviewerQT4.cpp, - examples/osgviewerSDL/CMakeLists.txt, - examples/osgviewerSDL/osgsimpleviewerSDL.cpp, - examples/osgviewerSDL/osgviewerSDL.cpp, - examples/osgviewerWX/CMakeLists.txt, - examples/osgviewerWX/osgsimpleviewerWX.cpp, - examples/osgviewerWX/osgsimpleviewerWX.h, - examples/osgviewerWX/osgviewerWX.cpp, - examples/osgviewerWX/osgviewerWX.h: Renamed all osgsimpleviewer* - files to osgviewer* - -2007-06-01 22:33 robert - - * examples/CMakeLists.txt, examples/osgGLUTkeyboardmouse, - examples/osgGLUTsimple, examples/osgsimpleviewerCocoa, - examples/osgsimpleviewerFLTK, examples/osgsimpleviewerGLUT, - examples/osgsimpleviewerQT3, examples/osgsimpleviewerQT4, - examples/osgsimpleviewerSDL, examples/osgsimpleviewerWX, - examples/osgviewerCocoa, examples/osgviewerFLTK, - examples/osgviewerGLUT, examples/osgviewerQT3, - examples/osgviewerQT4, examples/osgviewerSDL, - examples/osgviewerWX: Renamed osgsimpleviewer* examples to - osgviewer* in prep for replacement of SimpleViewer by Viewer - -2007-06-01 22:28 robert - - * src/osgWrappers/osgTerrain/Locator.cpp: updated wrapper - -2007-06-01 21:38 robert - - * examples/osgunittests/osgunittests.cpp: From J.P Delport, - "attached find an updated osgunittests.cpp that allows for the - testing of - the matrix.getRotate() function when a matrix contains a scale as - well - as a rotation. - - The scale can optionally be switched off, see the top of - testQuatFromMatrix(). - - As expected, all the current methods for mat to quat conversion - fail - these new tests. When the scale is omitted, mk2 of getRotate with - sign - instead of signOrZero passes, as well as mk1. - " - -2007-06-01 21:33 robert - - * include/osgTerrain/Locator, src/osgTerrain/Locator.cpp: From - Maria Ten, "The constructor method of the EllipsoidLocator of - osgTerrain assumes - that the terrain is always the Earth planet. I changed the - constructor - method to accept the Equator radius and the Polar radius like - parameters. By default, it assumes the Earth radius for the - EllipsoidLocator. I added a setEllipsoidModel method, too. - - Now, we are developing some libraries for a GIS applicacion, and - our - libraries can visualize terrains of planets like Mars. I think - that is - a interesting change." - -2007-06-01 21:28 robert - - * examples/osgviewerMFC/CMakeLists.txt, - examples/osgviewerMFC/MFC_OSG.cpp, - examples/osgviewerMFC/MFC_OSG.h, - examples/osgviewerMFC/MFC_OSG_MDIView.cpp: From Michael Hartman, - "CMakeLists.txt: - - Changed this back to setup_example since WIN32 flag is now - supported. - - - - MFC_OSG.h: - - Added flag to indicate when the rendering thread has exited. - - - - MFC_OSG.cpp: - - Code modifications to support rendering flag thread exit. - - - - MFC_OSG_MDIView.cpp: - - Change to OnDestroy function to wait until we get render thread - exit flag is true before we close the window. - - - - - - Main Exit Process: - - User presses escape button - - Viewer captures escape button and stops threading etc. - - Viewer sets Done when shutdown is complete - - MFC Render Thread monitors viewer->done for true - - MFC Render Thread exits while loop and sets MFC Done flag - - MFC View Window monitors MFC Done flag and then closes/destroys - the window - - " - -2007-06-01 19:53 robert - - * src/osgWrappers/osg/Camera.cpp, - src/osgWrappers/osg/ImageStream.cpp, - src/osgWrappers/osgViewer/GraphicsWindow.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Updated - wrappers - -2007-06-01 19:45 robert - - * include/osg/Camera, src/osg/Camera.cpp, - src/osgUtil/RenderStage.cpp: From Wojciech Lewandowski, "I did - few tests to see whether adding PreDraw callback would help us - with SPI problems when using Viewer. Results were positive so I - decided to give it a try and ask you to verify and maybe merge - with existing codebase. - - I added _preDrawCallback member and neccessary access methods - plus modified osgUtil RenderStage.cpp to invoke it before all - drawInner calls are made. I tried to maintain symmetry with - postDrawCallback but you know better where is a proper place for - this call ;-) - " - -2007-06-01 19:44 robert - - * include/osgSim/OverlayNode: Updates to OverlayData - -2007-06-01 19:43 robert - - * include/osgViewer/GraphicsWindow, - include/osgViewer/api/X11/GraphicsWindowX11, - src/osgViewer/GraphicsWindowX11.cpp: From Mathias Froelich, "have - done an interface to change the mouse cursor in the X11 graphics - window. - The win32 implementation is still in its original shape since I - have no win32 - implementation available. - - I have chosen the enum approach for the first cut. That is - benefitial since - the user does not need to track creation of mouse cursors for - different - windows and displays in presence of multiple viewer windows. - - The default set of available mouse shapes is the same set that - was available - with glut. That set served many OpenGL applications well, so the - hope is that - this is enough. - - Even though, that implementation is still extensible: - I have digged out the way SDL defines new mouse cursors and added - a still - documented out function prototype in the GraphicsWindow that can - be used to - extend the current implemtation for arbitrary mouse shapes. That - is not - implemented yet. - - I hope that somebody with a win32 test system can catch up that - implementation - on win32." - -2007-06-01 19:21 robert - - * examples/osganimate/osganimate.cpp: Removed setViewUpOnScreen - settings - -2007-06-01 19:19 robert - - * include/osg/ImageStream, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp: From Stephan - Huber, "attached you'll find the modified ImageStream - and a small fix for QuicktimeImageStream to disable debug-logging - :)" - -2007-06-01 19:10 robert - - * include/osgTerrain/ValidDataOperator: From Mike Wittman, "Just - found another issue building the C# wrappers: the osgTerrain - ValidDataOperator file uses osg::Vec2, osg::Vec3, and osg::Vec4, - but does not include their headers. The file with the relevant - includes is attached. - - " - -2007-06-01 19:01 robert - - * src/osgSim/OverlayNode.cpp: Removed the debug message for the - ortho path. - -2007-06-01 19:01 robert - - * examples/osgsimulation/osgsimulation.cpp: Improved the handling - of the -p path option - -2007-06-01 18:27 robert - - * src/osgSim/OverlayNode.cpp: Work in progress on shaders support - -2007-06-01 16:14 robert - - * include/osgViewer/ViewerEventHandlers: From Paul Martz, added - Win32 export - -2007-06-01 11:21 robert - - * examples/osgsimulation/osgsimulation.cpp: Added recording of - camera paths - -2007-06-01 10:42 robert - - * applications/osgviewer/osgviewer.cpp, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/ViewerEventHandlers.cpp: Changed name of - AnimationPathHandler to RecordCameraPathHandler - -2007-06-01 10:39 robert - - * applications/osgviewer/osgviewer.cpp, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/ViewerEventHandlers.cpp: From Jeremy Moles, new - event handler to record the camera path. A few small tweaks by - Robert Osfield to make it more consistent with the old - osgProducer::Viewer behavior. - -2007-05-30 17:56 robert - - * src/osgSim/OverlayNode.cpp: Improved taper ratio computation - -2007-05-30 16:36 robert - - * src/osgSim/OverlayNode.cpp: Added set up of overlay stateset - -2007-05-30 14:18 robert - - * src/osgSim/OverlayNode.cpp: Added trapezodial fitting code - -2007-05-30 09:25 robert +Note, there's a nasty const_cast in there. Why isn't osgText::Font::getGlyph() declared const? - * src/osg/GraphicsContext.cpp: Fixed case of when view==NULL +Also, as a note, the current implementation of cut, copy and paste (in addition to being Windows only, yuck) gets and puts the data into an std::string, thus if the osgText::String in the field contains unicode characters I think it won't work correctly. Perhaps someone could implement a proper clipboard class that would be cross-platform and support osgText::String (more precisely other languages like Chinese) correctly? Cut, copy and paste are not critical to what I'm doing so I won't invest the time to do that, but I just thought I'd mention it. +" -2007-05-29 18:39 ewing - * Xcode/OpenThreads/OpenThreads.xcodeproj/project.pbxproj: Stephan - Huber: Adding missing Xcode project file. -2007-05-29 14:19 shuber +Thu, 9 Sep 2010 10:44:11 +0000 +Checked in by : Robert OSFIELD +From Torben Dannhauer, "I extended the attached CMAKE module to search for the collada libraries of my VS2008 3rdParty package if no other library is found.No CMAKE should recognize all libraries of the VS2008 3rdParty Package." - * Xcode/OpenThreads, Xcode/OpenThreads/English.lproj, - Xcode/OpenThreads/English.lproj/InfoPlist.strings, - Xcode/OpenThreads/Info.plist, - Xcode/OpenThreads/OpenThreads.xcodeproj, - Xcode/OpenThreads/OpenThreads_Prefix.pch, - Xcode/OpenThreads/version.plist: From Stephan Huber, updated - OpenThreads-XCode-project files -2007-05-29 13:28 robert - * examples/osgsimulation/osgsimulation.cpp: Added support for - specifying which screen number to place the window +Thu, 9 Sep 2010 10:17:55 +0000 +Checked in by : Robert OSFIELD +From Joachim Pouderoux, "Please find attached a very small fix for the DXF reader. The bug made OSG crash with some files. Actually, itr was incremented into the loop and after the test with nlist.end(). Then, the unreferencing of itr when nlist is equals to nlist.end() caused the crash." -2007-05-29 10:31 robert +Thu, 9 Sep 2010 10:14:54 +0000 +Checked in by : Robert OSFIELD +From Joachim Pouderoux, "I have added the support for wkbMultiPolygon & wkbMultiPolygon25D in the OGR plugin (it was mysteriously missing and no prevent warning messages was print)." - * src/osgUtil/Tessellator.cpp: From Sherman Wilcox, "The issue - itself occurs when a model is tessellated - that has greater than unsigned short number of vertexes. An - object - called vertexPtrToIndexMap contains vertexes and their indexes. - This - std::map object can obviously hold a quantity that is greater - than - unsigned short, however osg::DrawElementsUShort objects were - being - created to reference these vertexes and their indexes. - osg::DrawElementsUShort can only hold indexes that are 16-bit - quantities. - - ... - - proposed_patch_2\tessellator.cpp. This solution examines the size - of - vertexPtrToIndexMap and selects 1 of 3 possible osg::DrawElements - objects: DrawElementsUByte, DrawElementsUShort, or - DrawElementsUInt. - The main drawback of this particular solution is the code - duplication. - However, the repair is straightforward." +Thu, 9 Sep 2010 10:09:31 +0000 +Checked in by : Robert OSFIELD +From Tassilo Glander, "I want to submit a fix for the plugin to load .x model files (Direct X).The current version crashes when encountering global materials, as also reported in the forum by the author of the plugin. -2007-05-29 10:01 robert +The problem in mesh.cpp (app. ln 247) is, that references to global materials that are given in curly brackets {} are not supported by the reader. However, curly brackets seem to be common, according to Bourke. Unfortunately, I found no specification. However, also the DirectX model viewer that comes with the DirectX-SDK (August 2009) expects curly brackets and refuses models without them. - * CMakeModules/Find3rdPartyDependencies.cmake: From Olaf Flebbe, - "recently I discovered that the freetype plugin does not work, - because - CMake doesn't recognize it properly on windows. - - 1) the header detection on a directory "freetype" fails, it seems - to - need a filename: "ft2build.h" actually works. - - 2) the 3rdparty I am supplying for FlightGear contains - freetype-2.3.4. I - added the correct library naming for this particular release. - - I double-checked my directory layout with the 3rdparty supplied - by other - OSG contributors." +My fix checks 2 more cases ("{ aMaterial }" -> 3 tokens and "{aMaterial}" -> 1 token), and extracts the material name for the lookup. I don't know if this is the most elegant solution, but the tokenizer seems to split based on white spaces. -2007-05-29 09:57 robert +You can reproduce the bug with the attached model (box.x), which loads fine in other tools, such as 3DSmax, DeepExploration or the DirectX model viewer. When I remove the curly brackets at the reference of "myGlobalMaterial", it loads in osgviewer, but is not standard conform. +" - * examples/osgunittests/UnitTestFramework.cpp: From Olar Flebbe, - "Visual Studio 2005 triggered a small glitch in - UnittestFramework.cpp - - Do not derefence it2 if it is at end()." -2007-05-29 07:25 robert - * doc/Doxyfiles/all_Doxyfile, doc/Doxyfiles/auto_Doxyfile, - doc/Doxyfiles/auto_Mainpage, doc/Doxyfiles/core_Doxyfile: Changed - SHORT_NAMES = NO to SHORT_NAMES = YES to avoid crappy Windows - problems +Thu, 9 Sep 2010 10:03:58 +0000 +Checked in by : Robert OSFIELD +From Roland Smeenk, "this submission adds a "Fast Drawable" line to the camera scene statistics. It shows the total number of sorted and unsorted drawables that use the fastpath for rendering." -2007-05-28 15:44 robert +Thu, 9 Sep 2010 09:47:31 +0000 +Checked in by : Robert OSFIELD +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. " - * examples/osgspheresegment/osgspheresegment.cpp: Added --object, - --ortho and --persp OverlayNode options +Thu, 9 Sep 2010 09:05:33 +0000 +Checked in by : Robert OSFIELD +Added version check for av_lockmgr_register support. -2007-05-28 15:27 robert +Thu, 9 Sep 2010 08:47:12 +0000 +Checked in by : Robert OSFIELD +From Nathan Monteleone and Robert Osfield,submission email from Nathan: "I discovered a problem with POINT_ROT_EYE billboards in IntersectionVisitor: because we pass in just the model matrix to Billboard::computeBillboardMatrix, the billboard gets the wrong up vector. It really needs to take the view matrix into account to get the correct up vector. - * src/osgSim/OverlayNode.cpp: Fixed handle on non ellipsoid models +This version of IntersectionVisitor.cpp is made against today's SVN. It corrects the problem by computing the billboard matrix using the complete modelview, and then multiplies by the inverse of the view matrix before pushing onto IntersectionVisitor's model stack. The only code I changed is in apply(Billboard&)." -2007-05-28 15:17 robert +notes from Robert, refactored the matrix multiplication code and the use of RefMatrix to make Nathan's changes more efficient. - * examples/osganimate/osganimate.cpp: Improved the accuracy of the - overlaynode settings -2007-05-28 13:56 robert - * examples/osganimate/osganimate.cpp, src/osgSim/OverlayNode.cpp: - Added project down to base implementation. -2007-05-28 10:48 robert +Wed, 8 Sep 2010 11:02:39 +0000 +Checked in by : Robert OSFIELD +Cleaned up debug info, and changed Text3D across to using GL_NORMALIZE instead of GL_RESCALE_NORMAL. - * AUTHORS.txt, ChangeLog: Updated ChangeLog and AUTHORS.txt for - 1.9.6 release +Wed, 8 Sep 2010 10:46:49 +0000 +Checked in by : Robert OSFIELD +Added support for honouring PrimitiveSet names in new smoothing algorithm -2007-05-28 10:17 robert - - * CMakeLists.txt, README.txt, include/osg/Version, - include/osgViewer/Export, - src/osgWrappers/osgManipulator/Dragger.cpp: Updated version - number, wrappers and readme for release - -2007-05-28 10:14 robert - - * include/osgManipulator/CommandManager, - include/osgManipulator/Dragger, src/osgManipulator/Dragger.cpp, - src/osgManipulator/Projector.cpp: From Frauciel Luc, "Added - support for other pointers than mouses by using a nearpoint and - farpoint instead of mousex,mousey + Camera (see Dragger and - Dragger.cpp). - The major modification concern the LineProjector class in - Projector.cpp. The intersection was previously done in window - space, I've modified it to compute it in object space." - -2007-05-28 09:30 robert - - * doc/ProgrammingGuide: Removed old ProgrammingGuide as this is now - replaced by the proper Quick Start Guide. - -2007-05-27 19:35 robert - - * genwrapper.conf, include/osgDB/Registry, - src/osgWrappers/osgDB/Registry.cpp: Updated wrappers - -2007-05-27 18:18 robert - - * src/osgWrappers/osgViewer/Scene.cpp: Updated wrappers - -2007-05-27 17:29 robert - - * examples/osgcallback/osgcallback.cpp, - examples/osgspheresegment/osgspheresegment.cpp, - include/osgViewer/Scene, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/Scene.cpp, src/osgViewer/Viewer.cpp: Added camera - event callback support into osgViewer - -2007-05-27 15:24 robert - - * src/osgViewer/Scene.cpp, src/osgViewer/Viewer.cpp: Updated - calling of master camera's update callback - -2007-05-27 14:52 robert - - * src/osgViewer/Viewer.cpp: Added testing to see if camera allows - events before automatically attaching a trackball manipulator - -2007-05-27 14:49 robert - - * examples/osganimate/osganimate.cpp: Added option for using the - different overlay techniques. - -2007-05-26 16:02 robert - - * src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osgDB/Registry.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Updated wrappers - -2007-05-26 15:55 robert - - * README.txt, configure: Added a basic configure script to allow - the setting of Release build by default. - -2007-05-26 15:49 robert - - * include/osg/CullSettings, include/osgUtil/SceneView, - src/osgUtil/SceneView.cpp: Fixes to help C# binding dev. - -2007-05-26 15:47 robert - - * src/osgViewer/CompositeViewer.cpp: From Blake Williams, "I - discovered why the \u2013CompositeViewer option for the osghud - example does not work. The run() function adds a camera - manipulator to each view that does not have one assigned, which - causes the view with the HUD camera to point somewhere other than - where it should. I just added a check before a new default camera - manipulator is added to ensure that the view allows event focus - before a camera manipulator is added." - - - -2007-05-26 15:42 robert - - * src/osgPlugins/OpenFlight/Document.cpp, - src/osgPlugins/OpenFlight/Document.h, - src/osgPlugins/OpenFlight/LightPointRecords.cpp, - src/osgPlugins/OpenFlight/PaletteRecords.cpp, - src/osgPlugins/OpenFlight/Pools.h, - src/osgPlugins/OpenFlight/ReaderWriterFLT.cpp: From Charles Cole, - "Attached are mods to the OpenFlight plug-in to help further - implement - the specification. With these mods, blink sequences are now - created for - flashing light point nodes, either palletized (v.15.8 and later) - or - non-palletized (15.7 and earlier). Thanks to Brede for his - implementation of the palletized light point nodes. - - There is still work to do on adding the capability to properly - handle - light point system nodes, but this does add some capability that - did not - previously exist. So, I wanted to at least submit this and I will - hopefully provide the additional capability in the near future. - - I've tested the code modifications with Visual Studio 2005. I - don't - have the means to test any other operating system, but I would - suspect - that there shouldn't be any issue (famous last words). I used the - test - files that I uploaded to the users forum to test the changes. - - In addition to the added capability, I changed the light point - node - radius to the "actualPixelSize" value in the file. Previously, - the - radius was set to half the actual pixel size (see - LightPointRecords.cpp). Not sure why this was the case. But, it - was - brought to my attention by a co-worker who created the OpenFlight - files - and was testing them with different viewers. If there's some - history - for setting the radius to half the size, then this change can be - omitted." - -2007-05-26 15:17 robert - - * doc/Doxyfiles/all_Doxyfile, doc/Doxyfiles/auto_Doxyfile, - doc/Doxyfiles/auto_Mainpage, doc/Doxyfiles/core_Doxyfile: Added - exclude of svn directories. - -2007-05-25 19:35 robert - - * src/osgPlugins/OpenFlight/LightPointRecords.cpp: From Charles - Cole, "he attached code - implements the LightPointSystem class to allow for the OpenFlight - plug-in to read and handle light point system nodes. The behavior - is - very similar to the old plug-in in that a MultiSwitch node is - created to - handle the "enabled" flag bit set in the node record. The code - also - reverts the changes for the actualPixelSize as mentioned above. - And - lastly, the code requires the previously submitted changes for - the - plug-in. - - As for the other changes, I've tested the code with Visual Studio - 2005 - and the files that I posted in the users forum. - - With all of the submitted changes, the OpenFlight plug-in should - now be - capable of loading files with light point system nodes and the - use of - palletized light points and non-palletized light points. - " - -2007-05-25 19:32 robert - - * examples/osgsimulation/osgsimulation.cpp: Comment out the setting - of single threading. - -2007-05-25 16:00 robert - - * include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: Added - s/getOverlayBaseHeight methods - -2007-05-25 15:57 robert - - * src/osg/GraphicsContext.cpp: Added some debug message to the - set/getWindowSystemInterface function - -2007-05-25 15:27 robert - - * include/osgDB/Registry, src/osgPlugins/ive/ReaderWriterIVE.cpp: - Introduce C entry point support for plugin setup for better - static build support - -2007-05-25 15:26 robert - - * src/osgViewer/GraphicsWindowX11.cpp: Added C entry point - graphicswindow_X11() to help with static build support +Wed, 8 Sep 2010 08:09:01 +0000 +Checked in by : Robert OSFIELD +From Jean-Sebastien Guay, build fixes for Windows -2007-05-25 15:25 robert +Tue, 7 Sep 2010 19:55:41 +0000 +Checked in by : Robert OSFIELD +Removed files that have been moved into osgText. - * examples/CMakeLists.txt, examples/osgstaticviewer, - examples/osgstaticviewer/CMakeLists.txt, - examples/osgstaticviewer/osgstaticviewer.cpp: Added - osgstaticviewer example to demonstrate how to put a static lib - built viewer +Tue, 7 Sep 2010 18:20:03 +0000 +Checked in by : Robert OSFIELD +Moved Glyph and Glyph3D out of Font header/source file into their own header/source file. -2007-05-25 13:15 robert +Tue, 7 Sep 2010 18:18:35 +0000 +Checked in by : Robert OSFIELD +Moved TextNode into osgText.Cleaned up freetype plugin so it no longer does tesselation - instead Glyph and TextNode do this. - * CMakeModules/OsgMacroUtils.cmake, - examples/osgsimpleviewerWX/CMakeLists.txt: From Luigi Calori, - build fixes for Win32 build osg WxWidgets example -2007-05-25 10:14 robert - * src/osgSim/OverlayNode.cpp: Implemnet clampping of ovleray - polytope to base plane +Mon, 6 Sep 2010 15:43:59 +0000 +Checked in by : Robert OSFIELD +Further work on new 3D text support -2007-05-25 10:13 robert +Fri, 3 Sep 2010 15:03:42 +0000 +Checked in by : Robert OSFIELD +Added basic wiring up of TextTechnique to 3D glyph code - * src/osgGA/NodeTrackerManipulator.cpp: Changed debug message to - INFO +Fri, 3 Sep 2010 09:10:27 +0000 +Checked in by : Robert OSFIELD +Removed now redundent Font3D files -2007-05-24 16:11 robert +Fri, 3 Sep 2010 09:08:19 +0000 +Checked in by : Robert OSFIELD +Refactored to use a typedef of Font to Font3D rather than have a separate Font3D class - * src/osgPlugins/pnm/ReaderWriterPNM.cpp: From Colin McDonald, "The - writeImage method in ReaderWriterPNM.cpp had an error checking - the - accepted file extensions, so that once the plugin was loaded in - the - Registry it would grab any image file write request, regardless - of the - file extension. This was a particular problem if it was - statically loaded." +Fri, 3 Sep 2010 08:26:46 +0000 +Checked in by : Robert OSFIELD +Refactored osgText::Font so that it now supports both 2D and 3D glyphs.Added TextNode.h and TextNode.cpp to examples/osgtext3D in prep for introducing the new node to osgText library -2007-05-24 14:20 robert - * src/osgSim/OverlayNode.cpp: Improved the polytope cutting and - project calculation - -2007-05-24 10:15 robert - - * include/osg/TemplatePrimitiveFunctor: From Peter Hrenka, fixes - regarding line-strips and -loops. - -2007-05-24 09:49 robert - - * src/osgPlugins/txf/TXFFont.cpp: From Olaf, "there are more - dubious calls to istream::readsome instead of - istream::read. IMHO it does make no sense here and potentially - breaks - this plugin." - -2007-05-24 08:51 robert - - * src/osgViewer/CMakeLists.txt: From Serge Lages, support for - install api directories, with tweaks from Robert Osfield - -2007-05-23 19:30 robert - - * src/osgSim/OverlayNode.cpp: Fixed brackets - -2007-05-23 19:25 robert - - * CMakeModules/OsgMacroUtils.cmake: Added automatic building of - plugins as static when dynamic build is switch off. - -2007-05-23 15:24 robert - - * src/osgPlugins/jp2/CMakeLists.txt: From Anders Backman, add - -DJAS_WIN_MSVC_BUILD for Win32 build - -2007-05-23 15:14 robert - - * src/osgShadow/ShadowMap.cpp: Made the local shaders definitions - static const char to avoid multiple definiations - -2007-05-23 14:55 robert - - * src/osgSim/OverlayNode.cpp: Added insertion of center point into - object polytope - -2007-05-23 13:26 robert - - * src/osgSim/OverlayNode.cpp: Added angular sorting of the points - on the plane intersecting the cut plane. - -2007-05-23 12:35 robert - - * src/osgWrappers/osgTerrain/ValidDataOperator.cpp: Updated - wrappers - -2007-05-23 12:21 robert - - * src/osgViewer/CMakeLists.txt: Added platform specific - GraphicsWindow* headers to public headers listings - -2007-05-23 11:05 robert - - * examples/osgkeyboardmouse/osgkeyboardmouse.cpp, - include/osg/TemplatePrimitiveFunctor, - src/osgUtil/PolytopeIntersector.cpp: From Peter Hrenka, (note - from Robert Osfield, renamed GenericPrimitiveFunctor mention - below to TemplatePrimitiveFunctor). - - "Since we desperately needed a means for picking Lines - and Points I implemented (hopefully!) proper geometrical tests - for the PolytopeIntersector. - - First of all I implemented a new "GenericPrimiteFunctor" - which is basically an extended copy TriangleFunctor which also - handles Points, Lines and Quads through suitable overloads of - operator(). I would have liked to call it "PrimitiveFunctor" - but that name was already used... - I used a template method to remove redundancy in the - drawElements method overloads. If you know of platforms where - this will not work I can change it to the style used - in TriangleFunctor. - - In PolytopeIntersector.cpp I implemented a - "PolytopePrimitiveIntersector" which provides the needed - overloads for Points, Lines, Triangles and Quads to - the GenericPrimitiveFunctor. This is then used in the - intersect method of PolytopeIntersector. - - Implementation summary: - - Points: Check distance to all planes - - Lines: Check distance of both ends against each plane. - If both are outside -> line is out - If both are in -> continue checking - One is in, one is out -> compute intersection point (candidate) - Then check all candidates against all other polytope - planes. The remaining candidates are the proper - intersection points of the line with the polytope. - - Triangles: Perform Line-Checks for all edges of the - triangle as above. If there is an proper intersection - -> done. - In the case where there are more than 2 polytope - plane to check against we have to check for the case - where the triangle encloses the polytope. - In that case the intersection lines of the polytope - planes are computed and checked against the triangle. - - Quads: handled as two triangles. - - This is implementation is certainly not the fastest. - There are certainly ways and strategies to improve it. - - - I also enabled the code for PolytopeIntersector - in osgkeyboardmouse and added keybindings to - switch the type of intersector ('p') and the picking - coordinate system ('c') on the fly. Since the - PolytopeIntersector does not have a canonical - ordering for its intersections (as opposed to - the LineSegementIntersector) I chaged the - implementation to toggle all hit geometries. - - - I tested the functionality with osgkeyboardmouse - and several models and it seems to work for - polygonal models. Special nodes such as billboards - do not work. - - - The next thing on my todo-list is to implement - a an improved Intersection-Structure for the - PolytopeIntersector. We need to know - which primitives where hit (and where). - - " - -2007-05-23 10:57 robert - - * applications/osgconv/osgconv.cpp: Added debug timing code - -2007-05-22 15:17 robert - - * include/osg/AutoTransform: Added _firstTimeToInitEyePoint = true - to the setAutoRotateMode to force the AutoTransform - to recompute its position on next frame. - -2007-05-22 14:00 robert - - * src/osgPlugins/ac/Geode.cpp: From Roger James, "Here is a small - fix for the ac3d plugin geode.cpp. The fix is entirely localised - to ac3d::Geode::OutputTriangleStripDARR. - - - - It resolves an issue when processing a DrawArrayLengths with - multiple lengths where the vertex indices were incorrect for all - but the first chunk." - -2007-05-22 13:48 robert - - * src/osgViewer/CompositeViewer.cpp: Changed the way the the - InputRange is adjusted on the event state to fix bugs related to - picking - -2007-05-22 09:32 robert - - * include/osg/Camera, src/osg/Camera.cpp, - src/osg/GraphicsContext.cpp, src/osgWrappers/osg/Camera.cpp: - Added osg::Camera::ProjectionResizePolicy enum and associated - methods for controlling - how the field of view is adjust on window resizes. - -2007-05-21 18:46 robert - - * include/osgViewer/Viewer, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/Viewer.cpp: Added extra checks to make sure that - graphics operations arn't done on no longer valid graphics - contexts - -2007-05-21 18:17 robert - - * src/osgViewer/Viewer.cpp: Fixed Viewer::checkWindowStatus() to - work correctly when running single threaded - -2007-05-21 13:15 robert - - * examples/osgsimpleviewerWX/osgsimpleviewerWX.cpp: Reverting - Luigi's addition of argv[1] as it breaks the build. - -2007-05-21 12:34 robert - - * README.txt: Updated readme - -2007-05-21 12:30 robert - - * examples/osgsimpleviewerWX/osgsimpleviewerWX.cpp: From Luigi - Calori, changed hardwired "cow.osg" paramter to argv[1] - -2007-05-21 12:28 robert - * examples/osgsimpleviewerWX/osgsimpleviewerWX.cpp, - examples/osgsimpleviewerWX/osgsimpleviewerWX.h: Converted tabs to - 4 spaces +Thu, 2 Sep 2010 07:55:36 +0000 +Checked in by : Robert OSFIELD +Added to Text::resizeGLObjectBuffers(uint) the follow: _textureObjectBuffer.resize(maxSize); + _texParametersDirtyList.resize(maxSize); -2007-05-21 12:26 robert - * AUTHORS.txt, applications/osgversion/osgversion.cpp: Updated - version file for 1.9.5 release -2007-05-21 11:49 robert - * include/osgSim/OverlayNode: Fixed const method type +Wed, 25 Aug 2010 16:59:27 +0000 +Checked in by : Robert OSFIELD +Implemented a greedy triangle associate technique to minimize the number of duplicate vertices required to produce crease angles. -2007-05-21 09:27 robert +Wed, 25 Aug 2010 14:34:08 +0000 +Checked in by : Robert OSFIELD +Changed --flat to --flat-shaded to avoid conflict with oiginal --flat ratio control. - * CMakeLists.txt, include/osg/Version: Updated version numbers for - 1.9.5 release +Wed, 25 Aug 2010 11:07:30 +0000 +Checked in by : Robert OSFIELD +Cleaned up main and introduced --samples , --flat, --smooth command line controls.Add StatsHandler to viewer to enable review of different settings on number vertices/triangles. -2007-05-21 09:18 robert - * ChangeLog: Updated ChangeLog -2007-05-21 08:01 robert +Wed, 25 Aug 2010 11:06:10 +0000 +Checked in by : Robert OSFIELD +Added support for controlling the number of curves samples to generate on Glyph3D's. Set via Font3D::setNumberCurveSamples(num). - * src/osgPlugins/txf/ReaderWriterTXF.cpp, - src/osgPlugins/txf/TXFFont.cpp: From Olaf Flebbe, "FlightGear/OSG - on Windows did not load the Texture Fonts. - - 1) TXF Fonts are binary. - 2) Do not rely on the result of istream::readsome if buffer _is_ - empty - and no data have been read before." +Tue, 24 Aug 2010 16:08:50 +0000 +Checked in by : Robert OSFIELD +Implemented the shell geometry code -2007-05-21 07:54 robert +Tue, 24 Aug 2010 16:06:31 +0000 +Checked in by : Robert OSFIELD +Added "SORT_BACK_TO_FRONT" and "SORT_FRONT_TO_BACK" RenderBin's to default prototype list - * include/osgManipulator/Export: Added static build support to - export macros +Tue, 24 Aug 2010 14:22:58 +0000 +Checked in by : Robert OSFIELD +Refactored 3d text geometry creation code so that the text is all placed in one osg::Geometry. -2007-05-21 06:57 robert +Fri, 20 Aug 2010 10:24:06 +0000 +Checked in by : Robert OSFIELD +Fixed bug in handling large osg::Geometry. - * src/osgPlugins/osg/ReaderWriterOSG.cpp: Added - istream:imbue(std::locale::classic()) setting to prevent non - classic locals - from being used when the .osg plugin reads and writes. +Thu, 19 Aug 2010 16:24:08 +0000 +Checked in by : Robert OSFIELD +Implemented generation of front, back and bevel geometries to complete the 3d glyphs. -2007-05-20 17:38 robert +Wed, 18 Aug 2010 11:14:58 +0000 +Checked in by : Robert OSFIELD +Improved the detection of problem vetices and associated triangles - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake: Introduced - VERSION and SOVERSION'ing of libraries. +Tue, 17 Aug 2010 19:48:19 +0000 +Checked in by : Robert OSFIELD +Fixed indentation -2007-05-20 13:42 robert +Tue, 17 Aug 2010 19:48:07 +0000 +Checked in by : Robert OSFIELD +Implemented basic duplication of points that sit on sharp edges. - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: From Stephan Huber, - "attached you'll find some modifications and enhancements to the - carbon's - implementation of GraphicsWindow: - - - usage of WindowData, you can specify an existing window to use - via - osg::Traits - - implementation of setScreenResolution and setScreenRefreshRate - - implementation of setWindowDecoration when window is already - created. - - There seems to be a bug regarding multiple threads and closing - windows, - see my other mail on osg-users. - " +Tue, 17 Aug 2010 13:25:46 +0000 +Checked in by : Michael PLATINGS +From Donn Mielcarek: The fbx plugin won't compile using gcc 4.3.2. I made the following minor changes:1. WriterNodeVisitor.cpp needed limits.h added to the headers. -2007-05-20 12:29 robert +2. gcc does not allow structures to be defined inside of functions, so + I moved the definition of PolygonRef out of the function to a global + scope (right above the function readMesh). - * CMakeLists.txt, CMakeModules/OsgMacroUtils.cmake, - src/osgDB/FileUtils.cpp, src/osgPlugins/CMakeLists.txt, - src/osgWrappers/CMakeLists.txt: Added support for version of the - osgPlugins directory, which now gets versioned - according to the OpenSceneGraph/CMakeLists.txt and the - include/osg/Version settings. - These changes mean that the 1.9.5 release will have a - libs/osgPlugins-1.9.5 directory. + I also removed a bunch of embedded carriage returns -2007-05-20 11:45 robert - * CMakeLists.txt, include/osg/Matrix, include/osg/Plane: Added - support for SG_USE_FLOAT_MATRIX and OSG_USE_FLOAT_PLANE in CMake - build and - include/osg/Matrix and include/osg/Plane. +Tue, 17 Aug 2010 13:10:18 +0000 +Checked in by : Robert OSFIELD +Added support for RGTC1 and RGTC2 enums -2007-05-20 11:13 robert +Mon, 16 Aug 2010 15:02:04 +0000 +Checked in by : Robert OSFIELD +From Guillaume Taze, "Here are some bugs fix :- missing copy attribute _referenceFrame in ClipNode in copy constructor +- checked iterators against the end in osgText +- close codec context in ffmpeg plugin to avoid memory leak - * src/osgSim/OverlayNode.cpp: Fixed build error under float matrix - build +" -2007-05-20 09:55 robert - * CMakeLists.txt: From Lugi Calori, added control of lib postfix. -2007-05-19 14:00 robert +Mon, 16 Aug 2010 14:54:16 +0000 +Checked in by : Robert OSFIELD +From Maria Ten, "Importing 3ds files with a texture for the diffuse component and other one for opacity does not work with the osg 3ds plugin. In the attached file, there is a fix to solve this issue but it does not support textures without alpha channel in the opacity component (like black and white textures used in 3ds max to achieve the transparency). There is attached a test 3ds file too. " - * src/osgPlugins/quicktime/MovieData.cpp, - src/osgPlugins/quicktime/MovieData.h, - src/osgPlugins/quicktime/QuicktimeImageStream.cpp, - src/osgPlugins/quicktime/QuicktimeImageStream.h: From Stephan - Huber, "I cleaned the code a little bit and improved the handling - of loops: - - I added a new protected virtual method to ImageStream called - applyLoopingMode() which is called from setLoopingMode. The - quicktime-plugin has an implementation of applyLoopingMode which - sets - some flags for the quicktime, so that quicktime handles the loop - playback by itself. - - This has some benefits: - - + no gaps when looping audio - + simplified code - - Attached you'll find the modified files, hope you'll find them - useful." +Mon, 16 Aug 2010 14:39:53 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, "Attachment is the implementation of the writing operation of the TGA format. I wrote it just for one of my client. At present it only outputs uncompressed RGBA images, but the OSG community can go deeper at any time." -2007-05-19 13:43 robert - - * include/osg/Plane, include/osg/Polytope, - src/osgSim/OverlayNode.cpp, src/osgWrappers/osg/Plane.cpp, - src/osgWrappers/osg/Polytope.cpp, - src/osgWrappers/osgGA/EventQueue.cpp, - src/osgWrappers/osgGA/GUIEventAdapter.cpp, - src/osgWrappers/osgSim/ElevationSlice.cpp: Various additions to - better support view dependent overlay node, and updated wrappers +Mon, 16 Aug 2010 14:24:12 +0000 +Checked in by : Robert OSFIELD +Added material setName. -2007-05-19 13:39 robert +Mon, 16 Aug 2010 14:14:03 +0000 +Checked in by : Robert OSFIELD +Added support for USE_RGBT1_COMPRESSION and USE_RGBT2_COMPRESSION - * include/osgGA/EventQueue, include/osgGA/GUIEventAdapter, - src/osgGA/EventQueue.cpp, src/osgGA/GUIEventAdapter.cpp: From - Rafa Giatan and Robert Osfield, added support for User defined - events, by adding - UserData to Events. - -2007-05-19 13:38 robert - - * examples/osgsimulation/osgsimulation.cpp: Made the near far ratio - lower to allow one to be near the terrain before clipping - comes in to effect - -2007-05-19 12:27 robert - - * examples/osgviewerMFC/MFC_OSG.cpp, - examples/osgviewerMFC/MFC_OSG_MDI.vcproj: From Michael Hartman, - "I have made a small change to the osgviewerMFC application that - resolved most of my home computer issues. It seams that my home - computer needed to have the pixel format set with - PFD_DOUBLEBUFFER. - - Also, with the cmake ability you are free to remove the - MFC_OSG_MDI.vcproj file. - " - -2007-05-19 12:16 robert - - * examples/osgsimpleviewerWX/CMakeLists.txt: From Lugi Calori, fix - for Win32 build of osgsimpleviewerWX - -2007-05-19 07:08 robert - - * src/osg/Drawable.cpp: In Drawable::releaseGLObjects() replaced - glDeleteLists with Drawable::deleteDisplayList(..) to prevent - inappropriate OpenGL deletion when current thread does have - required grpahics contxt - -2007-05-18 11:22 robert - - * src/osgWrappers/osg/GraphicsContext.cpp, - src/osgWrappers/osgViewer/View.cpp: Updated wrappers - -2007-05-18 10:33 robert - - * include/osgViewer/View, src/osgViewer/View.cpp, - src/osgViewer/Viewer.cpp: Added support for tracking the - CoordinateSystemNode path, and passing this on to - camera manipulators. - -2007-05-18 09:49 robert - - * examples/osgsimulation/osgsimulation.cpp: Added range of - CameranManipulators to allow us to navigate the scene freely - -2007-05-18 09:43 robert - - * examples/osgsimulation/osgsimulation.cpp: Added -f/--fixed option - to allow use to freeze the animation of the cessna. - -2007-05-17 19:58 robert - - * examples/osgstereoimage/osgstereoimage.cpp, - include/osgViewer/View, src/osgViewer/CompositeViewer.cpp, - src/osgViewer/View.cpp, src/osgViewer/Viewer.cpp: Added support - for View::setFustionDistance(..) - -2007-05-17 15:39 robert - - * src/osgSim/OverlayNode.cpp: Improved view dependent camera - positioning - -2007-05-17 13:20 robert - - * src/osgUtil/CullVisitor.cpp: Added saving and restoring of the - near/far planes during Camera setup - -2007-05-17 11:55 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Serge Lages, "Here is - a modified GraphicsWindowWin32.cpp which handle double click - events. - I've modified the file submitted yesterday by Andre and not the - current SVN version." - -2007-05-17 11:48 robert - - * CMakeLists.txt, CMakeModules/cmake_uninstall.cmake.in: From David - Callu, "I have added the uninstall command at the end of the - first file, - and the configuration file template use by the command is the - second file. - - The command use the cmake_install.cmake file which list all file - installed by the install target. - this issue come from the CMake FAQ" - -2007-05-17 11:04 robert - - * examples/CMakeLists.txt, examples/osgviewerMFC/CMakeLists.txt, - examples/osgviewerMFC/MFC_OSG.cpp, - examples/osgviewerMFC/MFC_OSG.h: From Michael Hartman, "I have - gone in and created a CMakeList.txt file for osgviewerMFC - application. - - Below is the changes made to the included files. The examples - CMakeList.txt file was not included but the code change needed - for osgviewerMFC inclusion is listed below. - - - - CMakeList.txt: - - This is a little different than other example cmakelist.txt files - in that I could not use the setup_example macro. I had to go in - and extract out the important parts of the macro and inline them - in the CMakeList.txt file so that I could add the WIN32 - declaration into the ADD_EXECUTABLE() statement. In the future - the setup_example macro might be modified to support osgviewerMFC - but this is special case so you might not want to muddy the water - for one example. - - - - - - MFC_OSG.h: - - This file had some small changes: - - From: #include - - To: #include - - - - Also added two new function declarations - - Void PreFrameUpdate(void); - - Void PostFrameUpdate(void); - - - - - - MFC_OSG.cpp: - - This file changed only in that I am explicitly showing the viewer - run loop and added the two new functions in the MFC_OSG.h file. - - - - " - -2007-05-17 10:59 robert - - * CMakeLists.txt, include/osg/BufferObject, - src/osgPlugins/ac/ac3d.cpp, src/osgPlugins/osg/Sequence.cpp: From - Andre Garneau, warnings fixes fo VC++ - -2007-05-17 10:33 robert - - * include/osg/GraphicsContext, - src/osgViewer/GraphicsWindowWin32.cpp: From Andre Garneau,"Please - find attached changes to have the GraphicsWindowWin32 class - selectively set the pixel format for windows that are inherited, - following - some discussions on the mailing list last week. - - This is implemented through a new traits flag - (setInheritedWindowPixelFormat) with a default state of false (to - avoid - breaking existing applications). When set to true, the pixel - format of the - inherited window will be set according to the traits - specifications. - " - -2007-05-16 19:19 robert - - * examples/osgsimulation/osgsimulation.cpp, - src/osgSim/OverlayNode.cpp: Futher work on view dependent - OverlayNode - -2007-05-16 14:22 robert - - * include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp, - src/osgWrappers/osgUtil/CullVisitor.cpp: Refactored the internals - of OverlayNode - -2007-05-16 11:32 robert - - * src/osgSim/OverlayNode.cpp: Added code for computing the frustum - dimensions in local coords to the overlay node - -2007-05-15 19:45 robert - - * src/osgPlugins/ac/ac3d.cpp: From Mathias Froehlich, "This is an - other small update for the ac3d loader: - - It avoids attaching texture coordinates if there is not texture - attached. - - It uses DrawArrayLengths instead of multiple DrawElements." - -2007-05-15 19:32 robert - - * include/osgViewer/api/Carbon/GraphicsWindowCarbon, - src/osgViewer/GraphicsWindowCarbon.cpp: From Blasius Czink, "when - creating windows with decorations (titlebar) the mouse position - should be adjusted." - -2007-05-15 19:25 robert - - * src/osgViewer/GraphicsWindowWin32.cpp: From Laurens Voerman, - "Attached is a version of src\osgViewer\GraphicsWindowWin32.cpp - that - allows to render in software. (maybe also in hardware w/o - wglChoosePixelFormatARB)" - -2007-05-15 17:04 robert - - * include/osgUtil/CullVisitor, src/osgSim/OverlayNode.cpp, - src/osgUtil/CullVisitor.cpp: Added code to better compute the - view frustum that is appropriate for a traversed - subgraph. - -2007-05-15 17:04 robert - - * CMakeLists.txt: Changed back to use find Qt3 and Qt4 separately - to avoid QT error reports - -2007-05-15 14:55 robert - - * src/osgPlugins/ive/IveVersion.h, src/osgPlugins/ive/Sequence.cpp, - src/osgPlugins/osg/Sequence.cpp: From John Kelso, Added support - for new Sequence options. - From Robert Osfield, updated the above changes to the .ive loader - so that the new addition were tested against the IVE version - number - -2007-05-15 14:53 robert - - * examples/osgsimulation/osgsimulation.cpp: Added -n/--no-overlay - option - -2007-05-15 11:31 robert - - * CMakeLists.txt, examples/osgsimpleviewerQT4/CMakeLists.txt: From - Mathieu Marache, "I tried the latest developper release 1.9.4 and - found that I hadn't - the osgsimpleviewerQt4 example in my Visual studio solutions... - After - looking into it it seems that you cannot have both Qt3 and Qt4 - enabled. After modifying the root CMakeLists.txt to use : - - FIND_PACKAGE(Qt) which should ask you to choose betwwen Qt3 and - Qt4 - if you have both - - instead of : - - FIND_PACKAGE(Qt3) - FIND_PACKAGE(Qt4) - - I had the project generated. But then due to the way CMake - handles Qt4 - I had to modify osgsimpleviewerQt4's CMakeLists.txt to have the - binary - link with QtOpengl4. " - -2007-05-15 11:25 robert - - * include/osg/State, src/osg/State.cpp: From Farshid Lashkari, "I - made a modification to the setClientActiveTextureUnit and - setActiveTextureUnit methods of osg::State so they return false - if the - texture unit is outside the range of allowable units for the - driver. - Currently, the functions would return true even if the units are - invalid. This would cause the osg::State to become out of sync - with - the actual driver state, which can cause some bugs in certain - cases. - - The change I made would verify that the unit passed to - setClientActiveTextureUnit is below GL_MAX_TEXTURE_COORDS, and - the - unit passed to setActiveTextureUnit is below - max(GL_MAX_TEXTURE_COORDS,GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS). I - modeled this behavior from the OpenGL docs for these commands - which - can be found here: - - http://www.opengl.org/sdk/docs/man/xhtml/glClientActiveTexture.xml - http://www.opengl.org/sdk/docs/man/xhtml/glActiveTexture.xml - " - -2007-05-15 11:22 robert - - * include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osgSim/OverlayNode.cpp: Futher work on new view - dependent overlay node - -2007-05-14 20:23 robert - - * examples/osgsimulation/osgsimulation.cpp, - include/osgSim/OverlayNode, src/osgSim/OverlayNode.cpp: Set up - new view dependent overlay technique control methods - -2007-05-14 17:01 robert - - * include/osgViewer/ViewerEventHandlers: Added include of - GraphicsWindow to fix wrapper build error - -2007-05-14 16:17 robert - - * include/osgSim/ElevationSlice: Removed redundent comment '.' - -2007-05-14 16:16 robert - - * include/osg/DrawPixels: Fixed parameter name - -2007-05-14 16:14 robert - - * examples/osgsimulation/osgsimulation.cpp, include/osg/Drawable, - include/osgSim/HeightAboveTerrain, include/osgViewer/Viewer, - src/osgWrappers/osg/DrawPixels.cpp, - src/osgWrappers/osg/Drawable.cpp, - src/osgWrappers/osgParticle/ParticleSystem.cpp, - src/osgWrappers/osgParticle/PrecipitationEffect.cpp, - src/osgWrappers/osgViewer/ViewerEventHandlers.cpp: Clean up - comments and rebuilt wrappers. - - Added extra event handlers to osgsimulator example - -2007-05-14 16:13 robert - - * examples/osgsimpleviewerWX/CMakeLists.txt: Replaced - TARGET_ADD_LIBRARIES to TARGET_EXTERNAL_LIBRARIES for WxWidgets - to avoid debug - issues - -2007-05-14 15:16 robert - - * applications/osgviewer/osgviewer.cpp, - include/osgViewer/ViewerEventHandler, - include/osgViewer/ViewerEventHandlers, - src/osgViewer/CMakeLists.txt, - src/osgViewer/ViewerEventHandler.cpp, - src/osgViewer/ViewerEventHandlers.cpp: Renamed ViewerEventHandler - to ViewerEventHandlers - -2007-05-14 15:07 robert - - * applications/osgviewer/osgviewer.cpp, - include/osgViewer/ViewerEventHandler, - src/osgViewer/ViewerEventHandler.cpp: Renamed the ScreenHandler - to WindowSizeHandler, fixed the code style to be conform more - to the rest of the OSG, and moved the osgviewer across to using - the event handlers - in osgViewer. +Mon, 16 Aug 2010 14:11:49 +0000 +Checked in by : Robert OSFIELD +From Lukasz Izdebski, "Texture: added support for GL_EXT_texture_compression_rgtc, I added support (read and write ) for BC4 BC5 Block Compression to dds file format." -2007-05-14 14:41 robert +Mon, 16 Aug 2010 11:03:24 +0000 +Checked in by : Robert OSFIELD +Changed setTransformation(eye, center, up) paramter ordering to match gluLookAt conventions. - * include/osgViewer/ViewerEventHandler, - src/osgViewer/CMakeLists.txt, - src/osgViewer/ViewerEventHandler.cpp: From Serge Lages, "Here is - a ViewerEventHandler file with a collection of helper handlers - for osgViewer. - Most of the code is from the osgviewer application, I have took - the fullscreen handler and the threading one, and I have just - added a fonctionality to be able to change the screen resolution - in windowed mode." +Mon, 16 Aug 2010 10:11:49 +0000 +Checked in by : Robert OSFIELD +From Bradley Anderegg, "I fixed a problem with a stack overflow error in Particle.cpp. When the hexagon particle renders it does a glPushMatrix with no matching glPopMatrix, I simply added a glPopMatrix at the end of the rendering code." -2007-05-14 14:36 robert +Mon, 16 Aug 2010 09:35:59 +0000 +Checked in by : Robert OSFIELD +From Alexander Wiebel, "Documentation of PrimitiveSet" - * src/osgViewer/CMakeLists.txt: Changed tabs to four spaces +Mon, 9 Aug 2010 17:02:31 +0000 +Checked in by : Robert OSFIELD +From David Fries, merge from a series of related submission emails:"enable thread locking in libavcodec -2007-05-14 09:43 robert +This is required for a multithreaded application using ffmpeg from +another thread." - * AUTHORS.txt: Updated authors file +"Prevent the audio from videos from hanging on exit if they are paused. +The video decoder already has similar logic." -2007-05-14 09:33 robert +"Add a way to retrieve the creation time for MPEG-4 files." - * CMakeLists.txt, include/osg/Version, - src/osgWrappers/osgTerrain/GeometryTechnique.cpp, - src/osgWrappers/osgTerrain/TerrainNode.cpp, - src/osgWrappers/osgTerrain/TerrainTechnique.cpp: Updated wrappers - and version numbers for 1.9.4 dev release +"fmpeg, improve wait for close logic -2007-05-13 09:54 robert +Both audio and video destructors have been succesfully using the logic, +if(isRunning()) +{ + m_exit = true; + join(); +} +since it was introduced, - * examples/osgterrain/osgterrain.cpp, - include/osgTerrain/TerrainNode, - include/osgTerrain/TerrainTechnique, - src/osgTerrain/GeometryTechnique.cpp, - src/osgTerrain/TerrainNode.cpp: Added TerrainNode::init() and - s/getTreatBoundariesToValidDataAsDefaultValue flag. +but the close routines are using, +m_exit = true; +if(isRunning() && waitForThreadToExit) +{ + while(isRunning()) { OpenThreads::Thread::YieldCurrentThread(); } +} +which not only is it doing an unnecessary busy wait, but it doesn't +guaranteed that the other thread has terminated, just that it has +progressed far enough that OpenThreads has set the thread status as +not running. Like the destructor set the m_exit after checking +isRunning() to avoid the race condition of not getting to join() +because the thread was running, but isRunning() returns false. -2007-05-11 20:16 robert +Now that FFmpeg*close is fixed, call it from the destructor as well +to have that code in only one location." - * include/osgTerrain/ValidDataOperator: Added include -2007-05-11 19:28 robert - * src/osgWrappers/osgTerrain/Layer.cpp, - src/osgWrappers/osgViewer/CompositeViewer.cpp, - src/osgWrappers/osgViewer/Viewer.cpp: Updated wrappers -2007-05-11 19:25 robert +Mon, 9 Aug 2010 16:19:50 +0000 +Checked in by : Robert OSFIELD +Aded option for doing a glFlush() after compiling texture objects, with a dedicated compile thread default to issuing the glFlush. - * include/osgViewer/CompositeViewer, include/osgViewer/Viewer, - src/osgViewer/CompositeViewer.cpp: Added new areThreadsRunning() - method to Viewer and CompositeViewer. - - Added removeView(View*) method to CompositeViewer - - Added stopping/starting of threads in addView/removeView +Mon, 9 Aug 2010 16:14:25 +0000 +Checked in by : Robert OSFIELD +Cleaned up the inline methods -2007-05-11 18:25 robert +Sun, 8 Aug 2010 15:45:25 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "attached you'll find a small enhancement for GraphicsWindowCocoa, so osgViewer behaves smarter, when the computer will reboot or shutdown. In older versions the reboot/shutdown got cancelled by GraphicsWindowCocoa, now it behaves more system conform. " - * examples/osgterrain/osgterrain.cpp, include/osgTerrain/Layer, - include/osgTerrain/ValidDataOperator, - src/osgTerrain/CMakeLists.txt, - src/osgTerrain/GeometryTechnique.cpp, src/osgTerrain/Layer.cpp: - Added ValidDataOperator base class and NoDataValue and ValidRange - subclasses, and - support for it in osgTerrain::Layer and GeometryTechniqnue. +Sun, 8 Aug 2010 15:44:03 +0000 +Checked in by : Robert OSFIELD +Removed the erroneous subclassing from osg::Observer -2007-05-11 13:45 robert +Sun, 8 Aug 2010 15:34:43 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "This patch simply reduces some messages output in osg::Program from NOTICE to INFO, since they are not important for most users." - * src/osgUtil/SceneView.cpp: From Uwe Woessner, fixed handling of - read/draw buffer in vertical interlaced stereo +Sun, 8 Aug 2010 15:32:58 +0000 +Checked in by : Robert OSFIELD +From Cedric Pinson, "I used the lod of the texture manager to track the instance, and it seems that the number of current active texture is wrong. It's because of the line in Texture::TextureObjectSet::flushDeletedTextureObjects_parent->getNumberActiveTextureObjects() += numDeleted;" -2007-05-11 13:43 robert - * src/osgWrappers/osgTerrain/Layer.cpp: UPdated wrappers -2007-05-11 12:46 robert +Wed, 4 Aug 2010 08:35:49 +0000 +Checked in by : Cedric Pinson +From Rob Smith, makes hardware skinning use of the existing stateset - * CMakeLists.txt, examples/osgsimpleviewerWX/CMakeLists.txt, - examples/osgsimpleviewerWX/osgsimpleviewerWX.cpp: Fixed CMake - support for osgsimpleviewWX +Sat, 31 Jul 2010 10:33:20 +0000 +Checked in by : Robert OSFIELD +From Jan Peciva, "I am sending pov plugin for exporting scene to POV-Ray format. POV-Ray is photorealistic ray tracer." -2007-05-11 12:12 robert +Sat, 31 Jul 2010 10:22:37 +0000 +Checked in by : Robert OSFIELD +From Jeremy Moles, "The version of GCC I use (4.4.3-4ubuntu5) gives the following warning about the Observer header:/home/cubicool/local/include/osg/Observer: In copy constructor +?osg::ObserverSet::ObserverSet(const osg::ObserverSet&)?: +/home/cubicool/local/include/osg/Observer:66: warning: base class ?class +osg::Referenced? should be explicitly initialized in the copy +constructor - * src/osgPlugins/pfb/CMakeLists.txt: From Doug McCorkle, removed - pfdb from link line +I've been fixing this by hand by using the attached Observer header; it +does exactly what the warning requests. Purely cosmetic, I believe, but +other than that OSG seems to compile w/ -W -Wall just fine." -2007-05-11 09:07 robert - * CMakeLists.txt, examples/CMakeLists.txt, - examples/osgsimpleviewerWX, - examples/osgsimpleviewerWX/CMakeLists.txt, - examples/osgsimpleviewerWX/osgsimpleviewerWX.cpp, - examples/osgsimpleviewerWX/osgsimpleviewerWX.h: From Gian - Lorenzetto, osgsimpleviewWX example, CMake support added by - Robert Osfield -2007-05-11 09:05 robert +Sat, 31 Jul 2010 10:20:31 +0000 +Checked in by : Robert OSFIELD +From Farshid Lashkari, "I noticed that some of my applications output the following notification message: no PixelBufferObject 00000000, 00000000 pbo=00000000 - * src/osgWrappers/osg/Uniform.cpp: Updated wrappers +It's kind of annoying since there is nothing actually wrong. The message is generated from TextureRectangle::applyTexImage_subload when it fails to create a pbo, even if the Image object is not even requesting to use a pbo. This message is not generated by all the other code in TextureRectangle.cpp & Texture.cpp that also attempts to create pbo's. I've modified TextureRectangle.cpp to remove this message, so it is at least consistent with the other code." -2007-05-11 08:30 robert - * src/osgPlugins/quicktime/QuicktimeImageStream.cpp: From Brad - Colbert, removed inappropriate rewind on non looping code path. -2007-05-11 08:19 robert +Sat, 31 Jul 2010 10:18:41 +0000 +Checked in by : Robert OSFIELD +From Warren Macchi, "While tracing texture artifacts with the 2.9.8 dev release we uncovered what looks like a type in the "src\osgPlugins\dae\ daeRMaterials.cpp" file. Line 1094 reads: ^^^ + parameters.filter_min = getFilterMode(sampler->getMagfilter()-> + getValue(), false); - * examples/osgviewerMFC, examples/osgviewerMFC/ChildFrm.cpp, - examples/osgviewerMFC/ChildFrm.h, - examples/osgviewerMFC/MFC_OSG.cpp, - examples/osgviewerMFC/MFC_OSG.h, - examples/osgviewerMFC/MFC_OSG_MDI.cpp, - examples/osgviewerMFC/MFC_OSG_MDI.h, - examples/osgviewerMFC/MFC_OSG_MDI.rc, - examples/osgviewerMFC/MFC_OSG_MDI.vcproj, - examples/osgviewerMFC/MFC_OSG_MDIDoc.cpp, - examples/osgviewerMFC/MFC_OSG_MDIDoc.h, - examples/osgviewerMFC/MFC_OSG_MDIView.cpp, - examples/osgviewerMFC/MFC_OSG_MDIView.h, - examples/osgviewerMFC/MainFrm.cpp, - examples/osgviewerMFC/MainFrm.h, - examples/osgviewerMFC/ReadMe.txt, - examples/osgviewerMFC/Resource.h, examples/osgviewerMFC/res, - examples/osgviewerMFC/res/MFC_OSG_MDI.ico, - examples/osgviewerMFC/res/MFC_OSG_MDI.rc2, - examples/osgviewerMFC/res/MFC_OSG_MDIDoc.ico, - examples/osgviewerMFC/res/Toolbar.bmp, - examples/osgviewerMFC/stdafx.cpp, examples/osgviewerMFC/stdafx.h: - From Michael Hartman, " Here is the MFC_OSG example. It is very - basic and the community is welcome to enhance/improve this - example. There is one bug documented in the Readme.txt file that - I just have not had time to solve. Also, the code is built - outside of the OSG environment and uses environment variables to - get to the OSG distribution headers and examples. That should be - the only change a user needs to make to get the code to compile." +whereas it should read -2007-05-10 18:07 robert + ^^^ + parameters.filter_mag = getFilterMode(sampler->getMagfilter()-> + getValue(), false); +" - * examples/osgterrain/osgterrain.cpp, include/osgTerrain/Layer, - src/osgTerrain/Layer.cpp: Added supoort for transforming layers - by an offset and scale - -2007-05-10 18:07 robert - - * include/osg/Uniform: Removed rendundent const - -2007-05-10 12:49 robert - - * src/osgTerrain/GeometryTechnique.cpp: Added automatic detection - of alpha values, switching on blending when alpah!=1.0 - -2007-05-10 12:33 robert - - * examples/osgterrain/osgterrain.cpp: Added automatic enabling of - blending when alpha value != 1.0 occur in the color - or transfer function data. - -2007-05-10 11:36 robert - - * src/osgPlugins/dae/CMakeLists.txt: From Daniel Sjolie, build fix - for Windows - -2007-05-10 10:52 robert - - * include/osgViewer/api/Win32/GraphicsWindowWin32: Added getHWND, - getHDC and getWGLContext methods - -2007-05-10 08:20 robert - - * src/osgDB/Registry.cpp, src/osgPlugins/osga/ReaderWriterOSGA.cpp: - Added checks against Options to osga plugin to ensure archives - are only cached - when requested, cleaned up the - Registry::openArchiveImplementation function. - -2007-05-09 13:05 robert - - * src/osgText/Font.cpp: Commented out debug messages - -2007-05-09 12:08 robert - - * src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/Sequence.cpp, - src/osgWrappers/osgDB/Registry.cpp: Updated wrappers - -2007-05-09 11:11 robert - - * include/osg/Sequence, src/osg/Sequence.cpp: From John Kelso, - - "Attached are updates of src/osg/Sequence.spp and - include/osg/Sequence. - - I've taken _sbegin/_send/_ubegin/_uend and _step our of the - include file - and made them local variables in whatever method might need them. - - I got rid of the _recalculate method as it was only getting used - in - one place. - - I also found a cut/paste bug in setMode's START case." - - Note from Robert Osfield, Also includes some guards against - crashes that was occuring in this new - code when handling empty Sequences. - -2007-05-09 10:42 robert - - * src/osgText/Font.cpp: Set default texture size back to 1024x1204 - -2007-05-09 10:41 robert - - * src/osgText/Font.cpp: Added GL_MAX_TEXTURE_SIZE check and use of - OSG_MAX_TEXTURE_SIZE env var to help - hint to osgText that the native OpenGL implementation only - supports textures up to - a given size. - -2007-05-09 10:31 robert - - * src/osgText/Font.cpp: Added use of OSG_MAX_TEXTURE_SIZE for - clamping texture sizes. - -2007-05-09 10:01 robert - - * include/osgDB/Output, src/osgDB/Output.cpp, - src/osgDB/Registry.cpp: From Mike Weiblen, with mods of using - references by Robert Osfield for efficiency. Submission notes - from Mike: - "By repurpose, I'm creating a new plugin that uses much of the - .osg fileformat, - but with some changes. Specifically, I'm creating a ".osgfs" - plugin, which - represents the scenegraph hierarchy as a filesystem of nested - subdirectories and - individual files for each node, rather than nested braces with - everything in a - single monolithic file. I intend to incorporate file alteration - monitor events - to watch the filesystem for modifications and automatically - reload. - - The problem I'm running into is osgDB is too tightly coupled to - the .osg format. - osgDB::Output::writeObject() contains literal .osg - format-specific strings like - "{" to represent the Object hierarchy at too low a semantic - level. I propose - using virtual methods; my plugin can then derive from - osgDB::Output and - represent Object hiearchy differently. - " - -2007-05-09 09:43 robert - - * include/osgDB/Registry, src/osgDB/Archive.cpp, - src/osgDB/Registry.cpp: From Alan Harris, "Registry and Archive - ~~~~~~~~~~~~~~~~~~~~~~~~~ - This is a simple change to permit databases other than those - named - "*.osga" to be used. It is hardcoded in read() at present. - - It is non-critical and does not affect existing program - functionality. - - Registry and Registry.cpp - ~~~~~~~~~~~~~~~~~~~~~~~~~ - Added a new typedef: typedef std::vector< std::string> - ArchiveExtensionList; - - a list of extensions: ArchiveExtensionList _archiveExtList; - - and an "add" method: addArchiveExtension(const std::string ext) - - This is initialised by adding "osga" in Registry() and used in - Registry::read() where the list is searched for the extension - used. - - Archive.cpp - ~~~~~~~~~~~ - This submission is a little more tentative. openArchive() is - modified to - automatically add the filename extension to the Registry - extension list. - " - -2007-05-09 09:26 robert - - * examples/osgunittests/osgunittests.cpp, include/osg/Math, - src/osg/Matrix_implementation.cpp: Added signOrZero template - method, and to Matrix_implementation.cpp usage of this - method in the get(Quat&) code. - -2007-05-09 07:54 robert - - * src/osgText/Font.cpp: Added imageData block initialized to 0 for - first construction of GlyphTexture - -2007-05-08 15:32 robert - - * examples/osgmovie/osgmovie.cpp: Further work on dome correction -2007-05-08 12:18 robert - * examples/osgmovie/osgmovie.cpp: Firt cut at full dome correction - of wrap around movies and imagery +Sat, 31 Jul 2010 10:17:06 +0000 +Checked in by : Robert OSFIELD +From Brad Christiansen, "To build OSG using Visual Studio 2010 Terrain.cpp requires #include . This is a very common fix when using 2010 due to changes in Microsoft STL. " -2007-05-08 10:02 robert +Sat, 31 Jul 2010 09:21:50 +0000 +Checked in by : Robert OSFIELD +Fixed build - * include/osg/CullSettings, src/osgUtil/SceneView.cpp: Added - CullSettings inheritance mask for LIGHTING_MODE and LIGHT +Sat, 31 Jul 2010 09:04:18 +0000 +Checked in by : Robert OSFIELD +From Ryan Kawicki, "I found a memory leak within the Terrex plugin.Out application has the ability to switch to different types of terrains on the fly. This problem only exists in this type of situation. -2007-05-07 22:07 robert +The TXPArchive is held by the ReadWriterTXP class. When the TXPNode, which is the top level node, is released from memory, the archive associated to that TXPNode is also released. The issue is that the reference count on the TXPArchive never gets to zero. - * include/osg/CullSettings, include/osg/View, - include/osgUtil/SceneView, src/osg/View.cpp, - src/osgUtil/SceneView.cpp, src/osgWrappers/osg/CullSettings.cpp, - src/osgWrappers/osg/View.cpp, - src/osgWrappers/osgUtil/SceneView.cpp: Added s/getLightingMode - and s/getLight to osg::View to allow control of the viewers - global light source. +The reason why the reference count never gets to zero is because the TXPParse, which is owned by the TXPArchive, stores a ref_ptr to the TXPArchive. You can then see why this becomes a problem. The TXPParser's ref_ptr cannot be unreferenced since the TXPArchive has not released the TXPParser. -2007-05-07 19:48 robert +Since the TXPParser is fully contained within the TXPArchive, I don't see the reason to have the TXPParser have a ref_ptr to the TXPArchive. I've made this change locally and have had no problems and our memory leak has been fixed. +" - * src/osgViewer/HelpHandler.cpp: Added missing HelpHandler::reset() - implementation -2007-05-07 07:58 robert - * AUTHORS.txt, ChangeLog, README.txt: Updated ChangeLog and - AUTHORS.txt for release +Sat, 31 Jul 2010 09:03:04 +0000 +Checked in by : Robert OSFIELD +From Ryan Kawicki, fixed indentation -2007-05-07 07:51 robert +Sat, 31 Jul 2010 08:57:52 +0000 +Checked in by : Robert OSFIELD +From Stephan Huber, "changed the CmakeFiles for OpenThreads and the osg-frameworks, so they are versioned by OPENSCENEGRAPH_SOVERSION. "And from a later email: - * CMakeLists.txt, INSTALL.txt, README.txt, include/osg/Version: - Updated version numbers for 1.9.3 release, combined INSTALL.txt - and README.txt +"Attached you'll find a fixed version of ModulInstall.cmake. Hopefully it +works for old CMake-versions. I removed the offending line, and the +compile went fine on my end." -2007-05-05 17:05 robert - * src/osgPlugins/pfb/CMakeLists.txt: Added extra external libs -2007-05-05 17:02 robert +Sat, 31 Jul 2010 08:56:44 +0000 +Checked in by : Robert OSFIELD +Added output of triangles at problem vertices - * src/osgPlugins/dae/CMakeLists.txt: Added extra libs to COLLADA - plugin, but still need to set LD_LIBRARY to libs even though they - are static!?#!? +Fri, 30 Jul 2010 19:39:38 +0000 +Checked in by : Robert OSFIELD +Beginning of crease angle support for SmoothingVisitor to all it duplicate vertices are creases thus enabling separate normals for triangles adjacent to the creases. -2007-05-05 16:24 robert +Fri, 30 Jul 2010 16:06:22 +0000 +Checked in by : Robert OSFIELD +Changed emit() to emitParticles() to avoid collision with Qt. - * CMakeLists.txt, CMakeModules/FindPerformer.cmake, - src/osgPlugins/ToPortToCmake.txt, - src/osgPlugins/pfb/CMakeLists.txt: Added preliminary Performer - plugin support, note, still missing are a range of Performer - database libs that will be required. +Thu, 29 Jul 2010 16:09:49 +0000 +Checked in by : Robert OSFIELD +From Wang Rui, fixes to handling of indentation. -2007-05-05 16:11 robert +Mon, 26 Jul 2010 11:12:45 +0000 +Checked in by : Robert OSFIELD +Added bevel geometry - * CMakeLists.txt, CMakeModules/FindOpenVRML.cmake, - src/osgDB/CMakeLists.txt, src/osgPlugins/CMakeLists.txt, - src/osgPlugins/vrml/CMakeLists.txt: Added OpenVRML support +Mon, 26 Jul 2010 11:06:45 +0000 +Checked in by : Robert OSFIELD +Clean up boudnary code -2007-05-05 15:36 robert +Mon, 26 Jul 2010 08:41:05 +0000 +Checked in by : Robert OSFIELD +Added a os<